@salla.sa/twilight-components 2.14.429 → 2.14.431

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 (431) hide show
  1. package/dist/cjs/{filepond--V9rRgVA.js → filepond-DfW5cyCe.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DzvswSJb.js → filepond-plugin-file-poster-BDWsEvaC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-C5wUWXz6.js → filepond-plugin-file-validate-size-Bto6gxLP.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-HA2w2_fC.js → filepond-plugin-file-validate-type-B6YfHTAx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CXrhd-IB.js → filepond-plugin-image-edit-C-LqaX6L.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BJnamgw6.js → filepond-plugin-image-exif-orientation-CV0h895x.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CmdkZJij.js → filepond-plugin-image-preview-DWzrBxJB.js} +1 -1
  8. package/dist/cjs/{functions-DPnm948J.js → functions-CB5lb0VM.js} +1 -1
  9. package/dist/cjs/{index-D3xsx646.js → index-CPVUhQsG.js} +2 -2
  10. package/dist/cjs/{index-DRfjMaC1.js → index-D7Syi0Lt.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -4
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +208 -8
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-CFp5Besf.js → tracked-promise-Duwj6C7F.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +1 -1
  97. package/dist/cjs/{vanilla-picker-Jk2F9CAy.js → vanilla-picker-C-53deqE.js} +1 -1
  98. package/dist/collection/components/salla-bought-together/salla-bought-together.css +0 -136
  99. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +204 -4
  100. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  101. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  102. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  103. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  104. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  105. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  106. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  107. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  108. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  109. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  110. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  111. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  112. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  113. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  114. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  115. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  116. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  117. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  118. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  119. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  120. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  121. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  122. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  123. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  124. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  125. package/dist/collection/components/salla-map/salla-map.js +3 -3
  126. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  127. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  128. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  129. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  130. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  131. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  132. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  133. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  134. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  135. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  136. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  137. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  138. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  139. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  140. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  141. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  142. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  143. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  144. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  145. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  146. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  147. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  148. package/dist/collection/components/salla-search/salla-search.js +5 -5
  149. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  150. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  151. package/dist/collection/components/salla-social/salla-social.js +1 -1
  152. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  153. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  154. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  155. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  156. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  157. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  158. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  159. package/dist/components/index.js +2 -2
  160. package/dist/components/salla-bought-together.js +1 -1
  161. package/dist/components/salla-bullet-delivery.js +203 -3
  162. package/dist/components/salla-cart-coupons.js +1 -1
  163. package/dist/components/salla-cart-summary.js +1 -1
  164. package/dist/components/salla-color-picker2.js +1 -1
  165. package/dist/components/salla-comment-form2.js +1 -1
  166. package/dist/components/salla-comment-item2.js +3 -3
  167. package/dist/components/salla-conditional-fields2.js +1 -1
  168. package/dist/components/salla-count-down2.js +1 -1
  169. package/dist/components/salla-datetime-picker2.js +1 -1
  170. package/dist/components/salla-file-upload2.js +2 -2
  171. package/dist/components/salla-filters-widget2.js +2 -2
  172. package/dist/components/salla-filters.js +1 -1
  173. package/dist/components/salla-gifting.js +2 -2
  174. package/dist/components/salla-hook.js +1 -1
  175. package/dist/components/salla-list-tile2.js +1 -1
  176. package/dist/components/salla-loading2.js +1 -1
  177. package/dist/components/salla-localization-modal.js +1 -1
  178. package/dist/components/salla-loyalty-hero2.js +3 -3
  179. package/dist/components/salla-loyalty-point2.js +3 -3
  180. package/dist/components/salla-loyalty-prize-item.js +1 -1
  181. package/dist/components/salla-loyalty-reward.js +2 -2
  182. package/dist/components/salla-maintenance-alert.js +1 -1
  183. package/dist/components/salla-map2.js +3 -3
  184. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  185. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  186. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  187. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  188. package/dist/components/salla-multiple-bundle-product.js +1 -1
  189. package/dist/components/salla-notification-item2.js +1 -1
  190. package/dist/components/salla-offer-modal.js +1 -1
  191. package/dist/components/salla-order-details.js +1 -1
  192. package/dist/components/salla-order-edit-product-card.js +1 -1
  193. package/dist/components/salla-order-summary.js +1 -1
  194. package/dist/components/salla-payments.js +2 -2
  195. package/dist/components/salla-placeholder2.js +1 -1
  196. package/dist/components/salla-price-range2.js +2 -2
  197. package/dist/components/salla-product-availability2.js +1 -1
  198. package/dist/components/salla-product-card2.js +5 -5
  199. package/dist/components/salla-product-size-guide.js +2 -2
  200. package/dist/components/salla-quantity-input2.js +1 -1
  201. package/dist/components/salla-quick-buy2.js +1 -1
  202. package/dist/components/salla-review-card2.js +1 -1
  203. package/dist/components/salla-reviews-page.js +1 -1
  204. package/dist/components/salla-reviews.js +1 -1
  205. package/dist/components/salla-reward-action2.js +1 -1
  206. package/dist/components/salla-reward-card2.js +1 -1
  207. package/dist/components/salla-reward-details2.js +3 -3
  208. package/dist/components/salla-reward-exchange2.js +3 -3
  209. package/dist/components/salla-scopes.js +1 -1
  210. package/dist/components/salla-search.js +5 -5
  211. package/dist/components/salla-searchable-dropdown2.js +4 -4
  212. package/dist/components/salla-skeleton2.js +1 -1
  213. package/dist/components/salla-social-share.js +1 -1
  214. package/dist/components/salla-social.js +1 -1
  215. package/dist/components/salla-tab-content2.js +1 -1
  216. package/dist/components/salla-tab-header2.js +1 -1
  217. package/dist/components/salla-tabs2.js +1 -1
  218. package/dist/components/salla-tel-input2.js +1 -1
  219. package/dist/components/salla-tooltip2.js +1 -1
  220. package/dist/components/salla-user-settings.js +1 -1
  221. package/dist/esm/{filepond-fJKURtC4.js → filepond-b3O-B3ro.js} +1 -1
  222. package/dist/esm/{filepond-plugin-file-poster-Ll-3yUwR.js → filepond-plugin-file-poster-DGa9Q6FE.js} +1 -1
  223. package/dist/esm/{filepond-plugin-file-validate-size-2D44oWIJ.js → filepond-plugin-file-validate-size-Bn9iVzLj.js} +1 -1
  224. package/dist/esm/{filepond-plugin-file-validate-type-08Jawn6d.js → filepond-plugin-file-validate-type-BjHBoevq.js} +1 -1
  225. package/dist/esm/{filepond-plugin-image-edit-DmEVMjMi.js → filepond-plugin-image-edit-CJ2XCDbB.js} +1 -1
  226. package/dist/esm/{filepond-plugin-image-exif-orientation-DJo_07yV.js → filepond-plugin-image-exif-orientation-DUb8DStt.js} +1 -1
  227. package/dist/esm/{filepond-plugin-image-preview-Nd-PQAho.js → filepond-plugin-image-preview-BCzQEooP.js} +1 -1
  228. package/dist/esm/{functions-GnOlk8am.js → functions-hDIweVRL.js} +1 -1
  229. package/dist/esm/{index-Ba0YDJC7.js → index-DFzcviYn.js} +1 -1
  230. package/dist/esm/{index-DR8BHH7X.js → index-Dnvn8dmm.js} +2 -2
  231. package/dist/esm/loader.js +2 -2
  232. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  233. package/dist/esm/salla-accordion_6.entry.js +2 -2
  234. package/dist/esm/salla-add-product-button_5.entry.js +4 -4
  235. package/dist/esm/salla-advertisement.entry.js +1 -1
  236. package/dist/esm/salla-alert_2.entry.js +1 -1
  237. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  238. package/dist/esm/salla-apps-icons.entry.js +1 -1
  239. package/dist/esm/salla-badge.entry.js +1 -1
  240. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  241. package/dist/esm/salla-bullet-delivery_2.entry.js +208 -8
  242. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  243. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  244. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  245. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  246. package/dist/esm/salla-contacts.entry.js +1 -1
  247. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  248. package/dist/esm/salla-count-down.entry.js +2 -2
  249. package/dist/esm/salla-custom-fields.entry.js +1 -1
  250. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  251. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  252. package/dist/esm/salla-filters-widget.entry.js +3 -3
  253. package/dist/esm/salla-filters.entry.js +2 -2
  254. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  255. package/dist/esm/salla-gifting.entry.js +3 -3
  256. package/dist/esm/salla-hook.entry.js +2 -2
  257. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  258. package/dist/esm/salla-installment.entry.js +1 -1
  259. package/dist/esm/salla-list-tile.entry.js +2 -2
  260. package/dist/esm/salla-localization-modal.entry.js +2 -2
  261. package/dist/esm/salla-login-modal.entry.js +1 -1
  262. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  263. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  264. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  265. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  266. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  267. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  268. package/dist/esm/salla-loyalty.entry.js +1 -1
  269. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  270. package/dist/esm/salla-map.entry.js +4 -4
  271. package/dist/esm/salla-menu.entry.js +1 -1
  272. package/dist/esm/salla-metadata.entry.js +1 -1
  273. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  274. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  275. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  276. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  277. package/dist/esm/salla-notification-item.entry.js +2 -2
  278. package/dist/esm/salla-notifications.entry.js +1 -1
  279. package/dist/esm/salla-offer-modal.entry.js +2 -2
  280. package/dist/esm/salla-offer.entry.js +1 -1
  281. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  282. package/dist/esm/salla-order-details-options.entry.js +1 -1
  283. package/dist/esm/salla-order-details.entry.js +2 -2
  284. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  285. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  286. package/dist/esm/salla-order-edit.entry.js +1 -1
  287. package/dist/esm/salla-order-summary.entry.js +2 -2
  288. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  289. package/dist/esm/salla-orders.entry.js +1 -1
  290. package/dist/esm/salla-payments.entry.js +3 -3
  291. package/dist/esm/salla-placeholder.entry.js +2 -2
  292. package/dist/esm/salla-price-range.entry.js +3 -3
  293. package/dist/esm/salla-product-card_2.entry.js +6 -6
  294. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  295. package/dist/esm/salla-products-list.entry.js +1 -1
  296. package/dist/esm/salla-progress-bar.entry.js +1 -1
  297. package/dist/esm/salla-quick-order.entry.js +1 -1
  298. package/dist/esm/salla-rating-modal.entry.js +1 -1
  299. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  300. package/dist/esm/salla-scopes.entry.js +2 -2
  301. package/dist/esm/salla-search.entry.js +6 -6
  302. package/dist/esm/salla-skeleton.entry.js +2 -2
  303. package/dist/esm/salla-slider.entry.js +1 -1
  304. package/dist/esm/salla-social-share.entry.js +2 -2
  305. package/dist/esm/salla-social.entry.js +2 -2
  306. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  307. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  308. package/dist/esm/salla-tooltip.entry.js +2 -2
  309. package/dist/esm/salla-trust-badges.entry.js +1 -1
  310. package/dist/esm/salla-user-menu.entry.js +1 -1
  311. package/dist/esm/salla-user-profile.entry.js +1 -1
  312. package/dist/esm/salla-user-settings.entry.js +2 -2
  313. package/dist/esm/salla-verify.entry.js +1 -1
  314. package/dist/esm/salla-wallet.entry.js +1 -1
  315. package/dist/esm/{tracked-promise-BTkBmrok.js → tracked-promise-p08m2zyv.js} +1 -1
  316. package/dist/esm/twilight.js +2 -2
  317. package/dist/esm/{vanilla-picker-f4lmttLY.js → vanilla-picker-kSO_chM-.js} +1 -1
  318. package/dist/twilight/p-094dc909.entry.js +4 -0
  319. package/dist/twilight/{p-beb17e29.entry.js → p-09b8f823.entry.js} +1 -1
  320. package/dist/twilight/{p-3910e00f.entry.js → p-102747d8.entry.js} +1 -1
  321. package/dist/twilight/{p-624503ee.entry.js → p-10ad1b83.entry.js} +1 -1
  322. package/dist/twilight/{p-1c8726e2.entry.js → p-1c03ceaa.entry.js} +1 -1
  323. package/dist/twilight/p-1dd5a941.entry.js +4 -0
  324. package/dist/twilight/p-20824b36.entry.js +4 -0
  325. package/dist/twilight/{p-59f47a08.entry.js → p-2160352a.entry.js} +1 -1
  326. package/dist/twilight/p-22b1ab5e.entry.js +4 -0
  327. package/dist/twilight/{p-74eb04ec.entry.js → p-23f9bac7.entry.js} +1 -1
  328. package/dist/twilight/{p-b20265f2.entry.js → p-2431c606.entry.js} +1 -1
  329. package/dist/twilight/{p-103dc47c.entry.js → p-26b9358b.entry.js} +1 -1
  330. package/dist/twilight/{p-824dd42e.entry.js → p-29bb512b.entry.js} +1 -1
  331. package/dist/twilight/p-2a88b328.entry.js +4 -0
  332. package/dist/twilight/{p-e0244c37.entry.js → p-2d47d5fd.entry.js} +1 -1
  333. package/dist/twilight/{p-b59b7153.entry.js → p-32387b75.entry.js} +1 -1
  334. package/dist/twilight/{p-ed6007e1.entry.js → p-348ce789.entry.js} +1 -1
  335. package/dist/twilight/{p-a9cbd414.entry.js → p-3c631cc0.entry.js} +1 -1
  336. package/dist/twilight/{p-83c1d4b2.entry.js → p-3d031db4.entry.js} +1 -1
  337. package/dist/twilight/{p-5c347cd5.entry.js → p-402b5980.entry.js} +1 -1
  338. package/dist/twilight/{p-f2b204a4.entry.js → p-41119cdb.entry.js} +1 -1
  339. package/dist/twilight/{p-ccfe690a.entry.js → p-424110b5.entry.js} +1 -1
  340. package/dist/twilight/p-4cc4260a.entry.js +4 -0
  341. package/dist/twilight/{p-3a2fdd6f.entry.js → p-4d15bde7.entry.js} +1 -1
  342. package/dist/twilight/{p-745329af.entry.js → p-4dfa5176.entry.js} +1 -1
  343. package/dist/twilight/{p-400257fd.entry.js → p-4ec18be2.entry.js} +1 -1
  344. package/dist/twilight/{p-ff75f1c4.entry.js → p-4ecb3a12.entry.js} +1 -1
  345. package/dist/twilight/p-5158bd60.entry.js +4 -0
  346. package/dist/twilight/p-56a5491f.entry.js +4 -0
  347. package/dist/twilight/p-5e353422.entry.js +4 -0
  348. package/dist/twilight/p-640a439c.entry.js +4 -0
  349. package/dist/twilight/p-653349e0.entry.js +4 -0
  350. package/dist/twilight/{p-65839961.entry.js → p-666df999.entry.js} +1 -1
  351. package/dist/twilight/p-6788c2fb.entry.js +4 -0
  352. package/dist/twilight/{p-fca971a6.entry.js → p-7095939b.entry.js} +1 -1
  353. package/dist/twilight/{p-c52aac33.entry.js → p-74998089.entry.js} +1 -1
  354. package/dist/twilight/{p-bc76d253.entry.js → p-7ca7130b.entry.js} +1 -1
  355. package/dist/twilight/{p-6339390a.entry.js → p-7e288aab.entry.js} +1 -1
  356. package/dist/twilight/{p-42cc9b33.entry.js → p-7ee53da2.entry.js} +1 -1
  357. package/dist/twilight/{p-df173474.entry.js → p-809250a3.entry.js} +1 -1
  358. package/dist/twilight/{p-d617d844.entry.js → p-80b61a76.entry.js} +1 -1
  359. package/dist/twilight/{p-2d705236.entry.js → p-835fa9b4.entry.js} +1 -1
  360. package/dist/twilight/{p-4f873363.entry.js → p-88032655.entry.js} +1 -1
  361. package/dist/twilight/{p-2e8588ca.entry.js → p-888b361e.entry.js} +1 -1
  362. package/dist/twilight/{p-9f320350.entry.js → p-8c7058b1.entry.js} +1 -1
  363. package/dist/twilight/p-8eb27675.entry.js +4 -0
  364. package/dist/twilight/{p-bc47e256.entry.js → p-8ef02612.entry.js} +1 -1
  365. package/dist/twilight/{p-72b1e6ed.entry.js → p-97b0e5fe.entry.js} +1 -1
  366. package/dist/twilight/p-B798epj8.js +9 -0
  367. package/dist/twilight/{p-hkzTCOEy.js → p-B7njTcyQ.js} +1 -1
  368. package/dist/twilight/{p-CiAXtUPQ.js → p-Bbi316x0.js} +1 -1
  369. package/dist/twilight/p-BpqRyGw0.js +9 -0
  370. package/dist/twilight/{p-Bc2RLvfZ.js → p-C9apxUCF.js} +1 -1
  371. package/dist/twilight/{p-Dqb1Ri2Y.js → p-CUMuR5KH.js} +1 -1
  372. package/dist/twilight/{p-CmDT48y4.js → p-CWSAc4x3.js} +1 -1
  373. package/dist/twilight/{p-kg7IhfAv.js → p-CZzwVBvr.js} +1 -1
  374. package/dist/twilight/{p-cvulr5dQ.js → p-D9Fh8EvL.js} +1 -1
  375. package/dist/twilight/{p-DR8BHH7X.js → p-Dnvn8dmm.js} +1 -1
  376. package/dist/twilight/{p-4da58baf.entry.js → p-a0374cc5.entry.js} +1 -1
  377. package/dist/twilight/{p-ed8951c5.entry.js → p-a037b850.entry.js} +1 -1
  378. package/dist/twilight/{p-1208793a.entry.js → p-a1766fe4.entry.js} +1 -1
  379. package/dist/twilight/{p-5ebbec76.entry.js → p-a5b9b1db.entry.js} +1 -1
  380. package/dist/twilight/{p-e0af89bc.entry.js → p-abe7a229.entry.js} +1 -1
  381. package/dist/twilight/{p-6e26c815.entry.js → p-af191f0c.entry.js} +1 -1
  382. package/dist/twilight/{p-6c58235e.entry.js → p-b3a426a1.entry.js} +1 -1
  383. package/dist/twilight/{p-154e782d.entry.js → p-b5281c36.entry.js} +1 -1
  384. package/dist/twilight/{p-d567481d.entry.js → p-bcdf2adf.entry.js} +1 -1
  385. package/dist/twilight/{p-78ce73ba.entry.js → p-bd1539f4.entry.js} +1 -1
  386. package/dist/twilight/{p-8bfca6eb.entry.js → p-bd24ad46.entry.js} +1 -1
  387. package/dist/twilight/{p-5999d681.entry.js → p-bd45359c.entry.js} +1 -1
  388. package/dist/twilight/{p-8709e981.entry.js → p-c3416bea.entry.js} +1 -1
  389. package/dist/twilight/{p-64376e97.entry.js → p-c936ef8d.entry.js} +1 -1
  390. package/dist/twilight/{p-1e7d16a3.entry.js → p-cf73d667.entry.js} +1 -1
  391. package/dist/twilight/{p-19bb31a5.entry.js → p-d064a0b8.entry.js} +1 -1
  392. package/dist/twilight/{p-c4960804.entry.js → p-d118fae4.entry.js} +1 -1
  393. package/dist/twilight/{p-38a8f05e.entry.js → p-d2551363.entry.js} +1 -1
  394. package/dist/twilight/{p-bcf201a8.entry.js → p-d3b4dfd4.entry.js} +1 -1
  395. package/dist/twilight/{p-835c43e6.entry.js → p-d4094247.entry.js} +1 -1
  396. package/dist/twilight/{p-c707f55b.entry.js → p-d44de146.entry.js} +1 -1
  397. package/dist/twilight/{p-99d0fd61.entry.js → p-d58be43c.entry.js} +1 -1
  398. package/dist/twilight/{p-96d644b8.entry.js → p-d82818ee.entry.js} +1 -1
  399. package/dist/twilight/{p-f579e8ef.entry.js → p-e0c8d60c.entry.js} +1 -1
  400. package/dist/twilight/{p-7edaa78b.entry.js → p-e206ecc7.entry.js} +1 -1
  401. package/dist/twilight/p-e20c4393.entry.js +4 -0
  402. package/dist/twilight/{p-9bde5e3c.entry.js → p-e47f98ab.entry.js} +1 -1
  403. package/dist/twilight/{p-6f3da0b7.entry.js → p-e825da6f.entry.js} +1 -1
  404. package/dist/twilight/{p-08c6172b.entry.js → p-eb9fd475.entry.js} +1 -1
  405. package/dist/twilight/{p-612c5b08.entry.js → p-ed7410d9.entry.js} +1 -1
  406. package/dist/twilight/{p-5ecf2b26.entry.js → p-f0e36346.entry.js} +1 -1
  407. package/dist/twilight/{p-d01e76f4.entry.js → p-f6c2599b.entry.js} +1 -1
  408. package/dist/twilight/{p-807db423.entry.js → p-f80b718e.entry.js} +1 -1
  409. package/dist/twilight/{p-8fad5c91.entry.js → p-fbda5922.entry.js} +1 -1
  410. package/dist/twilight/{p-44b289bb.entry.js → p-fd792b46.entry.js} +1 -1
  411. package/dist/twilight/{p-CdbTKQNp.js → p-lDyZ4jxE.js} +1 -1
  412. package/dist/twilight/{p-Dtp3srRX.js → p-uGRgz5pT.js} +1 -1
  413. package/dist/twilight/twilight.esm.js +1 -1
  414. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +32 -0
  415. package/package.json +5 -5
  416. package/dist/twilight/p-031f8d35.entry.js +0 -4
  417. package/dist/twilight/p-097e2ba0.entry.js +0 -4
  418. package/dist/twilight/p-0ccf332d.entry.js +0 -4
  419. package/dist/twilight/p-30256e5f.entry.js +0 -4
  420. package/dist/twilight/p-308cfcab.entry.js +0 -4
  421. package/dist/twilight/p-3cc1582f.entry.js +0 -4
  422. package/dist/twilight/p-3ec34eae.entry.js +0 -4
  423. package/dist/twilight/p-4482e672.entry.js +0 -4
  424. package/dist/twilight/p-D0FlIX_Z.js +0 -9
  425. package/dist/twilight/p-NohMjDY2.js +0 -9
  426. package/dist/twilight/p-c00d4e23.entry.js +0 -4
  427. package/dist/twilight/p-c137e672.entry.js +0 -4
  428. package/dist/twilight/p-c47e85e9.entry.js +0 -4
  429. package/dist/twilight/p-cb8a1223.entry.js +0 -4
  430. package/dist/twilight/p-e0750731.entry.js +0 -4
  431. package/dist/twilight/p-f245d317.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index$2 = require('./index-D3xsx646.js');
6
+ var index$2 = require('./index-CPVUhQsG.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var minus = require('./minus-CCryh1qf.js');
8
8
 
9
9
  const sallaAccordionBodyCss = "";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
  var cancel = require('./cancel-B5SbMYEk.js');
9
9
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
@@ -596,7 +596,7 @@ const SallaLoading = class {
596
596
  this.bgColor = "#e5e7eb";
597
597
  }
598
598
  render() {
599
- return (index.h(index.Host, { key: 'dcab48026f2c056fa38cb3f636ff93689c05b42d', class: "s-loading-container" }, index.h("svg", { key: '69eb9c41f5c1187517d3221acf8a6c116e542e3b', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '319cb6008b73e8dafc363da589459c64c14ab8a3', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), index.h("path", { key: '489b5ace91f8463a95f51d9cf4a856b2dad5ab17', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
599
+ return (index.h(index.Host, { key: '64a270526fd172b66a0671749bf36acee7cc8de1', class: "s-loading-container" }, index.h("svg", { key: '380bae806d8aa39e3ac07fba3daf181cfe040f70', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'c531098ed793fcd2ec90f10bfb470bcc4543b346', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), index.h("path", { key: 'cc6b89a57e8168937ee13b5ccdc25aa024e05223', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
600
600
  }
601
601
  };
602
602
  SallaLoading.style = sallaLoadingCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var cart = require('./cart-s-x1Fshk.js');
8
8
  var Helper = require('./Helper-CU4Xuiki.js');
9
9
  var bellRing = require('./bell-ring-BfKPinNo.js');
@@ -243,7 +243,7 @@ const SallaAddProductButton = class {
243
243
  };
244
244
  SallaAddProductButton.style = sallaAddProductButtonCss;
245
245
 
246
- const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}.s-bought-together-entry{display:block;background-color:#fff;padding:1.25rem;border-radius:0.375rem;margin-top:1.25rem;margin-bottom:1.25rem}.s-bought-together-header{margin-bottom:1rem}.s-bought-together-title{font-size:1.125rem;line-height:1.75rem;font-weight:700;margin-bottom:0.25rem;color:#111827}.s-bought-together-subtitle{font-size:0.875rem;line-height:1.25rem;color:#6b7280;margin:0}.s-bought-together-list{display:flex;flex-direction:column;margin-bottom:1rem}.s-bought-together-list>*+*{border-top:1px solid #f3f4f6}.s-bought-together-item{display:flex;align-items:center;gap:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;transition:opacity 200ms}.s-bought-together-item--unchecked{opacity:0.4}.s-bought-together-checkbox-label{position:relative;display:flex;align-items:center;cursor:pointer;flex-shrink:0}.s-bought-together-checkbox{position:absolute;opacity:0;width:0;height:0}.s-bought-together-checkmark{width:22px;height:22px;border:2px solid #d1d5db;border-radius:0.375rem;background-color:#fff;display:flex;align-items:center;justify-content:center;transition:all 150ms;flex-shrink:0}.s-bought-together-item-link{display:contents;color:inherit;text-decoration:none}.s-bought-together-item-img{width:3rem;height:3rem;object-fit:cover;border-radius:0.375rem;flex-shrink:0}.s-bought-together-item-name{flex:1;font-size:0.875rem;line-height:1.375}.s-bought-together-item-price{font-size:0.875rem;font-weight:600;white-space:nowrap;flex-shrink:0}.s-bought-together-btn{width:100%}.s-bought-together-skeleton{display:flex;flex-direction:column;gap:0.75rem}.s-bought-together-skeleton-header{display:flex;flex-direction:column;gap:0.5rem;margin-bottom:0.5rem}.s-bought-together-skeleton-item{display:flex;align-items:center;gap:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-bought-together-skeleton-info{flex:1;display:flex;flex-direction:column;gap:0.25rem}";
246
+ const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}";
247
247
 
248
248
  // Read-only recommendations key confirmed safe for client-side use by the API team — no write access or sensitive scope.
249
249
  const XSELL_API_KEY = 'VOL5WaZu2YROp0RplCZAr1RplhL9FFGQ';
@@ -504,7 +504,7 @@ const SallaProductAvailability = class {
504
504
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
505
505
  }
506
506
  render() {
507
- return (index.h(index.Host, { key: '08fc419b019727d8c872584c600fa5c6b381caa0', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
507
+ return (index.h(index.Host, { key: 'a09c35acc83cc5dd3bf5777a592a8f58ec44f7fb', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
508
508
  ? index.h("div", { class: "s-product-availability-subscribed" }, index.h("span", { innerHTML: bellRing.BellRing, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
509
509
  :
510
510
  index.h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
@@ -2553,7 +2553,7 @@ const SallaQuickBuy = class {
2553
2553
  });
2554
2554
  }
2555
2555
  render() {
2556
- return index.h(index.Host, { key: '6ca33eda9e2ae5aac14ff473536242de1214f05b' }, this.quickBuyButton());
2556
+ return index.h(index.Host, { key: '5760621653a41e04a42beb51d982c41259250631' }, this.quickBuyButton());
2557
2557
  }
2558
2558
  quickBuyButton() {
2559
2559
  return index.h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
 
9
9
  const sallaAdvertisementCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var cart = require('./cart-s-x1Fshk.js');
8
8
  var image = require('./image-BoZ6Hums.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
 
8
8
  const sallaAppInstallAlertCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
 
8
8
  const sallaAppsIconsCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
 
8
8
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var calendar = require('./calendar-D-PUoCDH.js');
8
8
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
9
9
  var minus = require('./minus-CCryh1qf.js');
@@ -378,7 +378,7 @@ const SallaColorPicker = class {
378
378
  }
379
379
  }
380
380
  initColorPicker() {
381
- this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-Jk2F9CAy.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
381
+ this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-C-53deqE.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
382
382
  const Picker = mod.default;
383
383
  const picker = new Picker({
384
384
  parent: this.host,
@@ -398,7 +398,7 @@ const SallaColorPicker = class {
398
398
  });
399
399
  }
400
400
  render() {
401
- return (index.h(index.Host, { key: 'f1c244ae30b02bed79b8d4de1adf667d697e1f82', class: "s-color-picker-main" }, index.h("slot", { key: '9fd1e6d787b6768364d6784d8728c815dc597fc4', name: "widget" }, index.h("div", { key: '3717b7e1d2ff9e07172570c67397c7b9fc223195', class: "s-color-picker-widget" }, index.h("div", { key: 'df43c0be157d3546b5b53e8290412df2c55a2bbf', class: "s-color-picker-widget-canvas", ref: dv => (this.canvas = dv) }), index.h("span", { key: '879d020f9b3d0a6e3c4899948611fa76a2fa2324', innerHTML: keyboard_arrow_down.ArrowDown }))), index.h("input", { key: 'b4b13cc56691dca5756c4828d6ba96b670ddff2f', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => (this.colorInput = color) })));
401
+ return (index.h(index.Host, { key: '2f142fd64afd5571574a7e1c40de3be16ede62e6', class: "s-color-picker-main" }, index.h("slot", { key: '92acdf14b2f42ac52d0a632ba6840a5dcebfa4d4', name: "widget" }, index.h("div", { key: '7ba074040299a91802109d0e1d2e78604e39d3a8', class: "s-color-picker-widget" }, index.h("div", { key: 'a6272207f79fd28e33b66e415a3e05b969ace983', class: "s-color-picker-widget-canvas", ref: dv => (this.canvas = dv) }), index.h("span", { key: 'e6fed242bb84fae6221cdec525658b68f7514ce7', innerHTML: keyboard_arrow_down.ArrowDown }))), index.h("input", { key: '9eb1673f44e663f939124da45fec79c401736203', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => (this.colorInput = color) })));
402
402
  }
403
403
  componentDidLoad() {
404
404
  if (this.canvas)
@@ -547,7 +547,7 @@ const SallaConditionalFields = class {
547
547
  });
548
548
  }
549
549
  render() {
550
- return (index.h(index.Host, { key: 'e43af073570c2862ec8365297aa40f3ff4319d18' }, index.h("slot", { key: '0c3577eb4f4c287eb99fe1df054785cbbfbf8dbc' })));
550
+ return (index.h(index.Host, { key: '9e3ff9d4f7209583d5ef3d4f447a7a676e6857e0' }, index.h("slot", { key: '889bc28c2985d82e3bcd6e4231b135a58dca26d6' })));
551
551
  }
552
552
  get host() { return index.getElement(this); }
553
553
  };
@@ -759,7 +759,7 @@ const SallaDatetimePicker = class {
759
759
  }
760
760
  }
761
761
  render() {
762
- return index.h("div", { key: '1ab467a6f2e4459d0bdfbd72149fb468fcad4ccb', class: "s-datetime-picker" }, index.h("input", { key: '7d5a567c0d9f0c4a945a95c342c0f9e3a79a00c3', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
762
+ return index.h("div", { key: '184743feaf2af9f31cd3b5a864a86f1a561c12fd', class: "s-datetime-picker" }, index.h("input", { key: '1736e88363b379f872490641168f49090e976e03', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
763
763
  }
764
764
  async componentDidLoad() {
765
765
  // Load flatpickr before initializing
@@ -838,13 +838,13 @@ const SallaFileUpload = class {
838
838
  return;
839
839
  try {
840
840
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
841
- Promise.resolve().then(function () { return require('./filepond--V9rRgVA.js'); }).then(function (n) { return n.filepond; }),
842
- Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-C5wUWXz6.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
843
- Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-BJnamgw6.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
844
- Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-CmdkZJij.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
845
- Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-CXrhd-IB.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
846
- Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-HA2w2_fC.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
847
- Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-DzvswSJb.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
841
+ Promise.resolve().then(function () { return require('./filepond-DfW5cyCe.js'); }).then(function (n) { return n.filepond; }),
842
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-Bto6gxLP.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
843
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-CV0h895x.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
844
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-DWzrBxJB.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
845
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-C-LqaX6L.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
846
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-B6YfHTAx.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
847
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-BDWsEvaC.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
848
848
  ]);
849
849
  this.FilePond = FilePondModule;
850
850
  // Register plugins
@@ -1138,11 +1138,11 @@ const SallaFileUpload = class {
1138
1138
  }
1139
1139
  }
1140
1140
  render() {
1141
- return (index.h(index.Host, { key: '416c7205e55d1d7aad1528839aee2eb59c49b0b1', class: {
1141
+ return (index.h(index.Host, { key: '978e89fe8713e6b3db913ed8fb3c5d09f6caf705', class: {
1142
1142
  "s-file-upload": true,
1143
1143
  "s-file-upload-profile-image": this.profileImage,
1144
1144
  "s-file-upload-multiple": this.allowMultiple,
1145
- } }, index.h("input", { key: 'c769a40fe1debf22173492e2039dd9416645cdb7', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? index.h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', index.h("input", { key: '745f7690cfdf1dd4bd7d1c6282d2d716488ac653', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
1145
+ } }, index.h("input", { key: 'acf6197d43b79a80e7a69219afda29271a86d4eb', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? index.h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', index.h("input", { key: 'b8624b0fcaba14f14640acce0a28c12feb78701b', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
1146
1146
  }
1147
1147
  async componentDidLoad() {
1148
1148
  await Salla.onReady();
@@ -1425,7 +1425,7 @@ const SallaQuantityInput = class {
1425
1425
  if (!inputAttributes['aria-label'] && !inputAttributes['aria-labelledby']) {
1426
1426
  inputAttributes['aria-label'] = salla.lang.getWithDefault('common.elements.quantity', 'Quantity');
1427
1427
  }
1428
- return (index.h(index.Host, { key: '4fd5045f734eaa275859b5a9451c802492ff91f7', class: "s-quantity-input" }, index.h("div", { key: '98359a24f9b0ce4954b9035f45a4e84122738ce2', class: "s-quantity-input-container" }, index.h("button", { key: 'f31f471333ad6044f282c054dd60ac35d91fe9c8', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? index.h("span", { innerHTML: minus.plusIcon }) : '', index.h("slot", { key: 'c99cb35847195909090b7a60eee4a9476a374e47', name: "increment-button" })), index.h("input", { key: '72ecc1afab0f51d8b3632a467b2530d33c5b6ef2', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), index.h("button", { key: 'b784a8acbdfc25f8871fb975db7b04b299cca607', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? index.h("span", { innerHTML: minus.minusIcon }) : '', index.h("slot", { key: '80577c584d2c32caee1da3e412fb5bd556c998fa', name: "decrement-button" })))));
1428
+ return (index.h(index.Host, { key: 'fe32e78fac9dba3b83957f5e476aba8c820822cd', class: "s-quantity-input" }, index.h("div", { key: '4279ee5b42092efc80fb8e5fb716b95f35162cbe', class: "s-quantity-input-container" }, index.h("button", { key: '7239d398778f75e50822a84bdce007e9dff82b53', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? index.h("span", { innerHTML: minus.plusIcon }) : '', index.h("slot", { key: '9c21595e422b8af76daa4719e9924d067b749115', name: "increment-button" })), index.h("input", { key: '2a280bed1b32847d80895dcd3fb5b1cd2ccac991', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), index.h("button", { key: 'c7ac2db9ba36b7dcb5c89884ffae4aa56dba42ce', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? index.h("span", { innerHTML: minus.minusIcon }) : '', index.h("slot", { key: 'd3a10929d440c614b7788548aa72fc3a66b63b74', name: "decrement-button" })))));
1429
1429
  }
1430
1430
  get host() { return index.getElement(this); }
1431
1431
  static get watchers() { return {
@@ -1445,7 +1445,7 @@ const SallaTelInput = class {
1445
1445
  if (this.TelInput)
1446
1446
  return;
1447
1447
  try {
1448
- const telInputModule = await Promise.resolve().then(function () { return require('./index-DRfjMaC1.js'); }).then(function (n) { return n.index; });
1448
+ const telInputModule = await Promise.resolve().then(function () { return require('./index-D7Syi0Lt.js'); }).then(function (n) { return n.index; });
1449
1449
  this.TelInput = telInputModule.default;
1450
1450
  }
1451
1451
  catch (error) {
@@ -1559,7 +1559,7 @@ const SallaTelInput = class {
1559
1559
  }
1560
1560
  }
1561
1561
  render() {
1562
- return (index.h(index.Host, { key: 'b7c80fe9322f6f0ddd519042387ded7f7be3b33e', class: "s-tel-input" }, index.h("input", { key: '839b34b164c5dca31c917f514fe3fabd6bc4dfa3', 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" }), index.h("span", { key: '81be950bd3b0dffc5637b02687c9b4318485757f', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), index.h("input", { key: '4f6a8e7888bf8e28d8029fd12851bb77286893a1', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1562
+ return (index.h(index.Host, { key: '52617befb5152051a2be9f65a96a4f2a8577e6c4', class: "s-tel-input" }, index.h("input", { key: '7f6e7cc0b8cde9139cfdf6fb0ba0d6efe48bcb3b', 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" }), index.h("span", { key: 'c5b21209ee941ae455516e3b4e9c503e8c52f3c5', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), index.h("input", { key: 'a09cb211e141996066ade2a6e8b901696de65bb7', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1563
1563
  }
1564
1564
  componentDidLoad() {
1565
1565
  this.initTelInput();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
  var location = require('./location-DIyESLuI.js');
9
9
  var search = require('./search-c7Aa7lM9.js');
@@ -434,6 +434,7 @@ const SallaBulletDelivery = class {
434
434
  this.open();
435
435
  };
436
436
  this.closeHandler = null;
437
+ this.bulletDeliveryMobileSelectHandler = null;
437
438
  /** True after saved addresses have been loaded (lazy: only when address tab is shown). */
438
439
  this.savedAddressesLoaded = false;
439
440
  // Core state
@@ -652,7 +653,7 @@ const SallaBulletDelivery = class {
652
653
  }
653
654
  /** Whether to show delivery + pickup tabs. From store.shipping.support_pickup */
654
655
  get supportsPickup() {
655
- return Boolean(Salla.config.get("store.shipping.support_pickup"));
656
+ return Boolean(Salla.config.get("store.shipping.support_pickup")) || Boolean(Salla.config.get("store.support_pickup"));
656
657
  }
657
658
  /** The modal opening strategy: 'first_visit' | 'on_cart_click' | 'after_add_to_cart' */
658
659
  get openingType() {
@@ -662,6 +663,9 @@ const SallaBulletDelivery = class {
662
663
  get isRequired() {
663
664
  return !!Salla.config.get("store.settings.bullet_delivery.settings.is_required");
664
665
  }
666
+ get isMobileApp() {
667
+ return Salla.config.isMobileApp();
668
+ }
665
669
  /**
666
670
  * Opens the bullet delivery modal
667
671
  */
@@ -1647,6 +1651,175 @@ const SallaBulletDelivery = class {
1647
1651
  form_data: { ...this.newAddressForm },
1648
1652
  };
1649
1653
  }
1654
+ /**
1655
+ * Build a minimal `BulletDeliveryAllocationConfirmedAddressData` from a mobile
1656
+ * payload (no full SavedAddress object available). Only used for the
1657
+ * `salla::bullet-delivery.allocation.confirmed` event so existing listeners
1658
+ * keep working with the same shape they get on desktop.
1659
+ */
1660
+ buildAllocationConfirmedAddressFromIntent(payload) {
1661
+ if (payload.type !== "address")
1662
+ return null;
1663
+ const details = payload.address_details;
1664
+ const countryId = Number(payload.country_id) || 0;
1665
+ return {
1666
+ country: details?.country
1667
+ ? {
1668
+ id: details.country.id,
1669
+ name: details.country.name,
1670
+ code: details.country.code ?? payload.country_code ?? "",
1671
+ }
1672
+ : undefined,
1673
+ region: details?.region
1674
+ ? {
1675
+ id: Number(details.region.id),
1676
+ name: details.region.name,
1677
+ country_id: countryId,
1678
+ code: details.region.code ?? undefined,
1679
+ }
1680
+ : undefined,
1681
+ city: details?.city
1682
+ ? {
1683
+ id: Number(details.city.id),
1684
+ name: details.city.name,
1685
+ country_id: countryId,
1686
+ }
1687
+ : undefined,
1688
+ district: details?.district
1689
+ ? {
1690
+ id: Number(details.district.id),
1691
+ name: details.district.name,
1692
+ city_id: Number(details.city?.id) || 0,
1693
+ }
1694
+ : undefined,
1695
+ short_address: details?.short_address,
1696
+ };
1697
+ }
1698
+ /** Synthesise a minimal `Branch` from a mobile branch intent. */
1699
+ buildBranchFromIntent(payload) {
1700
+ if (payload.type !== "branch" || !payload.branch_details)
1701
+ return null;
1702
+ const b = payload.branch_details;
1703
+ const branch = {
1704
+ id: b.id,
1705
+ name: b.name,
1706
+ };
1707
+ if (b.city) {
1708
+ branch.city = { id: 0, name: b.city };
1709
+ }
1710
+ if (b.latitude != null && b.longitude != null) {
1711
+ branch.location = { lat: String(b.latitude), lng: String(b.longitude) };
1712
+ }
1713
+ return branch;
1714
+ }
1715
+ /** Reconstruct the equivalent `ScopeAllocationPayload` from a mobile result. */
1716
+ buildAllocationRequestFromIntent(payload) {
1717
+ if (payload.type === "branch") {
1718
+ return {
1719
+ type: "branch",
1720
+ branch_id: payload.branch_id != null ? String(payload.branch_id) : "",
1721
+ };
1722
+ }
1723
+ if (payload.address_id != null) {
1724
+ return {
1725
+ type: "address",
1726
+ address_id: String(payload.address_id),
1727
+ };
1728
+ }
1729
+ const details = payload.address_details;
1730
+ const request = {
1731
+ type: "address",
1732
+ country_id: payload.country_id != null ? String(payload.country_id) : "",
1733
+ city_id: details?.city?.id != null ? String(details.city.id) : "",
1734
+ };
1735
+ if (details?.region?.id != null) {
1736
+ request.region_id = String(details.region.id);
1737
+ }
1738
+ if (details?.district?.id != null) {
1739
+ request.district_id = String(details.district.id);
1740
+ }
1741
+ return request;
1742
+ }
1743
+ /**
1744
+ * Apply a selection performed inside the mobile app's native sheet.
1745
+ *
1746
+ * Mirrors the post-allocation side-effects of `handleConfirm()` so the
1747
+ * webview ends up in the exact same state as if the user had confirmed via
1748
+ * our component on desktop:
1749
+ * 1. Sets `s-scope-allocation-*` headers for subsequent API calls.
1750
+ * 2. Persists allocation in `Salla.storage.scope` (single source of truth).
1751
+ * 3. Marks the modal as shown for this session and stores the intent so
1752
+ * delivery-promise / scope-switch UIs reflect the selection.
1753
+ * 4. Clears the API cache so cached data from the previous scope is gone.
1754
+ * 5. Dispatches `salla::bullet-delivery.allocation.confirmed`,
1755
+ * `bulletDeliveryConfirmed`, and the header-context update event so
1756
+ * every listener (header pill, cart view, etc.) syncs.
1757
+ * 6. Reloads the page so prices, availability, and cart reflect the
1758
+ * newly-selected scope (matches desktop behaviour).
1759
+ */
1760
+ applyMobileBulletDeliverySelection(payload) {
1761
+ if (!payload || (payload.type !== "address" && payload.type !== "branch")) {
1762
+ console.warn("SallaBulletDelivery: ignoring invalid mobile select payload", payload);
1763
+ return;
1764
+ }
1765
+ const headers = payload.allocation_headers ?? {};
1766
+ const allocationType = headers["s-scope-allocation-type"] ?? payload.type;
1767
+ const allocationId = headers["s-scope-allocation-id"];
1768
+ if (allocationType) {
1769
+ Salla.api.setHeader("s-scope-allocation-type", allocationType);
1770
+ }
1771
+ if (allocationId) {
1772
+ Salla.api.setHeader("s-scope-allocation-id", String(allocationId));
1773
+ }
1774
+ const existingScope = Salla.config.get("store.scope", Salla.storage.get("scope")) || {};
1775
+ Salla.storage.set("scope", {
1776
+ ...existingScope,
1777
+ allocation_type: allocationType,
1778
+ allocation_id: allocationId ? String(allocationId) : undefined,
1779
+ });
1780
+ this.markShownThisSession();
1781
+ // Normalise headers in the persisted intent: keep only the mobile-provided
1782
+ // values so storefront reads see the same shape as the desktop confirm flow.
1783
+ const normalisedIntent = {
1784
+ ...payload,
1785
+ allocation_headers: {
1786
+ "s-scope-allocation-type": allocationType,
1787
+ "s-scope-allocation-id": allocationId
1788
+ ? String(allocationId)
1789
+ : undefined,
1790
+ },
1791
+ };
1792
+ this.setStoredIntent(normalisedIntent);
1793
+ clearApiCache();
1794
+ const branch = this.buildBranchFromIntent(normalisedIntent);
1795
+ const allocationConfirmedPayload = {
1796
+ ...normalisedIntent,
1797
+ address: this.buildAllocationConfirmedAddressFromIntent(normalisedIntent),
1798
+ branch,
1799
+ allocation_request: this.buildAllocationRequestFromIntent(normalisedIntent),
1800
+ allocation_response: null,
1801
+ };
1802
+ Salla.event.dispatch("salla::bullet-delivery.allocation.confirmed", allocationConfirmedPayload);
1803
+ this.bulletDeliveryConfirmed.emit({
1804
+ ...normalisedIntent,
1805
+ branch: branch ?? undefined,
1806
+ });
1807
+ this.emitHeaderContextUpdate(normalisedIntent, undefined, branch ?? undefined);
1808
+ // Reload so products / cart / header reflect the new scope, matching the
1809
+ // desktop confirm flow. Small delay lets the dispatched events propagate
1810
+ // to any in-page listeners before the navigation tears the document down.
1811
+ setTimeout(() => window.location.reload(), 100);
1812
+ }
1813
+ extractMobileSelectPayload(raw) {
1814
+ if (!raw || typeof raw !== "object")
1815
+ return null;
1816
+ // Some mobile bridges deliver the original `{ event, payload }` envelope
1817
+ // while a normal Salla.event dispatch passes the data directly.
1818
+ if ("payload" in raw && raw.payload) {
1819
+ return raw.payload;
1820
+ }
1821
+ return raw;
1822
+ }
1650
1823
  async handleConfirm() {
1651
1824
  if (this.isConfirmDisabled() || this.confirming)
1652
1825
  return;
@@ -2245,13 +2418,36 @@ const SallaBulletDelivery = class {
2245
2418
  }
2246
2419
  }
2247
2420
  render() {
2248
- return (index.h(index.Host, { key: '0daead232faa6590712faef140ab694b3324960e', class: "s-bullet-delivery" }, index.h("salla-modal", { key: '4f318a88c10b524d5f6b71a46cb93535d4b25a82', ref: (modal) => {
2421
+ if (this.isMobileApp)
2422
+ return null;
2423
+ return (index.h(index.Host, { class: "s-bullet-delivery" }, index.h("salla-modal", { ref: (modal) => {
2249
2424
  this.modal = modal;
2250
- }, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, index.h("div", { key: '66f3d844ce325e47bfb52f941c038339f3f0cf6c', class: "s-bullet-delivery-inner" }, this.viewMode === "main" && this.renderMainView(), this.viewMode === "add-address" && this.renderAddAddressForm()))));
2425
+ }, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, index.h("div", { class: "s-bullet-delivery-inner" }, this.viewMode === "main" && this.renderMainView(), this.viewMode === "add-address" && this.renderAddAddressForm()))));
2251
2426
  }
2252
2427
  componentDidLoad() {
2253
2428
  // Mark component as ready
2254
2429
  this.componentReady = true;
2430
+ if (this.isMobileApp) {
2431
+ // Ask the mobile app to render its native delivery sheet (replacement for our modal).
2432
+ Salla.event.dispatch('salla::bullet-delivery.open-sheet');
2433
+ // When the user confirms inside the mobile sheet, mobile dispatches
2434
+ // `salla::bullet-delivery.select` with a payload equivalent to what
2435
+ // `handleConfirm()` produces on desktop. Apply the same side-effects.
2436
+ this.bulletDeliveryMobileSelectHandler = (raw) => {
2437
+ const payload = this.extractMobileSelectPayload(raw);
2438
+ if (!payload) {
2439
+ console.warn("SallaBulletDelivery: received empty mobile select payload", raw);
2440
+ return;
2441
+ }
2442
+ this.applyMobileBulletDeliverySelection(payload);
2443
+ };
2444
+ Salla.event.on("salla::bullet-delivery.select", this.bulletDeliveryMobileSelectHandler);
2445
+ // Skip desktop-only initialisation: the auto-open strategy switch and the
2446
+ // cart:items.start hook mount are both no-ops or actively harmful in the
2447
+ // mobile webview (no modal exists, and we'd inject a non-functional HTML
2448
+ // pill into the native cart UI).
2449
+ return;
2450
+ }
2255
2451
  // Handle pending open request (if event was emitted before component was ready)
2256
2452
  if (this.pendingOpen) {
2257
2453
  this.pendingOpen = false;
@@ -2329,6 +2525,10 @@ const SallaBulletDelivery = class {
2329
2525
  Salla.event.off("salla-login::closed", this.loginClosedHandler);
2330
2526
  this.loginClosedHandler = null;
2331
2527
  }
2528
+ if (this.bulletDeliveryMobileSelectHandler) {
2529
+ Salla.event.off("salla::bullet-delivery.select", this.bulletDeliveryMobileSelectHandler);
2530
+ this.bulletDeliveryMobileSelectHandler = null;
2531
+ }
2332
2532
  }
2333
2533
  };
2334
2534
  /**
@@ -2525,18 +2725,18 @@ const SallaSearchableDropdown = class {
2525
2725
  render() {
2526
2726
  const hasSelection = this.selectedItem != null;
2527
2727
  const listboxId = `${this.inputId}-listbox`;
2528
- return (index.h(index.Host, { key: '1e413d4391362f274223724ab37f5842a196f936', class: "s-searchable-dropdown" }, index.h("div", { key: 'c1c0b595a458db8918bc7c72b949cd514d764613', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (index.h("label", { key: '576831e0383f561d5512792cb52d1c6d40156015', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && index.h("span", { key: '290e1edb52971f5af6c6555f82ad595e97c9994d', class: "s-searchable-dropdown-required" }, " *"))), index.h("div", { key: 'e3c9aaea5697839e67aab1b91d07cb825ee76c7b', class: {
2728
+ return (index.h(index.Host, { key: '20ebf4b42f8bb595862cddb8e187a0e568a7f441', class: "s-searchable-dropdown" }, index.h("div", { key: '76e4f06d8e7f936d1140cb7c6e25b06297ad22f3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (index.h("label", { key: 'f6752361bc4c7cfa8f1a67bb34027d46e0bac1e0', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && index.h("span", { key: 'bc255f1c31d409e8d1d7d632561158b451117e6b', class: "s-searchable-dropdown-required" }, " *"))), index.h("div", { key: 'e1694099e37ffb36394f1114f592ac9240442cfb', class: {
2529
2729
  's-searchable-dropdown-trigger': true,
2530
2730
  's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
2531
2731
  's-searchable-dropdown-trigger--open': this.isOpen,
2532
- }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (index.h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (index.h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), index.h("i", { key: 'f1e95e38ebffc358a9045f0fd38dd205eb2a14bb', class: {
2732
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (index.h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (index.h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), index.h("i", { key: 'aed25a8ad3046651d984621e2a9b8f473f8830a5', class: {
2533
2733
  'sicon-keyboard_arrow_down': true,
2534
2734
  's-searchable-dropdown-trigger-icon': true,
2535
2735
  's-searchable-dropdown-trigger-icon--open': this.isOpen,
2536
- }, "aria-hidden": "true" })), this.isOpen && (index.h("div", { key: 'a5c6b4650d8de5467c1d53e67700168a0795ff0b', class: {
2736
+ }, "aria-hidden": "true" })), this.isOpen && (index.h("div", { key: '2a89c11a2e94549be786211f4284c6ae44a451d4', class: {
2537
2737
  's-searchable-dropdown-panel': true,
2538
2738
  's-searchable-dropdown-panel--up': this.dropUp,
2539
- }, ref: (el) => (this.panelRef = el) }, index.h("div", { key: '5ddf73d6d8cb96881ac6f94ef25a9f58b883a6c0', class: "s-searchable-dropdown-search-wrap" }, index.h("i", { key: 'ec52897c25962c6d1e84986f25bdac2dd8ecdac0', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), index.h("input", { key: 'e14dd7a0dae605dd37782cdd8c235e875105fcc9', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), index.h("div", { key: '80daad72643001e400a9ff43444bbad5077ffa2d', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
2739
+ }, ref: (el) => (this.panelRef = el) }, index.h("div", { key: '99a429ded15743eb160e353e398eadb98fbdffaf', class: "s-searchable-dropdown-search-wrap" }, index.h("i", { key: '58982ae6527a4ba06136bee2afc2d420b5e9ec14', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), index.h("input", { key: '953c944186a9e2ae8f55faf9014087584cb52abf', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), index.h("div", { key: '3fdd7d03aeec99976f505cf33a8775150fe520e3', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
2540
2740
  }
2541
2741
  renderListContent() {
2542
2742
  if (this.searching || this.loading) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
 
8
8
  const sallaCartCouponsCss = "";
9
9
 
@@ -242,7 +242,7 @@ const SallaCartCoupons = class {
242
242
  : `${salla.lang.get('pages.cart.expires_after')} ${coupon.remaining_days} ${salla.lang.get('pages.cart.day')}`)), coupon.minimum_amount && parseFloat(coupon.minimum_amount.amount) > 0 && (index.h("div", { class: "s-cart-coupons-minimum" }, salla.lang.get('pages.cart.minimum'), " ", index.h("span", { innerHTML: salla.money(coupon.minimum_amount.amount, coupon.minimum_amount.currency) })))), index.h("div", { class: "s-cart-coupons-action" }, isEligible ? salla.lang.get('pages.cart.save_coupon') : salla.lang.get('pages.cart.coupon_not_compatible'))))));
243
243
  }
244
244
  render() {
245
- return (index.h(index.Host, { key: '06e285be96e1b3cb5f30768bbde2799ba3877301' }, index.h("div", { key: '5eafc2657a6ac40069b6770cad0254ce818ca2a0', class: "s-cart-coupons-wrapper" }, index.h("div", { key: 'baffec795f630d009a64ba4fa5b8b8e95c997964', class: "s-cart-coupons-input-section" }, index.h("label", { key: '45abf5b292725af1543d32257a965404f8d30f36', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), index.h("div", { key: '144676d26effbf19c34008cdb14f20fa7c227e70', class: "s-cart-coupons-coupon-input-container" }, index.h("input", { key: 'b398928219e33171f32412bb2d41b0d9700c3369', type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, ref: el => this.couponInputRef = el, "aria-label": salla.lang.get('pages.cart.apply_coupon') }), index.h("salla-button", { key: 'f6ea624d4ac233c1ecd26a3c8d11ba84bc07b940', ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick() }, this.currentCoupon ? (index.h("i", { class: "sicon-cancel" })) : (index.h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (index.h("span", { key: '31a5f1b35fe53207706831284a2b8ea7b7384b4a', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (index.h("salla-slider", { key: 'e0201b153738446fcda9d28d4ad1bab7d69c950e', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, index.h("div", { key: 'd60bfa116bef42a2a25806703e05d18d0084d466', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
245
+ return (index.h(index.Host, { key: 'f3f3d943ab2c1a6488a1da02d2cc031dbc88b482' }, index.h("div", { key: 'abf88828017041b19a6c54ba2f99e6c246bd8d04', class: "s-cart-coupons-wrapper" }, index.h("div", { key: 'c2946579a7cca935722997229f50ede603acb8b2', class: "s-cart-coupons-input-section" }, index.h("label", { key: '50042d827c86daf853babd4e41ba3a920aceda9d', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), index.h("div", { key: '4b01047727bd3a83f6cfbac37221e7732076248f', class: "s-cart-coupons-coupon-input-container" }, index.h("input", { key: '555108f68b7a60c618d9a904905ef321cd274c7a', type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, ref: el => this.couponInputRef = el, "aria-label": salla.lang.get('pages.cart.apply_coupon') }), index.h("salla-button", { key: '0416bbaf029f7d8951ca6a419cdc676ae50ee792', ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick() }, this.currentCoupon ? (index.h("i", { class: "sicon-cancel" })) : (index.h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (index.h("span", { key: 'f7c77e8676cb07b4820b571dbd8ee25dca79a1b1', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (index.h("salla-slider", { key: 'daee9c6705de734d5f81ff86d92ad6952b5a7332', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, index.h("div", { key: '5d5ef30a6ff7f7c2b406cc5cec6622c2f028d17e', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
246
246
  }
247
247
  get host() { return index.getElement(this); }
248
248
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D3xsx646.js');
6
+ var index = require('./index-CPVUhQsG.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
  var tagMoney = require('./tag-money-Cuohw_4j.js');
@@ -215,7 +215,7 @@ const SallaCartSummary = class {
215
215
  return cartUrl;
216
216
  }
217
217
  render() {
218
- return (index.h(index.Host, { key: '14e724a96abab2d16444b94e4e13964fb970c39a' }, index.h("a", { key: '91095f9e7e119a9a512a0f3b7c9ac5130f8224c6', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: '6aeeea8c529abd02c012a36c9d4bda66f7e1f64d', id: "s-cart-icon" }, index.h("slot", { key: 'a9de44b9c24c779905ce2a72055378632b80bb70', name: "icon" }, index.h("i", { key: 'c82466e218ba8602b7f7cccee1874c52a94a3e3e', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: '37c8068bd685f1d64dcc646369134a3302f2164c', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '7880ea8fe28b197d0874d2fbe2dc44f52ea4b364', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '1a6e2a3a26b7d23a82ede015fd660e98c03f8e86', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'ddce63b92173cc9adff16bc2805e7b154d3e5d90', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
218
+ return (index.h(index.Host, { key: '918f027fd28cd25d653b8419f97223daaf22d428' }, index.h("a", { key: 'b74a2724ada356a01b915044d56dfb0f9953338e', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: 'b9332fe1b66b895c1e9950efaa548f04eb053d46', id: "s-cart-icon" }, index.h("slot", { key: '2b5c1cf8dea4ca23a54beeb83cfad44538ca3ab7', name: "icon" }, index.h("i", { key: 'f3145ed4a994762441d925280a3234d78c378bef', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: '26a78adf9b279019504e995216ea5373b6866876', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '60ad091221ed5cd3e2ac0d27ebc53ec9917ccd64', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '66819086b9ed7f6f21be2cd5e8baf0bc88021e40', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'a07c85971e50add3cdd5b51942e642d4daf19d82', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
219
219
  }
220
220
  get host() { return index.getElement(this); }
221
221
  };