@salla.sa/twilight-components 2.14.409 → 2.14.411
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-_YUCqjZz.js → filepond-DmIUNeKc.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DETXDGSa.js → filepond-plugin-file-poster-C8AOgqzV.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DI4aQsrT.js → filepond-plugin-file-validate-size-C1uEA-N4.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-wP_qhQ5Z.js → filepond-plugin-file-validate-type-CAYEi5xZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-pumLkq4m.js → filepond-plugin-image-edit-DeGtwB2d.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Df4RWDaf.js → filepond-plugin-image-exif-orientation-BL0bCUVQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CiISL9NZ.js → filepond-plugin-image-preview-Dih1Wn_X.js} +1 -1
- package/dist/cjs/{functions-C8UUG2MA.js → functions-CcFdqlpK.js} +1 -1
- package/dist/cjs/{index-Db0Qrz4u.js → index-BBXwu2T_.js} +1 -1
- package/dist/cjs/{index-DJN7HwcX.js → index-PZNCZxVn.js} +6 -6
- 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_4.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.cjs.entry.js +2 -2
- 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-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +12 -3
- 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 +294 -157
- 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 +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-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-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.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 +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-NByRrgen.js → tracked-promise-DDi0ylD7.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-2VN_UkJg.js → vanilla-picker-OPSqChB9.js} +1 -1
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +1 -1
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +11 -2
- package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +40 -0
- package/dist/collection/components/salla-delivery-promise/delivery-promise-city-filter.js +11 -0
- package/dist/collection/components/salla-delivery-promise/delivery-promise-intent.js +55 -0
- package/dist/collection/components/salla-delivery-promise/delivery-promise-labels.js +39 -0
- package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +175 -167
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bullet-delivery.js +1 -1
- package/dist/components/salla-conditional-offer.js +11 -2
- package/dist/components/salla-delivery-promise.js +324 -165
- package/dist/esm/{filepond-C_gsIK2H.js → filepond-905U04xY.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BBBLzUWp.js → filepond-plugin-file-poster-BWkARu_j.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-hafSzBsP.js → filepond-plugin-file-validate-size-C0PJYzhi.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DEKO_1D3.js → filepond-plugin-file-validate-type-Bglz2iC6.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DfPaLALg.js → filepond-plugin-image-edit-3aH_4pIL.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CjK9SG2x.js → filepond-plugin-image-exif-orientation-B1h3s1nQ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BEbkyXKY.js → filepond-plugin-image-preview-CAiiia6W.js} +1 -1
- package/dist/esm/{functions-DUlq3N7K.js → functions-GzuwX5HS.js} +1 -1
- package/dist/esm/{index-CNVLmZO5.js → index-rIbWLXjW.js} +6 -6
- package/dist/esm/{index-DgbtFfph.js → index-xT-Vt0D7.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_4.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.entry.js +2 -2
- 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-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +12 -3
- 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 +294 -157
- 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 +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-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-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.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 +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-XIu_8oOZ.js → tracked-promise-BQ3oDpFo.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BQQSG79j.js → vanilla-picker-Cv_dc6oT.js} +1 -1
- package/dist/twilight/{p-f27157cd.entry.js → p-03327bdb.entry.js} +1 -1
- package/dist/twilight/{p-8dcdc70a.entry.js → p-0362115c.entry.js} +1 -1
- package/dist/twilight/{p-7c8dcb34.entry.js → p-05618953.entry.js} +1 -1
- package/dist/twilight/{p-41e6423e.entry.js → p-09de8e38.entry.js} +1 -1
- package/dist/twilight/{p-f878fb20.entry.js → p-0a39c576.entry.js} +1 -1
- package/dist/twilight/{p-c705cacb.entry.js → p-0ad7c855.entry.js} +1 -1
- package/dist/twilight/{p-fa9ef9b1.entry.js → p-0c751ad3.entry.js} +1 -1
- package/dist/twilight/{p-8c2279bc.entry.js → p-0d04fb8c.entry.js} +1 -1
- package/dist/twilight/{p-9904bede.entry.js → p-15a53fe6.entry.js} +1 -1
- package/dist/twilight/{p-ef601fe4.entry.js → p-1716e7bf.entry.js} +1 -1
- package/dist/twilight/{p-5a19f60e.entry.js → p-17bc3083.entry.js} +1 -1
- package/dist/twilight/{p-11702812.entry.js → p-18b593a9.entry.js} +1 -1
- package/dist/twilight/{p-a22dc765.entry.js → p-1da1f13f.entry.js} +1 -1
- package/dist/twilight/{p-1f73b5f3.entry.js → p-24216a35.entry.js} +1 -1
- package/dist/twilight/{p-0f233258.entry.js → p-2a45676f.entry.js} +1 -1
- package/dist/twilight/{p-d8a26e22.entry.js → p-3134ec55.entry.js} +1 -1
- package/dist/twilight/{p-20e35224.entry.js → p-31a5bd84.entry.js} +1 -1
- package/dist/twilight/{p-cc83a6ac.entry.js → p-38b0d747.entry.js} +1 -1
- package/dist/twilight/{p-34e6f981.entry.js → p-4597e9a0.entry.js} +1 -1
- package/dist/twilight/{p-b9e80f97.entry.js → p-464ebb66.entry.js} +1 -1
- package/dist/twilight/{p-7bdce00d.entry.js → p-49457497.entry.js} +1 -1
- package/dist/twilight/{p-7d16d5b8.entry.js → p-4a549dd4.entry.js} +1 -1
- package/dist/twilight/{p-3c4026ad.entry.js → p-4aacfcb8.entry.js} +1 -1
- package/dist/twilight/{p-57eea6b7.entry.js → p-4c527044.entry.js} +1 -1
- package/dist/twilight/{p-ceeb2973.entry.js → p-56f8e93f.entry.js} +1 -1
- package/dist/twilight/{p-34ea3d80.entry.js → p-57a1bd5e.entry.js} +1 -1
- package/dist/twilight/{p-cb6cb968.entry.js → p-5c3711fb.entry.js} +1 -1
- package/dist/twilight/{p-92cfb983.entry.js → p-5f08ca5c.entry.js} +1 -1
- package/dist/twilight/{p-bcff0988.entry.js → p-62a8bf31.entry.js} +1 -1
- package/dist/twilight/{p-c7c54f82.entry.js → p-6477aa16.entry.js} +1 -1
- package/dist/twilight/{p-9b745575.entry.js → p-67ec0369.entry.js} +1 -1
- package/dist/twilight/{p-d114b843.entry.js → p-6c84e2a0.entry.js} +1 -1
- package/dist/twilight/{p-c4ab3a40.entry.js → p-70b821e0.entry.js} +1 -1
- package/dist/twilight/{p-263a896f.entry.js → p-70e21348.entry.js} +1 -1
- package/dist/twilight/{p-a413523f.entry.js → p-7179b561.entry.js} +1 -1
- package/dist/twilight/{p-18725939.entry.js → p-746b703c.entry.js} +1 -1
- package/dist/twilight/{p-19a87a29.entry.js → p-78647833.entry.js} +1 -1
- package/dist/twilight/{p-7ddaeea0.entry.js → p-78bcabea.entry.js} +1 -1
- package/dist/twilight/{p-96cab303.entry.js → p-7ac1d258.entry.js} +1 -1
- package/dist/twilight/{p-1ed43874.entry.js → p-7dd1b438.entry.js} +1 -1
- package/dist/twilight/{p-3a1b2bef.entry.js → p-7ea9101c.entry.js} +1 -1
- package/dist/twilight/{p-aa4ba8d7.entry.js → p-80adbd86.entry.js} +1 -1
- package/dist/twilight/{p-20ac2718.entry.js → p-8afeb013.entry.js} +1 -1
- package/dist/twilight/{p-f8f6c6dc.entry.js → p-8b5ab33f.entry.js} +1 -1
- package/dist/twilight/{p-DPY7gSSB.js → p-8oz_tYCT.js} +1 -1
- package/dist/twilight/{p-14e6815f.entry.js → p-9020d179.entry.js} +1 -1
- package/dist/twilight/{p-8374dc0e.entry.js → p-92863280.entry.js} +1 -1
- package/dist/twilight/{p-bd70bbb8.entry.js → p-941e5a4a.entry.js} +1 -1
- package/dist/twilight/{p-f15653a8.entry.js → p-98862c7d.entry.js} +1 -1
- package/dist/twilight/{p-abaea280.entry.js → p-9adacf19.entry.js} +1 -1
- package/dist/twilight/{p-a38d4343.entry.js → p-9b289072.entry.js} +1 -1
- package/dist/twilight/{p-306e7b36.entry.js → p-9f597738.entry.js} +1 -1
- package/dist/twilight/{p-d12388a3.entry.js → p-9faa8a9e.entry.js} +1 -1
- package/dist/twilight/{p-BtX1c92T.js → p-B5aVfdOq.js} +1 -1
- package/dist/twilight/{p-vyrufVPp.js → p-B6nHsUmY.js} +1 -1
- package/dist/twilight/{p-ZcLtdl4h.js → p-BEG98TtY.js} +1 -1
- package/dist/twilight/{p-B2zrudLY.js → p-CTLj8xU3.js} +1 -1
- package/dist/twilight/{p-cvi2AidY.js → p-D-wDhUx5.js} +1 -1
- package/dist/twilight/{p-ZtftOSrB.js → p-D0khSRlI.js} +1 -1
- package/dist/twilight/{p-BwITjP3T.js → p-_9i6OtFf.js} +1 -1
- package/dist/twilight/{p-yGPVu3Cw.js → p-_uYeO1XY.js} +1 -1
- package/dist/twilight/{p-6032aa21.entry.js → p-a0c775b0.entry.js} +1 -1
- package/dist/twilight/{p-0039bfa0.entry.js → p-a492282a.entry.js} +1 -1
- package/dist/twilight/{p-53a239b8.entry.js → p-a5a4a9c4.entry.js} +1 -1
- package/dist/twilight/{p-2706d0ec.entry.js → p-a9f516c8.entry.js} +1 -1
- package/dist/twilight/p-aad3c860.entry.js +4 -0
- package/dist/twilight/{p-0dd8797a.entry.js → p-b003a630.entry.js} +1 -1
- package/dist/twilight/{p-D0Ft2F4m.js → p-ba7hQHgb.js} +1 -1
- package/dist/twilight/{p-d0f3a488.entry.js → p-c2c428e7.entry.js} +1 -1
- package/dist/twilight/{p-92bac59b.entry.js → p-c3087e4b.entry.js} +1 -1
- package/dist/twilight/{p-25332ded.entry.js → p-c39c381b.entry.js} +1 -1
- package/dist/twilight/{p-31794b61.entry.js → p-c8dedc2d.entry.js} +1 -1
- package/dist/twilight/{p-f0e920fb.entry.js → p-c9e78561.entry.js} +1 -1
- package/dist/twilight/{p-4bb7bbbe.entry.js → p-ca62e17c.entry.js} +1 -1
- package/dist/twilight/{p-d2b898e8.entry.js → p-cb77c16b.entry.js} +1 -1
- package/dist/twilight/{p-85604eb3.entry.js → p-cc551a73.entry.js} +1 -1
- package/dist/twilight/{p-110474f8.entry.js → p-d218c2ff.entry.js} +1 -1
- package/dist/twilight/{p-ad5791fe.entry.js → p-d29c6154.entry.js} +1 -1
- package/dist/twilight/{p-6d305158.entry.js → p-d680ef32.entry.js} +1 -1
- package/dist/twilight/{p-c04b664d.entry.js → p-d6b4621a.entry.js} +1 -1
- package/dist/twilight/{p-88e3d40c.entry.js → p-d950df54.entry.js} +1 -1
- package/dist/twilight/{p-dbd3f746.entry.js → p-dcbd52a9.entry.js} +1 -1
- package/dist/twilight/{p-d872a471.entry.js → p-dde28f2e.entry.js} +1 -1
- package/dist/twilight/{p-b6deb4a4.entry.js → p-df55b402.entry.js} +1 -1
- package/dist/twilight/{p-410569ac.entry.js → p-dfa1ddc1.entry.js} +1 -1
- package/dist/twilight/{p-3477d272.entry.js → p-dfeeb15e.entry.js} +1 -1
- package/dist/twilight/{p-cdb79b26.entry.js → p-e37fe440.entry.js} +1 -1
- package/dist/twilight/{p-008d5700.entry.js → p-f2203ac6.entry.js} +1 -1
- package/dist/twilight/{p-aae40c4f.entry.js → p-fb9806d9.entry.js} +1 -1
- package/dist/twilight/{p-107fb612.entry.js → p-fda57a16.entry.js} +1 -1
- package/dist/twilight/{p-b8320f71.entry.js → p-ffeb8d66.entry.js} +1 -1
- package/dist/twilight/{p-DzkWqggv.js → p-l3RnLhEs.js} +1 -1
- package/dist/twilight/{p-CNVLmZO5.js → p-rIbWLXjW.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +8 -0
- package/dist/types/components/salla-delivery-promise/delivery-promise-city-filter.d.ts +3 -0
- package/dist/types/components/salla-delivery-promise/delivery-promise-intent.d.ts +18 -0
- package/dist/types/components/salla-delivery-promise/delivery-promise-labels.d.ts +8 -0
- package/dist/types/components/salla-delivery-promise/interfaces.d.ts +16 -7
- package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +31 -33
- package/package.json +5 -5
- package/dist/twilight/p-bfbae3a8.entry.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,g as a,b as t}from"./p-CNVLmZO5.js";export{s as setNonce}from"./p-CNVLmZO5.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-25332ded",[[0,"salla-progress-bar",{"donation":[1],"target":[1026],"value":[1026],"height":[1025],"header":[1025],"stripped":[1028],"message":[1025],"unit":[1025],"color":[1025],"hideUnits":[4,"hide-units"]}]]],["p-6032aa21",[[0,"salla-breadcrumb",{"breadcrumbs":[32]}],[4,"salla-drawer",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"drawerTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[4,"salla-accordion",{"collapsible":[4],"bordered":[4],"size":[1],"collapsed":[1540],"dir":[32]},[[4,"salla::language.change","directionChangedHandler"],[0,"accordionToggle","handleCollapse"]]],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-cdb79b26",[[0,"salla-loyalty-program",{"currentPrize":[32],"collapsed":[32],"animatedPoints":[32]}]]],["p-b8320f71",[[0,"salla-loyalty-panel",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32]}]]],["p-f15653a8",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-8c2279bc",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-1ed43874",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32]},[[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-9904bede",[[0,"salla-offer",{"productCardComponent":[1,"product-card-component"],"offersList":[32],"userCurrency":[32],"title":[32],"currentPage":[32],"hasCustomComponent":[32],"canRender":[32],"showOffer":[32],"showAllOffersModal":[32],"showProductsModal":[32],"selectedOfferProducts":[32],"collapsedOffers":[32],"expandedCategories":[32],"productsLoaded":[32],"offer_with_price_text":[32],"with_discount_text":[32],"product_discount_text":[32],"special_offer_text":[32],"buy_quantity_text":[32],"products_link_text":[32],"min_spend_text":[32],"min_items_text":[32],"product_text":[32]}]]],["p-c04b664d",[[0,"salla-bullet-delivery",{"loading":[32],"activeTab":[32],"isLoggedIn":[32],"viewMode":[32],"countries":[32],"regions":[32],"cities":[32],"districts":[32],"loadingRegions":[32],"selectedCountry":[32],"selectedRegion":[32],"selectedCity":[32],"selectedDistrict":[32],"districtName":[32],"savedAddresses":[32],"selectedSavedAddress":[32],"selectedSessionAddress":[32],"branches":[32],"filteredBranches":[32],"selectedBranch":[32],"branchSearchQuery":[32],"loadingCities":[32],"loadingDistricts":[32],"loadingBranches":[32],"loadingNearestBranch":[32],"locationError":[32],"savingAddress":[32],"loadingSavedAddresses":[32],"showCartWillBeClearedBanner":[32],"allocationOutOfCoverageMessage":[32],"newAddressForm":[32],"open":[64],"close":[64]}]]],["p-85604eb3",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-d12388a3",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-0f233258",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-d0f3a488",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-4bb7bbbe",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-cc83a6ac",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]],["p-f878fb20",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-a22dc765",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}]]],["p-3c4026ad",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-a413523f",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-d872a471",[[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"open":[64],"close":[64]}]]],["p-19a87a29",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-2706d0ec",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-92bac59b",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"reset":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64]}]]],["p-7ddaeea0",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-b6deb4a4",[[0,"salla-user-settings",{"deactivateAccount":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-7c8dcb34",[[0,"salla-loyalty-banner"]]],["p-d114b843",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-31794b61",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_program":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-d2b898e8",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"selectCoupon":[64]}]]],["p-abaea280",[[0,"salla-conditional-offer",{"offer":[32],"products":[32],"isLoading":[32],"canRender":[32]}]]],["p-ef601fe4",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-0dd8797a",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-dbd3f746",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}]]],["p-5a19f60e",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-c7c54f82",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-aae40c4f",[[0,"salla-cookies-bar",{"isVisible":[32],"isMobile":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"rejectLabel":[32],"accept":[64],"reject":[64]}]]],["p-bfbae3a8",[[0,"salla-delivery-promise",{"cities":[32],"filteredCities":[32],"selectedCity":[32],"deliveryMessage":[32],"isLoadingCities":[32],"isLoadingPromises":[32],"isDropdownOpen":[32],"searchQuery":[32],"hasError":[32],"errorMessage":[32],"labels":[32],"canRender":[32],"requiresShipping":[32]}]]],["p-306e7b36",[[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}]]],["p-57eea6b7",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"menus":[32]}]]],["p-aa4ba8d7",[[0,"salla-orders",{"params":[16],"loadMoreText":[1,"load-more-text"],"orderNumberText":[32],"totalOrderText":[32],"orderDateText":[32],"orderStatusText":[32],"noOrderText":[32],"load_more_text_trans":[32],"languageCode":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32]}]]],["p-cb6cb968",[[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"refresh":[64]}]]],["p-0039bfa0",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-7d16d5b8",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[2,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-bd70bbb8",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-a38d4343",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-c4ab3a40",[[0,"salla-apps-icons",{"hideTitle":[4,"hide-title"],"appsTitle":[1,"apps-title"],"vertical":[4],"apps":[32]}]]],["p-11702812",[[0,"salla-contacts",{"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"contacts":[32],"iconsList":[32]}]]],["p-20ac2718",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-fa9ef9b1",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-110474f8",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-c705cacb",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"installment_sheria_text":[32]}]]],["p-92cfb983",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-96cab303",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-bcff0988",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-f27157cd",[[0,"salla-order-totals-card",{"order":[1],"summary":[32]},null,{"order":["handleOrderChange"]}]]],["p-20e35224",[[0,"salla-payments",{"exclude":[1040]}]]],["p-ceeb2973",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-263a896f",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-34ea3d80",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]}]]],["p-f8f6c6dc",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-41e6423e",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-7bdce00d",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-008d5700",[[0,"salla-notification-item",{"notification":[16]}]]],["p-8dcdc70a",[[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}]]],["p-9b745575",[[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-14e6815f",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_count_hint":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"setOption":[64]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}]]],["p-ad5791fe",[[0,"salla-product-options",{"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"setOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}],[4,"salla-add-product-button",{"channels":[513],"subscribedOptions":[1,"subscribed-options"],"hasPreOrder":[516,"has-pre-order"],"quickBuy":[1540,"quick-buy"],"quantity":[514],"donatingAmount":[514,"donating-amount"],"notifyOptionsAvailability":[516,"notify-options-availability"],"productId":[520,"product-id"],"supportStickyBar":[516,"support-sticky-bar"],"productStatus":[513,"product-status"],"productType":[513,"product-type"],"hasOutOfStockOption":[32],"hasSubscribedOptions":[32],"selectedOptions":[32],"showQuickBuy":[32],"isApplePayActive":[32],"buyNowText":[32],"isDesktopViewport":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"isApplePayActive":[32],"quickBuy":[32]}]]],["p-3477d272",[[0,"salla-reward-details",{"prize":[16],"refreshKey":[32]},null,{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}],[0,"salla-reward-action",{"prize":[16]}]]],["p-b9e80f97",[[4,"salla-map",{"name":[1],"required":[4],"readonly":[4],"searchable":[1028],"lat":[1026],"lng":[1026],"apiKey":[1025,"api-key"],"modalTitle":[1,"modal-title"],"zoom":[1026],"theme":[1025],"modalActivityTitle":[32],"confirmButtonTitle":[32],"locateButtonTitle":[32],"locateButtonEdit":[32],"searchPlaceholder":[32],"searchInputValue":[32],"formattedAddress":[32],"geolocationError":[32],"searchInput":[32],"mapInput":[32],"mapElement":[32],"selectedLat":[32],"selectedLng":[32],"open":[64]}]]],["p-88e3d40c",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-8374dc0e",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-1f73b5f3",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-34e6f981",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-107fb612",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64]}]]],["p-d8a26e22",[[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-6d305158",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-3a1b2bef",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-53a239b8",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-f0e920fb",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]}],[4,"salla-product-card",{"product":[1],"horizontal":[4],"shadowOnHover":[4,"shadow-on-hover"],"hideAddBtn":[4,"hide-add-btn"],"fullImage":[4,"full-image"],"minimal":[4],"isSpecial":[4,"is-special"],"showQuantity":[4,"show-quantity"],"compact":[516],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}]]],["p-18725939",[[0,"salla-comments",{"itemId":[2,"item-id"],"loadMoreText":[1,"load-more-text"],"hideForm":[4,"hide-form"],"blockTitle":[1,"block-title"],"hideTitle":[4,"hide-title"],"type":[1],"showFormAvatar":[4,"show-form-avatar"],"hideBought":[4,"hide-bought"],"sort":[1],"testimonials":[4],"comments":[32],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"mostHelpfulLabel":[32],"noComments":[32],"comment_title":[32],"comment_name":[32],"placeholder_text":[32],"showRatingSummary":[32],"allowLikes":[32],"reload":[64]},[[0,"commentAdded","onCommentAdded"]]],[0,"salla-reviews",{"displayAllLink":[516,"display-all-link"],"source":[513],"sourceValue":[513,"source-value"],"limit":[514],"type":[1],"sort":[1],"hideCustomerInfo":[4,"hide-customer-info"],"reviews":[32],"isRTL":[32],"showReviews":[32],"testimonialText":[32],"displayAllLinkText":[32]}],[0,"salla-reviews-page",{"reviews":[32],"isLoading":[32],"pagination":[32],"sort":[32]}],[0,"salla-reviews-summary",{"itemId":[2,"item-id"],"data":[32],"canRender":[32],"basedOnLabel":[32],"recommendedLabel":[32],"showRatingSummary":[32],"recommendationOnly":[32],"showRecommendation":[32]}],[0,"salla-comment-form",{"type":[1537],"showAvatar":[4,"show-avatar"],"itemId":[1544,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[0,"salla-review-card",{"review":[16],"currentSlide":[32],"purchasedCount":[32],"showPurchaseCount":[32]}],[0,"salla-comment-item",{"comment":[16],"hideBought":[16,"hide-bought"],"has_bought_trans":[32],"rated_trans":[32],"waiting_approval_trans":[32],"has_order_trans":[32],"allowLikes":[32],"allowAttachImages":[32],"helpfulLabel":[32],"likesCount":[32],"likedComments":[32]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2],"reviews":[2],"withLabel":[4,"with-label"],"editable":[4],"translationsLoaded":[32],"labels":[32],"reviewLabel":[32],"selectedStar":[32]}]]],["p-410569ac",[[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]]]]]'),e))));
|
|
4
|
+
import{p as e,g as a,b as t}from"./p-rIbWLXjW.js";export{s as setNonce}from"./p-rIbWLXjW.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-e37fe440",[[0,"salla-loyalty-program",{"currentPrize":[32],"collapsed":[32],"animatedPoints":[32]}]]],["p-ffeb8d66",[[0,"salla-loyalty-panel",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32]}]]],["p-15a53fe6",[[0,"salla-offer",{"productCardComponent":[1,"product-card-component"],"offersList":[32],"userCurrency":[32],"title":[32],"currentPage":[32],"hasCustomComponent":[32],"canRender":[32],"showOffer":[32],"showAllOffersModal":[32],"showProductsModal":[32],"selectedOfferProducts":[32],"collapsedOffers":[32],"expandedCategories":[32],"productsLoaded":[32],"offer_with_price_text":[32],"with_discount_text":[32],"product_discount_text":[32],"special_offer_text":[32],"buy_quantity_text":[32],"products_link_text":[32],"min_spend_text":[32],"min_items_text":[32],"product_text":[32]}]]],["p-cc551a73",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-9faa8a9e",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-2a45676f",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-4597e9a0",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-ca62e17c",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-38b0d747",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]],["p-a0c775b0",[[0,"salla-breadcrumb",{"breadcrumbs":[32]}],[4,"salla-drawer",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"drawerTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[4,"salla-accordion",{"collapsible":[4],"bordered":[4],"size":[1],"collapsed":[1540],"dir":[32]},[[4,"salla::language.change","directionChangedHandler"],[0,"accordionToggle","handleCollapse"]]],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-98862c7d",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-0d04fb8c",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-7dd1b438",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32]},[[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-0a39c576",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-1da1f13f",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]}]]],["p-4aacfcb8",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-7179b561",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-dde28f2e",[[0,"salla-rating-modal",{"orderId":[2,"order-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"open":[64],"close":[64]}]]],["p-78647833",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-d6b4621a",[[0,"salla-bullet-delivery",{"loading":[32],"activeTab":[32],"isLoggedIn":[32],"viewMode":[32],"countries":[32],"regions":[32],"cities":[32],"districts":[32],"loadingRegions":[32],"selectedCountry":[32],"selectedRegion":[32],"selectedCity":[32],"selectedDistrict":[32],"districtName":[32],"savedAddresses":[32],"selectedSavedAddress":[32],"selectedSessionAddress":[32],"branches":[32],"filteredBranches":[32],"selectedBranch":[32],"branchSearchQuery":[32],"loadingCities":[32],"loadingDistricts":[32],"loadingBranches":[32],"loadingNearestBranch":[32],"locationError":[32],"savingAddress":[32],"loadingSavedAddresses":[32],"showCartWillBeClearedBanner":[32],"allocationOutOfCoverageMessage":[32],"newAddressForm":[32],"open":[64],"close":[64]}]]],["p-a9f516c8",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-aad3c860",[[0,"salla-delivery-promise",{"isDeliveryPromiseEnabled":[32],"isLoginCycleEnabled":[32],"canRender":[32],"labels":[32],"selectedLabel":[32],"deliveryMessage":[32],"hasError":[32],"errorMessage":[32],"isLoadingPromises":[32],"selectedCityLoginCycle":[32],"selectedBranchLoginCycle":[32],"cities":[32],"selectedCity":[32],"isLoadingCities":[32],"modalSearchQuery":[32],"cityPendingSelection":[32],"isCityPopoverOpen":[32]}]]],["p-c3087e4b",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"reset":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64]}]]],["p-78bcabea",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-df55b402",[[0,"salla-user-settings",{"deactivateAccount":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"deactivateDesc":[32],"promotionalMsgsDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-05618953",[[0,"salla-loyalty-banner"]]],["p-6c84e2a0",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-c8dedc2d",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_program":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-cb77c16b",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"selectCoupon":[64]}]]],["p-9adacf19",[[0,"salla-conditional-offer",{"offer":[32],"products":[32],"isLoading":[32],"canRender":[32]}]]],["p-1716e7bf",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-b003a630",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-dcbd52a9",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}]]],["p-17bc3083",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-6477aa16",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-fb9806d9",[[0,"salla-cookies-bar",{"isVisible":[32],"isMobile":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"rejectLabel":[32],"accept":[64],"reject":[64]}]]],["p-9f597738",[[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}]]],["p-4c527044",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"menus":[32]}]]],["p-80adbd86",[[0,"salla-orders",{"params":[16],"loadMoreText":[1,"load-more-text"],"orderNumberText":[32],"totalOrderText":[32],"orderDateText":[32],"orderStatusText":[32],"noOrderText":[32],"load_more_text_trans":[32],"languageCode":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32]}]]],["p-5c3711fb",[[4,"salla-social-share",{"url":[513],"urlName":[513,"url-name"],"platforms":[513],"opened":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"refresh":[64]}]]],["p-a492282a",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-4a549dd4",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[2,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-941e5a4a",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-9b289072",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-70b821e0",[[0,"salla-apps-icons",{"hideTitle":[4,"hide-title"],"appsTitle":[1,"apps-title"],"vertical":[4],"apps":[32]}]]],["p-18b593a9",[[0,"salla-contacts",{"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"contacts":[32],"iconsList":[32]}]]],["p-8afeb013",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-0c751ad3",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-d218c2ff",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-0ad7c855",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"installment_sheria_text":[32]}]]],["p-5f08ca5c",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-7ac1d258",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-62a8bf31",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-03327bdb",[[0,"salla-order-totals-card",{"order":[1],"summary":[32]},null,{"order":["handleOrderChange"]}]]],["p-31a5bd84",[[0,"salla-payments",{"exclude":[1040]}]]],["p-56f8e93f",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-70e21348",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-57a1bd5e",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]}]]],["p-8b5ab33f",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-09de8e38",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-49457497",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-f2203ac6",[[0,"salla-notification-item",{"notification":[16]}]]],["p-0362115c",[[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}]]],["p-67ec0369",[[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-9020d179",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_count_hint":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"setOption":[64]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}]]],["p-d29c6154",[[0,"salla-product-options",{"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"setOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}],[4,"salla-add-product-button",{"channels":[513],"subscribedOptions":[1,"subscribed-options"],"hasPreOrder":[516,"has-pre-order"],"quickBuy":[1540,"quick-buy"],"quantity":[514],"donatingAmount":[514,"donating-amount"],"notifyOptionsAvailability":[516,"notify-options-availability"],"productId":[520,"product-id"],"supportStickyBar":[516,"support-sticky-bar"],"productStatus":[513,"product-status"],"productType":[513,"product-type"],"hasOutOfStockOption":[32],"hasSubscribedOptions":[32],"selectedOptions":[32],"showQuickBuy":[32],"isApplePayActive":[32],"buyNowText":[32],"isDesktopViewport":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32],"isVisitorSubscribed":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"isApplePayActive":[32],"quickBuy":[32]}]]],["p-dfeeb15e",[[0,"salla-reward-details",{"prize":[16],"refreshKey":[32]},null,{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}],[0,"salla-reward-action",{"prize":[16]}]]],["p-464ebb66",[[4,"salla-map",{"name":[1],"required":[4],"readonly":[4],"searchable":[1028],"lat":[1026],"lng":[1026],"apiKey":[1025,"api-key"],"modalTitle":[1,"modal-title"],"zoom":[1026],"theme":[1025],"modalActivityTitle":[32],"confirmButtonTitle":[32],"locateButtonTitle":[32],"locateButtonEdit":[32],"searchPlaceholder":[32],"searchInputValue":[32],"formattedAddress":[32],"geolocationError":[32],"searchInput":[32],"mapInput":[32],"mapElement":[32],"selectedLat":[32],"selectedLng":[32],"open":[64]}]]],["p-d950df54",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-92863280",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-24216a35",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-c2c428e7",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-fda57a16",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64]}]]],["p-3134ec55",[[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-d680ef32",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-7ea9101c",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-a5a4a9c4",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-c9e78561",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]}],[4,"salla-product-card",{"product":[1],"horizontal":[4],"shadowOnHover":[4,"shadow-on-hover"],"hideAddBtn":[4,"hide-add-btn"],"fullImage":[4,"full-image"],"minimal":[4],"isSpecial":[4,"is-special"],"showQuantity":[4,"show-quantity"],"compact":[516],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}]]],["p-746b703c",[[0,"salla-comments",{"itemId":[2,"item-id"],"loadMoreText":[1,"load-more-text"],"hideForm":[4,"hide-form"],"blockTitle":[1,"block-title"],"hideTitle":[4,"hide-title"],"type":[1],"showFormAvatar":[4,"show-form-avatar"],"hideBought":[4,"hide-bought"],"sort":[1],"testimonials":[4],"comments":[32],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"mostHelpfulLabel":[32],"noComments":[32],"comment_title":[32],"comment_name":[32],"placeholder_text":[32],"showRatingSummary":[32],"allowLikes":[32],"reload":[64]},[[0,"commentAdded","onCommentAdded"]]],[0,"salla-reviews",{"displayAllLink":[516,"display-all-link"],"source":[513],"sourceValue":[513,"source-value"],"limit":[514],"type":[1],"sort":[1],"hideCustomerInfo":[4,"hide-customer-info"],"reviews":[32],"isRTL":[32],"showReviews":[32],"testimonialText":[32],"displayAllLinkText":[32]}],[0,"salla-reviews-page",{"reviews":[32],"isLoading":[32],"pagination":[32],"sort":[32]}],[0,"salla-reviews-summary",{"itemId":[2,"item-id"],"data":[32],"canRender":[32],"basedOnLabel":[32],"recommendedLabel":[32],"showRatingSummary":[32],"recommendationOnly":[32],"showRecommendation":[32]}],[0,"salla-comment-form",{"type":[1537],"showAvatar":[4,"show-avatar"],"itemId":[1544,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[0,"salla-review-card",{"review":[16],"currentSlide":[32],"purchasedCount":[32],"showPurchaseCount":[32]}],[0,"salla-comment-item",{"comment":[16],"hideBought":[16,"hide-bought"],"has_bought_trans":[32],"rated_trans":[32],"waiting_approval_trans":[32],"has_order_trans":[32],"allowLikes":[32],"allowAttachImages":[32],"helpfulLabel":[32],"likesCount":[32],"likedComments":[32]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2],"reviews":[2],"withLabel":[4,"with-label"],"editable":[4],"translationsLoaded":[32],"labels":[32],"reviewLabel":[32],"selectedStar":[32]}]]],["p-dfa1ddc1",[[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]]]],["p-c39c381b",[[0,"salla-progress-bar",{"donation":[1],"target":[1026],"value":[1026],"height":[1025],"header":[1025],"stripped":[1028],"message":[1025],"unit":[1025],"color":[1025],"hideUnits":[4,"hide-units"]}]]]]'),e))));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { City, OptionType } from './interfaces';
|
|
2
|
+
/** Fetch available cities for a product's delivery promises. */
|
|
3
|
+
export declare function fetchCities(productId: number): Promise<{
|
|
4
|
+
cities: City[];
|
|
5
|
+
preselected: City | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
/** Fetch the delivery promise message for a given city or branch. */
|
|
8
|
+
export declare function fetchDeliveryMessage(productId: number, id: number, optionType: OptionType, isLoginCycleEnabled: boolean): Promise<string | null>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bullet delivery intent helpers.
|
|
3
|
+
* Reads/writes the same storage key as salla-bullet-delivery so both components stay in sync.
|
|
4
|
+
*/
|
|
5
|
+
import type { BulletDeliveryResult } from '../salla-bullet-delivery/interfaces';
|
|
6
|
+
import type { SelectedOption } from './interfaces';
|
|
7
|
+
export declare function getStoredIntent(): BulletDeliveryResult | null;
|
|
8
|
+
export interface ResolvedIntent {
|
|
9
|
+
type: 'address' | 'branch';
|
|
10
|
+
option: SelectedOption;
|
|
11
|
+
}
|
|
12
|
+
/** Resolve the stored intent into a city or branch selection. Returns null when no usable intent. */
|
|
13
|
+
export declare function resolveIntent(): ResolvedIntent | null;
|
|
14
|
+
/** Build the payload for opening the bullet delivery modal with preselection. */
|
|
15
|
+
export declare function buildBulletOpenPayload(): {
|
|
16
|
+
preselected_address_id?: number;
|
|
17
|
+
preselected_branch_id?: number;
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DeliveryPromiseLabels } from './interfaces';
|
|
2
|
+
export declare const DEFAULT_LABELS: DeliveryPromiseLabels;
|
|
3
|
+
export declare function loadLabels(): DeliveryPromiseLabels;
|
|
4
|
+
/** Localized city display name (English when available and user language is not Arabic). */
|
|
5
|
+
export declare function getCityDisplayName(city: {
|
|
6
|
+
name: string;
|
|
7
|
+
name_en?: string;
|
|
8
|
+
}): string;
|
|
@@ -4,18 +4,24 @@ export interface City {
|
|
|
4
4
|
name_en?: string;
|
|
5
5
|
is_selected: boolean;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
export type OptionType = 'city' | 'branch';
|
|
8
|
+
export interface SelectedOption {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
/** Labels for city selector and modal; message text comes from BE */
|
|
8
13
|
export interface DeliveryPromiseLabels {
|
|
9
14
|
deliveryTo: string;
|
|
10
15
|
pickupFromBranch: string;
|
|
11
|
-
searchPlaceholder: string;
|
|
12
16
|
noResults: string;
|
|
13
17
|
selectCity: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
changeCityTitle: string;
|
|
19
|
+
changeCitySubtitle: string;
|
|
20
|
+
cityFieldLabel: string;
|
|
21
|
+
modalSearchPlaceholder: string;
|
|
22
|
+
confirmAddress: string;
|
|
23
|
+
errorDeliveryPromise: string;
|
|
24
|
+
errorPickupPromise: string;
|
|
19
25
|
}
|
|
20
26
|
/** BE returns a pre-formatted message; FE displays it only */
|
|
21
27
|
export interface DeliveryPromiseResponse {
|
|
@@ -24,4 +30,7 @@ export interface DeliveryPromiseResponse {
|
|
|
24
30
|
data: {
|
|
25
31
|
message: string;
|
|
26
32
|
};
|
|
33
|
+
error?: {
|
|
34
|
+
message?: string;
|
|
35
|
+
};
|
|
27
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { City, DeliveryPromiseLabels } from './interfaces';
|
|
1
|
+
import type { City, DeliveryPromiseLabels, SelectedOption } from './interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* @name SallaDeliveryPromise
|
|
4
4
|
* @description Displays delivery promise message (from BE) with city selection
|
|
@@ -6,43 +6,41 @@ import { City, DeliveryPromiseLabels } from './interfaces';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SallaDeliveryPromise {
|
|
8
8
|
host: HTMLElement;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
isDeliveryPromiseEnabled: boolean;
|
|
10
|
+
isLoginCycleEnabled: boolean;
|
|
11
|
+
canRender: boolean;
|
|
12
|
+
private productId;
|
|
13
|
+
labels: DeliveryPromiseLabels;
|
|
14
|
+
selectedLabel: string | null;
|
|
12
15
|
deliveryMessage: string | null;
|
|
13
|
-
isLoadingCities: boolean;
|
|
14
|
-
isLoadingPromises: boolean;
|
|
15
|
-
isDropdownOpen: boolean;
|
|
16
|
-
searchQuery: string;
|
|
17
16
|
hasError: boolean;
|
|
18
17
|
errorMessage: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
private
|
|
18
|
+
isLoadingPromises: boolean;
|
|
19
|
+
selectedCityLoginCycle: SelectedOption | null;
|
|
20
|
+
selectedBranchLoginCycle: SelectedOption | null;
|
|
21
|
+
cities: City[];
|
|
22
|
+
selectedCity: City | null;
|
|
23
|
+
isLoadingCities: boolean;
|
|
24
|
+
modalSearchQuery: string;
|
|
25
|
+
cityPendingSelection: City | null;
|
|
26
|
+
isCityPopoverOpen: boolean;
|
|
27
|
+
private cityModalRef;
|
|
29
28
|
componentDidLoad(): Promise<void>;
|
|
30
|
-
private fetchCities;
|
|
31
|
-
private fetchDeliveryMessage;
|
|
32
|
-
private toggleDropdown;
|
|
33
29
|
disconnectedCallback(): void;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
private
|
|
38
|
-
private
|
|
39
|
-
private
|
|
40
|
-
private
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
private
|
|
30
|
+
private onBulletDeliveryConfirmed;
|
|
31
|
+
private applyBulletIntent;
|
|
32
|
+
private openBulletDeliveryModal;
|
|
33
|
+
private loadCities;
|
|
34
|
+
private loadDeliveryMessage;
|
|
35
|
+
private openCityChangeModal;
|
|
36
|
+
private handleModalSearchInput;
|
|
37
|
+
private handleModalComboboxActivate;
|
|
38
|
+
private handleModalSelectCity;
|
|
39
|
+
private handleConfirmCityModal;
|
|
40
|
+
private handleHeaderClick;
|
|
41
|
+
private renderLoadingSkeleton;
|
|
46
42
|
private renderDeliveryMessage;
|
|
43
|
+
private renderCityModalBody;
|
|
44
|
+
private renderCityChangeModal;
|
|
47
45
|
render(): any;
|
|
48
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salla.sa/twilight-components",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.411",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"author": "Salla Team <support@salla.dev> (https://salla.dev)",
|
|
6
6
|
"bugs": {
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"typescript": "^5.4.5"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@salla.sa/applepay": "2.14.
|
|
83
|
-
"@salla.sa/twilight": "2.14.
|
|
84
|
-
"@salla.sa/twilight-tailwind-theme": "2.14.
|
|
82
|
+
"@salla.sa/applepay": "2.14.411",
|
|
83
|
+
"@salla.sa/twilight": "2.14.411",
|
|
84
|
+
"@salla.sa/twilight-tailwind-theme": "2.14.411",
|
|
85
85
|
"@types/node": "^20.4.8",
|
|
86
86
|
"animejs": "^3.2.2",
|
|
87
87
|
"class-variance-authority": "0.7.0",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"vanilla-lazyload": "^17.8.5",
|
|
101
101
|
"vanilla-picker": "^2.12.2"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "870d9454a06f140d990ca1671fb9b3cae907385c"
|
|
104
104
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Crafted with ❤ by Salla
|
|
3
|
-
*/
|
|
4
|
-
import{r as s,h as i,H as e,a as t}from"./p-CNVLmZO5.js";const l=class{constructor(i){s(this,i),this.cities=[],this.filteredCities=[],this.selectedCity=null,this.deliveryMessage=null,this.isLoadingCities=!1,this.isLoadingPromises=!1,this.isDropdownOpen=!1,this.searchQuery="",this.hasError=!1,this.errorMessage="",this.labels={deliveryTo:"توصيل إلى",pickupFromBranch:"الاستلام من فرع",searchPlaceholder:"بحث...",noResults:"لا توجد نتائج",selectCity:"اختر المدينة"},this.canRender=!1,this.requiresShipping=!1,this.productId=void 0,this.onClickOutside=s=>{this.host.contains(s.target)||(this.isDropdownOpen=!1,window.removeEventListener("click",this.onClickOutside))}}setLabels(){this.labels={deliveryTo:salla.lang.getWithDefault("pages.products.promise_deliver_to","توصيل إلى"),pickupFromBranch:salla.lang.getWithDefault("pages.products.promise_pickup_from_branch","الاستلام من فرع"),searchPlaceholder:salla.lang.getWithDefault("blocks.header.search_placeholder","بحث..."),noResults:salla.lang.getWithDefault("common.elements.no_options","لا توجد نتائج"),selectCity:salla.lang.getWithDefault("common.elements.select_city","اختر المدينة")}}logger(s,i){localStorage.getItem("salla-delivery-promise-debug")&&(i?console.log(s,i):console.log(s))}async componentDidLoad(){if(await salla.onReady(),await salla.lang.onLoaded(),this.setLabels(),this.requiresShipping=salla.url.is_page("product.single")&&salla.config.get("store.features",[]).includes("delivery-promises"),!this.requiresShipping)return this.canRender=!1,void this.logger("not requiresShipping",{is_product_single:salla.url.is_page("product.single"),includesDeliveryPromises:salla.config.get("store.features",[]).includes("delivery-promises")});this.logger("requiresShipping",this.requiresShipping),this.productId=salla.config.get("page.id"),this.logger("productId",this.productId),await this.fetchCities()}async fetchCities(){this.logger("start startfetchCities"),this.isLoadingCities=!0,this.hasError=!1;try{const s=await salla.api.request(salla.url.api(`products/${this.productId}/delivery-promises/cities`));if(s.success&&Array.isArray(s.data)&&s.data.length>0){this.logger("fetchCities success",{cities:s.data}),this.cities=this.sortCities(s.data),this.filteredCities=[...this.cities];let i=this.cities.find((s=>s.is_selected));i?(this.logger("selectedCity",i),this.selectedCity=i,await this.fetchDeliveryMessage(i.id)):this.logger("no selectedCity from API response"),this.canRender=!0}else this.logger("no data returned from fetchCities",{response:s}),this.canRender=!1}catch(s){this.logger("fetchCities error",{error:s.message}),this.hasError=!0,this.errorMessage=s.message||"Failed to load cities",this.canRender=!1}finally{this.isLoadingCities=!1}}async fetchDeliveryMessage(s){this.logger("start fetchDeliveryMessage",{cityId:s}),this.isLoadingPromises=!0,this.hasError=!1,this.deliveryMessage=null;try{const i=await salla.api.withoutNotifier((()=>salla.api.request(salla.url.api(`products/${this.productId}/delivery-promises?city_id=${s}`))));if(i.success&&i.data?.message){const s=i.data.message.trim();this.logger("fetchDeliveryMessage success",{message:s}),this.deliveryMessage=s||null}else this.logger("deliveryMessage not valid",{response:i})}catch(s){this.logger("fetchDeliveryMessage error",{error:s.message}),this.hasError=!0,this.errorMessage=s.message||"Failed to load delivery message"}finally{this.isLoadingPromises=!1}}toggleDropdown(s){s?.stopPropagation(),this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen?(window.addEventListener("click",this.onClickOutside),this.searchInputRef&&setTimeout((()=>this.searchInputRef.focus()),100)):window.removeEventListener("click",this.onClickOutside)}disconnectedCallback(){window.removeEventListener("click",this.onClickOutside)}sortCities(s){return[...s].sort(((s,i)=>-1===s.id?1:-1===i.id?-1:0))}handleSearch(s){const i=s.target.value.toLowerCase();this.searchQuery=i,this.filteredCities=i.length>0?this.cities.filter((s=>s.name.toLowerCase()?.includes(i)||(s.name_en||"").toLowerCase()?.includes(i))):[...this.cities]}async selectCity(s){this.logger("selectCity",{city:s}),this.selectedCity=s,this.isDropdownOpen=!1,window.removeEventListener("click",this.onClickOutside),this.searchQuery="",this.filteredCities=[...this.cities],await this.fetchDeliveryMessage(s.id)}renderDropdown(){return i("div",{class:"s-delivery-promise-dropdown"},i("div",{class:"s-delivery-promise-dropdown-search"},i("i",{class:"sicon-search"}),i("input",{type:"text",placeholder:this.labels.searchPlaceholder,value:this.searchQuery,onInput:s=>this.handleSearch(s),ref:s=>this.searchInputRef=s})),i("div",{class:"s-delivery-promise-dropdown-list"},0===this.filteredCities.length?i("div",{class:"s-delivery-promise-dropdown-empty"},this.labels.noResults):this.filteredCities.map((s=>i("div",{key:s.id,class:"s-delivery-promise-dropdown-item "+(this.selectedCity?.id===s.id?"selected":""),onClick:()=>this.selectCity(s)},i("span",{class:"s-delivery-promise-city-name"},s.name),this.selectedCity?.id===s.id&&i("i",{class:"sicon-check"}))))))}renderInitialLoadingSkeleton(){return i(e,{class:"s-delivery-promise-wrapper s-delivery-promise-skeleton"},i("div",{class:"s-delivery-promise-container"},i("div",{class:"s-delivery-promise-header s-delivery-promise-header-skeleton"},i("div",{class:"s-delivery-promise-location"},i("salla-skeleton",{height:"14px",width:"180px"})),i("salla-skeleton",{height:"18px",width:"18px"})),i("div",{class:"s-delivery-promise-loading"},i("salla-skeleton",{height:"20px",width:"80%"}))))}renderDeliveryMessage(){return this.isLoadingPromises?i("div",{class:"s-delivery-promise-loading"},i("salla-skeleton",{height:"20px",width:"80%"})):this.deliveryMessage?i("div",{class:"s-delivery-promise-message"},this.deliveryMessage):null}render(){return this.requiresShipping?this.isLoadingCities?this.renderInitialLoadingSkeleton():this.canRender&&0!==this.cities.length?i(e,{class:"s-delivery-promise-wrapper"},i("div",{class:"s-delivery-promise-container"},i("div",{class:"s-delivery-promise-header",onClick:s=>this.toggleDropdown(s)},i("div",{class:"s-delivery-promise-location"},i("span",{class:"s-delivery-promise-title"},this.labels.deliveryTo," ",this.selectedCity?.name||this.labels.selectCity)),i("i",{class:"sicon-keyboard_arrow_down s-delivery-promise-arrow "+(this.isDropdownOpen?"open":"")})),this.hasError&&i("div",{class:"s-delivery-promise-error"},this.errorMessage),this.isDropdownOpen&&this.renderDropdown(),!this.hasError&&this.renderDeliveryMessage())):null:null}get host(){return t(this)}};export{l as salla_delivery_promise}
|