@salla.sa/twilight-components 2.14.390 → 2.14.391
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-DFct_qpx.js → filepond-DFNeUlJZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-B_Lr4Ulx.js → filepond-plugin-file-poster-CdscjCyV.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BqkoO_hr.js → filepond-plugin-file-validate-size-CeIHus23.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DyTH8eH0.js → filepond-plugin-file-validate-type-B-xReGXI.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-Cxg-WjCl.js → filepond-plugin-image-edit-BEZKgnin.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BSVkpMNu.js → filepond-plugin-image-exif-orientation-BsIhjiXV.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DNcmQwuK.js → filepond-plugin-image-preview-CgGyHHMF.js} +1 -1
- package/dist/cjs/{index-B8vh41va.js → index-RCgJUM7B.js} +10 -2
- package/dist/cjs/{index-DnQaQgSB.js → index-U__MmWip.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_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-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +230 -0
- 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 +45 -0
- 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-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
- 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.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-products-slider.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-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/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-BZ48aiBi.js → vanilla-picker-yWlr4I9a.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/salla-delivery-promise/interfaces.js +1 -0
- package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +247 -0
- package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +51 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-delivery-promise.d.ts +11 -0
- package/dist/components/salla-delivery-promise.js +266 -0
- package/dist/components/salla-fulfillment-methods.d.ts +11 -0
- package/dist/components/salla-fulfillment-methods.js +64 -0
- package/dist/esm/{filepond-C9FlNeRD.js → filepond-dioc1UNj.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BfX4exY0.js → filepond-plugin-file-poster-BpOMmY57.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-B5-cSfmI.js → filepond-plugin-file-validate-size-D3zrIASS.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DKvNhI35.js → filepond-plugin-file-validate-type-C_O5sg3V.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DV1-ZICm.js → filepond-plugin-image-edit-vV9cFwQt.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-idrSYwAk.js → filepond-plugin-image-exif-orientation-DQHJunT0.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-os8BCUOs.js → filepond-plugin-image-preview-CK8pdQ2g.js} +1 -1
- package/dist/esm/{index-DQCZHaDc.js → index-B6FFbRiW.js} +1 -1
- package/dist/esm/{index-BcMtCVX0.js → index-BBHnyTVS.js} +10 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_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-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +228 -0
- 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 +43 -0
- 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-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +1 -1
- 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.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-products-slider.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-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/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BBEKwYz7.js → vanilla-picker-DSMkPxn-.js} +1 -1
- package/dist/twilight/{p-dc6f4d54.entry.js → p-01cb129f.entry.js} +1 -1
- package/dist/twilight/{p-DIeaJrGb.js → p-03jJUGJM.js} +1 -1
- package/dist/twilight/{p-9ff1a4dc.entry.js → p-042206f2.entry.js} +1 -1
- package/dist/twilight/{p-c18179ed.entry.js → p-0557c403.entry.js} +1 -1
- package/dist/twilight/{p-998a3b5f.entry.js → p-06d3f60c.entry.js} +1 -1
- package/dist/twilight/{p-ae1e338f.entry.js → p-099267e9.entry.js} +1 -1
- package/dist/twilight/{p-cc6c624c.entry.js → p-0a779ecb.entry.js} +1 -1
- package/dist/twilight/{p-e7671432.entry.js → p-0c45b777.entry.js} +1 -1
- package/dist/twilight/{p-f100cc25.entry.js → p-143f385c.entry.js} +1 -1
- package/dist/twilight/p-1646270f.entry.js +4 -0
- package/dist/twilight/{p-67bc002a.entry.js → p-1a7e8dc4.entry.js} +1 -1
- package/dist/twilight/p-1b50e37e.entry.js +4 -0
- package/dist/twilight/{p-4fefd2df.entry.js → p-1bacbd68.entry.js} +1 -1
- package/dist/twilight/{p-47d1003b.entry.js → p-214c17ba.entry.js} +1 -1
- package/dist/twilight/{p-7855ae93.entry.js → p-23c450bb.entry.js} +1 -1
- package/dist/twilight/{p-412643eb.entry.js → p-2534ee8d.entry.js} +1 -1
- package/dist/twilight/{p-d862646f.entry.js → p-2690964e.entry.js} +1 -1
- package/dist/twilight/{p-1054b66c.entry.js → p-2f4352f5.entry.js} +1 -1
- package/dist/twilight/{p-acd70c2f.entry.js → p-2fd9954e.entry.js} +1 -1
- package/dist/twilight/{p-5174aa32.entry.js → p-3094c1a1.entry.js} +1 -1
- package/dist/twilight/{p-2b74eb03.entry.js → p-31cff9d6.entry.js} +1 -1
- package/dist/twilight/{p-00a2d261.entry.js → p-3570139b.entry.js} +1 -1
- package/dist/twilight/{p-c5522363.entry.js → p-3a20fbc0.entry.js} +1 -1
- package/dist/twilight/{p-f63999f8.entry.js → p-43a3d74b.entry.js} +1 -1
- package/dist/twilight/{p-a8fd427d.entry.js → p-43fd9024.entry.js} +1 -1
- package/dist/twilight/{p-207950ad.entry.js → p-45c1eaa8.entry.js} +1 -1
- package/dist/twilight/{p-b697172b.entry.js → p-49260c6c.entry.js} +1 -1
- package/dist/twilight/{p-5d2ebf97.entry.js → p-495a9262.entry.js} +1 -1
- package/dist/twilight/{p-8d4d4a0e.entry.js → p-4b78b5b6.entry.js} +1 -1
- package/dist/twilight/{p-3653ad70.entry.js → p-4f664ee5.entry.js} +1 -1
- package/dist/twilight/{p-47cd7ceb.entry.js → p-5039c032.entry.js} +1 -1
- package/dist/twilight/{p-fd22cd01.entry.js → p-51eeff00.entry.js} +1 -1
- package/dist/twilight/{p-74472650.entry.js → p-5abc72fb.entry.js} +1 -1
- package/dist/twilight/{p-0d0ca330.entry.js → p-5de17423.entry.js} +1 -1
- package/dist/twilight/{p-d607bfd3.entry.js → p-5e08505f.entry.js} +1 -1
- package/dist/twilight/{p-58fa3856.entry.js → p-64316672.entry.js} +1 -1
- package/dist/twilight/{p-a6bb162e.entry.js → p-698cda6b.entry.js} +1 -1
- package/dist/twilight/{p-374c63c7.entry.js → p-6d9ff62d.entry.js} +1 -1
- package/dist/twilight/{p-8c86ba24.entry.js → p-72128782.entry.js} +1 -1
- package/dist/twilight/{p-a39a0eb8.entry.js → p-736661d1.entry.js} +1 -1
- package/dist/twilight/{p-596525f9.entry.js → p-73fc8bc2.entry.js} +1 -1
- package/dist/twilight/{p-dfa729d4.entry.js → p-78230ff2.entry.js} +1 -1
- package/dist/twilight/{p-129d6c0c.entry.js → p-7b1e18b9.entry.js} +1 -1
- package/dist/twilight/{p-e9c7f99a.entry.js → p-8735bed6.entry.js} +1 -1
- package/dist/twilight/{p-15a052c7.entry.js → p-911df985.entry.js} +1 -1
- package/dist/twilight/{p-67cf0723.entry.js → p-917e279a.entry.js} +1 -1
- package/dist/twilight/{p-0b27ca19.entry.js → p-9623211d.entry.js} +1 -1
- package/dist/twilight/{p-9bf0a7df.entry.js → p-98365139.entry.js} +1 -1
- package/dist/twilight/{p-dbcc0a7f.entry.js → p-9a2fa95c.entry.js} +1 -1
- package/dist/twilight/{p-35a2ea22.entry.js → p-9f09f917.entry.js} +1 -1
- package/dist/twilight/{p-BcMtCVX0.js → p-BBHnyTVS.js} +1 -1
- package/dist/twilight/{p-C3Z9uRGX.js → p-BLNd0Q7w.js} +1 -1
- package/dist/twilight/p-BdSnnWWn.js +9 -0
- package/dist/twilight/{p-ukob-enB.js → p-BywTh96y.js} +2 -2
- package/dist/twilight/{p-ctIqN5Fo.js → p-CWQJdJyB.js} +1 -1
- package/dist/twilight/{p-Bc2ExcVy.js → p-CttEbJoQ.js} +1 -1
- package/dist/twilight/{p-UFbwqsEd.js → p-HRFCteJK.js} +1 -1
- package/dist/twilight/{p-fbLtV-T9.js → p-IulbkBPB.js} +1 -1
- package/dist/twilight/{p-359b2de3.entry.js → p-a50a28ea.entry.js} +1 -1
- package/dist/twilight/{p-e7932d3d.entry.js → p-abfc0327.entry.js} +1 -1
- package/dist/twilight/{p-a909028d.entry.js → p-b9a7a8b1.entry.js} +1 -1
- package/dist/twilight/{p-70e478a6.entry.js → p-bc9aa300.entry.js} +1 -1
- package/dist/twilight/{p-deb74e2e.entry.js → p-c800360f.entry.js} +1 -1
- package/dist/twilight/{p-c45f2128.entry.js → p-cc8c8ee0.entry.js} +1 -1
- package/dist/twilight/{p-c6e7b06f.entry.js → p-ccf81e66.entry.js} +1 -1
- package/dist/twilight/{p-e879fb84.entry.js → p-ce4e06b8.entry.js} +1 -1
- package/dist/twilight/{p-8fbd92a2.entry.js → p-d375a0d6.entry.js} +1 -1
- package/dist/twilight/{p-b19ace8d.entry.js → p-d5bea7d7.entry.js} +1 -1
- package/dist/twilight/{p-a6cbb4f5.entry.js → p-daf6d030.entry.js} +1 -1
- package/dist/twilight/{p-a54364a3.entry.js → p-db1699d8.entry.js} +1 -1
- package/dist/twilight/{p-689701b4.entry.js → p-db8ea013.entry.js} +1 -1
- package/dist/twilight/{p-983f9f1e.entry.js → p-dd95dd45.entry.js} +1 -1
- package/dist/twilight/{p-58c66b0d.entry.js → p-df66218c.entry.js} +1 -1
- package/dist/twilight/{p-374057f7.entry.js → p-e2a6cc78.entry.js} +1 -1
- package/dist/twilight/{p-48353d62.entry.js → p-e5faf311.entry.js} +1 -1
- package/dist/twilight/{p-c2d74b3d.entry.js → p-e8ee7b09.entry.js} +1 -1
- package/dist/twilight/{p-65df6042.entry.js → p-ec2a876a.entry.js} +1 -1
- package/dist/twilight/{p-4f3964d8.entry.js → p-f08590d7.entry.js} +1 -1
- package/dist/twilight/{p-bb98a631.entry.js → p-f17b1333.entry.js} +1 -1
- package/dist/twilight/{p-2548fa30.entry.js → p-f8b8c0da.entry.js} +1 -1
- package/dist/twilight/{p-4866439f.entry.js → p-f8beca67.entry.js} +1 -1
- package/dist/twilight/{p-26cb1fdf.entry.js → p-fc6852a0.entry.js} +1 -1
- package/dist/twilight/p-fd540f5b.entry.js +4 -0
- package/dist/twilight/{p-687a597a.entry.js → p-fe417603.entry.js} +1 -1
- package/dist/twilight/{p-DbdyybJU.js → p-okSe2zH1.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-delivery-promise/interfaces.d.ts +27 -0
- package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +48 -0
- package/dist/types/components/salla-fulfillment-methods/salla-fulfillment-methods.d.ts +18 -0
- package/dist/types/components.d.ts +66 -0
- package/package.json +5 -5
- package/dist/twilight/p-5a629abd.entry.js +0 -4
- package/dist/twilight/p-B21QGKK8.js +0 -9
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
|
+
|
|
6
|
+
const SallaDeliveryPromise = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.cities = [];
|
|
10
|
+
this.filteredCities = [];
|
|
11
|
+
this.selectedCity = null;
|
|
12
|
+
this.deliveryMessage = null;
|
|
13
|
+
this.isLoadingCities = false;
|
|
14
|
+
this.isLoadingPromises = false;
|
|
15
|
+
this.isDropdownOpen = false;
|
|
16
|
+
this.searchQuery = '';
|
|
17
|
+
this.hasError = false;
|
|
18
|
+
this.errorMessage = '';
|
|
19
|
+
/** i18n labels for city selector only; message comes from BE */
|
|
20
|
+
this.labels = {
|
|
21
|
+
deliveryTo: 'توصيل إلى',
|
|
22
|
+
pickupFromBranch: 'الاستلام من فرع',
|
|
23
|
+
searchPlaceholder: 'بحث...',
|
|
24
|
+
noResults: 'لا توجد نتائج',
|
|
25
|
+
selectCity: 'اختر المدينة',
|
|
26
|
+
};
|
|
27
|
+
this.canRender = false;
|
|
28
|
+
this.requiresShipping = false;
|
|
29
|
+
/** Used only for API calls, not rendered — no need for @State */
|
|
30
|
+
this.productId = undefined;
|
|
31
|
+
this.onClickOutside = (e) => {
|
|
32
|
+
if (this.host.contains(e.target)) {
|
|
33
|
+
return; // click inside component (e.g. search input, city list) — don't close
|
|
34
|
+
}
|
|
35
|
+
this.isDropdownOpen = false;
|
|
36
|
+
window.removeEventListener('click', this.onClickOutside);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
setLabels() {
|
|
40
|
+
this.labels = {
|
|
41
|
+
deliveryTo: salla.lang.getWithDefault('pages.products.promise_deliver_to', 'توصيل إلى'),
|
|
42
|
+
pickupFromBranch: salla.lang.getWithDefault('pages.products.promise_pickup_from_branch', 'الاستلام من فرع'),
|
|
43
|
+
searchPlaceholder: salla.lang.getWithDefault('blocks.header.search_placeholder', 'بحث...'),
|
|
44
|
+
noResults: salla.lang.getWithDefault('common.elements.no_options', 'لا توجد نتائج'),
|
|
45
|
+
selectCity: salla.lang.getWithDefault('common.elements.select_city', 'اختر المدينة'),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
logger(message, data) {
|
|
49
|
+
if (localStorage.getItem('salla-delivery-promise-debug')) {
|
|
50
|
+
if (data) {
|
|
51
|
+
console.log(message, data);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
console.log(message);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
async componentDidLoad() {
|
|
59
|
+
await salla.onReady();
|
|
60
|
+
await salla.lang.onLoaded();
|
|
61
|
+
this.setLabels();
|
|
62
|
+
this.requiresShipping = salla.url.is_page('product.single') &&
|
|
63
|
+
salla.config.get('store.features', []).includes('delivery-promises');
|
|
64
|
+
if (this.requiresShipping) {
|
|
65
|
+
this.logger('requiresShipping', this.requiresShipping);
|
|
66
|
+
this.productId = salla.config.get('page.id');
|
|
67
|
+
this.logger('productId', this.productId);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this.canRender = false;
|
|
71
|
+
this.logger('not requiresShipping', {
|
|
72
|
+
is_product_single: salla.url.is_page('product.single'),
|
|
73
|
+
includesDeliveryPromises: salla.config.get('store.features', []).includes('delivery-promises')
|
|
74
|
+
});
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
await this.fetchCities();
|
|
78
|
+
}
|
|
79
|
+
async fetchCities() {
|
|
80
|
+
this.logger('start startfetchCities');
|
|
81
|
+
this.isLoadingCities = true;
|
|
82
|
+
this.hasError = false;
|
|
83
|
+
try {
|
|
84
|
+
const response = await salla.api.request(salla.url.api(`products/${this.productId}/delivery-promises/cities`));
|
|
85
|
+
if (response.success && Array.isArray(response.data) && response.data.length > 0) {
|
|
86
|
+
this.logger('fetchCities success', { cities: response.data });
|
|
87
|
+
// Sort cities: explicit cities first (id !== -1), then "Rest of cities" (id === -1)
|
|
88
|
+
this.cities = this.sortCities(response.data);
|
|
89
|
+
this.filteredCities = [...this.cities];
|
|
90
|
+
// First, check if API returns a selected city (is_selected: true)
|
|
91
|
+
let cityToSelect = this.cities.find(c => c.is_selected);
|
|
92
|
+
if (!cityToSelect) {
|
|
93
|
+
this.logger('no selectedCity from API response');
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.logger('selectedCity', cityToSelect);
|
|
97
|
+
this.selectedCity = cityToSelect;
|
|
98
|
+
await this.fetchDeliveryMessage(cityToSelect.id);
|
|
99
|
+
}
|
|
100
|
+
this.canRender = true;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
this.logger('no data returned from fetchCities', { response: response });
|
|
104
|
+
this.canRender = false;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
this.logger('fetchCities error', { error: error.message });
|
|
109
|
+
this.hasError = true;
|
|
110
|
+
this.errorMessage = error.message || 'Failed to load cities';
|
|
111
|
+
this.canRender = false;
|
|
112
|
+
}
|
|
113
|
+
finally {
|
|
114
|
+
this.isLoadingCities = false;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
async fetchDeliveryMessage(cityId) {
|
|
118
|
+
this.logger('start fetchDeliveryMessage', { cityId });
|
|
119
|
+
this.isLoadingPromises = true;
|
|
120
|
+
this.hasError = false;
|
|
121
|
+
this.deliveryMessage = null;
|
|
122
|
+
try {
|
|
123
|
+
const response = await salla.api.withoutNotifier(() => salla.api.request(salla.url.api(`products/${this.productId}/delivery-promises?city_id=${cityId}`)));
|
|
124
|
+
if (response.success && response.data?.message) {
|
|
125
|
+
const message = response.data.message.trim();
|
|
126
|
+
this.logger('fetchDeliveryMessage success', { message });
|
|
127
|
+
this.deliveryMessage = message || null;
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
this.logger('deliveryMessage not valid', { response });
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
catch (error) {
|
|
134
|
+
this.logger('fetchDeliveryMessage error', { error: error.message });
|
|
135
|
+
this.hasError = true;
|
|
136
|
+
this.errorMessage = error.message || 'Failed to load delivery message';
|
|
137
|
+
}
|
|
138
|
+
finally {
|
|
139
|
+
this.isLoadingPromises = false;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
toggleDropdown(e) {
|
|
143
|
+
e?.stopPropagation();
|
|
144
|
+
this.isDropdownOpen = !this.isDropdownOpen;
|
|
145
|
+
if (this.isDropdownOpen) {
|
|
146
|
+
window.addEventListener('click', this.onClickOutside);
|
|
147
|
+
if (this.searchInputRef) {
|
|
148
|
+
setTimeout(() => this.searchInputRef.focus(), 100);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
window.removeEventListener('click', this.onClickOutside);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
disconnectedCallback() {
|
|
156
|
+
window.removeEventListener('click', this.onClickOutside);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Sort cities: explicit cities first (id !== -1), then "Rest of cities" (id === -1) at the end
|
|
160
|
+
*/
|
|
161
|
+
sortCities(cities) {
|
|
162
|
+
return [...cities].sort((a, b) => {
|
|
163
|
+
// "Rest of cities" (id === -1) should always be at the end
|
|
164
|
+
if (a.id === -1)
|
|
165
|
+
return 1;
|
|
166
|
+
if (b.id === -1)
|
|
167
|
+
return -1;
|
|
168
|
+
return 0;
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
handleSearch(event) {
|
|
172
|
+
const query = event.target.value.toLowerCase();
|
|
173
|
+
this.searchQuery = query;
|
|
174
|
+
if (query.length > 0) {
|
|
175
|
+
this.filteredCities = this.cities.filter(city => city.name.toLowerCase()?.includes(query) ||
|
|
176
|
+
(city.name_en || '').toLowerCase()?.includes(query));
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
this.filteredCities = [...this.cities];
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
async selectCity(city) {
|
|
183
|
+
this.logger('selectCity', { city: city });
|
|
184
|
+
this.selectedCity = city;
|
|
185
|
+
this.isDropdownOpen = false;
|
|
186
|
+
window.removeEventListener('click', this.onClickOutside);
|
|
187
|
+
this.searchQuery = '';
|
|
188
|
+
this.filteredCities = [...this.cities];
|
|
189
|
+
await this.fetchDeliveryMessage(city.id);
|
|
190
|
+
}
|
|
191
|
+
renderDropdown() {
|
|
192
|
+
return (h("div", { class: "s-delivery-promise-dropdown" }, h("div", { class: "s-delivery-promise-dropdown-search" }, h("i", { class: "sicon-search" }), h("input", { type: "text", placeholder: this.labels.searchPlaceholder, value: this.searchQuery, onInput: (e) => this.handleSearch(e), ref: el => this.searchInputRef = el })), h("div", { class: "s-delivery-promise-dropdown-list" }, this.filteredCities.length === 0 ? (h("div", { class: "s-delivery-promise-dropdown-empty" }, this.labels.noResults)) : (this.filteredCities.map(city => (h("div", { key: city.id, class: `s-delivery-promise-dropdown-item ${this.selectedCity?.id === city.id ? 'selected' : ''}`, onClick: () => this.selectCity(city) }, h("span", { class: "s-delivery-promise-city-name" }, city.name), this.selectedCity?.id === city.id && (h("i", { class: "sicon-check" })))))))));
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Skeleton shown during initial city fetch to avoid blank period and layout shift.
|
|
196
|
+
* Matches the structure/size of the real content (header + message area).
|
|
197
|
+
*/
|
|
198
|
+
renderInitialLoadingSkeleton() {
|
|
199
|
+
return (h(Host, { class: "s-delivery-promise-wrapper s-delivery-promise-skeleton" }, h("div", { class: "s-delivery-promise-container" }, h("div", { class: "s-delivery-promise-header s-delivery-promise-header-skeleton" }, h("div", { class: "s-delivery-promise-location" }, h("salla-skeleton", { height: "14px", width: "180px" })), h("salla-skeleton", { height: "18px", width: "18px" })), h("div", { class: "s-delivery-promise-loading" }, h("salla-skeleton", { height: "20px", width: "80%" })))));
|
|
200
|
+
}
|
|
201
|
+
renderDeliveryMessage() {
|
|
202
|
+
if (this.isLoadingPromises) {
|
|
203
|
+
return (h("div", { class: "s-delivery-promise-loading" }, h("salla-skeleton", { height: "20px", width: "80%" })));
|
|
204
|
+
}
|
|
205
|
+
if (!this.deliveryMessage) {
|
|
206
|
+
return null;
|
|
207
|
+
}
|
|
208
|
+
return (h("div", { class: "s-delivery-promise-message" }, this.deliveryMessage));
|
|
209
|
+
}
|
|
210
|
+
render() {
|
|
211
|
+
// Not on product page or delivery-promises disabled — hide entirely
|
|
212
|
+
if (!this.requiresShipping) {
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
// Initial city fetch: show skeleton to avoid blank period and layout shift
|
|
216
|
+
if (this.isLoadingCities) {
|
|
217
|
+
return this.renderInitialLoadingSkeleton();
|
|
218
|
+
}
|
|
219
|
+
// Fetch done but no cities / error — hide
|
|
220
|
+
if (!this.canRender || this.cities.length === 0) {
|
|
221
|
+
return null;
|
|
222
|
+
}
|
|
223
|
+
return (h(Host, { class: "s-delivery-promise-wrapper" }, h("div", { class: "s-delivery-promise-container" }, h("div", { class: "s-delivery-promise-header", onClick: (e) => this.toggleDropdown(e) }, h("div", { class: "s-delivery-promise-location" }, h("span", { class: "s-delivery-promise-title" }, this.labels.deliveryTo, " ", this.selectedCity?.name || this.labels.selectCity)), h("i", { class: `sicon-keyboard_arrow_down s-delivery-promise-arrow ${this.isDropdownOpen ? 'open' : ''}` })), this.hasError && (h("div", { class: "s-delivery-promise-error" }, this.errorMessage)), this.isDropdownOpen && this.renderDropdown(), !this.hasError && this.renderDeliveryMessage())));
|
|
224
|
+
}
|
|
225
|
+
get host() { return getElement(this); }
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export { SallaDeliveryPromise as salla_delivery_promise };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
|
+
|
|
6
|
+
const SallaFulfillmentMethods = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.methods = [];
|
|
10
|
+
this.shouldRender = false;
|
|
11
|
+
}
|
|
12
|
+
async componentDidLoad() {
|
|
13
|
+
await Salla.onReady();
|
|
14
|
+
await Salla.lang.onLoaded();
|
|
15
|
+
if (!Salla.config.get('store.support_pickup'))
|
|
16
|
+
return;
|
|
17
|
+
this.shouldRender = true;
|
|
18
|
+
this.setLabels();
|
|
19
|
+
}
|
|
20
|
+
setLabels() {
|
|
21
|
+
this.methods = [
|
|
22
|
+
{
|
|
23
|
+
id: 'delivery',
|
|
24
|
+
title: Salla.lang.getWithDefault('pages.products.promise_delivery_title', 'متاح للتوصيل'),
|
|
25
|
+
subtitle: Salla.lang.getWithDefault('pages.products.promise_delivery_subtitle', 'طلبك يوصلك لباب البيت بسهولة.'),
|
|
26
|
+
iconClass: 'sicon-location',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: 'pickup',
|
|
30
|
+
title: Salla.lang.getWithDefault('pages.products.promise_pickup_title', 'متاح للاستلام'),
|
|
31
|
+
subtitle: Salla.lang.getWithDefault('pages.products.promise_pickup_subtitle', 'استلام فوري من أقرب فرع.'),
|
|
32
|
+
iconClass: 'sicon-store',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
if (!this.shouldRender)
|
|
38
|
+
return null;
|
|
39
|
+
return (h(Host, { class: "s-fulfillment-methods" }, h("div", { class: "s-fulfillment-methods-list" }, this.methods.map((method) => (h("div", { key: method.id, class: "s-fulfillment-methods-card" }, h("div", { class: "s-fulfillment-methods-content" }, h("div", { class: "s-fulfillment-methods-icon-wrap" }, h("i", { class: `${method.iconClass} s-fulfillment-methods-icon` })), h("div", { class: "s-fulfillment-methods-text" }, h("span", { class: "s-fulfillment-methods-title" }, method.title), h("span", { class: "s-fulfillment-methods-subtitle" }, method.subtitle)))))))));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { SallaFulfillmentMethods as salla_fulfillment_methods };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BBHnyTVS.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
7
7
|
import { C as Cancel } from './cancel-BsLF_HK7.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const SallaHook = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const SallaLocalizationModal = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
5
|
import { l as loyaltyProgramIcon } from './gift-BChI23pG.js';
|
|
6
6
|
|
|
7
7
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BBHnyTVS.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { C as Cancel } from './cancel-BsLF_HK7.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { C as Cancel } from './cancel-BsLF_HK7.js';
|
|
6
6
|
|
|
7
7
|
const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { L as Location } from './location-BO5AoBAP.js';
|
|
6
6
|
|
|
7
7
|
var Edit = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaMultipleBundleProductCartCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
|
|
6
6
|
|
|
7
7
|
var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
var copyIcon = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaOrderEditItemCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BBHnyTVS.js';
|
|
5
5
|
import { i as iconCheck } from './check-BsXh13x8.js';
|
|
6
6
|
|
|
7
7
|
var iconFileArchive = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
const sallaPaymentsCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
5
|
|
|
6
6
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BBHnyTVS.js';
|
|
5
5
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
6
6
|
|
|
7
7
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BBHnyTVS.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
|
|
7
7
|
var Heart = `<!-- Generated by IcoMoon.io -->
|