@salla.sa/twilight-components 2.14.433 → 2.14.434
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-m9UIfD4r.js → filepond-CWW6qAlB.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CCNucuJo.js → filepond-plugin-file-poster-tqITvQar.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-c8aiCeyd.js → filepond-plugin-file-validate-size-BfDaORpj.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DKXNy-pI.js → filepond-plugin-file-validate-type-DW0ppYcG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BeXjDMoa.js → filepond-plugin-image-edit-c9ML3iba.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BeoKq6Qa.js → filepond-plugin-image-exif-orientation-XTmaoGOO.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DNGNnW2v.js → filepond-plugin-image-preview-BNlkC9-r.js} +1 -1
- package/dist/cjs/{functions-B5wriSSk.js → functions-BW_9N8hU.js} +1 -1
- package/dist/cjs/{index-DRte8uD2.js → index-DGugEE5Q.js} +1 -1
- package/dist/cjs/{index-ouHUBEmn.js → index-zPj2BUIM.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 +2 -2
- 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-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-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_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 +28 -21
- 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-CBS0Jv4T.js → tracked-promise-BOij5kTl.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-B4KqFjgH.js → vanilla-picker-Drd6dUY6.js} +1 -1
- package/dist/collection/components/salla-installment/salla-installment.js +1 -1
- package/dist/collection/components/salla-products-list/salla-products-list.js +27 -20
- package/dist/components/index.js +2 -2
- package/dist/components/salla-installment.js +1 -1
- package/dist/components/salla-products-list2.js +27 -20
- package/dist/esm/{filepond-CKWIup4S.js → filepond-B8ZU0S2U.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Bh-xu68e.js → filepond-plugin-file-poster-CbvNpFBW.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-D49X-Kke.js → filepond-plugin-file-validate-size-Dvk6NFzB.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CdrHe--C.js → filepond-plugin-file-validate-type-BHnSvKf9.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CJW0RVuR.js → filepond-plugin-image-edit-C3-HEwrk.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DLAbuFUC.js → filepond-plugin-image-exif-orientation-CkNQRZPb.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CgwlEcnw.js → filepond-plugin-image-preview-BiSvHi1n.js} +1 -1
- package/dist/esm/{functions-DEq2D5r8.js → functions-B0NK3Lby.js} +1 -1
- package/dist/esm/{index-BAMBfQio.js → index-BMlmyi0X.js} +1 -1
- package/dist/esm/{index-lMbG1CIQ.js → index-CCvjaZrV.js} +2 -2
- 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 +2 -2
- 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-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-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_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +28 -21
- 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-Cuxl89VM.js → tracked-promise-BRNUnrUG.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker--tIjHzZT.js → vanilla-picker-Ce-g_3Yg.js} +1 -1
- package/dist/twilight/{p-cbbbf280.entry.js → p-06bfa777.entry.js} +1 -1
- package/dist/twilight/{p-64364d27.entry.js → p-0a1ca9c1.entry.js} +1 -1
- package/dist/twilight/{p-ade89f79.entry.js → p-0aa893d7.entry.js} +1 -1
- package/dist/twilight/{p-0f19a6eb.entry.js → p-0b9688d0.entry.js} +1 -1
- package/dist/twilight/{p-00142abc.entry.js → p-174dc0a4.entry.js} +1 -1
- package/dist/twilight/{p-d1b2c259.entry.js → p-1b978866.entry.js} +1 -1
- package/dist/twilight/p-1c3358af.entry.js +4 -0
- package/dist/twilight/{p-7060ae7d.entry.js → p-1cdc7af0.entry.js} +1 -1
- package/dist/twilight/{p-55801b41.entry.js → p-1d011c4a.entry.js} +1 -1
- package/dist/twilight/{p-18dbc68c.entry.js → p-1e2b99ff.entry.js} +1 -1
- package/dist/twilight/{p-77d6879d.entry.js → p-204f8cc8.entry.js} +1 -1
- package/dist/twilight/{p-2caab1dd.entry.js → p-24b0c91d.entry.js} +1 -1
- package/dist/twilight/{p-76147eb1.entry.js → p-269b7e54.entry.js} +1 -1
- package/dist/twilight/{p-cc9e266a.entry.js → p-27aae413.entry.js} +1 -1
- package/dist/twilight/{p-7e74750a.entry.js → p-2822dff4.entry.js} +1 -1
- package/dist/twilight/{p-ea4cf5c5.entry.js → p-28df3b47.entry.js} +1 -1
- package/dist/twilight/p-298e860b.entry.js +4 -0
- package/dist/twilight/{p-5309c2b6.entry.js → p-2b03d8dd.entry.js} +1 -1
- package/dist/twilight/{p-139d18e4.entry.js → p-2e3879e2.entry.js} +1 -1
- package/dist/twilight/{p-63b2e9e4.entry.js → p-36adc8b6.entry.js} +1 -1
- package/dist/twilight/{p-0bf5b2a3.entry.js → p-4445fe22.entry.js} +1 -1
- package/dist/twilight/{p-5b0ccf4b.entry.js → p-444c78ba.entry.js} +1 -1
- package/dist/twilight/{p-e5535ac3.entry.js → p-448852e5.entry.js} +1 -1
- package/dist/twilight/{p-58a182ef.entry.js → p-46fc566b.entry.js} +1 -1
- package/dist/twilight/{p-1ced495f.entry.js → p-4a1ea811.entry.js} +1 -1
- package/dist/twilight/{p-05a6fc4e.entry.js → p-4aa09288.entry.js} +1 -1
- package/dist/twilight/{p-e0fa2bc5.entry.js → p-541847cd.entry.js} +1 -1
- package/dist/twilight/{p-f424854a.entry.js → p-5b94c9ec.entry.js} +1 -1
- package/dist/twilight/{p-646309b3.entry.js → p-5b9c52ed.entry.js} +1 -1
- package/dist/twilight/{p-30ca11a7.entry.js → p-634115cb.entry.js} +1 -1
- package/dist/twilight/{p-da6e4d60.entry.js → p-69d37822.entry.js} +1 -1
- package/dist/twilight/{p-f5f8ab50.entry.js → p-69ffd7f4.entry.js} +1 -1
- package/dist/twilight/{p-ab717a96.entry.js → p-741d0133.entry.js} +1 -1
- package/dist/twilight/{p-7906db6c.entry.js → p-742ea83d.entry.js} +1 -1
- package/dist/twilight/p-76fd5e24.entry.js +4 -0
- package/dist/twilight/{p-0a1966cf.entry.js → p-78d4e07b.entry.js} +1 -1
- package/dist/twilight/{p-28701b83.entry.js → p-81108b40.entry.js} +1 -1
- package/dist/twilight/{p-793b143f.entry.js → p-84d0de81.entry.js} +1 -1
- package/dist/twilight/{p-98409d9d.entry.js → p-88d72e17.entry.js} +1 -1
- package/dist/twilight/{p-b4b03890.entry.js → p-8960b0d5.entry.js} +1 -1
- package/dist/twilight/{p-83407903.entry.js → p-89e9172e.entry.js} +1 -1
- package/dist/twilight/{p-25c7c765.entry.js → p-8a86e1be.entry.js} +1 -1
- package/dist/twilight/{p-b9793df6.entry.js → p-946e111f.entry.js} +1 -1
- package/dist/twilight/{p-6a6cc844.entry.js → p-9719b3ae.entry.js} +1 -1
- package/dist/twilight/{p-DkFvXnTU.js → p-9b-9ka47.js} +1 -1
- package/dist/twilight/{p-3c2c9e2b.entry.js → p-9e739b68.entry.js} +1 -1
- package/dist/twilight/{p-46c69187.entry.js → p-9e980184.entry.js} +1 -1
- package/dist/twilight/{p-DTVc8PSy.js → p-BO0AhOgw.js} +1 -1
- package/dist/twilight/{p-lMbG1CIQ.js → p-CCvjaZrV.js} +1 -1
- package/dist/twilight/{p-BxVFPdKb.js → p-CavpTJbV.js} +1 -1
- package/dist/twilight/{p-akcJQPrL.js → p-CfnUG35R.js} +1 -1
- package/dist/twilight/p-D3EEMM4Q.js +4 -0
- package/dist/twilight/{p-BbPW5sNk.js → p-DJRGxZpg.js} +1 -1
- package/dist/twilight/{p-C0kfWMMc.js → p-DNvjzv3i.js} +1 -1
- package/dist/twilight/{p-CZ4us-OW.js → p-DQV39xyV.js} +1 -1
- package/dist/twilight/{p-C7BsTxLN.js → p-DSNYrBKg.js} +1 -1
- package/dist/twilight/{p-AO-xClM5.js → p-DXHIK3BO.js} +1 -1
- package/dist/twilight/{p-9baa8e69.entry.js → p-a4633c90.entry.js} +1 -1
- package/dist/twilight/{p-f3597f21.entry.js → p-a64f6f5e.entry.js} +1 -1
- package/dist/twilight/{p-c9dc08e9.entry.js → p-aa68a8aa.entry.js} +1 -1
- package/dist/twilight/{p-29b528fe.entry.js → p-aa77176a.entry.js} +1 -1
- package/dist/twilight/{p-ad4003fd.entry.js → p-ad9ec8cf.entry.js} +1 -1
- package/dist/twilight/p-adfdecf5.entry.js +4 -0
- package/dist/twilight/{p-42868687.entry.js → p-afc9e2ec.entry.js} +1 -1
- package/dist/twilight/{p-25d4c3e7.entry.js → p-afdc1db1.entry.js} +1 -1
- package/dist/twilight/{p-YBYQ1IRq.js → p-asWgwDKm.js} +1 -1
- package/dist/twilight/{p-6fe6361d.entry.js → p-b49e2f80.entry.js} +1 -1
- package/dist/twilight/{p-fc2d0c94.entry.js → p-b4b54b19.entry.js} +1 -1
- package/dist/twilight/{p-484c2f42.entry.js → p-b4fc1ab3.entry.js} +1 -1
- package/dist/twilight/{p-5dc05ab0.entry.js → p-b878dafc.entry.js} +1 -1
- package/dist/twilight/{p-999d8514.entry.js → p-b95d6343.entry.js} +1 -1
- package/dist/twilight/{p-c8a460c0.entry.js → p-ba00b2a5.entry.js} +1 -1
- package/dist/twilight/{p-ae107cb6.entry.js → p-bc7c8a73.entry.js} +1 -1
- package/dist/twilight/{p-781b8258.entry.js → p-bd227ed6.entry.js} +1 -1
- package/dist/twilight/{p-d5ae1bd3.entry.js → p-be938ae4.entry.js} +1 -1
- package/dist/twilight/{p-e3b11077.entry.js → p-bfc9043f.entry.js} +1 -1
- package/dist/twilight/{p-deaa32fd.entry.js → p-c12d9d20.entry.js} +1 -1
- package/dist/twilight/{p-7a067b88.entry.js → p-c37148ce.entry.js} +1 -1
- package/dist/twilight/{p-477d3cde.entry.js → p-c41e0c6a.entry.js} +1 -1
- package/dist/twilight/{p-0f712ca6.entry.js → p-c548c109.entry.js} +1 -1
- package/dist/twilight/{p-e9799703.entry.js → p-c7571a96.entry.js} +1 -1
- package/dist/twilight/{p-d2edf700.entry.js → p-c958ebbc.entry.js} +1 -1
- package/dist/twilight/{p-9b4b6171.entry.js → p-cb2717ce.entry.js} +1 -1
- package/dist/twilight/{p-9561c440.entry.js → p-ced59ca2.entry.js} +1 -1
- package/dist/twilight/{p-d72d82c2.entry.js → p-d0a50136.entry.js} +1 -1
- package/dist/twilight/{p-6db2ed2d.entry.js → p-d1784e5f.entry.js} +1 -1
- package/dist/twilight/{p-87fc46f3.entry.js → p-d8dda828.entry.js} +1 -1
- package/dist/twilight/{p-9029fe2f.entry.js → p-da9007ce.entry.js} +1 -1
- package/dist/twilight/{p-8b19a6cd.entry.js → p-e0089ff0.entry.js} +1 -1
- package/dist/twilight/{p-22dd6342.entry.js → p-e048fb41.entry.js} +1 -1
- package/dist/twilight/{p-99cde2bd.entry.js → p-e1bab84d.entry.js} +1 -1
- package/dist/twilight/{p-b5658790.entry.js → p-f19b6300.entry.js} +1 -1
- package/dist/twilight/{p-6c4b0954.entry.js → p-f4933141.entry.js} +1 -1
- package/dist/twilight/{p-434232b8.entry.js → p-f85b6b5e.entry.js} +1 -1
- package/dist/twilight/{p-ba06196b.entry.js → p-fa0241ed.entry.js} +1 -1
- package/dist/twilight/{p-ce844f61.entry.js → p-fb997718.entry.js} +1 -1
- package/dist/twilight/{p-579e1d3f.entry.js → p-ff4f4e20.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +5 -0
- package/package.json +5 -5
- package/dist/twilight/p-2e11b913.entry.js +0 -4
- package/dist/twilight/p-386d36ff.entry.js +0 -4
- package/dist/twilight/p-602eb37d.entry.js +0 -4
- package/dist/twilight/p-75cd1309.entry.js +0 -4
- package/dist/twilight/p-jvvBvp8R.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 } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.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-CCvjaZrV.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-CCvjaZrV.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-DFMXF2_h.js';
|
|
@@ -427,6 +427,13 @@ const SallaProductsList = class {
|
|
|
427
427
|
getSource() {
|
|
428
428
|
return Helper.getProductsSource(this.source);
|
|
429
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* Partial product strips (mega menu, offers drawer, related products, JSON payload, …)
|
|
432
|
+
* must not set `response.title` — only the main catalog grid should update the listing title.
|
|
433
|
+
*/
|
|
434
|
+
isAuxiliaryProductsListSource() {
|
|
435
|
+
return ['json', 'selected', 'related', 'landing-page', 'recently'].includes(this.getSource());
|
|
436
|
+
}
|
|
430
437
|
getSourceValue() {
|
|
431
438
|
return this.currentCategoryIdFilter ? this.currentCategoryIdFilter : Helper.getProductsSourceValue(this.source, this.sourceValue);
|
|
432
439
|
}
|
|
@@ -642,7 +649,7 @@ const SallaProductsList = class {
|
|
|
642
649
|
.then(async () => {
|
|
643
650
|
this.hasCustomComponent = !!customElements.get(this.productCardComponent);
|
|
644
651
|
this.sourceValueIsValid = !!(this.getSourceValue() || this.isSourceWithoutValue());
|
|
645
|
-
this.hasInfiniteScroll = !
|
|
652
|
+
this.hasInfiniteScroll = !this.isAuxiliaryProductsListSource() && !this.limit;
|
|
646
653
|
let searchParams = new URLSearchParams(window.location.search);
|
|
647
654
|
try {
|
|
648
655
|
this.sortBy = this.sortBy || searchParams.get('sort') || searchParams.get('by');
|
|
@@ -759,28 +766,28 @@ const SallaProductsList = class {
|
|
|
759
766
|
return [];
|
|
760
767
|
}
|
|
761
768
|
let source = this.getSource();
|
|
762
|
-
let title = '';
|
|
763
|
-
//help the developer to know the current page title
|
|
764
769
|
if (response.cursor?.current === 1) {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
770
|
+
if (!this.isAuxiliaryProductsListSource()) {
|
|
771
|
+
let title = Helper.getPageTitleForSource(source);
|
|
772
|
+
try {
|
|
773
|
+
if (this.getSource() === 'search') {
|
|
774
|
+
title = salla.lang.get('common.elements.search_about', { 'word': this.getSourceValue() });
|
|
775
|
+
}
|
|
776
|
+
else if (!title) {
|
|
777
|
+
let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
|
|
778
|
+
// get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
|
|
779
|
+
title = response.filters?.find(filter => filter.key === 'category_id')?.values?.find(cat => cat.key === catId)?.value ?? '';
|
|
780
|
+
this.filtersSnapshot = response.filters;
|
|
781
|
+
}
|
|
782
|
+
title += (title ? ' - ' : '') + salla.lang.choice('blocks.header.products_count', response.data?.length);
|
|
783
|
+
if (response.data.length === 15) {
|
|
784
|
+
title = title.replace(response.data.length, salla.lang.get('common.elements.more_than') + ' ' + response.data.length);
|
|
785
|
+
}
|
|
786
|
+
response.title = title;
|
|
775
787
|
}
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
title = title.replace(response.data.length, salla.lang.get('common.elements.more_than') + ' ' + response.data.length);
|
|
788
|
+
catch (e) {
|
|
789
|
+
salla.logger.error('Error::falid to handle response', e);
|
|
779
790
|
}
|
|
780
|
-
response.title = title;
|
|
781
|
-
}
|
|
782
|
-
catch (e) {
|
|
783
|
-
salla.logger.error('Error::falid to handle response', e);
|
|
784
791
|
}
|
|
785
792
|
//inject the SEO schema
|
|
786
793
|
//handleResponse works only on the infinite-scroll and infinite scroll works only on the categories pages and main latest-page ..etc, so no need to add condition
|
|
@@ -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-CCvjaZrV.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-CCvjaZrV.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-DFMXF2_h.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-CCvjaZrV.js';
|
|
5
|
+
import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-B0NK3Lby.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-BRNUnrUG.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-CCvjaZrV.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-CCvjaZrV.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.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-CCvjaZrV.js';
|
|
5
|
+
export { s as setNonce } from './index-CCvjaZrV.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 s,h as l,H as t}from"./p-
|
|
4
|
+
import{r as s,h as l,H as t}from"./p-CCvjaZrV.js";const i=class{constructor(l){s(this,l),this.methods=[],this.shouldRender=!1}async componentDidLoad(){await Salla.onReady(),await Salla.lang.onLoaded(),Salla.config.get("store.shipping.support_pickup")&&(this.shouldRender=!0,this.setLabels())}setLabels(){this.methods=[{id:"delivery",title:Salla.lang.getWithDefault("pages.products.promise_delivery_title","متاح للتوصيل"),subtitle:Salla.lang.getWithDefault("pages.products.promise_delivery_subtitle","طلبك يوصلك لباب البيت بسهولة."),iconClass:"sicon-location"},{id:"pickup",title:Salla.lang.getWithDefault("pages.products.promise_pickup_title","متاح للاستلام"),subtitle:Salla.lang.getWithDefault("pages.products.promise_pickup_subtitle","استلام فوري من أقرب فرع."),iconClass:"sicon-store"}]}render(){return this.shouldRender?l(t,{class:"s-fulfillment-methods"},l("div",{class:"s-fulfillment-methods-list"},this.methods.map((s=>l("div",{key:s.id,class:"s-fulfillment-methods-card"},l("div",{class:"s-fulfillment-methods-content"},l("div",{class:"s-fulfillment-methods-icon-wrap"},l("i",{class:`${s.iconClass} s-fulfillment-methods-icon`})),l("div",{class:"s-fulfillment-methods-text"},l("span",{class:"s-fulfillment-methods-title"},s.title),l("span",{class:"s-fulfillment-methods-subtitle"},s.subtitle)))))))):null}};export{i as salla_fulfillment_methods}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as s,H as a}from"./p-
|
|
4
|
+
import{r as t,h as s,H as a}from"./p-CCvjaZrV.js";const l=class{constructor(s){t(this,s),this.order=null,this.loading=!0}async componentWillLoad(){await salla.onReady(),await this.loadOrder()}async onOrderIdChange(){this.loading=!0,this.order=null,await this.loadOrder()}get paymentUrl(){return this.order?.customer_editing?.payment_url}async loadOrder(){const t=this.orderId||salla.config.get("page.id");if(t)try{const s=await salla.order.api.getDetails(t);this.order=s?.data??s??null}catch(t){salla.logger?.warn?.("[salla-edit-order-button] failed to fetch order details",t),this.order=null}finally{this.loading=!1}else this.loading=!1}renderEditButton(){return s("salla-count-down",{prefixText:salla.lang.getWithDefault("pages.orders.edit_within","يمكنك التعديل خلال"),buttonHref:this.order?.edit_url,buttonText:salla.lang.getWithDefault("pages.orders.edit_order","تعديل الطلب"),buttonIcon:"sicon-edit",date:this.order?.editable_until,horizontal:!0,autoSegments:!0,withButton:!0,labeled:!1,size:"sm",color:"primary"})}render(){return this.loading||!this.order?null:this.order?.is_editable?s(a,null,this.renderEditButton()):this.paymentUrl?s(a,null,s("salla-button",{href:this.paymentUrl,color:"primary",size:"small"},s("i",{class:"sicon-wallet"}),salla.lang.getWithDefault("pages.orders.pay_difference","دفع فارق المبلغ"))):null}static get watchers(){return{orderId:["onOrderIdChange"]}}};l.style=":host{display:block}";export{l as salla_edit_order_button}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as s,h as t}from"./p-
|
|
4
|
+
import{r as s,h as t}from"./p-CCvjaZrV.js";const r=class{constructor(t){s(this,t),this.height="10px";try{if(this.donation){let s="string"==typeof this.donation?JSON.parse(this.donation):this.donation;s.can_donate&&s.target_amount?(s.target_end_date="0000-00-00"==s.target_end_date?null:s.target_end_date,this.value=s.collected_amount,this.target=s.target_amount,this.header=salla.lang.get("pages.products.target"),this.message=s.target_end_date?salla.lang.get("pages.products.donation_target_date")+" "+s.target_end_date:""):this.message=s.target_amount?s.target_message:""}}catch(s){salla.log("Wrong donation json")}salla.lang.onLoaded((()=>{this.header=this.header?.replace("pages.products.target",salla.lang.get("pages.products.target")),this.message=this.message?.replace("pages.products.donation_target_date",salla.lang.get("pages.products.donation_target_date"))})),salla.onReady((()=>{this.color=this.color||salla.config.get("theme.color.primary","#ffd5c4"),this.unit||(this.unit=salla.config.currency().symbol)}))}getPercentage(){return this.value/this.target*100}render(){return this.target||this.message?t("div",{class:"s-progress-bar-container"},this.header?t("div",{class:"s-progress-bar-header"},this.header):"",this.getProgressBar(),this.message?t("span",{class:"s-progress-bar-message"},this.message):""):""}getProgressBar(){return this.target?[this.hideUnits?null:t("div",{class:"s-progress-bar-target-section"},t("span",{innerHTML:`${salla.helpers.number(this.value)} ${this.unit}`}),t("span",{innerHTML:`${salla.helpers.number(this.target)} ${this.unit}`})),t("div",{class:"s-progress-bar-wrapper",style:{height:this.height}},t("div",{class:{"s-progress-bar-progress":!0,"s-progress-bar-progress-stripped":this.stripped},style:{width:`${this.getPercentage()}%`,backgroundColor:this.color}}))]:null}};r.style="";export{r as salla_progress_bar}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as s,h as t,H as a,a as i}from"./p-
|
|
4
|
+
import{r as s,h as t,H as a,a as i}from"./p-CCvjaZrV.js";const e=class{constructor(t){s(this,t),this.exclude=[]}componentWillLoad(){return salla.onReady().then((()=>{if("string"==typeof this.exclude)try{this.exclude=JSON.parse(this.exclude)}catch(s){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")}))}render(){const s=!this.exclude.includes("made-in-ksa")&&salla.config.get("store.settings.made_in_ksa"),i=this.exclude.includes("sbc")?null:salla.config.get("store.settings.certificate.id");return t(a,{key:"bfb363665dada7c3e5c9ca429a4174b2ed5c2ed8",class:"s-payments-list-wrap"},t("ul",{key:"8f66db94e7e75ad5550892a319066c2101cb10fd",class:"s-payments-list"},s&&t("li",{key:"c570b7666e32e890966555b436d483cfe6bc888e",class:"s-payments-list-item"},t("img",{key:"2965ba9c49df3197f6f2e0c2b8d06d999170652e",width:"100%",height:"100%",decoding:"async",loading:"lazy",src:salla.url.cdn("images/made-in-ksa.svg",58,58),alt:"made in KSA certified"})),this.payments.map((s=>t("div","cod"==s?{id:"cod-slot",innerHTML:this.codSlot.replace(/\{image\}/g,salla.url.cdn("images/payment/cod_mini.png",58,58))}:{id:"payment-slot",innerHTML:this.paymentSlot.replace(/\{image\}/g,salla.url.cdn(`images/payment/${s}_mini.png`,58,58)).replace(/\{payment\}/g,s)}))),i&&t("div",{key:"c5d9ef3880d2620065fac5a174977899dd78ac2b",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/${i}`)})))}componentDidRender(){this.host.querySelectorAll("#payment-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelectorAll("#sbc-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelectorAll("#cod-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelector('[slot="payment"]')?.remove(),this.host.querySelector('[slot="sbc"]')?.remove(),this.host.querySelector('[slot="cod"]')?.remove()}get host(){return i(this)}};e.style=":host{display:block}";export{e as salla_payments}
|