@salla.sa/twilight-components 2.14.469 → 2.14.471
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-nQfoJi-g.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-B1zrjwgr.js → filepond-plugin-file-poster-hJ9M3t0L.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BqZtoWbe.js → filepond-plugin-file-validate-size-CgpDoJxO.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BGmGKK9L.js → filepond-plugin-file-validate-type-B2KbrSbZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CYeh6qmG.js → filepond-plugin-image-edit-BkNqlXrL.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BEVpo-ZQ.js → filepond-plugin-image-exif-orientation-P3Zfw8MQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C7MMEZFE.js → filepond-plugin-image-preview-CNXFmZth.js} +1 -1
- package/dist/cjs/{functions-CnBVKKGk.js → functions-B8CHu2z4.js} +1 -1
- package/dist/cjs/{index-BNOCK3IN.js → index-CPhoxBkB.js} +1 -1
- package/dist/cjs/{index-inmL4H71.js → index-GUQS0-Q-.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 +22 -6
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +90 -29
- 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 +3 -3
- 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 +4 -4
- 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-B7zS9VE-.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-DtuN6WGq.js → vanilla-picker-1QrQ9HZi.js} +1 -1
- package/dist/collection/components/salla-breadcrumb/salla-breadcrumb.js +21 -5
- package/dist/collection/components/salla-gifting/salla-gifting.css +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.js +55 -22
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
- package/dist/collection/components/salla-product-options/availability-utils.js +54 -0
- package/dist/collection/components/salla-product-options/salla-product-options.js +40 -29
- package/dist/components/index.js +2 -2
- package/dist/components/salla-breadcrumb.js +21 -5
- package/dist/components/salla-gifting.js +56 -23
- package/dist/components/salla-loyalty-reward.js +1 -1
- package/dist/components/salla-product-options2.js +90 -28
- package/dist/components/salla-reward-card2.js +1 -1
- package/dist/esm/{filepond-D4dDq1wa.js → filepond-Doklzvb6.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CcnsMPSH.js → filepond-plugin-file-poster-BSBF1f0z.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-qgEgRYkk.js → filepond-plugin-file-validate-size-CbaXmA8m.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BuFGnco8.js → filepond-plugin-file-validate-type-FjPelZ0O.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-kS2Sie2d.js → filepond-plugin-image-edit-BmG7tc8Q.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Bjoh_of2.js → filepond-plugin-image-exif-orientation-DhRt-kLt.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-b_VEHHGf.js → filepond-plugin-image-preview-DZ2XM7gt.js} +1 -1
- package/dist/esm/{functions-ISZQDw0y.js → functions-_-9PUSBv.js} +1 -1
- package/dist/esm/{index-CqC4wD_f.js → index-CJ2jUKh4.js} +1 -1
- package/dist/esm/{index-Cqh-ta1v.js → index-Cly9a4nm.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 +22 -6
- package/dist/esm/salla-add-product-button_5.entry.js +90 -29
- 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 +3 -3
- 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 +4 -4
- 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-CdJOz1H_.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-PE31tu9y.js → vanilla-picker-B7uhKtBD.js} +1 -1
- package/dist/twilight/{p-a85d80b5.entry.js → p-005ac762.entry.js} +1 -1
- package/dist/twilight/p-00f3a2ec.entry.js +4 -0
- package/dist/twilight/{p-e06e37c1.entry.js → p-03d28343.entry.js} +1 -1
- package/dist/twilight/{p-71f2ba66.entry.js → p-05266229.entry.js} +1 -1
- package/dist/twilight/{p-74e0d0c2.entry.js → p-05fdfdc9.entry.js} +1 -1
- package/dist/twilight/{p-3b198162.entry.js → p-06a0b408.entry.js} +1 -1
- package/dist/twilight/{p-5701244a.entry.js → p-08d2e056.entry.js} +1 -1
- package/dist/twilight/{p-16c64a38.entry.js → p-0b6d87a5.entry.js} +1 -1
- package/dist/twilight/{p-d823cbcd.entry.js → p-0e9ae0e0.entry.js} +1 -1
- package/dist/twilight/{p-ce0410d5.entry.js → p-130b525c.entry.js} +1 -1
- package/dist/twilight/{p-51c30ec2.entry.js → p-14ca32a2.entry.js} +1 -1
- package/dist/twilight/{p-559bdcca.entry.js → p-16c9b4bd.entry.js} +1 -1
- package/dist/twilight/{p-219b14c4.entry.js → p-1938ad27.entry.js} +1 -1
- package/dist/twilight/{p-5d364fc2.entry.js → p-195589ec.entry.js} +1 -1
- package/dist/twilight/{p-e265d626.entry.js → p-20afc879.entry.js} +1 -1
- package/dist/twilight/{p-d6b6a8ad.entry.js → p-25f7fbc1.entry.js} +1 -1
- package/dist/twilight/{p-d23eeb0c.entry.js → p-288572d0.entry.js} +1 -1
- package/dist/twilight/{p-732bd9fb.entry.js → p-2d235234.entry.js} +1 -1
- package/dist/twilight/{p-f67639df.entry.js → p-39426e43.entry.js} +1 -1
- package/dist/twilight/{p-40eb9556.entry.js → p-39ff606c.entry.js} +1 -1
- package/dist/twilight/{p-227d11a0.entry.js → p-40e2fc5f.entry.js} +1 -1
- package/dist/twilight/{p-0cca1b63.entry.js → p-44abf289.entry.js} +1 -1
- package/dist/twilight/{p-2dbb3b49.entry.js → p-46b4c12f.entry.js} +1 -1
- package/dist/twilight/{p-15b3f969.entry.js → p-47080690.entry.js} +1 -1
- package/dist/twilight/{p-f64168cc.entry.js → p-48e85ee2.entry.js} +1 -1
- package/dist/twilight/{p-77d2312a.entry.js → p-4ba3ebb1.entry.js} +1 -1
- package/dist/twilight/{p-1db8b515.entry.js → p-4d368d57.entry.js} +1 -1
- package/dist/twilight/{p-cee7a8ad.entry.js → p-55b21f9b.entry.js} +1 -1
- package/dist/twilight/{p-49181c4a.entry.js → p-5971669a.entry.js} +1 -1
- package/dist/twilight/{p-1415eb5e.entry.js → p-5b8adb19.entry.js} +1 -1
- package/dist/twilight/{p-3e5a57cc.entry.js → p-5c0d795c.entry.js} +1 -1
- package/dist/twilight/{p-ccd8c960.entry.js → p-5ca57591.entry.js} +1 -1
- package/dist/twilight/{p-8db52fe9.entry.js → p-5fe6ac53.entry.js} +1 -1
- package/dist/twilight/{p-73d9e4c8.entry.js → p-63be9782.entry.js} +1 -1
- package/dist/twilight/{p-5334222c.entry.js → p-654af42c.entry.js} +1 -1
- package/dist/twilight/{p-c6be8afd.entry.js → p-6838ec3a.entry.js} +1 -1
- package/dist/twilight/{p-b7727021.entry.js → p-68fa9305.entry.js} +1 -1
- package/dist/twilight/{p-d63f2cbd.entry.js → p-6ba653dc.entry.js} +1 -1
- package/dist/twilight/{p-32d5d279.entry.js → p-6efce4b0.entry.js} +1 -1
- package/dist/twilight/{p-196fad8d.entry.js → p-72bc753c.entry.js} +1 -1
- package/dist/twilight/{p-4c370853.entry.js → p-7343e9d9.entry.js} +1 -1
- package/dist/twilight/{p-16b64bb5.entry.js → p-7874b654.entry.js} +1 -1
- package/dist/twilight/{p-2ba603bc.entry.js → p-79c2cc3c.entry.js} +1 -1
- package/dist/twilight/{p-93ec294d.entry.js → p-7e4e3e76.entry.js} +1 -1
- package/dist/twilight/{p-b16d8b19.entry.js → p-7ee71548.entry.js} +1 -1
- package/dist/twilight/p-7efa0246.entry.js +4 -0
- package/dist/twilight/{p-1c0f9fd9.entry.js → p-820ee5fe.entry.js} +1 -1
- package/dist/twilight/{p-fd180bd3.entry.js → p-821fd8c1.entry.js} +1 -1
- package/dist/twilight/{p-79c20964.entry.js → p-84207e00.entry.js} +1 -1
- package/dist/twilight/{p-798fb3c7.entry.js → p-86469c65.entry.js} +1 -1
- package/dist/twilight/{p-14a3277b.entry.js → p-8aca6bc0.entry.js} +1 -1
- package/dist/twilight/{p-36884c05.entry.js → p-8c404dbf.entry.js} +1 -1
- package/dist/twilight/{p-aec0a2df.entry.js → p-8d26f80c.entry.js} +1 -1
- package/dist/twilight/p-8e121e7c.entry.js +4 -0
- package/dist/twilight/{p-b6c0aa79.entry.js → p-92961807.entry.js} +1 -1
- package/dist/twilight/{p-38a791cb.entry.js → p-96825a64.entry.js} +1 -1
- package/dist/twilight/{p-8bcc3b86.entry.js → p-98f0f411.entry.js} +1 -1
- package/dist/twilight/p-99b127fa.entry.js +4 -0
- package/dist/twilight/{p-e0671ff1.entry.js → p-9b7ad2bd.entry.js} +1 -1
- package/dist/twilight/{p-78ff445c.entry.js → p-9ddfdc65.entry.js} +1 -1
- package/dist/twilight/{p-5fxCpxw5.js → p-BUcuXVwN.js} +1 -1
- package/dist/twilight/{p-CUfwD9kr.js → p-BpiX36Sb.js} +1 -1
- package/dist/twilight/{p-B0uENqSF.js → p-C-NwbNqh.js} +1 -1
- package/dist/twilight/p-CWrfZ9Qs.js +9 -0
- package/dist/twilight/{p-7FtjQghq.js → p-CXgdON62.js} +1 -1
- package/dist/twilight/{p-dKdk2xpB.js → p-CkxoydBy.js} +1 -1
- package/dist/twilight/{p-Cqh-ta1v.js → p-Cly9a4nm.js} +1 -1
- package/dist/twilight/{p-yyvPGK6r.js → p-D3bGV5Yn.js} +2 -2
- package/dist/twilight/{p-m2p-QAbu.js → p-DGWMOt94.js} +1 -1
- package/dist/twilight/{p-DZ18vMT2.js → p-DhE0-1Aj.js} +1 -1
- package/dist/twilight/{p-a918b812.entry.js → p-a47dccd1.entry.js} +1 -1
- package/dist/twilight/{p-681f8874.entry.js → p-a74197ee.entry.js} +1 -1
- package/dist/twilight/{p-d8f22e4b.entry.js → p-a900af64.entry.js} +1 -1
- package/dist/twilight/{p-7e185acf.entry.js → p-aae74199.entry.js} +1 -1
- package/dist/twilight/{p-badf4c9d.entry.js → p-af970c82.entry.js} +1 -1
- package/dist/twilight/{p-9785f314.entry.js → p-b07f1925.entry.js} +1 -1
- package/dist/twilight/{p-b295c1f1.entry.js → p-b0f0d7bc.entry.js} +1 -1
- package/dist/twilight/{p-dc8555bf.entry.js → p-b555a4aa.entry.js} +1 -1
- package/dist/twilight/{p-31bd852c.entry.js → p-b8b3c0fc.entry.js} +1 -1
- package/dist/twilight/{p-6e723d46.entry.js → p-b96e442c.entry.js} +1 -1
- package/dist/twilight/{p-J_27I63T.js → p-b9tXSwoW.js} +1 -1
- package/dist/twilight/{p-C3kw3FEZ.js → p-bo_zr0My.js} +1 -1
- package/dist/twilight/{p-6b6f9822.entry.js → p-c184157a.entry.js} +1 -1
- package/dist/twilight/{p-dca3b67e.entry.js → p-c5613717.entry.js} +1 -1
- package/dist/twilight/p-c5f3b4e2.entry.js +4 -0
- package/dist/twilight/{p-3d517178.entry.js → p-c992256d.entry.js} +1 -1
- package/dist/twilight/{p-9a3f27e9.entry.js → p-c9b37b12.entry.js} +1 -1
- package/dist/twilight/{p-7afe6e1a.entry.js → p-cdb0e80a.entry.js} +1 -1
- package/dist/twilight/p-d07ee0d6.entry.js +4 -0
- package/dist/twilight/{p-6590acee.entry.js → p-d7f528c7.entry.js} +1 -1
- package/dist/twilight/{p-06372aeb.entry.js → p-dab62284.entry.js} +1 -1
- package/dist/twilight/{p-19fe2b27.entry.js → p-db2d9d1c.entry.js} +1 -1
- package/dist/twilight/{p-4ee20a54.entry.js → p-e12da840.entry.js} +1 -1
- package/dist/twilight/{p-32a7cb85.entry.js → p-eb767e28.entry.js} +1 -1
- package/dist/twilight/{p-4b20872a.entry.js → p-ef345c2c.entry.js} +1 -1
- package/dist/twilight/{p-f0e96875.entry.js → p-f2d0b9d1.entry.js} +1 -1
- package/dist/twilight/{p-8b538bd7.entry.js → p-f5969e58.entry.js} +1 -1
- package/dist/twilight/{p-6d23fd92.entry.js → p-f6435c3c.entry.js} +1 -1
- package/dist/twilight/{p-17920aa7.entry.js → p-f9c1c247.entry.js} +1 -1
- package/dist/twilight/{p-d0c8435f.entry.js → p-fa0ebde1.entry.js} +1 -1
- package/dist/twilight/p-fbf4cb19.entry.js +4 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-breadcrumb/salla-breadcrumb.d.ts +1 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +9 -0
- package/dist/types/components/salla-product-options/availability-utils.d.ts +19 -0
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-054c9462.entry.js +0 -4
- package/dist/twilight/p-06c06719.entry.js +0 -4
- package/dist/twilight/p-0c7efc0b.entry.js +0 -4
- package/dist/twilight/p-293a6d6b.entry.js +0 -4
- package/dist/twilight/p-4a81a708.entry.js +0 -4
- package/dist/twilight/p-61ad2660.entry.js +0 -4
- package/dist/twilight/p-DyQ5MH6F.js +0 -9
- package/dist/twilight/p-dbdbb882.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-GUQS0-Q-.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-GUQS0-Q-.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-1QrQ9HZi.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-nQfoJi-g.js'); }).then(function (n) { return n.filepond; }),
|
|
842
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-CgpDoJxO.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
843
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-P3Zfw8MQ.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
844
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-CNXFmZth.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
845
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-BkNqlXrL.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
846
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-B2KbrSbZ.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
847
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-hJ9M3t0L.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-CPhoxBkB.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.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-GUQS0-Q-.js');
|
|
7
7
|
var gift = require('./gift-DbNivqYO.js');
|
|
8
|
-
var trackedPromise = require('./tracked-promise-
|
|
8
|
+
var trackedPromise = require('./tracked-promise-B7zS9VE-.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-GUQS0-Q-.js');
|
|
7
|
+
var functions = require('./functions-B8CHu2z4.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');
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-GUQS0-Q-.js');
|
|
7
|
+
var functions = require('./functions-B8CHu2z4.js');
|
|
8
8
|
var star2 = require('./star2-R146a27p.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
10
10
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
11
11
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
12
12
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
13
|
-
var trackedPromise = require('./tracked-promise-
|
|
13
|
+
var trackedPromise = require('./tracked-promise-B7zS9VE-.js');
|
|
14
14
|
|
|
15
15
|
var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
|
|
16
16
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-GUQS0-Q-.js');
|
|
7
7
|
|
|
8
8
|
var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
9
|
<path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-GUQS0-Q-.js');
|
|
7
|
+
var functions = require('./functions-B8CHu2z4.js');
|
|
8
8
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
9
9
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
10
10
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
11
11
|
var userAdd = require('./user-add-BCGrddZS.js');
|
|
12
12
|
var giftSharing = require('./gift-sharing-BE0uszUm.js');
|
|
13
|
-
var trackedPromise = require('./tracked-promise-
|
|
13
|
+
var trackedPromise = require('./tracked-promise-B7zS9VE-.js');
|
|
14
14
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
15
15
|
|
|
16
16
|
var SICartUpload = `<!-- Generated by IcoMoon.io -->
|
|
@@ -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-GUQS0-Q-.js');
|
|
7
|
+
var functions = require('./functions-B8CHu2z4.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -42,7 +42,7 @@ const SallaLoyaltyReward = class {
|
|
|
42
42
|
return (index.h("div", { key: 'c99714fbefea9c43a199201d6e9d331ed4b50e7f', class: {
|
|
43
43
|
's-loyalty-program-reward-container': true,
|
|
44
44
|
's-loyalty-program-reward-xs': this.size === 'xs',
|
|
45
|
-
} }, index.h("div", { key: 'b3139a4325629e3e23b09096b96fbb9079ebb4f5', onClick: this.handleActionArea, role: "button" }, index.h("div", { key: '8d2951399db70f2672619149583d3821429611fa', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'd03e024172b99a72fdeb311e24f91d9ca11b69a1', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), index.h("div", { key: '23901c0a96c9af1ae459d5bbcad0f4429933225b', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '795743061efd1270a1a24eceb66f67e2bbb9eb1e', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '83545f69e513a563dfaef7bb107ae119656406a0', size: "xs" }, index.h("span", { key: '28751b88c77af1acfb746f58f55f4b84f2364141', innerHTML: gift.SIGift }), index.h("span", { key: '
|
|
45
|
+
} }, index.h("div", { key: 'b3139a4325629e3e23b09096b96fbb9079ebb4f5', onClick: this.handleActionArea, role: "button" }, index.h("div", { key: '8d2951399db70f2672619149583d3821429611fa', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'd03e024172b99a72fdeb311e24f91d9ca11b69a1', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), index.h("div", { key: '23901c0a96c9af1ae459d5bbcad0f4429933225b', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '795743061efd1270a1a24eceb66f67e2bbb9eb1e', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '83545f69e513a563dfaef7bb107ae119656406a0', size: "xs" }, index.h("span", { key: '28751b88c77af1acfb746f58f55f4b84f2364141', innerHTML: gift.SIGift }), index.h("span", { key: '8f54d363299656788211e19299f666596694be77', class: "s-loyalty-program-rewards-points", innerHTML: salla.lang.choice('pages.loyalty_program.points', this.prize.cost_points) }))), index.h("div", { key: '89abc08dc391219c6c2a2fad15cb1e02b0b26472', class: "s-loyalty-program-reward-title" }, index.h("span", { key: '8908db983e49adacf9ba6d7adb9ad941ffc57d09' }, this.group)), index.h("div", { key: '2715999ae9c1e473762fb463cf8e52c42f746c77', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'e0a81d6e9aeebcb6671203f51429d614fc80c78b', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), index.h("div", { key: 'f87feb0a81be86687bd4bf746807c45860f47224', class: "p-4" }, index.h("button", { key: '43e294b3b2f6caaccf3eea24c77d47513e129172', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
|
|
46
46
|
's-loyalty-program-rewards-action-base': true,
|
|
47
47
|
's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
|
|
48
48
|
's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),
|