@salla.sa/twilight-components 2.14.468 → 2.14.469
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-C1SAyrFq.js → filepond-CG7dNZgq.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DAhQ7rGa.js → filepond-plugin-file-poster-B1zrjwgr.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-qfwxpApK.js → filepond-plugin-file-validate-size-BqZtoWbe.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BbYanfPf.js → filepond-plugin-file-validate-type-BGmGKK9L.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-lWdFhMNt.js → filepond-plugin-image-edit-CYeh6qmG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C2wUYBSb.js → filepond-plugin-image-exif-orientation-BEVpo-ZQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-B1ukjrjT.js → filepond-plugin-image-preview-C7MMEZFE.js} +1 -1
- package/dist/cjs/{functions-DCSgyun2.js → functions-CnBVKKGk.js} +1 -1
- package/dist/cjs/{index-D3oJJZKW.js → index-BNOCK3IN.js} +1 -1
- package/dist/cjs/{index-CXr_39D8.js → index-inmL4H71.js} +2 -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 +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +29 -10
- 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.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-BsYRgTGD.js → tracked-promise-DvLhM2Sx.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-DkdzTjSC.js → vanilla-picker-DtuN6WGq.js} +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.css +18 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js +28 -8
- package/dist/components/index.js +2 -2
- package/dist/components/salla-gifting.js +29 -9
- package/dist/esm/{filepond-C4pZr9nR.js → filepond-D4dDq1wa.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CXpAGxT4.js → filepond-plugin-file-poster-CcnsMPSH.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Dk4M6ge1.js → filepond-plugin-file-validate-size-qgEgRYkk.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DD7qvRsg.js → filepond-plugin-file-validate-type-BuFGnco8.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DMllAEkg.js → filepond-plugin-image-edit-kS2Sie2d.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BRCbcu_E.js → filepond-plugin-image-exif-orientation-Bjoh_of2.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DgeylrwN.js → filepond-plugin-image-preview-b_VEHHGf.js} +1 -1
- package/dist/esm/{functions-DrS7by6t.js → functions-ISZQDw0y.js} +1 -1
- package/dist/esm/{index-9SnsJoYO.js → index-CqC4wD_f.js} +1 -1
- package/dist/esm/{index-D2yBy7Jh.js → index-Cqh-ta1v.js} +2 -2
- 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 +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +29 -10
- 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.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-CTcAqNfZ.js → tracked-promise-CH_UyK-l.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DfeK45Yv.js → vanilla-picker-PE31tu9y.js} +1 -1
- package/dist/twilight/{p-54e9ac89.entry.js → p-054c9462.entry.js} +1 -1
- package/dist/twilight/{p-a3e1fafc.entry.js → p-06372aeb.entry.js} +1 -1
- package/dist/twilight/{p-f0dedf42.entry.js → p-06c06719.entry.js} +1 -1
- package/dist/twilight/{p-e8ffc069.entry.js → p-0c7efc0b.entry.js} +1 -1
- package/dist/twilight/{p-749dbf27.entry.js → p-0cca1b63.entry.js} +1 -1
- package/dist/twilight/{p-ad0a27e2.entry.js → p-1415eb5e.entry.js} +1 -1
- package/dist/twilight/{p-b80016c8.entry.js → p-14a3277b.entry.js} +1 -1
- package/dist/twilight/{p-12ccc1ab.entry.js → p-15b3f969.entry.js} +1 -1
- package/dist/twilight/{p-315ce27b.entry.js → p-16b64bb5.entry.js} +1 -1
- package/dist/twilight/{p-f3a01895.entry.js → p-16c64a38.entry.js} +1 -1
- package/dist/twilight/{p-9ba953ab.entry.js → p-17920aa7.entry.js} +1 -1
- package/dist/twilight/{p-5e433652.entry.js → p-196fad8d.entry.js} +1 -1
- package/dist/twilight/{p-cb855cb3.entry.js → p-19fe2b27.entry.js} +1 -1
- package/dist/twilight/{p-cfd910a8.entry.js → p-1c0f9fd9.entry.js} +1 -1
- package/dist/twilight/{p-1a844fda.entry.js → p-1db8b515.entry.js} +1 -1
- package/dist/twilight/{p-d0a8b9be.entry.js → p-219b14c4.entry.js} +1 -1
- package/dist/twilight/{p-c6e18746.entry.js → p-227d11a0.entry.js} +1 -1
- package/dist/twilight/p-293a6d6b.entry.js +4 -0
- package/dist/twilight/{p-e34f68e0.entry.js → p-2ba603bc.entry.js} +1 -1
- package/dist/twilight/{p-5a5057a8.entry.js → p-2dbb3b49.entry.js} +1 -1
- package/dist/twilight/{p-453a7bb2.entry.js → p-31bd852c.entry.js} +1 -1
- package/dist/twilight/{p-9a0514dd.entry.js → p-32a7cb85.entry.js} +1 -1
- package/dist/twilight/{p-b7e720e8.entry.js → p-32d5d279.entry.js} +1 -1
- package/dist/twilight/{p-1a1cebfa.entry.js → p-36884c05.entry.js} +1 -1
- package/dist/twilight/{p-0e1bab4f.entry.js → p-38a791cb.entry.js} +1 -1
- package/dist/twilight/{p-50dfec0a.entry.js → p-3b198162.entry.js} +1 -1
- package/dist/twilight/{p-4d3bcacd.entry.js → p-3d517178.entry.js} +1 -1
- package/dist/twilight/{p-4dedb514.entry.js → p-3e5a57cc.entry.js} +1 -1
- package/dist/twilight/{p-e80ee5b0.entry.js → p-40eb9556.entry.js} +1 -1
- package/dist/twilight/{p-53f83426.entry.js → p-49181c4a.entry.js} +1 -1
- package/dist/twilight/{p-378d45e2.entry.js → p-4a81a708.entry.js} +1 -1
- package/dist/twilight/{p-571b8e00.entry.js → p-4b20872a.entry.js} +1 -1
- package/dist/twilight/{p-cebad615.entry.js → p-4c370853.entry.js} +1 -1
- package/dist/twilight/{p-e06a7e19.entry.js → p-4ee20a54.entry.js} +1 -1
- package/dist/twilight/{p-0eadca17.entry.js → p-51c30ec2.entry.js} +1 -1
- package/dist/twilight/{p-ee8c7a5a.entry.js → p-5334222c.entry.js} +1 -1
- package/dist/twilight/{p-3d8d289e.entry.js → p-559bdcca.entry.js} +1 -1
- package/dist/twilight/{p-d861eea6.entry.js → p-5701244a.entry.js} +1 -1
- package/dist/twilight/{p-266f57de.entry.js → p-5d364fc2.entry.js} +1 -1
- package/dist/twilight/{p-DSgSJMud.js → p-5fxCpxw5.js} +1 -1
- package/dist/twilight/{p-e4cac2a9.entry.js → p-61ad2660.entry.js} +1 -1
- package/dist/twilight/{p-c4bc10c1.entry.js → p-6590acee.entry.js} +1 -1
- package/dist/twilight/{p-1920b702.entry.js → p-681f8874.entry.js} +1 -1
- package/dist/twilight/{p-af121bbf.entry.js → p-6b6f9822.entry.js} +1 -1
- package/dist/twilight/{p-cbc44b3e.entry.js → p-6d23fd92.entry.js} +1 -1
- package/dist/twilight/{p-daa9c0b3.entry.js → p-6e723d46.entry.js} +1 -1
- package/dist/twilight/{p-2c7f524a.entry.js → p-71f2ba66.entry.js} +1 -1
- package/dist/twilight/{p-7ffc1711.entry.js → p-732bd9fb.entry.js} +1 -1
- package/dist/twilight/{p-1b7ebf47.entry.js → p-73d9e4c8.entry.js} +1 -1
- package/dist/twilight/{p-ae8bd2e7.entry.js → p-74e0d0c2.entry.js} +1 -1
- package/dist/twilight/{p-1574176e.entry.js → p-77d2312a.entry.js} +1 -1
- package/dist/twilight/{p-c0f40eea.entry.js → p-78ff445c.entry.js} +1 -1
- package/dist/twilight/{p-08771dff.entry.js → p-798fb3c7.entry.js} +1 -1
- package/dist/twilight/{p-223d7ceb.entry.js → p-79c20964.entry.js} +1 -1
- package/dist/twilight/p-7FtjQghq.js +4 -0
- package/dist/twilight/{p-a79f60e6.entry.js → p-7afe6e1a.entry.js} +1 -1
- package/dist/twilight/{p-313d38cd.entry.js → p-7e185acf.entry.js} +1 -1
- package/dist/twilight/{p-a2b53a52.entry.js → p-8b538bd7.entry.js} +1 -1
- package/dist/twilight/{p-8b5d26d3.entry.js → p-8bcc3b86.entry.js} +1 -1
- package/dist/twilight/{p-3d7c0ac6.entry.js → p-8db52fe9.entry.js} +1 -1
- package/dist/twilight/{p-83b6c374.entry.js → p-93ec294d.entry.js} +1 -1
- package/dist/twilight/{p-28bdf8ec.entry.js → p-9785f314.entry.js} +1 -1
- package/dist/twilight/{p-255f5d2a.entry.js → p-9a3f27e9.entry.js} +1 -1
- package/dist/twilight/{p-paiaALkJ.js → p-B0uENqSF.js} +1 -1
- package/dist/twilight/{p-CBU9I-zy.js → p-C3kw3FEZ.js} +1 -1
- package/dist/twilight/{p-BGpAIcg-.js → p-CUfwD9kr.js} +1 -1
- package/dist/twilight/{p-D2yBy7Jh.js → p-Cqh-ta1v.js} +1 -1
- package/dist/twilight/{p-BHkz1ssL.js → p-DZ18vMT2.js} +1 -1
- package/dist/twilight/{p-D01LipFK.js → p-DyQ5MH6F.js} +1 -1
- package/dist/twilight/{p-CGd7EQZr.js → p-J_27I63T.js} +1 -1
- package/dist/twilight/{p-67e23040.entry.js → p-a85d80b5.entry.js} +1 -1
- package/dist/twilight/{p-cbf547f0.entry.js → p-a918b812.entry.js} +1 -1
- package/dist/twilight/{p-a6a9e398.entry.js → p-aec0a2df.entry.js} +1 -1
- package/dist/twilight/{p-5c1c520a.entry.js → p-b16d8b19.entry.js} +1 -1
- package/dist/twilight/{p-08337b2b.entry.js → p-b295c1f1.entry.js} +1 -1
- package/dist/twilight/{p-17015f9c.entry.js → p-b6c0aa79.entry.js} +1 -1
- package/dist/twilight/{p-aadfd70e.entry.js → p-b7727021.entry.js} +1 -1
- package/dist/twilight/{p-fe1bced4.entry.js → p-badf4c9d.entry.js} +1 -1
- package/dist/twilight/{p-a0d88c4d.entry.js → p-c6be8afd.entry.js} +1 -1
- package/dist/twilight/{p-5a9b94f8.entry.js → p-ccd8c960.entry.js} +1 -1
- package/dist/twilight/p-ce0410d5.entry.js +4 -0
- package/dist/twilight/{p-fb56a444.entry.js → p-cee7a8ad.entry.js} +1 -1
- package/dist/twilight/{p-4144c908.entry.js → p-d0c8435f.entry.js} +1 -1
- package/dist/twilight/{p-db43fa93.entry.js → p-d23eeb0c.entry.js} +1 -1
- package/dist/twilight/{p-5d06fe77.entry.js → p-d63f2cbd.entry.js} +1 -1
- package/dist/twilight/{p-4c457ba5.entry.js → p-d6b6a8ad.entry.js} +1 -1
- package/dist/twilight/{p-6046666d.entry.js → p-d823cbcd.entry.js} +1 -1
- package/dist/twilight/p-d8f22e4b.entry.js +4 -0
- package/dist/twilight/{p-BZhp8a87.js → p-dKdk2xpB.js} +1 -1
- package/dist/twilight/p-dbdbb882.entry.js +4 -0
- package/dist/twilight/{p-3d1e7982.entry.js → p-dc8555bf.entry.js} +1 -1
- package/dist/twilight/{p-2c7086ec.entry.js → p-dca3b67e.entry.js} +1 -1
- package/dist/twilight/{p-e5de1833.entry.js → p-e0671ff1.entry.js} +1 -1
- package/dist/twilight/{p-d0cae7da.entry.js → p-e06e37c1.entry.js} +1 -1
- package/dist/twilight/{p-30ea9a82.entry.js → p-e265d626.entry.js} +1 -1
- package/dist/twilight/{p-07af3286.entry.js → p-f0e96875.entry.js} +1 -1
- package/dist/twilight/{p-b0f28806.entry.js → p-f64168cc.entry.js} +1 -1
- package/dist/twilight/{p-b3f6b725.entry.js → p-f67639df.entry.js} +1 -1
- package/dist/twilight/{p-6c777951.entry.js → p-fd180bd3.entry.js} +1 -1
- package/dist/twilight/{p-BojnM4VS.js → p-m2p-QAbu.js} +1 -1
- package/dist/twilight/{p-xz8gqXL9.js → p-yyvPGK6r.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +1 -0
- package/package.json +5 -5
- package/dist/twilight/p-3c2fe8cd.entry.js +0 -4
- package/dist/twilight/p-7bd464f3.entry.js +0 -4
- package/dist/twilight/p-Bo1nXenO.js +0 -4
- package/dist/twilight/p-a463d567.entry.js +0 -4
- package/dist/twilight/p-c637b6bb.entry.js +0 -4
|
@@ -107,6 +107,7 @@ export class SallaGifting {
|
|
|
107
107
|
this.sectionBtnText = salla.lang.get('blocks.buy_as_gift.send_as_a_gift');
|
|
108
108
|
this.giftDetails = salla.lang.get('blocks.buy_as_gift.gift_details');
|
|
109
109
|
this.selectGiftMessage = salla.lang.get('blocks.buy_as_gift.select_gift_message');
|
|
110
|
+
this.giftText = salla.lang.get('blocks.buy_as_gift.gift_text');
|
|
110
111
|
this.giftCustomText = salla.lang.get('blocks.buy_as_gift.gift_custom_text');
|
|
111
112
|
this.textId = salla.lang.get('blocks.buy_as_gift.text_id');
|
|
112
113
|
this.incorrectGiftText = salla.lang.get('blocks.buy_as_gift.incorrect_gift_text');
|
|
@@ -189,6 +190,13 @@ export class SallaGifting {
|
|
|
189
190
|
return await salla.api.withoutNotifier(giftDetailsMethod)
|
|
190
191
|
.then((response) => {
|
|
191
192
|
this.gift = response.data;
|
|
193
|
+
// Backward-compat: older BE responses omit these visibility flags. Treat a
|
|
194
|
+
// missing flag as enabled so the image/text steps still render until the BE
|
|
195
|
+
// that returns them is deployed. Use `??` so an explicit `false` is preserved.
|
|
196
|
+
this.gift.show_texts = this.gift.show_texts ?? true;
|
|
197
|
+
this.gift.show_images = this.gift.show_images ?? true;
|
|
198
|
+
this.gift.show_custom_text = this.gift.show_custom_text ?? true;
|
|
199
|
+
this.gift.show_image_upload = this.gift.show_image_upload ?? true;
|
|
192
200
|
this.senderName = this.gift.sender_name;
|
|
193
201
|
this.disableClass = this.gift?.show_image_upload ? '' : 'pointer-events-none';
|
|
194
202
|
if (!this.gift.show_texts) {
|
|
@@ -204,6 +212,11 @@ export class SallaGifting {
|
|
|
204
212
|
this.parentClass = 'is-current-step-2';
|
|
205
213
|
this.step2Animated = true;
|
|
206
214
|
}
|
|
215
|
+
else if (!this.gift.show_images) {
|
|
216
|
+
// the slider lays out asynchronously,
|
|
217
|
+
// so an early measurement would pin it too short and overlap the button.
|
|
218
|
+
this.setWrapperHeight(1, 250, 5);
|
|
219
|
+
}
|
|
207
220
|
})
|
|
208
221
|
.catch(e => {
|
|
209
222
|
this.hasError = true;
|
|
@@ -250,18 +263,23 @@ export class SallaGifting {
|
|
|
250
263
|
this.textSelect?.classList.remove('s-form-has-error');
|
|
251
264
|
let dataID = event.target.children[event.target.selectedIndex].getAttribute('data-id');
|
|
252
265
|
let customID = dataID == "custom";
|
|
266
|
+
// Only the custom-text textarea changes the layout; resize the wrapper just
|
|
267
|
+
// when it actually appears/disappears so picking or clearing a normal option
|
|
268
|
+
// doesn't jump the modal height.
|
|
269
|
+
const customVisibilityChanged = this.showGiftText !== customID;
|
|
253
270
|
this.showGiftText = customID;
|
|
254
271
|
if (dataID) {
|
|
255
272
|
this.selectedGiftTextOption = dataID;
|
|
256
273
|
customID ? this.selectedText = undefined : this.selectedText = event.target.value;
|
|
257
|
-
this.setWrapperHeight(1, 150, 5);
|
|
258
274
|
}
|
|
259
275
|
else {
|
|
260
276
|
// empty textarea value
|
|
261
277
|
this.textArea.value = '';
|
|
262
278
|
this.selectedText = undefined;
|
|
263
279
|
this.selectedGiftTextOption = undefined;
|
|
264
|
-
|
|
280
|
+
}
|
|
281
|
+
if (customVisibilityChanged) {
|
|
282
|
+
this.setWrapperHeight(1, 150, 5);
|
|
265
283
|
}
|
|
266
284
|
}
|
|
267
285
|
/**
|
|
@@ -679,17 +697,18 @@ export class SallaGifting {
|
|
|
679
697
|
}
|
|
680
698
|
render() {
|
|
681
699
|
return [
|
|
682
|
-
h("div", { key: '
|
|
700
|
+
h("div", { key: 'fdb6b68a052a9fa0a0d527edb25e3d7783cc47e9' }, h("salla-list-tile", { key: '3cfb7f37df96e924af7f977fd17f4161e40f83fe', class: this.generateClass() }, h("div", { key: '291a27d70bc43d6edac5c5838d93eaa6a51fb84a', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: 'c49f119d84a279338c4478872883ba7356e118ce' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '2ccfb84620132477c0845ffc0bbc257c350cdeb9', slot: "subtitle" }, h("div", { key: '2840a426b505f7fe7ac5c285ab9b74ca4f99ab55' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'e3560b1bc8a6c062417f3e2b7a91b5b20b4e1880', slot: "action" }, h("salla-button", { key: '5d96fb354f2845955344d782e693fe27a0fa2652', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '384ab549dc1942a600cc37c4df26008a8a05e9ab', name: "widget-btn-content" }, h("div", { key: '80d83cd6296f2e93ebbc0eada8737d65c76e4ce0', class: "s-gifting-widget-action-content" }, h("span", { key: '69f6686f6fe23bdab891ab12b295cf918ba0a8fb', innerHTML: GiftSharing }), " \u00A0", h("span", { key: '495c9e9b10dcb69a1335d0345d42a8323b52abef' }, this.sectionBtnText)))))), h("salla-modal", { key: '303a208c394aa2c91f2273b3909208c29266b490', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '985a4d292ea01cb7ff48b443afe854de6f293abf', slot: "loading" }, h("div", { key: 'ba2b61f3bebf33d04d7132a00d3334a35042646a', class: "s-gifting-skeleton" }, h("div", { key: '4c8d2a5f128407423fd0c3070907d7781fb92283', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '8585263f0bcb523a5b537c3b13f9c2a0a3a898d0', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: 'dbd2c3efbe5c91563275c09efd832709b6ed6748', class: "s-gifting-modal-title" }, h("div", { key: '4885e29c71001b530be33a4cf585fd77cf434dfd', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '6c248a65bcc92c51555f0dd8f6d10c6f9d4a2b9a', height: '15px', width: '150px' })))), h("div", { key: '07de64586572cea82b2561344b5922ad4f7cb2c1', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '9a9e45772c6f5ce30a19ebcb53405032dfc25862', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'd1165987504fb2e5a7d013118b6ca5db2bf1523c', height: '230px' }), h("salla-skeleton", { key: '33cc657831541bcf6916c54c8dffca3b9933ccbb', height: '10px', width: '150px' }), h("salla-skeleton", { key: '46ff78b7725c57c955c73e9a71b9bf1c7340a354', height: '30px' }), h("salla-skeleton", { key: '520bd0a02c0bf4ef6109f014856dfad71d779aca', height: '40px' })))), h("slot", { key: '5519fd6df4f911b042f68f6825a563ce92f16733', name: "header" }), !!this.hasError ?
|
|
683
701
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
|
|
684
702
|
:
|
|
685
703
|
[
|
|
686
704
|
h("div", { class: "s-gifting-modal-header" }, h("span", { class: "s-gifting-modal-icon" }, h("span", { innerHTML: GiftSharing })), h("h2", { class: "s-gifting-modal-title" }, h("div", { class: "s-gifting-modal-badge-wrapper" }, !this.skipStep1() && h("div", { class: "s-gifting-modal-badge" }, h("span", null, h("span", null, this.currentStep), "/2")), h("span", null, this.giftDetails)))),
|
|
687
|
-
h("div", { class: "s-gifting-steps-wrapper " + this.parentClass, ref: el => this.stepsWrapper = el }, !this.skipStep1() && h("div", { class: "s-gifting-step-one gift-step-1", ref: el => this.step1Elems = el },
|
|
688
|
-
h("div",
|
|
705
|
+
h("div", { class: "s-gifting-steps-wrapper " + this.parentClass, ref: el => this.stepsWrapper = el }, !this.skipStep1() && h("div", { class: "s-gifting-step-one gift-step-1", ref: el => this.step1Elems = el }, this.gift && this.gift.show_images &&
|
|
706
|
+
h("div", { class: "s-gifting-modal-uploader-title anime-item" }, this.selectImageForYourGift), this.gift && this.gift.show_images &&
|
|
707
|
+
h("div", { class: "s-gifting-image-section" }, h("div", { class: `s-gifting-modal-uploader anime-item ${this.disableClass}`, ref: el => this.uploader = el }, h("span", { class: "s-gifting-remove-preview pointer-events-auto", onClick: () => this.removePreview(), innerHTML: Cancel }), this.selectImageOrUpload && this.gift && h("salla-file-upload", { "instant-upload": true, name: "image_url", url: salla.url.api(salla.product.api.getUrl('giftImage')), onUploaded: event => this.handleUploadImage(event.detail), labelIdle: this.getFilepondPlaceholder(), onRemoved: () => this.handleRemoveImage() })), h("div", { class: "anime-item" }, !this.uploadedImage && !!this.gift && !!this.gift.gift_images && this.gift.gift_images.length > 0 ?
|
|
689
708
|
h("salla-slider", { id: "gifting-slider", loop: false, "controls-outer": true, class: "s-gifting-slider", type: "carousel" }, h("div", { slot: "items" }, this.gift && this.gift.gift_images ?
|
|
690
|
-
this.gift?.gift_images.map((item) => h("a", { class: "s-gifting-clickable s-gifting-image", onClick: () => this.setPreview(item) }, h("img", {
|
|
709
|
+
this.gift?.gift_images.map((item) => h("a", { class: "s-gifting-clickable s-gifting-image", onClick: () => this.setPreview(item) }, h("img", { src: item.url, alt: `${item.id}` }))) : ''))
|
|
691
710
|
: "")), this.gift && this.gift.show_texts ?
|
|
692
|
-
h("div", { class: "anime-item" }, h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, h("option", { "data-id": null, selected: true }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
|
|
711
|
+
h("div", { class: "anime-item" }, h("div", { class: "s-gifting-modal-uploader-title s-gifting-text-title" }, this.giftText), h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, h("option", { "data-id": null, selected: true }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
|
|
693
712
|
this.gift?.gift_texts.map((txt) => h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', this.gift && this.gift.show_custom_text ? h("option", { "data-id": "custom" }, this.giftCustomText) : null)), h("div", { class: this.showGiftText && this.gift && this.gift.show_custom_text ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), h("div", { class: "mt-1" }, h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))) : null, h("div", { class: "anime-item" }, h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2(!!this.gift?.show_texts) }, h("span", null, this.nextStep)))), h("div", { class: "s-gifting-step-two gift-step-2", style: this.skipStep1() ? { opacity: '1', transform: 'translateX(0)', position: 'relative' } : undefined, ref: el => this.step2Elems = el }, h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
|
|
694
713
|
h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
|
|
695
714
|
h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
|
|
@@ -701,7 +720,7 @@ export class SallaGifting {
|
|
|
701
720
|
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'] ?
|
|
702
721
|
h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
703
722
|
h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !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: LeftArrow, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
|
|
704
|
-
], h("slot", { key: '
|
|
723
|
+
], h("slot", { key: '9413ec459b3b5dc137a90979990022b7ec1c6453', name: "footer" })))
|
|
705
724
|
];
|
|
706
725
|
}
|
|
707
726
|
static get is() { return "salla-gifting"; }
|
|
@@ -862,6 +881,7 @@ export class SallaGifting {
|
|
|
862
881
|
"selectImageForYourGift": {},
|
|
863
882
|
"selectImageOrUpload": {},
|
|
864
883
|
"selectGiftMessage": {},
|
|
884
|
+
"giftText": {},
|
|
865
885
|
"giftCustomText": {},
|
|
866
886
|
"textId": {},
|
|
867
887
|
"incorrectGiftText": {},
|