@salla.sa/twilight-components 2.14.423 → 2.14.425
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-Do86Z81F.js → filepond-C4PmhHHV.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BltmTwcK.js → filepond-plugin-file-poster-B6S5eF5e.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-D6qDjnWw.js → filepond-plugin-file-validate-size-CfFzuxA9.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BTcaw3yC.js → filepond-plugin-file-validate-type-jEKv5Hd7.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BfSALTq0.js → filepond-plugin-image-edit-DQOrV-Ry.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-YyoN3ZPE.js → filepond-plugin-image-exif-orientation-Cz_ASMw3.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DPZhJU-S.js → filepond-plugin-image-preview-BID_B08L.js} +1 -1
- package/dist/cjs/{functions-Vqr_tH33.js → functions-Ceq6Fdli.js} +1 -1
- package/dist/cjs/{index-BKsfuSTK.js → index-CLf82f_C.js} +1 -1
- package/dist/cjs/{index-B_ubSXmY.js → index-kMRtCTiU.js} +2 -2
- 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 +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -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 +10 -10
- package/dist/cjs/salla-bullet-delivery.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-comment-form_8.cjs.entry.js +1 -1
- 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 +29 -13
- 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 +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- 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 +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-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.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +5 -27
- 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 +1 -1
- 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-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-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 +1 -1
- 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_2.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 +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +6 -7
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- 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/{tracked-promise-DfEtIz3d.js → tracked-promise-BaMe0bMq.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-n2ZBl__a.js → vanilla-picker-zFnvE7Mz.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/salla-bought-together/salla-bought-together.js +3 -1
- package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.js +28 -12
- package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -4
- package/dist/collection/components/salla-menu/salla-menu.js +7 -31
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bought-together.js +3 -1
- package/dist/components/salla-cookies-bar.js +28 -12
- package/dist/components/salla-menu.js +5 -28
- package/dist/components/salla-reward-details2.js +3 -4
- package/dist/esm/{filepond-C27NJlHY.js → filepond-CeST1_WH.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CbA3Ow5D.js → filepond-plugin-file-poster-CTfEFtbc.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DeVDysqG.js → filepond-plugin-file-validate-size-CCKku8DI.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Bk2vWN-H.js → filepond-plugin-file-validate-type-B86NsTLj.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-MZT3Vams.js → filepond-plugin-image-edit-Ou-DuS54.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CUi24gW6.js → filepond-plugin-image-exif-orientation-C-9cDqTF.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DNteLpdV.js → filepond-plugin-image-preview-DzdQOY5t.js} +1 -1
- package/dist/esm/{functions-WZTrXRSI.js → functions-BKh5b3IT.js} +1 -1
- package/dist/esm/{index-Z9TEkBrE.js → index-70YaOB5m.js} +2 -2
- package/dist/esm/{index-xqn3qtN8.js → index-CP2vkOm5.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 +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +4 -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 +10 -10
- package/dist/esm/salla-bullet-delivery.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-comment-form_8.entry.js +1 -1
- 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 +29 -13
- 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 +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- 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 +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-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.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +5 -27
- 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 +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- 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 +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-summary.entry.js +1 -1
- 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 +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_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +6 -7
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- 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/{tracked-promise-9ayPcQ9V.js → tracked-promise-DwX3NCtN.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DU5T_3-T.js → vanilla-picker-CBo1v7Sf.js} +1 -1
- package/dist/twilight/{p-735e5378.entry.js → p-0067e9f3.entry.js} +1 -1
- package/dist/twilight/{p-6ab7c83d.entry.js → p-015a47a6.entry.js} +1 -1
- package/dist/twilight/{p-b7aa5623.entry.js → p-0196bca8.entry.js} +1 -1
- package/dist/twilight/{p-c19887c7.entry.js → p-083d476d.entry.js} +1 -1
- package/dist/twilight/{p-321d4374.entry.js → p-08d9f43d.entry.js} +1 -1
- package/dist/twilight/{p-598c73c9.entry.js → p-09f07c4c.entry.js} +1 -1
- package/dist/twilight/{p-b253d360.entry.js → p-0b61351a.entry.js} +1 -1
- package/dist/twilight/{p-97033016.entry.js → p-0d4a309e.entry.js} +1 -1
- package/dist/twilight/{p-dc1b4da2.entry.js → p-0f2f5a51.entry.js} +1 -1
- package/dist/twilight/{p-f423f1cf.entry.js → p-153839e2.entry.js} +1 -1
- package/dist/twilight/{p-9c36f5f1.entry.js → p-1573b331.entry.js} +1 -1
- package/dist/twilight/{p-61b6fac2.entry.js → p-1b1f26a5.entry.js} +1 -1
- package/dist/twilight/{p-10311a85.entry.js → p-1d1e715e.entry.js} +1 -1
- package/dist/twilight/{p-be58b3a7.entry.js → p-23f84cb9.entry.js} +1 -1
- package/dist/twilight/{p-cb476df4.entry.js → p-24c95a65.entry.js} +1 -1
- package/dist/twilight/{p-b5c33519.entry.js → p-2713ff5a.entry.js} +1 -1
- package/dist/twilight/p-298b3e73.entry.js +4 -0
- package/dist/twilight/{p-58f17ecc.entry.js → p-2b91803b.entry.js} +1 -1
- package/dist/twilight/p-2ca186a6.entry.js +4 -0
- package/dist/twilight/{p-c7b15f0a.entry.js → p-2ff2ccbf.entry.js} +1 -1
- package/dist/twilight/{p-ea0b6753.entry.js → p-3216bca8.entry.js} +1 -1
- package/dist/twilight/{p-d8d62f74.entry.js → p-3efac811.entry.js} +1 -1
- package/dist/twilight/{p-776a0bda.entry.js → p-3fbaefca.entry.js} +1 -1
- package/dist/twilight/{p-7d4c5da3.entry.js → p-42c060d6.entry.js} +1 -1
- package/dist/twilight/{p-f4582cc9.entry.js → p-45262247.entry.js} +1 -1
- package/dist/twilight/{p-647a76d0.entry.js → p-462d12d0.entry.js} +1 -1
- package/dist/twilight/{p-475bfa77.entry.js → p-48539e33.entry.js} +1 -1
- package/dist/twilight/{p-eed5585b.entry.js → p-4864ff76.entry.js} +1 -1
- package/dist/twilight/p-49438041.entry.js +4 -0
- package/dist/twilight/{p-c4bb47b0.entry.js → p-49f48287.entry.js} +1 -1
- package/dist/twilight/{p-6d4850df.entry.js → p-4bddf648.entry.js} +1 -1
- package/dist/twilight/{p-38eb6f08.entry.js → p-4c9b0771.entry.js} +1 -1
- package/dist/twilight/{p-ef60225f.entry.js → p-5880b550.entry.js} +1 -1
- package/dist/twilight/{p-1e6a741d.entry.js → p-6399c26c.entry.js} +1 -1
- package/dist/twilight/{p-15d242d1.entry.js → p-655b14a3.entry.js} +1 -1
- package/dist/twilight/{p-296b7778.entry.js → p-6920d564.entry.js} +1 -1
- package/dist/twilight/{p-79d9b828.entry.js → p-692651c2.entry.js} +1 -1
- package/dist/twilight/{p-a9f85080.entry.js → p-69b24346.entry.js} +1 -1
- package/dist/twilight/{p-Z9TEkBrE.js → p-70YaOB5m.js} +1 -1
- package/dist/twilight/{p-8631c200.entry.js → p-75504213.entry.js} +1 -1
- package/dist/twilight/{p-1357f11f.entry.js → p-7aaf0ead.entry.js} +1 -1
- package/dist/twilight/{p-51ccd249.entry.js → p-7e9af204.entry.js} +1 -1
- package/dist/twilight/{p-31cdb580.entry.js → p-80108f64.entry.js} +1 -1
- package/dist/twilight/{p-15b8af3d.entry.js → p-87837e09.entry.js} +1 -1
- package/dist/twilight/{p-1aa4f79a.entry.js → p-87c4d85c.entry.js} +1 -1
- package/dist/twilight/{p-132d5758.entry.js → p-9269d4ef.entry.js} +1 -1
- package/dist/twilight/{p-69d98642.entry.js → p-97373eec.entry.js} +1 -1
- package/dist/twilight/{p-93715135.entry.js → p-999df9fc.entry.js} +1 -1
- package/dist/twilight/{p-B7NkulJ-.js → p-9UohHo8W.js} +1 -1
- package/dist/twilight/{p-79340697.entry.js → p-9b22360a.entry.js} +1 -1
- package/dist/twilight/{p-2e69e2a7.entry.js → p-9d0fe3d8.entry.js} +1 -1
- package/dist/twilight/{p-BswrPpfs.js → p-BAjO3A2K.js} +1 -1
- package/dist/twilight/{p-BDJ2Ykel.js → p-BFNILvDK.js} +1 -1
- package/dist/twilight/{p-EhkdtrLx.js → p-Bnp8r9k3.js} +1 -1
- package/dist/twilight/{p-DG0XMtHg.js → p-BzW8vEXw.js} +1 -1
- package/dist/twilight/{p-DqwP0D-u.js → p-CJdmTH9m.js} +1 -1
- package/dist/twilight/{p-BlcvrTiO.js → p-CMlvWYUG.js} +1 -1
- package/dist/twilight/{p-ZJAW9yxk.js → p-CzcgRj7R.js} +1 -1
- package/dist/twilight/{p-CxlEUP15.js → p-DTtJXi-h.js} +1 -1
- package/dist/twilight/p-DuRCS0Sf.js +4 -0
- package/dist/twilight/{p-C9yU50YT.js → p-FHCvZUxZ.js} +1 -1
- package/dist/twilight/{p-75826fc3.entry.js → p-a2466ff3.entry.js} +1 -1
- package/dist/twilight/{p-c763b517.entry.js → p-a4c8afbe.entry.js} +1 -1
- package/dist/twilight/{p-1f3d64f3.entry.js → p-a8cb9d06.entry.js} +1 -1
- package/dist/twilight/{p-612f2099.entry.js → p-aa2ae157.entry.js} +1 -1
- package/dist/twilight/{p-f45efc0c.entry.js → p-abb2be9c.entry.js} +1 -1
- package/dist/twilight/{p-872b6790.entry.js → p-b928fbae.entry.js} +1 -1
- package/dist/twilight/{p-a6429df2.entry.js → p-bdda3e46.entry.js} +1 -1
- package/dist/twilight/{p-847d884f.entry.js → p-bde053e8.entry.js} +1 -1
- package/dist/twilight/p-bf9daaa1.entry.js +4 -0
- package/dist/twilight/{p-c2dd5774.entry.js → p-c40108f5.entry.js} +1 -1
- package/dist/twilight/{p-c4a80854.entry.js → p-c510def4.entry.js} +1 -1
- package/dist/twilight/{p-fae2be1f.entry.js → p-cb88cd7a.entry.js} +1 -1
- package/dist/twilight/{p-1daa9a08.entry.js → p-cc26d661.entry.js} +1 -1
- package/dist/twilight/{p-8138fe7c.entry.js → p-d15805f9.entry.js} +1 -1
- package/dist/twilight/{p-75066345.entry.js → p-d5486edf.entry.js} +1 -1
- package/dist/twilight/{p-88c6e6ec.entry.js → p-d5d08e02.entry.js} +1 -1
- package/dist/twilight/{p-74362d6a.entry.js → p-dc69baae.entry.js} +1 -1
- package/dist/twilight/{p-3175cab9.entry.js → p-df452b7c.entry.js} +1 -1
- package/dist/twilight/p-df7d2363.entry.js +4 -0
- package/dist/twilight/{p-c038e432.entry.js → p-e47eaea8.entry.js} +1 -1
- package/dist/twilight/{p-d049f98a.entry.js → p-e93b291d.entry.js} +1 -1
- package/dist/twilight/{p-4208c68b.entry.js → p-e9795759.entry.js} +1 -1
- package/dist/twilight/{p-7d2ec078.entry.js → p-eb3a6856.entry.js} +1 -1
- package/dist/twilight/{p-9410f28a.entry.js → p-eec45a55.entry.js} +1 -1
- package/dist/twilight/{p-8b15a7c2.entry.js → p-f02c78d0.entry.js} +1 -1
- package/dist/twilight/{p-5bd92466.entry.js → p-f08fe183.entry.js} +1 -1
- package/dist/twilight/{p-d0898538.entry.js → p-f0d484e1.entry.js} +1 -1
- package/dist/twilight/{p-93221e58.entry.js → p-f3f59999.entry.js} +1 -1
- package/dist/twilight/{p-25a9da9c.entry.js → p-f48ba6d5.entry.js} +1 -1
- package/dist/twilight/{p-aba22621.entry.js → p-f52dc1a4.entry.js} +1 -1
- package/dist/twilight/{p-9d30457e.entry.js → p-f8e960dc.entry.js} +1 -1
- package/dist/twilight/{p-f087988a.entry.js → p-f9152bff.entry.js} +1 -1
- package/dist/twilight/{p-777a765e.entry.js → p-f9c36d92.entry.js} +1 -1
- package/dist/twilight/{p-b785d75d.entry.js → p-fc73a260.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cookies-bar/salla-cookies-bar.d.ts +3 -2
- package/dist/types/components/salla-menu/interfaces.d.ts +5 -0
- package/dist/types/components/salla-menu/salla-menu.d.ts +1 -2
- package/dist/types/components.d.ts +1 -3
- package/package.json +5 -5
- package/dist/twilight/p-268c86dd.entry.js +0 -4
- package/dist/twilight/p-51eb69d7.entry.js +0 -4
- package/dist/twilight/p-9b64e741.entry.js +0 -4
- package/dist/twilight/p-CmoDOvZI.js +0 -4
- package/dist/twilight/p-c77bcf09.entry.js +0 -4
- package/dist/twilight/p-f82d4a36.entry.js +0 -4
|
@@ -100,7 +100,9 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
|
|
|
100
100
|
.filter(p => this.selectedIds.has(p.id))
|
|
101
101
|
// p.price is a plain float in the API response (e.g. 1150.58) — the TS type (any[]) is misleading.
|
|
102
102
|
.reduce((sum, p) => sum + (p.price ?? 0), 0);
|
|
103
|
-
|
|
103
|
+
const decimals = salla.config.get('store.currency.decimals') ?? 2;
|
|
104
|
+
const factor = Math.pow(10, decimals);
|
|
105
|
+
return salla.money(Math.round(total * factor) / factor);
|
|
104
106
|
}
|
|
105
107
|
async addSelectedToCart() {
|
|
106
108
|
if (this.isAdding || !this.selectedIds.size)
|
|
@@ -20,21 +20,14 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
|
|
|
20
20
|
this.isMobile = false;
|
|
21
21
|
this.mobileBreakpoint = 768;
|
|
22
22
|
this.mobileQueryHandler = (e) => (this.isMobile = e.matches);
|
|
23
|
-
this.
|
|
24
|
-
this.onCookiesSettingsClick = (event) => {
|
|
25
|
-
const target = event.target;
|
|
26
|
-
const link = target?.closest(`a.${this.cookiesSettingsAnchorClass}`);
|
|
27
|
-
if (!link) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
event.preventDefault();
|
|
31
|
-
this.open();
|
|
32
|
-
};
|
|
23
|
+
this.openRequestedHandler = () => this.open();
|
|
33
24
|
}
|
|
34
25
|
async componentWillLoad() {
|
|
35
26
|
await Salla.onReady();
|
|
36
27
|
await Salla.lang.onLoaded();
|
|
37
28
|
this.loadTranslations();
|
|
29
|
+
Salla.event.on('salla-cookies-bar::open', this.openRequestedHandler);
|
|
30
|
+
this.unregisterAfterFetchMenuItemsHook = Salla.hooks.registerHook('salla-menu', 'afterFetchMenuItems', (menuComponent) => this.appendCookiesSettingsLink(menuComponent));
|
|
38
31
|
if (Salla.storage.get('cookies-consent')) {
|
|
39
32
|
this.isVisible = false;
|
|
40
33
|
}
|
|
@@ -49,11 +42,12 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
|
|
|
49
42
|
this.mobileQuery = window.matchMedia(`(max-width: ${this.mobileBreakpoint - 1}px)`);
|
|
50
43
|
this.isMobile = this.mobileQuery.matches;
|
|
51
44
|
this.mobileQuery.addEventListener('change', this.mobileQueryHandler);
|
|
52
|
-
document.addEventListener('click', this.onCookiesSettingsClick);
|
|
53
45
|
}
|
|
54
46
|
disconnectedCallback() {
|
|
55
47
|
this.mobileQuery?.removeEventListener('change', this.mobileQueryHandler);
|
|
56
|
-
|
|
48
|
+
Salla.event.off('salla-cookies-bar::open', this.openRequestedHandler);
|
|
49
|
+
this.unregisterAfterFetchMenuItemsHook?.();
|
|
50
|
+
this.unregisterAfterFetchMenuItemsHook = undefined;
|
|
57
51
|
}
|
|
58
52
|
/**
|
|
59
53
|
* Accept cookies consent.
|
|
@@ -85,6 +79,28 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
|
|
|
85
79
|
isRtl() {
|
|
86
80
|
return Salla.config.get('theme.is_rtl', true);
|
|
87
81
|
}
|
|
82
|
+
appendCookiesSettingsLink(menuComponent) {
|
|
83
|
+
const websiteCookiesEnabled = Salla.config.get('store.features')?.includes('website-cookies');
|
|
84
|
+
if (!websiteCookiesEnabled || !menuComponent?.withCookiePreferences || menuComponent?.source !== 'footer')
|
|
85
|
+
return;
|
|
86
|
+
const settingsHref = '#cookies-settings';
|
|
87
|
+
const hasSettingsLink = menuComponent?.menus.some((m) => m?.url === settingsHref);
|
|
88
|
+
if (hasSettingsLink)
|
|
89
|
+
return;
|
|
90
|
+
// IMPORTANT: avoid mutating @State arrays in-place (Stencil reactivity).
|
|
91
|
+
// Always create a new array reference.
|
|
92
|
+
menuComponent.menus = [...menuComponent.menus, {
|
|
93
|
+
id: 'cookies-settings',
|
|
94
|
+
order: null,
|
|
95
|
+
title: Salla.lang.get('common.cookies.settings'),
|
|
96
|
+
url: settingsHref,
|
|
97
|
+
target: '_self',
|
|
98
|
+
is_by_form_builder: false,
|
|
99
|
+
children: [],
|
|
100
|
+
image: null,
|
|
101
|
+
callback: () => Salla.event.emit('salla-cookies-bar::open'),
|
|
102
|
+
}];
|
|
103
|
+
}
|
|
88
104
|
render() {
|
|
89
105
|
if (!this.isVisible) {
|
|
90
106
|
return h(Host, null);
|
|
@@ -18,19 +18,12 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
|
|
|
18
18
|
* Boolean indicating whether to use React Link elements for menu links.
|
|
19
19
|
*/
|
|
20
20
|
this.useReactLink = false;
|
|
21
|
-
/**
|
|
22
|
-
* When true (footer menu only), appends a link to open cookie preferences.
|
|
23
|
-
* Use as `with-cookie-preferences` in markup.
|
|
24
|
-
*/
|
|
25
|
-
this.withCookiePreferences = false;
|
|
26
21
|
this.menus = [];
|
|
27
|
-
this.cookiePreferencesLabel = '';
|
|
28
22
|
this.displayAllText = '';
|
|
29
23
|
}
|
|
30
24
|
async componentWillLoad() {
|
|
31
25
|
return salla.onReady(() => {
|
|
32
26
|
this.displayAllText = salla.lang.get('blocks.home.display_all');
|
|
33
|
-
this.cookiePreferencesLabel = salla.lang.get('common.cookies.settings');
|
|
34
27
|
if (this.sourceValue && this.source === 'json') {
|
|
35
28
|
this.menus = typeof this.sourceValue === 'string' ? JSON.parse(this.sourceValue) : this.sourceValue || [];
|
|
36
29
|
}
|
|
@@ -40,20 +33,9 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
|
|
|
40
33
|
});
|
|
41
34
|
}
|
|
42
35
|
getMenuItems() {
|
|
43
|
-
|
|
44
|
-
* Avoid saving the menu to localStorage (default) when in the development environment
|
|
45
|
-
* or when modifying the theme in the dashboard
|
|
46
|
-
*/
|
|
47
|
-
// const isPreview = salla.config.isDebug() || salla.helpers.isPreview()
|
|
48
|
-
// const cacheKey = `${this.source}_menus_${salla.lang.locale}`
|
|
49
|
-
// const cachedMenus = salla.storage.getWithTTL(cacheKey, [])
|
|
50
|
-
// if (cachedMenus.length > 0 && !isPreview) {
|
|
51
|
-
// this.menus = cachedMenus
|
|
52
|
-
// return;
|
|
53
|
-
// }
|
|
54
|
-
return salla.api.component.getMenus(this.source).then(({ data }) => {
|
|
36
|
+
return salla.api.component.getMenus(this.source).then(async ({ data }) => {
|
|
55
37
|
this.menus = data;
|
|
56
|
-
|
|
38
|
+
await salla.hooks.call('salla-menu', 'afterFetchMenuItems', this);
|
|
57
39
|
}).catch((error) => {
|
|
58
40
|
salla.logger.error('salla-menu::Error fetching menus', error);
|
|
59
41
|
});
|
|
@@ -118,12 +100,8 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
|
|
|
118
100
|
return h("a", { key: menu.id, href: menu.url, target: menu.target, class: {
|
|
119
101
|
"s-menu-footer-item": !this.topnav,
|
|
120
102
|
"s-menu-topnav-item topnav-link-item right-side": this.topnav
|
|
121
|
-
} }, menu.title);
|
|
122
|
-
})
|
|
123
|
-
"s-menu-footer-item": !this.topnav,
|
|
124
|
-
"s-menu-topnav-item topnav-link-item right-side": this.topnav,
|
|
125
|
-
"s-cookies-settings-link": true,
|
|
126
|
-
} }, this.cookiePreferencesLabel)) : null));
|
|
103
|
+
}, ...(menu.callback ? { onClick: menu.callback } : {}) }, menu.title);
|
|
104
|
+
})));
|
|
127
105
|
}
|
|
128
106
|
/**
|
|
129
107
|
* Get the menus
|
|
@@ -153,8 +131,7 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
|
|
|
153
131
|
"useReactLink": [4, "use-react-link"],
|
|
154
132
|
"limit": [2],
|
|
155
133
|
"withCookiePreferences": [4, "with-cookie-preferences"],
|
|
156
|
-
"menus": [32]
|
|
157
|
-
"cookiePreferencesLabel": [32]
|
|
134
|
+
"menus": [32]
|
|
158
135
|
}]);
|
|
159
136
|
function defineCustomElement$1() {
|
|
160
137
|
if (typeof customElements === "undefined") {
|
|
@@ -125,7 +125,6 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
|
|
|
125
125
|
}
|
|
126
126
|
getCategoriesJsx(items, title) {
|
|
127
127
|
return !items.length ? '' : h("div", { class: c('reward-details-categories-wrapper') }, h("div", { class: c('reward-details-categories') }, h("h2", { class: c('reward-details-categories-heading') }, title), h("ul", { class: c('reward-details-categories-list') }, items.map((category) => {
|
|
128
|
-
console.log("🚀 ~ SallaRewardDetails ~ getCategoriesJsx ~ category:", category);
|
|
129
128
|
return (h("li", null, h("a", { href: category.urls?.customer || category.url || category.lingual_urls?.[0], class: c('reward-details-categories-item') }, h("span", { innerHTML: Tag }), h("span", { class: c('reward-details-categories-item-content') }, category.name))));
|
|
130
129
|
}))));
|
|
131
130
|
}
|
|
@@ -137,11 +136,11 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
|
|
|
137
136
|
}
|
|
138
137
|
render() {
|
|
139
138
|
const termsAndConditions = this.getTermsAndConditions();
|
|
140
|
-
return (h("div", { key: '
|
|
139
|
+
return (h("div", { key: 'b292fed409fdc5ed8824e1d3d694ddcf5136a260', class: "s-loyalty-program-reward-modal" }, h("div", { key: '3f276606a45e99bad8fa1e99d9bb00547e3a795c', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '0eea18e23aeb1273785886aebbe067a4b3f1d638', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
|
|
141
140
|
: h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
|
|
142
141
|
'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
|
|
143
142
|
'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
|
|
144
|
-
} })), this.prize.name)), h("div", { key: '
|
|
143
|
+
} })), this.prize.name)), h("div", { key: 'a12d8ab8741e502a20f2d310e758894ade551019', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'd8f83e5683e241adc7396ae3910ca533a73930cb', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '36229ddc5eb66cbc6d6b54dc9f73f55d9830ce72', class: "s-loyalty-program-aspect-container" }, h("img", { key: '9892014560501a6da43ff38d51612aa08e4a025d', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'b9f20d7a8570239772e71884b735fc5eb3a8ab62', size: "sm", bg: "light" }, h("span", { key: 'ce7a4e116a8c6b91f4835f90aa28e4d091581da9', innerHTML: loyaltyProgramIcon }), h("span", { key: 'd505628411045a838fef73c124e0940e4be53329', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '9d6041e7093fb173cb1218356a8f23923da2c138', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '1afc5bb9e8eae3d00884363fea13fd2cd7225e20', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '63f6d2d48f0f0277acd800bb238a07724d361b65', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
|
|
145
144
|
h("salla-tab-header", { slot: "header", name: "included", style: {
|
|
146
145
|
display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
|
|
147
146
|
} }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: IconVerified }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
|
|
@@ -151,7 +150,7 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
|
|
|
151
150
|
display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
|
|
152
151
|
} }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: Cancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
|
|
153
152
|
h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
|
|
154
|
-
]))), h("salla-reward-action", { key: '
|
|
153
|
+
]))), h("salla-reward-action", { key: '986205a4f41981993e5ac555fa858ec24c217be0', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
|
|
155
154
|
}
|
|
156
155
|
static get watchers() { return {
|
|
157
156
|
"prize": ["handlePrizeChange"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-70YaOB5m.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|