@salla.sa/twilight-components 2.14.443 → 2.14.445
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-DUuldyqf.js → filepond-DHzf3TcL.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DCILZbgm.js → filepond-plugin-file-poster-BXm87rQo.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DGRAQ0sm.js → filepond-plugin-file-validate-size-C5UIq4A2.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DYFEU9Tu.js → filepond-plugin-file-validate-type-DuhBUbfK.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BfFPad0T.js → filepond-plugin-image-edit-B9-VYsWc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-OL_9sX5A.js → filepond-plugin-image-exif-orientation-DMpSTznq.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CJE7WqjM.js → filepond-plugin-image-preview-CMGkdkZi.js} +1 -1
- package/dist/cjs/{functions-CPtrW5R0.js → functions-9Nj0nrLx.js} +1 -1
- package/dist/cjs/{index-DTMl6O1v.js → index-DQZXng_4.js} +2 -2
- package/dist/cjs/{index-C39fe6Fg.js → index-rElwQMYM.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +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 +58 -42
- 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 +144 -38
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-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 +15 -4
- 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 +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-Bxh4OHr8.js → tracked-promise-YvbHmmFp.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-BT7MIz0v.js → vanilla-picker-C02drqC1.js} +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.css +15 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js +149 -36
- package/dist/collection/components/salla-order-edit/salla-order-edit.js +16 -4
- package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +97 -41
- package/dist/components/index.js +2 -2
- package/dist/components/salla-gifting.js +170 -51
- package/dist/components/salla-order-edit.js +16 -4
- package/dist/components/salla-searchable-dropdown2.js +59 -41
- package/dist/esm/{filepond-CzVc7z2L.js → filepond-D3RXwxDJ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DCAos-M-.js → filepond-plugin-file-poster-Bn0h-4qC.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-QIZfch1N.js → filepond-plugin-file-validate-size-CN-3nZup.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DkQ2Tjmm.js → filepond-plugin-file-validate-type-BbLjL14b.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BYTzgZli.js → filepond-plugin-image-edit-Dr_0Kpj1.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BShml-fP.js → filepond-plugin-image-exif-orientation-Bo8gf--w.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BZSvWS5P.js → filepond-plugin-image-preview-CkgdmQBn.js} +1 -1
- package/dist/esm/{functions-BRYRoVDu.js → functions-CsLl2GF-.js} +1 -1
- package/dist/esm/{index-8AfwlDks.js → index-BZR5x5kv.js} +1 -1
- package/dist/esm/{index-C1Q9TkIB.js → index-DNtvpIPH.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +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 +58 -42
- 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 +144 -38
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-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 +15 -4
- 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 +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-D1Ypxmkl.js → tracked-promise-BnC5Z9K7.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-Cydv9qqB.js → vanilla-picker-CF_W6ne1.js} +1 -1
- package/dist/twilight/{p-210fbf19.entry.js → p-007bf4b3.entry.js} +1 -1
- package/dist/twilight/{p-de41db95.entry.js → p-0418d2eb.entry.js} +1 -1
- package/dist/twilight/{p-ad400441.entry.js → p-058d72ba.entry.js} +1 -1
- package/dist/twilight/{p-fb7e9c2d.entry.js → p-062e5544.entry.js} +1 -1
- package/dist/twilight/p-06496953.entry.js +4 -0
- package/dist/twilight/{p-5f46564c.entry.js → p-08344e0e.entry.js} +1 -1
- package/dist/twilight/{p-a4ef1f08.entry.js → p-09aa60ca.entry.js} +1 -1
- package/dist/twilight/{p-7cc2c0cd.entry.js → p-0aea9987.entry.js} +1 -1
- package/dist/twilight/{p-13a48390.entry.js → p-108fff84.entry.js} +1 -1
- package/dist/twilight/{p-af72751b.entry.js → p-13cbd6eb.entry.js} +1 -1
- package/dist/twilight/{p-11c60244.entry.js → p-14b4b77f.entry.js} +1 -1
- package/dist/twilight/{p-0ea66318.entry.js → p-16e2e0a8.entry.js} +1 -1
- package/dist/twilight/p-185b629e.entry.js +4 -0
- package/dist/twilight/{p-615f0b05.entry.js → p-186df566.entry.js} +1 -1
- package/dist/twilight/{p-9f06e865.entry.js → p-2134195f.entry.js} +1 -1
- package/dist/twilight/{p-62721a71.entry.js → p-2282abc4.entry.js} +1 -1
- package/dist/twilight/{p-04ba55fb.entry.js → p-28e39ff0.entry.js} +1 -1
- package/dist/twilight/{p-50d27e92.entry.js → p-2b9deb4c.entry.js} +1 -1
- package/dist/twilight/{p-7b75d598.entry.js → p-2fb3d665.entry.js} +1 -1
- package/dist/twilight/{p-7af51165.entry.js → p-318e0847.entry.js} +1 -1
- package/dist/twilight/{p-30500443.entry.js → p-34c2e75f.entry.js} +1 -1
- package/dist/twilight/{p-5345526d.entry.js → p-38c677fb.entry.js} +1 -1
- package/dist/twilight/{p-75999cff.entry.js → p-3953d2cc.entry.js} +1 -1
- package/dist/twilight/{p-21f59e1c.entry.js → p-3af39ede.entry.js} +1 -1
- package/dist/twilight/{p-34d5d254.entry.js → p-3da82405.entry.js} +1 -1
- package/dist/twilight/{p-e9da3cc7.entry.js → p-4168d56d.entry.js} +1 -1
- package/dist/twilight/{p-d0927e70.entry.js → p-42e59b60.entry.js} +1 -1
- package/dist/twilight/{p-62c763dc.entry.js → p-43e90789.entry.js} +1 -1
- package/dist/twilight/{p-122be9b9.entry.js → p-455c6c0b.entry.js} +1 -1
- package/dist/twilight/{p-359c71aa.entry.js → p-45f78030.entry.js} +1 -1
- package/dist/twilight/{p-a5938402.entry.js → p-46bd695f.entry.js} +1 -1
- package/dist/twilight/{p-a01d05bb.entry.js → p-46f82b50.entry.js} +1 -1
- package/dist/twilight/{p-25ca9226.entry.js → p-52686e7d.entry.js} +1 -1
- package/dist/twilight/{p-025d82e1.entry.js → p-52d2d246.entry.js} +1 -1
- package/dist/twilight/{p-3a4490d0.entry.js → p-53c2b30e.entry.js} +1 -1
- package/dist/twilight/{p-d35b5154.entry.js → p-554e905e.entry.js} +1 -1
- package/dist/twilight/{p-a145f277.entry.js → p-561b7f43.entry.js} +1 -1
- package/dist/twilight/{p-53ac52d4.entry.js → p-564007ad.entry.js} +1 -1
- package/dist/twilight/{p-e15350fe.entry.js → p-56bdf925.entry.js} +1 -1
- package/dist/twilight/{p-b3e2e0f9.entry.js → p-589b4b5e.entry.js} +1 -1
- package/dist/twilight/{p-2474d970.entry.js → p-5da3194a.entry.js} +1 -1
- package/dist/twilight/{p-5c13a891.entry.js → p-67a36054.entry.js} +1 -1
- package/dist/twilight/{p-de845af5.entry.js → p-68fa49cc.entry.js} +1 -1
- package/dist/twilight/{p-28116325.entry.js → p-69498df8.entry.js} +1 -1
- package/dist/twilight/{p-Cxg0Hl1d.js → p-6Cm0Ixpa.js} +2 -2
- package/dist/twilight/{p-570c0f6a.entry.js → p-6c45e8fa.entry.js} +1 -1
- package/dist/twilight/{p-35f34856.entry.js → p-717782f4.entry.js} +1 -1
- package/dist/twilight/{p-bf76e5f6.entry.js → p-73409575.entry.js} +1 -1
- package/dist/twilight/{p-34cfcc10.entry.js → p-788c870c.entry.js} +1 -1
- package/dist/twilight/{p-f07ac09e.entry.js → p-7f805c47.entry.js} +1 -1
- package/dist/twilight/{p-74c7cb5c.entry.js → p-7ffd3938.entry.js} +1 -1
- package/dist/twilight/{p-2161e61b.entry.js → p-819992c7.entry.js} +1 -1
- package/dist/twilight/{p-eac567f1.entry.js → p-83a08f07.entry.js} +1 -1
- package/dist/twilight/{p-ac016389.entry.js → p-86be6cee.entry.js} +1 -1
- package/dist/twilight/{p-6d82f2f9.entry.js → p-87978156.entry.js} +1 -1
- package/dist/twilight/{p-afc9bc1b.entry.js → p-89bdd5e6.entry.js} +1 -1
- package/dist/twilight/{p-27cb91ff.entry.js → p-8d942086.entry.js} +1 -1
- package/dist/twilight/{p-37eeaeb6.entry.js → p-8f0d2c32.entry.js} +1 -1
- package/dist/twilight/{p-4af1f3ce.entry.js → p-9b4d472b.entry.js} +1 -1
- package/dist/twilight/{p-58542677.entry.js → p-9e1f454d.entry.js} +1 -1
- package/dist/twilight/{p-IxTdugtx.js → p-BGCZ19oG.js} +2 -2
- package/dist/twilight/{p-BJfi8_pj.js → p-Bc7fLLSC.js} +1 -1
- package/dist/twilight/{p-enKcXa72.js → p-BxtnkpUH.js} +1 -1
- package/dist/twilight/{p-CZJ4UGhE.js → p-C5-SqAXv.js} +1 -1
- package/dist/twilight/{p-CYG9gX2n.js → p-CCzp4vsg.js} +1 -1
- package/dist/twilight/p-D9eZofcJ.js +4 -0
- package/dist/twilight/{p-BFfL9VhE.js → p-DEbQVTrF.js} +1 -1
- package/dist/twilight/{p-C1Q9TkIB.js → p-DNtvpIPH.js} +1 -1
- package/dist/twilight/{p-Cu-SiRkr.js → p-D_Gt_HbS.js} +1 -1
- package/dist/twilight/{p-puRoZ09D.js → p-J5XAqGwq.js} +1 -1
- package/dist/twilight/{p-C0FpaBLL.js → p-NWWejksc.js} +1 -1
- package/dist/twilight/{p-5f1500d1.entry.js → p-a8aea13b.entry.js} +1 -1
- package/dist/twilight/{p-7aaafd56.entry.js → p-ab4d2172.entry.js} +1 -1
- package/dist/twilight/{p-afd7c751.entry.js → p-ab565608.entry.js} +1 -1
- package/dist/twilight/{p-3b0acf67.entry.js → p-ada82ecc.entry.js} +1 -1
- package/dist/twilight/{p-746f7ce5.entry.js → p-b25fd2a3.entry.js} +1 -1
- package/dist/twilight/{p-f28c99c0.entry.js → p-bb2ecab7.entry.js} +1 -1
- package/dist/twilight/{p-da208949.entry.js → p-be76e4e7.entry.js} +1 -1
- package/dist/twilight/{p-77aa75ab.entry.js → p-beb60b7e.entry.js} +1 -1
- package/dist/twilight/{p-451c925f.entry.js → p-c583a907.entry.js} +1 -1
- package/dist/twilight/{p-35d5a652.entry.js → p-c81203f3.entry.js} +1 -1
- package/dist/twilight/{p-b3d0e539.entry.js → p-c86c3e12.entry.js} +1 -1
- package/dist/twilight/{p-ef49690b.entry.js → p-ccf623d3.entry.js} +1 -1
- package/dist/twilight/{p-6c31c5c9.entry.js → p-d34e48ce.entry.js} +1 -1
- package/dist/twilight/{p-29485f8d.entry.js → p-d618c0ee.entry.js} +1 -1
- package/dist/twilight/{p-df483458.entry.js → p-d6dba947.entry.js} +1 -1
- package/dist/twilight/{p-46410329.entry.js → p-d8c3e606.entry.js} +1 -1
- package/dist/twilight/{p-1f532744.entry.js → p-db06baf6.entry.js} +1 -1
- package/dist/twilight/{p-9fa76038.entry.js → p-dd706055.entry.js} +1 -1
- package/dist/twilight/{p-346415be.entry.js → p-df7d2c53.entry.js} +1 -1
- package/dist/twilight/{p-49f4ac59.entry.js → p-dfc9dac3.entry.js} +1 -1
- package/dist/twilight/{p-1a1430f4.entry.js → p-e902b0b4.entry.js} +1 -1
- package/dist/twilight/{p-90a0eff7.entry.js → p-eb8a0d2f.entry.js} +1 -1
- package/dist/twilight/{p-44c8c901.entry.js → p-ecb8c538.entry.js} +1 -1
- package/dist/twilight/{p-eaa97e2d.entry.js → p-ed107904.entry.js} +1 -1
- package/dist/twilight/{p-a7fd1a3a.entry.js → p-ee83c195.entry.js} +1 -1
- package/dist/twilight/{p-51dd8f52.entry.js → p-f48a00a8.entry.js} +1 -1
- package/dist/twilight/{p-bc668ee7.entry.js → p-fa350b8c.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +23 -4
- package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +4 -0
- package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +8 -0
- package/dist/types/components.d.ts +18 -0
- package/package.json +5 -5
- package/dist/twilight/p-91076ee7.entry.js +0 -4
- package/dist/twilight/p-PQgQPBDL.js +0 -4
- package/dist/twilight/p-dec0d8c2.entry.js +0 -4
|
@@ -25,6 +25,7 @@ export class SallaOrderEdit {
|
|
|
25
25
|
this.addProductConfirmLoading = false;
|
|
26
26
|
this.mobileProductsModalMounted = false;
|
|
27
27
|
this.isMobileViewport = false;
|
|
28
|
+
this.isRTL = true;
|
|
28
29
|
// Plain field (not @State): scroll-loading guard never affects rendering, so avoid re-render churn.
|
|
29
30
|
this.mobileProductsListLoading = false;
|
|
30
31
|
this.confirming = false;
|
|
@@ -67,6 +68,9 @@ export class SallaOrderEdit {
|
|
|
67
68
|
};
|
|
68
69
|
this.defaultProductsListSource = 'latest';
|
|
69
70
|
this.debouncedProductSearch = salla.helpers.debounce((query) => this.applyProductSearch(query), 500);
|
|
71
|
+
salla.onReady(() => {
|
|
72
|
+
this.isRTL = salla.config.get('theme.is_rtl', true);
|
|
73
|
+
});
|
|
70
74
|
}
|
|
71
75
|
getParsedExcludedCategories() {
|
|
72
76
|
if (!this.excludedCategories) {
|
|
@@ -420,6 +424,13 @@ export class SallaOrderEdit {
|
|
|
420
424
|
this.navigateToOrder();
|
|
421
425
|
}
|
|
422
426
|
}
|
|
427
|
+
returnToOrderDetails() {
|
|
428
|
+
this.confirming = true;
|
|
429
|
+
this.navigateToOrder();
|
|
430
|
+
}
|
|
431
|
+
getConfirmButtonIconClass() {
|
|
432
|
+
return this.isRTL ? 'sicon-keyboard_arrow_left' : 'sicon-keyboard_arrow_right';
|
|
433
|
+
}
|
|
423
434
|
async cancelEditSession() {
|
|
424
435
|
try {
|
|
425
436
|
await salla.order.api.cancelEditSession(this.orderId);
|
|
@@ -469,7 +480,7 @@ export class SallaOrderEdit {
|
|
|
469
480
|
const hasRemainingAmount = preview?.totals?.remaining_amount?.amount > 0;
|
|
470
481
|
const hasRefundAmount = preview?.totals?.refund_amount?.amount > 0;
|
|
471
482
|
const taxAmount = preview?.totals?.tax?.amount?.amount;
|
|
472
|
-
return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", onModalVisibilityChanged: async (e) => {
|
|
483
|
+
return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", isClosable: false, onModalVisibilityChanged: async (e) => {
|
|
473
484
|
if (!e.detail) {
|
|
474
485
|
this.editPreview = null;
|
|
475
486
|
if (!this.confirming) {
|
|
@@ -477,7 +488,7 @@ export class SallaOrderEdit {
|
|
|
477
488
|
}
|
|
478
489
|
this.confirming = false;
|
|
479
490
|
}
|
|
480
|
-
} }, h("div", { class: "s-order-edit-modal" }, h("h2", { class: "s-order-edit-modal-title" }, salla.lang.getWithDefault('pages.orders.edit_summary_title', 'ملخص الطلب بعد التعديل')), preview?.items?.length > 0 && (h("div", { class: "s-order-edit-modal-items" }, preview.items.map(item => {
|
|
491
|
+
} }, h("div", { class: "s-order-edit-modal" }, h("h2", { class: "s-order-edit-modal-title" }, salla.lang.getWithDefault('pages.orders.edit_summary_title', 'ملخص الطلب بعد التعديل')), h("p", { class: "s-order-edit-modal-subtitle" }, salla.lang.getWithDefault('pages.orders.cart_edits_saved', 'Your cart edits have been saved')), preview?.items?.length > 0 && (h("div", { class: "s-order-edit-modal-items" }, preview.items.map(item => {
|
|
481
492
|
const orderItem = this.order?.items?.find(oi => oi.id == item.id);
|
|
482
493
|
const imageUrl = orderItem?.product?.image?.url;
|
|
483
494
|
const optionsLabel = item.options?.join('/ ');
|
|
@@ -486,7 +497,7 @@ export class SallaOrderEdit {
|
|
|
486
497
|
? salla.lang.getWithDefault('pages.orders.pay_difference', 'دفع فارق المبلغ')
|
|
487
498
|
: hasRefundAmount
|
|
488
499
|
? salla.lang.getWithDefault('pages.orders.confirm_and_receive_difference', 'تأكيد واستلام فارق المبلغ')
|
|
489
|
-
: salla.lang.getWithDefault('pages.orders.confirm_changes', 'تأكيد التعديلات'), h("i", { class:
|
|
500
|
+
: salla.lang.getWithDefault('pages.orders.confirm_changes', 'تأكيد التعديلات'), h("i", { class: `${this.getConfirmButtonIconClass()} s-order-edit-modal-btn-icon` })), h("salla-button", { color: 'gray', fill: "outline", onClick: () => this.returnToOrderDetails() }, salla.lang.getWithDefault('pages.orders.back_to_order_details', 'العودة إلى تفاصيل الطلب'))))));
|
|
490
501
|
}
|
|
491
502
|
render() {
|
|
492
503
|
if (this.loading) {
|
|
@@ -595,7 +606,8 @@ export class SallaOrderEdit {
|
|
|
595
606
|
"addProductLoading": {},
|
|
596
607
|
"addProductConfirmLoading": {},
|
|
597
608
|
"mobileProductsModalMounted": {},
|
|
598
|
-
"isMobileViewport": {}
|
|
609
|
+
"isMobileViewport": {},
|
|
610
|
+
"isRTL": {}
|
|
599
611
|
};
|
|
600
612
|
}
|
|
601
613
|
static get listeners() {
|
|
@@ -16,6 +16,13 @@ export class SallaSearchableDropdown {
|
|
|
16
16
|
this.searchQuery = '';
|
|
17
17
|
this.clientSearch = false;
|
|
18
18
|
this.dropUp = false;
|
|
19
|
+
this.searchable = true;
|
|
20
|
+
/**
|
|
21
|
+
* When true, the dropdown will NOT override the nearest scrollable ancestor's
|
|
22
|
+
* `overflow` to `visible` while open. Use this when the host (e.g. a modal
|
|
23
|
+
* body) needs to keep its own scrolling intact while the dropdown is open.
|
|
24
|
+
*/
|
|
25
|
+
this.keepParentScroll = false;
|
|
19
26
|
this.isOpen = false;
|
|
20
27
|
this.focusedIndex = -1;
|
|
21
28
|
this.clientSearchQuery = '';
|
|
@@ -29,14 +36,18 @@ export class SallaSearchableDropdown {
|
|
|
29
36
|
}
|
|
30
37
|
};
|
|
31
38
|
this.handleTriggerKeyDown = (e) => {
|
|
32
|
-
if (
|
|
33
|
-
e.
|
|
34
|
-
|
|
39
|
+
if (!this.isOpen) {
|
|
40
|
+
if (e.key === 'Enter' || e.key === ' ' || e.key === 'ArrowDown') {
|
|
41
|
+
e.preventDefault();
|
|
35
42
|
this.open();
|
|
43
|
+
}
|
|
44
|
+
else if (e.key === 'Escape') {
|
|
45
|
+
this.close();
|
|
46
|
+
}
|
|
47
|
+
return;
|
|
36
48
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
49
|
+
// When open without a search input, the trigger keeps focus and drives item navigation.
|
|
50
|
+
this.navigateItems(e);
|
|
40
51
|
};
|
|
41
52
|
this.handleSearchInputChange = (e) => {
|
|
42
53
|
const value = e.target.value;
|
|
@@ -47,34 +58,7 @@ export class SallaSearchableDropdown {
|
|
|
47
58
|
this.focusedIndex = -1;
|
|
48
59
|
};
|
|
49
60
|
this.handleSearchKeyDown = (e) => {
|
|
50
|
-
|
|
51
|
-
const itemCount = visibleItems.length;
|
|
52
|
-
switch (e.key) {
|
|
53
|
-
case 'ArrowDown':
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
this.focusedIndex = itemCount > 0
|
|
56
|
-
? (this.focusedIndex + 1) % itemCount
|
|
57
|
-
: -1;
|
|
58
|
-
this.scrollFocusedIntoView();
|
|
59
|
-
break;
|
|
60
|
-
case 'ArrowUp':
|
|
61
|
-
e.preventDefault();
|
|
62
|
-
this.focusedIndex = itemCount > 0
|
|
63
|
-
? (this.focusedIndex - 1 + itemCount) % itemCount
|
|
64
|
-
: -1;
|
|
65
|
-
this.scrollFocusedIntoView();
|
|
66
|
-
break;
|
|
67
|
-
case 'Enter':
|
|
68
|
-
e.preventDefault();
|
|
69
|
-
if (this.focusedIndex >= 0 && this.focusedIndex < itemCount) {
|
|
70
|
-
this.selectItem(visibleItems[this.focusedIndex]);
|
|
71
|
-
}
|
|
72
|
-
break;
|
|
73
|
-
case 'Escape':
|
|
74
|
-
e.preventDefault();
|
|
75
|
-
this.close();
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
61
|
+
this.navigateItems(e);
|
|
78
62
|
};
|
|
79
63
|
}
|
|
80
64
|
connectedCallback() {
|
|
@@ -137,9 +121,11 @@ export class SallaSearchableDropdown {
|
|
|
137
121
|
return;
|
|
138
122
|
this.isOpen = true;
|
|
139
123
|
this.focusedIndex = -1;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
this.scrollableAncestor
|
|
124
|
+
if (!this.keepParentScroll) {
|
|
125
|
+
this.scrollableAncestor = this.findScrollableAncestor();
|
|
126
|
+
if (this.scrollableAncestor) {
|
|
127
|
+
this.scrollableAncestor.style.overflow = 'visible';
|
|
128
|
+
}
|
|
143
129
|
}
|
|
144
130
|
this.dropdownOpened.emit();
|
|
145
131
|
requestAnimationFrame(() => this.searchInputRef?.focus());
|
|
@@ -156,6 +142,36 @@ export class SallaSearchableDropdown {
|
|
|
156
142
|
}
|
|
157
143
|
this.dropdownClosed.emit();
|
|
158
144
|
}
|
|
145
|
+
navigateItems(e) {
|
|
146
|
+
const visibleItems = this.filteredItems;
|
|
147
|
+
const itemCount = visibleItems.length;
|
|
148
|
+
switch (e.key) {
|
|
149
|
+
case 'ArrowDown':
|
|
150
|
+
e.preventDefault();
|
|
151
|
+
this.focusedIndex = itemCount > 0
|
|
152
|
+
? (this.focusedIndex + 1) % itemCount
|
|
153
|
+
: -1;
|
|
154
|
+
this.scrollFocusedIntoView();
|
|
155
|
+
break;
|
|
156
|
+
case 'ArrowUp':
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
this.focusedIndex = itemCount > 0
|
|
159
|
+
? (this.focusedIndex - 1 + itemCount) % itemCount
|
|
160
|
+
: -1;
|
|
161
|
+
this.scrollFocusedIntoView();
|
|
162
|
+
break;
|
|
163
|
+
case 'Enter':
|
|
164
|
+
e.preventDefault();
|
|
165
|
+
if (this.focusedIndex >= 0 && this.focusedIndex < itemCount) {
|
|
166
|
+
this.selectItem(visibleItems[this.focusedIndex]);
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case 'Escape':
|
|
170
|
+
e.preventDefault();
|
|
171
|
+
this.close();
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
159
175
|
scrollFocusedIntoView() {
|
|
160
176
|
if (this.focusedIndex < 0)
|
|
161
177
|
return;
|
|
@@ -172,18 +188,18 @@ export class SallaSearchableDropdown {
|
|
|
172
188
|
render() {
|
|
173
189
|
const hasSelection = this.selectedItem != null;
|
|
174
190
|
const listboxId = `${this.inputId}-listbox`;
|
|
175
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: 'c529f2b61adbc38aa1e5403da6fdb985fe256baa', class: "s-searchable-dropdown" }, h("div", { key: '88ab96afd36421fdf965b79298fa14f435adbcef', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '6ee8a2d0428e1347e36eabec32a3129897481abc', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '8473884ec18e73c72c79e7749264bd9c24c56ae9', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'bffbea7ff0cb9466c8a852a841a21ed8351ef92d', class: {
|
|
176
192
|
's-searchable-dropdown-trigger': true,
|
|
177
193
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
178
194
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
179
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '
|
|
195
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'e3aee1ffe1b80a9ef21f4c9cca02de0a590b0825', class: {
|
|
180
196
|
'sicon-keyboard_arrow_down': true,
|
|
181
197
|
's-searchable-dropdown-trigger-icon': true,
|
|
182
198
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
183
|
-
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '
|
|
199
|
+
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '7a19f2d6847b3e0dda5e0ea509df91a2f48fa098', class: {
|
|
184
200
|
's-searchable-dropdown-panel': true,
|
|
185
201
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
186
|
-
}, ref: (el) => (this.panelRef = el) }, h("div", { key: '
|
|
202
|
+
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '601529f76a09762a57fe7b7663ecfa1505462367', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: 'f91e464e7efed3759837880b5a7593daa4f84ecb', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: 'f72a7e12d0a6e90bab3983258c9b08aa286bc897', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '495aa88fc76d3d17956db7277cc98aff08b4c1af', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
187
203
|
}
|
|
188
204
|
renderListContent() {
|
|
189
205
|
if (this.searching || this.loading) {
|
|
@@ -477,6 +493,46 @@ export class SallaSearchableDropdown {
|
|
|
477
493
|
"setter": false,
|
|
478
494
|
"reflect": false,
|
|
479
495
|
"defaultValue": "false"
|
|
496
|
+
},
|
|
497
|
+
"searchable": {
|
|
498
|
+
"type": "boolean",
|
|
499
|
+
"attribute": "searchable",
|
|
500
|
+
"mutable": false,
|
|
501
|
+
"complexType": {
|
|
502
|
+
"original": "boolean",
|
|
503
|
+
"resolved": "boolean",
|
|
504
|
+
"references": {}
|
|
505
|
+
},
|
|
506
|
+
"required": false,
|
|
507
|
+
"optional": false,
|
|
508
|
+
"docs": {
|
|
509
|
+
"tags": [],
|
|
510
|
+
"text": ""
|
|
511
|
+
},
|
|
512
|
+
"getter": false,
|
|
513
|
+
"setter": false,
|
|
514
|
+
"reflect": false,
|
|
515
|
+
"defaultValue": "true"
|
|
516
|
+
},
|
|
517
|
+
"keepParentScroll": {
|
|
518
|
+
"type": "boolean",
|
|
519
|
+
"attribute": "keep-parent-scroll",
|
|
520
|
+
"mutable": false,
|
|
521
|
+
"complexType": {
|
|
522
|
+
"original": "boolean",
|
|
523
|
+
"resolved": "boolean",
|
|
524
|
+
"references": {}
|
|
525
|
+
},
|
|
526
|
+
"required": false,
|
|
527
|
+
"optional": false,
|
|
528
|
+
"docs": {
|
|
529
|
+
"tags": [],
|
|
530
|
+
"text": "When true, the dropdown will NOT override the nearest scrollable ancestor's\n`overflow` to `visible` while open. Use this when the host (e.g. a modal\nbody) needs to keep its own scrolling intact while the dropdown is open."
|
|
531
|
+
},
|
|
532
|
+
"getter": false,
|
|
533
|
+
"setter": false,
|
|
534
|
+
"reflect": false,
|
|
535
|
+
"defaultValue": "false"
|
|
480
536
|
}
|
|
481
537
|
};
|
|
482
538
|
}
|