@salla.sa/twilight-components 2.14.471 → 2.14.473

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 (489) hide show
  1. package/dist/cjs/{filepond-nQfoJi-g.js → filepond-DF-VYUP5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-hJ9M3t0L.js → filepond-plugin-file-poster-B8FcQifC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CgpDoJxO.js → filepond-plugin-file-validate-size-C5ZOfv1L.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B2KbrSbZ.js → filepond-plugin-file-validate-type-BlcUL1dr.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BkNqlXrL.js → filepond-plugin-image-edit-DIHIWf88.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-P3Zfw8MQ.js → filepond-plugin-image-exif-orientation-B8rtOoT0.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CNXFmZth.js → filepond-plugin-image-preview-Cx9Hoc_r.js} +1 -1
  8. package/dist/cjs/{functions-B8CHu2z4.js → functions-C0S9XWNH.js} +1 -1
  9. package/dist/cjs/{index-CPhoxBkB.js → index-BPV9S3bR.js} +1 -1
  10. package/dist/cjs/{index-GUQS0-Q-.js → index-DJgq03oj.js} +11 -15
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +4 -4
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +3 -3
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +333 -21
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +4 -4
  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 +2 -2
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +18 -18
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  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-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +5 -5
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  34. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  37. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -9
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/{salla-map.cjs.entry.js → salla-map_2.cjs.entry.js} +70 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/{salla-product-card_2.cjs.entry.js → salla-order-options-modal_3.cjs.entry.js} +209 -6
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  84. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  100. package/dist/cjs/{tracked-promise-B7zS9VE-.js → tracked-promise-DIJ49IFk.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-1QrQ9HZi.js → vanilla-picker-CNKa7uqT.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-accordion/salla-accordion-body.js +1 -1
  105. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  106. package/dist/collection/components/salla-accordion/salla-accordion.js +1 -1
  107. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +10 -0
  108. package/dist/collection/components/salla-alert/salla-alert.js +1 -1
  109. package/dist/collection/components/salla-badge/salla-badge.js +1 -1
  110. package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
  111. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
  112. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  113. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  114. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  115. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  116. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  117. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  118. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  119. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  120. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  121. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  122. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  123. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  124. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  125. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  126. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  127. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  128. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  129. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  130. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  131. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  132. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  133. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  135. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  136. package/dist/collection/components/salla-map/salla-map.js +3 -3
  137. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  138. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  139. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  140. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  141. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  142. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  143. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  144. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  145. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  146. package/dist/collection/components/salla-order-options-modal/apple-pay-order-options.js +84 -0
  147. package/dist/collection/components/salla-order-options-modal/order-options-gate.js +136 -0
  148. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.css +35 -0
  149. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.js +282 -0
  150. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  151. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  152. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  153. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  154. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  155. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  156. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  157. package/dist/collection/components/salla-product-options/salla-product-options.js +65 -2
  158. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  159. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  160. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +70 -16
  161. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  162. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  163. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  164. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  165. package/dist/collection/components/salla-search/salla-search.js +5 -5
  166. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  167. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  168. package/dist/collection/components/salla-social/salla-social.js +1 -1
  169. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  170. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  171. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  172. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  173. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  174. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  175. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  176. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  177. package/dist/components/index.js +3 -3
  178. package/dist/components/index2.js +2540 -1699
  179. package/dist/components/index3.js +1699 -2540
  180. package/dist/components/location.js +2 -2
  181. package/dist/components/salla-accordion-body2.js +1 -1
  182. package/dist/components/salla-accordion-head2.js +2 -2
  183. package/dist/components/salla-accordion2.js +1 -1
  184. package/dist/components/salla-add-product-button2.js +205 -8
  185. package/dist/components/salla-alert.js +1 -1
  186. package/dist/components/salla-badge2.js +1 -1
  187. package/dist/components/salla-booking-field2.js +1 -1
  188. package/dist/components/salla-bottom-alert.js +2 -2
  189. package/dist/components/salla-bullet-delivery.js +3 -3
  190. package/dist/components/salla-cart-coupons.js +1 -1
  191. package/dist/components/salla-cart-summary.js +1 -1
  192. package/dist/components/salla-color-picker2.js +1 -1
  193. package/dist/components/salla-comment-form2.js +1 -1
  194. package/dist/components/salla-conditional-fields2.js +1 -1
  195. package/dist/components/salla-count-down2.js +1 -1
  196. package/dist/components/salla-datetime-picker2.js +2 -2
  197. package/dist/components/salla-file-upload2.js +2 -2
  198. package/dist/components/salla-filters-widget2.js +2 -2
  199. package/dist/components/salla-filters.js +1 -1
  200. package/dist/components/salla-gifting.js +2 -2
  201. package/dist/components/salla-hook.js +1 -1
  202. package/dist/components/salla-list-tile2.js +1 -1
  203. package/dist/components/salla-loading2.js +1 -1
  204. package/dist/components/salla-localization-modal.js +1 -1
  205. package/dist/components/salla-loyalty-hero2.js +3 -3
  206. package/dist/components/salla-loyalty-panel.js +66 -18
  207. package/dist/components/salla-loyalty-point2.js +6 -6
  208. package/dist/components/salla-loyalty-points-history.js +1 -1
  209. package/dist/components/salla-loyalty-prize-item.js +1 -1
  210. package/dist/components/salla-loyalty-program.js +68 -20
  211. package/dist/components/salla-loyalty-reward.js +2 -2
  212. package/dist/components/salla-maintenance-alert.js +1 -1
  213. package/dist/components/salla-map2.js +4 -4
  214. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  215. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  216. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  217. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  218. package/dist/components/salla-multiple-bundle-product.js +1 -1
  219. package/dist/components/salla-notification-item2.js +1 -1
  220. package/dist/components/salla-offer-modal.js +65 -17
  221. package/dist/components/salla-order-details.js +1 -1
  222. package/dist/components/salla-order-edit-product-card.js +1 -1
  223. package/dist/components/salla-order-options-modal.d.ts +11 -0
  224. package/dist/components/salla-order-options-modal.js +9 -0
  225. package/dist/components/salla-order-options-modal2.js +303 -0
  226. package/dist/components/salla-order-summary.js +1 -1
  227. package/dist/components/salla-payments.js +2 -2
  228. package/dist/components/salla-placeholder2.js +1 -1
  229. package/dist/components/salla-price-range2.js +2 -2
  230. package/dist/components/salla-product-availability2.js +1 -1
  231. package/dist/components/salla-product-card-embed.js +1 -1
  232. package/dist/components/salla-product-card2.js +65 -17
  233. package/dist/components/salla-product-options2.js +30 -2
  234. package/dist/components/salla-product-size-guide.js +2 -2
  235. package/dist/components/salla-products-slider2.js +62 -14
  236. package/dist/components/salla-quantity-input2.js +1 -1
  237. package/dist/components/salla-quick-buy2.js +233 -18
  238. package/dist/components/salla-review-card2.js +1 -1
  239. package/dist/components/salla-reviews-page.js +1 -1
  240. package/dist/components/salla-reviews.js +1 -1
  241. package/dist/components/salla-reward-card2.js +1 -1
  242. package/dist/components/salla-reward-details2.js +67 -19
  243. package/dist/components/salla-reward-exchange2.js +3 -3
  244. package/dist/components/salla-scopes.js +1 -1
  245. package/dist/components/salla-search.js +5 -5
  246. package/dist/components/salla-searchable-dropdown2.js +4 -4
  247. package/dist/components/salla-skeleton2.js +1 -1
  248. package/dist/components/salla-social-share2.js +1 -1
  249. package/dist/components/salla-social.js +1 -1
  250. package/dist/components/salla-tab-content2.js +1 -1
  251. package/dist/components/salla-tab-header2.js +1 -1
  252. package/dist/components/salla-tabs2.js +1 -1
  253. package/dist/components/salla-tel-input2.js +2 -2
  254. package/dist/components/salla-tooltip2.js +1 -1
  255. package/dist/components/salla-user-settings.js +1 -1
  256. package/dist/components/salla-wishlist-actions.js +1 -1
  257. package/dist/esm/{filepond-Doklzvb6.js → filepond-Cc2a-xwm.js} +1 -1
  258. package/dist/esm/{filepond-plugin-file-poster-BSBF1f0z.js → filepond-plugin-file-poster-CVvn-hU7.js} +1 -1
  259. package/dist/esm/{filepond-plugin-file-validate-size-CbaXmA8m.js → filepond-plugin-file-validate-size-BBkz8yb5.js} +1 -1
  260. package/dist/esm/{filepond-plugin-file-validate-type-FjPelZ0O.js → filepond-plugin-file-validate-type-DF6Zozrn.js} +1 -1
  261. package/dist/esm/{filepond-plugin-image-edit-BmG7tc8Q.js → filepond-plugin-image-edit-CEMvhtPw.js} +1 -1
  262. package/dist/esm/{filepond-plugin-image-exif-orientation-DhRt-kLt.js → filepond-plugin-image-exif-orientation-_wEWvdti.js} +1 -1
  263. package/dist/esm/{filepond-plugin-image-preview-DZ2XM7gt.js → filepond-plugin-image-preview-BBJorulx.js} +1 -1
  264. package/dist/esm/{functions-_-9PUSBv.js → functions-BBBDsaIv.js} +1 -1
  265. package/dist/esm/{index-Cly9a4nm.js → index-BvYTcqJt.js} +11 -15
  266. package/dist/esm/{index-CJ2jUKh4.js → index-DBdw4BKt.js} +1 -1
  267. package/dist/esm/loader.js +3 -3
  268. package/dist/esm/salla-accordion-body_2.entry.js +4 -4
  269. package/dist/esm/salla-accordion_6.entry.js +3 -3
  270. package/dist/esm/salla-add-product-button_5.entry.js +333 -21
  271. package/dist/esm/salla-advertisement.entry.js +1 -1
  272. package/dist/esm/salla-alert_2.entry.js +4 -4
  273. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  274. package/dist/esm/salla-apps-icons.entry.js +1 -1
  275. package/dist/esm/salla-badge.entry.js +2 -2
  276. package/dist/esm/salla-booking-field_7.entry.js +18 -18
  277. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  278. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  279. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  280. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  281. package/dist/esm/salla-comment-form_8.entry.js +5 -5
  282. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  283. package/dist/esm/salla-contacts.entry.js +1 -1
  284. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  285. package/dist/esm/salla-count-down.entry.js +2 -2
  286. package/dist/esm/salla-custom-fields.entry.js +1 -1
  287. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  288. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  289. package/dist/esm/salla-filters-widget.entry.js +3 -3
  290. package/dist/esm/salla-filters.entry.js +2 -2
  291. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  292. package/dist/esm/salla-gifting.entry.js +3 -3
  293. package/dist/esm/salla-hook.entry.js +2 -2
  294. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  295. package/dist/esm/salla-installment.entry.js +1 -1
  296. package/dist/esm/salla-list-tile.entry.js +2 -2
  297. package/dist/esm/salla-localization-modal.entry.js +2 -2
  298. package/dist/esm/salla-login-modal.entry.js +1 -1
  299. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  300. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -9
  301. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  302. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  303. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  304. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  305. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  306. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  307. package/dist/esm/salla-loyalty.entry.js +1 -1
  308. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  309. package/dist/esm/{salla-map.entry.js → salla-map_2.entry.js} +70 -5
  310. package/dist/esm/salla-menu.entry.js +1 -1
  311. package/dist/esm/salla-metadata.entry.js +1 -1
  312. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  313. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  314. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  315. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  316. package/dist/esm/salla-notification-item.entry.js +2 -2
  317. package/dist/esm/salla-notifications.entry.js +1 -1
  318. package/dist/esm/salla-offer-modal.entry.js +2 -2
  319. package/dist/esm/salla-offer.entry.js +1 -1
  320. package/dist/esm/salla-order-branch.entry.js +1 -1
  321. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  322. package/dist/esm/salla-order-details-options.entry.js +1 -1
  323. package/dist/esm/salla-order-details.entry.js +2 -2
  324. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  325. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  326. package/dist/esm/salla-order-edit.entry.js +1 -1
  327. package/dist/esm/{salla-product-card_2.entry.js → salla-order-options-modal_3.entry.js} +209 -7
  328. package/dist/esm/salla-order-summary.entry.js +2 -2
  329. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  330. package/dist/esm/salla-orders.entry.js +1 -1
  331. package/dist/esm/salla-payments.entry.js +3 -3
  332. package/dist/esm/salla-placeholder.entry.js +2 -2
  333. package/dist/esm/salla-price-range.entry.js +3 -3
  334. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  335. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  336. package/dist/esm/salla-products-list.entry.js +1 -1
  337. package/dist/esm/salla-quick-order.entry.js +1 -1
  338. package/dist/esm/salla-rating-modal.entry.js +1 -1
  339. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  340. package/dist/esm/salla-scopes.entry.js +2 -2
  341. package/dist/esm/salla-search.entry.js +6 -6
  342. package/dist/esm/salla-skeleton.entry.js +2 -2
  343. package/dist/esm/salla-slider.entry.js +1 -1
  344. package/dist/esm/salla-social-share.entry.js +2 -2
  345. package/dist/esm/salla-social.entry.js +2 -2
  346. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  347. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  348. package/dist/esm/salla-tooltip.entry.js +2 -2
  349. package/dist/esm/salla-trust-badges.entry.js +1 -1
  350. package/dist/esm/salla-user-menu.entry.js +1 -1
  351. package/dist/esm/salla-user-profile.entry.js +1 -1
  352. package/dist/esm/salla-user-settings.entry.js +2 -2
  353. package/dist/esm/salla-verify.entry.js +1 -1
  354. package/dist/esm/salla-wallet.entry.js +1 -1
  355. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  356. package/dist/esm/{tracked-promise-CdJOz1H_.js → tracked-promise-C7-gtg6R.js} +1 -1
  357. package/dist/esm/twilight.js +3 -3
  358. package/dist/esm/{vanilla-picker-B7uhKtBD.js → vanilla-picker-h7cuUJLx.js} +1 -1
  359. package/dist/twilight/{p-6ba653dc.entry.js → p-02a6d0fb.entry.js} +1 -1
  360. package/dist/twilight/{p-821fd8c1.entry.js → p-02d1b1e4.entry.js} +1 -1
  361. package/dist/twilight/{p-f6435c3c.entry.js → p-0bafc5c6.entry.js} +1 -1
  362. package/dist/twilight/{p-25f7fbc1.entry.js → p-0db3276e.entry.js} +1 -1
  363. package/dist/twilight/{p-44abf289.entry.js → p-10112e2a.entry.js} +1 -1
  364. package/dist/twilight/{p-b555a4aa.entry.js → p-12ef0ea1.entry.js} +1 -1
  365. package/dist/twilight/{p-c992256d.entry.js → p-172507f7.entry.js} +1 -1
  366. package/dist/twilight/{p-d07ee0d6.entry.js → p-1a27621a.entry.js} +1 -1
  367. package/dist/twilight/{p-d7f528c7.entry.js → p-1ac87c89.entry.js} +1 -1
  368. package/dist/twilight/p-1b389414.entry.js +4 -0
  369. package/dist/twilight/{p-b0f0d7bc.entry.js → p-20bfcf23.entry.js} +1 -1
  370. package/dist/twilight/p-26913396.entry.js +4 -0
  371. package/dist/twilight/{p-ef345c2c.entry.js → p-2b14b3f3.entry.js} +1 -1
  372. package/dist/twilight/{p-aae74199.entry.js → p-2c53dc35.entry.js} +1 -1
  373. package/dist/twilight/p-2d6cdaca.entry.js +4 -0
  374. package/dist/twilight/{p-c5613717.entry.js → p-2e8e84ec.entry.js} +1 -1
  375. package/dist/twilight/p-347a0bc6.entry.js +4 -0
  376. package/dist/twilight/{p-f2d0b9d1.entry.js → p-36e0424f.entry.js} +1 -1
  377. package/dist/twilight/{p-14ca32a2.entry.js → p-3ca06dc9.entry.js} +1 -1
  378. package/dist/twilight/p-409d1c48.entry.js +4 -0
  379. package/dist/twilight/{p-55b21f9b.entry.js → p-43a49707.entry.js} +1 -1
  380. package/dist/twilight/{p-72bc753c.entry.js → p-43dcb630.entry.js} +1 -1
  381. package/dist/twilight/{p-92961807.entry.js → p-4a642821.entry.js} +1 -1
  382. package/dist/twilight/p-4b2da30b.entry.js +4 -0
  383. package/dist/twilight/{p-08d2e056.entry.js → p-4c3512d8.entry.js} +1 -1
  384. package/dist/twilight/{p-16c9b4bd.entry.js → p-505f467c.entry.js} +1 -1
  385. package/dist/twilight/{p-f9c1c247.entry.js → p-561b321b.entry.js} +1 -1
  386. package/dist/twilight/{p-130b525c.entry.js → p-565fded6.entry.js} +1 -1
  387. package/dist/twilight/{p-8d26f80c.entry.js → p-57de30fb.entry.js} +1 -1
  388. package/dist/twilight/{p-6efce4b0.entry.js → p-5d116914.entry.js} +1 -1
  389. package/dist/twilight/{p-b96e442c.entry.js → p-5f1b8cda.entry.js} +1 -1
  390. package/dist/twilight/{p-99b127fa.entry.js → p-5fdbcf21.entry.js} +1 -1
  391. package/dist/twilight/{p-8c404dbf.entry.js → p-626e7c74.entry.js} +1 -1
  392. package/dist/twilight/{p-b07f1925.entry.js → p-62af7fab.entry.js} +1 -1
  393. package/dist/twilight/{p-c5f3b4e2.entry.js → p-63bfe890.entry.js} +1 -1
  394. package/dist/twilight/{p-68fa9305.entry.js → p-63c5f850.entry.js} +1 -1
  395. package/dist/twilight/{p-c9b37b12.entry.js → p-64125d86.entry.js} +1 -1
  396. package/dist/twilight/p-6852a160.entry.js +4 -0
  397. package/dist/twilight/{p-63be9782.entry.js → p-690179d6.entry.js} +1 -1
  398. package/dist/twilight/{p-48e85ee2.entry.js → p-6d7ca81e.entry.js} +1 -1
  399. package/dist/twilight/{p-5ca57591.entry.js → p-713caf18.entry.js} +1 -1
  400. package/dist/twilight/p-75ad8a25.entry.js +4 -0
  401. package/dist/twilight/p-766edfdb.entry.js +4 -0
  402. package/dist/twilight/{p-39ff606c.entry.js → p-79404c8b.entry.js} +2 -2
  403. package/dist/twilight/{p-820ee5fe.entry.js → p-7fa80e17.entry.js} +1 -1
  404. package/dist/twilight/{p-03d28343.entry.js → p-85235650.entry.js} +1 -1
  405. package/dist/twilight/{p-a47dccd1.entry.js → p-872f4155.entry.js} +1 -1
  406. package/dist/twilight/{p-5c0d795c.entry.js → p-8a69f56f.entry.js} +1 -1
  407. package/dist/twilight/{p-86469c65.entry.js → p-8d6cb487.entry.js} +1 -1
  408. package/dist/twilight/{p-e12da840.entry.js → p-8f727396.entry.js} +1 -1
  409. package/dist/twilight/{p-005ac762.entry.js → p-903be582.entry.js} +1 -1
  410. package/dist/twilight/p-9724ace4.entry.js +4 -0
  411. package/dist/twilight/{p-5b8adb19.entry.js → p-973d67f0.entry.js} +1 -1
  412. package/dist/twilight/{p-288572d0.entry.js → p-9b1a2d78.entry.js} +1 -1
  413. package/dist/twilight/{p-47080690.entry.js → p-9c1c330e.entry.js} +1 -1
  414. package/dist/twilight/{p-BpiX36Sb.js → p-B2CF2lN-.js} +1 -1
  415. package/dist/twilight/{p-DhE0-1Aj.js → p-BHzGNcA4.js} +1 -1
  416. package/dist/twilight/{p-CkxoydBy.js → p-BS11nowL.js} +1 -1
  417. package/dist/twilight/p-BvYTcqJt.js +5 -0
  418. package/dist/twilight/p-BxXc6A1m.js +4 -0
  419. package/dist/twilight/{p-b9tXSwoW.js → p-CHrBNGs5.js} +1 -1
  420. package/dist/twilight/{p-DGWMOt94.js → p-CJS9vbeu.js} +1 -1
  421. package/dist/twilight/{p-BUcuXVwN.js → p-CmGMQMtZ.js} +1 -1
  422. package/dist/twilight/{p-D3bGV5Yn.js → p-DmME9lcL.js} +2 -2
  423. package/dist/twilight/{p-79c2cc3c.entry.js → p-a111fd6b.entry.js} +1 -1
  424. package/dist/twilight/{p-0b6d87a5.entry.js → p-a41ae15a.entry.js} +1 -1
  425. package/dist/twilight/{p-db2d9d1c.entry.js → p-a7f1b164.entry.js} +1 -1
  426. package/dist/twilight/{p-84207e00.entry.js → p-ac7d5fe8.entry.js} +1 -1
  427. package/dist/twilight/{p-7343e9d9.entry.js → p-aed3d1bd.entry.js} +1 -1
  428. package/dist/twilight/{p-5fe6ac53.entry.js → p-af2bca8a.entry.js} +1 -1
  429. package/dist/twilight/{p-195589ec.entry.js → p-aff80494.entry.js} +1 -1
  430. package/dist/twilight/{p-7874b654.entry.js → p-b1530d6c.entry.js} +1 -1
  431. package/dist/twilight/p-b74bbd9c.entry.js +4 -0
  432. package/dist/twilight/p-b88fbbfd.entry.js +4 -0
  433. package/dist/twilight/{p-7ee71548.entry.js → p-b8c19702.entry.js} +1 -1
  434. package/dist/twilight/{p-cdb0e80a.entry.js → p-ba804ca0.entry.js} +1 -1
  435. package/dist/twilight/{p-1938ad27.entry.js → p-cb50c59b.entry.js} +1 -1
  436. package/dist/twilight/{p-05fdfdc9.entry.js → p-cd4bda55.entry.js} +1 -1
  437. package/dist/twilight/{p-05266229.entry.js → p-cf6b998d.entry.js} +1 -1
  438. package/dist/twilight/{p-b8b3c0fc.entry.js → p-d114ced5.entry.js} +1 -1
  439. package/dist/twilight/{p-96825a64.entry.js → p-d14ebc79.entry.js} +1 -1
  440. package/dist/twilight/{p-20afc879.entry.js → p-d748ad00.entry.js} +1 -1
  441. package/dist/twilight/{p-6838ec3a.entry.js → p-d8a538bf.entry.js} +1 -1
  442. package/dist/twilight/{p-4ba3ebb1.entry.js → p-d9e2307e.entry.js} +1 -1
  443. package/dist/twilight/{p-af970c82.entry.js → p-da110487.entry.js} +1 -1
  444. package/dist/twilight/{p-8aca6bc0.entry.js → p-db8d96c0.entry.js} +1 -1
  445. package/dist/twilight/p-dda2ddb4.entry.js +4 -0
  446. package/dist/twilight/p-e064190f.entry.js +4 -0
  447. package/dist/twilight/{p-4d368d57.entry.js → p-e0fd80dd.entry.js} +1 -1
  448. package/dist/twilight/{p-fa0ebde1.entry.js → p-e236a0b1.entry.js} +1 -1
  449. package/dist/twilight/p-e7461334.entry.js +4 -0
  450. package/dist/twilight/{p-06a0b408.entry.js → p-ea9a3921.entry.js} +1 -1
  451. package/dist/twilight/{p-2d235234.entry.js → p-eca2632e.entry.js} +1 -1
  452. package/dist/twilight/{p-dab62284.entry.js → p-ed956a6b.entry.js} +1 -1
  453. package/dist/twilight/{p-eb767e28.entry.js → p-f847be9e.entry.js} +1 -1
  454. package/dist/twilight/{p-a74197ee.entry.js → p-fc62fb58.entry.js} +1 -1
  455. package/dist/twilight/p-fe673ecd.entry.js +4 -0
  456. package/dist/twilight/p-rsjNE_Z-.js +9 -0
  457. package/dist/twilight/{p-bo_zr0My.js → p-sMRr4fbT.js} +1 -1
  458. package/dist/twilight/{p-C-NwbNqh.js → p-xEQ--NDX.js} +1 -1
  459. package/dist/twilight/twilight.esm.js +1 -1
  460. package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +2 -0
  461. package/dist/types/components/salla-order-options-modal/apple-pay-order-options.d.ts +26 -0
  462. package/dist/types/components/salla-order-options-modal/order-options-gate.d.ts +23 -0
  463. package/dist/types/components/salla-order-options-modal/salla-order-options-modal.d.ts +66 -0
  464. package/dist/types/components/salla-product-options/salla-product-options.d.ts +12 -0
  465. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +14 -0
  466. package/dist/types/components.d.ts +62 -0
  467. package/package.json +5 -5
  468. package/dist/cjs/salla-progress-bar.cjs.entry.js +0 -73
  469. package/dist/esm/salla-progress-bar.entry.js +0 -71
  470. package/dist/twilight/p-00f3a2ec.entry.js +0 -4
  471. package/dist/twilight/p-0e9ae0e0.entry.js +0 -4
  472. package/dist/twilight/p-39426e43.entry.js +0 -4
  473. package/dist/twilight/p-40e2fc5f.entry.js +0 -4
  474. package/dist/twilight/p-46b4c12f.entry.js +0 -4
  475. package/dist/twilight/p-5971669a.entry.js +0 -4
  476. package/dist/twilight/p-654af42c.entry.js +0 -4
  477. package/dist/twilight/p-7e4e3e76.entry.js +0 -4
  478. package/dist/twilight/p-7efa0246.entry.js +0 -4
  479. package/dist/twilight/p-8e121e7c.entry.js +0 -4
  480. package/dist/twilight/p-98f0f411.entry.js +0 -4
  481. package/dist/twilight/p-9b7ad2bd.entry.js +0 -4
  482. package/dist/twilight/p-9ddfdc65.entry.js +0 -4
  483. package/dist/twilight/p-CWrfZ9Qs.js +0 -9
  484. package/dist/twilight/p-CXgdON62.js +0 -4
  485. package/dist/twilight/p-Cly9a4nm.js +0 -5
  486. package/dist/twilight/p-a900af64.entry.js +0 -4
  487. package/dist/twilight/p-c184157a.entry.js +0 -4
  488. package/dist/twilight/p-f5969e58.entry.js +0 -4
  489. package/dist/twilight/p-fbf4cb19.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- var Location = `<svg width="13" height="15" viewBox="0 0 13 15" fill="none" xmlns="http://www.w3.org/2000/svg">
4
+ var SILocation = `<svg width="13" height="15" viewBox="0 0 13 15" fill="none" xmlns="http://www.w3.org/2000/svg">
5
5
  <path
6
6
  d="M7.57877 13.4113C7.28964 13.682 6.9032 13.8333 6.50102 13.8333C6.09884 13.8333 5.7124 13.682 5.42327 13.4113C2.77562 10.9173 -0.77255 8.13128 0.957787 4.08644C1.89336 1.89944 4.13917 0.5 6.50102 0.5C8.86287 0.5 11.1087 1.89944 12.0443 4.08644C13.7724 8.12618 10.233 10.9259 7.57877 13.4113Z"
7
7
  stroke="currentColor" />
@@ -11,4 +11,4 @@ var Location = `<svg width="13" height="15" viewBox="0 0 13 15" fill="none" xmln
11
11
  </svg>
12
12
  `;
13
13
 
14
- export { Location as L };
14
+ export { SILocation as S };
@@ -11,7 +11,7 @@ const SallaAccordionBody = /*@__PURE__*/ proxyCustomElement(class SallaAccordion
11
11
  this.__registerHost();
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '298d42a5bf1bcefdb181ec35060220cf749b56ed', class: "s-accordion-body-wrapper" }, h("slot", { key: '6ab081e8b71b5dc69fb66fbdec82b4725ab53b0d' })));
14
+ return (h(Host, { key: '6407cbdb46897f683d1339287bcd0dc0df3dd409', class: "s-accordion-body-wrapper" }, h("slot", { key: 'ca050dff0df1dbee3d42a35582386829390dbdd3' })));
15
15
  }
16
16
  static get style() { return sallaAccordionBodyCss; }
17
17
  }, [4, "salla-accordion-body"]);
@@ -34,13 +34,13 @@ const SallaAccordionHead = /*@__PURE__*/ proxyCustomElement(class SallaAccordion
34
34
  this.emitCollapsePanel();
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '9d88d243306cdf451c20d7068fbb9f48807b22e9', "data-collapsed": this.collapsed.toString(), onClick: () => this.toggleCollapse(), class: "s-accordion-head-wrapper" }, h("div", { key: 'bad4c5a913ce1c4581b09c0b6d96fcbdb4236638', class: "s-accordion-head-wrapper-start" }, h("slot", { key: 'acb83cec8cbca5771a9f84e81c0b955c3edad731', name: "title" }), h("slot", { key: 'a4ad42ea6fad4f452c4c218a9ee02dca0adb4a67', name: "progress" }), h("slot", { key: '96ab95d413dc906ac299079f4008816f01881990', name: "html" })), (this.collapsible || this.host.querySelector('[slot="note"]')) && (h("div", { key: '8f9666a5038cd7b1ac6e357c6920ea26d31c5f03', class: "s-accordion-head-wrapper-end" }, h("slot", { key: '14895e8c1385e91c14f046c9ae38ce5e4a4c9a60', name: "note" }), this.collapsible && (h("button", { key: '97dc7fabbb207fcc8b68ebf0a86f6c8a980dca13', class: {
37
+ return (h(Host, { key: '8fea8adefb7bd0b6aa4d88be25cb4e3f62bd4b0c', "data-collapsed": this.collapsed.toString(), onClick: () => this.toggleCollapse(), class: "s-accordion-head-wrapper" }, h("div", { key: 'd64952e2ec87c3f4de27f85800a0659b8cfbe08b', class: "s-accordion-head-wrapper-start" }, h("slot", { key: '876bb377bef979afdb3b88e35d66ebe95e90ada8', name: "title" }), h("slot", { key: 'b2a81aa92c0032098dd271931933679815660e6d', name: "progress" }), h("slot", { key: '9df2e816a0308cdd632bf13a7f16b553b5e877c2', name: "html" })), (this.collapsible || this.host.querySelector('[slot="note"]')) && (h("div", { key: '06f75d18708331176cdb1c80fd67dae352bd0550', class: "s-accordion-head-wrapper-end" }, h("slot", { key: '04c7b9f174b6fff7aed4b1a045f160c4b11bbf55', name: "note" }), this.collapsible && (h("button", { key: '311aa1946afea02eb64b1c8e15c7e2fe97c76ecf', class: {
38
38
  's-accordion-head-wrapper-toggle': true,
39
39
  active: !this.collapsed,
40
40
  }, onClick: e => {
41
41
  e.stopPropagation();
42
42
  this.toggleCollapse();
43
- } }, h("span", { key: '3b24faf71dcd332663a354310b2ce09f7879eddc', class: "s-accordion-head-wrapper-toggle-icon", innerHTML: this.collapsed ? Add : Minus })))))));
43
+ } }, h("span", { key: '9758c580c6ca64c88079a76c0775ec727e0c488f', class: "s-accordion-head-wrapper-toggle-icon", innerHTML: this.collapsed ? Add : Minus })))))));
44
44
  }
45
45
  get host() { return this; }
46
46
  static get style() { return sallaAccordionHeadCss; }
@@ -42,7 +42,7 @@ const SallaAccordion = /*@__PURE__*/ proxyCustomElement(class SallaAccordion ext
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'fb12197f13d8836304bfebb14400c79c8c4d31f0', class: `s-accordion-wrapper ${this.dir} ${this.bordered ? 's-accordion-wrapper-bordered' : ''} ${this.size ? `size-${this.size}` : ''}`, "data-collapsed": this.collapsed.toString() }, h("slot", { key: '460e8d7238bf9f014fe0bbb6c0da592c8cb3e15e' })));
45
+ return (h(Host, { key: '1ea35adcb3558cad1c5e675ed7330e3859c31d20', class: `s-accordion-wrapper ${this.dir} ${this.bordered ? 's-accordion-wrapper-bordered' : ''} ${this.size ? `size-${this.size}` : ''}`, "data-collapsed": this.collapsed.toString() }, h("slot", { key: '596f47501e2080874cd28a304bc55b88409699cf' })));
46
46
  }
47
47
  get host() { return this; }
48
48
  static get style() { return sallaAccordionCss; }
@@ -4,10 +4,19 @@
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
5
  import { P as PendingOrdersIcon } from './cart.js';
6
6
  import { H as Helper } from './Helper.js';
7
- import { d as defineCustomElement$6 } from './salla-button2.js';
8
- import { d as defineCustomElement$5 } from './salla-loading2.js';
9
- import { d as defineCustomElement$4 } from './salla-modal2.js';
10
- import { d as defineCustomElement$3 } from './salla-product-availability2.js';
7
+ import { d as defineCustomElement$f } from './salla-booking-field2.js';
8
+ import { d as defineCustomElement$e } from './salla-button2.js';
9
+ import { d as defineCustomElement$d } from './salla-color-picker2.js';
10
+ import { d as defineCustomElement$c } from './salla-conditional-fields2.js';
11
+ import { d as defineCustomElement$b } from './salla-datetime-picker2.js';
12
+ import { d as defineCustomElement$a } from './salla-file-upload2.js';
13
+ import { d as defineCustomElement$9 } from './salla-loading2.js';
14
+ import { d as defineCustomElement$8 } from './salla-map2.js';
15
+ import { d as defineCustomElement$7 } from './salla-modal2.js';
16
+ import { d as defineCustomElement$6 } from './salla-order-options-modal2.js';
17
+ import { d as defineCustomElement$5 } from './salla-product-availability2.js';
18
+ import { d as defineCustomElement$4 } from './salla-product-options2.js';
19
+ import { d as defineCustomElement$3 } from './salla-progress-bar2.js';
11
20
  import { d as defineCustomElement$2 } from './salla-quick-buy2.js';
12
21
  import { d as defineCustomElement$1 } from './salla-tel-input2.js';
13
22
 
@@ -18,6 +27,140 @@ var WalletIcon = `<!-- Generated by IcoMoon.io -->
18
27
  </svg>
19
28
  `;
20
29
 
30
+ /**
31
+ * Order-options gate for the fast-checkout widget — keeps <salla-add-product-button> thin.
32
+ * Intercepts the widget click → runs the order-options modal → injects the result → re-fires the click.
33
+ */
34
+ const PRODUCT_FORM_SELECTOR = 'form.product-form';
35
+ class OrderOptionsGate {
36
+ constructor(host, productId) {
37
+ this.host = host;
38
+ this.productId = productId;
39
+ /** True on the re-fired click so it passes through instead of re-gating. */
40
+ this.collected = false;
41
+ /** Live PDP price (one onPriceUpdated subscription per widget). */
42
+ this.livePrice = 0;
43
+ }
44
+ /** Attach once to the widget. Returns false when there's no widget (e.g. product cards) so the caller retries. */
45
+ static attach(host, productId) {
46
+ const widget = host.querySelector('salla-mini-checkout-widget');
47
+ if (!widget)
48
+ return false;
49
+ const gate = new OrderOptionsGate(host, String(productId));
50
+ // One subscription per widget (PDP only) — no per-card leak.
51
+ salla.product?.event?.onPriceUpdated?.((response) => {
52
+ gate.livePrice = Number(response?.data?.price) || gate.livePrice;
53
+ });
54
+ widget.addEventListener('click', (event) => gate.handleWidgetClick(event, widget), true);
55
+ return true;
56
+ }
57
+ /** Quantity from the same form the widget submits (PRODUCT_FORM_SELECTOR), not the button's nearest form. */
58
+ getSelectedQuantity() {
59
+ try {
60
+ const form = document.querySelector(PRODUCT_FORM_SELECTOR);
61
+ const data = form?.getElementSallaData?.();
62
+ const qty = Number(data instanceof FormData ? data.get('quantity') : data?.quantity);
63
+ if (Number.isFinite(qty) && qty > 0)
64
+ return qty;
65
+ }
66
+ catch {
67
+ // fall through to the attribute
68
+ }
69
+ return Number(this.host.getAttribute('quantity')) || 1;
70
+ }
71
+ async handleWidgetClick(event, widget) {
72
+ if (this.collected) {
73
+ this.collected = false;
74
+ return;
75
+ }
76
+ event.preventDefault();
77
+ event.stopImmediatePropagation();
78
+ if (!await this.validatePdpOptions())
79
+ return;
80
+ if (salla.config.isGuest()) {
81
+ salla.api.auth.requireLoginThen('salla-add-product-button::oo.after-login', () => this.handleWidgetClick(event, widget));
82
+ return;
83
+ }
84
+ widget.classList.add('s-add-product-button-busy');
85
+ let resp;
86
+ try {
87
+ resp = await salla.api.withoutNotifier(() => salla.product.api.getOrderOptions([{ id: this.productId, quantity: this.getSelectedQuantity() }]));
88
+ }
89
+ catch (error) {
90
+ salla?.logger?.warn?.('order-options: fetch failed', error);
91
+ widget.classList.remove('s-add-product-button-busy');
92
+ this.resumeWidget(widget);
93
+ return;
94
+ }
95
+ widget.classList.remove('s-add-product-button-busy');
96
+ const items = resp?.data?.order_options || [];
97
+ if (!items.length) {
98
+ this.resumeWidget(widget);
99
+ return;
100
+ }
101
+ const basePrice = this.livePrice > 0
102
+ ? this.livePrice
103
+ : Number(resp?.data?.products?.[0]?.price?.amount) || 0;
104
+ const modal = this.ensureModal();
105
+ try {
106
+ const result = await modal.open({ orderOptions: items, basePrice });
107
+ this.injectIntoMini(result?.orderOptions || []);
108
+ this.resumeWidget(widget);
109
+ }
110
+ catch {
111
+ // user dismissed — widget stays blocked, they re-click to retry.
112
+ }
113
+ }
114
+ async validatePdpOptions() {
115
+ const optionsEl = document.querySelector(`salla-product-options[product-id="${this.productId}"]`);
116
+ if (!optionsEl)
117
+ return true;
118
+ if (typeof optionsEl.validateAndScroll === 'function') {
119
+ return await optionsEl.validateAndScroll();
120
+ }
121
+ if (typeof optionsEl.reportValidity === 'function') {
122
+ return await optionsEl.reportValidity();
123
+ }
124
+ return true;
125
+ }
126
+ /** Inject order_options into the next cart-add payload via `cart::before.add.item` (one-shot, scoped to productId). */
127
+ injectIntoMini(orderOptions) {
128
+ if (!orderOptions.length)
129
+ return;
130
+ const productId = this.productId;
131
+ const onceHandler = (eventData) => {
132
+ if (String(eventData?.id) !== String(productId))
133
+ return;
134
+ try {
135
+ eventData?.payload?.set?.('order_options', orderOptions);
136
+ }
137
+ finally {
138
+ salla.event.off('cart::before.add.item', onceHandler);
139
+ }
140
+ };
141
+ salla.event.on('cart::before.add.item', onceHandler);
142
+ }
143
+ ensureModal() {
144
+ let modal = document.querySelector('salla-order-options-modal');
145
+ if (!modal) {
146
+ modal = document.createElement('salla-order-options-modal');
147
+ document.body.appendChild(modal);
148
+ }
149
+ return modal;
150
+ }
151
+ resumeWidget(widget) {
152
+ this.collected = true;
153
+ // Real click target lives in the widget's shadow DOM.
154
+ const innerBtn = widget.shadowRoot?.querySelector?.('.s-fast-checkout-button');
155
+ if (innerBtn) {
156
+ innerBtn.click();
157
+ }
158
+ else if (typeof widget.click === 'function') {
159
+ widget.click();
160
+ }
161
+ }
162
+ }
163
+
21
164
  const sallaAddProductButtonCss = ":host{display:block}salla-add-product-button[width=wide]{width:100%}";
22
165
 
23
166
  const SallaAddProductButton = /*@__PURE__*/ proxyCustomElement(class SallaAddProductButton extends HTMLElement {
@@ -44,6 +187,8 @@ const SallaAddProductButton = /*@__PURE__*/ proxyCustomElement(class SallaAddPro
44
187
  /** Use matchMedia instead of window.innerWidth to avoid forced reflow (Lighthouse/PageSpeed) */
45
188
  this.isDesktopViewport = typeof window !== 'undefined' ? window.matchMedia('(min-width: 768px)').matches : true;
46
189
  this.viewportMediaQuery = null;
190
+ /** Guards one-time attachment of the order-options gate to the mini-checkout widget. */
191
+ this.orderOptionsGateAttached = false;
47
192
  this.onViewportChange = (e) => {
48
193
  this.isDesktopViewport = e.matches;
49
194
  this.btn?.setText((e.matches && !!this.passedLabel) ? this.passedLabel : this.getLabel());
@@ -231,6 +376,13 @@ const SallaAddProductButton = /*@__PURE__*/ proxyCustomElement(class SallaAddPro
231
376
  });
232
377
  }
233
378
  componentDidRender() {
379
+ // Wire the order-options gate to the fast-checkout widget once it renders (logic lives in OrderOptionsGate).
380
+ // Only when the merchant enabled order options; otherwise the widget runs the normal fast-checkout flow.
381
+ if (!this.orderOptionsGateAttached && this.productId
382
+ && salla.config.get('store.settings.order_options.mandatory', false)
383
+ && OrderOptionsGate.attach(this.host, this.productId)) {
384
+ this.orderOptionsGateAttached = true;
385
+ }
234
386
  //if label not passed, get label
235
387
  if (!!this.passedLabel && (!this.supportStickyBar || this.isDesktopViewport)) {
236
388
  // if passed label, set it
@@ -269,29 +421,74 @@ function defineCustomElement() {
269
421
  if (typeof customElements === "undefined") {
270
422
  return;
271
423
  }
272
- const components = ["salla-add-product-button", "salla-button", "salla-loading", "salla-modal", "salla-product-availability", "salla-quick-buy", "salla-tel-input"];
424
+ const components = ["salla-add-product-button", "salla-booking-field", "salla-button", "salla-color-picker", "salla-conditional-fields", "salla-datetime-picker", "salla-file-upload", "salla-loading", "salla-map", "salla-modal", "salla-order-options-modal", "salla-product-availability", "salla-product-options", "salla-progress-bar", "salla-quick-buy", "salla-tel-input"];
273
425
  components.forEach(tagName => { switch (tagName) {
274
426
  case "salla-add-product-button":
275
427
  if (!customElements.get(tagName)) {
276
428
  customElements.define(tagName, SallaAddProductButton);
277
429
  }
278
430
  break;
431
+ case "salla-booking-field":
432
+ if (!customElements.get(tagName)) {
433
+ defineCustomElement$f();
434
+ }
435
+ break;
279
436
  case "salla-button":
280
437
  if (!customElements.get(tagName)) {
281
- defineCustomElement$6();
438
+ defineCustomElement$e();
439
+ }
440
+ break;
441
+ case "salla-color-picker":
442
+ if (!customElements.get(tagName)) {
443
+ defineCustomElement$d();
444
+ }
445
+ break;
446
+ case "salla-conditional-fields":
447
+ if (!customElements.get(tagName)) {
448
+ defineCustomElement$c();
449
+ }
450
+ break;
451
+ case "salla-datetime-picker":
452
+ if (!customElements.get(tagName)) {
453
+ defineCustomElement$b();
454
+ }
455
+ break;
456
+ case "salla-file-upload":
457
+ if (!customElements.get(tagName)) {
458
+ defineCustomElement$a();
282
459
  }
283
460
  break;
284
461
  case "salla-loading":
285
462
  if (!customElements.get(tagName)) {
286
- defineCustomElement$5();
463
+ defineCustomElement$9();
464
+ }
465
+ break;
466
+ case "salla-map":
467
+ if (!customElements.get(tagName)) {
468
+ defineCustomElement$8();
287
469
  }
288
470
  break;
289
471
  case "salla-modal":
290
472
  if (!customElements.get(tagName)) {
291
- defineCustomElement$4();
473
+ defineCustomElement$7();
474
+ }
475
+ break;
476
+ case "salla-order-options-modal":
477
+ if (!customElements.get(tagName)) {
478
+ defineCustomElement$6();
292
479
  }
293
480
  break;
294
481
  case "salla-product-availability":
482
+ if (!customElements.get(tagName)) {
483
+ defineCustomElement$5();
484
+ }
485
+ break;
486
+ case "salla-product-options":
487
+ if (!customElements.get(tagName)) {
488
+ defineCustomElement$4();
489
+ }
490
+ break;
491
+ case "salla-progress-bar":
295
492
  if (!customElements.get(tagName)) {
296
493
  defineCustomElement$3();
297
494
  }
@@ -33,7 +33,7 @@ const SallaAlert$1 = /*@__PURE__*/ proxyCustomElement(class SallaAlert extends H
33
33
  }
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '3b5dd808399eeda5d930454542cd41cca26b0cc3', class: `s-alert-wrapper s-alert-${this.variant}` }, h("span", { key: '4f58234774d1afc790fb83bff983ca9366faa349', class: "s-alert-icon" }, this.renderIcon()), h("span", { key: '10eb3f87e6e77dcc5406a24f866feee1cc1f46ef', class: "s-alert-text" }, this.message, h("slot", { key: '3656e15aeb25fb7285e88f694c090bad3b32dfbd' }))));
36
+ return (h(Host, { key: 'e26a52cc275ac4c2e4090c113cb7e7d4d578fc11', class: `s-alert-wrapper s-alert-${this.variant}` }, h("span", { key: 'bdb1c6693b226a4e136e89640fcc19fbefc6e29e', class: "s-alert-icon" }, this.renderIcon()), h("span", { key: 'de8997f9617e74fc082ae9603bf16eac4c0a4b17', class: "s-alert-text" }, this.message, h("slot", { key: '37fb1adba1fa7f0226143250632cf20b514ee06b' }))));
37
37
  }
38
38
  static get style() { return sallaAlertCss; }
39
39
  }, [4, "salla-alert", {
@@ -86,7 +86,7 @@ const SallaBadge = /*@__PURE__*/ proxyCustomElement(class SallaBadge extends HTM
86
86
  this.bg = 'light';
87
87
  }
88
88
  render() {
89
- return (h("div", { key: '9d81a7c592a57a533e2b8a48f015e2f9e796be51', class: badge({ size: this.size, bg: this.bg, color: this.color }) }, h("slot", { key: '999e75ec14a8346d84dbfc5122c448999d4fc481' })));
89
+ return (h("div", { key: '54d35eb76a59251edb581786e5e89a83b6f8fbf0', class: badge({ size: this.size, bg: this.bg, color: this.color }) }, h("slot", { key: '4641cb434a2c0a6d7c004e3384848a200cb79dff' })));
90
90
  }
91
91
  static get style() { return sallaBadgeCss; }
92
92
  }, [4, "salla-badge", {
@@ -169,7 +169,7 @@ const SallaBookingField = /*@__PURE__*/ proxyCustomElement(class SallaBookingFie
169
169
  return (h("span", { class: "s-booking-field-reservations-time" }, h("i", { class: "s-booking-field-reservations-icon", innerHTML: TimeIcon }), h("span", null, reservation.from_timestamp, " - ", reservation.to_timestamp)));
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: '9a65e86d8c731ea7538ae930d73c63a0fba342d6' }, h("div", { key: 'fbac1a9dfdf76f36405db4dff611fd9baa47870b', class: "s-booking-field-main" }, this.option.required || this.reservations.length > 0 ? h("div", { class: "s-booking-field-price" }, h("span", { innerHTML: salla.money(this.option.price) })) : '', h("salla-button", { key: '190495f3a42496aa9d14da129363e6ff83e788ac', class: "s-booking-field-book-now", size: "small", loaderPosition: "center", fill: "outline", onClick: event => this.openBookingModal(event, false) }, h("span", { key: '7db20f2888bc865d87545804a2f609f7d07e4dc2', class: "s-booking-field-book-now-content" }, h("span", { key: '05f6f331e311f79e5a61a7b6e197e24334bdb5d4', innerHTML: BookingTime }), this.reservations.length ? this.editLabel : this.bookNowLabel))), this.reservations.length > 0 && (h("div", { key: 'f54c13f40c3109f5d3249361ac299451151909cf', class: "s-booking-field-reservations" }, this.reservations.map((reservation, index) => (h("div", { key: index, class: "s-booking-field-reservations-item" }, this.renderReservationDate(reservation), this.renderReservationTime(reservation)))))), h("input", { key: '5d147e4832a2b14ed614152efefa35769e0c52ba', class: "s-hidden", name: this.option.name, required: this.option.required, value: JSON.stringify(this.reservations) === '[]' ? '' : JSON.stringify(this.reservations), ref: reservations => this.reservationsInput = reservations }), this.iframeReady && this.bookingModal()));
172
+ return (h(Host, { key: '97d7af398f0e3041370af5df39ab41b9b2747022' }, h("div", { key: 'a4aca7ce81e085029b2d3fb6ab5a368b7dd4b87c', class: "s-booking-field-main" }, this.option.required || this.reservations.length > 0 ? h("div", { class: "s-booking-field-price" }, h("span", { innerHTML: salla.money(this.option.price) })) : '', h("salla-button", { key: '9ade71d36f15f5af95b9f0e95c345334c5d99c19', class: "s-booking-field-book-now", size: "small", loaderPosition: "center", fill: "outline", onClick: event => this.openBookingModal(event, false) }, h("span", { key: '1875a0b7a70603ba85923376bc66c39d1c1168ce', class: "s-booking-field-book-now-content" }, h("span", { key: '7de71f32842c8c713b736f12818f8942bbd4aa9d', innerHTML: BookingTime }), this.reservations.length ? this.editLabel : this.bookNowLabel))), this.reservations.length > 0 && (h("div", { key: '4fa722814153b4c678e7e9634ac877ea579a65c7', class: "s-booking-field-reservations" }, this.reservations.map((reservation, index) => (h("div", { key: index, class: "s-booking-field-reservations-item" }, this.renderReservationDate(reservation), this.renderReservationTime(reservation)))))), h("input", { key: '2f3593d856b57a27b9f8a875e814e30eead058f6', class: "s-hidden", name: this.option.name, required: this.option.required, value: JSON.stringify(this.reservations) === '[]' ? '' : JSON.stringify(this.reservations), ref: reservations => this.reservationsInput = reservations }), this.iframeReady && this.bookingModal()));
173
173
  }
174
174
  get host() { return this; }
175
175
  static get style() { return sallaBookingFieldCss; }
@@ -154,9 +154,9 @@ const SallaBottomAlert$1 = /*@__PURE__*/ proxyCustomElement(class SallaBottomAle
154
154
  }
155
155
  render() {
156
156
  const hasTemplate = this.template && typeof this.template === 'object' && Object.keys(this.template).length > 0;
157
- return (h(Host, { key: 'b9eaef26dfe11005441af53a6413ec0ff0568cc6', class: `s-bottom-alert-wrapper ${hasTemplate ? 's-bottom-alert-wrapper-with-template' : ''}` }, hasTemplate && (h("div", { key: 'd47d95804f5146f8b692b200bf285a8547e758fa', class: "s-bottom-alert-logo-section" }, h("img", { key: 'cf20a9f6b77b11e27c2c282ee40c490fc9d31525', src: "https://cdn.salla.network/images/logo/logo-light.svg", alt: "Salla", class: "s-bottom-alert-logo" }), h("span", { key: 'd13eeaa4cc8918cf7a38925526f659e1041c1e8a', class: "s-bottom-alert-logo-text" }, this.readyStores))), h("div", { key: 'beac912a924cb879ca4b0fbc270febdd61c8822c', class: "s-bottom-alert-content" }, h("div", { key: '75ef41821088475f1715adcf3a54d8705a8bf2cc', class: "flex items-center gap-2" }, h("div", { key: '97c4f14fefc046d0f12249c7fc4ea25e436dfd98', class: "s-bottom-alert-icon" }, this.icon ? h("i", { class: this.icon }) : h("i", { innerHTML: infoIcon })), h("div", { key: '0e4f8dc0c15ea1ff3390ef5b494e9f4216eeb5db', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (h("span", { class: "flex flex-wrap items-center gap-1" }, this.defaultMessage, h("span", { class: {
157
+ return (h(Host, { key: '1e598df3c91be1e357fc5d771061ec386573f968', class: `s-bottom-alert-wrapper ${hasTemplate ? 's-bottom-alert-wrapper-with-template' : ''}` }, hasTemplate && (h("div", { key: '20a0173dfa6a01b793f8e1e9416d295ee4e61783', class: "s-bottom-alert-logo-section" }, h("img", { key: '2c9042f0ce022aeb9b2879496ec2837ed14dfe9f', src: "https://cdn.salla.network/images/logo/logo-light.svg", alt: "Salla", class: "s-bottom-alert-logo" }), h("span", { key: '69c2bc09acca8a535d2f982131ccc09d65ea44e6', class: "s-bottom-alert-logo-text" }, this.readyStores))), h("div", { key: '553122bac6f1f11c2bcc41a92ac798b3701ebfb9', class: "s-bottom-alert-content" }, h("div", { key: 'e0df96405998b70c15a8320c8400fa75db77d041', class: "flex items-center gap-2" }, h("div", { key: '26f241c725c763dfc25f58cdcd0f2979571a2061', class: "s-bottom-alert-icon" }, this.icon ? h("i", { class: this.icon }) : h("i", { innerHTML: infoIcon })), h("div", { key: '5e6ba42a2924aec3b99050e8f53634716023a535', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (h("span", { class: "flex flex-wrap items-center gap-1" }, this.defaultMessage, h("span", { class: {
158
158
  's-bottom-alert-message-highlight': true,
159
- }, "aria-label": "Developer" }, this.salla), h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (h("div", { key: 'dd6807a1bd8d78fe440e7d37371ed6bf31b3ac65', class: hasTemplate ? 's-bottom-alert-actions-group' : 's-bottom-alert-action' }, hasTemplate ? (this.loading ? (h("salla-loading", { size: "20" })) : (h("div", { class: "s-bottom-alert-actions-group-container" }, h("a", { class: "s-bottom-alert-action-link", onClick: () => this.handleAction() }, this.actionLabel || this.moreDetailsLabel), this.templateData?.link ? (h("button", { type: "button", class: "s-bottom-alert-action-purchase-button", onClick: () => window.open(this.templateData?.link, '_blank') }, this.buyTheTemplate)) : null))) : (h("salla-button", { href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel)))), this.type === 'popup' && this.popup())));
159
+ }, "aria-label": "Developer" }, this.salla), h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (h("div", { key: '44c4d9499736d84da97b640b8ab063a6b9dd6d3c', class: hasTemplate ? 's-bottom-alert-actions-group' : 's-bottom-alert-action' }, hasTemplate ? (this.loading ? (h("salla-loading", { size: "20" })) : (h("div", { class: "s-bottom-alert-actions-group-container" }, h("a", { class: "s-bottom-alert-action-link", onClick: () => this.handleAction() }, this.actionLabel || this.moreDetailsLabel), this.templateData?.link ? (h("button", { type: "button", class: "s-bottom-alert-action-purchase-button", onClick: () => window.open(this.templateData?.link, '_blank') }, this.buyTheTemplate)) : null))) : (h("salla-button", { href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel)))), this.type === 'popup' && this.popup())));
160
160
  }
161
161
  get host() { return this; }
162
162
  static get style() { return sallaBottomAlertCss; }
@@ -2,7 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, h as h$4, Host } from '@stencil/core/internal/client';
5
- import { L as Location } from './location.js';
5
+ import { S as SILocation } from './location.js';
6
6
  import { S as Search } from './search.js';
7
7
  import { d as defineCustomElement$7 } from './salla-button2.js';
8
8
  import { d as defineCustomElement$6 } from './salla-loading2.js';
@@ -6635,7 +6635,7 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
6635
6635
  icon.className =
6636
6636
  "s-bullet-delivery-cart-view-icon s-bullet-delivery-tab-icon";
6637
6637
  icon.setAttribute("aria-hidden", "true");
6638
- icon.innerHTML = Location;
6638
+ icon.innerHTML = SILocation;
6639
6639
  const titleEl = document.createElement("span");
6640
6640
  titleEl.className = "s-bullet-delivery-cart-view-title";
6641
6641
  titleEl.textContent = title;
@@ -6668,7 +6668,7 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
6668
6668
  return (h$4("div", { class: "s-bullet-delivery-tabs" }, this.isSupportsDelivery && (h$4("button", { type: "button", class: {
6669
6669
  "s-bullet-delivery-tab": true,
6670
6670
  "s-bullet-delivery-tab--active": this.activeTab === "address",
6671
- }, onClick: () => this.handleTabChange("address") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: Location, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.delivery")))), h$4("button", { type: "button", class: {
6671
+ }, onClick: () => this.handleTabChange("address") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: SILocation, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.delivery")))), h$4("button", { type: "button", class: {
6672
6672
  "s-bullet-delivery-tab": true,
6673
6673
  "s-bullet-delivery-tab--active": this.activeTab === "branch",
6674
6674
  }, onClick: () => this.handleTabChange("branch") }, h$4("span", { class: "s-bullet-delivery-tab-icon", innerHTML: Store, "aria-hidden": "true" }), h$4("span", null, Salla.lang.get("mobile_app.strings.pickup")))));
@@ -243,7 +243,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
243
243
  : `${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'))))));
244
244
  }
245
245
  render() {
246
- return (h(Host, { key: 'f3f3d943ab2c1a6488a1da02d2cc031dbc88b482' }, h("div", { key: 'abf88828017041b19a6c54ba2f99e6c246bd8d04', class: "s-cart-coupons-wrapper" }, h("div", { key: 'c2946579a7cca935722997229f50ede603acb8b2', class: "s-cart-coupons-input-section" }, h("label", { key: '50042d827c86daf853babd4e41ba3a920aceda9d', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '4b01047727bd3a83f6cfbac37221e7732076248f', class: "s-cart-coupons-coupon-input-container" }, h("input", { key: '555108f68b7a60c618d9a904905ef321cd274c7a', type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, ref: el => this.couponInputRef = el, "aria-label": salla.lang.get('pages.cart.apply_coupon') }), h("salla-button", { key: '0416bbaf029f7d8951ca6a419cdc676ae50ee792', ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick() }, this.currentCoupon ? (h("i", { class: "sicon-cancel" })) : (h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (h("span", { key: 'f7c77e8676cb07b4820b571dbd8ee25dca79a1b1', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (h("salla-slider", { key: 'daee9c6705de734d5f81ff86d92ad6952b5a7332', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, h("div", { key: '5d5ef30a6ff7f7c2b406cc5cec6622c2f028d17e', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
246
+ return (h(Host, { key: '09c964ef1b706cd623f5b99b9606ecf93486e8b5' }, h("div", { key: 'a3b3313ecbc23821cca29115f1189ca2dfbcbb48', class: "s-cart-coupons-wrapper" }, h("div", { key: '27bc855b95d252a4feffc256fdef70b7d83aa4b3', class: "s-cart-coupons-input-section" }, h("label", { key: 'd17fff32352bc8e0535986519d5e22dda7879754', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '4e9acdb76110fffbd6984fa522fa91440d8c3bc6', class: "s-cart-coupons-coupon-input-container" }, h("input", { key: '2f0e3ee9a44db390caeeb4e85f40aab825c91182', 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: 'a7356872f2eaae51bf77207c0fcfd10ea3c25313', 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: '4d0b025d425e2fbba8f313b92c1e257042c549b0', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (h("salla-slider", { key: 'ac6a96179ec2990f8fedfd3cbb63404e7fe60edf', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, h("div", { key: '7c4f2641aa87a91d55d88d5fc0a375a5d3114a99', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
247
247
  }
248
248
  get host() { return this; }
249
249
  static get style() { return sallaCartCouponsCss; }
@@ -107,7 +107,7 @@ const SallaCartSummary$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartSumma
107
107
  return cartUrl;
108
108
  }
109
109
  render() {
110
- return (h(Host, { key: '918f027fd28cd25d653b8419f97223daaf22d428' }, h("a", { key: 'b74a2724ada356a01b915044d56dfb0f9953338e', class: "s-cart-summary-wrapper", href: this.getCartLink() }, h("div", { key: 'b9332fe1b66b895c1e9950efaa548f04eb053d46', id: "s-cart-icon" }, h("slot", { key: '2b5c1cf8dea4ca23a54beeb83cfad44538ca3ab7', name: "icon" }, h("i", { key: 'f3145ed4a994762441d925280a3234d78c378bef', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), h("span", { key: '26a78adf9b279019504e995216ea5373b6866876', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: '60ad091221ed5cd3e2ac0d27ebc53ec9917ccd64', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: '66819086b9ed7f6f21be2cd5e8baf0bc88021e40', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: 'a07c85971e50add3cdd5b51942e642d4daf19d82', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
110
+ return (h(Host, { key: 'fca2de197afcba69907579d9d553771320e27347' }, h("a", { key: '6049481fe7c6c039a964856aad1ec155951593ba', class: "s-cart-summary-wrapper", href: this.getCartLink() }, h("div", { key: '606d401fe4d29ee5fb2b2829b1964fdf424f15bb', id: "s-cart-icon" }, h("slot", { key: '01bdd2f508a10334aa90f4bf55db6a01f53011f6', name: "icon" }, h("i", { key: 'a75306afbb99dce21851db370d9bb79e75f02416', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), h("span", { key: '7b5e9d8e00738add513d5824d0da530ef0eb8c72', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: '5d70011accc0106759f0707229f3c0fc1c56fc5d', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: '1793f024a7f8acbf3c41687db94a767e1ff8507b', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: '6cf885e3bf267eccd4b06e945365f3719d243e06', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
111
111
  }
112
112
  get host() { return this; }
113
113
  static get style() { return sallaCartSummaryCss; }
@@ -208,7 +208,7 @@ const SallaColorPicker = /*@__PURE__*/ proxyCustomElement(class SallaColorPicker
208
208
  });
209
209
  }
210
210
  render() {
211
- return (h(Host, { key: '2f142fd64afd5571574a7e1c40de3be16ede62e6', class: "s-color-picker-main" }, h("slot", { key: '92acdf14b2f42ac52d0a632ba6840a5dcebfa4d4', name: "widget" }, h("div", { key: '7ba074040299a91802109d0e1d2e78604e39d3a8', class: "s-color-picker-widget" }, h("div", { key: 'a6272207f79fd28e33b66e415a3e05b969ace983', class: "s-color-picker-widget-canvas", ref: dv => (this.canvas = dv) }), h("span", { key: 'e6fed242bb84fae6221cdec525658b68f7514ce7', innerHTML: ArrowDown }))), h("input", { key: '9eb1673f44e663f939124da45fec79c401736203', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => (this.colorInput = color) })));
211
+ return (h(Host, { key: '4b648b7685b1d6601cb8b6e826d5eb716cbf4bba', class: "s-color-picker-main" }, h("slot", { key: '59afd795f1f5cce7d33b9e5c5e0e65be5db485f1', name: "widget" }, h("div", { key: '312878f910fc6c94b47bcd24319291f9db7e1d13', class: "s-color-picker-widget" }, h("div", { key: '1865cf384e4c6ecaef1ab2b35f8a6653304f6b9d', class: "s-color-picker-widget-canvas", ref: dv => (this.canvas = dv) }), h("span", { key: 'd92e8fbe87685abc27224d08e71f06ad216d6593', innerHTML: ArrowDown }))), h("input", { key: 'df66b2b623c71acba891a3c02e7a02905d78861b', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => (this.colorInput = color) })));
212
212
  }
213
213
  componentDidLoad() {
214
214
  if (this.canvas)
@@ -45,7 +45,7 @@ const SallaCommentForm = /*@__PURE__*/ proxyCustomElement(class SallaCommentForm
45
45
  .finally(() => this.submitBtn.stop());
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '0ec765c8dd7cf28d23c4305c234cec5efd3daae1' }, !!this.canComment ? h("form", { ref: frm => this.commentForm = frm }, h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
48
+ return (h(Host, { key: 'c3c4acb833a93d11b2c71eb77742319c8085968c' }, !!this.canComment ? h("form", { ref: frm => this.commentForm = frm }, h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
49
49
  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))))) : ''));
50
50
  }
51
51
  static get style() { return sallaCommentFormCss; }
@@ -130,7 +130,7 @@ const SallaConditionalFields = /*@__PURE__*/ proxyCustomElement(class SallaCondi
130
130
  });
131
131
  }
132
132
  render() {
133
- return (h(Host, { key: '9931740a40a239483408056ae458769a0ab3997d' }, h("slot", { key: '6db0aa3b6db44f3811d1ed456672218891018d6f' })));
133
+ return (h(Host, { key: '65ddceb3d0fc1eff329762b0c9d1784f223dc1ee' }, h("slot", { key: 'ee65b749c141f8288b288705ba7750676bb68408' })));
134
134
  }
135
135
  get host() { return this; }
136
136
  }, [4, "salla-conditional-fields", undefined, [[0, "change", "changeHandler"], [0, "input", "changeHandler"]]]);
@@ -234,7 +234,7 @@ const SallaCountDown = /*@__PURE__*/ proxyCustomElement(class SallaCountDown ext
234
234
  return this.renderCountDown();
235
235
  }
236
236
  render() {
237
- return (h(Host, { key: 'b9b5d0e038afdf2dd88da15eb711752d2a9a45af', 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()));
237
+ return (h(Host, { key: '7055acd8fb89549ceff1f1b23f36c2dcf5f8dde0', 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()));
238
238
  }
239
239
  static get style() { return sallaCountDownCss; }
240
240
  }, [0, "salla-count-down", {
@@ -192,7 +192,7 @@ const SallaDatetimePicker = /*@__PURE__*/ proxyCustomElement(class SallaDatetime
192
192
  if (this.flatpickr)
193
193
  return;
194
194
  try {
195
- const flatpickrModule = await import('./index3.js');
195
+ const flatpickrModule = await import('./index2.js');
196
196
  this.flatpickr = flatpickrModule.default;
197
197
  // Load locale if not English
198
198
  if (this.locale && this.locale !== 'en') {
@@ -211,7 +211,7 @@ const SallaDatetimePicker = /*@__PURE__*/ proxyCustomElement(class SallaDatetime
211
211
  }
212
212
  }
213
213
  render() {
214
- return h("div", { key: '6fe501ca4d900b3706121742fa64e36c10371713', class: "s-datetime-picker" }, h("input", { key: '54946e6afb30e7dad49ca8b8fd9d2416bbad4e84', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
214
+ return h("div", { key: '32645810d31bcc76582da3910ccaeac5b4490719', class: "s-datetime-picker" }, h("input", { key: 'ec579ffb806ff75829b6d0b5e6cb6da24a4b1bb3', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
215
215
  }
216
216
  async componentDidLoad() {
217
217
  // Load flatpickr before initializing
@@ -316,11 +316,11 @@ const SallaFileUpload = /*@__PURE__*/ proxyCustomElement(class SallaFileUpload e
316
316
  }
317
317
  }
318
318
  render() {
319
- return (h(Host, { key: '6b8c9ee59a13e8819988a13489a79c8f3391c614', class: {
319
+ return (h(Host, { key: 'af77cb11bf5ae4a857e9a099ce6438fb29aa8736', class: {
320
320
  "s-file-upload": true,
321
321
  "s-file-upload-profile-image": this.profileImage,
322
322
  "s-file-upload-multiple": this.allowMultiple,
323
- } }, h("input", { key: '4245938bfb2652084cb3115001263c7d690aa8e0', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: '7fdab946cf08747fdee40f9f9a2b2819803a299e', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
323
+ } }, h("input", { key: 'da600278c346ef3554bfc6f8b22cb07dce1fc1ea', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: '4c605d3d983a86fca5667641d38592daf30f20b2', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
324
324
  }
325
325
  async componentDidLoad() {
326
326
  await Salla.onReady();
@@ -190,12 +190,12 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
190
190
  return h("span", { class: "s-filters-option-name" }, label);
191
191
  }
192
192
  render() {
193
- return (h(Host, { key: 'a3377234cae7a9565f403d859e60ee71cb9b9e00', class: "s-filters-widget-container" }, h("h3", { key: 'd797565b06c795a6b19d5fa6c93da583e291cc01', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '35e933096973744c332cfb3a0346b57f7dd28a76' }, this.option.label), h("span", { key: '2c27dacf5242da14f2cddca9f99af09bb9cb3bea', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '6f85c5af558a2b47e9779225d2fb9b99d2dd78e5', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'd6c9fe9baf08d095346d52e5e6836ca7a26dae7f', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '44ac9fc9e7488165acccbac8a7bd95a3f863dab8', 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: 'a8350384975504985098f0b9f1ae6c086537886b', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '20acece0e29070b6f1359ab1d3f16e928d461742' }), this.option.type !== FilterOptionTypes.RANGE
193
+ return (h(Host, { key: '2cdd3bbc88b473e9b5d52bf5e95de16f9ad47a51', class: "s-filters-widget-container" }, h("h3", { key: '4d3d522469681c5d7cde040938b0ce15324d7cc3', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '60fa18c667a1b00f03e8eebc484da68e78fa8d90' }, this.option.label), h("span", { key: 'ac8cff411fbb76c43e0134b0c7381b682a8afcd0', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '5705ab244d712512e156994bbf21d9bb49dbb43b', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'a59f45a5fbd803dcd65f0a5b40060a1dcfed00e0', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '3275790105bfe9b84df564b9385c4a9556c2f03a', 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: '70d57184a8089422d96ea62ddaa7697f7f207441', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '959512d2256b5a29236572fc8078c5baa5d9a571' }), this.option.type !== FilterOptionTypes.RANGE
194
194
  ? this.renderFilterOption(this.option)
195
195
  : h("salla-price-range", { onChanged: (event) => {
196
196
  this.changed.emit(event.detail);
197
197
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
198
- h("a", { key: 'a628397d54fc254fe36458c4bbdca0dad0a0e6ad', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
198
+ h("a", { key: '305b4a155c2b3705bcf139c81b5f8bcb3d744d05', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
199
199
  }
200
200
  get host() { return this; }
201
201
  static get style() { return sallaFiltersWidgetCss; }
@@ -196,7 +196,7 @@ const SallaFilters$1 = /*@__PURE__*/ proxyCustomElement(class SallaFilters exten
196
196
  this.applyFilters();
197
197
  }
198
198
  render() {
199
- return h(Host, { key: '8fe009d0a0b52956fa634544aa414e554b77a128' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
199
+ return h(Host, { key: 'f94496fa176d99cf04b98fea8732b7c7c5912159' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
200
200
  this.handleOptionChange(event, option, value);
201
201
  } })), this.filters?.length ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
202
202
  }
@@ -754,7 +754,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
754
754
  }
755
755
  render() {
756
756
  return [
757
- h("div", { key: 'b26068c5c6b0c40814e1cb67208afa352b1d913c' }, h("salla-list-tile", { key: '22189813371c56f1b66334d826c342d30dade34f', class: this.generateClass() }, h("div", { key: '5f9c597b87ab39d591144c4943feba0c775d645b', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '4341ea66f7d9a547d919be173476908c5d0f018a' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'f2eb13ddcd7810da368ea35e161addbef1af5ce4', slot: "subtitle" }, h("div", { key: '1b69dfbce6b7b7d94bbee4e325d8f65c2b34dcce' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '6a8f526bcbb0a659e028155ce08aec2538e4fff2', slot: "action" }, h("salla-button", { key: '5cf31da452a173a487c4ea9dbd1356fd10d3b800', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '4aef407fd0a79b0172f0803a7134bd366ac6b034', name: "widget-btn-content" }, h("div", { key: '333273064da0b5071a7a7433ec7626ef00bd9e1e', class: "s-gifting-widget-action-content" }, h("span", { key: '913d82d641ed54218f20a76acefca855d1324427', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'acc39208f212714bef2c56bd9b5e5c482e3a7122' }, this.sectionBtnText)))))), h("salla-modal", { key: '9bceb2e1a4bb4c9880b220d679a0e295ba1ae732', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '0ea0746b7c11c98c8a6d9535771afb3a4681c1c1', slot: "loading" }, h("div", { key: '5dcfb9acd127f3cf786b626a1be7e9f27ff7ac31', class: "s-gifting-skeleton" }, h("div", { key: 'd5205c53714ca60277a82abce7fb12f0a01dd38d', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'fde7ede398b9edb638ade25677915747855584f2', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '61bb2c36958080e37f83b9bc27ce05db5abb3230', class: "s-gifting-modal-title" }, h("div", { key: '10125cb25732100787b118f34a4e323aa215185c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '2ee525ae05fb6540bc0fdcaa846b14e4a476a297', height: '15px', width: '150px' })))), h("div", { key: '8e4544f3bd4a81c961259de27ebf255a998a5e4f', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '237f0961f0748aeef3c5b77819234b3215f794e2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '19510cb426335b9733ef4a34dc7b8e5bffe0c23c', height: '230px' }), h("salla-skeleton", { key: '78defffee0c94e9323ede7e12660ae234d84d019', height: '10px', width: '150px' }), h("salla-skeleton", { key: '21b800dff2bec3c1caea94115a37153e406eef11', height: '30px' }), h("salla-skeleton", { key: 'd8a08143339c184d05758d1497e22ad23cdac4f6', height: '40px' })))), h("slot", { key: '9ef7679d02250428236347b5bb4a080b04244a53', name: "header" }), !!this.hasError ?
757
+ h("div", { key: 'a2798e968c7311c99560db0710559f8f518031fa' }, h("salla-list-tile", { key: '5621984db45065e919fc647bf973b5fdb42e7c3f', class: this.generateClass() }, h("div", { key: '3fea9220af764f5675b17005169ec5398fb0a1d3', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '6984f88fa5675edfddbc67d87fa69ee26ee40b98' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '64cb13fac30d6613af2c278593e45d59f2f8e791', slot: "subtitle" }, h("div", { key: '578f47b7cc8242bbf6872cc670c37beeb7197c0e' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '54e56e74fcc1e3266395ad003369e47ea0b0c27b', slot: "action" }, h("salla-button", { key: '7687a680041c1e5b431eb56d94262fb2defe0664', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9e466071aa0bf882962931f029e32d567390d9f2', name: "widget-btn-content" }, h("div", { key: 'f5b8a796dc3b7bb4e1094a7741944673e1ec6477', class: "s-gifting-widget-action-content" }, h("span", { key: '037ea375a6904bf51d15c8d76f8b650031526a59', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '490dceeaf5a7e0ec38dabd49182f74d4ea07d597' }, this.sectionBtnText)))))), h("salla-modal", { key: '2914d9a5a0ae7fe555a73f993553165e4fb91b02', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '6d70fa91062f55adb3d0a6371ccb8afc271e949e', slot: "loading" }, h("div", { key: '82a690b756eb1179c325416a33f66b9d726eb336', class: "s-gifting-skeleton" }, h("div", { key: '8cedf269ee0caf39cbd9f39ab80e7dd3d65b7fde', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '7cb2bfb3198c3096efa147348b2a6cdec21eb3d3', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '36cb724cfe2f39a7eb94b779a67520a3bff75389', class: "s-gifting-modal-title" }, h("div", { key: '2ef3bcb26f31cdc34725e9a87849a426bd9dfc72', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '66f4148f367bc687982a06975e41c6865a530e88', height: '15px', width: '150px' })))), h("div", { key: 'fda2fdc549cc6dfcb5f4cc9bfafe5dc686464e4c', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'f0f64ab8b9d467c2cbe4707154a21bb952f45831', height: '10px', width: '150px' }), h("salla-skeleton", { key: '1b1950d9d333b4249aab267fdbb90ac380ac6175', height: '230px' }), h("salla-skeleton", { key: '3b3a2472851e63754804ceb68401bb56a9900061', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'd3f9ace5c8b12061ac94d929d926e8458fb66411', height: '30px' }), h("salla-skeleton", { key: 'd0be03fc578e2559c0a5251875bac01519beb18f', height: '40px' })))), h("slot", { key: '86757c4d648dd818857aaee41c6df568724cbd1b', name: "header" }), !!this.hasError ?
758
758
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
759
759
  :
760
760
  [
@@ -777,7 +777,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
777
777
  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", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
778
778
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
779
779
  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') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
780
- ], h("slot", { key: 'e40029ee1e6fa463711fd088ba05c0edda5dd683', name: "footer" })))
780
+ ], h("slot", { key: '052bb080776d8d874da570b643345b95a40cd985', name: "footer" })))
781
781
  ];
782
782
  }
783
783
  static get style() { return sallaGiftingCss; }
@@ -17,7 +17,7 @@ const SallaHook$1 = /*@__PURE__*/ proxyCustomElement(class SallaHook extends HTM
17
17
  this.host.before(element);
18
18
  }
19
19
  render() {
20
- return h(Host, { key: '499483c55f2e1122d80768cd43e47f8e127a62b4' });
20
+ return h(Host, { key: '7438711b185e3159e7a4792ef86f795c25d857a1' });
21
21
  }
22
22
  async componentDidLoad() {
23
23
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger