@salla.sa/twilight-components 2.14.467 → 2.14.468

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.
Files changed (364) hide show
  1. package/dist/cjs/{filepond-Li5IcLEr.js → filepond-C1SAyrFq.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CXgEvsrj.js → filepond-plugin-file-poster-DAhQ7rGa.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DISjKBXN.js → filepond-plugin-file-validate-size-qfwxpApK.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BeDqb2RU.js → filepond-plugin-file-validate-type-BbYanfPf.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CTKgasCY.js → filepond-plugin-image-edit-lWdFhMNt.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BqvyVbfM.js → filepond-plugin-image-exif-orientation-C2wUYBSb.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DfX-wD-s.js → filepond-plugin-image-preview-B1ukjrjT.js} +1 -1
  8. package/dist/cjs/{functions-DXNacMtu.js → functions-DCSgyun2.js} +1 -1
  9. package/dist/cjs/{index-JuURs8Nc.js → index-CXr_39D8.js} +9 -5
  10. package/dist/cjs/{index-2n84VIdz.js → index-D3oJJZKW.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{mail-Bgvt2hc9.js → mail-C9D8MHae.js} +2 -2
  13. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +29 -84
  16. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
  22. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +91 -7
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
  29. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-gifting.cjs.entry.js +63 -28
  38. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-login-modal.cjs.entry.js +32 -2
  44. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +4 -4
  46. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  51. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-products-list.cjs.entry.js +259 -64
  82. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-quick-order.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -3
  85. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  86. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-social-share.cjs.entry.js +252 -32
  91. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  93. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  99. package/dist/cjs/salla-verify.cjs.entry.js +3 -3
  100. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +329 -0
  102. package/dist/cjs/{tracked-promise-BdbqBT_O.js → tracked-promise-BsYRgTGD.js} +1 -1
  103. package/dist/cjs/twilight.cjs.js +2 -2
  104. package/dist/cjs/{vanilla-picker-Cj5ogibZ.js → vanilla-picker-DkdzTjSC.js} +1 -1
  105. package/dist/collection/collection-manifest.json +2 -1
  106. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +90 -6
  107. package/dist/collection/components/salla-gifting/salla-gifting.js +69 -29
  108. package/dist/collection/components/salla-login-modal/salla-login-modal.js +31 -1
  109. package/dist/collection/components/salla-product-options/salla-product-options.css +0 -3
  110. package/dist/collection/components/salla-product-options/salla-product-options.js +28 -84
  111. package/dist/collection/components/salla-products-list/salla-products-list.css +76 -0
  112. package/dist/collection/components/salla-products-list/salla-products-list.js +387 -65
  113. package/dist/collection/components/salla-social-share/salla-social-share.css +161 -0
  114. package/dist/collection/components/salla-social-share/salla-social-share.js +316 -50
  115. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  116. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  117. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  118. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  119. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  120. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  121. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.css +65 -0
  122. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +432 -0
  123. package/dist/components/index.js +5 -5
  124. package/dist/components/salla-bullet-delivery.js +90 -6
  125. package/dist/components/salla-gifting.js +63 -27
  126. package/dist/components/salla-login-modal2.js +31 -1
  127. package/dist/components/salla-product-options2.js +28 -84
  128. package/dist/components/salla-products-list2.js +266 -64
  129. package/dist/components/salla-social-share.js +1 -189
  130. package/dist/components/salla-social-share2.js +420 -0
  131. package/dist/components/salla-tab-content2.js +1 -1
  132. package/dist/components/salla-tab-header2.js +1 -1
  133. package/dist/components/salla-tabs2.js +1 -1
  134. package/dist/components/salla-tel-input2.js +1 -1
  135. package/dist/components/salla-tooltip2.js +1 -1
  136. package/dist/components/salla-user-settings.js +1 -1
  137. package/dist/components/salla-wishlist-actions.d.ts +11 -0
  138. package/dist/components/salla-wishlist-actions.js +375 -0
  139. package/dist/esm/{filepond-Cpf2HNH9.js → filepond-C4pZr9nR.js} +1 -1
  140. package/dist/esm/{filepond-plugin-file-poster-CVurRtjC.js → filepond-plugin-file-poster-CXpAGxT4.js} +1 -1
  141. package/dist/esm/{filepond-plugin-file-validate-size-Dw2xFbfx.js → filepond-plugin-file-validate-size-Dk4M6ge1.js} +1 -1
  142. package/dist/esm/{filepond-plugin-file-validate-type-D6seJVa2.js → filepond-plugin-file-validate-type-DD7qvRsg.js} +1 -1
  143. package/dist/esm/{filepond-plugin-image-edit-CBikW78V.js → filepond-plugin-image-edit-DMllAEkg.js} +1 -1
  144. package/dist/esm/{filepond-plugin-image-exif-orientation-5yNhe9TO.js → filepond-plugin-image-exif-orientation-BRCbcu_E.js} +1 -1
  145. package/dist/esm/{filepond-plugin-image-preview-PlAAXB7f.js → filepond-plugin-image-preview-DgeylrwN.js} +1 -1
  146. package/dist/esm/{functions-Egzz8fEM.js → functions-DrS7by6t.js} +1 -1
  147. package/dist/esm/{index-Do4FV1UZ.js → index-9SnsJoYO.js} +1 -1
  148. package/dist/esm/{index-a4x9urdK.js → index-D2yBy7Jh.js} +9 -5
  149. package/dist/esm/loader.js +3 -3
  150. package/dist/esm/{mail-DLNIOD9t.js → mail-DzAIgzdz.js} +2 -2
  151. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  152. package/dist/esm/salla-accordion_6.entry.js +1 -1
  153. package/dist/esm/salla-add-product-button_5.entry.js +29 -84
  154. package/dist/esm/salla-advertisement.entry.js +1 -1
  155. package/dist/esm/salla-alert_2.entry.js +1 -1
  156. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  157. package/dist/esm/salla-apps-icons.entry.js +1 -1
  158. package/dist/esm/salla-badge.entry.js +1 -1
  159. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  160. package/dist/esm/salla-bullet-delivery_2.entry.js +91 -7
  161. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  162. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  163. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  164. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  165. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  166. package/dist/esm/salla-contacts.entry.js +3 -3
  167. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  168. package/dist/esm/salla-count-down.entry.js +1 -1
  169. package/dist/esm/salla-custom-fields.entry.js +1 -1
  170. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  171. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  172. package/dist/esm/salla-filters-widget.entry.js +1 -1
  173. package/dist/esm/salla-filters.entry.js +1 -1
  174. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  175. package/dist/esm/salla-gifting.entry.js +63 -28
  176. package/dist/esm/salla-hook.entry.js +1 -1
  177. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  178. package/dist/esm/salla-installment.entry.js +1 -1
  179. package/dist/esm/salla-list-tile.entry.js +1 -1
  180. package/dist/esm/salla-localization-modal.entry.js +1 -1
  181. package/dist/esm/salla-login-modal.entry.js +32 -2
  182. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  183. package/dist/esm/salla-loyalty-hero_2.entry.js +4 -4
  184. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  185. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  186. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  187. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  188. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  189. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  190. package/dist/esm/salla-loyalty.entry.js +1 -1
  191. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  192. package/dist/esm/salla-map.entry.js +1 -1
  193. package/dist/esm/salla-menu.entry.js +1 -1
  194. package/dist/esm/salla-metadata.entry.js +1 -1
  195. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  196. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  197. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  198. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  199. package/dist/esm/salla-notification-item.entry.js +1 -1
  200. package/dist/esm/salla-notifications.entry.js +1 -1
  201. package/dist/esm/salla-offer-modal.entry.js +1 -1
  202. package/dist/esm/salla-offer.entry.js +1 -1
  203. package/dist/esm/salla-order-branch.entry.js +1 -1
  204. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  205. package/dist/esm/salla-order-details-options.entry.js +1 -1
  206. package/dist/esm/salla-order-details.entry.js +1 -1
  207. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  208. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  209. package/dist/esm/salla-order-edit.entry.js +1 -1
  210. package/dist/esm/salla-order-summary.entry.js +1 -1
  211. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  212. package/dist/esm/salla-orders.entry.js +1 -1
  213. package/dist/esm/salla-payments.entry.js +1 -1
  214. package/dist/esm/salla-placeholder.entry.js +1 -1
  215. package/dist/esm/salla-price-range.entry.js +1 -1
  216. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  217. package/dist/esm/salla-product-card_2.entry.js +1 -1
  218. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  219. package/dist/esm/salla-products-list.entry.js +259 -64
  220. package/dist/esm/salla-progress-bar.entry.js +1 -1
  221. package/dist/esm/salla-quick-order.entry.js +3 -3
  222. package/dist/esm/salla-rating-modal.entry.js +3 -3
  223. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  224. package/dist/esm/salla-scopes.entry.js +1 -1
  225. package/dist/esm/salla-search.entry.js +1 -1
  226. package/dist/esm/salla-skeleton.entry.js +1 -1
  227. package/dist/esm/salla-slider.entry.js +1 -1
  228. package/dist/esm/salla-social-share.entry.js +252 -32
  229. package/dist/esm/salla-social.entry.js +1 -1
  230. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  231. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  232. package/dist/esm/salla-tooltip.entry.js +2 -2
  233. package/dist/esm/salla-trust-badges.entry.js +1 -1
  234. package/dist/esm/salla-user-menu.entry.js +1 -1
  235. package/dist/esm/salla-user-profile.entry.js +1 -1
  236. package/dist/esm/salla-user-settings.entry.js +2 -2
  237. package/dist/esm/salla-verify.entry.js +3 -3
  238. package/dist/esm/salla-wallet.entry.js +1 -1
  239. package/dist/esm/salla-wishlist-actions.entry.js +327 -0
  240. package/dist/esm/{tracked-promise-BX5clCDX.js → tracked-promise-CTcAqNfZ.js} +1 -1
  241. package/dist/esm/twilight.js +3 -3
  242. package/dist/esm/{vanilla-picker-DB0pDHa7.js → vanilla-picker-DfeK45Yv.js} +1 -1
  243. package/dist/twilight/{p-61b1fd3b.entry.js → p-07af3286.entry.js} +1 -1
  244. package/dist/twilight/{p-ee605cef.entry.js → p-08337b2b.entry.js} +1 -1
  245. package/dist/twilight/{p-74a61155.entry.js → p-08771dff.entry.js} +1 -1
  246. package/dist/twilight/{p-13a033fa.entry.js → p-0e1bab4f.entry.js} +1 -1
  247. package/dist/twilight/{p-b0bf7a5b.entry.js → p-0eadca17.entry.js} +1 -1
  248. package/dist/twilight/{p-92b02f3c.entry.js → p-12ccc1ab.entry.js} +1 -1
  249. package/dist/twilight/{p-52fe97c8.entry.js → p-1574176e.entry.js} +1 -1
  250. package/dist/twilight/{p-0957f323.entry.js → p-17015f9c.entry.js} +1 -1
  251. package/dist/twilight/{p-b8ab7da8.entry.js → p-1920b702.entry.js} +1 -1
  252. package/dist/twilight/{p-91363b7e.entry.js → p-1a1cebfa.entry.js} +1 -1
  253. package/dist/twilight/{p-1130d4b7.entry.js → p-1a844fda.entry.js} +1 -1
  254. package/dist/twilight/{p-42a0b54a.entry.js → p-1b7ebf47.entry.js} +1 -1
  255. package/dist/twilight/{p-e726123e.entry.js → p-223d7ceb.entry.js} +1 -1
  256. package/dist/twilight/{p-ff270706.entry.js → p-255f5d2a.entry.js} +1 -1
  257. package/dist/twilight/{p-0da78d4e.entry.js → p-266f57de.entry.js} +1 -1
  258. package/dist/twilight/p-28bdf8ec.entry.js +4 -0
  259. package/dist/twilight/{p-fbfacb11.entry.js → p-2c7086ec.entry.js} +1 -1
  260. package/dist/twilight/{p-d33203b7.entry.js → p-2c7f524a.entry.js} +1 -1
  261. package/dist/twilight/{p-c60c302f.entry.js → p-30ea9a82.entry.js} +1 -1
  262. package/dist/twilight/{p-b80adb19.entry.js → p-313d38cd.entry.js} +1 -1
  263. package/dist/twilight/{p-241bd42e.entry.js → p-315ce27b.entry.js} +1 -1
  264. package/dist/twilight/p-378d45e2.entry.js +4 -0
  265. package/dist/twilight/p-3c2fe8cd.entry.js +4 -0
  266. package/dist/twilight/{p-d905fbca.entry.js → p-3d1e7982.entry.js} +1 -1
  267. package/dist/twilight/{p-a068fff4.entry.js → p-3d7c0ac6.entry.js} +1 -1
  268. package/dist/twilight/{p-c0380d40.entry.js → p-3d8d289e.entry.js} +1 -1
  269. package/dist/twilight/{p-f6bb956c.entry.js → p-4144c908.entry.js} +1 -1
  270. package/dist/twilight/{p-5b365561.entry.js → p-453a7bb2.entry.js} +1 -1
  271. package/dist/twilight/{p-6d87b134.entry.js → p-4c457ba5.entry.js} +1 -1
  272. package/dist/twilight/{p-735fafef.entry.js → p-4d3bcacd.entry.js} +1 -1
  273. package/dist/twilight/{p-d9d4ea5b.entry.js → p-4dedb514.entry.js} +1 -1
  274. package/dist/twilight/{p-0b169d4e.entry.js → p-50dfec0a.entry.js} +1 -1
  275. package/dist/twilight/{p-1ce817c2.entry.js → p-53f83426.entry.js} +1 -1
  276. package/dist/twilight/{p-afcb0117.entry.js → p-54e9ac89.entry.js} +1 -1
  277. package/dist/twilight/{p-35ac1fc9.entry.js → p-571b8e00.entry.js} +1 -1
  278. package/dist/twilight/{p-9dc0fec4.entry.js → p-5a5057a8.entry.js} +1 -1
  279. package/dist/twilight/{p-ec073354.entry.js → p-5a9b94f8.entry.js} +1 -1
  280. package/dist/twilight/{p-9b639078.entry.js → p-5c1c520a.entry.js} +1 -1
  281. package/dist/twilight/{p-f170aff7.entry.js → p-5d06fe77.entry.js} +1 -1
  282. package/dist/twilight/{p-ec5ae058.entry.js → p-5e433652.entry.js} +1 -1
  283. package/dist/twilight/{p-b0ed6a9f.entry.js → p-6046666d.entry.js} +1 -1
  284. package/dist/twilight/{p-10e0936d.entry.js → p-67e23040.entry.js} +1 -1
  285. package/dist/twilight/{p-fa039238.entry.js → p-6c777951.entry.js} +1 -1
  286. package/dist/twilight/{p-53cbb271.entry.js → p-749dbf27.entry.js} +1 -1
  287. package/dist/twilight/p-7bd464f3.entry.js +4 -0
  288. package/dist/twilight/{p-c8fd03c0.entry.js → p-7ffc1711.entry.js} +1 -1
  289. package/dist/twilight/{p-89f11893.entry.js → p-83b6c374.entry.js} +1 -1
  290. package/dist/twilight/{p-bfbf8121.entry.js → p-8b5d26d3.entry.js} +1 -1
  291. package/dist/twilight/{p-92f3ea44.entry.js → p-9a0514dd.entry.js} +1 -1
  292. package/dist/twilight/{p-f5135cb5.entry.js → p-9ba953ab.entry.js} +1 -1
  293. package/dist/twilight/{p-BVqg7xd9.js → p-BGpAIcg-.js} +1 -1
  294. package/dist/twilight/{p-fCaOxwGH.js → p-BHkz1ssL.js} +1 -1
  295. package/dist/twilight/{p-CsMnvJkR.js → p-BZhp8a87.js} +1 -1
  296. package/dist/twilight/p-Bo1nXenO.js +4 -0
  297. package/dist/twilight/{p-D9ni3BuG.js → p-BojnM4VS.js} +1 -1
  298. package/dist/twilight/{p-B7KW0zhB.js → p-CBU9I-zy.js} +1 -1
  299. package/dist/twilight/{p-pOgjUtf9.js → p-CGd7EQZr.js} +1 -1
  300. package/dist/twilight/{p-EPfEwqOC.js → p-D01LipFK.js} +1 -1
  301. package/dist/twilight/{p-a4x9urdK.js → p-D2yBy7Jh.js} +2 -2
  302. package/dist/twilight/{p-DiWHgCMH.js → p-DSgSJMud.js} +1 -1
  303. package/dist/twilight/{p-DLNIOD9t.js → p-DzAIgzdz.js} +1 -1
  304. package/dist/twilight/{p-fe506679.entry.js → p-a0d88c4d.entry.js} +1 -1
  305. package/dist/twilight/{p-f684d7bf.entry.js → p-a2b53a52.entry.js} +1 -1
  306. package/dist/twilight/{p-78020271.entry.js → p-a3e1fafc.entry.js} +1 -1
  307. package/dist/twilight/{p-fdde8399.entry.js → p-a463d567.entry.js} +1 -1
  308. package/dist/twilight/{p-ba1199ba.entry.js → p-a6a9e398.entry.js} +1 -1
  309. package/dist/twilight/{p-0405f5e8.entry.js → p-a79f60e6.entry.js} +1 -1
  310. package/dist/twilight/{p-0bdf58a4.entry.js → p-aadfd70e.entry.js} +1 -1
  311. package/dist/twilight/{p-ad19661d.entry.js → p-ad0a27e2.entry.js} +1 -1
  312. package/dist/twilight/{p-e90d18b2.entry.js → p-ae8bd2e7.entry.js} +1 -1
  313. package/dist/twilight/{p-d17596ff.entry.js → p-af121bbf.entry.js} +1 -1
  314. package/dist/twilight/p-b0f28806.entry.js +4 -0
  315. package/dist/twilight/{p-0b1970c2.entry.js → p-b3f6b725.entry.js} +1 -1
  316. package/dist/twilight/{p-1a37b959.entry.js → p-b7e720e8.entry.js} +1 -1
  317. package/dist/twilight/{p-a53d5944.entry.js → p-b80016c8.entry.js} +1 -1
  318. package/dist/twilight/{p-635347c9.entry.js → p-c0f40eea.entry.js} +1 -1
  319. package/dist/twilight/p-c4bc10c1.entry.js +4 -0
  320. package/dist/twilight/p-c637b6bb.entry.js +4 -0
  321. package/dist/twilight/{p-127ee640.entry.js → p-c6e18746.entry.js} +1 -1
  322. package/dist/twilight/{p-5803c158.entry.js → p-cb855cb3.entry.js} +1 -1
  323. package/dist/twilight/{p-4d393389.entry.js → p-cbc44b3e.entry.js} +1 -1
  324. package/dist/twilight/{p-6d47892b.entry.js → p-cbf547f0.entry.js} +1 -1
  325. package/dist/twilight/{p-e27363dd.entry.js → p-cebad615.entry.js} +1 -1
  326. package/dist/twilight/{p-316135f8.entry.js → p-cfd910a8.entry.js} +1 -1
  327. package/dist/twilight/{p-d0340e11.entry.js → p-d0a8b9be.entry.js} +1 -1
  328. package/dist/twilight/{p-59f7f014.entry.js → p-d0cae7da.entry.js} +1 -1
  329. package/dist/twilight/{p-03d13b9f.entry.js → p-d861eea6.entry.js} +1 -1
  330. package/dist/twilight/p-daa9c0b3.entry.js +4 -0
  331. package/dist/twilight/{p-59f815bc.entry.js → p-db43fa93.entry.js} +1 -1
  332. package/dist/twilight/{p-e1205d19.entry.js → p-e06a7e19.entry.js} +1 -1
  333. package/dist/twilight/{p-0c748664.entry.js → p-e34f68e0.entry.js} +1 -1
  334. package/dist/twilight/{p-08b2c781.entry.js → p-e4cac2a9.entry.js} +1 -1
  335. package/dist/twilight/{p-056400a1.entry.js → p-e5de1833.entry.js} +1 -1
  336. package/dist/twilight/{p-fa1cc092.entry.js → p-e80ee5b0.entry.js} +6 -6
  337. package/dist/twilight/{p-16bcc5ab.entry.js → p-e8ffc069.entry.js} +1 -1
  338. package/dist/twilight/{p-2bcfb4f3.entry.js → p-ee8c7a5a.entry.js} +1 -1
  339. package/dist/twilight/p-f0dedf42.entry.js +4 -0
  340. package/dist/twilight/{p-37457147.entry.js → p-f3a01895.entry.js} +1 -1
  341. package/dist/twilight/{p-ef8fb222.entry.js → p-fb56a444.entry.js} +1 -1
  342. package/dist/twilight/{p-e8a82952.entry.js → p-fe1bced4.entry.js} +1 -1
  343. package/dist/twilight/{p-DSBkBAFI.js → p-paiaALkJ.js} +1 -1
  344. package/dist/twilight/{p-CkA6UKAD.js → p-xz8gqXL9.js} +1 -1
  345. package/dist/twilight/twilight.esm.js +1 -1
  346. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +16 -0
  347. package/dist/types/components/salla-gifting/gift-schema.d.ts +4 -0
  348. package/dist/types/components/salla-gifting/salla-gifting.d.ts +4 -1
  349. package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +2 -0
  350. package/dist/types/components/salla-product-options/salla-product-options.d.ts +0 -11
  351. package/dist/types/components/salla-products-list/salla-products-list.d.ts +60 -6
  352. package/dist/types/components/salla-social-share/salla-social-share.d.ts +39 -2
  353. package/dist/types/components/salla-wishlist-actions/salla-wishlist-actions.d.ts +93 -0
  354. package/dist/types/components.d.ts +172 -18
  355. package/package.json +5 -5
  356. package/dist/twilight/p-234fdf72.entry.js +0 -4
  357. package/dist/twilight/p-3fbd88d0.entry.js +0 -4
  358. package/dist/twilight/p-7a1cfd65.entry.js +0 -4
  359. package/dist/twilight/p-865c602e.entry.js +0 -4
  360. package/dist/twilight/p-9df5c9a7.entry.js +0 -4
  361. package/dist/twilight/p-C4aFleDM.js +0 -4
  362. package/dist/twilight/p-e485d0b8.entry.js +0 -4
  363. package/dist/twilight/p-f5072671.entry.js +0 -4
  364. package/dist/twilight/p-fb7904e6.entry.js +0 -4
@@ -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-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { S as SICalendar } from './calendar-BkmanTR_.js';
6
6
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
7
7
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
@@ -358,7 +358,7 @@ const SallaColorPicker = class {
358
358
  }
359
359
  }
360
360
  initColorPicker() {
361
- this.pickerReady = import('./vanilla-picker-DB0pDHa7.js').then(function (n) { return n.v; }).then(mod => {
361
+ this.pickerReady = import('./vanilla-picker-DfeK45Yv.js').then(function (n) { return n.v; }).then(mod => {
362
362
  const Picker = mod.default;
363
363
  const picker = new Picker({
364
364
  parent: this.host,
@@ -818,13 +818,13 @@ const SallaFileUpload = class {
818
818
  return;
819
819
  try {
820
820
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
821
- import('./filepond-Cpf2HNH9.js').then(function (n) { return n.f; }),
822
- import('./filepond-plugin-file-validate-size-Dw2xFbfx.js').then(function (n) { return n.f; }),
823
- import('./filepond-plugin-image-exif-orientation-5yNhe9TO.js').then(function (n) { return n.f; }),
824
- import('./filepond-plugin-image-preview-PlAAXB7f.js').then(function (n) { return n.f; }),
825
- import('./filepond-plugin-image-edit-CBikW78V.js').then(function (n) { return n.f; }),
826
- import('./filepond-plugin-file-validate-type-D6seJVa2.js').then(function (n) { return n.f; }),
827
- import('./filepond-plugin-file-poster-CVurRtjC.js').then(function (n) { return n.f; })
821
+ import('./filepond-C4pZr9nR.js').then(function (n) { return n.f; }),
822
+ import('./filepond-plugin-file-validate-size-Dk4M6ge1.js').then(function (n) { return n.f; }),
823
+ import('./filepond-plugin-image-exif-orientation-BRCbcu_E.js').then(function (n) { return n.f; }),
824
+ import('./filepond-plugin-image-preview-DgeylrwN.js').then(function (n) { return n.f; }),
825
+ import('./filepond-plugin-image-edit-DMllAEkg.js').then(function (n) { return n.f; }),
826
+ import('./filepond-plugin-file-validate-type-DD7qvRsg.js').then(function (n) { return n.f; }),
827
+ import('./filepond-plugin-file-poster-CXpAGxT4.js').then(function (n) { return n.f; })
828
828
  ]);
829
829
  this.FilePond = FilePondModule;
830
830
  // Register plugins
@@ -1425,7 +1425,7 @@ const SallaTelInput = class {
1425
1425
  if (this.TelInput)
1426
1426
  return;
1427
1427
  try {
1428
- const telInputModule = await import('./index-Do4FV1UZ.js').then(function (n) { return n.i; });
1428
+ const telInputModule = await import('./index-9SnsJoYO.js').then(function (n) { return n.i; });
1429
1429
  this.TelInput = telInputModule.default;
1430
1430
  }
1431
1431
  catch (error) {
@@ -1539,7 +1539,7 @@ const SallaTelInput = class {
1539
1539
  }
1540
1540
  }
1541
1541
  render() {
1542
- return (h(Host, { key: '849ab0e6c311e71a21154bec43421a06ef795b5e', class: "s-tel-input" }, h("input", { key: '3b7a3d8c974b9ad4562fbfbe08bcfb3eb45d809a', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'a9fbe57c48e0f9f9bf9233736206bff717c3ab21', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '930fc644b324360483ccf7e06b9bcb169a242326', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1542
+ return (h(Host, { key: '278424c0918dc3c4b6aac8da5817376d784995ac', class: "s-tel-input" }, h("input", { key: '00ff8ed40ff9aabe9bea6cfd43c41f5b2cfc5529', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '68e791d4d1b6490a84a3ef31c75f41be90ac5bb6', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '415e6521c2ef756ebabbeb4610c06158e255320d', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1543
1543
  }
1544
1544
  componentDidLoad() {
1545
1545
  this.initTelInput();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
  import { S as Search } from './search-BscTeWDc.js';
7
7
 
@@ -4804,6 +4804,8 @@ const sallaBulletDeliveryCss = "@supports (interpolate-size: allow-keywords) and
4804
4804
 
4805
4805
  const BRANCH_SEARCH_DEBOUNCE_MS = 1000;
4806
4806
  const GEOLOCATION_TIMEOUT = 10000;
4807
+ /** Final fallback center used only if `user.default_geo_location` is absent (Riyadh — matches checkout map-page). */
4808
+ const DEFAULT_MAP_CENTER = { lat: 24.7756042, lng: 46.7360729 };
4807
4809
  const DEBUG_KEY = 'salla-bullet-delivery-debug';
4808
4810
  const OVERRIDE_IP_KEY = 'salla-bullet-delivery-override-ip';
4809
4811
  function log(message, data) {
@@ -4855,6 +4857,8 @@ const SallaBulletDelivery = class {
4855
4857
  /** True after saved addresses have been loaded (lazy: only when address tab is shown). */
4856
4858
  this.savedAddressesLoaded = false;
4857
4859
  this.gmapRef = null;
4860
+ /** Guards against re-prompting for geolocation each time the map (re)initializes within one flow. */
4861
+ this.autoGeolocationTriggered = false;
4858
4862
  // Core state
4859
4863
  this.activeTab = "address";
4860
4864
  this.isLoggedIn = false;
@@ -4996,6 +5000,8 @@ const SallaBulletDelivery = class {
4996
5000
  shortAddress: detail.place?.placeId ?? detail.place?.place_id ?? undefined,
4997
5001
  formattedAddress: detail.place?.formattedAddress ?? detail.place?.formatted_address ?? undefined,
4998
5002
  };
5003
+ // Bias autocomplete results toward the currently selected location.
5004
+ this.updateLocationBias();
4999
5005
  setTimeout(() => {
5000
5006
  const marker = this.gmapRef?.locationMarker;
5001
5007
  if (marker)
@@ -5007,6 +5013,25 @@ const SallaBulletDelivery = class {
5007
5013
  if (this.gmapRef && typeof this.gmapRef.resize === 'function') {
5008
5014
  this.gmapRef.resize();
5009
5015
  }
5016
+ this.updateLocationBias();
5017
+ // Auto-locate the customer so the map never opens "empty" — matches checkout map-page
5018
+ // (getCurrentLocation(true) pans to the resolved position). Skip if a location is already set
5019
+ // (e.g. returning from the confirm step). Falls back silently to mapInitialCenter if denied.
5020
+ if (!this.autoGeolocationTriggered && !this.hasMapLocation() && this.gmapRef) {
5021
+ const getCurrentLocation = this.gmapRef.getCurrentLocation;
5022
+ if (typeof getCurrentLocation === 'function') {
5023
+ this.autoGeolocationTriggered = true;
5024
+ try {
5025
+ const result = getCurrentLocation.call(this.gmapRef, true);
5026
+ if (result && typeof result.catch === 'function') {
5027
+ result.catch((err) => log('Auto geolocation failed', err));
5028
+ }
5029
+ }
5030
+ catch (err) {
5031
+ log('Auto geolocation threw', err);
5032
+ }
5033
+ }
5034
+ }
5010
5035
  };
5011
5036
  /**
5012
5037
  * Submit add-address form: create address via API then switch back to list.
@@ -5130,6 +5155,9 @@ const SallaBulletDelivery = class {
5130
5155
  get isRequired() {
5131
5156
  return !!Salla.config.get("store.settings.bullet_delivery.settings.is_required");
5132
5157
  }
5158
+ get isSupportsDelivery() {
5159
+ return !!Salla.config.get("store.settings.bullet_delivery.supports_delivery");
5160
+ }
5133
5161
  get isMobileApp() {
5134
5162
  return Salla.config.isMobileApp();
5135
5163
  }
@@ -5238,6 +5266,7 @@ const SallaBulletDelivery = class {
5238
5266
  }
5239
5267
  resetState() {
5240
5268
  this.viewMode = "main";
5269
+ this.autoGeolocationTriggered = false;
5241
5270
  this.selectedCountry = null;
5242
5271
  this.selectedRegion = null;
5243
5272
  this.selectedCity = null;
@@ -5315,12 +5344,27 @@ const SallaBulletDelivery = class {
5315
5344
  // only when it represents a valid session-style address.
5316
5345
  return hasSessionAddressIntent(intent);
5317
5346
  }
5347
+ /**
5348
+ * Whether the store still supports the delivery method captured in a stored
5349
+ * intent. Shared by the cart pill and the cart-submit gate so an unsupported
5350
+ * method (e.g. a remembered delivery address in a now pickup-only store) is
5351
+ * never treated as a valid/complete selection.
5352
+ */
5353
+ isIntentMethodSupported(intent) {
5354
+ if (intent.type === "branch")
5355
+ return this.supportsPickup;
5356
+ if (intent.type === "address")
5357
+ return this.isSupportsDelivery;
5358
+ return false;
5359
+ }
5318
5360
  hasCompleteIntentForLoggedInUser() {
5319
5361
  if (this.isGuestUser())
5320
5362
  return false;
5321
5363
  const intent = this.getStoredIntent();
5322
5364
  if (!intent)
5323
5365
  return false;
5366
+ if (!this.isIntentMethodSupported(intent))
5367
+ return false;
5324
5368
  if (intent.type === "address")
5325
5369
  return !!intent.address_id;
5326
5370
  if (intent.type === "branch")
@@ -5898,6 +5942,7 @@ const SallaBulletDelivery = class {
5898
5942
  async handleAddNewAddress() {
5899
5943
  this.viewMode = "add-address";
5900
5944
  this.mapLocationData = null;
5945
+ this.autoGeolocationTriggered = false;
5901
5946
  this.fetchAddressToken();
5902
5947
  const intent = this.getStoredIntent();
5903
5948
  const sessionCountryId = getIntentCountryId(intent);
@@ -5920,6 +5965,7 @@ const SallaBulletDelivery = class {
5920
5965
  this.mapLocationData = null;
5921
5966
  this.mapStep = 'map';
5922
5967
  this.addressDescription = '';
5968
+ this.autoGeolocationTriggered = false;
5923
5969
  }
5924
5970
  // ─── Map methods ───
5925
5971
  async fetchAddressToken() {
@@ -5944,6 +5990,15 @@ const SallaBulletDelivery = class {
5944
5990
  this.loadingToken = false;
5945
5991
  }
5946
5992
  }
5993
+ /** Bias autocomplete toward the current selection (or the initial center) — mirrors checkout's map-page. */
5994
+ updateLocationBias() {
5995
+ if (!this.gmapRef)
5996
+ return;
5997
+ const center = this.hasMapLocation()
5998
+ ? { lat: this.mapLocationData.lat, lng: this.mapLocationData.lng }
5999
+ : this.mapInitialCenter;
6000
+ this.gmapRef.autocompleteLocationBias = { center, radius: 500000 };
6001
+ }
5947
6002
  hasMapLocation() {
5948
6003
  return this.mapLocationData?.lat != null && this.mapLocationData?.lng != null;
5949
6004
  }
@@ -5954,6 +6009,27 @@ const SallaBulletDelivery = class {
5954
6009
  get isMapModeAvailable() {
5955
6010
  return this.isMapSettingEnabled && !!salla.config.get('store.settings.keys.maps') && !!this.addressToken;
5956
6011
  }
6012
+ /** Center shown before geolocation resolves — the customer's IP-based default (falls back to Riyadh). */
6013
+ get mapInitialCenter() {
6014
+ const geo = salla.config.get('user.default_geo_location');
6015
+ // Coerce defensively: config may arrive as strings, blank/whitespace, NaN, or out-of-range
6016
+ // values. Reject blanks before coercion (Number('') === 0) and validate lat/lng ranges so we
6017
+ // never feed (0,0) or an invalid point to the map; otherwise fall back to the default center.
6018
+ const lat = this.toCoordinate(geo?.lat);
6019
+ const lng = this.toCoordinate(geo?.lng);
6020
+ const isValid = lat != null && lng != null &&
6021
+ lat >= -90 && lat <= 90 && lng >= -180 && lng <= 180;
6022
+ return isValid ? { lat, lng } : DEFAULT_MAP_CENTER;
6023
+ }
6024
+ /** Parse a config coordinate to a finite number, treating blank/whitespace strings as missing. */
6025
+ toCoordinate(value) {
6026
+ if (typeof value === 'string' && value.trim() === '')
6027
+ return null;
6028
+ if (value == null)
6029
+ return null;
6030
+ const num = Number(value);
6031
+ return Number.isFinite(num) ? num : null;
6032
+ }
5957
6033
  // ─── End Map methods ───
5958
6034
  /**
5959
6035
  * Build address/location payload from guest-form state (same fields as add-address).
@@ -6524,10 +6600,10 @@ const SallaBulletDelivery = class {
6524
6600
  getCartViewConfig(intent) {
6525
6601
  if (!intent || !Salla.url.is_page("cart"))
6526
6602
  return null;
6603
+ if (!this.isIntentMethodSupported(intent))
6604
+ return null;
6527
6605
  const isBranch = intent.type === "branch";
6528
6606
  const isAddress = intent.type === "address";
6529
- if ((isBranch && !this.supportsPickup) || (!isBranch && !isAddress))
6530
- return null;
6531
6607
  return {
6532
6608
  title: isBranch
6533
6609
  ? Salla.lang.get("pages.checkout.pickup_option")
@@ -6577,13 +6653,15 @@ const SallaBulletDelivery = class {
6577
6653
  return wrapper;
6578
6654
  }
6579
6655
  renderTabs() {
6580
- // Show tabs only when pickup is supported; otherwise delivery-only view with no tabs
6656
+ // Show tabs only when pickup is supported; otherwise delivery-only view with no tabs.
6657
+ // The pickup tab is gated by this same `supportsPickup` check, while the delivery
6658
+ // tab is shown only when bullet delivery supports delivery (`isSupportsDelivery`).
6581
6659
  if (!this.supportsPickup)
6582
6660
  return null;
6583
- return (h$4("div", { class: "s-bullet-delivery-tabs" }, h$4("button", { type: "button", class: {
6661
+ return (h$4("div", { class: "s-bullet-delivery-tabs" }, this.isSupportsDelivery && (h$4("button", { type: "button", class: {
6584
6662
  "s-bullet-delivery-tab": true,
6585
6663
  "s-bullet-delivery-tab--active": this.activeTab === "address",
6586
- }, onClick: () => this.handleTabChange("address") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: Location, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.delivery"))), h$4("button", { type: "button", class: {
6664
+ }, onClick: () => this.handleTabChange("address") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: Location, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.delivery")))), h$4("button", { type: "button", class: {
6587
6665
  "s-bullet-delivery-tab": true,
6588
6666
  "s-bullet-delivery-tab--active": this.activeTab === "branch",
6589
6667
  }, onClick: () => this.handleTabChange("branch") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: Store, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.pickup")))));
@@ -6736,7 +6814,13 @@ const SallaBulletDelivery = class {
6736
6814
  }
6737
6815
  renderMapSection() {
6738
6816
  const isSA = isSaudiArabia(this.selectedCountry?.code ?? '');
6739
- return (h$4("div", { class: "s-bullet-delivery-map-container" }, h$4("gmap-map", { ref: (el) => (this.gmapRef = el), zoom: 16, "map-id": "DEMO_MAP_ID", "enable-autocomplete": true, "enable-geolocation": true, "show-location-marker": true, language: Salla.lang.getLocale?.() ?? document.documentElement.lang ?? 'ar', "geolocation-button-label": Salla.lang.get('pages.checkout.current_location'), "autocomplete-placeholder": Salla.lang.get('pages.checkout.search_for_address'), "autocomplete-hint": isSA ? Salla.lang.get('pages.checkout.short_address_format_validation') : undefined, "autocomplete-country": this.selectedCountry?.code?.toLowerCase(), "autocomplete-resolve": false, "autocomplete-auth-token": this.addressToken, "location-marker-background": "#4285F4", "location-marker-border-color": "#1967D2", "location-marker-glyph-color": "#FFFFFF", "location-marker-scale": 1.3, "onGmap-location-changed": this.handleMapLocationChanged, "onGmap-ready": this.handleMapReady })));
6817
+ const loc = this.mapLocationData;
6818
+ const hasLoc = loc?.lat != null && loc?.lng != null;
6819
+ // Resolve the center once (the getter reads salla.config) and reuse it for the marker so the
6820
+ // map never opens "empty": before a selection the marker sits on the IP/Riyadh default and is
6821
+ // dragged/replaced once auto-geolocation or the user picks a real position.
6822
+ const center = hasLoc ? { lat: loc.lat, lng: loc.lng } : this.mapInitialCenter;
6823
+ return (h$4("div", { class: "s-bullet-delivery-map-container" }, h$4("gmap-map", { ref: (el) => (this.gmapRef = el), center: center, zoom: 16, "min-zoom": 4, "max-zoom": 21, "map-id": "DEMO_MAP_ID", "enable-autocomplete": true, "enable-geolocation": true, "show-location-marker": true, "location-marker-position": hasLoc ? { lat: loc.lat, lng: loc.lng, accuracy: 50 } : { ...center, accuracy: 50 }, language: Salla.lang.getLocale?.() ?? document.documentElement.lang ?? 'ar', "geolocation-button-label": Salla.lang.get('pages.checkout.current_location'), "autocomplete-placeholder": Salla.lang.get('pages.checkout.search_for_address'), "autocomplete-hint": isSA ? Salla.lang.get('pages.checkout.short_address_format_validation') : undefined, "autocomplete-country": this.selectedCountry?.code?.toLowerCase(), "autocomplete-resolve": false, "autocomplete-auth-token": this.addressToken, "location-marker-background": "#4285F4", "location-marker-border-color": "#1967D2", "location-marker-glyph-color": "#FFFFFF", "location-marker-scale": 1.3, "onGmap-location-changed": this.handleMapLocationChanged, "onGmap-ready": this.handleMapReady })));
6740
6824
  }
6741
6825
  renderAddressConfirmation() {
6742
6826
  const address = this.mapLocationData?.formattedAddress ?? '';
@@ -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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const sallaCartCouponsCss = "";
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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
 
6
6
  var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <g clip-path="url(#clip0_5667_2008)">
@@ -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, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-D2yBy7Jh.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-BXj4f_Qj.js';
@@ -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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host } from './index-D2yBy7Jh.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
- import { S as SIMail } from './mail-DLNIOD9t.js';
6
+ import { e as email } from './mail-DzAIgzdz.js';
7
7
 
8
8
  var mobile = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -32,7 +32,7 @@ const SallaContacts = class {
32
32
  constructor(hostRef) {
33
33
  registerInstance(this, hostRef);
34
34
  this.contacts = salla.config.get('store.contacts');
35
- this.iconsList = { mobile, whatsapp: WhatsappIcon, phone, telegram, email: SIMail };
35
+ this.iconsList = { mobile, whatsapp: WhatsappIcon, phone, telegram, email };
36
36
  this.contactSlot = this.host.querySelector('[slot="contact"]')?.innerHTML || `<a href={link} class="s-contacts-item"><span class="s-contacts-icon">{icon}</span>${!this.iconsOnly && "<span class='unicode'>{value}</span>"}</a>`;
37
37
  salla.onReady(() => {
38
38
  this.contacts = salla.config.get('store.contacts');
@@ -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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
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 } from './index-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-D2yBy7Jh.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -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-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":host{display:block}";
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-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.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-a4x9urdK.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-D2yBy7Jh.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-BXj4f_Qj.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a4x9urdK.js';
4
+ import { r as registerInstance, h, H as Host } from './index-D2yBy7Jh.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {