@salla.sa/twilight-components 2.14.427 → 2.14.429

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 (441) hide show
  1. package/dist/cjs/{filepond-CnPKR-6x.js → filepond--V9rRgVA.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D0g6EUyA.js → filepond-plugin-file-poster-DzvswSJb.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DXUJ6UPq.js → filepond-plugin-file-validate-size-C5wUWXz6.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-NgEbyq_W.js → filepond-plugin-file-validate-type-HA2w2_fC.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-DU4QWlEV.js → filepond-plugin-image-edit-CXrhd-IB.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-xYuPxwvc.js → filepond-plugin-image-exif-orientation-BJnamgw6.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CY_efZwj.js → filepond-plugin-image-preview-CmdkZJij.js} +1 -1
  8. package/dist/cjs/{functions-CTufnsoC.js → functions-DPnm948J.js} +1 -1
  9. package/dist/cjs/{index-BEj17I33.js → index-D3xsx646.js} +6 -6
  10. package/dist/cjs/{index-Z8F5J-RV.js → index-DRfjMaC1.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  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 +3 -3
  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.cjs.entry.js → salla-bullet-delivery_2.cjs.entry.js} +635 -140
  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 +43 -17
  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 +2 -2
  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-C_10lCIK.js → tracked-promise-CFp5Besf.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-D9nRSUSv.js → vanilla-picker-Jk2F9CAy.js} +1 -1
  98. package/dist/collection/collection-manifest.json +7 -0
  99. package/dist/collection/components/salla-bullet-delivery/api-service.js +80 -13
  100. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +5 -0
  101. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +344 -120
  102. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  104. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  105. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  106. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  107. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  108. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  109. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  110. package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +4 -5
  111. package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +40 -12
  112. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  113. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  114. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  115. package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +1 -1
  116. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  117. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  118. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  119. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  120. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  121. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  122. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  123. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  124. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  125. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  126. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  127. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  128. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  129. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  130. package/dist/collection/components/salla-map/salla-map.js +3 -3
  131. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  132. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  133. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  134. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  135. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  136. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  137. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  138. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  139. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  140. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  141. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  142. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  143. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  144. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  145. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  146. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  147. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  148. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  149. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  150. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  151. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  152. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  153. package/dist/collection/components/salla-search/salla-search.js +5 -5
  154. package/dist/collection/components/salla-searchable-dropdown/interfaces.js +1 -0
  155. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +566 -0
  156. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  157. package/dist/collection/components/salla-social/salla-social.js +1 -1
  158. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  159. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  160. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  161. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  162. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  163. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  164. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  165. package/dist/components/index.js +2 -2
  166. package/dist/components/salla-bullet-delivery.js +445 -148
  167. package/dist/components/salla-cart-coupons.js +1 -1
  168. package/dist/components/salla-cart-summary.js +1 -1
  169. package/dist/components/salla-color-picker2.js +1 -1
  170. package/dist/components/salla-comment-form2.js +1 -1
  171. package/dist/components/salla-comment-item2.js +3 -3
  172. package/dist/components/salla-conditional-fields2.js +1 -1
  173. package/dist/components/salla-count-down2.js +1 -1
  174. package/dist/components/salla-datetime-picker2.js +1 -1
  175. package/dist/components/salla-delivery-promise.js +42 -16
  176. package/dist/components/salla-file-upload2.js +2 -2
  177. package/dist/components/salla-filters-widget2.js +2 -2
  178. package/dist/components/salla-filters.js +1 -1
  179. package/dist/components/salla-fulfillment-methods.js +1 -1
  180. package/dist/components/salla-gifting.js +2 -2
  181. package/dist/components/salla-hook.js +1 -1
  182. package/dist/components/salla-list-tile2.js +1 -1
  183. package/dist/components/salla-loading2.js +1 -1
  184. package/dist/components/salla-localization-modal.js +1 -1
  185. package/dist/components/salla-loyalty-hero2.js +3 -3
  186. package/dist/components/salla-loyalty-point2.js +3 -3
  187. package/dist/components/salla-loyalty-prize-item.js +1 -1
  188. package/dist/components/salla-loyalty-reward.js +2 -2
  189. package/dist/components/salla-maintenance-alert.js +1 -1
  190. package/dist/components/salla-map2.js +3 -3
  191. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  192. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  193. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  194. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  195. package/dist/components/salla-multiple-bundle-product.js +1 -1
  196. package/dist/components/salla-notification-item2.js +1 -1
  197. package/dist/components/salla-offer-modal.js +1 -1
  198. package/dist/components/salla-order-details.js +1 -1
  199. package/dist/components/salla-order-edit-product-card.js +1 -1
  200. package/dist/components/salla-order-summary.js +1 -1
  201. package/dist/components/salla-payments.js +2 -2
  202. package/dist/components/salla-placeholder2.js +1 -1
  203. package/dist/components/salla-price-range2.js +2 -2
  204. package/dist/components/salla-product-availability2.js +1 -1
  205. package/dist/components/salla-product-card2.js +5 -5
  206. package/dist/components/salla-product-size-guide.js +2 -2
  207. package/dist/components/salla-quantity-input2.js +1 -1
  208. package/dist/components/salla-quick-buy2.js +1 -1
  209. package/dist/components/salla-review-card2.js +1 -1
  210. package/dist/components/salla-reviews-page.js +1 -1
  211. package/dist/components/salla-reviews.js +1 -1
  212. package/dist/components/salla-reward-action2.js +1 -1
  213. package/dist/components/salla-reward-card2.js +1 -1
  214. package/dist/components/salla-reward-details2.js +3 -3
  215. package/dist/components/salla-reward-exchange2.js +3 -3
  216. package/dist/components/salla-scopes.js +1 -1
  217. package/dist/components/salla-search.js +5 -5
  218. package/dist/components/salla-searchable-dropdown.d.ts +11 -0
  219. package/dist/components/salla-searchable-dropdown.js +9 -0
  220. package/dist/components/salla-searchable-dropdown2.js +255 -0
  221. package/dist/components/salla-skeleton2.js +1 -1
  222. package/dist/components/salla-social-share.js +1 -1
  223. package/dist/components/salla-social.js +1 -1
  224. package/dist/components/salla-tab-content2.js +1 -1
  225. package/dist/components/salla-tab-header2.js +1 -1
  226. package/dist/components/salla-tabs2.js +1 -1
  227. package/dist/components/salla-tel-input2.js +1 -1
  228. package/dist/components/salla-tooltip2.js +1 -1
  229. package/dist/components/salla-user-settings.js +1 -1
  230. package/dist/esm/{filepond-BRnZDx-B.js → filepond-fJKURtC4.js} +1 -1
  231. package/dist/esm/{filepond-plugin-file-poster-D5fDjFO7.js → filepond-plugin-file-poster-Ll-3yUwR.js} +1 -1
  232. package/dist/esm/{filepond-plugin-file-validate-size-CFvpeu0k.js → filepond-plugin-file-validate-size-2D44oWIJ.js} +1 -1
  233. package/dist/esm/{filepond-plugin-file-validate-type-BhjoaDUg.js → filepond-plugin-file-validate-type-08Jawn6d.js} +1 -1
  234. package/dist/esm/{filepond-plugin-image-edit-Cenn_Vlr.js → filepond-plugin-image-edit-DmEVMjMi.js} +1 -1
  235. package/dist/esm/{filepond-plugin-image-exif-orientation-DC9TWqJo.js → filepond-plugin-image-exif-orientation-DJo_07yV.js} +1 -1
  236. package/dist/esm/{filepond-plugin-image-preview-Bj9DJRFj.js → filepond-plugin-image-preview-Nd-PQAho.js} +1 -1
  237. package/dist/esm/{functions-DyAwfRCL.js → functions-GnOlk8am.js} +1 -1
  238. package/dist/esm/{index-COFXO9XT.js → index-Ba0YDJC7.js} +1 -1
  239. package/dist/esm/{index-2RfKl9ZG.js → index-DR8BHH7X.js} +6 -6
  240. package/dist/esm/loader.js +3 -3
  241. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  242. package/dist/esm/salla-accordion_6.entry.js +2 -2
  243. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  244. package/dist/esm/salla-advertisement.entry.js +1 -1
  245. package/dist/esm/salla-alert_2.entry.js +1 -1
  246. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  247. package/dist/esm/salla-apps-icons.entry.js +1 -1
  248. package/dist/esm/salla-badge.entry.js +1 -1
  249. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  250. package/dist/esm/{salla-bullet-delivery.entry.js → salla-bullet-delivery_2.entry.js} +635 -141
  251. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  252. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  253. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  254. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  255. package/dist/esm/salla-contacts.entry.js +1 -1
  256. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  257. package/dist/esm/salla-count-down.entry.js +2 -2
  258. package/dist/esm/salla-custom-fields.entry.js +1 -1
  259. package/dist/esm/salla-delivery-promise.entry.js +43 -17
  260. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  261. package/dist/esm/salla-filters-widget.entry.js +3 -3
  262. package/dist/esm/salla-filters.entry.js +2 -2
  263. package/dist/esm/salla-fulfillment-methods.entry.js +2 -2
  264. package/dist/esm/salla-gifting.entry.js +3 -3
  265. package/dist/esm/salla-hook.entry.js +2 -2
  266. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  267. package/dist/esm/salla-installment.entry.js +1 -1
  268. package/dist/esm/salla-list-tile.entry.js +2 -2
  269. package/dist/esm/salla-localization-modal.entry.js +2 -2
  270. package/dist/esm/salla-login-modal.entry.js +1 -1
  271. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  272. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  273. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  274. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  275. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  276. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  277. package/dist/esm/salla-loyalty.entry.js +1 -1
  278. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  279. package/dist/esm/salla-map.entry.js +4 -4
  280. package/dist/esm/salla-menu.entry.js +1 -1
  281. package/dist/esm/salla-metadata.entry.js +1 -1
  282. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  283. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  284. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  285. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  286. package/dist/esm/salla-notification-item.entry.js +2 -2
  287. package/dist/esm/salla-notifications.entry.js +1 -1
  288. package/dist/esm/salla-offer-modal.entry.js +2 -2
  289. package/dist/esm/salla-offer.entry.js +1 -1
  290. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  291. package/dist/esm/salla-order-details-options.entry.js +1 -1
  292. package/dist/esm/salla-order-details.entry.js +2 -2
  293. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  294. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  295. package/dist/esm/salla-order-edit.entry.js +1 -1
  296. package/dist/esm/salla-order-summary.entry.js +2 -2
  297. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  298. package/dist/esm/salla-orders.entry.js +1 -1
  299. package/dist/esm/salla-payments.entry.js +3 -3
  300. package/dist/esm/salla-placeholder.entry.js +2 -2
  301. package/dist/esm/salla-price-range.entry.js +3 -3
  302. package/dist/esm/salla-product-card_2.entry.js +6 -6
  303. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  304. package/dist/esm/salla-products-list.entry.js +1 -1
  305. package/dist/esm/salla-progress-bar.entry.js +1 -1
  306. package/dist/esm/salla-quick-order.entry.js +1 -1
  307. package/dist/esm/salla-rating-modal.entry.js +1 -1
  308. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  309. package/dist/esm/salla-scopes.entry.js +2 -2
  310. package/dist/esm/salla-search.entry.js +6 -6
  311. package/dist/esm/salla-skeleton.entry.js +2 -2
  312. package/dist/esm/salla-slider.entry.js +1 -1
  313. package/dist/esm/salla-social-share.entry.js +2 -2
  314. package/dist/esm/salla-social.entry.js +2 -2
  315. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  316. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  317. package/dist/esm/salla-tooltip.entry.js +2 -2
  318. package/dist/esm/salla-trust-badges.entry.js +1 -1
  319. package/dist/esm/salla-user-menu.entry.js +1 -1
  320. package/dist/esm/salla-user-profile.entry.js +1 -1
  321. package/dist/esm/salla-user-settings.entry.js +2 -2
  322. package/dist/esm/salla-verify.entry.js +1 -1
  323. package/dist/esm/salla-wallet.entry.js +1 -1
  324. package/dist/esm/{tracked-promise-DjHV13KA.js → tracked-promise-BTkBmrok.js} +1 -1
  325. package/dist/esm/twilight.js +3 -3
  326. package/dist/esm/{vanilla-picker-BoRNi1fj.js → vanilla-picker-f4lmttLY.js} +1 -1
  327. package/dist/twilight/p-031f8d35.entry.js +4 -0
  328. package/dist/twilight/{p-ddb5f8e3.entry.js → p-08c6172b.entry.js} +1 -1
  329. package/dist/twilight/p-097e2ba0.entry.js +4 -0
  330. package/dist/twilight/p-0ccf332d.entry.js +4 -0
  331. package/dist/twilight/{p-3d7a49d9.entry.js → p-103dc47c.entry.js} +1 -1
  332. package/dist/twilight/{p-c4b74217.entry.js → p-1208793a.entry.js} +1 -1
  333. package/dist/twilight/{p-15258fe3.entry.js → p-154e782d.entry.js} +1 -1
  334. package/dist/twilight/{p-b64d9557.entry.js → p-19bb31a5.entry.js} +1 -1
  335. package/dist/twilight/{p-022144ee.entry.js → p-1c8726e2.entry.js} +1 -1
  336. package/dist/twilight/{p-adf96b4c.entry.js → p-1e7d16a3.entry.js} +1 -1
  337. package/dist/twilight/{p-b4273ea4.entry.js → p-2d705236.entry.js} +1 -1
  338. package/dist/twilight/{p-7106682a.entry.js → p-2e8588ca.entry.js} +1 -1
  339. package/dist/twilight/{p-fb1b997d.entry.js → p-30256e5f.entry.js} +1 -1
  340. package/dist/twilight/p-308cfcab.entry.js +4 -0
  341. package/dist/twilight/{p-f1859466.entry.js → p-38a8f05e.entry.js} +1 -1
  342. package/dist/twilight/{p-a4f96a76.entry.js → p-3910e00f.entry.js} +1 -1
  343. package/dist/twilight/{p-ece0e68f.entry.js → p-3a2fdd6f.entry.js} +1 -1
  344. package/dist/twilight/p-3cc1582f.entry.js +4 -0
  345. package/dist/twilight/p-3ec34eae.entry.js +4 -0
  346. package/dist/twilight/{p-916187fb.entry.js → p-400257fd.entry.js} +1 -1
  347. package/dist/twilight/{p-a72161e7.entry.js → p-42cc9b33.entry.js} +1 -1
  348. package/dist/twilight/{p-7f07d192.entry.js → p-4482e672.entry.js} +1 -1
  349. package/dist/twilight/{p-aac173b7.entry.js → p-44b289bb.entry.js} +1 -1
  350. package/dist/twilight/{p-d2b90374.entry.js → p-4da58baf.entry.js} +1 -1
  351. package/dist/twilight/{p-390e50ee.entry.js → p-4f873363.entry.js} +1 -1
  352. package/dist/twilight/{p-1cc094d9.entry.js → p-5999d681.entry.js} +1 -1
  353. package/dist/twilight/{p-a96ae5ac.entry.js → p-59f47a08.entry.js} +1 -1
  354. package/dist/twilight/{p-9d20db0f.entry.js → p-5c347cd5.entry.js} +1 -1
  355. package/dist/twilight/{p-184fbcdf.entry.js → p-5ebbec76.entry.js} +1 -1
  356. package/dist/twilight/{p-56070211.entry.js → p-5ecf2b26.entry.js} +1 -1
  357. package/dist/twilight/{p-ce0ecd6d.entry.js → p-612c5b08.entry.js} +1 -1
  358. package/dist/twilight/{p-3eb30788.entry.js → p-624503ee.entry.js} +1 -1
  359. package/dist/twilight/{p-597273c9.entry.js → p-6339390a.entry.js} +1 -1
  360. package/dist/twilight/p-64376e97.entry.js +4 -0
  361. package/dist/twilight/{p-b75f02c5.entry.js → p-65839961.entry.js} +1 -1
  362. package/dist/twilight/{p-416bfa3c.entry.js → p-6c58235e.entry.js} +1 -1
  363. package/dist/twilight/{p-f5b4faf1.entry.js → p-6e26c815.entry.js} +1 -1
  364. package/dist/twilight/p-6f3da0b7.entry.js +4 -0
  365. package/dist/twilight/{p-63b807d8.entry.js → p-72b1e6ed.entry.js} +1 -1
  366. package/dist/twilight/{p-d198466f.entry.js → p-745329af.entry.js} +1 -1
  367. package/dist/twilight/{p-68981b47.entry.js → p-74eb04ec.entry.js} +1 -1
  368. package/dist/twilight/{p-be9b05ed.entry.js → p-78ce73ba.entry.js} +1 -1
  369. package/dist/twilight/{p-a4ee0f48.entry.js → p-7edaa78b.entry.js} +1 -1
  370. package/dist/twilight/{p-6fa8dc48.entry.js → p-807db423.entry.js} +1 -1
  371. package/dist/twilight/{p-5f4491df.entry.js → p-824dd42e.entry.js} +1 -1
  372. package/dist/twilight/{p-15f7a80c.entry.js → p-835c43e6.entry.js} +1 -1
  373. package/dist/twilight/{p-fdd9c784.entry.js → p-83c1d4b2.entry.js} +1 -1
  374. package/dist/twilight/{p-82b0696f.entry.js → p-8709e981.entry.js} +1 -1
  375. package/dist/twilight/{p-31a1aa8c.entry.js → p-8bfca6eb.entry.js} +1 -1
  376. package/dist/twilight/{p-26659429.entry.js → p-8fad5c91.entry.js} +1 -1
  377. package/dist/twilight/{p-abb0fe8a.entry.js → p-96d644b8.entry.js} +1 -1
  378. package/dist/twilight/{p-c57f29fb.entry.js → p-99d0fd61.entry.js} +1 -1
  379. package/dist/twilight/{p-9c6c3383.entry.js → p-9bde5e3c.entry.js} +1 -1
  380. package/dist/twilight/{p-25d69769.entry.js → p-9f320350.entry.js} +1 -1
  381. package/dist/twilight/{p-BRZ-xY4O.js → p-Bc2RLvfZ.js} +1 -1
  382. package/dist/twilight/{p-DIgIfJIX.js → p-CdbTKQNp.js} +1 -1
  383. package/dist/twilight/{p-BQHT0o4-.js → p-CiAXtUPQ.js} +1 -1
  384. package/dist/twilight/{p-gzETizzN.js → p-CmDT48y4.js} +1 -1
  385. package/dist/twilight/{p-f2zyoe62.js → p-D0FlIX_Z.js} +1 -1
  386. package/dist/twilight/{p-2RfKl9ZG.js → p-DR8BHH7X.js} +1 -1
  387. package/dist/twilight/{p-NH4fFDqc.js → p-Dqb1Ri2Y.js} +1 -1
  388. package/dist/twilight/{p-hMPmvZ4N.js → p-Dtp3srRX.js} +1 -1
  389. package/dist/twilight/{p-BWhaHax9.js → p-NohMjDY2.js} +1 -1
  390. package/dist/twilight/{p-5517f377.entry.js → p-a9cbd414.entry.js} +1 -1
  391. package/dist/twilight/{p-f758d06b.entry.js → p-b20265f2.entry.js} +1 -1
  392. package/dist/twilight/{p-826b7e39.entry.js → p-b59b7153.entry.js} +1 -1
  393. package/dist/twilight/{p-cd392e48.entry.js → p-bc47e256.entry.js} +1 -1
  394. package/dist/twilight/{p-c395af37.entry.js → p-bc76d253.entry.js} +1 -1
  395. package/dist/twilight/{p-f6afdeea.entry.js → p-bcf201a8.entry.js} +1 -1
  396. package/dist/twilight/{p-4a41c81f.entry.js → p-beb17e29.entry.js} +1 -1
  397. package/dist/twilight/{p-5dbfbde6.entry.js → p-c00d4e23.entry.js} +1 -1
  398. package/dist/twilight/p-c137e672.entry.js +4 -0
  399. package/dist/twilight/{p-49a31434.entry.js → p-c47e85e9.entry.js} +1 -1
  400. package/dist/twilight/{p-9e20aea5.entry.js → p-c4960804.entry.js} +1 -1
  401. package/dist/twilight/{p-0c50e6d1.entry.js → p-c52aac33.entry.js} +1 -1
  402. package/dist/twilight/{p-58e57008.entry.js → p-c707f55b.entry.js} +1 -1
  403. package/dist/twilight/p-cb8a1223.entry.js +4 -0
  404. package/dist/twilight/{p-0f17896f.entry.js → p-ccfe690a.entry.js} +1 -1
  405. package/dist/twilight/{p-B-Ntbq8B.js → p-cvulr5dQ.js} +1 -1
  406. package/dist/twilight/{p-674370d9.entry.js → p-d01e76f4.entry.js} +1 -1
  407. package/dist/twilight/{p-ea3e4838.entry.js → p-d567481d.entry.js} +1 -1
  408. package/dist/twilight/{p-d0a034ad.entry.js → p-d617d844.entry.js} +1 -1
  409. package/dist/twilight/{p-b59ea7ea.entry.js → p-df173474.entry.js} +1 -1
  410. package/dist/twilight/{p-85f0187e.entry.js → p-e0244c37.entry.js} +1 -1
  411. package/dist/twilight/{p-3c82be41.entry.js → p-e0750731.entry.js} +1 -1
  412. package/dist/twilight/{p-a44b9668.entry.js → p-e0af89bc.entry.js} +1 -1
  413. package/dist/twilight/{p-f95df964.entry.js → p-ed6007e1.entry.js} +1 -1
  414. package/dist/twilight/{p-6591111e.entry.js → p-ed8951c5.entry.js} +1 -1
  415. package/dist/twilight/p-f245d317.entry.js +4 -0
  416. package/dist/twilight/{p-f2cb9377.entry.js → p-f2b204a4.entry.js} +1 -1
  417. package/dist/twilight/{p-8fc96e64.entry.js → p-f579e8ef.entry.js} +1 -1
  418. package/dist/twilight/{p-ffa981ec.entry.js → p-fca971a6.entry.js} +1 -1
  419. package/dist/twilight/{p-3aa1e961.entry.js → p-ff75f1c4.entry.js} +1 -1
  420. package/dist/twilight/{p-8Cy2-80S.js → p-hkzTCOEy.js} +1 -1
  421. package/dist/twilight/{p-Ctl2lOrt.js → p-kg7IhfAv.js} +1 -1
  422. package/dist/twilight/twilight.esm.js +1 -1
  423. package/dist/types/components/salla-bullet-delivery/api-service.d.ts +6 -5
  424. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +38 -6
  425. package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +1 -1
  426. package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +2 -0
  427. package/dist/types/components/salla-searchable-dropdown/interfaces.d.ts +5 -0
  428. package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +47 -0
  429. package/dist/types/components.d.ts +135 -0
  430. package/package.json +5 -5
  431. package/dist/twilight/p-5be4ae85.entry.js +0 -4
  432. package/dist/twilight/p-5c2dcdb0.entry.js +0 -4
  433. package/dist/twilight/p-637724e7.entry.js +0 -4
  434. package/dist/twilight/p-68f163aa.entry.js +0 -4
  435. package/dist/twilight/p-6bf87309.entry.js +0 -4
  436. package/dist/twilight/p-873eed59.entry.js +0 -4
  437. package/dist/twilight/p-879f08a4.entry.js +0 -4
  438. package/dist/twilight/p-ae6aabba.entry.js +0 -4
  439. package/dist/twilight/p-d0520b44.entry.js +0 -4
  440. package/dist/twilight/p-dd0be0da.entry.js +0 -4
  441. package/dist/twilight/p-ec899dc9.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaCartCouponsCss = "";
7
7
 
@@ -240,7 +240,7 @@ const SallaCartCoupons = class {
240
240
  : `${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 && (h("div", { class: "s-cart-coupons-minimum" }, salla.lang.get('pages.cart.minimum'), " ", h("span", { innerHTML: salla.money(coupon.minimum_amount.amount, coupon.minimum_amount.currency) })))), h("div", { class: "s-cart-coupons-action" }, isEligible ? salla.lang.get('pages.cart.save_coupon') : salla.lang.get('pages.cart.coupon_not_compatible'))))));
241
241
  }
242
242
  render() {
243
- return (h(Host, { key: '95e65153874488ea19570a11d82eca2a054dd12f' }, h("div", { key: '1bbcebf392b3cbe9a771d2fead982c6d467920a2', class: "s-cart-coupons-wrapper" }, h("div", { key: 'f43ff91fbe2661f7c533d1ded01910bf9cdd04bc', class: "s-cart-coupons-input-section" }, h("label", { key: '47b768adf09859842a329174ed670e0ed6eb38e5', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '0119d436bd813f0aed13b15178644f393f23c448', class: "s-cart-coupons-coupon-input-container" }, h("input", { key: '48daad1665830075e676843c96f99af147a7272c', 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') }), h("salla-button", { key: '9e01ec3c8bd3a28b5dd00d028fd8d0b29a1f0f63', 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 ? (h("i", { class: "sicon-cancel" })) : (h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (h("span", { key: '0b46e12e0ece78bb96180004a30154cf5229c930', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (h("salla-slider", { key: '6df6dc30d63f8e158ce65392ae682f03d09ee014', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, h("div", { key: 'adc4343bc2f217bdcf03a769b19363a363ca1ccb', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
243
+ return (h(Host, { key: '06e285be96e1b3cb5f30768bbde2799ba3877301' }, h("div", { key: '5eafc2657a6ac40069b6770cad0254ce818ca2a0', class: "s-cart-coupons-wrapper" }, h("div", { key: 'baffec795f630d009a64ba4fa5b8b8e95c997964', class: "s-cart-coupons-input-section" }, h("label", { key: '45abf5b292725af1543d32257a965404f8d30f36', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '144676d26effbf19c34008cdb14f20fa7c227e70', class: "s-cart-coupons-coupon-input-container" }, 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') }), 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 ? (h("i", { class: "sicon-cancel" })) : (h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (h("span", { key: '31a5f1b35fe53207706831284a2b8ea7b7384b4a', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (h("salla-slider", { key: 'e0201b153738446fcda9d28d4ad1bab7d69c950e', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, h("div", { key: 'd60bfa116bef42a2a25806703e05d18d0084d466', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
244
244
  }
245
245
  get host() { return getElement(this); }
246
246
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
@@ -213,7 +213,7 @@ const SallaCartSummary = class {
213
213
  return cartUrl;
214
214
  }
215
215
  render() {
216
- return (h(Host, { key: '4d80eb7d5ea545740fd4c631b98297164e4afded' }, h("a", { key: 'f32a160c33514e98a35067eb8dc07aa15b7ddb9b', class: "s-cart-summary-wrapper", href: this.getCartLink() }, h("div", { key: 'b8ab102d86c3448d03403bade826d42c2fcee681', id: "s-cart-icon" }, h("slot", { key: '2dae30fcc74ef4c6e74d25f745aea0893cdb87c9', name: "icon" }, h("i", { key: 'df69ad3f3e7affe12ce26d6e16aa2e9e4670f2fc', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), h("span", { key: '98927818c1f6b6e7138a8f818da96054c2d44b62', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: '71a40df1d13608e4c9a988ee927ae5ebf1482635', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: '9e8e2c66c3784ccebfc4bfba5ab2554a927b172c', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: 'bbc35cf2a4e793c3cf4d1a637740683569fd306d', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
216
+ return (h(Host, { key: '14e724a96abab2d16444b94e4e13964fb970c39a' }, h("a", { key: '91095f9e7e119a9a512a0f3b7c9ac5130f8224c6', class: "s-cart-summary-wrapper", href: this.getCartLink() }, h("div", { key: '6aeeea8c529abd02c012a36c9d4bda66f7e1f64d', id: "s-cart-icon" }, h("slot", { key: 'a9de44b9c24c779905ce2a72055378632b80bb70', name: "icon" }, h("i", { key: 'c82466e218ba8602b7f7cccee1874c52a94a3e3e', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), h("span", { key: '37c8068bd685f1d64dcc646369134a3302f2164c', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: '7880ea8fe28b197d0874d2fbe2dc44f52ea4b364', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: '1a6e2a3a26b7d23a82ede015fd660e98c03f8e86', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: 'ddce63b92173cc9adff16bc2805e7b154d3e5d90', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
217
217
  }
218
218
  get host() { return getElement(this); }
219
219
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-DR8BHH7X.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -49,7 +49,7 @@ const SallaCommentForm = class {
49
49
  .finally(() => this.submitBtn.stop());
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '2203b9f365e0658a3bc40fb0274ba9ddc0d1e040' }, !!this.canComment ? h("form", { ref: frm => this.commentForm = frm }, h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
52
+ return (h(Host, { key: 'a9caa6cb393989ab534471f5fabed599ec0a8a66' }, !!this.canComment ? h("form", { ref: frm => this.commentForm = frm }, h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
53
53
  h("img", { class: "s-comment-form-avatar", src: salla.config.get('user.avatar'), alt: "user avatar" }) : '', h("div", { class: "s-comment-form-content" }, h("textarea", { cols: 30, rows: 5, minlength: "4", maxlength: "500", ref: field => this.commentField = field, placeholder: this.placeholder, class: "s-comment-form-input", required: true }), h("br", null), h("div", { class: "s-comment-form-action" }, h("salla-button", { ref: btn => this.submitBtn = btn, "loader-position": 'center', onClick: () => this.submit() }, this.submitText))))) : ''));
54
54
  }
55
55
  };
@@ -188,15 +188,15 @@ const SallaCommentItem = class {
188
188
  }
189
189
  render() {
190
190
  let isAdmin = this.comment.type == 'admin';
191
- return (h(Host, { key: '05b9da17f0e07e1115c87c671998e8123b8b0bb4', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { key: '49552e9efab0aa751db6d7051318f626f9124e5a', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { key: 'e795f238ee0a562675843e6da0f495512abf550c', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { key: '05270553da039c8cdf611d7a1a0ac1ff9d5d88f2', class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { key: 'be2ca109e89c83691d3a0a7a9e03f6e1b94fb09e', class: "s-comments-item-avatar" }, h("img", { key: '402cff5a2003bf385ae8f9f7890555ef2886de87', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { key: 'af7992ad18ed3d756594cf678d01c1fdd2af6cca', class: "s-comments-flex-1" }, h("div", { key: 'b11dc77d96bf83c0dddd1edaa5fb57286b5b6f55', class: "s-comments-item-user-wrapper" }, h("div", { key: 'f899a929d3e67c7898d22cf7abc56891cdf0fa7c', class: "s-comments-item-user-info" }, h("h3", { key: '9968169cbd69eb6d1d7e0b0498db03a0431d2a16', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
191
+ return (h(Host, { key: 'f17a6ca5a30774c5e1717a2dd38ea60c7f6d115f', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { key: '5aaee8d0d106b7ab13d7ee6d5faeca62d1a63e5a', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { key: '5a4a64b66ca042659fc1cea7ccdd5817d880591d', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { key: '2a26096e1d38747c230353c8c88de8eea5f3cec8', class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { key: '6862b2147ddf33832f91d297bc5d8903cef65f3e', class: "s-comments-item-avatar" }, h("img", { key: '13e3856709d1a714e324ad164fe6cc8ac4602a69', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { key: '376665b2687ace024833109874642a144083a15e', class: "s-comments-flex-1" }, h("div", { key: 'b18b0cddaca195565a14685e48896c3f832f1c75', class: "s-comments-item-user-wrapper" }, h("div", { key: '87e199f5c0c3cae12072d082042274a6e00fcdf2', class: "s-comments-item-user-info" }, h("h3", { key: '730741d83523f9798e795655206958ba8bd06de7', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
192
192
  h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
193
193
  : null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
194
194
  h("div", { class: "s-comments-flex" }, this.comment.has_order ?
195
195
  [h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: SICheck }), h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
196
196
  h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
197
- : null), h("p", { key: 'cafa0be66307c6b377f90033745b939da66344c8', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { key: '608db7108242f10e4d649bb23d1382f49227aeb8', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
197
+ : null), h("p", { key: '0ed20c109de0bdbe61344327a633b72e3881b6ce', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { key: '922b11bc062c1ce6e53e997a2a5708f545e92c2a', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
198
198
  h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
199
- : null), h("div", { key: '9b86497c3791f7e890b560207068de4ca38d6e60', class: "s-comments-item-content" }, h("p", { key: '82433f42c6b0ee29cdd42725ce1aba4dd62e67d8', innerHTML: this.comment.content }), this.allowAttachImages && h("div", { key: '9a1bd14eb18f637588f152b8842d4637b9a6e7c1', class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { key: 'be260096b68a1a58889bed09c68b3a2c75adefa6', ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { key: '8f78ee0ab370e4f99eb68fe1afa4491c4a6a0b80', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { key: 'eea6149852a409f2e25b8f9ec4375087e1c9beb8', slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { key: '9f693fcd5afc5e443e0ff590d6e7e386746e2a98', slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
199
+ : null), h("div", { key: '288ed655c6c223ec54f84da46088b57734524839', class: "s-comments-item-content" }, h("p", { key: '6ac007441490d1b1479811d6bcdc6841b181fa95', innerHTML: this.comment.content }), this.allowAttachImages && h("div", { key: '2046daf302f3813482bc2736e5b942cc13a704c8', class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { key: '61326b451d2275514510b599e97a94e8a38a18f5', ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { key: '4496ed68e88120e30ccbb3daf9d11dccd56dcce5', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { key: 'ea919a2d8717378d56b9c541e635a932f8b8a1ff', slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { key: 'af0aa4798aa0a1ab126799120f5bce6b2cbee777', slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
200
200
  h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
201
201
  this.getReplies().map((reply) => {
202
202
  return h("div", null, h("salla-comment-item", { comment: reply }));
@@ -823,7 +823,7 @@ const SallaReviewCard = class {
823
823
  return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
824
824
  }
825
825
  render() {
826
- return h("div", { key: '47efb35fefb0c57657c2e8f6707d4821f6c1c1a0', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'eb624b4a9aa51b9053a5824818490dcf91594489', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: 'f7bc3da7f0ef59c08789942d76e309e0d07a161a', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
826
+ return h("div", { key: '876ac50d109430dc6d805d5e59f4dc75966212b0', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '6011b45689e41365d70ff59aa2b58db6069ffe6f', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: 'c5f96d3d0161fadbc065018e4fddcdab5ce93699', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
827
827
  }
828
828
  get el() { return getElement(this); }
829
829
  };
@@ -920,7 +920,7 @@ const SallaReviews = class {
920
920
  });
921
921
  }
922
922
  render() {
923
- return (h("div", { key: 'a714c729b160349bb72976bc0b9910c2ddfee5bb', class: "s-reviews-container" }, h("div", { key: '5aadfe6203a6bfc70bd242914ad63de05b374a22', class: "s-reviews-header-wrapper" }, h("h1", { key: 'a7dcdfbb38a9eb069f8b3c46d065638b659fb891', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft }))) : null), h("salla-slider", { key: 'cbb4ae4e75bbef6d5716287d096863de9631a3e2', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: '78ca0d0848ccba77a926b3142954d1a5ffe99a9b', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
923
+ return (h("div", { key: '65b40e3af4bd3a12634c2098ca87096c96c6454a', class: "s-reviews-container" }, h("div", { key: '82ba3e23d074dbd13647bc7684441b9a99806efc', class: "s-reviews-header-wrapper" }, h("h1", { key: '2e83ff3be8bc71f1944da3e6d850cd88c865196f', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft }))) : null), h("salla-slider", { key: '2d8e68fc6991f2df85b691f71c506dc375b2746f', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: 'd5429d64b8cbd077edad73613ef663b39552677b', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
924
924
  }
925
925
  };
926
926
  SallaReviews.style = sallaReviewsCss;
@@ -1600,7 +1600,7 @@ const SallaReviewsPage = class {
1600
1600
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
1601
1601
  }
1602
1602
  render() {
1603
- return (h("host", { key: 'fcd0bc80f69825de03feab75422aef2dabcca93b' }, h("div", { key: '4d50dbde8eecf0a597717971dee990d01bae1f7c', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'ff2c3e971cb6c480ae6388308abaa40a90ccd1cd', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'a8f550f07d5826d701036ca94c8535188cd29dc5', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'a2e0465af025a4c695462a1ea223d7a554e582de', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e333ae7128cb24e15d18dca25f6af3456f0648ec', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '7ed58196ce8319d3ff3d7f9f38f7ecdf371e4856', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
1603
+ return (h("host", { key: '3a03eb5fd12b0c12f7ce3507d42613e1ef6323f4' }, h("div", { key: '0caef3d980e06b62be4c80a1405d62c0ddbfccca', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '5da663934595fc9978ec36e54de482ab96da33ae', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'baa8507e9f4fc708f4c404cc75a6bb144ae804a4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '45d5864de04db086c45a2f142f23bb8babcadf45', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '2a06fa540c6dcf102c7aaabd5077b6c077a9cac9', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'ec92ba4a38470de0c60a45d74252ec729de47971', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
1604
1604
  this.wrapper = el;
1605
1605
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
1606
1606
  : h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
7
7
 
@@ -232,7 +232,7 @@ const SallaCountDown = class {
232
232
  return this.renderCountDown();
233
233
  }
234
234
  render() {
235
- return (h(Host, { key: '16f2244e2e1b828cd80a186528726a089146acff', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
235
+ return (h(Host, { key: '9e2372c96dde6479f39d197c29b8edbc7be1b2e4', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
236
236
  }
237
237
  };
238
238
  SallaCountDown.style = sallaCountDownCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-DR8BHH7X.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -15,11 +15,10 @@ async function fetchCities(productId) {
15
15
  const response = await salla.api.request(salla.url.api(`products/${productId}/delivery-promises/cities`));
16
16
  if (!response.success || !Array.isArray(response.data) || response.data.length === 0) {
17
17
  log('fetchCities: no data', { response });
18
- return { cities: [], preselected: undefined };
18
+ return { cities: [] };
19
19
  }
20
- const preselected = response.data.find((c) => c.is_selected);
21
- log('fetchCities success', { count: response.data.length, preselected });
22
- return { cities: response.data, preselected };
20
+ log('fetchCities success', { count: response.data.length });
21
+ return { cities: response.data };
23
22
  }
24
23
  /** Fetch the delivery promise message for a given city or branch. */
25
24
  async function fetchDeliveryMessage(productId, id, optionType, isLoginCycleEnabled) {
@@ -140,6 +139,7 @@ function getCityDisplayName(city) {
140
139
  return city.name;
141
140
  }
142
141
 
142
+ const OVERRIDE_IP_KEY = 'salla-bullet-delivery-override-ip';
143
143
  const SallaDeliveryPromise = class {
144
144
  constructor(hostRef) {
145
145
  registerInstance(this, hostRef);
@@ -206,9 +206,7 @@ const SallaDeliveryPromise = class {
206
206
  return;
207
207
  }
208
208
  if (this.isLoginCycleEnabled) {
209
- this.applyBulletIntent();
210
- this.canRender = true;
211
- window.addEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
209
+ await this.initLoginCycleFlow();
212
210
  }
213
211
  else {
214
212
  this.selectedLabel = `${this.labels.deliveryTo} ${this.labels.selectCity}`;
@@ -218,6 +216,26 @@ const SallaDeliveryPromise = class {
218
216
  disconnectedCallback() {
219
217
  window.removeEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
220
218
  }
219
+ getIPDeliveryLocation() {
220
+ const configPath = "store.shipping.delivery_location";
221
+ const ipAddress = {
222
+ cityId: salla.config.get(`${configPath}.city_id`),
223
+ cityName: salla.config.get(`${configPath}.city_name`),
224
+ };
225
+ return localStorage.getItem(OVERRIDE_IP_KEY) ?
226
+ JSON.parse(localStorage.getItem(OVERRIDE_IP_KEY)) : ipAddress;
227
+ }
228
+ async initLoginCycleFlow() {
229
+ const hasIntent = this.applyBulletIntent();
230
+ const { cityId, cityName } = this.getIPDeliveryLocation();
231
+ log("delivery promise login cycle flow getIPDeliveryLocation", this.getIPDeliveryLocation());
232
+ if (cityId && cityName && !hasIntent) {
233
+ this.selectedLabel = `${this.labels.deliveryTo} ${cityName}`;
234
+ await this.loadDeliveryMessage(cityId, 'city');
235
+ }
236
+ this.canRender = true;
237
+ window.addEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
238
+ }
221
239
  applyBulletIntent() {
222
240
  const resolved = resolveIntent();
223
241
  if (!resolved) {
@@ -225,7 +243,7 @@ const SallaDeliveryPromise = class {
225
243
  this.selectedCityLoginCycle = null;
226
244
  this.selectedBranchLoginCycle = null;
227
245
  this.deliveryMessage = null;
228
- return;
246
+ return false;
229
247
  }
230
248
  if (resolved.type === 'address') {
231
249
  this.selectedCityLoginCycle = resolved.option;
@@ -239,6 +257,7 @@ const SallaDeliveryPromise = class {
239
257
  this.selectedLabel = `${this.labels.pickupFromBranch} ${resolved.option.name}`;
240
258
  void this.loadDeliveryMessage(resolved.option.id, 'branch');
241
259
  }
260
+ return true;
242
261
  }
243
262
  openBulletDeliveryModal() {
244
263
  salla.event.emit('salla::bullet-delivery.modal.open.requested', buildBulletOpenPayload());
@@ -249,19 +268,27 @@ const SallaDeliveryPromise = class {
249
268
  async loadCities() {
250
269
  this.isLoadingCities = true;
251
270
  this.hasError = false;
271
+ const { cityId, cityName } = this.getIPDeliveryLocation();
272
+ log("delivery promise standard flow getIPDeliveryLocation", this.getIPDeliveryLocation());
252
273
  try {
253
- const { cities, preselected } = await fetchCities(this.productId);
254
- if (cities.length === 0) {
274
+ const { cities } = await fetchCities(this.productId);
275
+ if (!cities.length) {
255
276
  this.canRender = false;
256
277
  return;
257
278
  }
258
279
  this.cities = cities;
259
- if (preselected) {
260
- this.selectedCity = preselected;
261
- this.selectedLabel = `${this.labels.deliveryTo} ${getCityDisplayName(preselected)}`;
262
- await this.loadDeliveryMessage(preselected.id, 'city');
263
- }
264
280
  this.canRender = true;
281
+ // get delivery message for the IP location
282
+ if (cityId && cityName) {
283
+ this.selectedLabel = `${this.labels.deliveryTo} ${cityName}`;
284
+ const autoCity = this.cities.find(c => String(c.id) === String(cityId));
285
+ if (autoCity) {
286
+ log("delivery promise standard flow autoCity found", autoCity);
287
+ this.selectedCity = autoCity;
288
+ this.modalSearchQuery = getCityDisplayName(autoCity);
289
+ }
290
+ await this.loadDeliveryMessage(cityId, 'city');
291
+ }
265
292
  }
266
293
  catch (error) {
267
294
  this.hasError = true;
@@ -297,7 +324,6 @@ const SallaDeliveryPromise = class {
297
324
  if (!this.cityModalRef)
298
325
  return;
299
326
  this.cityPendingSelection = null;
300
- this.modalSearchQuery = '';
301
327
  this.isCityPopoverOpen = false;
302
328
  await this.cityModalRef.setTitle(this.labels.changeCityTitle);
303
329
  await this.cityModalRef.open();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -169,12 +169,12 @@ const SallaFiltersWidget = class {
169
169
  return h("span", { class: "s-filters-option-name" }, label);
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: '033902f6f4ac283b8b501a175b6fdec7c585d68a', class: "s-filters-widget-container" }, h("h3", { key: '3f50c5d20c5563d291979dea0db9f69c72750d3f', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '4e7f263fc35260f641fb9d0291b26c09f9743a36' }, this.option.label), h("span", { key: '6658e86d8a637ac537f285a210d3d8f0e9279f9f', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '3a172b737bb88d2db6b43391cce2b02198fce61e', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: '91f8f4a00dfd05086ed8a385117dfc1d8eabea4c', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '87a25343561917b823b3b258aa9b8c8a1cb2a71a', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: '282b6b78bd7659134151aad4ec94c4cc2838c01c', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: 'fae3cf9b337d658bb6a9bee553cb487ecbd1be5f' }), this.option.type !== FilterOptionTypes.RANGE
172
+ return (h(Host, { key: '8a76246f5c11a950c79565c54579f23429d6aac7', class: "s-filters-widget-container" }, h("h3", { key: '77e5d39e32759bba2f4709843d799ca59f75aba0', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '9384511282a144b0f15e35c21b7fcc44db1b2acd' }, this.option.label), h("span", { key: 'd6582ecb12ed8dfa8077878617b44067b6647453', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '2bc04d2d6e7cc0adf38e66522e06eef5db3ed5b3', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: '49177c27ab9dec258cf73f20464359a73db90556', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: 'e2870973d51a1ef9ab843c4c90242fe973b3c398', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'fceb876a7c16ecd45da92d8cffe8afc8a8b66964', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '72c7212d72c11f592a076a6ee9a4e985857332b1' }), this.option.type !== FilterOptionTypes.RANGE
173
173
  ? this.renderFilterOption(this.option)
174
174
  : h("salla-price-range", { onChanged: (event) => {
175
175
  this.changed.emit(event.detail);
176
176
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
177
- h("a", { key: '005eedbbf498d86eb735231b754a8abf0aca77b5', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
177
+ h("a", { key: '81704b05fb989d0c88388a2e277832cb94dd73aa', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
178
178
  }
179
179
  get host() { return getElement(this); }
180
180
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -193,7 +193,7 @@ const SallaFilters = class {
193
193
  this.applyFilters();
194
194
  }
195
195
  render() {
196
- return h(Host, { key: 'b41c36d8512dcac97dbe3a75e5c1e0373673913d' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
196
+ return h(Host, { key: '61351c8402dc63b0b122c2e83d0fc6fe989febf3' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
197
197
  this.handleOptionChange(event, option, value);
198
198
  } })), this.filters?.length ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
199
199
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {
@@ -12,7 +12,7 @@ const SallaFulfillmentMethods = class {
12
12
  async componentDidLoad() {
13
13
  await Salla.onReady();
14
14
  await Salla.lang.onLoaded();
15
- if (!Salla.config.get('store.support_pickup'))
15
+ if (!Salla.config.get('store.shipping.support_pickup'))
16
16
  return;
17
17
  this.shouldRender = true;
18
18
  this.setLabels();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h } from './index-DR8BHH7X.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -554,7 +554,7 @@ const SallaGifting = class {
554
554
  }
555
555
  render() {
556
556
  return [
557
- h("div", { key: 'f20cc2c84e987b34bb862f72a8f639894ed4150e' }, h("salla-list-tile", { key: 'c52aa5e975f9ed1707c3175fa66109f447749ee7', class: this.generateClass() }, h("div", { key: '2bf7065f32132dde95dacfdea44e34c08cc4e61c', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '7a9a70b6841a708c322f5bb729e940e4da823261' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'c346f2baa8e6a1adf9b0f89e9b50d236e65116cb', slot: "subtitle" }, h("div", { key: '26c908af9687b0c77554054212f5c8251dc45bf3' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'f91bf3811c383773425af74941a2067e2f62dbb7', slot: "action" }, h("salla-button", { key: '0639c4b9cc4d81f300f6b087e1c10815b1610c75', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '06567fa7406ae6502e8f3211ecab6161c4a7e397', name: "widget-btn-content" }, h("div", { key: 'f895900d17947b006f6aef4695b855eba4737ed2', class: "s-gifting-widget-action-content" }, h("span", { key: 'bd3170b8efa2a0c95f61718afd69e5473adae20a', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'cdc3d1df35ad0e7334bc289f9fff2d312d709724' }, this.sectionBtnText)))))), h("salla-modal", { key: 'a98b913100edfa92156baeee766f6141818ebd8b', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '6b438c581e600cbcfeb5260bae8371a1fbefa29c', slot: "loading" }, h("div", { key: 'ada9e9bb0355755eade9ff7846334cb5ae093e6f', class: "s-gifting-skeleton" }, h("div", { key: '11d2e41b6acb933f5b006cc9f0b0b46470892c6a', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '141be7d6aa83fed682f8ab6a3708597dbb4dba11', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '65eba6244b5507397c8e50ef40f695e7eebe0b96', class: "s-gifting-modal-title" }, h("div", { key: '0f2488d19d2de0a728377b9f475b70073f6f196a', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: 'b648340418099246c8b83b308f116412fdb6cbc9', height: '15px', width: '150px' })))), h("div", { key: '8255e53b49f572ef3c4485cf7e84540dac019f89', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '0b05db8e76a9a53032b1643d8c4e223b8b641e30', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'c585bf04433e46ce8e89d9bfc3402faf4cfbb21a', height: '230px' }), h("salla-skeleton", { key: '0c09063b73e3aecb6a1879cdc93b60a6bcb9b2cc', height: '10px', width: '150px' }), h("salla-skeleton", { key: '88f55e5ffded2f784002b44e49f3ab2d22a7c067', height: '30px' }), h("salla-skeleton", { key: '6e1edd3b031f051ec24149ec690d2e4f04f9c557', height: '40px' })))), h("slot", { key: 'bff6a067b10a31c39f22e18c6bdf5a60f56ef116', name: "header" }), !!this.hasError ?
557
+ h("div", { key: '9eab09a8d191d1f268aa6c70b1cca83ed8e6bbbc' }, h("salla-list-tile", { key: 'c56c0c1430286a492fb7afaba27af031057d9112', class: this.generateClass() }, h("div", { key: 'e072712d90b16f10a5fb94cdf2590f702f519052', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '11ce3fb3d72e3533ca5d3ab6b24c848f854ca074' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'dbaaf141723d74ab0bc8953cd16b5693d155de88', slot: "subtitle" }, h("div", { key: '9496550746b51da10964afd16f0b14d1098e5963' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'a74eea478aedecd9f6db0e3f28ace121771d1e5b', slot: "action" }, h("salla-button", { key: '53db44ebad2924d8a785a658421c58d108f98c13', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: 'a1ad93eb3612332f0464735b20aa879268a6da66', name: "widget-btn-content" }, h("div", { key: '7f7cff081a3d8d5d53e29a7c65d2a9cf9ac897a5', class: "s-gifting-widget-action-content" }, h("span", { key: 'dd3beac6683c84511ec4ba048791fa019e1ea4af', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '4a1d029a931e051928565cec9ad821d041420a37' }, this.sectionBtnText)))))), h("salla-modal", { key: 'cddcacea4ba99a97286718a8fd2f9739393b73cf', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '252f2f5fe2848ca26fe9b6050bc47c96400d93ea', slot: "loading" }, h("div", { key: 'e8b933882138ed9c06a5ee31fc7a80f0f22857cb', class: "s-gifting-skeleton" }, h("div", { key: '587f61dc4e26b9cd7a634d37e638d59a4b32428d', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '6986dd5bb120de2e0a56e6a11566be8517a7de31', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: 'fa0dfd4b1faa9ce7c0e6a048a37fcc0edd209ef5', class: "s-gifting-modal-title" }, h("div", { key: '13d13831a3d3cf55e785fdc4153fd7f3ad4c818e', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '48a8933d1bef7c5a8e6c16f9ddd1ff2e95f1ac1f', height: '15px', width: '150px' })))), h("div", { key: '44686a2a7638c528fcd58855269b89af4d495a8d', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '45564ae54508c7f60332bcfc0b379bb4f35db9d4', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'ce4c13cb00ed12ee044932b2be4c11bb55067828', height: '230px' }), h("salla-skeleton", { key: '6682e113a5a1a5fdaf526b3003dc3d45698a4d61', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'cbaa18a09272ed058af2e4e8baa954fafd28508b', height: '30px' }), h("salla-skeleton", { key: '830b4ae7d3b1772b143dbf651baeecd211f880b7', height: '40px' })))), h("slot", { key: 'e7375a013b2dff74646ce289896dc340b0f5da9a', name: "header" }), !!this.hasError ?
558
558
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
559
559
  :
560
560
  [
@@ -574,7 +574,7 @@ const SallaGifting = class {
574
574
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
575
575
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
576
576
  h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: arrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
577
- ], h("slot", { key: '4cad8b174ab427e6f75b77357efc20e54d791ba4', name: "footer" })))
577
+ ], h("slot", { key: '123248e38585fd933c0221a9a3edc5601a4e0860', name: "footer" })))
578
578
  ];
579
579
  }
580
580
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -15,7 +15,7 @@ const SallaHook = class {
15
15
  this.host.before(element);
16
16
  }
17
17
  render() {
18
- return h(Host, { key: '2aa8c92dee7e62785fa0f45d967912ae8d6f96c0' });
18
+ return h(Host, { key: 'db4241e10923c84d9d15a816e6a080475be6a17d' });
19
19
  }
20
20
  async componentDidLoad() {
21
21
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -24,7 +24,7 @@ const SallaListTile = class {
24
24
  };
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '1f5e8a06d1c1aa0df00b09eec0c0a1efbf590748' }, h("a", { key: 'f9b772a03f745b07e2456cd74c73ab695f3754ff', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'e90d46a29df8ea298489deba9b88bc6f84ebd5aa', class: "s-list-tile-item-icon" }, h("slot", { key: 'a5c40e495d05b5d45bae8ed133eca034f439368d', name: 'icon' })), h("div", { key: '2ded5a53f567c8eddb05d24a5f59875d3a7ac1ac', class: "s-list-tile-item-content" }, h("div", { key: '80e6962e698223c893b40a4a62d8ce67aa3ab27c', class: "s-list-tile-item-title" }, h("slot", { key: '87f95d3ae826904a55e0e4724340f55344371789', name: 'title' })), h("div", { key: '7fc838f33b9e65ca8c9f11bce4b506aad7d7ecb1', class: "s-list-tile-item-subtitle" }, h("slot", { key: 'f936a3770d59d3b56287927a447df9c8fa697310', name: "subtitle" }))), h("div", { key: 'e974fd4591921468f4a882370303709718ef6e64', class: "s-list-tile-item-action" }, h("slot", { key: '9d2adb70f0c75b18474f0f05c99000327e081ce8', name: 'action' })))));
27
+ return (h(Host, { key: '0ac9ef86306a47377537bed3808b85212f9a291b' }, h("a", { key: '6913bab0f3df27f14c626b0dd97bd5a226b59408', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'b3eaea89b404802c9329be50f3172d29510af001', class: "s-list-tile-item-icon" }, h("slot", { key: 'd0e4b9b46ebe037eb7b937317eb1796dfe522105', name: 'icon' })), h("div", { key: 'd04c5a302dfc33f8107505d7037a22f892297b51', class: "s-list-tile-item-content" }, h("div", { key: '4d5610aaf77eff322ddd296f62840d6927625f0d', class: "s-list-tile-item-title" }, h("slot", { key: 'b9890a0fde7261a3cb60b7daeb3810dd72a3ef41', name: 'title' })), h("div", { key: '60ab7f2e78b8c0da2e1d8dd38aa50692906c7e3f', class: "s-list-tile-item-subtitle" }, h("slot", { key: 'a3a92374c4147c8795a7de8e6e9563fb27001293', name: "subtitle" }))), h("div", { key: '81732affeff85090c3084200d8d64c3231c9a123', class: "s-list-tile-item-action" }, h("slot", { key: '78d44f5dbadf156805d8b7ea3e484b7b250a1aa2', name: 'action' })))));
28
28
  }
29
29
  };
30
30
  SallaListTile.style = sallaListTileCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -207,7 +207,7 @@ const SallaLocalizationModal = class {
207
207
  this.showTrigger
208
208
  ? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
209
209
  : '',
210
- h("salla-modal", { key: '13b805dc33b57d433d4c35ad8217adef60b99ad5', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: 'b30239d0a20d15baccb6a5017493d91ae96c350c', slot: 'loading' }, h("div", { key: '94f7df4044f94612413f4818b110abae3c251075', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '63008e2fd90cfa4ce9ddbf313ffe718c520853ce', width: '25%', height: '15px' }), h("div", { key: '97f64f98e99c3cc2f099fa02469a2000c7eefc4c', 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: '230480a6cfaddab7fbe70a16041cf5fb8903c64a', width: '25%', height: '15px' }), h("div", { key: 'caf3e79cdbd04d5374365173212792abfe3d465b', 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: 'b48d02c6e7febad77dbd0d37e540d02d26265e8b', height: '40px', width: '100%' }))), !!this.hasError ?
210
+ h("salla-modal", { key: '8011ed27b369f621fd5892e80490a9702042c636', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '17c5aaf641a668e4c8f7f625a4bb16bbea692b03', slot: 'loading' }, h("div", { key: 'b3eac7d8561777d746749154fb144d07596f619e', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '881169d3ec98c4d425f1d4e6a07561f6cade2858', width: '25%', height: '15px' }), h("div", { key: '7ccb921af00f96eca06ad59eb4c0051c02ed694d', 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: 'ecbaea165f7dda315386c4ab8cdca46e1525a76a', width: '25%', height: '15px' }), h("div", { key: '5dcd81dd3e2017214e2139bbdc2602a970bdd5af', 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: '3d549108228ad0541e96dec40f072ba6f105fbd6', height: '40px', width: '100%' }))), !!this.hasError ?
211
211
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
212
212
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
213
213
  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 { r as registerInstance, h, F as Fragment, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DR8BHH7X.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-2RfKl9ZG.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DR8BHH7X.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-DjHV13KA.js';
7
+ import { T as TrackedPromise } from './tracked-promise-BTkBmrok.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10