@salla.sa/twilight-components 2.14.375 → 2.14.377

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 (250) hide show
  1. package/dist/cjs/{filepond-C6fC8vSQ.js → filepond-Ds5SboGX.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D4aLOYiI.js → filepond-plugin-file-poster-CiuOM8Vm.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-COkEZvyR.js → filepond-plugin-file-validate-size-voKg0Usf.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-D29vog-A.js → filepond-plugin-file-validate-type-DTD5zuEB.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BRA-418C.js → filepond-plugin-image-edit-9AlDikBO.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D49CRoKg.js → filepond-plugin-image-exif-orientation-CwrQWSUK.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CUf6Tmfs.js → filepond-plugin-image-preview-Cn3dM1Mv.js} +1 -1
  8. package/dist/cjs/{index-CkLnPQyE.js → index-BRmyjxh8.js} +2 -2
  9. package/dist/cjs/{index-BCqwgnTd.js → index-DUzQ48hR.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +2 -2
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +35 -38
  20. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-localization-modal.cjs.entry.js +6 -2
  35. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  79. package/dist/cjs/twilight.cjs.js +1 -1
  80. package/dist/cjs/{vanilla-picker-D0YMvIFq.js → vanilla-picker-B1kN8AK-.js} +1 -1
  81. package/dist/collection/components/salla-advertisement/salla-advertisement.js +1 -1
  82. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +34 -37
  83. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +5 -1
  84. package/dist/components/index.js +2 -2
  85. package/dist/components/salla-advertisement.js +1 -1
  86. package/dist/components/salla-bullet-delivery.js +34 -37
  87. package/dist/components/salla-localization-modal.js +5 -1
  88. package/dist/esm/{filepond-Dv58WYPK.js → filepond-JF8hYPuh.js} +1 -1
  89. package/dist/esm/{filepond-plugin-file-poster-DhX_LabH.js → filepond-plugin-file-poster-CTJ4szfB.js} +1 -1
  90. package/dist/esm/{filepond-plugin-file-validate-size-BSQTXY-0.js → filepond-plugin-file-validate-size-Jh8Ua3zk.js} +1 -1
  91. package/dist/esm/{filepond-plugin-file-validate-type-BV2vkyMX.js → filepond-plugin-file-validate-type-wRcUPSd7.js} +1 -1
  92. package/dist/esm/{filepond-plugin-image-edit-COhLXxAR.js → filepond-plugin-image-edit-C9oJ-3Xm.js} +1 -1
  93. package/dist/esm/{filepond-plugin-image-exif-orientation-vGEGPdXW.js → filepond-plugin-image-exif-orientation-D2PoXzFu.js} +1 -1
  94. package/dist/esm/{filepond-plugin-image-preview-DJJEZyfF.js → filepond-plugin-image-preview-BzYVseWH.js} +1 -1
  95. package/dist/esm/{index-BVjoLf40.js → index-BbsvNFsp.js} +1 -1
  96. package/dist/esm/{index-DO8ZSWrC.js → index-BydBx2Hz.js} +2 -2
  97. package/dist/esm/loader.js +2 -2
  98. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  99. package/dist/esm/salla-accordion_6.entry.js +1 -1
  100. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  101. package/dist/esm/salla-advertisement.entry.js +2 -2
  102. package/dist/esm/salla-alert_2.entry.js +1 -1
  103. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  104. package/dist/esm/salla-apps-icons.entry.js +1 -1
  105. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  106. package/dist/esm/salla-bullet-delivery.entry.js +35 -38
  107. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  108. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  109. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  110. package/dist/esm/salla-contacts.entry.js +1 -1
  111. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  112. package/dist/esm/salla-count-down_2.entry.js +1 -1
  113. package/dist/esm/salla-custom-fields.entry.js +1 -1
  114. package/dist/esm/salla-filters-widget.entry.js +1 -1
  115. package/dist/esm/salla-filters.entry.js +1 -1
  116. package/dist/esm/salla-gifting.entry.js +1 -1
  117. package/dist/esm/salla-hook.entry.js +1 -1
  118. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  119. package/dist/esm/salla-installment.entry.js +1 -1
  120. package/dist/esm/salla-list-tile.entry.js +1 -1
  121. package/dist/esm/salla-localization-modal.entry.js +6 -2
  122. package/dist/esm/salla-login-modal.entry.js +1 -1
  123. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  124. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  125. package/dist/esm/salla-loyalty.entry.js +1 -1
  126. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  127. package/dist/esm/salla-menu.entry.js +1 -1
  128. package/dist/esm/salla-metadata.entry.js +1 -1
  129. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  130. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  131. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  132. package/dist/esm/salla-notification-item.entry.js +1 -1
  133. package/dist/esm/salla-notifications.entry.js +1 -1
  134. package/dist/esm/salla-offer-modal.entry.js +1 -1
  135. package/dist/esm/salla-offer.entry.js +1 -1
  136. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  137. package/dist/esm/salla-order-details-options.entry.js +1 -1
  138. package/dist/esm/salla-order-details.entry.js +1 -1
  139. package/dist/esm/salla-order-summary.entry.js +1 -1
  140. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  141. package/dist/esm/salla-orders.entry.js +1 -1
  142. package/dist/esm/salla-payments.entry.js +1 -1
  143. package/dist/esm/salla-placeholder.entry.js +1 -1
  144. package/dist/esm/salla-price-range.entry.js +1 -1
  145. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  146. package/dist/esm/salla-products-list.entry.js +1 -1
  147. package/dist/esm/salla-products-slider.entry.js +1 -1
  148. package/dist/esm/salla-progress-bar.entry.js +1 -1
  149. package/dist/esm/salla-quick-order.entry.js +1 -1
  150. package/dist/esm/salla-rating-modal.entry.js +1 -1
  151. package/dist/esm/salla-scopes.entry.js +1 -1
  152. package/dist/esm/salla-search.entry.js +1 -1
  153. package/dist/esm/salla-skeleton.entry.js +1 -1
  154. package/dist/esm/salla-slider.entry.js +1 -1
  155. package/dist/esm/salla-social-share.entry.js +1 -1
  156. package/dist/esm/salla-social.entry.js +1 -1
  157. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  158. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  159. package/dist/esm/salla-tooltip.entry.js +1 -1
  160. package/dist/esm/salla-trust-badges.entry.js +1 -1
  161. package/dist/esm/salla-user-menu.entry.js +1 -1
  162. package/dist/esm/salla-user-profile.entry.js +1 -1
  163. package/dist/esm/salla-user-settings.entry.js +1 -1
  164. package/dist/esm/salla-verify.entry.js +1 -1
  165. package/dist/esm/salla-wallet.entry.js +1 -1
  166. package/dist/esm/twilight.js +2 -2
  167. package/dist/esm/{vanilla-picker-CRoXEEbH.js → vanilla-picker-B_HpR2sR.js} +1 -1
  168. package/dist/twilight/{p-60c93cb3.entry.js → p-01ef4e51.entry.js} +1 -1
  169. package/dist/twilight/{p-6bd5d4de.entry.js → p-034b4c1a.entry.js} +1 -1
  170. package/dist/twilight/{p-5e37d6c5.entry.js → p-072e0f0e.entry.js} +1 -1
  171. package/dist/twilight/{p-a87756d8.entry.js → p-0b809343.entry.js} +1 -1
  172. package/dist/twilight/{p-8a0c5a94.entry.js → p-0cfd02ac.entry.js} +1 -1
  173. package/dist/twilight/{p-0db791ec.entry.js → p-0e672192.entry.js} +1 -1
  174. package/dist/twilight/{p-af7e2568.entry.js → p-13f00911.entry.js} +1 -1
  175. package/dist/twilight/{p-20300661.entry.js → p-16dd2422.entry.js} +1 -1
  176. package/dist/twilight/{p-a6aa6c5b.entry.js → p-17513005.entry.js} +1 -1
  177. package/dist/twilight/{p-1d2eb48c.entry.js → p-1d67ec26.entry.js} +1 -1
  178. package/dist/twilight/{p-d1984ea3.entry.js → p-2488dc2d.entry.js} +1 -1
  179. package/dist/twilight/{p-b70cf161.entry.js → p-269b7ccb.entry.js} +1 -1
  180. package/dist/twilight/{p-e5ff81b4.entry.js → p-2ebecee9.entry.js} +1 -1
  181. package/dist/twilight/{p-0f79691d.entry.js → p-2fd30bc5.entry.js} +1 -1
  182. package/dist/twilight/{p-7ba45f07.entry.js → p-33bdb6b4.entry.js} +1 -1
  183. package/dist/twilight/{p-6cf4f164.entry.js → p-342e085d.entry.js} +1 -1
  184. package/dist/twilight/{p-51dcacbf.entry.js → p-35315e94.entry.js} +1 -1
  185. package/dist/twilight/{p-1306b083.entry.js → p-48b131d7.entry.js} +1 -1
  186. package/dist/twilight/p-4b9f4269.entry.js +4 -0
  187. package/dist/twilight/{p-3f211631.entry.js → p-4e2337a5.entry.js} +1 -1
  188. package/dist/twilight/{p-2d72b610.entry.js → p-57600606.entry.js} +1 -1
  189. package/dist/twilight/{p-dc47ca96.entry.js → p-5cde0413.entry.js} +1 -1
  190. package/dist/twilight/{p-1181bf0b.entry.js → p-6211929d.entry.js} +1 -1
  191. package/dist/twilight/{p-d3d64095.entry.js → p-644fce9b.entry.js} +1 -1
  192. package/dist/twilight/{p-f61bdc96.entry.js → p-663b99b7.entry.js} +1 -1
  193. package/dist/twilight/{p-90613df7.entry.js → p-669987db.entry.js} +1 -1
  194. package/dist/twilight/{p-3a8a81b0.entry.js → p-6b9ff7c8.entry.js} +1 -1
  195. package/dist/twilight/{p-2ca69eb5.entry.js → p-6eb7a1c9.entry.js} +1 -1
  196. package/dist/twilight/{p-1ff3ab59.entry.js → p-70a78ebf.entry.js} +1 -1
  197. package/dist/twilight/{p-8cfae1fb.entry.js → p-74e64863.entry.js} +1 -1
  198. package/dist/twilight/{p-b166707a.entry.js → p-7764a304.entry.js} +1 -1
  199. package/dist/twilight/p-7a0a5ee5.entry.js +4 -0
  200. package/dist/twilight/{p-09866a6a.entry.js → p-7b489e5d.entry.js} +1 -1
  201. package/dist/twilight/{p-90c6bb33.entry.js → p-7bfdbe2c.entry.js} +1 -1
  202. package/dist/twilight/{p-2093700f.entry.js → p-83429697.entry.js} +1 -1
  203. package/dist/twilight/{p-1f485253.entry.js → p-84c24cbf.entry.js} +1 -1
  204. package/dist/twilight/{p-f0a3769e.entry.js → p-96152b9c.entry.js} +1 -1
  205. package/dist/twilight/{p-1d9f0a8e.entry.js → p-9a2094af.entry.js} +1 -1
  206. package/dist/twilight/{p-CUMwiyB2.js → p-B4cEhvSn.js} +1 -1
  207. package/dist/twilight/{p-DPHWpXVr.js → p-BQGxkpNf.js} +1 -1
  208. package/dist/twilight/{p-_e5z4vpX.js → p-BW4PTXIV.js} +1 -1
  209. package/dist/twilight/{p-jblAFAWg.js → p-BaaWLUWL.js} +1 -1
  210. package/dist/twilight/{p-CuFlUm87.js → p-BuVkzZPJ.js} +1 -1
  211. package/dist/twilight/{p-DO8ZSWrC.js → p-BydBx2Hz.js} +1 -1
  212. package/dist/twilight/{p-B7UokZmD.js → p-COyNuZga.js} +1 -1
  213. package/dist/twilight/{p-C9AzkaPU.js → p-D9pFfS0x.js} +1 -1
  214. package/dist/twilight/{p-944da1a0.entry.js → p-a0306fe1.entry.js} +1 -1
  215. package/dist/twilight/{p-23ed2044.entry.js → p-a42a1b2e.entry.js} +1 -1
  216. package/dist/twilight/{p-a33ecc4d.entry.js → p-ac899f06.entry.js} +1 -1
  217. package/dist/twilight/{p-505f2ab8.entry.js → p-ada6c43e.entry.js} +1 -1
  218. package/dist/twilight/{p-1b5d5a2d.entry.js → p-ae717169.entry.js} +1 -1
  219. package/dist/twilight/{p-066d24e3.entry.js → p-ae950f3d.entry.js} +1 -1
  220. package/dist/twilight/{p-abf88fe9.entry.js → p-aeefa78e.entry.js} +1 -1
  221. package/dist/twilight/{p-9aa75f51.entry.js → p-bdd30dd8.entry.js} +1 -1
  222. package/dist/twilight/{p-b56c127d.entry.js → p-bed51089.entry.js} +1 -1
  223. package/dist/twilight/{p-de778929.entry.js → p-bf0da096.entry.js} +1 -1
  224. package/dist/twilight/{p-4f83c6fa.entry.js → p-c121bf62.entry.js} +1 -1
  225. package/dist/twilight/{p-eb6c1a49.entry.js → p-c9f697b2.entry.js} +1 -1
  226. package/dist/twilight/{p-f6394d42.entry.js → p-d403d4ee.entry.js} +1 -1
  227. package/dist/twilight/{p-333b3f0c.entry.js → p-d682c191.entry.js} +1 -1
  228. package/dist/twilight/{p-33d891a4.entry.js → p-d75e1e5f.entry.js} +1 -1
  229. package/dist/twilight/{p-4823b8bc.entry.js → p-d7e8d463.entry.js} +1 -1
  230. package/dist/twilight/{p-2533c930.entry.js → p-d88dace7.entry.js} +1 -1
  231. package/dist/twilight/{p-732dfb48.entry.js → p-d88f8d71.entry.js} +1 -1
  232. package/dist/twilight/{p-f27e7def.entry.js → p-d9744d75.entry.js} +1 -1
  233. package/dist/twilight/{p-ef7ddff4.entry.js → p-eac472ee.entry.js} +1 -1
  234. package/dist/twilight/{p-a14550ba.entry.js → p-f0cc775f.entry.js} +1 -1
  235. package/dist/twilight/{p-e8ef633a.entry.js → p-f146c8a6.entry.js} +1 -1
  236. package/dist/twilight/{p-afe5ce03.entry.js → p-f2dfe3b8.entry.js} +1 -1
  237. package/dist/twilight/{p-67653c43.entry.js → p-f312e8c3.entry.js} +1 -1
  238. package/dist/twilight/{p-277149a3.entry.js → p-f3ed92ab.entry.js} +1 -1
  239. package/dist/twilight/{p-64d129cd.entry.js → p-f485d95f.entry.js} +1 -1
  240. package/dist/twilight/{p-7abf75d6.entry.js → p-f5aabe58.entry.js} +1 -1
  241. package/dist/twilight/{p-cead97fb.entry.js → p-fac74a09.entry.js} +1 -1
  242. package/dist/twilight/{p-e6533b16.entry.js → p-fcc47e94.entry.js} +1 -1
  243. package/dist/twilight/{p-1a770914.entry.js → p-ff69f252.entry.js} +1 -1
  244. package/dist/twilight/{p-DJjUUwwe.js → p-gzTMnCaL.js} +1 -1
  245. package/dist/twilight/{p-C5geWkhd.js → p-xFAL2vxu.js} +1 -1
  246. package/dist/twilight/twilight.esm.js +1 -1
  247. package/dist/types/components/salla-bullet-delivery/helpers.d.ts +4 -4
  248. package/package.json +5 -5
  249. package/dist/twilight/p-e801da3a.entry.js +0 -4
  250. package/dist/twilight/p-ea6392d3.entry.js +0 -4
@@ -17,7 +17,7 @@ const SallaAdvertisement$1 = /*@__PURE__*/ proxyCustomElement(class SallaAdverti
17
17
  salla.onReady(() => {
18
18
  this.currentSlug = salla.config.get("page.slug");
19
19
  });
20
- this.advSlot = this.host.querySelector('[slot="adv"]')?.innerHTML || `<div class="s-advertisement-content"><h2 class="s-advertisement-content-main">{iconElem}{urlElem}</h2>{closeElem}</div>
20
+ this.advSlot = this.host.querySelector('[slot="adv"]')?.innerHTML || `<div class="s-advertisement-content"><span class="s-advertisement-content-main">{iconElem}{urlElem}</span>{closeElem}</div>
21
21
  `;
22
22
  }
23
23
  /**
@@ -1716,15 +1716,18 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1716
1716
  selected: this.selectedSessionAddress,
1717
1717
  onClick: () => this.handleSessionAddressSelect(),
1718
1718
  }), this.savedAddresses.map((address) => {
1719
- const addrLine1 = address.formatted?.address_one ?? address.short_address ?? "";
1720
- const line1 = [address.building_number, address.street]
1719
+ const builtLine1 = [address.building_number, address.street]
1721
1720
  .filter(Boolean)
1722
- .join("، ") || addrLine1;
1723
- const districtName = address.district?.name ?? "";
1724
- const cityName = address.city?.name ?? "";
1725
- const line2 = this.isRTL && districtName
1726
- ? `${Salla.lang.get("pages.checkout.district_field")} ${districtName}، ${cityName}`
1727
- : [districtName, cityName].filter(Boolean).join("، ");
1721
+ .join("، ");
1722
+ const line1 = builtLine1 || address.formatted?.address_one || address.short_address || "";
1723
+ const builtLine2 = [
1724
+ address.district?.name,
1725
+ address.city?.name,
1726
+ address.country?.name,
1727
+ ]
1728
+ .filter(Boolean)
1729
+ .join("، ");
1730
+ const line2 = (builtLine2 || address.formatted?.address_two) ?? "";
1728
1731
  const inCoverage = address.is_in_coverage !== false;
1729
1732
  return this.renderAddressRow({
1730
1733
  key: String(address.id),
@@ -1850,35 +1853,35 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1850
1853
  }
1851
1854
  overrideScopeSwitchUI() {
1852
1855
  const intent = this.getStoredIntent();
1853
- if (!intent)
1854
- return;
1855
- const scopesTriggerButton = Array.from(document.querySelectorAll('[onclick*="scopes"]')).find((el) => /scopes/.test(el.getAttribute("onclick") || ""));
1856
- if (!scopesTriggerButton)
1856
+ const btn = document.querySelector('[onclick*="scopes"]');
1857
+ if (!btn)
1857
1858
  return;
1858
- scopesTriggerButton.onclick = () => {
1859
- this.open();
1860
- };
1861
- const isBranch = intent.type === "branch";
1862
- const truncate = (str, max) => str && str.length > max ? `${str.slice(0, max)}...` : (str ?? "");
1863
- const labelText = isBranch
1864
- ? `${Salla.lang.get("mobile_app.strings.pickup")} ${Salla.lang.get("common.elements.from")} ${truncate(intent.branch_details?.name, 20)}`
1865
- : `${Salla.lang.get("mobile_app.strings.delivery")} ${Salla.lang.get("common.elements.to")} ${truncate(intent.address_details?.city?.name, 10)}`;
1866
- const spanLabel = scopesTriggerButton.querySelector('span:not([class*="sicon"]):not([class*="icon"])');
1867
- if (spanLabel) {
1868
- spanLabel.textContent = labelText;
1859
+ const trunc = (s, max) => s && s.length > max ? `${s.slice(0, max)}...` : (s ?? "");
1860
+ const label = !intent
1861
+ ? Salla.lang.get("common.titles.shipping")
1862
+ : intent.type === "branch"
1863
+ ? `${Salla.lang.get("mobile_app.strings.pickup")} ${Salla.lang.get("common.elements.from")} ${trunc(intent.branch_details?.name, 20)}`
1864
+ : `${Salla.lang.get("mobile_app.strings.delivery")} ${Salla.lang.get("common.elements.to")} ${trunc(intent.address_details?.city?.name, 10)}`;
1865
+ btn.style.display = intent ? "" : "none";
1866
+ btn.onclick = () => this.open();
1867
+ const span = btn.querySelector('span:not([class*="sicon"]):not([class*="icon"])');
1868
+ if (span) {
1869
+ span.textContent = label;
1869
1870
  }
1870
1871
  else {
1871
- // Replace bare text nodes (e.g. " متجر السعودية") directly on the button
1872
- for (const node of Array.from(scopesTriggerButton.childNodes)) {
1873
- if (node.nodeType === Node.TEXT_NODE && node.textContent?.trim()) {
1874
- node.textContent = ` ${labelText}`;
1875
- break;
1876
- }
1877
- }
1872
+ const textNode = Array.from(btn.childNodes).find((n) => n.nodeType === Node.TEXT_NODE && n.textContent?.trim());
1873
+ if (textNode)
1874
+ textNode.textContent = ` ${label}`;
1878
1875
  }
1879
1876
  }
1880
1877
  async componentWillLoad() {
1881
1878
  await Salla.onReady();
1879
+ try {
1880
+ this.overrideScopeSwitchUI();
1881
+ }
1882
+ catch (e) {
1883
+ console.warn("SallaBulletDelivery: overrideScopeSwitchUI failed", e);
1884
+ }
1882
1885
  Salla.event.on("bullet-delivery::open", this.bulletDeliveryOpenHandler);
1883
1886
  this.closeHandler = this.close.bind(this);
1884
1887
  Salla.event.on("bullet-delivery::close", this.closeHandler);
@@ -1896,15 +1899,9 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1896
1899
  else {
1897
1900
  Salla.event.on(this.cartItemAddedEvent, this.cartItemAddedHandler);
1898
1901
  }
1899
- try {
1900
- this.overrideScopeSwitchUI();
1901
- }
1902
- catch (e) {
1903
- console.warn("SallaBulletDelivery: overrideScopeSwitchUI failed", e);
1904
- }
1905
1902
  }
1906
1903
  render() {
1907
- return (h(Host, { key: '85d39043bd2ff75d9803d9beea9f5a7aee57e4d8', class: "s-bullet-delivery" }, h("salla-modal", { key: 'e76271a780d30c05085bbbbd589016405d7111d4', ref: (modal) => {
1904
+ return (h(Host, { key: '5d79f6404692b4a68504770a54f46c9e5161e533', class: "s-bullet-delivery" }, h("salla-modal", { key: 'f123012f8593e20eeb14ebf59fc8dc5af9bbe12b', ref: (modal) => {
1908
1905
  this.modal = modal;
1909
1906
  }, isClosable: !this.isRequired, class: "s-bullet-delivery-modal", isLoading: this.loading, width: "sm" }, this.loading ? (this.renderSkeleton()) : (h("div", { class: "s-bullet-delivery-inner" }, this.viewMode === "main" && this.renderMainView(), this.viewMode === "add-address" && this.renderAddAddressForm())))));
1910
1907
  }
@@ -100,6 +100,10 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
100
100
  if (this.language !== salla.config.get('user.language_code', 'ar')) {
101
101
  url = salla.helpers.addParamToUrl('lang', this.language);
102
102
  }
103
+ })
104
+ .then(() => {
105
+ salla.cookie.set('s-lang', this.language);
106
+ salla.cookie.set('s-curr', this.currency);
103
107
  })
104
108
  .then(() => this.btn.stop())
105
109
  .then(() => this.close())
@@ -110,7 +114,7 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
110
114
  });
111
115
  }
112
116
  render() {
113
- return (h("salla-modal", { key: 'f879ba9acb191ca879d56e8dfc2b6770c3840f98', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: 'd740c5b855c8fce282a2825463934de5b229bbfe', slot: 'loading' }, h("div", { key: '089b25c5e823158a4b52e094650bdb6c7316e527', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: 'a2fc0521bfc24bbe28506f2d39879d794de7a861', width: '25%', height: '15px' }), h("div", { key: 'f04667dc28710e1885d156b13e014d6ada7a804d', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '94fe914dfa3927931dabd2f7bf2fdce7c28a78d2', width: '25%', height: '15px' }), h("div", { key: '1c9d8fbbfe76089646ab6da1b2e6f6f1bf90031c', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '70e81e3e906a4f53572cff5191d64e0168d1c3b8', height: '40px', width: '100%' }))), !!this.hasError ?
117
+ return (h("salla-modal", { key: 'd3a45aa4cc807e1ba549514b59ada59a2397bff0', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '1794f7c9e31a1a1b622363fa21905a73a8bbdb68', slot: 'loading' }, h("div", { key: 'd55e1b7fb36f84616dde3f19955c7e5013838080', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '7a25a0f055f401a8a63030df1ab930957668c1df', width: '25%', height: '15px' }), h("div", { key: '8e9c1aba813a5efa58dc4132a504d1612343cce6', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'b3ef9e80a8dec053e9c0e6d10d1145d4057c98ad', width: '25%', height: '15px' }), h("div", { key: '1d062e516cc37994e34c0aa77634bc7a2311c4ff', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '9f7a16b0f3881882fc257ed7e1290380dea38a4c', height: '40px', width: '100%' }))), !!this.hasError ?
114
118
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
115
119
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
116
120
  h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DO8ZSWrC.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BydBx2Hz.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {