@salla.sa/twilight-components 2.14.460 → 2.14.462
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-CGfIHI6f.js → filepond-D7zShniv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BogxH8wL.js → filepond-plugin-file-poster-BqO8tLqK.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DSlzvO7P.js → filepond-plugin-file-validate-size-Bdxa3s1T.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-QKvTiG_U.js → filepond-plugin-file-validate-type-B9q4YU3V.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CdCoWANz.js → filepond-plugin-image-edit-BZ8ZjH1W.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CJ84EvSe.js → filepond-plugin-image-exif-orientation-D-Ua_ckJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BSABZf_n.js → filepond-plugin-image-preview-CrZfm9_U.js} +1 -1
- package/dist/cjs/{functions-8bJoQsbY.js → functions-Dnwp9wka.js} +1 -1
- package/dist/cjs/{index-D0dSQBmL.js → index-CLNWkNWb.js} +1 -1
- package/dist/cjs/{index-ClIoplYB.js → index-wTIlAVr3.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +20 -4
- 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-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +29 -12
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-YbXLxnty.js → tracked-promise-DqErlr1h.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-CQ98NxBN.js → vanilla-picker-F5duMbuq.js} +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +19 -3
- package/dist/collection/components/salla-products-list/salla-products-list.js +28 -11
- package/dist/components/index.js +2 -2
- package/dist/components/salla-localization-modal.js +19 -3
- package/dist/components/salla-products-list2.js +28 -11
- package/dist/esm/{filepond-C4Vtw3hu.js → filepond-m6fYB-0k.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DHC1vUJ9.js → filepond-plugin-file-poster-BjL05gZe.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CBM0hQ0G.js → filepond-plugin-file-validate-size-DTeNYd00.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BEekNkNc.js → filepond-plugin-file-validate-type-ZhqN1Gao.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C9OQtxCr.js → filepond-plugin-image-edit-P9d3w9sz.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CmDE8Rj3.js → filepond-plugin-image-exif-orientation-rmyn2Wqp.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BZJQYto9.js → filepond-plugin-image-preview-yKjApiZb.js} +1 -1
- package/dist/esm/{functions-DXqv01Ta.js → functions-C_YevJW-.js} +1 -1
- package/dist/esm/{index-iJ5sq_zX.js → index-CeYNqrm6.js} +2 -2
- package/dist/esm/{index-COrBCyov.js → index-D9GD5gzh.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +20 -4
- 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-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +29 -12
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/{tracked-promise-BqdEjVrn.js → tracked-promise-DmXpObWP.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-sDHf8LOA.js → vanilla-picker-pNOcxfir.js} +1 -1
- package/dist/twilight/{p-fe88bea5.entry.js → p-00b82f9e.entry.js} +1 -1
- package/dist/twilight/{p-2b558991.entry.js → p-016d2b24.entry.js} +1 -1
- package/dist/twilight/{p-c208e3c7.entry.js → p-06d466ca.entry.js} +1 -1
- package/dist/twilight/{p-a83a6645.entry.js → p-0777f1aa.entry.js} +1 -1
- package/dist/twilight/{p-c1949223.entry.js → p-07afae85.entry.js} +1 -1
- package/dist/twilight/{p-4a68aa3a.entry.js → p-07b5f1f0.entry.js} +1 -1
- package/dist/twilight/{p-9b6f56a4.entry.js → p-08080728.entry.js} +1 -1
- package/dist/twilight/{p-b4b57fd2.entry.js → p-0d8fac88.entry.js} +1 -1
- package/dist/twilight/{p-68cc082a.entry.js → p-1043d027.entry.js} +1 -1
- package/dist/twilight/{p-07ab6222.entry.js → p-12a64c34.entry.js} +1 -1
- package/dist/twilight/{p-a1189807.entry.js → p-19cef679.entry.js} +1 -1
- package/dist/twilight/{p-53725056.entry.js → p-22eeb058.entry.js} +1 -1
- package/dist/twilight/{p-153ae87f.entry.js → p-29dbcd53.entry.js} +1 -1
- package/dist/twilight/{p-ac7e349a.entry.js → p-2d83fd8d.entry.js} +1 -1
- package/dist/twilight/{p-93e20666.entry.js → p-2ecf4e6a.entry.js} +1 -1
- package/dist/twilight/{p-569c6283.entry.js → p-2f8a2a75.entry.js} +1 -1
- package/dist/twilight/{p-f0451bd0.entry.js → p-31399c5a.entry.js} +1 -1
- package/dist/twilight/{p-63db0087.entry.js → p-316bd85f.entry.js} +1 -1
- package/dist/twilight/{p-77161ea1.entry.js → p-38dcee02.entry.js} +1 -1
- package/dist/twilight/{p-dbedcb2c.entry.js → p-39350b98.entry.js} +1 -1
- package/dist/twilight/{p-cb7550d3.entry.js → p-395408d0.entry.js} +1 -1
- package/dist/twilight/{p-a89828dd.entry.js → p-4155b911.entry.js} +1 -1
- package/dist/twilight/{p-59e51761.entry.js → p-4368aeb5.entry.js} +1 -1
- package/dist/twilight/{p-3478605e.entry.js → p-46d2e19e.entry.js} +1 -1
- package/dist/twilight/{p-4bf10fda.entry.js → p-4b0fe193.entry.js} +1 -1
- package/dist/twilight/{p-1bbdc1be.entry.js → p-51739559.entry.js} +1 -1
- package/dist/twilight/{p-12e4f4b3.entry.js → p-52f0f36b.entry.js} +1 -1
- package/dist/twilight/{p-bec381d0.entry.js → p-570d9be5.entry.js} +1 -1
- package/dist/twilight/{p-7cb9fdf3.entry.js → p-5afb837d.entry.js} +1 -1
- package/dist/twilight/{p-d171d9b7.entry.js → p-5b416a7d.entry.js} +1 -1
- package/dist/twilight/p-629e05d2.entry.js +4 -0
- package/dist/twilight/{p-56f2c80b.entry.js → p-66189b02.entry.js} +1 -1
- package/dist/twilight/{p-7c274900.entry.js → p-66341808.entry.js} +1 -1
- package/dist/twilight/{p-fcf26add.entry.js → p-66e6f1b7.entry.js} +1 -1
- package/dist/twilight/{p-8784043c.entry.js → p-68a4b292.entry.js} +1 -1
- package/dist/twilight/{p-570a0386.entry.js → p-6ac73121.entry.js} +1 -1
- package/dist/twilight/p-6ad7e526.entry.js +4 -0
- package/dist/twilight/{p-6959e50c.entry.js → p-6e74026e.entry.js} +1 -1
- package/dist/twilight/{p-606cf463.entry.js → p-6e77cef2.entry.js} +1 -1
- package/dist/twilight/p-70bccb5a.entry.js +4 -0
- package/dist/twilight/{p-9037aceb.entry.js → p-744b3fae.entry.js} +1 -1
- package/dist/twilight/{p-8fdda3f7.entry.js → p-7469ba2c.entry.js} +1 -1
- package/dist/twilight/{p-ba3fddd7.entry.js → p-74810e1d.entry.js} +1 -1
- package/dist/twilight/{p-ddaa0572.entry.js → p-7562b6fe.entry.js} +1 -1
- package/dist/twilight/{p-6a0592ff.entry.js → p-75c3f81d.entry.js} +1 -1
- package/dist/twilight/{p-9b32a751.entry.js → p-77257ae8.entry.js} +1 -1
- package/dist/twilight/{p-1048d417.entry.js → p-79143f69.entry.js} +1 -1
- package/dist/twilight/{p-8417e475.entry.js → p-7fa53fa7.entry.js} +1 -1
- package/dist/twilight/{p-38c48529.entry.js → p-873b5a0b.entry.js} +1 -1
- package/dist/twilight/p-896c5d10.entry.js +4 -0
- package/dist/twilight/{p-9e65633b.entry.js → p-8f27d1fc.entry.js} +1 -1
- package/dist/twilight/{p-e824a11d.entry.js → p-925afa3d.entry.js} +1 -1
- package/dist/twilight/{p-486eec44.entry.js → p-976a7c3b.entry.js} +1 -1
- package/dist/twilight/{p-b0afc618.entry.js → p-97d9e879.entry.js} +1 -1
- package/dist/twilight/{p-c9932aac.entry.js → p-99edcd51.entry.js} +1 -1
- package/dist/twilight/{p-DpeYnqu7.js → p-B0byHRZ3.js} +1 -1
- package/dist/twilight/{p-CEojVb5V.js → p-BCTJfSEq.js} +1 -1
- package/dist/twilight/{p-DLjvTnkG.js → p-BJ8oGcQD.js} +1 -1
- package/dist/twilight/{p-2YeLvW5I.js → p-BKLK9Y6r.js} +1 -1
- package/dist/twilight/{p--2LAp_Ix.js → p-BRPK56r-.js} +1 -1
- package/dist/twilight/{p-Doa_Qi4D.js → p-BW7tTJ4q.js} +1 -1
- package/dist/twilight/{p-quQVhrL_.js → p-BbnE5BSS.js} +2 -2
- package/dist/twilight/{p-Mmayo-tO.js → p-CShDziwT.js} +1 -1
- package/dist/twilight/{p-DoHbs_Ca.js → p-Cc7oEzty.js} +1 -1
- package/dist/twilight/{p-iJ5sq_zX.js → p-CeYNqrm6.js} +1 -1
- package/dist/twilight/{p-YOYH8YN6.js → p-DM7C3SNh.js} +1 -1
- package/dist/twilight/{p-gauhE2aA.js → p-Dwy4A66P.js} +1 -1
- package/dist/twilight/{p-cf258842.entry.js → p-a01e3db6.entry.js} +1 -1
- package/dist/twilight/{p-aec79fff.entry.js → p-a52795df.entry.js} +1 -1
- package/dist/twilight/p-a6a6f6af.entry.js +4 -0
- package/dist/twilight/{p-da9ca18e.entry.js → p-a8b5376b.entry.js} +1 -1
- package/dist/twilight/{p-cdeac4d4.entry.js → p-aa97bce4.entry.js} +1 -1
- package/dist/twilight/{p-38669272.entry.js → p-b492aa80.entry.js} +1 -1
- package/dist/twilight/{p-bb9ef23e.entry.js → p-b5267377.entry.js} +1 -1
- package/dist/twilight/{p-12e99bf3.entry.js → p-b77e74a4.entry.js} +1 -1
- package/dist/twilight/{p-b902d2f5.entry.js → p-b8073d30.entry.js} +1 -1
- package/dist/twilight/{p-c70b165a.entry.js → p-baf272cf.entry.js} +1 -1
- package/dist/twilight/{p-d7c9b87f.entry.js → p-bb3fb45c.entry.js} +1 -1
- package/dist/twilight/{p-eec5d968.entry.js → p-c56ba8d5.entry.js} +1 -1
- package/dist/twilight/{p-147b1b05.entry.js → p-c66e2e76.entry.js} +1 -1
- package/dist/twilight/{p-3dd52ee6.entry.js → p-c7caa2cc.entry.js} +1 -1
- package/dist/twilight/{p-dd83f43e.entry.js → p-cf68db97.entry.js} +1 -1
- package/dist/twilight/{p-1f2d6697.entry.js → p-d0e99086.entry.js} +1 -1
- package/dist/twilight/{p-4f009520.entry.js → p-d78c5c6e.entry.js} +1 -1
- package/dist/twilight/{p-07cfe13f.entry.js → p-d84d931d.entry.js} +1 -1
- package/dist/twilight/{p-b0912857.entry.js → p-dbf9a7a6.entry.js} +1 -1
- package/dist/twilight/{p-5a502b2d.entry.js → p-ddf5c15d.entry.js} +1 -1
- package/dist/twilight/{p-234c1e5a.entry.js → p-dff9a1ec.entry.js} +1 -1
- package/dist/twilight/{p-a3f1ce8d.entry.js → p-e4c61d13.entry.js} +1 -1
- package/dist/twilight/{p-099f53cb.entry.js → p-e545619d.entry.js} +1 -1
- package/dist/twilight/{p-2c1eaa42.entry.js → p-e60bd3a0.entry.js} +1 -1
- package/dist/twilight/{p-c7f39c26.entry.js → p-ec46c858.entry.js} +1 -1
- package/dist/twilight/{p-dc530376.entry.js → p-ed92c8ab.entry.js} +1 -1
- package/dist/twilight/{p-710aeaa6.entry.js → p-eef72b52.entry.js} +1 -1
- package/dist/twilight/{p-8efab918.entry.js → p-efc3eb85.entry.js} +1 -1
- package/dist/twilight/{p-93cffd7b.entry.js → p-f02cb299.entry.js} +1 -1
- package/dist/twilight/{p-bae99ba7.entry.js → p-f3884673.entry.js} +1 -1
- package/dist/twilight/{p-d8b6e962.entry.js → p-fbcb84a4.entry.js} +1 -1
- package/dist/twilight/{p-f194ed91.entry.js → p-fd4588cc.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +1 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-0235e63d.entry.js +0 -4
- package/dist/twilight/p-075e48a4.entry.js +0 -4
- package/dist/twilight/p-46d2ef37.entry.js +0 -4
- package/dist/twilight/p-59edb110.entry.js +0 -4
- package/dist/twilight/p-e3871a18.entry.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaMultipleBundleProductCartCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-CeYNqrm6.js';
|
|
5
5
|
import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
|
|
6
6
|
import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
|
|
6
6
|
import { S as SITag } from './tag-cgSL_BIo.js';
|
|
7
7
|
import { S as SICart2 } from './cart2-D1s2kXqL.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
function parseMaybeJson(value, fallback) {
|
|
7
7
|
if (typeof value !== 'string') {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
var copyIcon = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
import { a as getOrderEditProductMaxQuantity } from './helpers-DR_vlSvU.js';
|
|
6
6
|
import './interfaces-CoQJOPRz.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
import { g as getOrderItemSelectedOptions, a as getOrderEditProductMaxQuantity, c as clampOrderEditQuantity, u as updateOrderItems, r as removeOrderItems, m as mergePayloadItems, b as cloneOrderEditProduct, f as findMergeableItem, d as updateAddedPayloadList, e as upsertPayloadUpdateList, h as createAddedOrderItem, i as buildSavePayload } from './helpers-DR_vlSvU.js';
|
|
6
6
|
import './interfaces-CoQJOPRz.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-CeYNqrm6.js';
|
|
5
5
|
import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
|
|
6
6
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaPaymentsCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
6
6
|
|
|
7
7
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
|
|
7
7
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
@@ -83,7 +83,6 @@ const SallaProductsList = class {
|
|
|
83
83
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
84
84
|
// Create a deep copy of the filters object to avoid mutating the original object
|
|
85
85
|
this.parsedFilters = JSON.parse(JSON.stringify(filters));
|
|
86
|
-
this.filtersSnapshot = this.parsedFilters;
|
|
87
86
|
if (this.currentPage?.slug == "product.index" && this.parsedFilters && this.parsedFilters.category_id) {
|
|
88
87
|
this.currentCategoryIdFilter = [this.parsedFilters.category_id];
|
|
89
88
|
}
|
|
@@ -117,6 +116,31 @@ const SallaProductsList = class {
|
|
|
117
116
|
isFilterable() {
|
|
118
117
|
return salla.config.get('store.settings.product.filters') && this.filtersResults;
|
|
119
118
|
}
|
|
119
|
+
getCachedFilters() {
|
|
120
|
+
if (!Array.isArray(this.filtersSnapshot) || !this.filtersSnapshot.length) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
return JSON.parse(JSON.stringify(this.filtersSnapshot));
|
|
124
|
+
}
|
|
125
|
+
emitFilters(response) {
|
|
126
|
+
if (!this.isFilterable()) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
if (response.filters) {
|
|
130
|
+
this.filtersResults = true;
|
|
131
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
132
|
+
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
const cachedFilters = response.cursor?.current > 1 ? this.getCachedFilters() : null;
|
|
136
|
+
if (cachedFilters) {
|
|
137
|
+
this.filtersResults = true;
|
|
138
|
+
salla.event.emit('filters::fetched', { filters: cachedFilters });
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
this.filtersSnapshot = [];
|
|
142
|
+
salla.event.emit('filters::hidden');
|
|
143
|
+
}
|
|
120
144
|
isSourceWithoutValue() {
|
|
121
145
|
return ['offers', 'latest', 'sales', 'wishlist', 'top-rated', 'reorder'].includes(this.getSource());
|
|
122
146
|
}
|
|
@@ -405,8 +429,9 @@ const SallaProductsList = class {
|
|
|
405
429
|
if (storedState) {
|
|
406
430
|
try {
|
|
407
431
|
const { pageIndex, nextPage, currentPageData } = JSON.parse(storedState);
|
|
408
|
-
if (filetrsState !== 'undefined') {
|
|
432
|
+
if (filetrsState && filetrsState !== 'undefined') {
|
|
409
433
|
const filters = JSON.parse(filetrsState);
|
|
434
|
+
this.filtersSnapshot = JSON.parse(JSON.stringify(filters));
|
|
410
435
|
salla.event.emit('filters::fetched', { filters });
|
|
411
436
|
}
|
|
412
437
|
this.page = pageIndex;
|
|
@@ -778,7 +803,6 @@ const SallaProductsList = class {
|
|
|
778
803
|
let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
|
|
779
804
|
// get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
|
|
780
805
|
title = response.filters?.find(filter => filter.key === 'category_id')?.values?.find(cat => cat.key === catId)?.value ?? '';
|
|
781
|
-
this.filtersSnapshot = response.filters;
|
|
782
806
|
}
|
|
783
807
|
title += (title ? ' - ' : '') + salla.lang.choice('blocks.header.products_count', response.data?.length);
|
|
784
808
|
if (response.data.length === 15) {
|
|
@@ -801,14 +825,7 @@ const SallaProductsList = class {
|
|
|
801
825
|
salla.event.emit('salla-products-list::products.fetched', response);
|
|
802
826
|
this.productsFetched.emit(response);
|
|
803
827
|
//💡 when source is related, cursor will not be existed
|
|
804
|
-
|
|
805
|
-
this.filtersResults = true;
|
|
806
|
-
this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
|
|
807
|
-
salla.event.emit('filters::fetched', { filters: response.filters });
|
|
808
|
-
}
|
|
809
|
-
else if (this.isFilterable()) {
|
|
810
|
-
salla.event.emit('filters::hidden');
|
|
811
|
-
}
|
|
828
|
+
this.emitFilters(response);
|
|
812
829
|
//because: this.nextPage is state we don't need to touch it after the build, to avoid the re-rendering
|
|
813
830
|
if (shouldBuildNextPage) {
|
|
814
831
|
this.nextPage = await this.resolveNextPageFromCursor(response);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
|
|
6
6
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { W as WishListIcon } from './star-ZT7ehBBk.js';
|
|
6
6
|
import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
|
|
7
7
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
5
|
-
import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
|
+
import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-C_YevJW-.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
7
|
import { S as SITag } from './tag-cgSL_BIo.js';
|
|
8
8
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
9
9
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
10
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
10
|
+
import { T as TrackedPromise } from './tracked-promise-DmXpObWP.js';
|
|
11
11
|
|
|
12
12
|
const sallaLoyaltyProgramCss$3 = "";
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
|
|
7
7
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
7
7
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
6
6
|
|
|
7
7
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaTabContentCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
|
|
6
6
|
import { B as BellRing } from './bell-ring-D3mWkc-3.js';
|
|
7
7
|
import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-CeYNqrm6.js';
|
|
5
5
|
import { G as Genders } from './interfaces-OF8QcbMM.js';
|
|
6
6
|
|
|
7
7
|
const sallaUserProfileCss = ":host{display:block}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CeYNqrm6.js';
|
|
5
5
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
6
6
|
|
|
7
7
|
var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { f as forceUpdate } from './index-
|
|
4
|
+
import { f as forceUpdate } from './index-CeYNqrm6.js';
|
|
5
5
|
|
|
6
6
|
function TrackedPromise(fn, options = {}) {
|
|
7
7
|
options = Object.assign({ initialData: undefined, initialStatus: 'idle' }, options);
|
package/dist/esm/twilight.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-
|
|
5
|
-
export { s as setNonce } from './index-
|
|
4
|
+
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-CeYNqrm6.js';
|
|
5
|
+
export { s as setNonce } from './index-CeYNqrm6.js';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as a,H as s,a as l}from"./p-
|
|
4
|
+
import{r as t,h as a,H as s,a as l}from"./p-CeYNqrm6.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,s=/Macintosh|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),l="ontouchstart"in window||"ontouchend"in document||navigator.maxTouchPoints>0;return s&&a&&l}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(s,{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 l(this)}};i.style=":host{display:block}";export{i as salla_app_install_alert}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as
|
|
4
|
+
import{r as a,h as s,H as o,a as t}from"./p-CeYNqrm6.js";const n=class{constructor(s){a(this,s)}async mount(a){this.host.before(a)}render(){return s(o,{key:"499483c55f2e1122d80768cd43e47f8e127a62b4"})}async componentDidLoad(){await Salla.hooks.registerComponent("salla-hook",this)}get host(){return t(this)}};n.style=":host {\n all: unset;\n display: none; /* marker only */\n }";export{n as salla_hook}
|