@salla.sa/twilight-components 2.14.461 → 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-DDAGSiBu.js → filepond-D7zShniv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-nmHjxMAB.js → filepond-plugin-file-poster-BqO8tLqK.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BtQEm835.js → filepond-plugin-file-validate-size-Bdxa3s1T.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DZh74oiy.js → filepond-plugin-file-validate-type-B9q4YU3V.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CTGzmH1f.js → filepond-plugin-image-edit-BZ8ZjH1W.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-D851LeUg.js → filepond-plugin-image-exif-orientation-D-Ua_ckJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BcbCu3xH.js → filepond-plugin-image-preview-CrZfm9_U.js} +1 -1
- package/dist/cjs/{functions-JSbmlqCR.js → functions-Dnwp9wka.js} +1 -1
- package/dist/cjs/{index-B382wYR4.js → index-CLNWkNWb.js} +1 -1
- package/dist/cjs/{index-BbEaNgXt.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 +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-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-B0hsrPu_.js → tracked-promise-DqErlr1h.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-CuSFaj7m.js → vanilla-picker-F5duMbuq.js} +1 -1
- package/dist/collection/components/salla-products-list/salla-products-list.js +28 -11
- package/dist/components/index.js +2 -2
- package/dist/components/salla-products-list2.js +28 -11
- package/dist/esm/{filepond-n7Tk1X1s.js → filepond-m6fYB-0k.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BSnp0vvZ.js → filepond-plugin-file-poster-BjL05gZe.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CoYRMYw6.js → filepond-plugin-file-validate-size-DTeNYd00.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-qCOXsTrd.js → filepond-plugin-file-validate-type-ZhqN1Gao.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DXpVwYXm.js → filepond-plugin-image-edit-P9d3w9sz.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BWH5RIuD.js → filepond-plugin-image-exif-orientation-rmyn2Wqp.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-D2-j0VSU.js → filepond-plugin-image-preview-yKjApiZb.js} +1 -1
- package/dist/esm/{functions-C0YAccvF.js → functions-C_YevJW-.js} +1 -1
- package/dist/esm/{index-DZJfoSMn.js → index-CeYNqrm6.js} +2 -2
- package/dist/esm/{index-CWoBHtob.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 +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-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-GcOA8b3a.js → tracked-promise-DmXpObWP.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-BpADmZjj.js → vanilla-picker-pNOcxfir.js} +1 -1
- package/dist/twilight/{p-92bdfae5.entry.js → p-00b82f9e.entry.js} +1 -1
- package/dist/twilight/{p-3c726469.entry.js → p-016d2b24.entry.js} +1 -1
- package/dist/twilight/{p-b8879670.entry.js → p-06d466ca.entry.js} +6 -6
- package/dist/twilight/{p-15674f9e.entry.js → p-0777f1aa.entry.js} +1 -1
- package/dist/twilight/{p-28472b7d.entry.js → p-07afae85.entry.js} +1 -1
- package/dist/twilight/{p-c177ec39.entry.js → p-07b5f1f0.entry.js} +1 -1
- package/dist/twilight/{p-3d72203e.entry.js → p-08080728.entry.js} +1 -1
- package/dist/twilight/{p-78ea4116.entry.js → p-0d8fac88.entry.js} +1 -1
- package/dist/twilight/{p-23de0e4d.entry.js → p-1043d027.entry.js} +1 -1
- package/dist/twilight/{p-72cac49f.entry.js → p-12a64c34.entry.js} +1 -1
- package/dist/twilight/{p-60ed6a43.entry.js → p-19cef679.entry.js} +1 -1
- package/dist/twilight/{p-723fd41b.entry.js → p-22eeb058.entry.js} +1 -1
- package/dist/twilight/{p-d9bc10fa.entry.js → p-29dbcd53.entry.js} +1 -1
- package/dist/twilight/{p-f3a8ffbe.entry.js → p-2d83fd8d.entry.js} +1 -1
- package/dist/twilight/{p-f7c7dd70.entry.js → p-2ecf4e6a.entry.js} +1 -1
- package/dist/twilight/{p-ef824ee1.entry.js → p-2f8a2a75.entry.js} +1 -1
- package/dist/twilight/{p-e3c42341.entry.js → p-31399c5a.entry.js} +1 -1
- package/dist/twilight/{p-a77699f6.entry.js → p-316bd85f.entry.js} +1 -1
- package/dist/twilight/{p-b17dff86.entry.js → p-38dcee02.entry.js} +1 -1
- package/dist/twilight/{p-4e1dd088.entry.js → p-39350b98.entry.js} +1 -1
- package/dist/twilight/{p-7cdd0edd.entry.js → p-395408d0.entry.js} +1 -1
- package/dist/twilight/{p-23d3fe72.entry.js → p-4155b911.entry.js} +1 -1
- package/dist/twilight/{p-2a900c4e.entry.js → p-4368aeb5.entry.js} +1 -1
- package/dist/twilight/{p-d04feb4a.entry.js → p-46d2e19e.entry.js} +1 -1
- package/dist/twilight/{p-c74ccdee.entry.js → p-4b0fe193.entry.js} +1 -1
- package/dist/twilight/{p-759ec1b2.entry.js → p-51739559.entry.js} +1 -1
- package/dist/twilight/{p-098f1fae.entry.js → p-52f0f36b.entry.js} +1 -1
- package/dist/twilight/{p-f44362e9.entry.js → p-570d9be5.entry.js} +1 -1
- package/dist/twilight/{p-8e0cb0b4.entry.js → p-5afb837d.entry.js} +1 -1
- package/dist/twilight/{p-e9029b24.entry.js → p-5b416a7d.entry.js} +1 -1
- package/dist/twilight/p-629e05d2.entry.js +4 -0
- package/dist/twilight/{p-0707d2f3.entry.js → p-66189b02.entry.js} +1 -1
- package/dist/twilight/{p-173db748.entry.js → p-66341808.entry.js} +1 -1
- package/dist/twilight/{p-92a92648.entry.js → p-66e6f1b7.entry.js} +1 -1
- package/dist/twilight/{p-4391b061.entry.js → p-68a4b292.entry.js} +1 -1
- package/dist/twilight/{p-fbea393e.entry.js → p-6ac73121.entry.js} +1 -1
- package/dist/twilight/{p-04755a75.entry.js → p-6ad7e526.entry.js} +1 -1
- package/dist/twilight/{p-154982a2.entry.js → p-6e74026e.entry.js} +1 -1
- package/dist/twilight/{p-60d8f39b.entry.js → p-6e77cef2.entry.js} +1 -1
- package/dist/twilight/{p-3cea9d02.entry.js → p-70bccb5a.entry.js} +1 -1
- package/dist/twilight/{p-aa6980d3.entry.js → p-744b3fae.entry.js} +1 -1
- package/dist/twilight/{p-c443a332.entry.js → p-7469ba2c.entry.js} +1 -1
- package/dist/twilight/{p-ed061a5a.entry.js → p-74810e1d.entry.js} +1 -1
- package/dist/twilight/{p-36b19d00.entry.js → p-7562b6fe.entry.js} +1 -1
- package/dist/twilight/{p-8e29f889.entry.js → p-75c3f81d.entry.js} +1 -1
- package/dist/twilight/{p-8bdb3374.entry.js → p-77257ae8.entry.js} +1 -1
- package/dist/twilight/{p-30532b9c.entry.js → p-79143f69.entry.js} +1 -1
- package/dist/twilight/{p-adb26a1f.entry.js → p-7fa53fa7.entry.js} +1 -1
- package/dist/twilight/{p-0bba3324.entry.js → p-873b5a0b.entry.js} +1 -1
- package/dist/twilight/{p-7f8842a6.entry.js → p-896c5d10.entry.js} +1 -1
- package/dist/twilight/{p-457c98ed.entry.js → p-8f27d1fc.entry.js} +1 -1
- package/dist/twilight/{p-6fcbb71a.entry.js → p-925afa3d.entry.js} +1 -1
- package/dist/twilight/{p-ed4a6e2d.entry.js → p-976a7c3b.entry.js} +1 -1
- package/dist/twilight/{p-d993f567.entry.js → p-97d9e879.entry.js} +1 -1
- package/dist/twilight/{p-aaa589b3.entry.js → p-99edcd51.entry.js} +1 -1
- package/dist/twilight/{p-q7sRVQkm.js → p-B0byHRZ3.js} +1 -1
- package/dist/twilight/{p-BGvyt9d0.js → p-BCTJfSEq.js} +1 -1
- package/dist/twilight/{p-AfEAfJ98.js → p-BJ8oGcQD.js} +1 -1
- package/dist/twilight/p-BKLK9Y6r.js +9 -0
- package/dist/twilight/p-BRPK56r-.js +4 -0
- package/dist/twilight/{p-BJydaLla.js → p-BW7tTJ4q.js} +1 -1
- package/dist/twilight/{p-DtRKnFMd.js → p-BbnE5BSS.js} +1 -1
- package/dist/twilight/{p-D3Knumjd.js → p-CShDziwT.js} +1 -1
- package/dist/twilight/{p-CzKVU0uc.js → p-Cc7oEzty.js} +1 -1
- package/dist/twilight/{p-DZJfoSMn.js → p-CeYNqrm6.js} +1 -1
- package/dist/twilight/{p-CL6oN_Q7.js → p-DM7C3SNh.js} +1 -1
- package/dist/twilight/{p-DPrVo6nK.js → p-Dwy4A66P.js} +1 -1
- package/dist/twilight/{p-05f84e06.entry.js → p-a01e3db6.entry.js} +1 -1
- package/dist/twilight/{p-fcb5ea5d.entry.js → p-a52795df.entry.js} +1 -1
- package/dist/twilight/{p-95916068.entry.js → p-a6a6f6af.entry.js} +1 -1
- package/dist/twilight/{p-ab681e13.entry.js → p-a8b5376b.entry.js} +1 -1
- package/dist/twilight/{p-8494470d.entry.js → p-aa97bce4.entry.js} +1 -1
- package/dist/twilight/{p-c785365c.entry.js → p-b492aa80.entry.js} +1 -1
- package/dist/twilight/{p-ebfbda5f.entry.js → p-b5267377.entry.js} +1 -1
- package/dist/twilight/{p-e8514ae6.entry.js → p-b77e74a4.entry.js} +1 -1
- package/dist/twilight/{p-17d10d15.entry.js → p-b8073d30.entry.js} +1 -1
- package/dist/twilight/{p-3355b043.entry.js → p-baf272cf.entry.js} +1 -1
- package/dist/twilight/{p-c8376047.entry.js → p-bb3fb45c.entry.js} +1 -1
- package/dist/twilight/{p-fe4866b6.entry.js → p-c56ba8d5.entry.js} +1 -1
- package/dist/twilight/{p-0377ee4a.entry.js → p-c66e2e76.entry.js} +1 -1
- package/dist/twilight/{p-28654655.entry.js → p-c7caa2cc.entry.js} +1 -1
- package/dist/twilight/{p-20ccbbe4.entry.js → p-cf68db97.entry.js} +1 -1
- package/dist/twilight/{p-4f28f97c.entry.js → p-d0e99086.entry.js} +1 -1
- package/dist/twilight/{p-d88387cf.entry.js → p-d78c5c6e.entry.js} +1 -1
- package/dist/twilight/{p-6585f570.entry.js → p-d84d931d.entry.js} +1 -1
- package/dist/twilight/{p-f4c8cace.entry.js → p-dbf9a7a6.entry.js} +1 -1
- package/dist/twilight/{p-a2ef6d82.entry.js → p-ddf5c15d.entry.js} +1 -1
- package/dist/twilight/{p-348ba7bc.entry.js → p-dff9a1ec.entry.js} +1 -1
- package/dist/twilight/{p-57b49cdf.entry.js → p-e4c61d13.entry.js} +1 -1
- package/dist/twilight/{p-d369971e.entry.js → p-e545619d.entry.js} +1 -1
- package/dist/twilight/{p-ce20b220.entry.js → p-e60bd3a0.entry.js} +1 -1
- package/dist/twilight/{p-5d8e2e4e.entry.js → p-ec46c858.entry.js} +1 -1
- package/dist/twilight/{p-ac27db7b.entry.js → p-ed92c8ab.entry.js} +1 -1
- package/dist/twilight/{p-38e27a00.entry.js → p-eef72b52.entry.js} +1 -1
- package/dist/twilight/{p-8640b282.entry.js → p-efc3eb85.entry.js} +1 -1
- package/dist/twilight/{p-6deac135.entry.js → p-f02cb299.entry.js} +1 -1
- package/dist/twilight/{p-4bd6e04e.entry.js → p-f3884673.entry.js} +1 -1
- package/dist/twilight/{p-d4bf9b9a.entry.js → p-fbcb84a4.entry.js} +1 -1
- package/dist/twilight/{p-dc85db79.entry.js → p-fd4588cc.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-BuQQcHl4.js +0 -4
- package/dist/twilight/p-D1YyLASn.js +0 -9
- package/dist/twilight/p-e18d93d6.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
|
|
|
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
|
@@ -78,7 +78,6 @@ export class SallaProductsList {
|
|
|
78
78
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
79
79
|
// Create a deep copy of the filters object to avoid mutating the original object
|
|
80
80
|
this.parsedFilters = JSON.parse(JSON.stringify(filters));
|
|
81
|
-
this.filtersSnapshot = this.parsedFilters;
|
|
82
81
|
if (this.currentPage?.slug == "product.index" && this.parsedFilters && this.parsedFilters.category_id) {
|
|
83
82
|
this.currentCategoryIdFilter = [this.parsedFilters.category_id];
|
|
84
83
|
}
|
|
@@ -112,6 +111,31 @@ export class SallaProductsList {
|
|
|
112
111
|
isFilterable() {
|
|
113
112
|
return salla.config.get('store.settings.product.filters') && this.filtersResults;
|
|
114
113
|
}
|
|
114
|
+
getCachedFilters() {
|
|
115
|
+
if (!Array.isArray(this.filtersSnapshot) || !this.filtersSnapshot.length) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
return JSON.parse(JSON.stringify(this.filtersSnapshot));
|
|
119
|
+
}
|
|
120
|
+
emitFilters(response) {
|
|
121
|
+
if (!this.isFilterable()) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
if (response.filters) {
|
|
125
|
+
this.filtersResults = true;
|
|
126
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
127
|
+
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
const cachedFilters = response.cursor?.current > 1 ? this.getCachedFilters() : null;
|
|
131
|
+
if (cachedFilters) {
|
|
132
|
+
this.filtersResults = true;
|
|
133
|
+
salla.event.emit('filters::fetched', { filters: cachedFilters });
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.filtersSnapshot = [];
|
|
137
|
+
salla.event.emit('filters::hidden');
|
|
138
|
+
}
|
|
115
139
|
isSourceWithoutValue() {
|
|
116
140
|
return ['offers', 'latest', 'sales', 'wishlist', 'top-rated', 'reorder'].includes(this.getSource());
|
|
117
141
|
}
|
|
@@ -400,8 +424,9 @@ export class SallaProductsList {
|
|
|
400
424
|
if (storedState) {
|
|
401
425
|
try {
|
|
402
426
|
const { pageIndex, nextPage, currentPageData } = JSON.parse(storedState);
|
|
403
|
-
if (filetrsState !== 'undefined') {
|
|
427
|
+
if (filetrsState && filetrsState !== 'undefined') {
|
|
404
428
|
const filters = JSON.parse(filetrsState);
|
|
429
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(filters));
|
|
405
430
|
salla.event.emit('filters::fetched', { filters });
|
|
406
431
|
}
|
|
407
432
|
this.page = pageIndex;
|
|
@@ -773,7 +798,6 @@ export class SallaProductsList {
|
|
|
773
798
|
let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
|
|
774
799
|
// get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
|
|
775
800
|
title = response.filters?.find(filter => filter.key === 'category_id')?.values?.find(cat => cat.key === catId)?.value ?? '';
|
|
776
|
-
this.filtersSnapshot = response.filters;
|
|
777
801
|
}
|
|
778
802
|
title += (title ? ' - ' : '') + salla.lang.choice('blocks.header.products_count', response.data?.length);
|
|
779
803
|
if (response.data.length === 15) {
|
|
@@ -796,14 +820,7 @@ export class SallaProductsList {
|
|
|
796
820
|
salla.event.emit('salla-products-list::products.fetched', response);
|
|
797
821
|
this.productsFetched.emit(response);
|
|
798
822
|
//💡 when source is related, cursor will not be existed
|
|
799
|
-
|
|
800
|
-
this.filtersResults = true;
|
|
801
|
-
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
802
|
-
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
803
|
-
}
|
|
804
|
-
else if (this.isFilterable()) {
|
|
805
|
-
salla.event.emit('filters::hidden');
|
|
806
|
-
}
|
|
823
|
+
this.emitFilters(response);
|
|
807
824
|
//because: this.nextPage is state we don't need to touch it after the build, to avoid the re-rendering
|
|
808
825
|
if (shouldBuildNextPage) {
|
|
809
826
|
this.nextPage = await this.resolveNextPageFromCursor(response);
|