@salla.sa/twilight-components 2.14.483 → 2.14.485
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Helper-CgGR9Qf8.js → Helper-DvyEpCgx.js} +13 -0
- package/dist/cjs/{filepond-B7JshNP-.js → filepond-B1h9ltVJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Bxw84EJ9.js → filepond-plugin-file-poster-B4zD4xns.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-D7z9bzxr.js → filepond-plugin-file-validate-size-CIX5-X21.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CImB-IPQ.js → filepond-plugin-file-validate-type-D1NcjxUw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CUJXTddu.js → filepond-plugin-image-edit-Bb7P11BN.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C3mcn9KI.js → filepond-plugin-image-exif-orientation-C4HNrnSA.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BI1YsBYj.js → filepond-plugin-image-preview-DeMAP_C9.js} +1 -1
- package/dist/cjs/{functions-JdrYDQKu.js → functions-COuh9Ohq.js} +1 -1
- package/dist/cjs/{index-UdJx6iBO.js → index-8pwFZzoL.js} +8 -8
- package/dist/cjs/{index-D3Wa_I8P.js → index-jbrJkd9L.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +2 -2
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +2 -2
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +2 -2
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +17 -2
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +2 -2
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +44 -17
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-DENdU5n-.js → tracked-promise-BOMQ9hTv.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CMF_WtgH.js → vanilla-picker-DM7x_-2X.js} +1 -1
- package/dist/collection/Helpers/Helper.js +13 -0
- package/dist/collection/components/salla-products-list/salla-products-list.js +42 -15
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +18 -0
- package/dist/components/Helper.js +13 -0
- package/dist/components/index.js +8 -8
- package/dist/components/salla-products-list2.js +42 -15
- package/dist/components/salla-products-slider2.js +17 -0
- package/dist/esm/{Helper-BXj4f_Qj.js → Helper-CD8d-Brd.js} +13 -0
- package/dist/esm/{filepond-DwduE1q7.js → filepond-DHzuRfQN.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Cg5uryRV.js → filepond-plugin-file-poster-BxdBxR7d.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CI1Sj8kr.js → filepond-plugin-file-validate-size-C-0L9g1L.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-JUm4bC13.js → filepond-plugin-file-validate-type-OyHjZUCW.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BrJ55gLP.js → filepond-plugin-image-edit-BIfGCYQ5.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BkQECx1u.js → filepond-plugin-image-exif-orientation-DJlKxr63.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-nIxzaSJG.js → filepond-plugin-image-preview-B2DpOs_r.js} +1 -1
- package/dist/esm/{functions-BzIvfM0W.js → functions-DT-OwuY-.js} +1 -1
- package/dist/esm/{index-CFOfZPpP.js → index-D449pxDB.js} +1 -1
- package/dist/esm/{index-CPL9CY3o.js → index-DJPd6DKq.js} +8 -8
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +2 -2
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +11 -11
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +2 -2
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +2 -2
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +2 -2
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +2 -2
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal_3.entry.js +17 -2
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +2 -2
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +44 -17
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-CoSLxVRo.js → tracked-promise-CNnq4c_E.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BNfzIAYB.js → vanilla-picker-DQDhWp1B.js} +1 -1
- package/dist/twilight/{p-3b958e78.entry.js → p-005c08fe.entry.js} +1 -1
- package/dist/twilight/{p-120cbae1.entry.js → p-01fd381b.entry.js} +1 -1
- package/dist/twilight/{p-f7ebf444.entry.js → p-029c7342.entry.js} +1 -1
- package/dist/twilight/{p-b57981d4.entry.js → p-07e93d60.entry.js} +1 -1
- package/dist/twilight/{p-60024239.entry.js → p-0ade8936.entry.js} +1 -1
- package/dist/twilight/{p-f995bf04.entry.js → p-1620eaa3.entry.js} +1 -1
- package/dist/twilight/{p-df1cdb0d.entry.js → p-17b0b92b.entry.js} +1 -1
- package/dist/twilight/{p-34a187cf.entry.js → p-17f9907e.entry.js} +1 -1
- package/dist/twilight/{p-12a111fe.entry.js → p-1b506134.entry.js} +1 -1
- package/dist/twilight/{p-7cdb34ae.entry.js → p-1b9272d4.entry.js} +1 -1
- package/dist/twilight/{p-4a79b461.entry.js → p-1dc4ab57.entry.js} +1 -1
- package/dist/twilight/{p-976fe135.entry.js → p-1fc50a13.entry.js} +1 -1
- package/dist/twilight/{p-5b6a819a.entry.js → p-2270652d.entry.js} +1 -1
- package/dist/twilight/{p-0e8ffb12.entry.js → p-23a8870b.entry.js} +1 -1
- package/dist/twilight/{p-208e0041.entry.js → p-2566c361.entry.js} +1 -1
- package/dist/twilight/{p-f96a86a0.entry.js → p-2646c71c.entry.js} +1 -1
- package/dist/twilight/{p-866ae3dc.entry.js → p-26603c81.entry.js} +1 -1
- package/dist/twilight/{p-7aa2cb4d.entry.js → p-2794a82d.entry.js} +1 -1
- package/dist/twilight/{p-dd0d6d13.entry.js → p-2d6f9f9e.entry.js} +1 -1
- package/dist/twilight/{p-f4906774.entry.js → p-2e1cf59c.entry.js} +1 -1
- package/dist/twilight/{p-DW5X0KUQ.js → p-2xUZDJ04.js} +1 -1
- package/dist/twilight/{p-257fbf4d.entry.js → p-302bc68d.entry.js} +1 -1
- package/dist/twilight/{p-d7a88a71.entry.js → p-309914e6.entry.js} +1 -1
- package/dist/twilight/{p-ce12be93.entry.js → p-329f2f11.entry.js} +1 -1
- package/dist/twilight/{p-f174316c.entry.js → p-32eea65f.entry.js} +1 -1
- package/dist/twilight/{p-fc5654d2.entry.js → p-32ef12bb.entry.js} +1 -1
- package/dist/twilight/{p-2def11f1.entry.js → p-3a103253.entry.js} +1 -1
- package/dist/twilight/{p-5a1797c8.entry.js → p-3c4b0b05.entry.js} +1 -1
- package/dist/twilight/{p-74a9bc1e.entry.js → p-40256161.entry.js} +1 -1
- package/dist/twilight/{p-ddc1bc0d.entry.js → p-431b9986.entry.js} +1 -1
- package/dist/twilight/{p-d27249b5.entry.js → p-445b3e07.entry.js} +1 -1
- package/dist/twilight/{p-3dee0f70.entry.js → p-48b68862.entry.js} +1 -1
- package/dist/twilight/{p-7645015f.entry.js → p-4a31a4dd.entry.js} +1 -1
- package/dist/twilight/{p-b6c15b67.entry.js → p-566bae1e.entry.js} +1 -1
- package/dist/twilight/{p-e3d7e3c8.entry.js → p-58e39fe9.entry.js} +1 -1
- package/dist/twilight/{p-cec8779e.entry.js → p-5c7dd67e.entry.js} +1 -1
- package/dist/twilight/{p-324a7ef6.entry.js → p-5cd703c2.entry.js} +1 -1
- package/dist/twilight/{p-75f932ca.entry.js → p-5e39f770.entry.js} +1 -1
- package/dist/twilight/{p-822715db.entry.js → p-6181acb5.entry.js} +1 -1
- package/dist/twilight/{p-456ac86d.entry.js → p-6466fd9c.entry.js} +1 -1
- package/dist/twilight/{p-2f1d030d.entry.js → p-67ac0915.entry.js} +1 -1
- package/dist/twilight/{p-2f38b7e4.entry.js → p-69926ae5.entry.js} +1 -1
- package/dist/twilight/{p-27d113b9.entry.js → p-6e8a0f83.entry.js} +1 -1
- package/dist/twilight/{p-80f079b3.entry.js → p-74abfefb.entry.js} +1 -1
- package/dist/twilight/{p-4970584a.entry.js → p-74ba62ad.entry.js} +1 -1
- package/dist/twilight/{p-33afa437.entry.js → p-7547a8c3.entry.js} +1 -1
- package/dist/twilight/{p-10a86f9e.entry.js → p-78854c4a.entry.js} +1 -1
- package/dist/twilight/{p-fb469c8a.entry.js → p-7afc3b39.entry.js} +1 -1
- package/dist/twilight/{p-158ddb37.entry.js → p-7baf04d3.entry.js} +1 -1
- package/dist/twilight/{p-1b33acf6.entry.js → p-7dedb31c.entry.js} +1 -1
- package/dist/twilight/{p-d2fb2da6.entry.js → p-7f788909.entry.js} +1 -1
- package/dist/twilight/{p-7d55faee.entry.js → p-800e069d.entry.js} +1 -1
- package/dist/twilight/{p-bdeb8fdc.entry.js → p-80fc1a7b.entry.js} +1 -1
- package/dist/twilight/p-83b8d7cf.entry.js +4 -0
- package/dist/twilight/{p-0696998f.entry.js → p-859f2c19.entry.js} +1 -1
- package/dist/twilight/{p-9b98eda2.entry.js → p-8f672cef.entry.js} +1 -1
- package/dist/twilight/{p-a92022bc.entry.js → p-91884639.entry.js} +1 -1
- package/dist/twilight/{p-110e5099.entry.js → p-9248a9b8.entry.js} +1 -1
- package/dist/twilight/{p-909275e1.entry.js → p-93e3a6b1.entry.js} +1 -1
- package/dist/twilight/{p-3c04469e.entry.js → p-985f8781.entry.js} +1 -1
- package/dist/twilight/{p-666611e5.entry.js → p-9c52e63b.entry.js} +1 -1
- package/dist/twilight/{p-63626e90.entry.js → p-9f003164.entry.js} +1 -1
- package/dist/twilight/p-BG-PTfCd.js +4 -0
- package/dist/twilight/{p-Bvu4BGoi.js → p-BG50tuBF.js} +1 -1
- package/dist/twilight/{p-BzPtXZ8b.js → p-BL8emH6B.js} +1 -1
- package/dist/twilight/{p-ChXaJaVQ.js → p-Bnff9Ut3.js} +1 -1
- package/dist/twilight/{p-BcbKK1Xp.js → p-C-3GuKNW.js} +1 -1
- package/dist/twilight/{p-CSKE9PmZ.js → p-C4k3wAWB.js} +1 -1
- package/dist/twilight/{p-Jx-87Pvn.js → p-Ce51TrKH.js} +1 -1
- package/dist/twilight/{p-DArQ56Y5.js → p-Cve96fFs.js} +1 -1
- package/dist/twilight/p-DJPd6DKq.js +5 -0
- package/dist/twilight/{p-_Jg561eU.js → p-DXqzsbXl.js} +1 -1
- package/dist/twilight/{p-9eed2e81.entry.js → p-a20d0254.entry.js} +1 -1
- package/dist/twilight/{p-00ac20ac.entry.js → p-a92549f6.entry.js} +1 -1
- package/dist/twilight/{p-BbzxbdV_.js → p-aMw12tPb.js} +1 -1
- package/dist/twilight/{p-931481f2.entry.js → p-adb4eed7.entry.js} +1 -1
- package/dist/twilight/{p-5f10dcbb.entry.js → p-af769e0a.entry.js} +1 -1
- package/dist/twilight/{p-25d87b51.entry.js → p-b94fe237.entry.js} +1 -1
- package/dist/twilight/{p-348e706d.entry.js → p-bff68f44.entry.js} +1 -1
- package/dist/twilight/{p-3607b38e.entry.js → p-c06f0822.entry.js} +1 -1
- package/dist/twilight/{p-29fd2c2e.entry.js → p-c1aa61bc.entry.js} +1 -1
- package/dist/twilight/{p-d0e713bf.entry.js → p-c2284ac3.entry.js} +1 -1
- package/dist/twilight/{p-3161b8ae.entry.js → p-c31600a9.entry.js} +1 -1
- package/dist/twilight/{p-1e71fea1.entry.js → p-c88eb0de.entry.js} +1 -1
- package/dist/twilight/{p-e8d76141.entry.js → p-ca0fa22b.entry.js} +1 -1
- package/dist/twilight/{p-073299af.entry.js → p-cbb75c0b.entry.js} +1 -1
- package/dist/twilight/{p-a4f5a886.entry.js → p-cf17ece0.entry.js} +1 -1
- package/dist/twilight/{p-f36bc567.entry.js → p-d21bdb22.entry.js} +1 -1
- package/dist/twilight/{p-05509b03.entry.js → p-d886da88.entry.js} +1 -1
- package/dist/twilight/{p-0f1c9e60.entry.js → p-da010601.entry.js} +1 -1
- package/dist/twilight/{p-340dd50d.entry.js → p-dac3e978.entry.js} +1 -1
- package/dist/twilight/{p-a8551a6e.entry.js → p-dafb763f.entry.js} +1 -1
- package/dist/twilight/{p-3fde1a58.entry.js → p-e056c218.entry.js} +1 -1
- package/dist/twilight/{p-cdbf3ed7.entry.js → p-e492ab39.entry.js} +1 -1
- package/dist/twilight/{p-4804edb7.entry.js → p-e625c6a1.entry.js} +1 -1
- package/dist/twilight/{p-f93423c4.entry.js → p-f13b397a.entry.js} +1 -1
- package/dist/twilight/{p-b4079e50.entry.js → p-f60e5ac2.entry.js} +1 -1
- package/dist/twilight/{p-c07e239e.entry.js → p-f8ccc247.entry.js} +1 -1
- package/dist/twilight/{p-9df9f164.entry.js → p-f8eb9db2.entry.js} +1 -1
- package/dist/twilight/{p-32c59462.entry.js → p-fe9451ac.entry.js} +1 -1
- package/dist/twilight/{p-jKgGFpyH.js → p-tC9eMgA8.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/Helpers/Helper.d.ts +1 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +4 -0
- package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +4 -0
- package/package.json +5 -5
- package/dist/twilight/p-CPL9CY3o.js +0 -5
- package/dist/twilight/p-Da1jq8Qo.js +0 -4
- package/dist/twilight/p-c37d3334.entry.js +0 -4
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8pwFZzoL.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
|
-
var Helper = require('./Helper-
|
|
9
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
10
10
|
|
|
11
11
|
const sallaProductsListCss = ".s-products-list-selectable-item{position:relative;border-radius:0.5rem;transition:box-shadow 0.15s ease-in-out}.s-products-list-item-selected{box-shadow:0 0 0 2px var(--color-primary)}.s-products-list-select-control{position:absolute;top:10px;inset-inline-start:10px;z-index:5;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.s-products-list-select-checkbox{appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative;width:22px;height:22px;margin:0;cursor:pointer;color:var(--color-primary);border:1px solid rgba(0, 0, 0, 0.15);border-radius:6px;background-color:#fff;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2);transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out}.s-products-list-select-checkbox:hover{border-color:var(--color-primary)}.s-products-list-select-checkbox:focus,.s-products-list-select-checkbox:focus-visible{outline:none;border-color:var(--color-primary);box-shadow:0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent)}.s-products-list-select-checkbox:checked,.s-products-list-select-checkbox:checked:hover,.s-products-list-select-checkbox:checked:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-products-list-select-checkbox:checked::after{content:\"\";position:absolute;top:50%;left:50%;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%, -60%) rotate(45deg)}.s-products-list-row-cards .s-products-list-select-control{top:50%;inset-inline-start:14px;transform:translateY(-50%)}.s-products-list-row-cards .s-products-list-selectable-item>:not(.s-products-list-select-control){padding-inline-start:2.75rem}";
|
|
12
12
|
|
|
@@ -101,6 +101,7 @@ const SallaProductsList = class {
|
|
|
101
101
|
this.emitSelection();
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
|
+
this.onWishlistStorageSynced = () => Helper.Helper.syncWishlistIcons(this.wrapper, `${this.productCardComponent}, salla-product-card`);
|
|
104
105
|
//TODO:: check why `this.includes` not working!!
|
|
105
106
|
this.includes = Helper.Helper.parseJson(this.includes || this.host.getAttribute('includes'));
|
|
106
107
|
if (!Array.isArray(this.includes)) {
|
|
@@ -122,11 +123,13 @@ const SallaProductsList = class {
|
|
|
122
123
|
window.addEventListener('DOMContentLoaded', this.boundScrollToLastViewedProduct);
|
|
123
124
|
salla.event.on('salla-filters::changed', filters => this.setFilters(filters));
|
|
124
125
|
salla.event.on('wishlist::removed', this.onWishlistItemRemoved);
|
|
126
|
+
salla.event.on('wishlist::storage.synced', this.onWishlistStorageSynced);
|
|
125
127
|
}
|
|
126
128
|
disconnectedCallback() {
|
|
127
129
|
window.removeEventListener('DOMContentLoaded', this.boundScrollToLastViewedProduct);
|
|
128
130
|
window.removeEventListener('scroll', this.boundHandleScroll);
|
|
129
131
|
salla.event.off('wishlist::removed', this.onWishlistItemRemoved);
|
|
132
|
+
salla.event.off('wishlist::storage.synced', this.onWishlistStorageSynced);
|
|
130
133
|
}
|
|
131
134
|
/**
|
|
132
135
|
* Set parsed filters data from URI
|
|
@@ -370,6 +373,17 @@ const SallaProductsList = class {
|
|
|
370
373
|
this.selectionChanged.emit(detail);
|
|
371
374
|
salla.event.emit('salla-products-list::selection.changed', detail);
|
|
372
375
|
}
|
|
376
|
+
appendProductCards(cards) {
|
|
377
|
+
if (!this.wrapper) {
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
const list = Array.isArray(cards) ? cards : [cards];
|
|
381
|
+
list.forEach(card => this.wrapper.append(card));
|
|
382
|
+
this.onWishlistStorageSynced();
|
|
383
|
+
}
|
|
384
|
+
refreshWishlistIconsAfterHydration() {
|
|
385
|
+
return salla.wishlist.api.syncStorageFromServer();
|
|
386
|
+
}
|
|
373
387
|
/**
|
|
374
388
|
* Re-render the list when selection mode is toggled at runtime (e.g. enabled
|
|
375
389
|
* by the wishlist actions panel after the list already loaded).
|
|
@@ -414,13 +428,18 @@ const SallaProductsList = class {
|
|
|
414
428
|
}
|
|
415
429
|
waitForLayoutStable(element) {
|
|
416
430
|
let timeout = null;
|
|
431
|
+
let maxWait = null;
|
|
417
432
|
return new Promise(resolve => {
|
|
418
|
-
|
|
433
|
+
let observer;
|
|
434
|
+
const settle = () => {
|
|
419
435
|
clearTimeout(timeout);
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
436
|
+
clearTimeout(maxWait);
|
|
437
|
+
observer.disconnect();
|
|
438
|
+
resolve(null);
|
|
439
|
+
};
|
|
440
|
+
observer = new MutationObserver(() => {
|
|
441
|
+
clearTimeout(timeout);
|
|
442
|
+
timeout = setTimeout(settle, 160); // Adjust delay as needed for your layout
|
|
424
443
|
});
|
|
425
444
|
// Observe changes to the entire body, including child nodes and attributes.
|
|
426
445
|
observer.observe(element, {
|
|
@@ -428,6 +447,8 @@ const SallaProductsList = class {
|
|
|
428
447
|
subtree: true,
|
|
429
448
|
attributes: true,
|
|
430
449
|
});
|
|
450
|
+
// hard cap so a quiescent DOM still resolves and disconnects the observer
|
|
451
|
+
maxWait = setTimeout(settle, 1000);
|
|
431
452
|
});
|
|
432
453
|
}
|
|
433
454
|
async waitForStableLayout(element) {
|
|
@@ -567,9 +588,7 @@ const SallaProductsList = class {
|
|
|
567
588
|
this.page = pageIndex;
|
|
568
589
|
this.nextPage = nextPage;
|
|
569
590
|
// more performant on larger set of data
|
|
570
|
-
|
|
571
|
-
this.wrapper.append(this.getItemHTML(currentPageData?.[i]));
|
|
572
|
-
}
|
|
591
|
+
this.appendProductCards(currentPageData.map((product) => this.getItemHTML(product)));
|
|
573
592
|
return true;
|
|
574
593
|
}
|
|
575
594
|
catch (error) {
|
|
@@ -702,11 +721,13 @@ const SallaProductsList = class {
|
|
|
702
721
|
}
|
|
703
722
|
const items = await this.handleResponse(response);
|
|
704
723
|
this.infiniteScroll.appendItems(items);
|
|
724
|
+
this.onWishlistStorageSynced();
|
|
705
725
|
if (this.infiniteScroll.pageIndex === 2) {
|
|
706
726
|
if (!this.autoload && this.nextPage) {
|
|
707
727
|
this.loadMoreWrapper.style.display = 'block';
|
|
708
728
|
}
|
|
709
729
|
this.animateItems();
|
|
730
|
+
this.refreshInfiniteScrollMeasurements();
|
|
710
731
|
}
|
|
711
732
|
}
|
|
712
733
|
catch (error) {
|
|
@@ -758,6 +779,13 @@ const SallaProductsList = class {
|
|
|
758
779
|
this.infiniteScroll.loadNextPage();
|
|
759
780
|
}
|
|
760
781
|
}
|
|
782
|
+
// re-measure scroll trigger after layout settles; stale `top` breaks autoload
|
|
783
|
+
refreshInfiniteScrollMeasurements() {
|
|
784
|
+
if (!this.autoload || !this.infiniteScroll?.updateMeasurements) {
|
|
785
|
+
return;
|
|
786
|
+
}
|
|
787
|
+
this.waitForStableLayout(document.body).then(() => this.infiniteScroll?.updateMeasurements?.());
|
|
788
|
+
}
|
|
761
789
|
async applyBeforeBuildListUrl(url) {
|
|
762
790
|
try {
|
|
763
791
|
const ctx = { component: this, url };
|
|
@@ -808,7 +836,7 @@ const SallaProductsList = class {
|
|
|
808
836
|
this.nextPage = await this.resolveNextPageFromCursor(response);
|
|
809
837
|
return;
|
|
810
838
|
}
|
|
811
|
-
(await this.handleResponse(response))
|
|
839
|
+
this.appendProductCards(await this.handleResponse(response));
|
|
812
840
|
}));
|
|
813
841
|
}
|
|
814
842
|
/**
|
|
@@ -911,8 +939,7 @@ const SallaProductsList = class {
|
|
|
911
939
|
}
|
|
912
940
|
//todo:: avoid using timeout, just assigne the data to the this.firstPageResponse and it should work fine, because it will be rendered in componentDidLoad
|
|
913
941
|
setTimeout(() => {
|
|
914
|
-
|
|
915
|
-
productsList.map(product => this.wrapper.append(this.getItemHTML(product)));
|
|
942
|
+
this.appendProductCards(this.getSourceValue().map((product) => this.getItemHTML(product)));
|
|
916
943
|
});
|
|
917
944
|
return;
|
|
918
945
|
}
|
|
@@ -939,14 +966,13 @@ const SallaProductsList = class {
|
|
|
939
966
|
this.loadMoreWrapper && (this.loadMoreWrapper.style.display = 'block');
|
|
940
967
|
}
|
|
941
968
|
this.scrollToLastViewedProduct();
|
|
969
|
+
this.refreshInfiniteScrollMeasurements();
|
|
942
970
|
}
|
|
943
971
|
else if (!this.firstPageResponse && this.switchToNormalBehavior) {
|
|
944
972
|
this.getInitialData()
|
|
945
973
|
.then(async () => {
|
|
946
974
|
if (this.firstPageResponse) {
|
|
947
|
-
(await this.handleResponse(this.firstPageResponse, false))
|
|
948
|
-
this.wrapper.append(card);
|
|
949
|
-
});
|
|
975
|
+
this.appendProductCards(await this.handleResponse(this.firstPageResponse, false));
|
|
950
976
|
setTimeout(() => {
|
|
951
977
|
if (!this.autoload && this.nextPage && this.infiniteScroll.pageIndex == 1) {
|
|
952
978
|
const loadMoreWrapper = this.host.querySelector('.s-infinite-scroll-wrapper');
|
|
@@ -964,8 +990,9 @@ const SallaProductsList = class {
|
|
|
964
990
|
}
|
|
965
991
|
else {
|
|
966
992
|
this.firstPageResponse &&
|
|
967
|
-
(await this.handleResponse(this.firstPageResponse, false))
|
|
993
|
+
this.appendProductCards(await this.handleResponse(this.firstPageResponse, false));
|
|
968
994
|
}
|
|
995
|
+
await this.refreshWishlistIconsAfterHydration();
|
|
969
996
|
}
|
|
970
997
|
canRender() {
|
|
971
998
|
return this.sourceValueIsValid && this.isReady;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8pwFZzoL.js');
|
|
7
7
|
var star = require('./star-DGcH7Yso.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
|
-
var Helper = require('./Helper-
|
|
9
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
10
10
|
var image = require('./image-BoZ6Hums.js');
|
|
11
11
|
var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
|
|
12
12
|
var mail = require('./mail-C9D8MHae.js');
|
|
@@ -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-8pwFZzoL.js');
|
|
7
|
+
var functions = require('./functions-COuh9Ohq.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-BOMQ9hTv.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8pwFZzoL.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
|
-
var Helper = require('./Helper-
|
|
8
|
+
var Helper = require('./Helper-DvyEpCgx.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
10
10
|
|
|
11
11
|
const sallaSearchCss = ".s-search-placeholder-wrapper{position:relative;display:inline-block}.s-search-input-wrapper{position:relative}.s-search-placeholder-trigger{cursor:pointer;appearance:none;text-align:start}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8pwFZzoL.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-8pwFZzoL.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-8pwFZzoL.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
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8pwFZzoL.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = ":host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}";
|
|
9
9
|
|