@salla.sa/twilight-components 2.14.485 → 2.14.487
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-DvyEpCgx.js → Helper-B2B-kxAI.js} +7 -2
- package/dist/cjs/{filepond-B1h9ltVJ.js → filepond-D8YNIT7U.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-B4zD4xns.js → filepond-plugin-file-poster-DSZGbtH3.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CIX5-X21.js → filepond-plugin-file-validate-size-CDPCt-vD.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-D1NcjxUw.js → filepond-plugin-file-validate-type-PPR9wk_f.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-Bb7P11BN.js → filepond-plugin-image-edit-CbzNxXz5.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C4HNrnSA.js → filepond-plugin-image-exif-orientation-CHOCkxIA.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DeMAP_C9.js → filepond-plugin-image-preview-DPzPSwHT.js} +1 -1
- package/dist/cjs/{functions-COuh9Ohq.js → functions-BJ567SZR.js} +1 -1
- package/dist/cjs/{index-jbrJkd9L.js → index-AuVRM2C2.js} +1 -1
- package/dist/cjs/{index-8pwFZzoL.js → index-KEg0BIuu.js} +6 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +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-cart-summary-card.cjs.entry.js +349 -0
- 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 +15 -8
- package/dist/cjs/salla-filters.cjs.entry.js +101 -13
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +21 -5
- 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 +2 -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 +21 -9
- 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-BOMQ9hTv.js → tracked-promise-DFl5fI3j.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-DM7x_-2X.js → vanilla-picker-CUpM_-PS.js} +1 -1
- package/dist/collection/Helpers/Helper.js +7 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +401 -0
- package/dist/collection/components/salla-filters/salla-filters.css +5 -0
- package/dist/collection/components/salla-filters/salla-filters.js +101 -11
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +13 -6
- package/dist/collection/components/salla-gifting/salla-gifting.js +21 -4
- package/dist/collection/components/salla-products-list/salla-products-list.js +19 -7
- package/dist/components/Helper.js +7 -2
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-summary-card.d.ts +11 -0
- package/dist/components/salla-cart-summary-card.js +404 -0
- package/dist/components/salla-filters-widget2.js +13 -6
- package/dist/components/salla-filters.js +101 -11
- package/dist/components/salla-gifting.js +21 -4
- package/dist/components/salla-products-list2.js +19 -7
- package/dist/esm/{Helper-CD8d-Brd.js → Helper-BQ9mvrt9.js} +7 -2
- package/dist/esm/{filepond-DHzuRfQN.js → filepond-BsLighF8.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BxdBxR7d.js → filepond-plugin-file-poster-Bm-5APBo.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-C-0L9g1L.js → filepond-plugin-file-validate-size-DkYobKMY.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-OyHjZUCW.js → filepond-plugin-file-validate-type-BXKbNDGH.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BIfGCYQ5.js → filepond-plugin-image-edit-B64dqBYZ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DJlKxr63.js → filepond-plugin-image-exif-orientation-BelOzBrj.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-B2DpOs_r.js → filepond-plugin-image-preview-X67Ek3oE.js} +1 -1
- package/dist/esm/{functions-DT-OwuY-.js → functions-DobdGlrA.js} +1 -1
- package/dist/esm/{index-DJPd6DKq.js → index-DBMDFsFH.js} +6 -2
- package/dist/esm/{index-D449pxDB.js → index-yDeCyY3S.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +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-cart-summary-card.entry.js +347 -0
- 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 +15 -8
- package/dist/esm/salla-filters.entry.js +101 -13
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +21 -5
- 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 +2 -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 +21 -9
- 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-CNnq4c_E.js → tracked-promise-6uJz7V9Q.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DQDhWp1B.js → vanilla-picker-Bw2Vk5YA.js} +1 -1
- package/dist/twilight/{p-07e93d60.entry.js → p-000022be.entry.js} +1 -1
- package/dist/twilight/{p-800e069d.entry.js → p-00fcfe8e.entry.js} +1 -1
- package/dist/twilight/{p-309914e6.entry.js → p-0412fe67.entry.js} +1 -1
- package/dist/twilight/{p-5cd703c2.entry.js → p-08dfa3c5.entry.js} +1 -1
- package/dist/twilight/{p-67ac0915.entry.js → p-0c219cad.entry.js} +1 -1
- package/dist/twilight/{p-2e1cf59c.entry.js → p-11f843fd.entry.js} +1 -1
- package/dist/twilight/p-130633cc.entry.js +4 -0
- package/dist/twilight/{p-3a103253.entry.js → p-1450bf80.entry.js} +1 -1
- package/dist/twilight/{p-1fc50a13.entry.js → p-14e936b0.entry.js} +1 -1
- package/dist/twilight/{p-e492ab39.entry.js → p-1547f282.entry.js} +1 -1
- package/dist/twilight/p-18efb27e.entry.js +4 -0
- package/dist/twilight/{p-2566c361.entry.js → p-18f264f9.entry.js} +1 -1
- package/dist/twilight/{p-78854c4a.entry.js → p-1b4fd0db.entry.js} +1 -1
- package/dist/twilight/{p-cbb75c0b.entry.js → p-1bb06699.entry.js} +1 -1
- package/dist/twilight/{p-74ba62ad.entry.js → p-1e418b8f.entry.js} +1 -1
- package/dist/twilight/p-24d268c7.entry.js +4 -0
- package/dist/twilight/{p-f60e5ac2.entry.js → p-29620c50.entry.js} +1 -1
- package/dist/twilight/{p-329f2f11.entry.js → p-2f48e8e1.entry.js} +1 -1
- package/dist/twilight/{p-7547a8c3.entry.js → p-37ced7ab.entry.js} +1 -1
- package/dist/twilight/{p-c88eb0de.entry.js → p-39a49ae9.entry.js} +1 -1
- package/dist/twilight/{p-dafb763f.entry.js → p-3a7f5c6e.entry.js} +1 -1
- package/dist/twilight/{p-b94fe237.entry.js → p-3f153e79.entry.js} +1 -1
- package/dist/twilight/{p-9f003164.entry.js → p-4336dce1.entry.js} +1 -1
- package/dist/twilight/{p-fe9451ac.entry.js → p-44f67d40.entry.js} +1 -1
- package/dist/twilight/{p-d21bdb22.entry.js → p-46294bef.entry.js} +1 -1
- package/dist/twilight/{p-7afc3b39.entry.js → p-4836c3eb.entry.js} +1 -1
- package/dist/twilight/{p-7dedb31c.entry.js → p-49275f85.entry.js} +1 -1
- package/dist/twilight/{p-ca0fa22b.entry.js → p-4a3ccff2.entry.js} +1 -1
- package/dist/twilight/{p-859f2c19.entry.js → p-4f8ec3a6.entry.js} +1 -1
- package/dist/twilight/{p-01fd381b.entry.js → p-5119fe5d.entry.js} +1 -1
- package/dist/twilight/{p-566bae1e.entry.js → p-519551ab.entry.js} +1 -1
- package/dist/twilight/{p-17f9907e.entry.js → p-51fbf1bb.entry.js} +1 -1
- package/dist/twilight/{p-1b9272d4.entry.js → p-52cab4a6.entry.js} +1 -1
- package/dist/twilight/{p-1620eaa3.entry.js → p-546b31a3.entry.js} +1 -1
- package/dist/twilight/{p-2794a82d.entry.js → p-57785b92.entry.js} +1 -1
- package/dist/twilight/{p-40256161.entry.js → p-5dfb7601.entry.js} +1 -1
- package/dist/twilight/{p-2270652d.entry.js → p-5e14fbf5.entry.js} +1 -1
- package/dist/twilight/{p-23a8870b.entry.js → p-60545378.entry.js} +1 -1
- package/dist/twilight/{p-adb4eed7.entry.js → p-61332673.entry.js} +1 -1
- package/dist/twilight/{p-5c7dd67e.entry.js → p-636e6994.entry.js} +1 -1
- package/dist/twilight/{p-f8eb9db2.entry.js → p-67ce35b0.entry.js} +1 -1
- package/dist/twilight/{p-9c52e63b.entry.js → p-6bdcd67d.entry.js} +1 -1
- package/dist/twilight/{p-6181acb5.entry.js → p-6e2b2072.entry.js} +1 -1
- package/dist/twilight/{p-d886da88.entry.js → p-76672fe3.entry.js} +1 -1
- package/dist/twilight/{p-26603c81.entry.js → p-79bff80a.entry.js} +1 -1
- package/dist/twilight/{p-445b3e07.entry.js → p-7a5894fb.entry.js} +1 -1
- package/dist/twilight/{p-74abfefb.entry.js → p-7b0f537a.entry.js} +1 -1
- package/dist/twilight/{p-a92549f6.entry.js → p-7bd7baa5.entry.js} +1 -1
- package/dist/twilight/{p-6e8a0f83.entry.js → p-8336df51.entry.js} +1 -1
- package/dist/twilight/{p-91884639.entry.js → p-8a7f48ce.entry.js} +1 -1
- package/dist/twilight/{p-005c08fe.entry.js → p-96779a0c.entry.js} +1 -1
- package/dist/twilight/{p-4a31a4dd.entry.js → p-967d356e.entry.js} +1 -1
- package/dist/twilight/{p-a20d0254.entry.js → p-9ab52d09.entry.js} +1 -1
- package/dist/twilight/{p-BG50tuBF.js → p-BR9zeoCF.js} +1 -1
- package/dist/twilight/{p-Cve96fFs.js → p-BTYXaopE.js} +1 -1
- package/dist/twilight/{p-tC9eMgA8.js → p-CDTIhPDr.js} +1 -1
- package/dist/twilight/{p-2xUZDJ04.js → p-CMW3pjiL.js} +1 -1
- package/dist/twilight/{p-DXqzsbXl.js → p-C_htBBK4.js} +1 -1
- package/dist/twilight/{p-BL8emH6B.js → p-C_vo3xPL.js} +1 -1
- package/dist/twilight/{p-BG-PTfCd.js → p-CcfoPQKG.js} +1 -1
- package/dist/twilight/{p-DJPd6DKq.js → p-DBMDFsFH.js} +1 -1
- package/dist/twilight/{p-C4k3wAWB.js → p-Dwu1e7SR.js} +1 -1
- package/dist/twilight/p-XnA1YTjA.js +4 -0
- package/dist/twilight/{p-af769e0a.entry.js → p-a767d9fe.entry.js} +1 -1
- package/dist/twilight/{p-7baf04d3.entry.js → p-ab404907.entry.js} +1 -1
- package/dist/twilight/{p-3c4b0b05.entry.js → p-acd8aa32.entry.js} +1 -1
- package/dist/twilight/{p-bff68f44.entry.js → p-ad1d3cdf.entry.js} +1 -1
- package/dist/twilight/{p-c06f0822.entry.js → p-b3b050e7.entry.js} +1 -1
- package/dist/twilight/{p-93e3a6b1.entry.js → p-b3b78bf5.entry.js} +1 -1
- package/dist/twilight/p-b3f26711.entry.js +4 -0
- package/dist/twilight/{p-985f8781.entry.js → p-b4f4e0b7.entry.js} +1 -1
- package/dist/twilight/{p-e056c218.entry.js → p-b7da726a.entry.js} +1 -1
- package/dist/twilight/{p-f13b397a.entry.js → p-b835777d.entry.js} +1 -1
- package/dist/twilight/{p-dac3e978.entry.js → p-c253f69c.entry.js} +1 -1
- package/dist/twilight/{p-2646c71c.entry.js → p-c46cf468.entry.js} +1 -1
- package/dist/twilight/{p-32eea65f.entry.js → p-c9608410.entry.js} +1 -1
- package/dist/twilight/{p-58e39fe9.entry.js → p-cc75ae11.entry.js} +1 -1
- package/dist/twilight/{p-48b68862.entry.js → p-ce0685d1.entry.js} +1 -1
- package/dist/twilight/{p-1b506134.entry.js → p-ce1bc4b0.entry.js} +1 -1
- package/dist/twilight/{p-302bc68d.entry.js → p-cf1b9798.entry.js} +1 -1
- package/dist/twilight/{p-17b0b92b.entry.js → p-cf96947a.entry.js} +1 -1
- package/dist/twilight/{p-0ade8936.entry.js → p-d01178f0.entry.js} +1 -1
- package/dist/twilight/{p-32ef12bb.entry.js → p-d3d2a114.entry.js} +1 -1
- package/dist/twilight/{p-69926ae5.entry.js → p-d8fb7f9a.entry.js} +1 -1
- package/dist/twilight/{p-5e39f770.entry.js → p-da827143.entry.js} +1 -1
- package/dist/twilight/{p-1dc4ab57.entry.js → p-ddd22625.entry.js} +1 -1
- package/dist/twilight/{p-cf17ece0.entry.js → p-de41e9b5.entry.js} +1 -1
- package/dist/twilight/p-e21a23d2.entry.js +4 -0
- package/dist/twilight/{p-6466fd9c.entry.js → p-e5022e8f.entry.js} +1 -1
- package/dist/twilight/{p-9248a9b8.entry.js → p-e84f7790.entry.js} +1 -1
- package/dist/twilight/{p-c2284ac3.entry.js → p-ef06457d.entry.js} +1 -1
- package/dist/twilight/{p-431b9986.entry.js → p-f12670a1.entry.js} +1 -1
- package/dist/twilight/{p-e625c6a1.entry.js → p-f267ac72.entry.js} +1 -1
- package/dist/twilight/{p-c1aa61bc.entry.js → p-f5d229a7.entry.js} +1 -1
- package/dist/twilight/{p-da010601.entry.js → p-f856fe4d.entry.js} +1 -1
- package/dist/twilight/{p-2d6f9f9e.entry.js → p-fa900f26.entry.js} +1 -1
- package/dist/twilight/{p-029c7342.entry.js → p-fd99de6e.entry.js} +1 -1
- package/dist/twilight/p-fdb0f6cc.entry.js +4 -0
- package/dist/twilight/{p-c31600a9.entry.js → p-ffd6ad27.entry.js} +1 -1
- package/dist/twilight/{p-Ce51TrKH.js → p-lQbFKmnv.js} +1 -1
- package/dist/twilight/{p-Bnff9Ut3.js → p-qj0-UBFk.js} +1 -1
- package/dist/twilight/{p-aMw12tPb.js → p-uiIu01tD.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +67 -0
- package/dist/types/components/salla-filters/salla-filters.d.ts +14 -0
- package/dist/types/components/salla-gifting/gift-schema.d.ts +2 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +8 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +1 -0
- package/dist/types/components.d.ts +37 -0
- package/package.json +5 -5
- package/dist/twilight/p-7f788909.entry.js +0 -4
- package/dist/twilight/p-80fc1a7b.entry.js +0 -4
- package/dist/twilight/p-83b8d7cf.entry.js +0 -4
- package/dist/twilight/p-8f672cef.entry.js +0 -4
- package/dist/twilight/p-C-3GuKNW.js +0 -4
- package/dist/twilight/p-f8ccc247.entry.js +0 -4
|
@@ -144,6 +144,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
|
|
|
144
144
|
this.selectCity = salla.lang.get('pages.checkout.select_city');
|
|
145
145
|
this.selectCountry = salla.lang.get('pages.checkout.select_country');
|
|
146
146
|
this.selectCityInfo = salla.lang.get('blocks.buy_as_gift.city_info');
|
|
147
|
+
this.cityChangeNotice = salla.lang.get('blocks.buy_as_gift.city_change_notice');
|
|
147
148
|
this.receiverCityFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_city');
|
|
148
149
|
this.receiverRegionFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_region') || salla.lang.get('pages.checkout.region');
|
|
149
150
|
this.selectRegion = salla.lang.get('pages.checkout.select_region');
|
|
@@ -163,6 +164,21 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
|
|
|
163
164
|
isPhysical() {
|
|
164
165
|
return this.physicalProducts || this.physical;
|
|
165
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Resolves the city notice text shown in the physical-product gift step:
|
|
169
|
+
* - recipient can't change address -> default city info notice
|
|
170
|
+
* - recipient can change, fixed shipping cost -> city-change notice
|
|
171
|
+
* - recipient can change, any shipping cost -> no notice
|
|
172
|
+
*/
|
|
173
|
+
cityNoticeText() {
|
|
174
|
+
if (!this.gift?.recipient_can_change_address) {
|
|
175
|
+
return this.selectCityInfo;
|
|
176
|
+
}
|
|
177
|
+
if (!this.gift?.allows_different_shipping_cost) {
|
|
178
|
+
return this.cityChangeNotice;
|
|
179
|
+
}
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
166
182
|
componentDidLoad() {
|
|
167
183
|
salla.event.product.onPriceUpdated(() => {
|
|
168
184
|
const quantityInput = document.querySelector(`.s-quantity-input-input`);
|
|
@@ -754,7 +770,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
|
|
|
754
770
|
}
|
|
755
771
|
render() {
|
|
756
772
|
return [
|
|
757
|
-
h("div", { key: '
|
|
773
|
+
h("div", { key: '416981417bec78c8c3fda43e6f80745f4d735154' }, h("salla-list-tile", { key: '495255205e1c226669a14a94e50442aabd9818da', class: this.generateClass() }, h("div", { key: 'f2dbdc4ea0dc76d806f18563739a116e15cbbe08', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '9ed4f1d995eaf2341a9ec237ebfb486ed3db988e' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'b5d5512fcb2513177eaa1e25eacce9092f7d845f', slot: "subtitle" }, h("div", { key: '0a8223b41973b72d942ce91c5f478a3edaa5dfd3' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'a6d5a077131117c6854ffc2b39e506be7953051e', slot: "action" }, h("salla-button", { key: '99b14364789884b0010e50941c27cbcfe7445785', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '27f6be7b07084f48da83af6240933d619407307f', name: "widget-btn-content" }, h("div", { key: 'ee5d04e96dd1e3849a33813b3737b476b5470497', class: "s-gifting-widget-action-content" }, h("span", { key: 'd02bb1f6cd4dff335eeca1341da2c86d2976b4fc', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '98a3594e6d01133c4f448d8e5df22ba2984cf09e' }, this.sectionBtnText)))))), h("salla-modal", { key: '0be87b9d369e92a71b68f570b9bf19a0ddb7dd6b', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '978995d399506ff82ac0f2385a1f85a808c7da3e', slot: "loading" }, h("div", { key: '7d1f141fd9131d35edb81326062e8f7cadfa2cab', class: "s-gifting-skeleton" }, h("div", { key: 'b33cfd58381c7c1b545ffedf6739e42fdb75c8de', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'e03a505ad3720c25077ca91c7eec2843cdaee225', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '6f630d2582c96fc71406ef4557143c6e9dbd4a88', class: "s-gifting-modal-title" }, h("div", { key: '8d1a3540993c9b40e705f2145bf0514754c36dab', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: 'd965c353f19cf785a13eba6332b715eed9748836', height: '15px', width: '150px' })))), h("div", { key: 'abacc03d1e30075d3d24dfd577dc9a60f7b52810', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '03db84cfccc546602a6f521b015d0c12b93caa6f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'e8e2d4e70d208055baaae44a8d7da8aa5c6a33da', height: '230px' }), h("salla-skeleton", { key: '2c90d91fb63551685b2041f2bc51fdb5219cbbb7', height: '10px', width: '150px' }), h("salla-skeleton", { key: '8962bc17f43cb04563caa02db3df585189579f8f', height: '30px' }), h("salla-skeleton", { key: '73730453aa6f8d0ec2a653b4711b80b32a18b916', height: '40px' })))), h("slot", { key: '4bcf5a6d53485c461c35f53ce7e265bcf770989e', name: "header" }), !!this.hasError ?
|
|
758
774
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
|
|
759
775
|
:
|
|
760
776
|
[
|
|
@@ -775,9 +791,9 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
|
|
|
775
791
|
h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-region` }, this.receiverRegionFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectRegion, items: this.regions ?? [], selectedItem: this.selectedRegion, loading: this.loadingRegions, disabled: this.loadingRegions || !this.regions?.length, required: true, inputId: `${this.hostId}-region`, searchable: false, keepParentScroll: true, onItemSelected: (e) => this.handleRegionSelected(e.detail), onDropdownClosed: () => this.handleRegionDropdownClosed() }), this.errors && this.errors['receiver.region'] ?
|
|
776
792
|
h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
|
|
777
793
|
h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
|
|
778
|
-
h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
779
|
-
h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.
|
|
780
|
-
], h("slot", { key: '
|
|
794
|
+
h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() && this.cityNoticeText() &&
|
|
795
|
+
h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.cityNoticeText())), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
|
|
796
|
+
], h("slot", { key: 'a4d37b893e4a0867c044817434ade65b16fbe89a', name: "footer" })))
|
|
781
797
|
];
|
|
782
798
|
}
|
|
783
799
|
static get style() { return sallaGiftingCss; }
|
|
@@ -809,6 +825,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
|
|
|
809
825
|
"selectCountry": [32],
|
|
810
826
|
"selectCity": [32],
|
|
811
827
|
"selectCityInfo": [32],
|
|
828
|
+
"cityChangeNotice": [32],
|
|
812
829
|
"receiverCityFieldLabel": [32],
|
|
813
830
|
"receiverRegionFieldLabel": [32],
|
|
814
831
|
"selectRegion": [32],
|
|
@@ -141,10 +141,11 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
|
|
|
141
141
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
142
142
|
// Create a deep copy of the filters object to avoid mutating the original object
|
|
143
143
|
this.parsedFilters = JSON.parse(JSON.stringify(filters));
|
|
144
|
-
if (this.currentPage?.slug == 'product.index'
|
|
145
|
-
|
|
146
|
-
this.parsedFilters
|
|
147
|
-
|
|
144
|
+
if (this.currentPage?.slug == 'product.index') {
|
|
145
|
+
// clear when category_id disappears, otherwise getSourceValue() keeps filtering by the removed category
|
|
146
|
+
this.currentCategoryIdFilter = this.parsedFilters?.category_id
|
|
147
|
+
? this.toCategoryIdFilter(this.parsedFilters.category_id)
|
|
148
|
+
: null;
|
|
148
149
|
}
|
|
149
150
|
return this.reload();
|
|
150
151
|
}
|
|
@@ -607,6 +608,14 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
|
|
|
607
608
|
isAuxiliaryProductsListSource() {
|
|
608
609
|
return ['json', 'selected', 'related', 'landing-page', 'recently'].includes(this.getSource());
|
|
609
610
|
}
|
|
611
|
+
// Normalize a category_id filter (array, legacy {0:,1:} object, or scalar) into a flat list of ids
|
|
612
|
+
toCategoryIdFilter(catId) {
|
|
613
|
+
if (Array.isArray(catId))
|
|
614
|
+
return catId;
|
|
615
|
+
if (catId && typeof catId === 'object')
|
|
616
|
+
return Object.values(catId);
|
|
617
|
+
return [catId];
|
|
618
|
+
}
|
|
610
619
|
getSourceValue() {
|
|
611
620
|
if (this.getSource() === 'wishlist') {
|
|
612
621
|
const searchParams = new URLSearchParams(window.location.search);
|
|
@@ -911,7 +920,7 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
|
|
|
911
920
|
this.sortBy = this.sortBy || searchParams.get('sort') || searchParams.get('by');
|
|
912
921
|
this.parsedFilters = Helper.extractFiltersFromUrl(searchParams);
|
|
913
922
|
if (this.parsedFilters && this.parsedFilters.category_id) {
|
|
914
|
-
this.currentCategoryIdFilter =
|
|
923
|
+
this.currentCategoryIdFilter = this.toCategoryIdFilter(this.parsedFilters.category_id);
|
|
915
924
|
}
|
|
916
925
|
}
|
|
917
926
|
catch (e) {
|
|
@@ -1032,12 +1041,15 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
|
|
|
1032
1041
|
title = salla.lang.get('common.elements.search_about', { word: this.getSourceValue() });
|
|
1033
1042
|
}
|
|
1034
1043
|
else if (!title) {
|
|
1035
|
-
|
|
1044
|
+
// with user-applied filters a category name in the title is misleading — show count only;
|
|
1045
|
+
// the unfiltered base state keeps the page category's name
|
|
1046
|
+
let catId = Object.keys(this.parsedFilters || {}).length ? null : this.getSourceValue()[0];
|
|
1036
1047
|
// get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
|
|
1037
1048
|
title =
|
|
1038
1049
|
response.filters
|
|
1039
1050
|
?.find(filter => filter.key === 'category_id')
|
|
1040
|
-
|
|
1051
|
+
// loose == : catId may be a number (auto-appended page.id) while API keys are strings
|
|
1052
|
+
?.values?.find(cat => cat.key == catId)?.value ?? '';
|
|
1041
1053
|
}
|
|
1042
1054
|
title +=
|
|
1043
1055
|
(title ? ' - ' : '') +
|
|
@@ -114,8 +114,13 @@ class Helper {
|
|
|
114
114
|
if (matchesNested) {
|
|
115
115
|
const filterName = matchesNested[1];
|
|
116
116
|
const nestedKey = matchesNested[3];
|
|
117
|
-
if (nestedKey) {
|
|
118
|
-
// Handle
|
|
117
|
+
if (nestedKey === '' || /^\d+$/.test(nestedKey)) {
|
|
118
|
+
// Handle array (OR within a group), e.g. filters[brand_id][] or filters[brand_id][0]
|
|
119
|
+
filters[filterName] = Array.isArray(filters[filterName]) ? filters[filterName] : [];
|
|
120
|
+
filters[filterName].push(value);
|
|
121
|
+
}
|
|
122
|
+
else if (nestedKey) {
|
|
123
|
+
// Handle nested object, e.g. filters[price][min]
|
|
119
124
|
filters[filterName] = filters[filterName] || {};
|
|
120
125
|
filters[filterName][nestedKey] = value;
|
|
121
126
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DBMDFsFH.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|