@salla.sa/twilight-components 2.14.484 → 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-CgzJykLb.js → filepond-B1h9ltVJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-QDPQ7mwB.js → filepond-plugin-file-poster-B4zD4xns.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Bad-w2I9.js → filepond-plugin-file-validate-size-CIX5-X21.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DISG2_qB.js → filepond-plugin-file-validate-type-D1NcjxUw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CVHAGWaB.js → filepond-plugin-image-edit-Bb7P11BN.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Dwsj5VyO.js → filepond-plugin-image-exif-orientation-C4HNrnSA.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-I9g9nrNa.js → filepond-plugin-image-preview-DeMAP_C9.js} +1 -1
- package/dist/cjs/{functions-hUb6T9a1.js → functions-COuh9Ohq.js} +1 -1
- package/dist/cjs/{index-BKQzclgF.js → index-8pwFZzoL.js} +8 -8
- package/dist/cjs/{index-BADADy4V.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 +23 -12
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-czeUB0TX.js → tracked-promise-BOMQ9hTv.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CuMQuW8m.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 +21 -10
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +18 -0
- package/dist/components/Helper.js +13 -0
- package/dist/components/index.js +8 -8
- package/dist/components/salla-products-list2.js +21 -10
- package/dist/components/salla-products-slider2.js +17 -0
- package/dist/esm/{Helper-BXj4f_Qj.js → Helper-CD8d-Brd.js} +13 -0
- package/dist/esm/{filepond-BOBokEx5.js → filepond-DHzuRfQN.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-D9HYZEnq.js → filepond-plugin-file-poster-BxdBxR7d.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-B1BkZh58.js → filepond-plugin-file-validate-size-C-0L9g1L.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CT0ni0hb.js → filepond-plugin-file-validate-type-OyHjZUCW.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CvSKiYON.js → filepond-plugin-image-edit-BIfGCYQ5.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Cu1zifQ6.js → filepond-plugin-image-exif-orientation-DJlKxr63.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-6m913ljw.js → filepond-plugin-image-preview-B2DpOs_r.js} +1 -1
- package/dist/esm/{functions-CioYIS_L.js → functions-DT-OwuY-.js} +1 -1
- package/dist/esm/{index-CiFCAiRL.js → index-D449pxDB.js} +1 -1
- package/dist/esm/{index-k6XsozPW.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 +23 -12
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-CdkA_JjX.js → tracked-promise-CNnq4c_E.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BZWJ0V9v.js → vanilla-picker-DQDhWp1B.js} +1 -1
- package/dist/twilight/{p-1308a7f4.entry.js → p-005c08fe.entry.js} +1 -1
- package/dist/twilight/{p-7e16042a.entry.js → p-01fd381b.entry.js} +1 -1
- package/dist/twilight/{p-df18ce74.entry.js → p-029c7342.entry.js} +1 -1
- package/dist/twilight/{p-5d0017eb.entry.js → p-07e93d60.entry.js} +1 -1
- package/dist/twilight/{p-0567c659.entry.js → p-0ade8936.entry.js} +1 -1
- package/dist/twilight/{p-680ee21a.entry.js → p-1620eaa3.entry.js} +1 -1
- package/dist/twilight/{p-5e6745be.entry.js → p-17b0b92b.entry.js} +1 -1
- package/dist/twilight/{p-38831a43.entry.js → p-17f9907e.entry.js} +1 -1
- package/dist/twilight/{p-277fa567.entry.js → p-1b506134.entry.js} +1 -1
- package/dist/twilight/{p-a986efd7.entry.js → p-1b9272d4.entry.js} +1 -1
- package/dist/twilight/{p-236d6236.entry.js → p-1dc4ab57.entry.js} +1 -1
- package/dist/twilight/{p-ca338609.entry.js → p-1fc50a13.entry.js} +1 -1
- package/dist/twilight/{p-99372423.entry.js → p-2270652d.entry.js} +1 -1
- package/dist/twilight/{p-faecf830.entry.js → p-23a8870b.entry.js} +1 -1
- package/dist/twilight/{p-6fce9b27.entry.js → p-2566c361.entry.js} +1 -1
- package/dist/twilight/{p-08fe51be.entry.js → p-2646c71c.entry.js} +1 -1
- package/dist/twilight/{p-b4e6ee26.entry.js → p-26603c81.entry.js} +1 -1
- package/dist/twilight/{p-876984e8.entry.js → p-2794a82d.entry.js} +1 -1
- package/dist/twilight/{p-4361f318.entry.js → p-2d6f9f9e.entry.js} +1 -1
- package/dist/twilight/{p-ae40baf7.entry.js → p-2e1cf59c.entry.js} +1 -1
- package/dist/twilight/{p-3nNP8OVW.js → p-2xUZDJ04.js} +1 -1
- package/dist/twilight/{p-65986434.entry.js → p-302bc68d.entry.js} +1 -1
- package/dist/twilight/{p-98cb2ad9.entry.js → p-309914e6.entry.js} +1 -1
- package/dist/twilight/{p-65e84413.entry.js → p-329f2f11.entry.js} +1 -1
- package/dist/twilight/{p-c4dd7259.entry.js → p-32eea65f.entry.js} +1 -1
- package/dist/twilight/{p-df9735e4.entry.js → p-32ef12bb.entry.js} +1 -1
- package/dist/twilight/{p-7b9f7996.entry.js → p-3a103253.entry.js} +1 -1
- package/dist/twilight/{p-e0eb1171.entry.js → p-3c4b0b05.entry.js} +1 -1
- package/dist/twilight/{p-3be35606.entry.js → p-40256161.entry.js} +1 -1
- package/dist/twilight/{p-159fb121.entry.js → p-431b9986.entry.js} +1 -1
- package/dist/twilight/{p-6a520655.entry.js → p-445b3e07.entry.js} +1 -1
- package/dist/twilight/{p-34bb19ed.entry.js → p-48b68862.entry.js} +1 -1
- package/dist/twilight/{p-6bcd63ae.entry.js → p-4a31a4dd.entry.js} +1 -1
- package/dist/twilight/{p-6fd14051.entry.js → p-566bae1e.entry.js} +1 -1
- package/dist/twilight/{p-71371a68.entry.js → p-58e39fe9.entry.js} +1 -1
- package/dist/twilight/{p-df2b2d2c.entry.js → p-5c7dd67e.entry.js} +1 -1
- package/dist/twilight/{p-78b63b85.entry.js → p-5cd703c2.entry.js} +1 -1
- package/dist/twilight/{p-b3b5f52a.entry.js → p-5e39f770.entry.js} +1 -1
- package/dist/twilight/{p-4cdc5eb0.entry.js → p-6181acb5.entry.js} +1 -1
- package/dist/twilight/{p-0882266c.entry.js → p-6466fd9c.entry.js} +1 -1
- package/dist/twilight/{p-e00ab427.entry.js → p-67ac0915.entry.js} +1 -1
- package/dist/twilight/{p-fe435826.entry.js → p-69926ae5.entry.js} +1 -1
- package/dist/twilight/{p-c54b5512.entry.js → p-6e8a0f83.entry.js} +1 -1
- package/dist/twilight/{p-fc77d2ae.entry.js → p-74abfefb.entry.js} +1 -1
- package/dist/twilight/{p-4ccb7dbf.entry.js → p-74ba62ad.entry.js} +1 -1
- package/dist/twilight/{p-910ca1ce.entry.js → p-7547a8c3.entry.js} +1 -1
- package/dist/twilight/{p-10d25bed.entry.js → p-78854c4a.entry.js} +1 -1
- package/dist/twilight/{p-f9d747fd.entry.js → p-7afc3b39.entry.js} +1 -1
- package/dist/twilight/{p-027b0223.entry.js → p-7baf04d3.entry.js} +1 -1
- package/dist/twilight/{p-6b7a391d.entry.js → p-7dedb31c.entry.js} +1 -1
- package/dist/twilight/{p-e7c43f45.entry.js → p-7f788909.entry.js} +1 -1
- package/dist/twilight/{p-fda44045.entry.js → p-800e069d.entry.js} +1 -1
- package/dist/twilight/{p-f04e749d.entry.js → p-80fc1a7b.entry.js} +1 -1
- package/dist/twilight/p-83b8d7cf.entry.js +4 -0
- package/dist/twilight/{p-f84a2d1f.entry.js → p-859f2c19.entry.js} +1 -1
- package/dist/twilight/{p-ad24f7b7.entry.js → p-8f672cef.entry.js} +1 -1
- package/dist/twilight/{p-54feea36.entry.js → p-91884639.entry.js} +1 -1
- package/dist/twilight/{p-f30850eb.entry.js → p-9248a9b8.entry.js} +1 -1
- package/dist/twilight/{p-4a466458.entry.js → p-93e3a6b1.entry.js} +1 -1
- package/dist/twilight/{p-894d4262.entry.js → p-985f8781.entry.js} +1 -1
- package/dist/twilight/{p-4a2522e6.entry.js → p-9c52e63b.entry.js} +1 -1
- package/dist/twilight/{p-48c49122.entry.js → p-9f003164.entry.js} +1 -1
- package/dist/twilight/p-BG-PTfCd.js +4 -0
- package/dist/twilight/{p-DThnTW1t.js → p-BG50tuBF.js} +1 -1
- package/dist/twilight/{p-Do0Z2RvW.js → p-BL8emH6B.js} +1 -1
- package/dist/twilight/{p-Dt7QetEN.js → p-Bnff9Ut3.js} +1 -1
- package/dist/twilight/{p-BcbKK1Xp.js → p-C-3GuKNW.js} +1 -1
- package/dist/twilight/{p-BjmKgRE2.js → p-C4k3wAWB.js} +1 -1
- package/dist/twilight/{p-k6hKHe3o.js → p-Ce51TrKH.js} +1 -1
- package/dist/twilight/{p-CYnG82Sr.js → p-Cve96fFs.js} +1 -1
- package/dist/twilight/p-DJPd6DKq.js +5 -0
- package/dist/twilight/{p-C8JaiU7x.js → p-DXqzsbXl.js} +1 -1
- package/dist/twilight/{p-215f22bf.entry.js → p-a20d0254.entry.js} +1 -1
- package/dist/twilight/{p-f10c4351.entry.js → p-a92549f6.entry.js} +1 -1
- package/dist/twilight/{p-DIe-ZaHw.js → p-aMw12tPb.js} +1 -1
- package/dist/twilight/{p-fd0d78b0.entry.js → p-adb4eed7.entry.js} +1 -1
- package/dist/twilight/{p-6e708a89.entry.js → p-af769e0a.entry.js} +1 -1
- package/dist/twilight/{p-ae1ff5a4.entry.js → p-b94fe237.entry.js} +1 -1
- package/dist/twilight/{p-338810f6.entry.js → p-bff68f44.entry.js} +1 -1
- package/dist/twilight/{p-67b9bef4.entry.js → p-c06f0822.entry.js} +1 -1
- package/dist/twilight/{p-12221625.entry.js → p-c1aa61bc.entry.js} +1 -1
- package/dist/twilight/{p-98bd4d1d.entry.js → p-c2284ac3.entry.js} +1 -1
- package/dist/twilight/{p-43e35e87.entry.js → p-c31600a9.entry.js} +1 -1
- package/dist/twilight/{p-b586e687.entry.js → p-c88eb0de.entry.js} +1 -1
- package/dist/twilight/{p-80898e8c.entry.js → p-ca0fa22b.entry.js} +1 -1
- package/dist/twilight/{p-2b80d6bd.entry.js → p-cbb75c0b.entry.js} +1 -1
- package/dist/twilight/{p-faedf801.entry.js → p-cf17ece0.entry.js} +1 -1
- package/dist/twilight/{p-6b622cdf.entry.js → p-d21bdb22.entry.js} +1 -1
- package/dist/twilight/{p-6221c7fd.entry.js → p-d886da88.entry.js} +1 -1
- package/dist/twilight/{p-43caeaa9.entry.js → p-da010601.entry.js} +1 -1
- package/dist/twilight/{p-aefc937f.entry.js → p-dac3e978.entry.js} +1 -1
- package/dist/twilight/{p-8fddef9f.entry.js → p-dafb763f.entry.js} +1 -1
- package/dist/twilight/{p-69f6aea4.entry.js → p-e056c218.entry.js} +1 -1
- package/dist/twilight/{p-f2155a0e.entry.js → p-e492ab39.entry.js} +1 -1
- package/dist/twilight/{p-cd3a81d5.entry.js → p-e625c6a1.entry.js} +1 -1
- package/dist/twilight/{p-b4e487a3.entry.js → p-f13b397a.entry.js} +1 -1
- package/dist/twilight/{p-1d8eeff8.entry.js → p-f60e5ac2.entry.js} +1 -1
- package/dist/twilight/p-f8ccc247.entry.js +4 -0
- package/dist/twilight/{p-e2b9a669.entry.js → p-f8eb9db2.entry.js} +1 -1
- package/dist/twilight/{p-afdcb549.entry.js → p-fe9451ac.entry.js} +1 -1
- package/dist/twilight/{p-RS-U17dA.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 +3 -0
- package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +4 -0
- package/package.json +5 -5
- package/dist/twilight/p-01a4c68d.entry.js +0 -4
- package/dist/twilight/p-C6HZIai8.js +0 -4
- package/dist/twilight/p-af0f3c54.entry.js +0 -4
- package/dist/twilight/p-k6XsozPW.js +0 -5
|
@@ -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).
|
|
@@ -574,9 +588,7 @@ const SallaProductsList = class {
|
|
|
574
588
|
this.page = pageIndex;
|
|
575
589
|
this.nextPage = nextPage;
|
|
576
590
|
// more performant on larger set of data
|
|
577
|
-
|
|
578
|
-
this.wrapper.append(this.getItemHTML(currentPageData?.[i]));
|
|
579
|
-
}
|
|
591
|
+
this.appendProductCards(currentPageData.map((product) => this.getItemHTML(product)));
|
|
580
592
|
return true;
|
|
581
593
|
}
|
|
582
594
|
catch (error) {
|
|
@@ -709,6 +721,7 @@ const SallaProductsList = class {
|
|
|
709
721
|
}
|
|
710
722
|
const items = await this.handleResponse(response);
|
|
711
723
|
this.infiniteScroll.appendItems(items);
|
|
724
|
+
this.onWishlistStorageSynced();
|
|
712
725
|
if (this.infiniteScroll.pageIndex === 2) {
|
|
713
726
|
if (!this.autoload && this.nextPage) {
|
|
714
727
|
this.loadMoreWrapper.style.display = 'block';
|
|
@@ -823,7 +836,7 @@ const SallaProductsList = class {
|
|
|
823
836
|
this.nextPage = await this.resolveNextPageFromCursor(response);
|
|
824
837
|
return;
|
|
825
838
|
}
|
|
826
|
-
(await this.handleResponse(response))
|
|
839
|
+
this.appendProductCards(await this.handleResponse(response));
|
|
827
840
|
}));
|
|
828
841
|
}
|
|
829
842
|
/**
|
|
@@ -926,8 +939,7 @@ const SallaProductsList = class {
|
|
|
926
939
|
}
|
|
927
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
|
|
928
941
|
setTimeout(() => {
|
|
929
|
-
|
|
930
|
-
productsList.map(product => this.wrapper.append(this.getItemHTML(product)));
|
|
942
|
+
this.appendProductCards(this.getSourceValue().map((product) => this.getItemHTML(product)));
|
|
931
943
|
});
|
|
932
944
|
return;
|
|
933
945
|
}
|
|
@@ -960,9 +972,7 @@ const SallaProductsList = class {
|
|
|
960
972
|
this.getInitialData()
|
|
961
973
|
.then(async () => {
|
|
962
974
|
if (this.firstPageResponse) {
|
|
963
|
-
(await this.handleResponse(this.firstPageResponse, false))
|
|
964
|
-
this.wrapper.append(card);
|
|
965
|
-
});
|
|
975
|
+
this.appendProductCards(await this.handleResponse(this.firstPageResponse, false));
|
|
966
976
|
setTimeout(() => {
|
|
967
977
|
if (!this.autoload && this.nextPage && this.infiniteScroll.pageIndex == 1) {
|
|
968
978
|
const loadMoreWrapper = this.host.querySelector('.s-infinite-scroll-wrapper');
|
|
@@ -980,8 +990,9 @@ const SallaProductsList = class {
|
|
|
980
990
|
}
|
|
981
991
|
else {
|
|
982
992
|
this.firstPageResponse &&
|
|
983
|
-
(await this.handleResponse(this.firstPageResponse, false))
|
|
993
|
+
this.appendProductCards(await this.handleResponse(this.firstPageResponse, false));
|
|
984
994
|
}
|
|
995
|
+
await this.refreshWishlistIconsAfterHydration();
|
|
985
996
|
}
|
|
986
997
|
canRender() {
|
|
987
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
|
|