@salla.sa/twilight-components 2.14.459 → 2.14.461
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-DGjKsL4Z.js → filepond-DDAGSiBu.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Q5BPSEn_.js → filepond-plugin-file-poster-nmHjxMAB.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DqTmfsfu.js → filepond-plugin-file-validate-size-BtQEm835.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-D526i3dm.js → filepond-plugin-file-validate-type-DZh74oiy.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BDgIU9Go.js → filepond-plugin-image-edit-CTGzmH1f.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Da6QG4_J.js → filepond-plugin-image-exif-orientation-D851LeUg.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CPb3lB8x.js → filepond-plugin-image-preview-BcbCu3xH.js} +1 -1
- package/dist/cjs/{functions-DIZLPj6n.js → functions-JSbmlqCR.js} +1 -1
- package/dist/cjs/{index-C5VZF2SB.js → index-B382wYR4.js} +1 -1
- package/dist/cjs/{index-DFPCRma5.js → index-BbEaNgXt.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 +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +11 -4
- 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-DcTnHHuS.js → tracked-promise-B0hsrPu_.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-dGiAD7ic.js → vanilla-picker-CuSFaj7m.js} +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +19 -3
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +10 -3
- package/dist/components/index.js +2 -2
- package/dist/components/salla-localization-modal.js +19 -3
- package/dist/components/salla-trust-badges.js +10 -3
- package/dist/esm/{filepond-DcMHeT3j.js → filepond-n7Tk1X1s.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-KBxuLEbb.js → filepond-plugin-file-poster-BSnp0vvZ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BK-MtfMA.js → filepond-plugin-file-validate-size-CoYRMYw6.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-crBUzoNT.js → filepond-plugin-file-validate-type-qCOXsTrd.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BTOgfYiD.js → filepond-plugin-image-edit-DXpVwYXm.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Dooy1jA0.js → filepond-plugin-image-exif-orientation-BWH5RIuD.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-ln9g6gwR.js → filepond-plugin-image-preview-D2-j0VSU.js} +1 -1
- package/dist/esm/{functions-BuD3yG-5.js → functions-C0YAccvF.js} +1 -1
- package/dist/esm/{index-D47JMPpe.js → index-CWoBHtob.js} +1 -1
- package/dist/esm/{index-LFMpXt4w.js → index-DZJfoSMn.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 +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 +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +11 -4
- 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-DPbO0QsO.js → tracked-promise-GcOA8b3a.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-DAQGFAt4.js → vanilla-picker-BpADmZjj.js} +1 -1
- package/dist/twilight/{p-f4ecb099.entry.js → p-0377ee4a.entry.js} +1 -1
- package/dist/twilight/{p-289e48d4.entry.js → p-04755a75.entry.js} +1 -1
- package/dist/twilight/{p-fc9573b3.entry.js → p-05f84e06.entry.js} +1 -1
- package/dist/twilight/{p-80141f08.entry.js → p-0707d2f3.entry.js} +1 -1
- package/dist/twilight/{p-78276ba5.entry.js → p-098f1fae.entry.js} +1 -1
- package/dist/twilight/{p-c1ab48f6.entry.js → p-0bba3324.entry.js} +1 -1
- package/dist/twilight/{p-b92bb0e6.entry.js → p-154982a2.entry.js} +1 -1
- package/dist/twilight/{p-a70406d4.entry.js → p-15674f9e.entry.js} +1 -1
- package/dist/twilight/{p-e2044262.entry.js → p-173db748.entry.js} +1 -1
- package/dist/twilight/{p-e35e0f54.entry.js → p-17d10d15.entry.js} +1 -1
- package/dist/twilight/{p-e5631806.entry.js → p-20ccbbe4.entry.js} +1 -1
- package/dist/twilight/{p-046159e7.entry.js → p-23d3fe72.entry.js} +1 -1
- package/dist/twilight/{p-5d16469d.entry.js → p-23de0e4d.entry.js} +1 -1
- package/dist/twilight/p-28472b7d.entry.js +4 -0
- package/dist/twilight/{p-80c8cff1.entry.js → p-28654655.entry.js} +1 -1
- package/dist/twilight/{p-04e86cc4.entry.js → p-2a900c4e.entry.js} +1 -1
- package/dist/twilight/{p-a76b17e2.entry.js → p-30532b9c.entry.js} +1 -1
- package/dist/twilight/{p-2e11c53e.entry.js → p-3355b043.entry.js} +1 -1
- package/dist/twilight/{p-cd24514a.entry.js → p-348ba7bc.entry.js} +1 -1
- package/dist/twilight/{p-adfecc83.entry.js → p-36b19d00.entry.js} +1 -1
- package/dist/twilight/{p-be894841.entry.js → p-38e27a00.entry.js} +1 -1
- package/dist/twilight/{p-a6734e3a.entry.js → p-3c726469.entry.js} +1 -1
- package/dist/twilight/{p-f349772e.entry.js → p-3cea9d02.entry.js} +1 -1
- package/dist/twilight/{p-ce75d101.entry.js → p-3d72203e.entry.js} +1 -1
- package/dist/twilight/{p-c74934e9.entry.js → p-4391b061.entry.js} +1 -1
- package/dist/twilight/{p-11f1a28b.entry.js → p-457c98ed.entry.js} +1 -1
- package/dist/twilight/{p-52ac44c5.entry.js → p-4bd6e04e.entry.js} +1 -1
- package/dist/twilight/{p-5b197d71.entry.js → p-4e1dd088.entry.js} +1 -1
- package/dist/twilight/{p-17970285.entry.js → p-4f28f97c.entry.js} +1 -1
- package/dist/twilight/{p-f32fa56d.entry.js → p-57b49cdf.entry.js} +1 -1
- package/dist/twilight/{p-035ea236.entry.js → p-5d8e2e4e.entry.js} +1 -1
- package/dist/twilight/{p-01f84b1c.entry.js → p-60d8f39b.entry.js} +1 -1
- package/dist/twilight/{p-4b55ed30.entry.js → p-60ed6a43.entry.js} +1 -1
- package/dist/twilight/{p-fc27afea.entry.js → p-6585f570.entry.js} +1 -1
- package/dist/twilight/{p-356bbb4f.entry.js → p-6deac135.entry.js} +1 -1
- package/dist/twilight/{p-7bd6623d.entry.js → p-6fcbb71a.entry.js} +1 -1
- package/dist/twilight/{p-6b2c7fd9.entry.js → p-723fd41b.entry.js} +1 -1
- package/dist/twilight/{p-01ae33ac.entry.js → p-72cac49f.entry.js} +1 -1
- package/dist/twilight/{p-85ca0b80.entry.js → p-759ec1b2.entry.js} +1 -1
- package/dist/twilight/{p-40716039.entry.js → p-78ea4116.entry.js} +1 -1
- package/dist/twilight/{p-525c6230.entry.js → p-7cdd0edd.entry.js} +1 -1
- package/dist/twilight/{p-3d83750f.entry.js → p-7f8842a6.entry.js} +1 -1
- package/dist/twilight/{p-619bd683.entry.js → p-8494470d.entry.js} +1 -1
- package/dist/twilight/{p-db5c545a.entry.js → p-8640b282.entry.js} +1 -1
- package/dist/twilight/{p-7cf69f2f.entry.js → p-8bdb3374.entry.js} +1 -1
- package/dist/twilight/{p-a119c0b5.entry.js → p-8e0cb0b4.entry.js} +1 -1
- package/dist/twilight/{p-a9a5c8fa.entry.js → p-8e29f889.entry.js} +1 -1
- package/dist/twilight/{p-628d1673.entry.js → p-92a92648.entry.js} +1 -1
- package/dist/twilight/{p-da736b50.entry.js → p-92bdfae5.entry.js} +1 -1
- package/dist/twilight/p-95916068.entry.js +4 -0
- package/dist/twilight/{p-Dh7EHj7d.js → p-AfEAfJ98.js} +1 -1
- package/dist/twilight/{p-CjEmeOim.js → p-BGvyt9d0.js} +1 -1
- package/dist/twilight/{p-BeSwpz9O.js → p-BJydaLla.js} +2 -2
- package/dist/twilight/p-BuQQcHl4.js +4 -0
- package/dist/twilight/{p-CUtmSDDB.js → p-CL6oN_Q7.js} +1 -1
- package/dist/twilight/{p-CgrzPzoa.js → p-CzKVU0uc.js} +1 -1
- package/dist/twilight/p-D1YyLASn.js +9 -0
- package/dist/twilight/{p-wLMN58-n.js → p-D3Knumjd.js} +1 -1
- package/dist/twilight/{p-CZckMsJI.js → p-DPrVo6nK.js} +1 -1
- package/dist/twilight/{p-LFMpXt4w.js → p-DZJfoSMn.js} +1 -1
- package/dist/twilight/{p-C60CVu0N.js → p-DtRKnFMd.js} +1 -1
- package/dist/twilight/{p-8b37e9f6.entry.js → p-a2ef6d82.entry.js} +1 -1
- package/dist/twilight/{p-4519a7bc.entry.js → p-a77699f6.entry.js} +1 -1
- package/dist/twilight/{p-6ab24467.entry.js → p-aa6980d3.entry.js} +1 -1
- package/dist/twilight/{p-5ffdd593.entry.js → p-aaa589b3.entry.js} +1 -1
- package/dist/twilight/{p-84bbc5f0.entry.js → p-ab681e13.entry.js} +1 -1
- package/dist/twilight/{p-2e7a103f.entry.js → p-ac27db7b.entry.js} +1 -1
- package/dist/twilight/{p-53663091.entry.js → p-adb26a1f.entry.js} +1 -1
- package/dist/twilight/{p-eea3ae1c.entry.js → p-b17dff86.entry.js} +1 -1
- package/dist/twilight/{p-303b4348.entry.js → p-b8879670.entry.js} +6 -6
- package/dist/twilight/{p-426ea2e9.entry.js → p-c177ec39.entry.js} +1 -1
- package/dist/twilight/{p-4e4dfff9.entry.js → p-c443a332.entry.js} +1 -1
- package/dist/twilight/{p-627c326c.entry.js → p-c74ccdee.entry.js} +1 -1
- package/dist/twilight/{p-5834f1e5.entry.js → p-c785365c.entry.js} +1 -1
- package/dist/twilight/{p-cdc6db50.entry.js → p-c8376047.entry.js} +1 -1
- package/dist/twilight/{p-ff0ce619.entry.js → p-ce20b220.entry.js} +1 -1
- package/dist/twilight/{p-34b5b7d5.entry.js → p-d04feb4a.entry.js} +1 -1
- package/dist/twilight/{p-37291b15.entry.js → p-d369971e.entry.js} +1 -1
- package/dist/twilight/{p-9774320f.entry.js → p-d4bf9b9a.entry.js} +1 -1
- package/dist/twilight/{p-770d84fb.entry.js → p-d88387cf.entry.js} +1 -1
- package/dist/twilight/{p-adab7f42.entry.js → p-d993f567.entry.js} +1 -1
- package/dist/twilight/{p-6e1478a1.entry.js → p-d9bc10fa.entry.js} +1 -1
- package/dist/twilight/{p-8ae1064c.entry.js → p-dc85db79.entry.js} +1 -1
- package/dist/twilight/{p-795f5e87.entry.js → p-e18d93d6.entry.js} +1 -1
- package/dist/twilight/{p-068ab5b3.entry.js → p-e3c42341.entry.js} +1 -1
- package/dist/twilight/{p-8c679c7b.entry.js → p-e8514ae6.entry.js} +1 -1
- package/dist/twilight/{p-355b31ee.entry.js → p-e9029b24.entry.js} +1 -1
- package/dist/twilight/{p-b5083002.entry.js → p-ebfbda5f.entry.js} +1 -1
- package/dist/twilight/p-ed061a5a.entry.js +4 -0
- package/dist/twilight/{p-bde5b9ac.entry.js → p-ed4a6e2d.entry.js} +1 -1
- package/dist/twilight/{p-c2ec7224.entry.js → p-ef824ee1.entry.js} +1 -1
- package/dist/twilight/p-f3a8ffbe.entry.js +4 -0
- package/dist/twilight/{p-d4780439.entry.js → p-f44362e9.entry.js} +1 -1
- package/dist/twilight/{p-05989724.entry.js → p-f4c8cace.entry.js} +1 -1
- package/dist/twilight/{p-2b3591c9.entry.js → p-f7c7dd70.entry.js} +1 -1
- package/dist/twilight/{p-c7376a3d.entry.js → p-fbea393e.entry.js} +1 -1
- package/dist/twilight/{p-96b69cc2.entry.js → p-fcb5ea5d.entry.js} +1 -1
- package/dist/twilight/{p-e49e893c.entry.js → p-fe4866b6.entry.js} +1 -1
- package/dist/twilight/{p-BoSXpmeB.js → p-q7sRVQkm.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-trust-badges/salla-trust-badges.d.ts +2 -2
- package/package.json +5 -5
- package/dist/twilight/p-2d0bbec1.entry.js +0 -4
- package/dist/twilight/p-6b58eb2d.entry.js +0 -4
- package/dist/twilight/p-Ck4ltJzi.js +0 -9
- package/dist/twilight/p-DILJJ674.js +0 -4
- package/dist/twilight/p-ca1140a4.entry.js +0 -4
- package/dist/twilight/p-e682012f.entry.js +0 -4
|
@@ -84,7 +84,8 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
|
|
|
84
84
|
DZD: { en: "Algerian Dinar", ar: "دينار جزائري", symbol: "دج" },
|
|
85
85
|
MAD: { en: "Moroccan Dirham", ar: "درهم مغربي", symbol: "د.م." },
|
|
86
86
|
LYD: { en: "Libyan Dinar", ar: "دينار ليبي", symbol: "LD" },
|
|
87
|
-
YER: { en: "Yemeni Riyal", ar: "ريال يمني", symbol: "ر.ي" }
|
|
87
|
+
YER: { en: "Yemeni Riyal", ar: "ريال يمني", symbol: "ر.ي" },
|
|
88
|
+
ILS: { en: "New Shekel", ar: "شيكل جديد", symbol: "₪" }
|
|
88
89
|
};
|
|
89
90
|
//here we will used the currency code instead of the symbol when current language is not arabic
|
|
90
91
|
this.arabicCurrencies = ["SAR", "AED", "KWD", "BHD", "QAR", "OMR", "EGP", "IQD", "LBP", "SYP", "TND", "DZD", "MAD", "YER"];
|
|
@@ -117,6 +118,8 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
|
|
|
117
118
|
if (!this.currency) {
|
|
118
119
|
this.currency = Salla.config.get('user.currency_code');
|
|
119
120
|
}
|
|
121
|
+
// Pre-load currencies so the trigger can resolve unknown codes via API fallback before the modal opens
|
|
122
|
+
Salla.api.withoutNotifier(() => this.getCurrencies()).catch(() => null);
|
|
120
123
|
}
|
|
121
124
|
/**
|
|
122
125
|
* open the component
|
|
@@ -144,7 +147,17 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
|
|
|
144
147
|
return this.modal.close();
|
|
145
148
|
}
|
|
146
149
|
getCurrency(currencyCode) {
|
|
147
|
-
|
|
150
|
+
const code = currencyCode || this.currency;
|
|
151
|
+
if (this.currenciesList[code]) {
|
|
152
|
+
return this.currenciesList[code];
|
|
153
|
+
}
|
|
154
|
+
const fromApi = this.currencies.find((c) => c.code === code);
|
|
155
|
+
if (fromApi) {
|
|
156
|
+
const name = this.escapeHtml(String(fromApi.name || code));
|
|
157
|
+
const symbol = this.escapeHtml(String((fromApi.symbol || '').trim() || code));
|
|
158
|
+
return { en: name, ar: name, symbol };
|
|
159
|
+
}
|
|
160
|
+
return { en: "Saudi Riyal", ar: "ريال سعودي", symbol: "ر.س" };
|
|
148
161
|
}
|
|
149
162
|
getLanguageName() {
|
|
150
163
|
return this.languageNames[this.language] || this.language || '';
|
|
@@ -162,6 +175,9 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
|
|
|
162
175
|
getCurrencyName(currencyCode) {
|
|
163
176
|
return this.language === 'ar' ? this.getCurrency(currencyCode).ar : this.getCurrency(currencyCode).en;
|
|
164
177
|
}
|
|
178
|
+
escapeHtml(str) {
|
|
179
|
+
return str.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');
|
|
180
|
+
}
|
|
165
181
|
async getLanguages() {
|
|
166
182
|
return this.languages.length > 1 ? null : await Salla.config.languages().then(data => this.languages = data);
|
|
167
183
|
}
|
|
@@ -213,7 +229,7 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
|
|
|
213
229
|
this.showTrigger
|
|
214
230
|
? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
|
|
215
231
|
: '',
|
|
216
|
-
h("salla-modal", { key: '
|
|
232
|
+
h("salla-modal", { key: '6a3f736912181c5305a6c3007a5c3a739dc29b17', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '1fa6da25fef6d53258fdf14be51f23681321f5f2', slot: 'loading' }, h("div", { key: '64aa0b53fe359df364c915b80b5bc26de5e57300', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '41ba7271f064fa3880a75467868da9742b236c5c', width: '25%', height: '15px' }), h("div", { key: 'fa336b997a868f2f08ae3b89933d2dc99a33ce74', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'f2a3c995ee6aa642435b9aa054bb0dd857674b61', width: '25%', height: '15px' }), h("div", { key: '4cdc8d8f3f639a161e4c8663e7bcd3425aeb3e00', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '717051872db0bafe45c8fecb5559dca19954e1f2', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
217
233
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
|
|
218
234
|
h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
219
235
|
h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
|
|
@@ -50,10 +50,11 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
50
50
|
componentWillLoad() {
|
|
51
51
|
this.initializeTranslations();
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
async componentDidLoad() {
|
|
54
|
+
await salla.onReady();
|
|
55
|
+
if (!this.isVisibilityEnforced())
|
|
56
|
+
return;
|
|
54
57
|
this.setupVisibilityGuard();
|
|
55
|
-
}
|
|
56
|
-
componentDidLoad() {
|
|
57
58
|
this.scheduleEnforce();
|
|
58
59
|
}
|
|
59
60
|
componentDidRender() {
|
|
@@ -67,6 +68,10 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
67
68
|
this.cachedChain = [];
|
|
68
69
|
this.clearEnforceTimers();
|
|
69
70
|
}
|
|
71
|
+
// Visibility enforcement is a KSA-only legal requirement.
|
|
72
|
+
isVisibilityEnforced() {
|
|
73
|
+
return salla.config.get('store.store_country') === 'SA';
|
|
74
|
+
}
|
|
70
75
|
getAncestorChain(host) {
|
|
71
76
|
const chain = [];
|
|
72
77
|
let el = host;
|
|
@@ -136,6 +141,8 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
136
141
|
}
|
|
137
142
|
}
|
|
138
143
|
scheduleEnforce() {
|
|
144
|
+
if (!this.isVisibilityEnforced())
|
|
145
|
+
return;
|
|
139
146
|
// Debounce waits for an entrance animation to settle; maxWait bounds it so endless chain mutations can't starve the repair.
|
|
140
147
|
if (this.enforceTimer !== undefined)
|
|
141
148
|
clearTimeout(this.enforceTimer);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DZJfoSMn.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|