@salla.sa/twilight-components 3.0.23 → 3.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Helper-D7ZKv2vD.js → Helper-BSFw7uVh.js} +1 -1
- package/dist/cjs/{filepond-CgF0UCyN.js → filepond-DzJcpvBM.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-De2yzkk2.js → filepond-plugin-file-poster-BILkbyw_.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-TEJXuY0m.js → filepond-plugin-file-validate-size-DIJUAZji.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CB3OKB9j.js → filepond-plugin-file-validate-type-4lpOf3hf.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-gQ02gAQb.js → filepond-plugin-image-edit-DtE3Wj_4.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-B-gcb-0a.js → filepond-plugin-image-exif-orientation-Dc_jwifJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-D6yQ6Ge9.js → filepond-plugin-image-preview-D_8qt0dd.js} +1 -1
- package/dist/cjs/{index-HxqdY5S_.js → index-D0d25H-r.js} +6 -6
- package/dist/cjs/{intlTelInput-BdzLlitA.js → intlTelInput-DqmuleM6.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-applied-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +89 -7
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +5 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.cjs.entry.js +2 -2
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +628 -19
- 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 +2 -2
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-free-shipping-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-free-shipping-tag.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gift-card-redeem_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.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-mobile-update-modal.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 +8 -1
- package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-cancel.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-items.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-payment.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-rewards.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.cjs.entry.js +2 -11
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +2 -2
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card.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 +2 -2
- package/dist/cjs/salla-products-slider.cjs.entry.js +2 -2
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +2 -2
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-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-thank-you-header.cjs.entry.js +1 -1
- package/dist/cjs/salla-thank-you-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.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/salla-wishlist-summary.cjs.entry.js +2 -2
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CwkSfjkN.js → vanilla-picker-DP9Hy8IR.js} +1 -1
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +44 -6
- package/dist/collection/components/salla-cart-item-offers/salla-cart-item-offers.js +4 -0
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.css +139 -0
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +568 -14
- package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.js +7 -0
- package/dist/collection/components/salla-order-shipments/salla-order-shipments.js +1 -10
- package/dist/collection/shared/cart-free-gifts.js +42 -1
- package/dist/collection/shared/coupons-request.js +47 -0
- package/dist/collection/shared/offer-stages.js +22 -3
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-coupons.js +88 -6
- package/dist/components/salla-cart-item-offers.js +4 -0
- package/dist/components/salla-conditional-offer.js +631 -18
- package/dist/components/salla-next-order-coupon.js +7 -0
- package/dist/components/salla-order-shipments.js +1 -10
- package/dist/docs.json +2 -2
- package/dist/esm/{Helper-D0RzyeI1.js → Helper-DmnUAusv.js} +1 -1
- package/dist/esm/{filepond-CLk9FTOP.js → filepond-DZbzdjkK.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-B4S2eO6Q.js → filepond-plugin-file-poster-D9cjvoj-.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DVKiwMoA.js → filepond-plugin-file-validate-size-D-kjllC-.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Be_jLxLc.js → filepond-plugin-file-validate-type-D9hsNaJl.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-D82X0TVT.js → filepond-plugin-image-edit-CDHAxJY8.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation--N2kKQ_T.js → filepond-plugin-image-exif-orientation-BGKiclwK.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CrMEZ16K.js → filepond-plugin-image-preview-BUjvnt8G.js} +1 -1
- package/dist/esm/{index-Dlr254cS.js → index-ze9e0dxM.js} +6 -6
- package/dist/esm/{intlTelInput-E_2akM-H.js → intlTelInput-BkYRB6km.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +2 -2
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-applied-filters.entry.js +2 -2
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +11 -11
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +89 -7
- package/dist/esm/salla-cart-item-offers_2.entry.js +5 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.entry.js +2 -2
- package/dist/esm/salla-conditional-offer.entry.js +628 -19
- 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 +2 -2
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-free-shipping-banner.entry.js +1 -1
- package/dist/esm/salla-free-shipping-tag.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gift-card-redeem_2.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +2 -2
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.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-mobile-update-modal.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 +8 -1
- package/dist/esm/salla-notification-item_2.entry.js +2 -2
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-cancel.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-items.entry.js +1 -1
- package/dist/esm/salla-order-options-modal.entry.js +1 -1
- package/dist/esm/salla-order-payment.entry.js +1 -1
- package/dist/esm/salla-order-rewards.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +2 -11
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +2 -2
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +2 -2
- package/dist/esm/salla-products-slider.entry.js +2 -2
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +2 -2
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search-product-card.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-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-thank-you-header.entry.js +1 -1
- package/dist/esm/salla-thank-you-page.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.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/salla-wishlist-summary.entry.js +2 -2
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-C2sRN_ke.js → vanilla-picker-CxhuwWDi.js} +1 -1
- package/dist/twilight/{p-e28d6181.entry.js → p-008740fe.entry.js} +1 -1
- package/dist/twilight/{p-29579fd5.entry.js → p-024ecda2.entry.js} +1 -1
- package/dist/twilight/{p-7f1b77dd.entry.js → p-02b7dfcc.entry.js} +1 -1
- package/dist/twilight/{p-884e112e.entry.js → p-03b2df97.entry.js} +1 -1
- package/dist/twilight/{p-50ebbec7.entry.js → p-07e581af.entry.js} +1 -1
- package/dist/twilight/{p-cfcc7537.entry.js → p-08be494e.entry.js} +1 -1
- package/dist/twilight/{p-dfecf2f7.entry.js → p-0c022fbd.entry.js} +1 -1
- package/dist/twilight/{p-479b64ef.entry.js → p-0c0b2b36.entry.js} +1 -1
- package/dist/twilight/{p-a56a1415.entry.js → p-0fd15433.entry.js} +1 -1
- package/dist/twilight/{p-d169c4cc.entry.js → p-11eb8675.entry.js} +1 -1
- package/dist/twilight/{p-4dd12d0a.entry.js → p-12a52f1b.entry.js} +1 -1
- package/dist/twilight/{p-c3d025f6.entry.js → p-16e2a110.entry.js} +1 -1
- package/dist/twilight/{p-f643db36.entry.js → p-1ca39f1c.entry.js} +1 -1
- package/dist/twilight/{p-3f95569b.entry.js → p-20949dfb.entry.js} +1 -1
- package/dist/twilight/{p-d36dc785.entry.js → p-2aa9147c.entry.js} +1 -1
- package/dist/twilight/{p-232e01e7.entry.js → p-2dcd24fe.entry.js} +1 -1
- package/dist/twilight/{p-cf3d4b03.entry.js → p-331003bc.entry.js} +1 -1
- package/dist/twilight/{p-7f297fe9.entry.js → p-37b64e36.entry.js} +1 -1
- package/dist/twilight/{p-d3c84d52.entry.js → p-3a2ff4d6.entry.js} +1 -1
- package/dist/twilight/{p-0f3ce271.entry.js → p-3ec3e9fb.entry.js} +1 -1
- package/dist/twilight/{p-dcb37ec6.entry.js → p-446e3f38.entry.js} +1 -1
- package/dist/twilight/{p-c7d32612.entry.js → p-455a4702.entry.js} +1 -1
- package/dist/twilight/{p-3b465776.entry.js → p-45a7d444.entry.js} +1 -1
- package/dist/twilight/{p-449a8200.entry.js → p-474d882c.entry.js} +1 -1
- package/dist/twilight/{p-53edf4ac.entry.js → p-47c79c49.entry.js} +1 -1
- package/dist/twilight/{p-9cbb4591.entry.js → p-4c191ab4.entry.js} +1 -1
- package/dist/twilight/{p-a2509beb.entry.js → p-4cf81a44.entry.js} +1 -1
- package/dist/twilight/{p-b7f5bf7f.entry.js → p-4ec15515.entry.js} +1 -1
- package/dist/twilight/{p-d34de754.entry.js → p-519cf4c2.entry.js} +1 -1
- package/dist/twilight/{p-e2af5853.entry.js → p-57fafaba.entry.js} +1 -1
- package/dist/twilight/{p-11174a7f.entry.js → p-59694c45.entry.js} +1 -1
- package/dist/twilight/{p-f50a3d12.entry.js → p-5b118b5b.entry.js} +1 -1
- package/dist/twilight/{p-beebd25b.entry.js → p-5ceda3d5.entry.js} +1 -1
- package/dist/twilight/{p-44826102.entry.js → p-5d8937c5.entry.js} +1 -1
- package/dist/twilight/{p-b3673a47.entry.js → p-5e0f85ae.entry.js} +1 -1
- package/dist/twilight/{p-57010429.entry.js → p-5f9d87ec.entry.js} +1 -1
- package/dist/twilight/{p-6f4a5f08.entry.js → p-61b98119.entry.js} +1 -1
- package/dist/twilight/{p-12845768.entry.js → p-67cf7454.entry.js} +1 -1
- package/dist/twilight/{p-92782ec3.entry.js → p-6d6b99fe.entry.js} +1 -1
- package/dist/twilight/{p-45250f93.entry.js → p-71ce8e4f.entry.js} +1 -1
- package/dist/twilight/{p-e9d32f2b.entry.js → p-73649c81.entry.js} +1 -1
- package/dist/twilight/{p-ba40d16a.entry.js → p-75ad7f14.entry.js} +1 -1
- package/dist/twilight/{p-6ac44557.entry.js → p-75f7f1d8.entry.js} +1 -1
- package/dist/twilight/{p-80fd5011.entry.js → p-770142fe.entry.js} +1 -1
- package/dist/twilight/{p-affd80ef.entry.js → p-7731e280.entry.js} +1 -1
- package/dist/twilight/p-776f9492.entry.js +4 -0
- package/dist/twilight/{p-85e251dc.entry.js → p-7790a9a1.entry.js} +1 -1
- package/dist/twilight/p-78c04993.entry.js +4 -0
- package/dist/twilight/p-792494c8.entry.js +4 -0
- package/dist/twilight/{p-ed419d9f.entry.js → p-7a985fe3.entry.js} +1 -1
- package/dist/twilight/{p-99b50412.entry.js → p-7fffa509.entry.js} +1 -1
- package/dist/twilight/{p-805e7435.entry.js → p-8077d8b6.entry.js} +1 -1
- package/dist/twilight/{p-abe8eb3e.entry.js → p-830abcc1.entry.js} +1 -1
- package/dist/twilight/{p-4a874f3c.entry.js → p-89598ad3.entry.js} +1 -1
- package/dist/twilight/p-8b0b6bca.entry.js +4 -0
- package/dist/twilight/p-8d096f95.entry.js +4 -0
- package/dist/twilight/{p-8174d52f.entry.js → p-8d3c5d1f.entry.js} +1 -1
- package/dist/twilight/{p-f16b4066.entry.js → p-93571975.entry.js} +1 -1
- package/dist/twilight/{p-27cf397c.entry.js → p-97c5b11d.entry.js} +1 -1
- package/dist/twilight/{p-738d448e.entry.js → p-97fa91db.entry.js} +1 -1
- package/dist/twilight/{p-9f99720f.entry.js → p-9a2567e2.entry.js} +1 -1
- package/dist/twilight/p-9acfe389.entry.js +4 -0
- package/dist/twilight/{p-965cd6db.entry.js → p-9dd7cf71.entry.js} +1 -1
- package/dist/twilight/{p-ec044c15.entry.js → p-9fe5c0f5.entry.js} +1 -1
- package/dist/twilight/{p-D-sz1Kxb.js → p-B8nGVDvQ.js} +1 -1
- package/dist/twilight/{p-BwHQ1q5j.js → p-BjUh9YCs.js} +1 -1
- package/dist/twilight/{p-xUW2rh4u.js → p-BlPdaFn2.js} +1 -1
- package/dist/twilight/{p-Dpj_5kRc.js → p-BpJsOjKP.js} +1 -1
- package/dist/twilight/{p-CrWhtWBj.js → p-C9ldyQUq.js} +1 -1
- package/dist/twilight/{p-4aJjS7cx.js → p-CICtuB_u.js} +1 -1
- package/dist/twilight/{p-Dyk5c-z9.js → p-CNQaYCUJ.js} +1 -1
- package/dist/twilight/{p-BfIR6xlw.js → p-DOUAavek.js} +1 -1
- package/dist/twilight/{p-bc8d3957.entry.js → p-a1a650ab.entry.js} +1 -1
- package/dist/twilight/{p-7548d271.entry.js → p-a7566af2.entry.js} +1 -1
- package/dist/twilight/{p-787a4a1c.entry.js → p-a7849674.entry.js} +1 -1
- package/dist/twilight/{p-49c353c9.entry.js → p-a865995d.entry.js} +1 -1
- package/dist/twilight/{p-7c2c9437.entry.js → p-b297fe2e.entry.js} +1 -1
- package/dist/twilight/{p-47e90d17.entry.js → p-b6098938.entry.js} +1 -1
- package/dist/twilight/{p-f4137bdf.entry.js → p-b71673ee.entry.js} +1 -1
- package/dist/twilight/{p-94293309.entry.js → p-bb137dbb.entry.js} +1 -1
- package/dist/twilight/{p-64cefedc.entry.js → p-bd06c200.entry.js} +1 -1
- package/dist/twilight/{p-30f684ca.entry.js → p-be8c42f1.entry.js} +1 -1
- package/dist/twilight/{p-7f5e1513.entry.js → p-bf5b5f52.entry.js} +1 -1
- package/dist/twilight/{p-5ee8e1d9.entry.js → p-bf65d2fa.entry.js} +1 -1
- package/dist/twilight/{p-c724e583.entry.js → p-c0301e00.entry.js} +1 -1
- package/dist/twilight/{p-42556e74.entry.js → p-c122e9c1.entry.js} +1 -1
- package/dist/twilight/{p-3c0ae33e.entry.js → p-c6f09614.entry.js} +1 -1
- package/dist/twilight/{p-5fd4d2a8.entry.js → p-cb961f05.entry.js} +1 -1
- package/dist/twilight/{p-4f336fb5.entry.js → p-cbd056ba.entry.js} +1 -1
- package/dist/twilight/{p-062063b2.entry.js → p-cdeaf60b.entry.js} +1 -1
- package/dist/twilight/{p-NCszeo4N.js → p-cykIAOlk.js} +1 -1
- package/dist/twilight/{p-d9c049a6.entry.js → p-d089ac6d.entry.js} +1 -1
- package/dist/twilight/{p-c7364f66.entry.js → p-d2396143.entry.js} +1 -1
- package/dist/twilight/{p-d1ddef43.entry.js → p-d300a117.entry.js} +1 -1
- package/dist/twilight/{p-7a1ff06b.entry.js → p-d61298f8.entry.js} +1 -1
- package/dist/twilight/{p-df77bb1c.entry.js → p-d89328d7.entry.js} +1 -1
- package/dist/twilight/p-da0349f9.entry.js +4 -0
- package/dist/twilight/{p-d356a745.entry.js → p-da60995f.entry.js} +1 -1
- package/dist/twilight/{p-0e81f2c8.entry.js → p-dbb4db25.entry.js} +1 -1
- package/dist/twilight/{p-2bdae257.entry.js → p-dceb3725.entry.js} +1 -1
- package/dist/twilight/{p-5778ec88.entry.js → p-de10d0c3.entry.js} +1 -1
- package/dist/twilight/p-dfde387f.entry.js +4 -0
- package/dist/twilight/{p-3420bcd9.entry.js → p-e23b84bf.entry.js} +1 -1
- package/dist/twilight/{p-08b48300.entry.js → p-e3dd9502.entry.js} +1 -1
- package/dist/twilight/{p-58653a8d.entry.js → p-e849f5ef.entry.js} +1 -1
- package/dist/twilight/{p-88581a27.entry.js → p-ed96c703.entry.js} +1 -1
- package/dist/twilight/{p-f55fa716.entry.js → p-f054cf8e.entry.js} +1 -1
- package/dist/twilight/{p-b57f4dd9.entry.js → p-f23ada45.entry.js} +1 -1
- package/dist/twilight/{p-cc80fe0a.entry.js → p-f7c06bee.entry.js} +1 -1
- package/dist/twilight/{p-b9effddb.entry.js → p-f9dd6b3e.entry.js} +1 -1
- package/dist/twilight/{p-6cc7155b.entry.js → p-fb955257.entry.js} +1 -1
- package/dist/twilight/{p-886fec5f.entry.js → p-ffc7f526.entry.js} +1 -1
- package/dist/twilight/{p-gn30Eq58.js → p-wYYV5ykR.js} +1 -1
- package/dist/twilight/{p-Dlr254cS.js → p-ze9e0dxM.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +11 -0
- package/dist/types/components/salla-conditional-offer/interfaces.d.ts +36 -0
- package/dist/types/components/salla-conditional-offer/salla-conditional-offer.d.ts +182 -3
- package/dist/types/components/salla-order-shipments/salla-order-shipments.d.ts +0 -1
- package/dist/types/shared/cart-free-gifts.d.ts +26 -0
- package/dist/types/shared/coupons-request.d.ts +3 -0
- package/dist/types/shared/offer-stages.d.ts +6 -1
- package/package.json +5 -5
- package/dist/twilight/p-057f7c41.entry.js +0 -4
- package/dist/twilight/p-1a7e2b8b.entry.js +0 -4
- package/dist/twilight/p-3dc7dfdb.entry.js +0 -4
- package/dist/twilight/p-9393c067.entry.js +0 -4
- package/dist/twilight/p-e50f9afa.entry.js +0 -4
- package/dist/twilight/p-e9a506e6.entry.js +0 -4
- package/dist/twilight/p-f106168e.entry.js +0 -4
- package/dist/twilight/p-f3507d9c.entry.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as
|
|
4
|
+
import{r as t,h as e,H as s,a}from"./p-ze9e0dxM.js";const i=class{constructor(e){t(this,e),this.exclude=[]}componentWillLoad(){return salla.onReady().then((()=>{if("string"==typeof this.exclude)try{this.exclude=JSON.parse(this.exclude)}catch(t){salla.logger.error("salla-payments:: failed to parse the exclude props!",this.exclude),this.exclude=[]}this.paymentSlot=this.host.querySelector('[slot="payment"]')?.innerHTML||'<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="{payment}" /></li>',this.sbcSlot=this.host.querySelector('[slot="sbc"]')?.innerHTML||'<li class="s-payments-list-item"><a target="_blank" href="{link}"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" class="s-payments-sbc-image" alt="SBC" /></a></li>',this.codSlot=this.host.querySelector('[slot="cod"]')?.innerHTML||'<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="COD" /></li>',this.payments=salla.config.get("store.settings.payments")}))}paymentLogo(t){const e=`images/payment/${t}_mini.png`;return i.NEW_CDN_LOGOS.includes(t)?salla.url.assetsCdn(e,58,58):salla.url.cdn(e,58,58)}render(){const t=!this.exclude.includes("made-in-ksa")&&salla.config.get("store.settings.made_in_ksa"),a=this.exclude.includes("sbc")?null:salla.config.get("store.settings.certificate.id");return e(s,{key:"eb0b16a8d95d7e82b023c852054ca16501102aba",class:"s-payments-list-wrap"},e("ul",{key:"498d19f83e1a7e1f27f6e03b2f93d58b8889a07a",class:"s-payments-list"},t&&e("li",{key:"ec226e4668a634a1886caba6a0dbe62ba87a36c3",class:"s-payments-list-item"},e("img",{key:"a5d5716201bb62dd7de8295923a79d3a596b0a90",width:58,height:58,decoding:"async",loading:"lazy",src:salla.url.cdn("images/made-in-ksa.svg",58,58),alt:"made in KSA certified"})),this.payments.filter((t=>!this.exclude.includes(t))).map((t=>e("div","cod"==t?{id:"cod-slot",innerHTML:this.codSlot.replace(/\{image\}/g,this.paymentLogo("cod"))}:{id:"payment-slot",innerHTML:this.paymentSlot.replace(/\{image\}/g,this.paymentLogo(t)).replace(/\{payment\}/g,t)}))),a&&e("div",{key:"dac8e679a47767b558a92a1832d9a849e2618ab1",id:"sbc-slot",innerHTML:this.sbcSlot.replace(/\{image\}/g,salla.url.cdn("images/sbc.png",58,58)).replace(/\{link\}/g,`https://eauthenticate.saudibusiness.gov.sa/certificate-details/${a}`)})))}componentDidLoad(){this.auditTrustBadge()}auditTrustBadge(){if(i.audited||"undefined"==typeof IntersectionObserver)return;if(!this.host.closest("footer"))return;if("SA"!==salla.config.get("store.store_country"))return;if("index"!==salla.config.get("page.slug"))return;if("live"!==salla.config.get("theme.mode")||window.self!==window.top)return;if(!salla.config.get("store.settings.commercial_number")&&!salla.config.get("store.settings.freelance_number"))return;let t=!1;const e=()=>{"visible"!==document.visibilityState&&(t=!0)},s=t=>{const e=t.checkVisibility;if("function"!=typeof e)return!0;const s={contentVisibilityAuto:!0,visibilityProperty:!0};if(!e.call(t,s))return!1;if(e.call(t,{...s,opacityProperty:!0}))return!0;const a=t.getBoundingClientRect();return!(a.bottom>0&&a.right>0&&a.top<window.innerHeight&&a.left<window.innerWidth)},a=()=>{if(e(),t)return null;if(salla.config.isMobileApp())return null;const a=Array.from(document.querySelectorAll("salla-trust-badges"));return a.length?a.some((t=>!t.classList.contains("hydrated")))||a.some(s)?null:"hidden":"absent"},n=new IntersectionObserver((t=>{if(i.audited||!t.some((t=>t.isIntersecting)))return;i.audited=!0,n.disconnect(),e(),document.addEventListener("visibilitychange",e);const s=()=>document.removeEventListener("visibilitychange",e);setTimeout((()=>{a()?setTimeout((async()=>{const t=a();if(s(),t&&!salla.storage.getWithTTL("salla::tb-audit"))try{await(salla.analytics?.log("salla::trust-badges.hidden",{store_id:salla.config.get("store.id"),store_username:salla.config.get("store.username"),theme_id:salla.config.get("theme.name"),page_slug:salla.config.get("page.slug"),cause:t})),salla.storage.setWithTTL("salla::tb-audit",!0,1440)}catch(t){salla.logger.error("salla-payments:: failed to report a hidden trust badge",t)}}),2e3):s()}),4e3)}),{threshold:.5});n.observe(this.host)}componentDidRender(){this.host.querySelectorAll("#payment-slot").forEach((t=>t.replaceWith(t.firstChild))),this.host.querySelectorAll("#sbc-slot").forEach((t=>t.replaceWith(t.firstChild))),this.host.querySelectorAll("#cod-slot").forEach((t=>t.replaceWith(t.firstChild))),this.host.querySelector('[slot="payment"]')?.remove(),this.host.querySelector('[slot="sbc"]')?.remove(),this.host.querySelector('[slot="cod"]')?.remove()}get host(){return a(this)}};i.NEW_CDN_LOGOS=["tabby_installment","emkan_installment","benefit","qpay","omannet","deema_installment"],i.audited=!1,i.style='/*!twlt*/:host{display:block}.visible{visibility:visible}.static{position:static}.hidden{display:none}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-payments-list{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:0.5rem}.s-payments-list:where([dir="rtl"],[dir="rtl"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-payments-list-item{display:flex;height:2rem;width:3rem;align-items:center;justify-content:center;border-radius:var(--s-radius, 0.25rem);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.25rem}.s-payments-list-item img{max-height:100%;object-fit:contain}.s-payments-sbc-image{height:1.5rem;border-radius:0.125rem;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-payments-sbc-image:hover{opacity:0.8}';export{i as salla_payments}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as a,H as l,a as r}from"./p-
|
|
4
|
+
import{r as t,h as a,H as l,a as r}from"./p-ze9e0dxM.js";const i=class{constructor(a){t(this,a),this.alertDelay=null,this.data=salla.config.get("store.app_install_prompt"),this.open=!1,this.closing=!1}connectedCallback(){salla.onReady((()=>{if(this.data=salla.config.get("store.app_install_prompt"),this.isMobileOrTabletDevice()){if(!this.data)return salla.logger.error("Failed to retrieve salla-app-install-alert config");this.ctaLink=salla.url.get("app"),this.alertDelay=setTimeout((()=>this.open=!0),3e3)}}))}disconnectedCallback(){clearTimeout(this.alertDelay)}isMobileOrTabletDevice(t=1024){if("undefined"==typeof window||"undefined"==typeof navigator||"undefined"==typeof document)return!1;const a=window.matchMedia(`(max-width: ${t}px)`).matches,l=/Macintosh|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),r="ontouchstart"in window||"ontouchend"in document||navigator.maxTouchPoints>0;return l&&a&&r}closeAlert(){salla.storage.set("app_install_prompt_disabled",!0),this.closing=!0,this.host.addEventListener("animationend",(()=>{this.closing=!1,this.open=!1}),{once:!0})}shouldShowAlert(){return!salla.config.isMobileApp()}render(){return this.data&&this.shouldShowAlert()?a(l,{class:`s-app-install-alert-wrapper ${this.open?"open":""} ${this.closing?"closing":""}`,position:this.data.position},a("div",null,a("img",{src:this.data.icon,width:"58",height:"58",alt:`${salla.config.get("store.name")}`})),a("div",{class:"s-app-install-alert-content"},a("h2",{class:"s-app-install-alert-title"},this.data.title),a("p",{class:"s-app-install-alert-sub-title"},this.data.sub_title," "," ",a("a",{href:this.ctaLink,target:"_blank","aria-label":"download app",class:"s-app-install-alert-cta"},salla.lang.getWithDefault("blocks.footer.download_app_now","حمله الآن")))),a("button",{class:"s-app-install-alert-cancel-button","aria-label":"close alert",onClick:()=>this.closeAlert()},a("i",{class:"sicon-cancel"}))):null}get host(){return r(this)}};i.style='/*!twlt*/:host{display:block}.s-app-install-alert-wrapper{display:none;flex-direction:row;align-items:center;position:fixed;left:0;right:0;width:95%;margin-top:1rem;margin-bottom:1rem;margin-left:auto;margin-right:auto;z-index:999;border-radius:0.375rem;padding:0.75rem;gap:0.5rem;background-color:color-mix(in srgb, var(--color-primary) 15%, white);filter:drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06))}.s-app-install-alert-wrapper.open[position=top]{display:flex;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideDownFromTop{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(-0%);opacity:1}}.s-app-install-alert-wrapper.open[position=top]{animation:slideDownFromTop .6s linear;transition-duration:500ms}.s-app-install-alert-wrapper:not(.open){display:none}.s-app-install-alert-content{width:100%}.s-app-install-alert-wrapper[position=top]{top:0px}.s-app-install-alert-wrapper.open[position=bottom]{display:flex}@keyframes slideUpFromBottom{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0%);opacity:1}}.s-app-install-alert-wrapper.open[position=bottom]{animation:slideUpFromBottom .6s linear}.s-app-install-alert-wrapper[position=bottom]{bottom:0px}@keyframes slideUPFromTop{0%{transform:translateY(-0%);opacity:1}100%{transform:translateY(-100%);opacity:0}}.s-app-install-alert-wrapper[position=top].closing{animation:slideUPFromTop .6s linear}@keyframes slideDownFromBottom{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(100%);opacity:0}}.s-app-install-alert-wrapper[position=bottom].closing{animation:slideDownFromBottom .6s linear}.s-app-install-alert-wrapper.closing{animation-fill-mode:forwards}.s-app-install-alert-title{max-width:95%;font-size:1rem;line-height:1.5rem;font-weight:700;color:var(--color-primary)}.s-app-install-alert-sub-title{max-width:95%;font-size:0.875rem;line-height:1.25rem;font-weight:400}.s-app-install-alert-cta{color:var(--color-primary);text-decoration-line:underline}.s-app-install-alert-cancel-button{position:absolute;top:0.5rem}.s-app-install-alert-cancel-button:where([dir="ltr"],[dir="ltr"] *){right:0.75rem}.s-app-install-alert-cancel-button:where([dir="rtl"],[dir="rtl"] *){left:0.75rem}';export{i as salla_app_install_alert}
|