@salla.sa/twilight-components 2.14.460 → 2.14.462
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-CGfIHI6f.js → filepond-D7zShniv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BogxH8wL.js → filepond-plugin-file-poster-BqO8tLqK.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DSlzvO7P.js → filepond-plugin-file-validate-size-Bdxa3s1T.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-QKvTiG_U.js → filepond-plugin-file-validate-type-B9q4YU3V.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CdCoWANz.js → filepond-plugin-image-edit-BZ8ZjH1W.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CJ84EvSe.js → filepond-plugin-image-exif-orientation-D-Ua_ckJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BSABZf_n.js → filepond-plugin-image-preview-CrZfm9_U.js} +1 -1
- package/dist/cjs/{functions-8bJoQsbY.js → functions-Dnwp9wka.js} +1 -1
- package/dist/cjs/{index-D0dSQBmL.js → index-CLNWkNWb.js} +1 -1
- package/dist/cjs/{index-ClIoplYB.js → index-wTIlAVr3.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- 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_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 +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 +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 +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 +20 -4
- 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-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 +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 +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-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-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-embed.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 +29 -12
- 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 +3 -3
- 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-YbXLxnty.js → tracked-promise-DqErlr1h.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-CQ98NxBN.js → vanilla-picker-F5duMbuq.js} +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +19 -3
- package/dist/collection/components/salla-products-list/salla-products-list.js +28 -11
- package/dist/components/index.js +2 -2
- package/dist/components/salla-localization-modal.js +19 -3
- package/dist/components/salla-products-list2.js +28 -11
- package/dist/esm/{filepond-C4Vtw3hu.js → filepond-m6fYB-0k.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DHC1vUJ9.js → filepond-plugin-file-poster-BjL05gZe.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CBM0hQ0G.js → filepond-plugin-file-validate-size-DTeNYd00.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BEekNkNc.js → filepond-plugin-file-validate-type-ZhqN1Gao.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C9OQtxCr.js → filepond-plugin-image-edit-P9d3w9sz.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CmDE8Rj3.js → filepond-plugin-image-exif-orientation-rmyn2Wqp.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BZJQYto9.js → filepond-plugin-image-preview-yKjApiZb.js} +1 -1
- package/dist/esm/{functions-DXqv01Ta.js → functions-C_YevJW-.js} +1 -1
- package/dist/esm/{index-iJ5sq_zX.js → index-CeYNqrm6.js} +2 -2
- package/dist/esm/{index-COrBCyov.js → index-D9GD5gzh.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- 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_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 +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 +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 +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 +20 -4
- 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-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 +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 +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-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-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-embed.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 +29 -12
- 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 +3 -3
- 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-BqdEjVrn.js → tracked-promise-DmXpObWP.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-sDHf8LOA.js → vanilla-picker-pNOcxfir.js} +1 -1
- package/dist/twilight/{p-fe88bea5.entry.js → p-00b82f9e.entry.js} +1 -1
- package/dist/twilight/{p-2b558991.entry.js → p-016d2b24.entry.js} +1 -1
- package/dist/twilight/{p-c208e3c7.entry.js → p-06d466ca.entry.js} +1 -1
- package/dist/twilight/{p-a83a6645.entry.js → p-0777f1aa.entry.js} +1 -1
- package/dist/twilight/{p-c1949223.entry.js → p-07afae85.entry.js} +1 -1
- package/dist/twilight/{p-4a68aa3a.entry.js → p-07b5f1f0.entry.js} +1 -1
- package/dist/twilight/{p-9b6f56a4.entry.js → p-08080728.entry.js} +1 -1
- package/dist/twilight/{p-b4b57fd2.entry.js → p-0d8fac88.entry.js} +1 -1
- package/dist/twilight/{p-68cc082a.entry.js → p-1043d027.entry.js} +1 -1
- package/dist/twilight/{p-07ab6222.entry.js → p-12a64c34.entry.js} +1 -1
- package/dist/twilight/{p-a1189807.entry.js → p-19cef679.entry.js} +1 -1
- package/dist/twilight/{p-53725056.entry.js → p-22eeb058.entry.js} +1 -1
- package/dist/twilight/{p-153ae87f.entry.js → p-29dbcd53.entry.js} +1 -1
- package/dist/twilight/{p-ac7e349a.entry.js → p-2d83fd8d.entry.js} +1 -1
- package/dist/twilight/{p-93e20666.entry.js → p-2ecf4e6a.entry.js} +1 -1
- package/dist/twilight/{p-569c6283.entry.js → p-2f8a2a75.entry.js} +1 -1
- package/dist/twilight/{p-f0451bd0.entry.js → p-31399c5a.entry.js} +1 -1
- package/dist/twilight/{p-63db0087.entry.js → p-316bd85f.entry.js} +1 -1
- package/dist/twilight/{p-77161ea1.entry.js → p-38dcee02.entry.js} +1 -1
- package/dist/twilight/{p-dbedcb2c.entry.js → p-39350b98.entry.js} +1 -1
- package/dist/twilight/{p-cb7550d3.entry.js → p-395408d0.entry.js} +1 -1
- package/dist/twilight/{p-a89828dd.entry.js → p-4155b911.entry.js} +1 -1
- package/dist/twilight/{p-59e51761.entry.js → p-4368aeb5.entry.js} +1 -1
- package/dist/twilight/{p-3478605e.entry.js → p-46d2e19e.entry.js} +1 -1
- package/dist/twilight/{p-4bf10fda.entry.js → p-4b0fe193.entry.js} +1 -1
- package/dist/twilight/{p-1bbdc1be.entry.js → p-51739559.entry.js} +1 -1
- package/dist/twilight/{p-12e4f4b3.entry.js → p-52f0f36b.entry.js} +1 -1
- package/dist/twilight/{p-bec381d0.entry.js → p-570d9be5.entry.js} +1 -1
- package/dist/twilight/{p-7cb9fdf3.entry.js → p-5afb837d.entry.js} +1 -1
- package/dist/twilight/{p-d171d9b7.entry.js → p-5b416a7d.entry.js} +1 -1
- package/dist/twilight/p-629e05d2.entry.js +4 -0
- package/dist/twilight/{p-56f2c80b.entry.js → p-66189b02.entry.js} +1 -1
- package/dist/twilight/{p-7c274900.entry.js → p-66341808.entry.js} +1 -1
- package/dist/twilight/{p-fcf26add.entry.js → p-66e6f1b7.entry.js} +1 -1
- package/dist/twilight/{p-8784043c.entry.js → p-68a4b292.entry.js} +1 -1
- package/dist/twilight/{p-570a0386.entry.js → p-6ac73121.entry.js} +1 -1
- package/dist/twilight/p-6ad7e526.entry.js +4 -0
- package/dist/twilight/{p-6959e50c.entry.js → p-6e74026e.entry.js} +1 -1
- package/dist/twilight/{p-606cf463.entry.js → p-6e77cef2.entry.js} +1 -1
- package/dist/twilight/p-70bccb5a.entry.js +4 -0
- package/dist/twilight/{p-9037aceb.entry.js → p-744b3fae.entry.js} +1 -1
- package/dist/twilight/{p-8fdda3f7.entry.js → p-7469ba2c.entry.js} +1 -1
- package/dist/twilight/{p-ba3fddd7.entry.js → p-74810e1d.entry.js} +1 -1
- package/dist/twilight/{p-ddaa0572.entry.js → p-7562b6fe.entry.js} +1 -1
- package/dist/twilight/{p-6a0592ff.entry.js → p-75c3f81d.entry.js} +1 -1
- package/dist/twilight/{p-9b32a751.entry.js → p-77257ae8.entry.js} +1 -1
- package/dist/twilight/{p-1048d417.entry.js → p-79143f69.entry.js} +1 -1
- package/dist/twilight/{p-8417e475.entry.js → p-7fa53fa7.entry.js} +1 -1
- package/dist/twilight/{p-38c48529.entry.js → p-873b5a0b.entry.js} +1 -1
- package/dist/twilight/p-896c5d10.entry.js +4 -0
- package/dist/twilight/{p-9e65633b.entry.js → p-8f27d1fc.entry.js} +1 -1
- package/dist/twilight/{p-e824a11d.entry.js → p-925afa3d.entry.js} +1 -1
- package/dist/twilight/{p-486eec44.entry.js → p-976a7c3b.entry.js} +1 -1
- package/dist/twilight/{p-b0afc618.entry.js → p-97d9e879.entry.js} +1 -1
- package/dist/twilight/{p-c9932aac.entry.js → p-99edcd51.entry.js} +1 -1
- package/dist/twilight/{p-DpeYnqu7.js → p-B0byHRZ3.js} +1 -1
- package/dist/twilight/{p-CEojVb5V.js → p-BCTJfSEq.js} +1 -1
- package/dist/twilight/{p-DLjvTnkG.js → p-BJ8oGcQD.js} +1 -1
- package/dist/twilight/{p-2YeLvW5I.js → p-BKLK9Y6r.js} +1 -1
- package/dist/twilight/{p--2LAp_Ix.js → p-BRPK56r-.js} +1 -1
- package/dist/twilight/{p-Doa_Qi4D.js → p-BW7tTJ4q.js} +1 -1
- package/dist/twilight/{p-quQVhrL_.js → p-BbnE5BSS.js} +2 -2
- package/dist/twilight/{p-Mmayo-tO.js → p-CShDziwT.js} +1 -1
- package/dist/twilight/{p-DoHbs_Ca.js → p-Cc7oEzty.js} +1 -1
- package/dist/twilight/{p-iJ5sq_zX.js → p-CeYNqrm6.js} +1 -1
- package/dist/twilight/{p-YOYH8YN6.js → p-DM7C3SNh.js} +1 -1
- package/dist/twilight/{p-gauhE2aA.js → p-Dwy4A66P.js} +1 -1
- package/dist/twilight/{p-cf258842.entry.js → p-a01e3db6.entry.js} +1 -1
- package/dist/twilight/{p-aec79fff.entry.js → p-a52795df.entry.js} +1 -1
- package/dist/twilight/p-a6a6f6af.entry.js +4 -0
- package/dist/twilight/{p-da9ca18e.entry.js → p-a8b5376b.entry.js} +1 -1
- package/dist/twilight/{p-cdeac4d4.entry.js → p-aa97bce4.entry.js} +1 -1
- package/dist/twilight/{p-38669272.entry.js → p-b492aa80.entry.js} +1 -1
- package/dist/twilight/{p-bb9ef23e.entry.js → p-b5267377.entry.js} +1 -1
- package/dist/twilight/{p-12e99bf3.entry.js → p-b77e74a4.entry.js} +1 -1
- package/dist/twilight/{p-b902d2f5.entry.js → p-b8073d30.entry.js} +1 -1
- package/dist/twilight/{p-c70b165a.entry.js → p-baf272cf.entry.js} +1 -1
- package/dist/twilight/{p-d7c9b87f.entry.js → p-bb3fb45c.entry.js} +1 -1
- package/dist/twilight/{p-eec5d968.entry.js → p-c56ba8d5.entry.js} +1 -1
- package/dist/twilight/{p-147b1b05.entry.js → p-c66e2e76.entry.js} +1 -1
- package/dist/twilight/{p-3dd52ee6.entry.js → p-c7caa2cc.entry.js} +1 -1
- package/dist/twilight/{p-dd83f43e.entry.js → p-cf68db97.entry.js} +1 -1
- package/dist/twilight/{p-1f2d6697.entry.js → p-d0e99086.entry.js} +1 -1
- package/dist/twilight/{p-4f009520.entry.js → p-d78c5c6e.entry.js} +1 -1
- package/dist/twilight/{p-07cfe13f.entry.js → p-d84d931d.entry.js} +1 -1
- package/dist/twilight/{p-b0912857.entry.js → p-dbf9a7a6.entry.js} +1 -1
- package/dist/twilight/{p-5a502b2d.entry.js → p-ddf5c15d.entry.js} +1 -1
- package/dist/twilight/{p-234c1e5a.entry.js → p-dff9a1ec.entry.js} +1 -1
- package/dist/twilight/{p-a3f1ce8d.entry.js → p-e4c61d13.entry.js} +1 -1
- package/dist/twilight/{p-099f53cb.entry.js → p-e545619d.entry.js} +1 -1
- package/dist/twilight/{p-2c1eaa42.entry.js → p-e60bd3a0.entry.js} +1 -1
- package/dist/twilight/{p-c7f39c26.entry.js → p-ec46c858.entry.js} +1 -1
- package/dist/twilight/{p-dc530376.entry.js → p-ed92c8ab.entry.js} +1 -1
- package/dist/twilight/{p-710aeaa6.entry.js → p-eef72b52.entry.js} +1 -1
- package/dist/twilight/{p-8efab918.entry.js → p-efc3eb85.entry.js} +1 -1
- package/dist/twilight/{p-93cffd7b.entry.js → p-f02cb299.entry.js} +1 -1
- package/dist/twilight/{p-bae99ba7.entry.js → p-f3884673.entry.js} +1 -1
- package/dist/twilight/{p-d8b6e962.entry.js → p-fbcb84a4.entry.js} +1 -1
- package/dist/twilight/{p-f194ed91.entry.js → p-fd4588cc.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +1 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-0235e63d.entry.js +0 -4
- package/dist/twilight/p-075e48a4.entry.js +0 -4
- package/dist/twilight/p-46d2ef37.entry.js +0 -4
- package/dist/twilight/p-59edb110.entry.js +0 -4
- package/dist/twilight/p-e3871a18.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-wTIlAVr3.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,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-wTIlAVr3.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-wTIlAVr3.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">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-wTIlAVr3.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-CgGR9Qf8.js');
|
|
@@ -85,7 +85,6 @@ const SallaProductsList = class {
|
|
|
85
85
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
86
86
|
// Create a deep copy of the filters object to avoid mutating the original object
|
|
87
87
|
this.parsedFilters = JSON.parse(JSON.stringify(filters));
|
|
88
|
-
this.filtersSnapshot = this.parsedFilters;
|
|
89
88
|
if (this.currentPage?.slug == "product.index" && this.parsedFilters && this.parsedFilters.category_id) {
|
|
90
89
|
this.currentCategoryIdFilter = [this.parsedFilters.category_id];
|
|
91
90
|
}
|
|
@@ -119,6 +118,31 @@ const SallaProductsList = class {
|
|
|
119
118
|
isFilterable() {
|
|
120
119
|
return salla.config.get('store.settings.product.filters') && this.filtersResults;
|
|
121
120
|
}
|
|
121
|
+
getCachedFilters() {
|
|
122
|
+
if (!Array.isArray(this.filtersSnapshot) || !this.filtersSnapshot.length) {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
return JSON.parse(JSON.stringify(this.filtersSnapshot));
|
|
126
|
+
}
|
|
127
|
+
emitFilters(response) {
|
|
128
|
+
if (!this.isFilterable()) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
if (response.filters) {
|
|
132
|
+
this.filtersResults = true;
|
|
133
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
134
|
+
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
const cachedFilters = response.cursor?.current > 1 ? this.getCachedFilters() : null;
|
|
138
|
+
if (cachedFilters) {
|
|
139
|
+
this.filtersResults = true;
|
|
140
|
+
salla.event.emit('filters::fetched', { filters: cachedFilters });
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
this.filtersSnapshot = [];
|
|
144
|
+
salla.event.emit('filters::hidden');
|
|
145
|
+
}
|
|
122
146
|
isSourceWithoutValue() {
|
|
123
147
|
return ['offers', 'latest', 'sales', 'wishlist', 'top-rated', 'reorder'].includes(this.getSource());
|
|
124
148
|
}
|
|
@@ -407,8 +431,9 @@ const SallaProductsList = class {
|
|
|
407
431
|
if (storedState) {
|
|
408
432
|
try {
|
|
409
433
|
const { pageIndex, nextPage, currentPageData } = JSON.parse(storedState);
|
|
410
|
-
if (filetrsState !== 'undefined') {
|
|
434
|
+
if (filetrsState && filetrsState !== 'undefined') {
|
|
411
435
|
const filters = JSON.parse(filetrsState);
|
|
436
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(filters));
|
|
412
437
|
salla.event.emit('filters::fetched', { filters });
|
|
413
438
|
}
|
|
414
439
|
this.page = pageIndex;
|
|
@@ -780,7 +805,6 @@ const SallaProductsList = class {
|
|
|
780
805
|
let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
|
|
781
806
|
// get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
|
|
782
807
|
title = response.filters?.find(filter => filter.key === 'category_id')?.values?.find(cat => cat.key === catId)?.value ?? '';
|
|
783
|
-
this.filtersSnapshot = response.filters;
|
|
784
808
|
}
|
|
785
809
|
title += (title ? ' - ' : '') + salla.lang.choice('blocks.header.products_count', response.data?.length);
|
|
786
810
|
if (response.data.length === 15) {
|
|
@@ -803,14 +827,7 @@ const SallaProductsList = class {
|
|
|
803
827
|
salla.event.emit('salla-products-list::products.fetched', response);
|
|
804
828
|
this.productsFetched.emit(response);
|
|
805
829
|
//💡 when source is related, cursor will not be existed
|
|
806
|
-
|
|
807
|
-
this.filtersResults = true;
|
|
808
|
-
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
809
|
-
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
810
|
-
}
|
|
811
|
-
else if (this.isFilterable()) {
|
|
812
|
-
salla.event.emit('filters::hidden');
|
|
813
|
-
}
|
|
830
|
+
this.emitFilters(response);
|
|
814
831
|
//because: this.nextPage is state we don't need to touch it after the build, to avoid the re-rendering
|
|
815
832
|
if (shouldBuildNextPage) {
|
|
816
833
|
this.nextPage = await this.resolveNextPageFromCursor(response);
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-wTIlAVr3.js');
|
|
7
|
+
var functions = require('./functions-Dnwp9wka.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-DqErlr1h.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-wTIlAVr3.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-wTIlAVr3.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-wTIlAVr3.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -82,7 +82,8 @@ export class SallaLocalizationModal {
|
|
|
82
82
|
DZD: { en: "Algerian Dinar", ar: "دينار جزائري", symbol: "دج" },
|
|
83
83
|
MAD: { en: "Moroccan Dirham", ar: "درهم مغربي", symbol: "د.م." },
|
|
84
84
|
LYD: { en: "Libyan Dinar", ar: "دينار ليبي", symbol: "LD" },
|
|
85
|
-
YER: { en: "Yemeni Riyal", ar: "ريال يمني", symbol: "ر.ي" }
|
|
85
|
+
YER: { en: "Yemeni Riyal", ar: "ريال يمني", symbol: "ر.ي" },
|
|
86
|
+
ILS: { en: "New Shekel", ar: "شيكل جديد", symbol: "₪" }
|
|
86
87
|
};
|
|
87
88
|
//here we will used the currency code instead of the symbol when current language is not arabic
|
|
88
89
|
this.arabicCurrencies = ["SAR", "AED", "KWD", "BHD", "QAR", "OMR", "EGP", "IQD", "LBP", "SYP", "TND", "DZD", "MAD", "YER"];
|
|
@@ -115,6 +116,8 @@ export class SallaLocalizationModal {
|
|
|
115
116
|
if (!this.currency) {
|
|
116
117
|
this.currency = Salla.config.get('user.currency_code');
|
|
117
118
|
}
|
|
119
|
+
// Pre-load currencies so the trigger can resolve unknown codes via API fallback before the modal opens
|
|
120
|
+
Salla.api.withoutNotifier(() => this.getCurrencies()).catch(() => null);
|
|
118
121
|
}
|
|
119
122
|
/**
|
|
120
123
|
* open the component
|
|
@@ -142,7 +145,17 @@ export class SallaLocalizationModal {
|
|
|
142
145
|
return this.modal.close();
|
|
143
146
|
}
|
|
144
147
|
getCurrency(currencyCode) {
|
|
145
|
-
|
|
148
|
+
const code = currencyCode || this.currency;
|
|
149
|
+
if (this.currenciesList[code]) {
|
|
150
|
+
return this.currenciesList[code];
|
|
151
|
+
}
|
|
152
|
+
const fromApi = this.currencies.find((c) => c.code === code);
|
|
153
|
+
if (fromApi) {
|
|
154
|
+
const name = this.escapeHtml(String(fromApi.name || code));
|
|
155
|
+
const symbol = this.escapeHtml(String((fromApi.symbol || '').trim() || code));
|
|
156
|
+
return { en: name, ar: name, symbol };
|
|
157
|
+
}
|
|
158
|
+
return { en: "Saudi Riyal", ar: "ريال سعودي", symbol: "ر.س" };
|
|
146
159
|
}
|
|
147
160
|
getLanguageName() {
|
|
148
161
|
return this.languageNames[this.language] || this.language || '';
|
|
@@ -160,6 +173,9 @@ export class SallaLocalizationModal {
|
|
|
160
173
|
getCurrencyName(currencyCode) {
|
|
161
174
|
return this.language === 'ar' ? this.getCurrency(currencyCode).ar : this.getCurrency(currencyCode).en;
|
|
162
175
|
}
|
|
176
|
+
escapeHtml(str) {
|
|
177
|
+
return str.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');
|
|
178
|
+
}
|
|
163
179
|
async getLanguages() {
|
|
164
180
|
return this.languages.length > 1 ? null : await Salla.config.languages().then(data => this.languages = data);
|
|
165
181
|
}
|
|
@@ -211,7 +227,7 @@ export class SallaLocalizationModal {
|
|
|
211
227
|
this.showTrigger
|
|
212
228
|
? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
|
|
213
229
|
: '',
|
|
214
|
-
h("salla-modal", { key: '
|
|
230
|
+
h("salla-modal", { key: '6a3f736912181c5305a6c3007a5c3a739dc29b17', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '1fa6da25fef6d53258fdf14be51f23681321f5f2', slot: 'loading' }, h("div", { key: '64aa0b53fe359df364c915b80b5bc26de5e57300', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '41ba7271f064fa3880a75467868da9742b236c5c', width: '25%', height: '15px' }), h("div", { key: 'fa336b997a868f2f08ae3b89933d2dc99a33ce74', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'f2a3c995ee6aa642435b9aa054bb0dd857674b61', width: '25%', height: '15px' }), h("div", { key: '4cdc8d8f3f639a161e4c8663e7bcd3425aeb3e00', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '717051872db0bafe45c8fecb5559dca19954e1f2', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
215
231
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
|
|
216
232
|
h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
217
233
|
h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
|