@salla.sa/twilight-components 2.14.482 → 2.14.483
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{filepond-BHXz3A1Q.js → filepond-B7JshNP-.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-B1el8oDJ.js → filepond-plugin-file-poster-Bxw84EJ9.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-D5kDke66.js → filepond-plugin-file-validate-size-D7z9bzxr.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CUvuoQyP.js → filepond-plugin-file-validate-type-CImB-IPQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-C5LY3BCc.js → filepond-plugin-image-edit-CUJXTddu.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DzmSRK6Z.js → filepond-plugin-image-exif-orientation-C3mcn9KI.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-Dy70l4bq.js → filepond-plugin-image-preview-BI1YsBYj.js} +1 -1
- package/dist/cjs/{functions-Cxbc6q17.js → functions-JdrYDQKu.js} +1 -1
- package/dist/cjs/{index-BjphdATw.js → index-D3Wa_I8P.js} +1 -1
- package/dist/cjs/{index-B9uuwC5y.js → index-UdJx6iBO.js} +2 -6
- 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 +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +66 -7
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-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 +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-DBpdtaXl.js → tracked-promise-DENdU5n-.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-cyq6K0DC.js → vanilla-picker-CMF_WtgH.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/salla-product-options/availability-utils.js +46 -4
- package/dist/collection/components/salla-product-options/salla-product-options.js +39 -2
- package/dist/components/index.js +2 -2
- package/dist/components/salla-product-options2.js +66 -6
- package/dist/esm/{filepond-DAX5UEU5.js → filepond-DwduE1q7.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CmoCs5ch.js → filepond-plugin-file-poster-Cg5uryRV.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Cx-BnpL2.js → filepond-plugin-file-validate-size-CI1Sj8kr.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DWn1unek.js → filepond-plugin-file-validate-type-JUm4bC13.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CB-tZOhi.js → filepond-plugin-image-edit-BrJ55gLP.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BoE-WIq-.js → filepond-plugin-image-exif-orientation-BkQECx1u.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CqzJUKHP.js → filepond-plugin-image-preview-nIxzaSJG.js} +1 -1
- package/dist/esm/{functions-hQdz9hf-.js → functions-BzIvfM0W.js} +1 -1
- package/dist/esm/{index-DTEQDm6d.js → index-CFOfZPpP.js} +1 -1
- package/dist/esm/{index-BmFJLtoi.js → index-CPL9CY3o.js} +2 -6
- 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 +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +66 -7
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-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 +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-BoBzcOVR.js → tracked-promise-CoSLxVRo.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-CsxkkcBh.js → vanilla-picker-BNfzIAYB.js} +1 -1
- package/dist/twilight/{p-90475264.entry.js → p-00ac20ac.entry.js} +1 -1
- package/dist/twilight/{p-96467104.entry.js → p-05509b03.entry.js} +1 -1
- package/dist/twilight/{p-16edb507.entry.js → p-0696998f.entry.js} +1 -1
- package/dist/twilight/{p-23e3eb95.entry.js → p-073299af.entry.js} +1 -1
- package/dist/twilight/{p-dc6ba997.entry.js → p-0e8ffb12.entry.js} +1 -1
- package/dist/twilight/{p-6db3f67b.entry.js → p-0f1c9e60.entry.js} +1 -1
- package/dist/twilight/{p-66eccd4e.entry.js → p-10a86f9e.entry.js} +1 -1
- package/dist/twilight/{p-ad59d8f6.entry.js → p-110e5099.entry.js} +1 -1
- package/dist/twilight/{p-29f65d08.entry.js → p-120cbae1.entry.js} +1 -1
- package/dist/twilight/{p-e74d8459.entry.js → p-12a111fe.entry.js} +1 -1
- package/dist/twilight/{p-f83f5f79.entry.js → p-158ddb37.entry.js} +1 -1
- package/dist/twilight/{p-b47719b5.entry.js → p-1b33acf6.entry.js} +1 -1
- package/dist/twilight/{p-2d92f08a.entry.js → p-1e71fea1.entry.js} +1 -1
- package/dist/twilight/{p-5622f4cb.entry.js → p-208e0041.entry.js} +1 -1
- package/dist/twilight/{p-bb4affa3.entry.js → p-257fbf4d.entry.js} +1 -1
- package/dist/twilight/{p-dd208824.entry.js → p-25d87b51.entry.js} +1 -1
- package/dist/twilight/{p-7cc906fd.entry.js → p-27d113b9.entry.js} +1 -1
- package/dist/twilight/{p-1671c056.entry.js → p-29fd2c2e.entry.js} +1 -1
- package/dist/twilight/{p-51126a79.entry.js → p-2def11f1.entry.js} +1 -1
- package/dist/twilight/{p-096a708f.entry.js → p-2f1d030d.entry.js} +1 -1
- package/dist/twilight/{p-4a531040.entry.js → p-2f38b7e4.entry.js} +1 -1
- package/dist/twilight/p-3161b8ae.entry.js +4 -0
- package/dist/twilight/{p-1630fc53.entry.js → p-324a7ef6.entry.js} +1 -1
- package/dist/twilight/{p-1732f2b2.entry.js → p-32c59462.entry.js} +1 -1
- package/dist/twilight/{p-180c0ca5.entry.js → p-33afa437.entry.js} +1 -1
- package/dist/twilight/{p-b5793358.entry.js → p-340dd50d.entry.js} +1 -1
- package/dist/twilight/{p-b48ba32a.entry.js → p-348e706d.entry.js} +1 -1
- package/dist/twilight/{p-8c729878.entry.js → p-34a187cf.entry.js} +1 -1
- package/dist/twilight/{p-4e9a9071.entry.js → p-3607b38e.entry.js} +1 -1
- package/dist/twilight/{p-fb23d620.entry.js → p-3b958e78.entry.js} +1 -1
- package/dist/twilight/{p-6ce3edc6.entry.js → p-3c04469e.entry.js} +1 -1
- package/dist/twilight/{p-72d2b19f.entry.js → p-3dee0f70.entry.js} +1 -1
- package/dist/twilight/{p-78a9880e.entry.js → p-3fde1a58.entry.js} +1 -1
- package/dist/twilight/{p-3bae4143.entry.js → p-456ac86d.entry.js} +1 -1
- package/dist/twilight/{p-8a491693.entry.js → p-4804edb7.entry.js} +1 -1
- package/dist/twilight/{p-0f2a8072.entry.js → p-4970584a.entry.js} +1 -1
- package/dist/twilight/{p-a9f88f85.entry.js → p-4a79b461.entry.js} +1 -1
- package/dist/twilight/{p-5e4239e3.entry.js → p-5a1797c8.entry.js} +1 -1
- package/dist/twilight/{p-ec9b118c.entry.js → p-5b6a819a.entry.js} +1 -1
- package/dist/twilight/{p-e095a7d1.entry.js → p-5f10dcbb.entry.js} +1 -1
- package/dist/twilight/{p-25bdb907.entry.js → p-60024239.entry.js} +1 -1
- package/dist/twilight/{p-3f249ea4.entry.js → p-63626e90.entry.js} +1 -1
- package/dist/twilight/{p-c4a37061.entry.js → p-666611e5.entry.js} +1 -1
- package/dist/twilight/{p-8d2a81b0.entry.js → p-74a9bc1e.entry.js} +1 -1
- package/dist/twilight/{p-e5336dcb.entry.js → p-75f932ca.entry.js} +1 -1
- package/dist/twilight/{p-739c39e9.entry.js → p-7645015f.entry.js} +1 -1
- package/dist/twilight/{p-31153a53.entry.js → p-7aa2cb4d.entry.js} +1 -1
- package/dist/twilight/{p-7d8b20c8.entry.js → p-7cdb34ae.entry.js} +1 -1
- package/dist/twilight/p-7d55faee.entry.js +4 -0
- package/dist/twilight/p-80f079b3.entry.js +4 -0
- package/dist/twilight/{p-d243a973.entry.js → p-822715db.entry.js} +1 -1
- package/dist/twilight/{p-52562de7.entry.js → p-866ae3dc.entry.js} +1 -1
- package/dist/twilight/{p-190364a4.entry.js → p-909275e1.entry.js} +1 -1
- package/dist/twilight/{p-d839d4ec.entry.js → p-931481f2.entry.js} +1 -1
- package/dist/twilight/{p-8706b6a0.entry.js → p-976fe135.entry.js} +1 -1
- package/dist/twilight/{p-4b3f6cd2.entry.js → p-9b98eda2.entry.js} +1 -1
- package/dist/twilight/{p-64980c56.entry.js → p-9df9f164.entry.js} +1 -1
- package/dist/twilight/{p-0d7bbb06.entry.js → p-9eed2e81.entry.js} +1 -1
- package/dist/twilight/{p-w8-d2MD6.js → p-BbzxbdV_.js} +1 -1
- package/dist/twilight/{p-C95Jqawg.js → p-Bvu4BGoi.js} +1 -1
- package/dist/twilight/{p-DkoUjMC3.js → p-BzPtXZ8b.js} +1 -1
- package/dist/twilight/{p-BmFJLtoi.js → p-CPL9CY3o.js} +1 -1
- package/dist/twilight/{p-Bcg-je74.js → p-CSKE9PmZ.js} +1 -1
- package/dist/twilight/{p-WuZcMqCu.js → p-ChXaJaVQ.js} +1 -1
- package/dist/twilight/{p-DEKXmzPE.js → p-DArQ56Y5.js} +1 -1
- package/dist/twilight/{p-Ce6fXRqk.js → p-DW5X0KUQ.js} +1 -1
- package/dist/twilight/{p-DGptAQB8.js → p-Da1jq8Qo.js} +1 -1
- package/dist/twilight/{p-DT96HiMD.js → p-Jx-87Pvn.js} +1 -1
- package/dist/twilight/{p-B9arPRZj.js → p-_Jg561eU.js} +1 -1
- package/dist/twilight/{p-b88ce9c1.entry.js → p-a4f5a886.entry.js} +1 -1
- package/dist/twilight/{p-5ed51ea1.entry.js → p-a8551a6e.entry.js} +1 -1
- package/dist/twilight/{p-b2c65720.entry.js → p-a92022bc.entry.js} +1 -1
- package/dist/twilight/{p-ccac7ed0.entry.js → p-b4079e50.entry.js} +1 -1
- package/dist/twilight/{p-c13103f9.entry.js → p-b57981d4.entry.js} +1 -1
- package/dist/twilight/{p-08c5b2bb.entry.js → p-b6c15b67.entry.js} +1 -1
- package/dist/twilight/{p-57636818.entry.js → p-bdeb8fdc.entry.js} +1 -1
- package/dist/twilight/{p-f6796ea9.entry.js → p-c07e239e.entry.js} +1 -1
- package/dist/twilight/{p-994bf3ae.entry.js → p-c37d3334.entry.js} +1 -1
- package/dist/twilight/{p-08af584f.entry.js → p-cdbf3ed7.entry.js} +1 -1
- package/dist/twilight/{p-de6b5801.entry.js → p-ce12be93.entry.js} +1 -1
- package/dist/twilight/{p-760bd859.entry.js → p-cec8779e.entry.js} +1 -1
- package/dist/twilight/{p-7dc07299.entry.js → p-d0e713bf.entry.js} +1 -1
- package/dist/twilight/{p-410a4744.entry.js → p-d27249b5.entry.js} +1 -1
- package/dist/twilight/{p-def1cf41.entry.js → p-d2fb2da6.entry.js} +1 -1
- package/dist/twilight/{p-78246e72.entry.js → p-d7a88a71.entry.js} +1 -1
- package/dist/twilight/{p-9e6cb545.entry.js → p-dd0d6d13.entry.js} +1 -1
- package/dist/twilight/{p-495097b0.entry.js → p-ddc1bc0d.entry.js} +1 -1
- package/dist/twilight/{p-f1e04195.entry.js → p-df1cdb0d.entry.js} +1 -1
- package/dist/twilight/{p-034745a7.entry.js → p-e3d7e3c8.entry.js} +1 -1
- package/dist/twilight/{p-fe6b38a8.entry.js → p-e8d76141.entry.js} +1 -1
- package/dist/twilight/{p-1f01e02d.entry.js → p-f174316c.entry.js} +1 -1
- package/dist/twilight/{p-6387b132.entry.js → p-f36bc567.entry.js} +1 -1
- package/dist/twilight/{p-069d56cc.entry.js → p-f4906774.entry.js} +1 -1
- package/dist/twilight/p-f7ebf444.entry.js +4 -0
- package/dist/twilight/{p-ca0f40dc.entry.js → p-f93423c4.entry.js} +1 -1
- package/dist/twilight/{p-1e3bca03.entry.js → p-f96a86a0.entry.js} +1 -1
- package/dist/twilight/{p-0209568e.entry.js → p-f995bf04.entry.js} +1 -1
- package/dist/twilight/{p-88609f65.entry.js → p-fb469c8a.entry.js} +1 -1
- package/dist/twilight/{p-a99b352b.entry.js → p-fc5654d2.entry.js} +1 -1
- package/dist/twilight/{p-BV6J7gVl.js → p-jKgGFpyH.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-product-options/availability-utils.d.ts +8 -1
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +11 -0
- package/dist/types/components.d.ts +10 -37
- package/package.json +5 -5
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +0 -349
- package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +0 -401
- package/dist/components/salla-cart-summary-card.d.ts +0 -11
- package/dist/components/salla-cart-summary-card.js +0 -404
- package/dist/esm/salla-cart-summary-card.entry.js +0 -347
- package/dist/twilight/p-04752b3a.entry.js +0 -4
- package/dist/twilight/p-15d93b1d.entry.js +0 -4
- package/dist/twilight/p-3de87ed4.entry.js +0 -4
- package/dist/twilight/p-5c4ee6f0.entry.js +0 -4
- package/dist/twilight/p-6023e80c.entry.js +0 -4
- package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +0 -67
|
@@ -29,6 +29,17 @@ export class SallaProductOptions {
|
|
|
29
29
|
this.userInitiatedValidation = false;
|
|
30
30
|
this.isCartMode = false;
|
|
31
31
|
this.availabilityMap = {};
|
|
32
|
+
/**
|
|
33
|
+
* Whether the product is available at the parent level (quantity > 0, or unlimited).
|
|
34
|
+
* Controls the unlimited-product fallback in computeAvailabilityMap: only when true is a
|
|
35
|
+
* detail with all-false SKUs treated as available (placeholder/incomplete data).
|
|
36
|
+
*
|
|
37
|
+
* The API path derives this automatically from `is_out_of_stock`. When options are supplied
|
|
38
|
+
* via the `options` prop, callers must set `product-available` explicitly — it defaults to
|
|
39
|
+
* false so genuinely out-of-stock products are never silently promoted to available.
|
|
40
|
+
* (Truly unlimited products with no SKU data are handled separately and don't need this.)
|
|
41
|
+
*/
|
|
42
|
+
this.productAvailable = false;
|
|
32
43
|
this.outSkus = [];
|
|
33
44
|
/**
|
|
34
45
|
* Avoid selection of previous default or selected card value option
|
|
@@ -115,7 +126,10 @@ export class SallaProductOptions {
|
|
|
115
126
|
this.setOptionsData([]);
|
|
116
127
|
}
|
|
117
128
|
if (this.productId && !salla.url.is_page('cart')) {
|
|
118
|
-
salla.api.product.getDetails(this.productId, ['options']).then(resp =>
|
|
129
|
+
salla.api.product.getDetails(this.productId, ['options']).then(resp => {
|
|
130
|
+
this.productAvailable = !resp.data.is_out_of_stock;
|
|
131
|
+
this.setOptionsData(resp.data.options);
|
|
132
|
+
});
|
|
119
133
|
}
|
|
120
134
|
}
|
|
121
135
|
/**
|
|
@@ -469,6 +483,9 @@ export class SallaProductOptions {
|
|
|
469
483
|
}
|
|
470
484
|
}
|
|
471
485
|
this.outOfStockText = salla.lang.get('pages.products.out_of_stock');
|
|
486
|
+
// Props (e.g. product-available) are not set during the constructor, so recompute the
|
|
487
|
+
// availability map now that the prop value supplied on the options-prop path is applied.
|
|
488
|
+
this.computeAvailability();
|
|
472
489
|
await salla.onReady();
|
|
473
490
|
this.canDisabled = !salla.config.get('store.settings.product.notify_options_availability') || salla.url.is_page('cart');
|
|
474
491
|
this.pasteHandler = this.handlePaste.bind(this);
|
|
@@ -781,7 +798,7 @@ export class SallaProductOptions {
|
|
|
781
798
|
return detailName.replace('<i class=sicon-sar></i>', salla.config.currency()?.symbol || 'ر.س');
|
|
782
799
|
}
|
|
783
800
|
computeAvailability() {
|
|
784
|
-
this.availabilityMap = computeAvailabilityMap(this.optionsData || [], this.selectedOptions || []);
|
|
801
|
+
this.availabilityMap = computeAvailabilityMap(this.optionsData || [], this.selectedOptions || [], this.productAvailable);
|
|
785
802
|
}
|
|
786
803
|
isOptionDetailOut(detail) {
|
|
787
804
|
const status = this.availabilityMap[detail.id];
|
|
@@ -931,6 +948,26 @@ export class SallaProductOptions {
|
|
|
931
948
|
}
|
|
932
949
|
static get properties() {
|
|
933
950
|
return {
|
|
951
|
+
"productAvailable": {
|
|
952
|
+
"type": "boolean",
|
|
953
|
+
"attribute": "product-available",
|
|
954
|
+
"mutable": true,
|
|
955
|
+
"complexType": {
|
|
956
|
+
"original": "boolean",
|
|
957
|
+
"resolved": "boolean",
|
|
958
|
+
"references": {}
|
|
959
|
+
},
|
|
960
|
+
"required": false,
|
|
961
|
+
"optional": false,
|
|
962
|
+
"docs": {
|
|
963
|
+
"tags": [],
|
|
964
|
+
"text": "Whether the product is available at the parent level (quantity > 0, or unlimited).\nControls the unlimited-product fallback in computeAvailabilityMap: only when true is a\ndetail with all-false SKUs treated as available (placeholder/incomplete data).\n\nThe API path derives this automatically from `is_out_of_stock`. When options are supplied\nvia the `options` prop, callers must set `product-available` explicitly \u2014 it defaults to\nfalse so genuinely out-of-stock products are never silently promoted to available.\n(Truly unlimited products with no SKU data are handled separately and don't need this.)"
|
|
965
|
+
},
|
|
966
|
+
"getter": false,
|
|
967
|
+
"setter": false,
|
|
968
|
+
"reflect": false,
|
|
969
|
+
"defaultValue": "false"
|
|
970
|
+
},
|
|
934
971
|
"productId": {
|
|
935
972
|
"type": "any",
|
|
936
973
|
"attribute": "product-id",
|