@salla.sa/twilight-components 2.14.469 → 2.14.470
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-CG7dNZgq.js → filepond-jdX95qxM.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-B1zrjwgr.js → filepond-plugin-file-poster-DC9ozntr.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BqZtoWbe.js → filepond-plugin-file-validate-size-DxUUyj2Z.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BGmGKK9L.js → filepond-plugin-file-validate-type-DB4YCfw-.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CYeh6qmG.js → filepond-plugin-image-edit-QlnXOcNf.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BEVpo-ZQ.js → filepond-plugin-image-exif-orientation-D6HJ47N2.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C7MMEZFE.js → filepond-plugin-image-preview-DCaj9jNI.js} +1 -1
- package/dist/cjs/{functions-CnBVKKGk.js → functions-C_kzehHT.js} +1 -1
- package/dist/cjs/{index-inmL4H71.js → index-CmPl0fIy.js} +2 -2
- package/dist/cjs/{index-BNOCK3IN.js → index-SIy6bIWx.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- 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 +57 -24
- 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-DvLhM2Sx.js → tracked-promise-D-gQXgPZ.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-DtuN6WGq.js → vanilla-picker-CZ_8m6i_.js} +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.css +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.js +55 -22
- package/dist/components/index.js +2 -2
- package/dist/components/salla-gifting.js +56 -23
- package/dist/esm/{filepond-D4dDq1wa.js → filepond-DLJR7kqO.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CcnsMPSH.js → filepond-plugin-file-poster-BPPxfj_a.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-qgEgRYkk.js → filepond-plugin-file-validate-size-CCqZAz2o.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BuFGnco8.js → filepond-plugin-file-validate-type-YEjyqpU3.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-kS2Sie2d.js → filepond-plugin-image-edit-tiyoM7iJ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Bjoh_of2.js → filepond-plugin-image-exif-orientation-CESSG4q3.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-b_VEHHGf.js → filepond-plugin-image-preview-CTrGLHaX.js} +1 -1
- package/dist/esm/{functions-ISZQDw0y.js → functions-iGPmc3ui.js} +1 -1
- package/dist/esm/{index-Cqh-ta1v.js → index-Dckjjczv.js} +2 -2
- package/dist/esm/{index-CqC4wD_f.js → index-pj-XyI3U.js} +1 -1
- package/dist/esm/loader.js +2 -2
- 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 +57 -24
- 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-CH_UyK-l.js → tracked-promise-CfOFv_ZQ.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-PE31tu9y.js → vanilla-picker-BwAhzkb2.js} +1 -1
- package/dist/twilight/{p-m2p-QAbu.js → p--Jfvyk1f.js} +1 -1
- package/dist/twilight/{p-3b198162.entry.js → p-0052df8e.entry.js} +1 -1
- package/dist/twilight/{p-71f2ba66.entry.js → p-017500f8.entry.js} +1 -1
- package/dist/twilight/{p-40eb9556.entry.js → p-052922a0.entry.js} +1 -1
- package/dist/twilight/{p-8bcc3b86.entry.js → p-05ffde56.entry.js} +1 -1
- package/dist/twilight/{p-7afe6e1a.entry.js → p-092318cc.entry.js} +1 -1
- package/dist/twilight/p-0a8fdddc.entry.js +4 -0
- package/dist/twilight/{p-93ec294d.entry.js → p-0bf6b9ad.entry.js} +1 -1
- package/dist/twilight/{p-0cca1b63.entry.js → p-0fa958a8.entry.js} +1 -1
- package/dist/twilight/{p-6590acee.entry.js → p-193f4672.entry.js} +1 -1
- package/dist/twilight/{p-8db52fe9.entry.js → p-1da95f6f.entry.js} +1 -1
- package/dist/twilight/{p-e06e37c1.entry.js → p-1eadcac5.entry.js} +1 -1
- package/dist/twilight/{p-196fad8d.entry.js → p-1fa5c385.entry.js} +1 -1
- package/dist/twilight/{p-559bdcca.entry.js → p-21e43f89.entry.js} +1 -1
- package/dist/twilight/{p-49181c4a.entry.js → p-294a3248.entry.js} +1 -1
- package/dist/twilight/{p-06c06719.entry.js → p-2b2af618.entry.js} +1 -1
- package/dist/twilight/{p-219b14c4.entry.js → p-30fe7a02.entry.js} +1 -1
- package/dist/twilight/{p-74e0d0c2.entry.js → p-3100186f.entry.js} +1 -1
- package/dist/twilight/{p-d23eeb0c.entry.js → p-31fca96b.entry.js} +1 -1
- package/dist/twilight/{p-badf4c9d.entry.js → p-37299c40.entry.js} +1 -1
- package/dist/twilight/{p-4c370853.entry.js → p-38b5829a.entry.js} +1 -1
- package/dist/twilight/{p-77d2312a.entry.js → p-3995c76e.entry.js} +1 -1
- package/dist/twilight/{p-06372aeb.entry.js → p-3d65f310.entry.js} +1 -1
- package/dist/twilight/{p-5334222c.entry.js → p-45a786cd.entry.js} +1 -1
- package/dist/twilight/{p-732bd9fb.entry.js → p-463cf5ea.entry.js} +1 -1
- package/dist/twilight/{p-2ba603bc.entry.js → p-46b75509.entry.js} +1 -1
- package/dist/twilight/p-476463ea.entry.js +4 -0
- package/dist/twilight/{p-681f8874.entry.js → p-4d2f0573.entry.js} +1 -1
- package/dist/twilight/{p-e265d626.entry.js → p-51b4ab80.entry.js} +1 -1
- package/dist/twilight/{p-054c9462.entry.js → p-56f4d005.entry.js} +1 -1
- package/dist/twilight/{p-d823cbcd.entry.js → p-58bcae28.entry.js} +1 -1
- package/dist/twilight/{p-227d11a0.entry.js → p-5d19859e.entry.js} +1 -1
- package/dist/twilight/{p-1415eb5e.entry.js → p-5f989a35.entry.js} +1 -1
- package/dist/twilight/{p-6e723d46.entry.js → p-61bcbf9a.entry.js} +1 -1
- package/dist/twilight/{p-d0c8435f.entry.js → p-623b0c48.entry.js} +1 -1
- package/dist/twilight/{p-61ad2660.entry.js → p-63f20aa0.entry.js} +1 -1
- package/dist/twilight/{p-ccd8c960.entry.js → p-6543c5eb.entry.js} +1 -1
- package/dist/twilight/{p-dc8555bf.entry.js → p-66d2b9e3.entry.js} +1 -1
- package/dist/twilight/{p-9785f314.entry.js → p-681a053f.entry.js} +1 -1
- package/dist/twilight/{p-73d9e4c8.entry.js → p-69e7eb15.entry.js} +1 -1
- package/dist/twilight/{p-16c64a38.entry.js → p-6ce0ab6e.entry.js} +1 -1
- package/dist/twilight/{p-7e185acf.entry.js → p-6e2c05e8.entry.js} +1 -1
- package/dist/twilight/{p-17920aa7.entry.js → p-6ee5c24d.entry.js} +1 -1
- package/dist/twilight/{p-5d364fc2.entry.js → p-6f63f391.entry.js} +1 -1
- package/dist/twilight/{p-a85d80b5.entry.js → p-6f86922a.entry.js} +1 -1
- package/dist/twilight/{p-79c20964.entry.js → p-721ae2c4.entry.js} +1 -1
- package/dist/twilight/{p-a918b812.entry.js → p-7288ff02.entry.js} +1 -1
- package/dist/twilight/{p-d63f2cbd.entry.js → p-768b4a83.entry.js} +1 -1
- package/dist/twilight/{p-14a3277b.entry.js → p-77db23d2.entry.js} +1 -1
- package/dist/twilight/{p-4b20872a.entry.js → p-780abf03.entry.js} +1 -1
- package/dist/twilight/{p-19fe2b27.entry.js → p-7a75c505.entry.js} +1 -1
- package/dist/twilight/{p-6b6f9822.entry.js → p-83222f33.entry.js} +1 -1
- package/dist/twilight/p-84dc489a.entry.js +4 -0
- package/dist/twilight/p-85d1767d.entry.js +4 -0
- package/dist/twilight/{p-78ff445c.entry.js → p-869773d3.entry.js} +1 -1
- package/dist/twilight/{p-f64168cc.entry.js → p-89dae763.entry.js} +1 -1
- package/dist/twilight/{p-aec0a2df.entry.js → p-9196d137.entry.js} +1 -1
- package/dist/twilight/p-9668a8aa.entry.js +4 -0
- package/dist/twilight/{p-e0671ff1.entry.js → p-97b74b76.entry.js} +1 -1
- package/dist/twilight/{p-c6be8afd.entry.js → p-9a6ea758.entry.js} +1 -1
- package/dist/twilight/{p-51c30ec2.entry.js → p-9ac3d874.entry.js} +1 -1
- package/dist/twilight/{p-f67639df.entry.js → p-9dca7f59.entry.js} +1 -1
- package/dist/twilight/{p-fd180bd3.entry.js → p-9f8a065c.entry.js} +1 -1
- package/dist/twilight/{p-DyQ5MH6F.js → p-BFEfBkEW.js} +1 -1
- package/dist/twilight/{p-dKdk2xpB.js → p-BPasfwVf.js} +1 -1
- package/dist/twilight/{p-J_27I63T.js → p-BgFqaLNN.js} +1 -1
- package/dist/twilight/{p-CUfwD9kr.js → p-BxhAwisc.js} +1 -1
- package/dist/twilight/{p-DZ18vMT2.js → p-CHsBLTlN.js} +1 -1
- package/dist/twilight/{p-C3kw3FEZ.js → p-D2W2ygY1.js} +1 -1
- package/dist/twilight/{p-B0uENqSF.js → p-DNU1AEuR.js} +1 -1
- package/dist/twilight/{p-yyvPGK6r.js → p-DVCS8qoq.js} +2 -2
- package/dist/twilight/{p-5fxCpxw5.js → p-DWcI2hUr.js} +1 -1
- package/dist/twilight/{p-Cqh-ta1v.js → p-Dckjjczv.js} +1 -1
- package/dist/twilight/p-DzHsJ03K.js +4 -0
- package/dist/twilight/{p-31bd852c.entry.js → p-a2ff9abd.entry.js} +1 -1
- package/dist/twilight/{p-d6b6a8ad.entry.js → p-a756b0a4.entry.js} +1 -1
- package/dist/twilight/{p-16b64bb5.entry.js → p-a8a9b151.entry.js} +1 -1
- package/dist/twilight/{p-8b538bd7.entry.js → p-ad60969e.entry.js} +1 -1
- package/dist/twilight/{p-38a791cb.entry.js → p-b1d439e7.entry.js} +1 -1
- package/dist/twilight/{p-b6c0aa79.entry.js → p-ba55e58f.entry.js} +1 -1
- package/dist/twilight/{p-32a7cb85.entry.js → p-ba5d1170.entry.js} +1 -1
- package/dist/twilight/{p-cee7a8ad.entry.js → p-badfd153.entry.js} +1 -1
- package/dist/twilight/{p-f0e96875.entry.js → p-bc1725dd.entry.js} +1 -1
- package/dist/twilight/{p-9a3f27e9.entry.js → p-be077285.entry.js} +1 -1
- package/dist/twilight/{p-b7727021.entry.js → p-c4c3e16f.entry.js} +1 -1
- package/dist/twilight/{p-b16d8b19.entry.js → p-c907509d.entry.js} +1 -1
- package/dist/twilight/{p-1c0f9fd9.entry.js → p-d059046e.entry.js} +1 -1
- package/dist/twilight/{p-4a81a708.entry.js → p-dc9b7a8e.entry.js} +1 -1
- package/dist/twilight/{p-798fb3c7.entry.js → p-dcc34752.entry.js} +1 -1
- package/dist/twilight/{p-15b3f969.entry.js → p-ddbffad3.entry.js} +1 -1
- package/dist/twilight/{p-6d23fd92.entry.js → p-de70e0f6.entry.js} +1 -1
- package/dist/twilight/{p-3e5a57cc.entry.js → p-df72e6a9.entry.js} +1 -1
- package/dist/twilight/{p-3d517178.entry.js → p-e2e38f7d.entry.js} +1 -1
- package/dist/twilight/{p-1db8b515.entry.js → p-e573c23d.entry.js} +1 -1
- package/dist/twilight/{p-5701244a.entry.js → p-eaf8f509.entry.js} +1 -1
- package/dist/twilight/{p-36884c05.entry.js → p-ef26e3be.entry.js} +1 -1
- package/dist/twilight/{p-dca3b67e.entry.js → p-f145dc81.entry.js} +1 -1
- package/dist/twilight/{p-32d5d279.entry.js → p-f4f47286.entry.js} +1 -1
- package/dist/twilight/{p-0c7efc0b.entry.js → p-fc7a1f2f.entry.js} +1 -1
- package/dist/twilight/{p-4ee20a54.entry.js → p-fca82074.entry.js} +1 -1
- package/dist/twilight/{p-b295c1f1.entry.js → p-fe2a4d07.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +9 -0
- package/package.json +5 -5
- package/dist/twilight/p-293a6d6b.entry.js +0 -4
- package/dist/twilight/p-2dbb3b49.entry.js +0 -4
- package/dist/twilight/p-7FtjQghq.js +0 -4
- package/dist/twilight/p-ce0410d5.entry.js +0 -4
- package/dist/twilight/p-d8f22e4b.entry.js +0 -4
- package/dist/twilight/p-dbdbb882.entry.js +0 -4
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
var calendar = require('./calendar-D-PUoCDH.js');
|
|
8
8
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
9
9
|
var minus = require('./minus-CCryh1qf.js');
|
|
@@ -378,7 +378,7 @@ const SallaColorPicker = class {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
initColorPicker() {
|
|
381
|
-
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-
|
|
381
|
+
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-CZ_8m6i_.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
|
|
382
382
|
const Picker = mod.default;
|
|
383
383
|
const picker = new Picker({
|
|
384
384
|
parent: this.host,
|
|
@@ -838,13 +838,13 @@ const SallaFileUpload = class {
|
|
|
838
838
|
return;
|
|
839
839
|
try {
|
|
840
840
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
841
|
-
Promise.resolve().then(function () { return require('./filepond-
|
|
842
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
843
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
844
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
845
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
846
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
847
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
841
|
+
Promise.resolve().then(function () { return require('./filepond-jdX95qxM.js'); }).then(function (n) { return n.filepond; }),
|
|
842
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-DxUUyj2Z.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
843
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-D6HJ47N2.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
844
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-DCaj9jNI.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
845
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-QlnXOcNf.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
846
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-DB4YCfw-.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
847
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-DC9ozntr.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
848
848
|
]);
|
|
849
849
|
this.FilePond = FilePondModule;
|
|
850
850
|
// Register plugins
|
|
@@ -1445,7 +1445,7 @@ const SallaTelInput = class {
|
|
|
1445
1445
|
if (this.TelInput)
|
|
1446
1446
|
return;
|
|
1447
1447
|
try {
|
|
1448
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./index-
|
|
1448
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./index-SIy6bIWx.js'); }).then(function (n) { return n.index; });
|
|
1449
1449
|
this.TelInput = telInputModule.default;
|
|
1450
1450
|
}
|
|
1451
1451
|
catch (error) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tagMoney = require('./tag-money-Cuohw_4j.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
9
|
<g clip-path="url(#clip0_5667_2008)">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
@@ -22,7 +22,7 @@ var Alert = `<!-- Generated by IcoMoon.io -->
|
|
|
22
22
|
</svg>
|
|
23
23
|
`;
|
|
24
24
|
|
|
25
|
-
const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:0.
|
|
25
|
+
const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:height 0.8s cubic-bezier(0.55, 0, 0.1, 1) 0s}.s-gifting-select{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' fill='gray' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><title>keyboard_arrow_down</title><path d='M9.875 11.104l6.125 6.125 6.125-6.125 1.875 1.875-8 8-8-8z'></path></svg>\");background-size:24px;background-repeat:no-repeat;background-position:99%;appearance:none}[dir=rtl] .s-gifting-select{background-position:5px}.s-gifting-widget-vertical .s-list-tile-item [slot=title]{display:flex;align-items:center;gap:1.5rem}.s-gifting-widget-vertical .s-list-tile-item-content{width:100%}.s-gifting-modal .s-searchable-dropdown-trigger{border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger:hover:not(.s-searchable-dropdown-trigger--disabled){border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger--open,.s-gifting-modal .s-searchable-dropdown-trigger:focus{border-color:var(--color-primary, #00897b);box-shadow:0 0 0 1px var(--color-primary, #00897b)}.s-gifting-modal .s-searchable-dropdown-trigger-placeholder{color:#000}.s-gifting-modal .s-gifting-image-section{margin-bottom:1.5rem}.s-gifting-modal .s-gifting-slider{margin-bottom:0.5rem}.s-gifting-modal .s-gifting-image{display:block}.s-gifting-modal .s-gifting-image img{display:block;width:auto;height:100px;object-fit:contain}.s-gifting-modal .s-gifting-image-section+.anime-item .s-gifting-text-title{margin-top:1rem}";
|
|
26
26
|
|
|
27
27
|
const SallaGifting = class {
|
|
28
28
|
constructor(hostRef) {
|
|
@@ -191,26 +191,25 @@ const SallaGifting = class {
|
|
|
191
191
|
salla.event.dispatch('login::open', { withoutReload: true });
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
+
// Reopen on step 1, but KEEP the user's selections (image / text / custom
|
|
195
|
+
// message / sender+receiver). The modal element is never destroyed, so its
|
|
196
|
+
// state and DOM survive close→reopen without a page refresh — we only reset
|
|
197
|
+
// the step view and clear anime.js's leftover inline styles so the slide
|
|
198
|
+
// doesn't reopen with step 2 painted on top.
|
|
199
|
+
this.resetStepsAnimation();
|
|
194
200
|
this.currentStep = 1;
|
|
195
201
|
this.parentClass = 'is-current-step-1';
|
|
196
202
|
this.step2Animated = false;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
this.
|
|
203
|
+
// Drop any stale inline height from the previous session's step (e.g. step 2,
|
|
204
|
+
// shorter for digital products) so reopening to step 1 isn't clipped. Cleared
|
|
205
|
+
// while the modal is hidden, so the later set won't animate.
|
|
206
|
+
this.stepsWrapper?.style.removeProperty('height');
|
|
201
207
|
await this.modal.open();
|
|
202
208
|
// Determine the appropriate method to call based on the `physicalProducts` flag
|
|
203
209
|
const giftDetailsMethod = this.productId ? () => salla.product.getGiftProductDetails(this.productId) : () => salla.cart.getGiftCartDetails();
|
|
204
210
|
return await salla.api.withoutNotifier(giftDetailsMethod)
|
|
205
211
|
.then((response) => {
|
|
206
212
|
this.gift = response.data;
|
|
207
|
-
// Backward-compat: older BE responses omit these visibility flags. Treat a
|
|
208
|
-
// missing flag as enabled so the image/text steps still render until the BE
|
|
209
|
-
// that returns them is deployed. Use `??` so an explicit `false` is preserved.
|
|
210
|
-
this.gift.show_texts = this.gift.show_texts ?? true;
|
|
211
|
-
this.gift.show_images = this.gift.show_images ?? true;
|
|
212
|
-
this.gift.show_custom_text = this.gift.show_custom_text ?? true;
|
|
213
|
-
this.gift.show_image_upload = this.gift.show_image_upload ?? true;
|
|
214
213
|
this.senderName = this.gift.sender_name;
|
|
215
214
|
this.disableClass = this.gift?.show_image_upload ? '' : 'pointer-events-none';
|
|
216
215
|
if (!this.gift.show_texts) {
|
|
@@ -226,11 +225,6 @@ const SallaGifting = class {
|
|
|
226
225
|
this.parentClass = 'is-current-step-2';
|
|
227
226
|
this.step2Animated = true;
|
|
228
227
|
}
|
|
229
|
-
else if (!this.gift.show_images) {
|
|
230
|
-
// the slider lays out asynchronously,
|
|
231
|
-
// so an early measurement would pin it too short and overlap the button.
|
|
232
|
-
this.setWrapperHeight(1, 250, 5);
|
|
233
|
-
}
|
|
234
228
|
})
|
|
235
229
|
.catch(e => {
|
|
236
230
|
this.hasError = true;
|
|
@@ -241,6 +235,31 @@ const SallaGifting = class {
|
|
|
241
235
|
skipStep1() {
|
|
242
236
|
return !!this.gift && !this.gift.show_images && !this.gift.show_texts;
|
|
243
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* anime.js writes inline transform/opacity onto the step containers and their
|
|
240
|
+
* `.anime-item` children while transitioning between steps. The modal is only
|
|
241
|
+
* hidden on close (the component is never destroyed), and Stencil never set
|
|
242
|
+
* those inline styles so it won't clear them on re-render. Without this reset,
|
|
243
|
+
* reopening keeps step 2 painted on top (leftover opacity/translate) while the
|
|
244
|
+
* markup is back on step 1 — clicks then fall through to step 1's uploader.
|
|
245
|
+
*/
|
|
246
|
+
resetStepsAnimation() {
|
|
247
|
+
// `.anime-item` children carry no JSX-managed style, so clearing them fully is safe.
|
|
248
|
+
[this.step1Elems, this.step2Elems].forEach(stepEl => {
|
|
249
|
+
stepEl?.querySelectorAll('.anime-item')
|
|
250
|
+
.forEach(item => item.removeAttribute('style'));
|
|
251
|
+
});
|
|
252
|
+
// step 1 container can carry anime leftovers (goToStep1 animates it) and has
|
|
253
|
+
// no JSX-managed style, so a full clear is safe.
|
|
254
|
+
this.step1Elems?.removeAttribute('style');
|
|
255
|
+
// step 2 container is animated by goToStep2 too, but in the skip-step-1 case
|
|
256
|
+
// its style is JSX-managed. Only strip the anime-applied props so we don't
|
|
257
|
+
// fight Stencil's vnode-level style diffing (which would not restore it).
|
|
258
|
+
if (this.step2Elems && !this.skipStep1()) {
|
|
259
|
+
this.step2Elems.style.removeProperty('opacity');
|
|
260
|
+
this.step2Elems.style.removeProperty('transform');
|
|
261
|
+
}
|
|
262
|
+
}
|
|
244
263
|
/**
|
|
245
264
|
*
|
|
246
265
|
* Hide / close the gifting modal window
|
|
@@ -306,7 +325,17 @@ const SallaGifting = class {
|
|
|
306
325
|
if (withValidation && !this.validateStep1()) {
|
|
307
326
|
return;
|
|
308
327
|
}
|
|
309
|
-
|
|
328
|
+
// Pin the wrapper to step 1's current height as an explicit px value first.
|
|
329
|
+
// The wrapper is `auto` on open, and CSS can't transition from `auto` — it
|
|
330
|
+
// would snap (flash straight to the big size). With a px starting point the
|
|
331
|
+
// grow to step 2 animates smoothly, in sync with the slide.
|
|
332
|
+
if (this.stepsWrapper && this.step1Elems) {
|
|
333
|
+
this.stepsWrapper.style.height = `${this.step1Elems.offsetHeight}px`;
|
|
334
|
+
}
|
|
335
|
+
// Step 2 is absolutely positioned, so its height is measurable even while it's
|
|
336
|
+
// translated off-screen. Grow right away (small delay only to flush the pending
|
|
337
|
+
// re-render and let the px start-height paint) so the background expands in sync.
|
|
338
|
+
this.setWrapperHeight(2, 50, 0);
|
|
310
339
|
let stepNextAnime = new anime_es.anime.timeline();
|
|
311
340
|
stepNextAnime.add({
|
|
312
341
|
targets: this.step1Elems.querySelectorAll(`#${this.hostId} .anime-item`),
|
|
@@ -637,8 +666,12 @@ const SallaGifting = class {
|
|
|
637
666
|
this.setWrapperHeight(2, 150, 0);
|
|
638
667
|
return;
|
|
639
668
|
}
|
|
669
|
+
// A preset option from the list sends its id as `text_id`; the custom option
|
|
670
|
+
// sends the typed message as `text`.
|
|
671
|
+
const isCustomText = this.selectedGiftTextOption === 'custom';
|
|
640
672
|
const giftPayload = {
|
|
641
|
-
text: this.selectedText,
|
|
673
|
+
text: isCustomText ? this.selectedText : undefined,
|
|
674
|
+
text_id: !isCustomText && this.selectedGiftTextOption ? Number(this.selectedGiftTextOption) : undefined,
|
|
642
675
|
sender_name: this.senderName,
|
|
643
676
|
quantity: this.quantity,
|
|
644
677
|
deliver_at: this.showCalendar ? this.deliveryDate : null,
|
|
@@ -711,7 +744,7 @@ const SallaGifting = class {
|
|
|
711
744
|
}
|
|
712
745
|
render() {
|
|
713
746
|
return [
|
|
714
|
-
index.h("div", { key: '
|
|
747
|
+
index.h("div", { key: 'b26068c5c6b0c40814e1cb67208afa352b1d913c' }, index.h("salla-list-tile", { key: '22189813371c56f1b66334d826c342d30dade34f', class: this.generateClass() }, index.h("div", { key: '5f9c597b87ab39d591144c4943feba0c775d645b', slot: "title" }, this.vertical ? index.h("span", { innerHTML: giftSharing.SIGiftSharing }) : '', index.h("h3", { key: '4341ea66f7d9a547d919be173476908c5d0f018a' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'f2eb13ddcd7810da368ea35e161addbef1af5ce4', slot: "subtitle" }, index.h("div", { key: '1b69dfbce6b7b7d94bbee4e325d8f65c2b34dcce' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '6a8f526bcbb0a659e028155ce08aec2538e4fff2', slot: "action" }, index.h("salla-button", { key: '5cf31da452a173a487c4ea9dbd1356fd10d3b800', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '4aef407fd0a79b0172f0803a7134bd366ac6b034', name: "widget-btn-content" }, index.h("div", { key: '333273064da0b5071a7a7433ec7626ef00bd9e1e', class: "s-gifting-widget-action-content" }, index.h("span", { key: '913d82d641ed54218f20a76acefca855d1324427', innerHTML: giftSharing.SIGiftSharing }), " \u00A0", index.h("span", { key: 'acc39208f212714bef2c56bd9b5e5c482e3a7122' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '9bceb2e1a4bb4c9880b220d679a0e295ba1ae732', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '0ea0746b7c11c98c8a6d9535771afb3a4681c1c1', slot: "loading" }, index.h("div", { key: '5dcfb9acd127f3cf786b626a1be7e9f27ff7ac31', class: "s-gifting-skeleton" }, index.h("div", { key: 'd5205c53714ca60277a82abce7fb12f0a01dd38d', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'fde7ede398b9edb638ade25677915747855584f2', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '61bb2c36958080e37f83b9bc27ce05db5abb3230', class: "s-gifting-modal-title" }, index.h("div", { key: '10125cb25732100787b118f34a4e323aa215185c', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '2ee525ae05fb6540bc0fdcaa846b14e4a476a297', height: '15px', width: '150px' })))), index.h("div", { key: '8e4544f3bd4a81c961259de27ebf255a998a5e4f', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '237f0961f0748aeef3c5b77819234b3215f794e2', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '19510cb426335b9733ef4a34dc7b8e5bffe0c23c', height: '230px' }), index.h("salla-skeleton", { key: '78defffee0c94e9323ede7e12660ae234d84d019', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '21b800dff2bec3c1caea94115a37153e406eef11', height: '30px' }), index.h("salla-skeleton", { key: 'd8a08143339c184d05758d1497e22ad23cdac4f6', height: '40px' })))), index.h("slot", { key: '9ef7679d02250428236347b5bb4a080b04244a53', name: "header" }), !!this.hasError ?
|
|
715
748
|
index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), index.h("span", { slot: "description" }, " "))
|
|
716
749
|
:
|
|
717
750
|
[
|
|
@@ -722,8 +755,8 @@ const SallaGifting = class {
|
|
|
722
755
|
index.h("salla-slider", { id: "gifting-slider", loop: false, "controls-outer": true, class: "s-gifting-slider", type: "carousel" }, index.h("div", { slot: "items" }, this.gift && this.gift.gift_images ?
|
|
723
756
|
this.gift?.gift_images.map((item) => index.h("a", { class: "s-gifting-clickable s-gifting-image", onClick: () => this.setPreview(item) }, index.h("img", { src: item.url, alt: `${item.id}` }))) : ''))
|
|
724
757
|
: "")), this.gift && this.gift.show_texts ?
|
|
725
|
-
index.h("div", { class: "anime-item" }, index.h("div", { class: "s-gifting-modal-uploader-title s-gifting-text-title" }, this.giftText), index.h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, index.h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, index.h("option", { "data-id": null, selected:
|
|
726
|
-
this.gift?.gift_texts.map((txt) => index.h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', this.gift && this.gift.show_custom_text ? index.h("option", { "data-id": "custom" }, this.giftCustomText) : null)), index.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 }, index.h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), index.h("div", { class: "mt-1" }, index.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, index.h("div", { class: "anime-item" }, index.h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2(!!this.gift?.show_texts) }, index.h("span", null, this.nextStep)))), index.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 }, index.h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), index.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'] ?
|
|
758
|
+
index.h("div", { class: "anime-item" }, index.h("div", { class: "s-gifting-modal-uploader-title s-gifting-text-title" }, this.giftText), index.h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, index.h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, index.h("option", { "data-id": null, selected: !this.selectedGiftTextOption }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
|
|
759
|
+
this.gift?.gift_texts.map((txt) => index.h("option", { "data-id": txt.id, value: txt.text, key: txt.id, selected: String(this.selectedGiftTextOption) === String(txt.id) }, txt.text)) : '', this.gift && this.gift.show_custom_text ? index.h("option", { "data-id": "custom", selected: this.selectedGiftTextOption === 'custom' }, this.giftCustomText) : null)), index.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 }, index.h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), index.h("div", { class: "mt-1" }, index.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, index.h("div", { class: "anime-item" }, index.h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2(!!this.gift?.show_texts) }, index.h("span", null, this.nextStep)))), index.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 }, index.h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), index.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'] ?
|
|
727
760
|
index.h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), index.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'] ?
|
|
728
761
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), index.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'] ?
|
|
729
762
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.isPhysical() &&
|
|
@@ -734,7 +767,7 @@ const SallaGifting = class {
|
|
|
734
767
|
index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), index.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'] ?
|
|
735
768
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
736
769
|
index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo)), !this.isPhysical() && index.h("div", { class: this.step2ItemClass() }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.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) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
|
|
737
|
-
], index.h("slot", { key: '
|
|
770
|
+
], index.h("slot", { key: 'e40029ee1e6fa463711fd088ba05c0edda5dd683', name: "footer" })))
|
|
738
771
|
];
|
|
739
772
|
}
|
|
740
773
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
|
|
8
8
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
9
9
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
7
|
var gift = require('./gift-DbNivqYO.js');
|
|
8
|
-
var trackedPromise = require('./tracked-promise-
|
|
8
|
+
var trackedPromise = require('./tracked-promise-D-gQXgPZ.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "";
|
|
11
11
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-CmPl0fIy.js');
|
|
7
|
+
var functions = require('./functions-C_kzehHT.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
10
10
|
var userAdd = require('./user-add-BCGrddZS.js');
|