@salla.sa/twilight-components 2.14.484 → 2.14.486
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/{Helper-CgGR9Qf8.js → Helper-DvyEpCgx.js} +13 -0
- package/dist/cjs/{filepond-CgzJykLb.js → filepond-BtDP9OW9.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-QDPQ7mwB.js → filepond-plugin-file-poster-CTf1Ej_n.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Bad-w2I9.js → filepond-plugin-file-validate-size-_wVJpYXF.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DISG2_qB.js → filepond-plugin-file-validate-type-DWoo5Lcs.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CVHAGWaB.js → filepond-plugin-image-edit-DBb_5aN9.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Dwsj5VyO.js → filepond-plugin-image-exif-orientation-Nnwt-m9k.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-I9g9nrNa.js → filepond-plugin-image-preview-CjBwZm3E.js} +1 -1
- package/dist/cjs/{functions-hUb6T9a1.js → functions-DkS9Jmao.js} +1 -1
- package/dist/cjs/{index-BADADy4V.js → index-C0yFagl6.js} +1 -1
- package/dist/cjs/{index-BKQzclgF.js → index-C_WIlgE2.js} +8 -8
- 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 +2 -2
- 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 +11 -11
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +2 -2
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +2 -2
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +21 -5
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +2 -2
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +17 -2
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +2 -2
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +23 -12
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-czeUB0TX.js → tracked-promise-TyxTPR6e.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CuMQuW8m.js → vanilla-picker-DyJFw96R.js} +1 -1
- package/dist/collection/Helpers/Helper.js +13 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js +21 -4
- package/dist/collection/components/salla-products-list/salla-products-list.js +21 -10
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +18 -0
- package/dist/components/Helper.js +13 -0
- package/dist/components/index.js +8 -8
- package/dist/components/salla-gifting.js +21 -4
- package/dist/components/salla-products-list2.js +21 -10
- package/dist/components/salla-products-slider2.js +17 -0
- package/dist/esm/{Helper-BXj4f_Qj.js → Helper-CD8d-Brd.js} +13 -0
- package/dist/esm/{filepond-BOBokEx5.js → filepond-ZiatSU0Y.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-D9HYZEnq.js → filepond-plugin-file-poster-2WAWdRm2.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-B1BkZh58.js → filepond-plugin-file-validate-size-DhLjP7aF.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CT0ni0hb.js → filepond-plugin-file-validate-type-HH8AZXAq.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CvSKiYON.js → filepond-plugin-image-edit-BWBtBfk1.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Cu1zifQ6.js → filepond-plugin-image-exif-orientation-CQyPB3lV.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-6m913ljw.js → filepond-plugin-image-preview-D6MiVWr1.js} +1 -1
- package/dist/esm/{functions-CioYIS_L.js → functions-DflaFDbL.js} +1 -1
- package/dist/esm/{index-k6XsozPW.js → index-BF901xIc.js} +8 -8
- package/dist/esm/{index-CiFCAiRL.js → index-Co2lT5R8.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 +2 -2
- 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 +11 -11
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +2 -2
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +2 -2
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +21 -5
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +2 -2
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +2 -2
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal_3.entry.js +17 -2
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +2 -2
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +23 -12
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-CdkA_JjX.js → tracked-promise-CNdO8SSl.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BZWJ0V9v.js → vanilla-picker-YVpipuL-.js} +1 -1
- package/dist/twilight/{p-99372423.entry.js → p-02350ded.entry.js} +1 -1
- package/dist/twilight/{p-54feea36.entry.js → p-04f5d67b.entry.js} +1 -1
- package/dist/twilight/{p-fc77d2ae.entry.js → p-0c36ee7c.entry.js} +1 -1
- package/dist/twilight/p-0d94f890.entry.js +4 -0
- package/dist/twilight/{p-faecf830.entry.js → p-0e2a2a9a.entry.js} +1 -1
- package/dist/twilight/{p-680ee21a.entry.js → p-0fcc3b26.entry.js} +1 -1
- package/dist/twilight/{p-894d4262.entry.js → p-134988db.entry.js} +1 -1
- package/dist/twilight/{p-f9d747fd.entry.js → p-18ad7499.entry.js} +1 -1
- package/dist/twilight/{p-6a520655.entry.js → p-1a8525af.entry.js} +1 -1
- package/dist/twilight/{p-b586e687.entry.js → p-1c4e7c18.entry.js} +1 -1
- package/dist/twilight/{p-6fce9b27.entry.js → p-1d3efd00.entry.js} +1 -1
- package/dist/twilight/{p-78b63b85.entry.js → p-2192d7c2.entry.js} +1 -1
- package/dist/twilight/{p-e00ab427.entry.js → p-22405eaa.entry.js} +1 -1
- package/dist/twilight/{p-df2b2d2c.entry.js → p-2b58b700.entry.js} +1 -1
- package/dist/twilight/p-2cc32d1f.entry.js +4 -0
- package/dist/twilight/{p-7e16042a.entry.js → p-2e4fe427.entry.js} +1 -1
- package/dist/twilight/{p-1d8eeff8.entry.js → p-2eb78125.entry.js} +1 -1
- package/dist/twilight/{p-6bcd63ae.entry.js → p-368d3b26.entry.js} +1 -1
- package/dist/twilight/{p-f04e749d.entry.js → p-3d732135.entry.js} +1 -1
- package/dist/twilight/{p-08fe51be.entry.js → p-3eb54d75.entry.js} +1 -1
- package/dist/twilight/{p-69f6aea4.entry.js → p-4288893b.entry.js} +1 -1
- package/dist/twilight/{p-80898e8c.entry.js → p-43ab561c.entry.js} +1 -1
- package/dist/twilight/{p-12221625.entry.js → p-4427e994.entry.js} +1 -1
- package/dist/twilight/{p-43caeaa9.entry.js → p-4544ca7d.entry.js} +1 -1
- package/dist/twilight/{p-4a466458.entry.js → p-4b0aa371.entry.js} +1 -1
- package/dist/twilight/{p-4361f318.entry.js → p-4b558e37.entry.js} +1 -1
- package/dist/twilight/{p-48c49122.entry.js → p-4e2f144a.entry.js} +1 -1
- package/dist/twilight/{p-027b0223.entry.js → p-506a2720.entry.js} +1 -1
- package/dist/twilight/{p-4ccb7dbf.entry.js → p-518bab79.entry.js} +1 -1
- package/dist/twilight/{p-876984e8.entry.js → p-5476bd33.entry.js} +1 -1
- package/dist/twilight/{p-4cdc5eb0.entry.js → p-5c37420e.entry.js} +1 -1
- package/dist/twilight/{p-5e6745be.entry.js → p-632766e3.entry.js} +1 -1
- package/dist/twilight/{p-910ca1ce.entry.js → p-67b225d5.entry.js} +1 -1
- package/dist/twilight/{p-8fddef9f.entry.js → p-6976c445.entry.js} +1 -1
- package/dist/twilight/{p-faedf801.entry.js → p-6b9780be.entry.js} +1 -1
- package/dist/twilight/{p-2b80d6bd.entry.js → p-77b6fbf2.entry.js} +1 -1
- package/dist/twilight/{p-afdcb549.entry.js → p-7ce2c5ca.entry.js} +1 -1
- package/dist/twilight/{p-b4e487a3.entry.js → p-85b235dc.entry.js} +1 -1
- package/dist/twilight/{p-6e708a89.entry.js → p-8f006eca.entry.js} +1 -1
- package/dist/twilight/{p-f10c4351.entry.js → p-8f9e0a7a.entry.js} +1 -1
- package/dist/twilight/{p-3be35606.entry.js → p-90c58cc5.entry.js} +1 -1
- package/dist/twilight/{p-6221c7fd.entry.js → p-9b2f674f.entry.js} +1 -1
- package/dist/twilight/{p-65e84413.entry.js → p-9db7e318.entry.js} +1 -1
- package/dist/twilight/{p-e0eb1171.entry.js → p-9f6a0804.entry.js} +1 -1
- package/dist/twilight/{p-DIe-ZaHw.js → p-BEb9UIZ7.js} +1 -1
- package/dist/twilight/p-BF901xIc.js +5 -0
- package/dist/twilight/{p-CYnG82Sr.js → p-BPGtYFVu.js} +1 -1
- package/dist/twilight/p-Bmy5YF6e.js +4 -0
- package/dist/twilight/{p-RS-U17dA.js → p-BrcsejOr.js} +1 -1
- package/dist/twilight/{p-DThnTW1t.js → p-BuOjsqYX.js} +1 -1
- package/dist/twilight/{p-BcbKK1Xp.js → p-C-3GuKNW.js} +1 -1
- package/dist/twilight/{p-C8JaiU7x.js → p-CMmiX5T8.js} +1 -1
- package/dist/twilight/{p-k6hKHe3o.js → p-CwLXCdYY.js} +1 -1
- package/dist/twilight/{p-Dt7QetEN.js → p-DVM0Orh8.js} +1 -1
- package/dist/twilight/{p-Do0Z2RvW.js → p-DwHaUky6.js} +1 -1
- package/dist/twilight/{p-BjmKgRE2.js → p-KNG8mGcV.js} +1 -1
- package/dist/twilight/{p-c54b5512.entry.js → p-a047ed06.entry.js} +1 -1
- package/dist/twilight/{p-0882266c.entry.js → p-a3a1bf15.entry.js} +1 -1
- package/dist/twilight/{p-215f22bf.entry.js → p-a4107435.entry.js} +1 -1
- package/dist/twilight/{p-e2b9a669.entry.js → p-a445225d.entry.js} +1 -1
- package/dist/twilight/{p-ca338609.entry.js → p-a5895e0f.entry.js} +1 -1
- package/dist/twilight/{p-71371a68.entry.js → p-a6afc8ab.entry.js} +1 -1
- package/dist/twilight/{p-f84a2d1f.entry.js → p-a7d99355.entry.js} +1 -1
- package/dist/twilight/{p-1308a7f4.entry.js → p-a853a50f.entry.js} +1 -1
- package/dist/twilight/{p-fda44045.entry.js → p-aa928350.entry.js} +1 -1
- package/dist/twilight/{p-7b9f7996.entry.js → p-ad5c8d34.entry.js} +1 -1
- package/dist/twilight/p-b2a11170.entry.js +4 -0
- package/dist/twilight/{p-338810f6.entry.js → p-b32e5ad7.entry.js} +1 -1
- package/dist/twilight/{p-fd0d78b0.entry.js → p-b7b29da3.entry.js} +1 -1
- package/dist/twilight/{p-38831a43.entry.js → p-b8d180fe.entry.js} +1 -1
- package/dist/twilight/{p-ae40baf7.entry.js → p-bcfe04fa.entry.js} +1 -1
- package/dist/twilight/{p-0567c659.entry.js → p-bd0075c9.entry.js} +1 -1
- package/dist/twilight/{p-6b7a391d.entry.js → p-be632d40.entry.js} +1 -1
- package/dist/twilight/{p-f2155a0e.entry.js → p-beb2df03.entry.js} +1 -1
- package/dist/twilight/{p-98cb2ad9.entry.js → p-c01e3f1d.entry.js} +1 -1
- package/dist/twilight/{p-c4dd7259.entry.js → p-c5050e10.entry.js} +1 -1
- package/dist/twilight/{p-df18ce74.entry.js → p-c590dcf0.entry.js} +1 -1
- package/dist/twilight/{p-4a2522e6.entry.js → p-c92915e0.entry.js} +1 -1
- package/dist/twilight/{p-aefc937f.entry.js → p-cd4b2301.entry.js} +1 -1
- package/dist/twilight/{p-159fb121.entry.js → p-ce38e5a1.entry.js} +1 -1
- package/dist/twilight/{p-df9735e4.entry.js → p-ce633fa0.entry.js} +1 -1
- package/dist/twilight/p-ce8571e3.entry.js +4 -0
- package/dist/twilight/{p-65986434.entry.js → p-d1048676.entry.js} +1 -1
- package/dist/twilight/{p-cd3a81d5.entry.js → p-d2cc8587.entry.js} +1 -1
- package/dist/twilight/{p-e7c43f45.entry.js → p-d2cdd923.entry.js} +1 -1
- package/dist/twilight/{p-b4e6ee26.entry.js → p-d3f904d0.entry.js} +1 -1
- package/dist/twilight/{p-f30850eb.entry.js → p-d4eeed4b.entry.js} +1 -1
- package/dist/twilight/{p-5d0017eb.entry.js → p-d6da8710.entry.js} +1 -1
- package/dist/twilight/{p-43e35e87.entry.js → p-d92a7d91.entry.js} +1 -1
- package/dist/twilight/{p-277fa567.entry.js → p-dc093d27.entry.js} +1 -1
- package/dist/twilight/{p-ae1ff5a4.entry.js → p-e304cb5e.entry.js} +1 -1
- package/dist/twilight/{p-6b622cdf.entry.js → p-e692322c.entry.js} +1 -1
- package/dist/twilight/{p-6fd14051.entry.js → p-ed1e0c2e.entry.js} +1 -1
- package/dist/twilight/{p-fe435826.entry.js → p-f32df318.entry.js} +1 -1
- package/dist/twilight/{p-67b9bef4.entry.js → p-f3b24cce.entry.js} +1 -1
- package/dist/twilight/{p-34bb19ed.entry.js → p-f4564fdc.entry.js} +1 -1
- package/dist/twilight/{p-b3b5f52a.entry.js → p-f5e55c13.entry.js} +1 -1
- package/dist/twilight/{p-236d6236.entry.js → p-f5e943bb.entry.js} +1 -1
- package/dist/twilight/{p-98bd4d1d.entry.js → p-f71a7a24.entry.js} +1 -1
- package/dist/twilight/{p-a986efd7.entry.js → p-fe69512c.entry.js} +1 -1
- package/dist/twilight/{p-3nNP8OVW.js → p-gacShRe2.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/Helpers/Helper.d.ts +1 -0
- package/dist/types/components/salla-gifting/gift-schema.d.ts +2 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +8 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +3 -0
- package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +4 -0
- package/package.json +5 -5
- package/dist/twilight/p-01a4c68d.entry.js +0 -4
- package/dist/twilight/p-10d25bed.entry.js +0 -4
- package/dist/twilight/p-C6HZIai8.js +0 -4
- package/dist/twilight/p-ad24f7b7.entry.js +0 -4
- package/dist/twilight/p-af0f3c54.entry.js +0 -4
- package/dist/twilight/p-k6XsozPW.js +0 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.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');
|
|
@@ -134,6 +134,7 @@ const SallaGifting = class {
|
|
|
134
134
|
this.selectCity = salla.lang.get('pages.checkout.select_city');
|
|
135
135
|
this.selectCountry = salla.lang.get('pages.checkout.select_country');
|
|
136
136
|
this.selectCityInfo = salla.lang.get('blocks.buy_as_gift.city_info');
|
|
137
|
+
this.cityChangeNotice = salla.lang.get('blocks.buy_as_gift.city_change_notice');
|
|
137
138
|
this.receiverCityFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_city');
|
|
138
139
|
this.receiverRegionFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_region') || salla.lang.get('pages.checkout.region');
|
|
139
140
|
this.selectRegion = salla.lang.get('pages.checkout.select_region');
|
|
@@ -153,6 +154,21 @@ const SallaGifting = class {
|
|
|
153
154
|
isPhysical() {
|
|
154
155
|
return this.physicalProducts || this.physical;
|
|
155
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* Resolves the city notice text shown in the physical-product gift step:
|
|
159
|
+
* - recipient can't change address -> default city info notice
|
|
160
|
+
* - recipient can change, fixed shipping cost -> city-change notice
|
|
161
|
+
* - recipient can change, any shipping cost -> no notice
|
|
162
|
+
*/
|
|
163
|
+
cityNoticeText() {
|
|
164
|
+
if (!this.gift?.recipient_can_change_address) {
|
|
165
|
+
return this.selectCityInfo;
|
|
166
|
+
}
|
|
167
|
+
if (!this.gift?.allows_different_shipping_cost) {
|
|
168
|
+
return this.cityChangeNotice;
|
|
169
|
+
}
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
156
172
|
componentDidLoad() {
|
|
157
173
|
salla.event.product.onPriceUpdated(() => {
|
|
158
174
|
const quantityInput = document.querySelector(`.s-quantity-input-input`);
|
|
@@ -744,7 +760,7 @@ const SallaGifting = class {
|
|
|
744
760
|
}
|
|
745
761
|
render() {
|
|
746
762
|
return [
|
|
747
|
-
index.h("div", { key: '
|
|
763
|
+
index.h("div", { key: '416981417bec78c8c3fda43e6f80745f4d735154' }, index.h("salla-list-tile", { key: '495255205e1c226669a14a94e50442aabd9818da', class: this.generateClass() }, index.h("div", { key: 'f2dbdc4ea0dc76d806f18563739a116e15cbbe08', slot: "title" }, this.vertical ? index.h("span", { innerHTML: giftSharing.SIGiftSharing }) : '', index.h("h3", { key: '9ed4f1d995eaf2341a9ec237ebfb486ed3db988e' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'b5d5512fcb2513177eaa1e25eacce9092f7d845f', slot: "subtitle" }, index.h("div", { key: '0a8223b41973b72d942ce91c5f478a3edaa5dfd3' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: 'a6d5a077131117c6854ffc2b39e506be7953051e', slot: "action" }, index.h("salla-button", { key: '99b14364789884b0010e50941c27cbcfe7445785', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '27f6be7b07084f48da83af6240933d619407307f', name: "widget-btn-content" }, index.h("div", { key: 'ee5d04e96dd1e3849a33813b3737b476b5470497', class: "s-gifting-widget-action-content" }, index.h("span", { key: 'd02bb1f6cd4dff335eeca1341da2c86d2976b4fc', innerHTML: giftSharing.SIGiftSharing }), " \u00A0", index.h("span", { key: '98a3594e6d01133c4f448d8e5df22ba2984cf09e' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '0be87b9d369e92a71b68f570b9bf19a0ddb7dd6b', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '978995d399506ff82ac0f2385a1f85a808c7da3e', slot: "loading" }, index.h("div", { key: '7d1f141fd9131d35edb81326062e8f7cadfa2cab', class: "s-gifting-skeleton" }, index.h("div", { key: 'b33cfd58381c7c1b545ffedf6739e42fdb75c8de', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'e03a505ad3720c25077ca91c7eec2843cdaee225', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '6f630d2582c96fc71406ef4557143c6e9dbd4a88', class: "s-gifting-modal-title" }, index.h("div", { key: '8d1a3540993c9b40e705f2145bf0514754c36dab', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: 'd965c353f19cf785a13eba6332b715eed9748836', height: '15px', width: '150px' })))), index.h("div", { key: 'abacc03d1e30075d3d24dfd577dc9a60f7b52810', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '03db84cfccc546602a6f521b015d0c12b93caa6f', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'e8e2d4e70d208055baaae44a8d7da8aa5c6a33da', height: '230px' }), index.h("salla-skeleton", { key: '2c90d91fb63551685b2041f2bc51fdb5219cbbb7', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '8962bc17f43cb04563caa02db3df585189579f8f', height: '30px' }), index.h("salla-skeleton", { key: '73730453aa6f8d0ec2a653b4711b80b32a18b916', height: '40px' })))), index.h("slot", { key: '4bcf5a6d53485c461c35f53ce7e265bcf770989e', name: "header" }), !!this.hasError ?
|
|
748
764
|
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" }, " "))
|
|
749
765
|
:
|
|
750
766
|
[
|
|
@@ -765,9 +781,9 @@ const SallaGifting = class {
|
|
|
765
781
|
index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label", htmlFor: `${this.hostId}-region` }, this.receiverRegionFieldLabel), index.h("salla-searchable-dropdown", { placeholder: this.selectRegion, items: this.regions ?? [], selectedItem: this.selectedRegion, loading: this.loadingRegions, disabled: this.loadingRegions || !this.regions?.length, required: true, inputId: `${this.hostId}-region`, searchable: false, keepParentScroll: true, onItemSelected: (e) => this.handleRegionSelected(e.detail), onDropdownClosed: () => this.handleRegionDropdownClosed() }), this.errors && this.errors['receiver.region'] ?
|
|
766
782
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
|
|
767
783
|
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", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), index.h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
|
|
768
|
-
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
769
|
-
index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.
|
|
770
|
-
], index.h("slot", { key: '
|
|
784
|
+
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() && this.cityNoticeText() &&
|
|
785
|
+
index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.cityNoticeText())), !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') }, !this.skipStep1() && 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)))))
|
|
786
|
+
], index.h("slot", { key: 'a4d37b893e4a0867c044817434ade65b16fbe89a', name: "footer" })))
|
|
771
787
|
];
|
|
772
788
|
}
|
|
773
789
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaInfiniteScrollCss = "";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.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}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-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)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.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,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
var gift = require('./gift-DbNivqYO.js');
|
|
8
|
-
var trackedPromise = require('./tracked-promise-
|
|
8
|
+
var trackedPromise = require('./tracked-promise-TyxTPR6e.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "";
|
|
11
11
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var functions = require('./functions-DkS9Jmao.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
10
10
|
var userAdd = require('./user-add-BCGrddZS.js');
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var functions = require('./functions-DkS9Jmao.js');
|
|
8
8
|
var star2 = require('./star2-R146a27p.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
10
10
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
11
11
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
12
12
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
13
|
-
var trackedPromise = require('./tracked-promise-
|
|
13
|
+
var trackedPromise = require('./tracked-promise-TyxTPR6e.js');
|
|
14
14
|
|
|
15
15
|
var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
|
|
16
16
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
|
|
8
8
|
var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
9
|
<path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var functions = require('./functions-DkS9Jmao.js');
|
|
8
8
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
9
9
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
10
10
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
11
11
|
var userAdd = require('./user-add-BCGrddZS.js');
|
|
12
12
|
var giftSharing = require('./gift-sharing-BE0uszUm.js');
|
|
13
|
-
var trackedPromise = require('./tracked-promise-
|
|
13
|
+
var trackedPromise = require('./tracked-promise-TyxTPR6e.js');
|
|
14
14
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
15
15
|
|
|
16
16
|
var SICartUpload = `<!-- Generated by IcoMoon.io -->
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var functions = require('./functions-DkS9Jmao.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
var cancel = require('./cancel-B5SbMYEk.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}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaNotificationsCss = "";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var tag = require('./tag-D-PcUR33.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
var star2 = require('./star2-R146a27p.js');
|
|
8
|
-
var Helper = require('./Helper-
|
|
8
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
10
10
|
|
|
11
11
|
const sallaOrderOptionsModalCss = ".s-order-options-modal-host .s-modal-header-inner,.s-order-options-modal-host .s-modal-header-content,.s-order-options-modal-host .s-modal-title{text-align:start !important}.s-order-options-modal-apple-pay{display:block;width:100%;--apple-pay-button-width:100%;--apple-pay-button-height:44px;--apple-pay-button-border-radius:0.75rem}.s-order-options-modal-apple-pay-wrap{display:flex;flex-direction:column;gap:0.75rem;width:100%}.s-order-options-modal-apple-pay-total{display:flex;align-items:center;justify-content:space-between;gap:0.5rem}.s-order-options-modal-apple-pay-label,.s-order-options-modal-apple-pay-amount{font-size:1.125rem;line-height:1.5rem;font-weight:700;color:#111827}";
|
|
@@ -376,6 +376,7 @@ const SallaProductsSlider = class {
|
|
|
376
376
|
*/
|
|
377
377
|
this.productCardComponent = 'custom-salla-product-card';
|
|
378
378
|
this.apiUrl = '';
|
|
379
|
+
this.onWishlistStorageSynced = () => Helper.Helper.syncWishlistIcons(this.host, `${this.productCardComponent}, salla-product-card`);
|
|
379
380
|
}
|
|
380
381
|
componentWillLoad() {
|
|
381
382
|
return salla.onReady()
|
|
@@ -426,9 +427,20 @@ const SallaProductsSlider = class {
|
|
|
426
427
|
}
|
|
427
428
|
}, 1000);
|
|
428
429
|
}
|
|
430
|
+
connectedCallback() {
|
|
431
|
+
salla.event.on('wishlist::storage.synced', this.onWishlistStorageSynced);
|
|
432
|
+
}
|
|
433
|
+
disconnectedCallback() {
|
|
434
|
+
salla.event.off('wishlist::storage.synced', this.onWishlistStorageSynced);
|
|
435
|
+
}
|
|
429
436
|
async componentDidLoad() {
|
|
430
437
|
await Salla.hooks.registerComponent('salla-products-slider', this);
|
|
431
438
|
}
|
|
439
|
+
onReadyChanged(isReady) {
|
|
440
|
+
if (!isReady)
|
|
441
|
+
return;
|
|
442
|
+
void salla.wishlist.api.syncStorageFromServer();
|
|
443
|
+
}
|
|
432
444
|
isSourceWithoutValue() {
|
|
433
445
|
return ['offers', 'latest', 'sales', 'top-rated'].includes(this.getSource());
|
|
434
446
|
}
|
|
@@ -468,6 +480,9 @@ const SallaProductsSlider = class {
|
|
|
468
480
|
return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, ...(this.sliderProps || {}), "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
|
|
469
481
|
}
|
|
470
482
|
get host() { return index.getElement(this); }
|
|
483
|
+
static get watchers() { return {
|
|
484
|
+
"isReady": ["onReadyChanged"]
|
|
485
|
+
}; }
|
|
471
486
|
};
|
|
472
487
|
SallaProductsSlider.style = sallaProductsSliderCss;
|
|
473
488
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaOrdersCss = ":host{display:block}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
|
|
8
8
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C_WIlgE2.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|