@salla.sa/twilight-components 2.14.575 → 2.14.577

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 (478) hide show
  1. package/dist/cjs/{filepond-NMq4bM2q.js → filepond-iflxa4A5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-TEelNjjG.js → filepond-plugin-file-poster-NZ84xlKh.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DRVxzFUc.js → filepond-plugin-file-validate-size-m8Z_JlZX.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-75J1mHEB.js → filepond-plugin-file-validate-type-BfF6LYAT.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CvC-CZjk.js → filepond-plugin-image-edit-DfRJ3iRj.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D7mJeHKx.js → filepond-plugin-image-exif-orientation-BZxYZai-.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-QxURSuZ4.js → filepond-plugin-image-preview-BQ7HvH2d.js} +1 -1
  8. package/dist/cjs/{helpers-Dm4BirHO.js → helpers-DBynEhOO.js} +0 -15
  9. package/dist/cjs/{index-Bt8A6pnr.js → index-CSe-ijAV.js} +2 -2
  10. package/dist/cjs/{intlTelInput-Dq8y3YHO.js → intlTelInput-DHfYz8vv.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +3 -3
  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-applied-filters.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +17 -17
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +179 -187
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +160 -7
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_9.cjs.entry.js +4 -4
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +2 -2
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  38. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gift-card-redeem.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  42. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +15 -15
  49. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-map_3.cjs.entry.js +4 -4
  56. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-offer.cjs.entry.js +18 -2
  65. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +38 -13
  78. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  80. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  82. package/dist/cjs/salla-product-card.cjs.entry.js +6 -6
  83. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search-product-card.cjs.entry.js +3 -3
  93. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  96. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  98. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  100. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  104. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  106. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  107. package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
  108. package/dist/cjs/twilight.cjs.js +2 -2
  109. package/dist/cjs/{vanilla-picker-BkJyQVMl.js → vanilla-picker-Brk9Mb54.js} +1 -1
  110. package/dist/collection/assets/svg/mini-map.svg +6 -30
  111. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  112. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +241 -238
  113. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +175 -146
  114. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.css +154 -92
  115. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +160 -5
  116. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  117. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  118. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  119. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  120. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  121. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  122. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  123. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  124. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  125. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  126. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  127. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  128. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  129. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  130. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  131. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  132. package/dist/collection/components/salla-loyalty-program/salla-loyalty-exchange-product-card.js +2 -2
  133. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  135. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  136. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  137. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  138. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +1 -1
  139. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  140. package/dist/collection/components/salla-map/salla-map.js +3 -3
  141. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  142. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  143. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  144. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  145. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  146. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  147. package/dist/collection/components/salla-offer/salla-offer.js +17 -1
  148. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  149. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  150. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  151. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  152. package/dist/collection/components/salla-orders/salla-orders.js +39 -12
  153. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  154. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  155. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  156. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  157. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  158. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  159. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  160. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  161. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  162. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  163. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.js +1 -1
  164. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  165. package/dist/collection/components/salla-search-product-card/salla-search-product-card.js +2 -2
  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/helpers.js +1 -15
  178. package/dist/components/index.js +2 -2
  179. package/dist/components/salla-accordion-head2.js +2 -2
  180. package/dist/components/salla-bullet-delivery.js +175 -184
  181. package/dist/components/salla-cart-coupons.js +161 -6
  182. package/dist/components/salla-cart-summary.js +1 -1
  183. package/dist/components/salla-color-picker2.js +1 -1
  184. package/dist/components/salla-comment-form2.js +1 -1
  185. package/dist/components/salla-conditional-fields2.js +1 -1
  186. package/dist/components/salla-count-down2.js +1 -1
  187. package/dist/components/salla-datetime-picker2.js +1 -1
  188. package/dist/components/salla-delivery-promise.js +1 -1
  189. package/dist/components/salla-file-upload2.js +2 -2
  190. package/dist/components/salla-filters-widget2.js +2 -2
  191. package/dist/components/salla-filters.js +1 -1
  192. package/dist/components/salla-gifting.js +2 -2
  193. package/dist/components/salla-hook.js +1 -1
  194. package/dist/components/salla-list-tile2.js +1 -1
  195. package/dist/components/salla-loading2.js +1 -1
  196. package/dist/components/salla-localization-modal.js +1 -1
  197. package/dist/components/salla-loyalty-exchange-product-card2.js +2 -2
  198. package/dist/components/salla-loyalty-hero2.js +3 -3
  199. package/dist/components/salla-loyalty-point2.js +4 -4
  200. package/dist/components/salla-loyalty-points-history.js +1 -1
  201. package/dist/components/salla-loyalty-prize-item.js +1 -1
  202. package/dist/components/salla-loyalty-reward.js +2 -2
  203. package/dist/components/salla-maintenance-alert.js +1 -1
  204. package/dist/components/salla-map2.js +3 -3
  205. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  206. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  207. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  208. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  209. package/dist/components/salla-multiple-bundle-product.js +1 -1
  210. package/dist/components/salla-notification-item2.js +1 -1
  211. package/dist/components/salla-offer-modal.js +1 -1
  212. package/dist/components/salla-offer.js +17 -1
  213. package/dist/components/salla-order-details.js +1 -1
  214. package/dist/components/salla-order-edit-product-card.js +1 -1
  215. package/dist/components/salla-order-summary.js +1 -1
  216. package/dist/components/salla-orders.js +39 -12
  217. package/dist/components/salla-payments.js +2 -2
  218. package/dist/components/salla-placeholder2.js +1 -1
  219. package/dist/components/salla-price-range2.js +2 -2
  220. package/dist/components/salla-product-availability2.js +1 -1
  221. package/dist/components/salla-product-card-embed.js +1 -1
  222. package/dist/components/salla-product-card2.js +5 -5
  223. package/dist/components/salla-product-size-guide.js +2 -2
  224. package/dist/components/salla-quantity-input2.js +1 -1
  225. package/dist/components/salla-quick-buy2.js +1 -1
  226. package/dist/components/salla-review-card2.js +1 -1
  227. package/dist/components/salla-review-factors-tags2.js +1 -1
  228. package/dist/components/salla-reviews-page.js +1 -1
  229. package/dist/components/salla-reward-card2.js +1 -1
  230. package/dist/components/salla-reward-details2.js +3 -3
  231. package/dist/components/salla-reward-exchange2.js +1 -1
  232. package/dist/components/salla-search-product-card2.js +2 -2
  233. package/dist/components/salla-searchable-dropdown2.js +4 -4
  234. package/dist/components/salla-skeleton2.js +1 -1
  235. package/dist/components/salla-social-share2.js +1 -1
  236. package/dist/components/salla-social.js +1 -1
  237. package/dist/components/salla-tab-content2.js +1 -1
  238. package/dist/components/salla-tab-header2.js +1 -1
  239. package/dist/components/salla-tabs2.js +1 -1
  240. package/dist/components/salla-tel-input2.js +1 -1
  241. package/dist/components/salla-tooltip2.js +1 -1
  242. package/dist/components/salla-user-settings.js +1 -1
  243. package/dist/components/salla-wishlist-actions.js +1 -1
  244. package/dist/esm/{filepond-kmpJTY5p.js → filepond-Qm94dFPs.js} +1 -1
  245. package/dist/esm/{filepond-plugin-file-poster-8M0TsTUo.js → filepond-plugin-file-poster-CHpnwHYe.js} +1 -1
  246. package/dist/esm/{filepond-plugin-file-validate-size-CPVDzrMj.js → filepond-plugin-file-validate-size-BwHBxxMg.js} +1 -1
  247. package/dist/esm/{filepond-plugin-file-validate-type-D0qUdWNB.js → filepond-plugin-file-validate-type-BD-yTEPO.js} +1 -1
  248. package/dist/esm/{filepond-plugin-image-edit-K8nFORG9.js → filepond-plugin-image-edit-DKc0Yw10.js} +1 -1
  249. package/dist/esm/{filepond-plugin-image-exif-orientation-BSvnwKAw.js → filepond-plugin-image-exif-orientation-CepmNFGF.js} +1 -1
  250. package/dist/esm/{filepond-plugin-image-preview-hArDoD8N.js → filepond-plugin-image-preview-FhnzagMd.js} +1 -1
  251. package/dist/esm/{helpers-CV6uPJEJ.js → helpers-BJxBnTgv.js} +1 -15
  252. package/dist/esm/{index-a6lSRQK4.js → index-BAXTlrSC.js} +2 -2
  253. package/dist/esm/{intlTelInput-CC5xRRkd.js → intlTelInput-BJlOPJYY.js} +1 -1
  254. package/dist/esm/loader.js +3 -3
  255. package/dist/esm/salla-accordion-body_2.entry.js +3 -3
  256. package/dist/esm/salla-accordion_6.entry.js +2 -2
  257. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  258. package/dist/esm/salla-advertisement.entry.js +1 -1
  259. package/dist/esm/salla-alert_2.entry.js +1 -1
  260. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  261. package/dist/esm/salla-applied-filters.entry.js +1 -1
  262. package/dist/esm/salla-apps-icons.entry.js +1 -1
  263. package/dist/esm/salla-attachment-view_9.entry.js +17 -17
  264. package/dist/esm/salla-badge.entry.js +1 -1
  265. package/dist/esm/salla-basket-gap.entry.js +1 -1
  266. package/dist/esm/salla-bullet-delivery_3.entry.js +179 -187
  267. package/dist/esm/salla-cart-coupons.entry.js +160 -7
  268. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  269. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  270. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  271. package/dist/esm/salla-comment-factors.entry.js +1 -1
  272. package/dist/esm/salla-comment-form_9.entry.js +4 -4
  273. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  274. package/dist/esm/salla-contacts.entry.js +1 -1
  275. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  276. package/dist/esm/salla-count-down.entry.js +2 -2
  277. package/dist/esm/salla-custom-fields.entry.js +1 -1
  278. package/dist/esm/salla-delivery-promise.entry.js +2 -2
  279. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  280. package/dist/esm/salla-filters-widget.entry.js +3 -3
  281. package/dist/esm/salla-filters.entry.js +2 -2
  282. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  283. package/dist/esm/salla-gift-card-redeem.entry.js +1 -1
  284. package/dist/esm/salla-gifting.entry.js +3 -3
  285. package/dist/esm/salla-hook.entry.js +2 -2
  286. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  287. package/dist/esm/salla-installment.entry.js +1 -1
  288. package/dist/esm/salla-list-tile.entry.js +2 -2
  289. package/dist/esm/salla-localization-modal.entry.js +2 -2
  290. package/dist/esm/salla-login-modal.entry.js +1 -1
  291. package/dist/esm/salla-loyalty-banner_10.entry.js +15 -15
  292. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +3 -3
  293. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  294. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  295. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  296. package/dist/esm/salla-loyalty.entry.js +1 -1
  297. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  298. package/dist/esm/salla-map_3.entry.js +4 -4
  299. package/dist/esm/salla-menu.entry.js +1 -1
  300. package/dist/esm/salla-metadata.entry.js +1 -1
  301. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  302. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  303. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  304. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  305. package/dist/esm/salla-notification-item_2.entry.js +2 -2
  306. package/dist/esm/salla-offer-modal.entry.js +2 -2
  307. package/dist/esm/salla-offer.entry.js +18 -2
  308. package/dist/esm/salla-order-branch.entry.js +1 -1
  309. package/dist/esm/salla-order-cancel.entry.js +1 -1
  310. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  311. package/dist/esm/salla-order-details-options.entry.js +1 -1
  312. package/dist/esm/salla-order-details.entry.js +2 -2
  313. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  314. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  315. package/dist/esm/salla-order-edit.entry.js +1 -1
  316. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  317. package/dist/esm/salla-order-shipments.entry.js +1 -1
  318. package/dist/esm/salla-order-summary.entry.js +2 -2
  319. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  320. package/dist/esm/salla-orders.entry.js +38 -13
  321. package/dist/esm/salla-payments.entry.js +3 -3
  322. package/dist/esm/salla-placeholder.entry.js +2 -2
  323. package/dist/esm/salla-price-range.entry.js +3 -3
  324. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  325. package/dist/esm/salla-product-card.entry.js +6 -6
  326. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  327. package/dist/esm/salla-products-list.entry.js +1 -1
  328. package/dist/esm/salla-products-slider.entry.js +1 -1
  329. package/dist/esm/salla-quick-order.entry.js +1 -1
  330. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  331. package/dist/esm/salla-rating-modal.entry.js +1 -1
  332. package/dist/esm/salla-review-factors-tags.entry.js +2 -2
  333. package/dist/esm/salla-review-order-item.entry.js +1 -1
  334. package/dist/esm/salla-scopes.entry.js +1 -1
  335. package/dist/esm/salla-search-product-card.entry.js +3 -3
  336. package/dist/esm/salla-search.entry.js +1 -1
  337. package/dist/esm/salla-skeleton.entry.js +2 -2
  338. package/dist/esm/salla-social-share.entry.js +2 -2
  339. package/dist/esm/salla-social.entry.js +2 -2
  340. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  341. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  342. package/dist/esm/salla-tooltip.entry.js +2 -2
  343. package/dist/esm/salla-trust-badges.entry.js +1 -1
  344. package/dist/esm/salla-user-menu.entry.js +1 -1
  345. package/dist/esm/salla-user-profile.entry.js +1 -1
  346. package/dist/esm/salla-user-settings.entry.js +2 -2
  347. package/dist/esm/salla-verify.entry.js +1 -1
  348. package/dist/esm/salla-wallet.entry.js +1 -1
  349. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  350. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  351. package/dist/esm/twilight.js +3 -3
  352. package/dist/esm/{vanilla-picker-CDhGfTst.js → vanilla-picker-C_cY41gl.js} +1 -1
  353. package/dist/twilight/{p-cc15290b.entry.js → p-00a727c3.entry.js} +1 -1
  354. package/dist/twilight/{p-fc13e706.entry.js → p-0227316e.entry.js} +1 -1
  355. package/dist/twilight/{p-aee0c658.entry.js → p-03c959bb.entry.js} +1 -1
  356. package/dist/twilight/{p-a177b13f.entry.js → p-072ee78f.entry.js} +1 -1
  357. package/dist/twilight/{p-f2f6f502.entry.js → p-073e1363.entry.js} +1 -1
  358. package/dist/twilight/{p-4a60be6d.entry.js → p-0806da7e.entry.js} +1 -1
  359. package/dist/twilight/{p-5134aae8.entry.js → p-08cedab0.entry.js} +1 -1
  360. package/dist/twilight/{p-69594ced.entry.js → p-0bcca7f8.entry.js} +1 -1
  361. package/dist/twilight/{p-9b04ed7f.entry.js → p-10a68a21.entry.js} +1 -1
  362. package/dist/twilight/{p-00e68964.entry.js → p-13abf9ca.entry.js} +1 -1
  363. package/dist/twilight/{p-742f2c15.entry.js → p-13c35685.entry.js} +1 -1
  364. package/dist/twilight/{p-540138a1.entry.js → p-162fa48e.entry.js} +1 -1
  365. package/dist/twilight/{p-e0b5a06d.entry.js → p-1762fd86.entry.js} +1 -1
  366. package/dist/twilight/{p-2af75479.entry.js → p-18c41e9a.entry.js} +1 -1
  367. package/dist/twilight/{p-d6803c56.entry.js → p-1fbb0b22.entry.js} +1 -1
  368. package/dist/twilight/{p-109472c5.entry.js → p-1fd6a10e.entry.js} +1 -1
  369. package/dist/twilight/p-28cdaf6b.entry.js +4 -0
  370. package/dist/twilight/{p-ebd9a6c2.entry.js → p-292a0b4a.entry.js} +1 -1
  371. package/dist/twilight/{p-d0fce326.entry.js → p-2ba4956f.entry.js} +1 -1
  372. package/dist/twilight/{p-6f371a84.entry.js → p-2c543420.entry.js} +1 -1
  373. package/dist/twilight/{p-b7624eb6.entry.js → p-2e3a56de.entry.js} +1 -1
  374. package/dist/twilight/p-2e4064eb.entry.js +4 -0
  375. package/dist/twilight/{p-d56cb23a.entry.js → p-3153f560.entry.js} +1 -1
  376. package/dist/twilight/{p-977e3e76.entry.js → p-3a3815a2.entry.js} +1 -1
  377. package/dist/twilight/{p-0a38d353.entry.js → p-3cef6be2.entry.js} +1 -1
  378. package/dist/twilight/{p-3500065c.entry.js → p-3dd612a6.entry.js} +1 -1
  379. package/dist/twilight/{p-312e8678.entry.js → p-411c1ab0.entry.js} +1 -1
  380. package/dist/twilight/p-423d852d.entry.js +4 -0
  381. package/dist/twilight/{p-c500e5fe.entry.js → p-44a6598e.entry.js} +1 -1
  382. package/dist/twilight/{p-7f69cf5d.entry.js → p-51d83216.entry.js} +1 -1
  383. package/dist/twilight/{p-6a7eacbd.entry.js → p-51fb8841.entry.js} +1 -1
  384. package/dist/twilight/{p-2541db96.entry.js → p-56609a91.entry.js} +1 -1
  385. package/dist/twilight/{p-2591eead.entry.js → p-58c1bf51.entry.js} +1 -1
  386. package/dist/twilight/{p-6051a92c.entry.js → p-59a7ca2e.entry.js} +1 -1
  387. package/dist/twilight/{p-426acd77.entry.js → p-5a77257c.entry.js} +1 -1
  388. package/dist/twilight/{p-9e53d7a6.entry.js → p-5c4e2ed3.entry.js} +1 -1
  389. package/dist/twilight/{p-a0d39b81.entry.js → p-5f464161.entry.js} +1 -1
  390. package/dist/twilight/{p-d1a0bd97.entry.js → p-637670fa.entry.js} +1 -1
  391. package/dist/twilight/{p-81c88f97.entry.js → p-6605f258.entry.js} +1 -1
  392. package/dist/twilight/{p-3bd153c1.entry.js → p-665bc308.entry.js} +1 -1
  393. package/dist/twilight/{p-7cc8b82b.entry.js → p-6bfe12d5.entry.js} +1 -1
  394. package/dist/twilight/{p-cbcbc9f8.entry.js → p-6de608eb.entry.js} +1 -1
  395. package/dist/twilight/{p-e9d73e7d.entry.js → p-6f9bc285.entry.js} +1 -1
  396. package/dist/twilight/{p-6958e848.entry.js → p-70451662.entry.js} +1 -1
  397. package/dist/twilight/{p-45b97699.entry.js → p-7b0cf8a1.entry.js} +1 -1
  398. package/dist/twilight/{p-6f741b21.entry.js → p-7d08dcfb.entry.js} +1 -1
  399. package/dist/twilight/{p-01cae03e.entry.js → p-7d37b650.entry.js} +1 -1
  400. package/dist/twilight/{p-254e6e0c.entry.js → p-7f3e110c.entry.js} +1 -1
  401. package/dist/twilight/{p-5fe0908b.entry.js → p-80302c52.entry.js} +1 -1
  402. package/dist/twilight/{p-583a63e5.entry.js → p-806083b4.entry.js} +1 -1
  403. package/dist/twilight/{p-50816838.entry.js → p-84cff600.entry.js} +1 -1
  404. package/dist/twilight/{p-c9779211.entry.js → p-884104a3.entry.js} +1 -1
  405. package/dist/twilight/{p-34d33337.entry.js → p-898ce93b.entry.js} +1 -1
  406. package/dist/twilight/{p-dc86737c.entry.js → p-8a865d37.entry.js} +1 -1
  407. package/dist/twilight/{p-bc54fc8b.entry.js → p-8c750736.entry.js} +1 -1
  408. package/dist/twilight/{p-7f861ac0.entry.js → p-8fc2eb01.entry.js} +1 -1
  409. package/dist/twilight/{p-2af98444.entry.js → p-97fee81d.entry.js} +1 -1
  410. package/dist/twilight/{p-c9ba30cd.entry.js → p-9920bbad.entry.js} +1 -1
  411. package/dist/twilight/{p-24bd13b8.entry.js → p-99b9bf66.entry.js} +1 -1
  412. package/dist/twilight/{p-b0c86557.entry.js → p-9b4a0dd3.entry.js} +1 -1
  413. package/dist/twilight/{p-0f1981ee.entry.js → p-9e054110.entry.js} +1 -1
  414. package/dist/twilight/{p-a6lSRQK4.js → p-BAXTlrSC.js} +1 -1
  415. package/dist/twilight/p-BJxBnTgv.js +4 -0
  416. package/dist/twilight/{p-BokV7EHy.js → p-BWpg3MwW.js} +1 -1
  417. package/dist/twilight/{p-DNjWzZsK.js → p-C6WaobtY.js} +1 -1
  418. package/dist/twilight/{p-wx2L9ZB0.js → p-CvebbG3m.js} +1 -1
  419. package/dist/twilight/{p-CSuif4Xw.js → p-D5lNzFgl.js} +1 -1
  420. package/dist/twilight/{p-CfhebjBE.js → p-DGzNHmGp.js} +1 -1
  421. package/dist/twilight/{p-BG1dHHdm.js → p-DnrvXyI6.js} +1 -1
  422. package/dist/twilight/{p-DOF2UkI4.js → p-DpI1J-G1.js} +1 -1
  423. package/dist/twilight/{p-DWPp9ZjN.js → p-SguJQlDo.js} +1 -1
  424. package/dist/twilight/{p-DZHubgN5.js → p-_f6GlygH.js} +1 -1
  425. package/dist/twilight/{p-5d72b7d7.entry.js → p-a2d07dba.entry.js} +1 -1
  426. package/dist/twilight/{p-8271e127.entry.js → p-a73a785d.entry.js} +1 -1
  427. package/dist/twilight/{p-e155a1a6.entry.js → p-a79c04a2.entry.js} +1 -1
  428. package/dist/twilight/{p-3a113599.entry.js → p-a9fcdac5.entry.js} +1 -1
  429. package/dist/twilight/{p-f1a3cf9e.entry.js → p-ab3ad37f.entry.js} +1 -1
  430. package/dist/twilight/{p-10968d1c.entry.js → p-abc3e5d5.entry.js} +1 -1
  431. package/dist/twilight/{p-0f9bfeeb.entry.js → p-b356f3f6.entry.js} +1 -1
  432. package/dist/twilight/{p-2bf8f0ed.entry.js → p-b55fb51b.entry.js} +1 -1
  433. package/dist/twilight/{p-28875055.entry.js → p-bb35af04.entry.js} +1 -1
  434. package/dist/twilight/{p-3ff2b8b6.entry.js → p-bf845ea7.entry.js} +1 -1
  435. package/dist/twilight/{p-5b1a0560.entry.js → p-c2e871ae.entry.js} +1 -1
  436. package/dist/twilight/{p-004584f5.entry.js → p-c38fb150.entry.js} +1 -1
  437. package/dist/twilight/{p-7b373051.entry.js → p-c63ff8ef.entry.js} +1 -1
  438. package/dist/twilight/{p-63a315e1.entry.js → p-c90600b1.entry.js} +1 -1
  439. package/dist/twilight/{p-2c480419.entry.js → p-cc1b3318.entry.js} +1 -1
  440. package/dist/twilight/{p-44b8d453.entry.js → p-ce1d3ad9.entry.js} +1 -1
  441. package/dist/twilight/{p-ea1c06ab.entry.js → p-ce80fb8f.entry.js} +1 -1
  442. package/dist/twilight/{p-d7e5b860.entry.js → p-d3556d1f.entry.js} +1 -1
  443. package/dist/twilight/{p-ef037207.entry.js → p-d3cf9f8a.entry.js} +1 -1
  444. package/dist/twilight/{p-af99726d.entry.js → p-dd18ac5c.entry.js} +1 -1
  445. package/dist/twilight/p-dda4d231.entry.js +4 -0
  446. package/dist/twilight/{p-86ad5af2.entry.js → p-e0d834a7.entry.js} +1 -1
  447. package/dist/twilight/{p-71ecb477.entry.js → p-e4ff7a77.entry.js} +1 -1
  448. package/dist/twilight/{p-5ddd9aa0.entry.js → p-e66856c5.entry.js} +1 -1
  449. package/dist/twilight/{p-a47b910f.entry.js → p-e7c4d4cc.entry.js} +1 -1
  450. package/dist/twilight/{p-12ab7c1a.entry.js → p-e944f02a.entry.js} +1 -1
  451. package/dist/twilight/{p-21e6b2e7.entry.js → p-e95fd91e.entry.js} +1 -1
  452. package/dist/twilight/{p-55e0745e.entry.js → p-ea7846fd.entry.js} +1 -1
  453. package/dist/twilight/p-f0ca37fc.entry.js +4 -0
  454. package/dist/twilight/{p-96cac80e.entry.js → p-f2e13d28.entry.js} +1 -1
  455. package/dist/twilight/p-f514b9f5.entry.js +4 -0
  456. package/dist/twilight/p-fa6f2b27.entry.js +4 -0
  457. package/dist/twilight/{p-84599aa5.entry.js → p-faadae59.entry.js} +1 -1
  458. package/dist/twilight/{p-4bf58226.entry.js → p-fc500047.entry.js} +1 -1
  459. package/dist/twilight/p-fdc97278.entry.js +4 -0
  460. package/dist/twilight/twilight.esm.js +1 -1
  461. package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +6 -0
  462. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +25 -12
  463. package/dist/types/components/salla-cart-coupons/interfaces.d.ts +20 -0
  464. package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +49 -1
  465. package/dist/types/components/salla-offer/salla-offer.d.ts +10 -0
  466. package/dist/types/components/salla-orders/interface.d.ts +2 -0
  467. package/dist/types/components/salla-orders/salla-orders.d.ts +5 -1
  468. package/dist/types/components.d.ts +2 -2
  469. package/package.json +5 -5
  470. package/dist/twilight/p-127f0000.entry.js +0 -4
  471. package/dist/twilight/p-25a4633f.entry.js +0 -4
  472. package/dist/twilight/p-3357d33a.entry.js +0 -4
  473. package/dist/twilight/p-338f727b.entry.js +0 -4
  474. package/dist/twilight/p-7a19ef45.entry.js +0 -4
  475. package/dist/twilight/p-8d30dbac.entry.js +0 -4
  476. package/dist/twilight/p-CV6uPJEJ.js +0 -4
  477. package/dist/twilight/p-a391b31d.entry.js +0 -4
  478. package/dist/twilight/p-eb11b8be.entry.js +0 -4
@@ -42,12 +42,12 @@ export class SallaPayments {
42
42
  render() {
43
43
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
44
44
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
45
- return (h(Host, { key: '7b48366eb122743315532e53cfcf05ac31c5ad60', class: "s-payments-list-wrap" }, h("ul", { key: 'e278c90249fa655ede607689afd366e5dc538532', class: "s-payments-list" }, madeInKSA && h("li", { key: '6a2494479aaef3dbe8557feaf07b290b9a7fc3a9', class: "s-payments-list-item" }, h("img", { key: '386ee723fce881bf4206a3113ff8e611bf48c0c8', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.filter(payment => !this.exclude.includes(payment)).map((payment) => (payment == "cod" ?
45
+ return (h(Host, { key: '46c58d42a6e876a785bc4ee0b27dd91943e95932', class: "s-payments-list-wrap" }, h("ul", { key: '7745fe947414ce517400dc31d5d89cea413fd295', class: "s-payments-list" }, madeInKSA && h("li", { key: '4715de8ea395d318432cd13ee44e30b06c27f570', class: "s-payments-list-item" }, h("img", { key: '096e9b6168ba7b87bda69bca26af7525d846f152', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.filter(payment => !this.exclude.includes(payment)).map((payment) => (payment == "cod" ?
46
46
  h("div", { id: "cod-slot", innerHTML: this.codSlot
47
47
  .replace(/\{image\}/g, this.paymentLogo(`cod`)) }) :
48
48
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
49
49
  .replace(/\{image\}/g, this.paymentLogo(payment))
50
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '7a355da7a8f0ee873264807504d2d353739331bf', id: "sbc-slot", innerHTML: this.sbcSlot
50
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '850bc394f7bd0396b6f78b9f57fc8254baab0635', id: "sbc-slot", innerHTML: this.sbcSlot
51
51
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
52
52
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
53
53
  }
@@ -35,7 +35,7 @@ export class SallaPlaceholder {
35
35
  };
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'bb1e87ff964770b00667e5ba934e025a184056fe', class: this.alignmentClass() }, h("div", { key: '6a75cef023d5f1a719ebb8d91a8b2181e1635161', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: 'cb68c4045df8dac84cd7c0626d9d8c322202e73d', class: "s-placeholder-title" }, h("slot", { key: '09f95446b63392eee020fa7d970e5387f83c4769', name: 'title' }, h("span", { key: 'b72e61aeabcc48fd5b3e14d76f4dcfab7c37703b' }, salla.lang.get('common.elements.no_options')))), h("div", { key: 'c9ba74e9a6dbe65c3e3d7994364182919bbbf3b0', class: "s-placeholder-description" }, h("slot", { key: '5441dc166551ead2f1386a58417d991fb62065f9', name: 'description' }, h("span", { key: 'd823d7f9bb6afa98df3307265b734ac06b3361ff' }, salla.lang.get('common.errors.empty_results'))))));
38
+ return (h(Host, { key: '7680e249ef9627c8c53c1fcbd02bb942d3f650a4', class: this.alignmentClass() }, h("div", { key: '17df509f27879794ea37172826489033ddb85045', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '117de24add832359f0a046a5e67b16748e25572d', class: "s-placeholder-title" }, h("slot", { key: '3bc517f00c6427a1103f859b58e9763f10851f4d', name: 'title' }, h("span", { key: '17615872d9b5e03d9b33d01fde5e1753f5f7a97e' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '962eafb62268b4ae3e25610a0dec6734ac58378a', class: "s-placeholder-description" }, h("slot", { key: '6326fdee550361c7cf6be95f1da2baf5616bd0f4', name: 'description' }, h("span", { key: '179fbe8c4352fad27a88b39baa6d858075006bfe' }, salla.lang.get('common.errors.empty_results'))))));
39
39
  }
40
40
  static get is() { return "salla-placeholder"; }
41
41
  static get originalStyleUrls() {
@@ -146,9 +146,9 @@ export class SallaPriceRange {
146
146
  this.maxPrice = value === undefined ? '' : value;
147
147
  }
148
148
  render() {
149
- return (h(Host, { key: 'b03ebb94bc24463935ff1ef49872ebc85343276f' }, this.filterValues.map((filterValue, index) => {
149
+ return (h(Host, { key: '582547be2a058bd2ab9c8567b5925f25711e1aff' }, this.filterValues.map((filterValue, index) => {
150
150
  return h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index}`, key: index }, h("input", { id: `${this.option.key}-${index}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), h("span", { innerHTML: this.getPriceLabel(filterValue) }));
151
- }), h("div", { key: '701869c55602ed0ef68d2a1495b76f2159cf8d9d', class: "flex justify-center items-center" }, h("div", { key: '956a0ca9ab38e364baa9c1e7427c428143de2d64', class: "relative max-w-xl w-full" }, h("div", { key: '454523dfd41c249bc3ee984d9ebc908e257da655', class: "s-price-range-inputs" }, h("div", { key: 'f0047855d712ce0c637da08e0b5087253a4fa2d4', class: "s-price-range-relative" }, h("div", { key: '79d5ca39cb0da6b31523ae69f2ea62a1d49f4eed', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '5caa99eb839a0bfb651b7080fc51f8a99102380d', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '8df49030aa912e646a82a16b75416f5b86a54735', class: "s-price-range-gray-text" }, " -"), h("div", { key: '9c7eaa41986246f5d1e0f42c8f917c83643abf83', class: "s-price-range-relative" }, h("div", { key: '79de4f4520d63e038a51153372b1aabf729aeaff', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '497d516b45de96f205021cace76604a04887aeb4', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '3179fd8523d7aabe0a61f496752294416a02edd5', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: 'd3a4660e76c1baef73e24ff23d79622535d80cfc', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
151
+ }), h("div", { key: '36dea18b1f8f9b9c11a235328d6019cdb0ea5d9d', class: "flex justify-center items-center" }, h("div", { key: '765c5a4eca4cb39b47cba341e8c8f7b7888f0072', class: "relative max-w-xl w-full" }, h("div", { key: '24c54bcec699865a391f198d701abcdcf40bd438', class: "s-price-range-inputs" }, h("div", { key: '962c157d0d7df4f096eed09b51618f3bdadaa347', class: "s-price-range-relative" }, h("div", { key: 'e39123015563b93553be0498673245311644f178', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '4dadf22dc8ad4a982a07acdbb5b62b28b46aa49a', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '1aea9954befb49f6c9f3f0b1d20ce04defa352b9', class: "s-price-range-gray-text" }, " -"), h("div", { key: 'c4ed3a532ab1c780e69bcadd96ed9581e0a69a85', class: "s-price-range-relative" }, h("div", { key: '3489752cc4de7fb82e758bf877959d7c34094d28', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '9f06151e1156553f0a45283c0db0af92c269c110', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '1496f0eb951492d3eaad51c90bc1234d746d748c', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '9efb20a46dae252c5e82bb52f0bcb57c8e030c99', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
152
152
  }
153
153
  componentDidLoad() {
154
154
  this.isReady = true;
@@ -137,7 +137,7 @@ export class SallaProductAvailability {
137
137
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
138
138
  }
139
139
  render() {
140
- return (h(Host, { key: '646195e9982d709d58b12eae7ee0649f85a76d93', class: "s-product-availability-wrap" }, this.isSubscribedToProduct
140
+ return (h(Host, { key: 'ba2423b2f12f2c6b3870c55b12157bbcf42407e8', class: "s-product-availability-wrap" }, this.isSubscribedToProduct
141
141
  ? h("div", { class: "s-product-availability-subscribed" }, h("span", { innerHTML: BellRingIcon, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
142
142
  :
143
143
  h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribedToProduct ? '' : this.renderModal()));
@@ -136,14 +136,14 @@ export class SallaProductCard {
136
136
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
137
137
  };
138
138
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
139
- return (h(Host, { key: 'c93b5f53596bab6f80562dad7092b40f6dc999c4', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: 'dc5f9bd95352c0ce3d093167ead21e57b5b3e88f', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: 'd7d95bb97788b80eee08dc640a5c6829235fc3c7', ...hrefProp }, h("img", { key: '4859076d5f98264bde624783cc1c45c18c4fd7bd', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
139
+ return (h(Host, { key: '6e57fdf93d631d1770a88733be8ecd2fe4be7cb7', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '540e4afcc1784e56c6560fcbc53ca22fe7871a58', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '13173d79484e8922e6ca9edb7b5eaf5d24577b57', ...hrefProp }, h("img", { key: 'ff09e2558689d47cf091bb36e2201f5a257b3b7b', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
140
140
  ? 'contain'
141
141
  : this.fitImageHeight
142
142
  ? this.fitImageHeight
143
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '57a7f91ea104bab4727f17dd45e837b2521fdf8a', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
144
- h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '16e23d6cdd67e90a3b06238a32135885c280508d', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
143
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '5407cae4838f6cf35d8d3181e0de47ba1f7e4d66', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
144
+ h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '73a4f99505f4b3c1b7f34341a08f7c3957cc9216', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
145
145
  h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
146
- : '', h("div", { key: 'af150cdc2b9aa7cbe3cd6ffc32f5a11171a53dd1', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: 'fea0aa2c44be7439b103298e63947f8a2fbf149b', class: "s-product-card-content-title" }, h("a", { key: 'f32166bb5a42aab0253f5e0c0771958065ef34ab', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle && !this.minimal ?
146
+ : '', h("div", { key: 'b757815f1ee1873fcf5a7c76be1d6403f5862201', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '5e27e19508fcbc98fa1e5543768d3e93d9adccce', class: "s-product-card-content-title" }, h("a", { key: '78b6494ad4e08b8cebff2984b6a1e60878b356fa', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle && !this.minimal ?
147
147
  h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
148
148
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
149
149
  [h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -152,7 +152,7 @@ export class SallaProductCard {
152
152
  this.addBtn.donatingAmount = e.target.value;
153
153
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
154
154
  : '')]
155
- : '', h("div", { key: '79cf3ef1127ac372c8f67fff2d549aa32656a6bb', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.showOutOfStockBesidePrice && this.productData?.is_out_of_stock ?
155
+ : '', h("div", { key: '148e979d2b36ed185e1bf5f8345096a442c94601', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.showOutOfStockBesidePrice && this.productData?.is_out_of_stock ?
156
156
  h("span", { class: "s-product-card-out-of-stock-label" }, this.outOfStock)
157
157
  : '', this.productData?.rating?.stars && !this.minimal ?
158
158
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))
@@ -94,7 +94,7 @@ export class SallaProductCardEmbed {
94
94
  's-product-card-embed-card-align-right': this.align === 'right',
95
95
  's-product-card-embed-card-align-center': this.align === 'center',
96
96
  };
97
- return (h(Host, { key: 'd001e10a89c192004bfdfdcbeeb83d2d9c695d95' }, this.hasError && h("span", { key: '2c35003750483da3d17d6df0ee5add7a3aaf530b', class: "s-product-card-embed-fallback" }), h("div", { key: 'ff5743f1a26421488677a28503f448d410b49abb', class: cardClasses, ref: (el) => {
97
+ return (h(Host, { key: '56f42e6b733dc4101759a30182297af7313feebe' }, this.hasError && h("span", { key: 'abe5fefd824cdc8880a0afd8864f6283c957cab1', class: "s-product-card-embed-fallback" }), h("div", { key: '72ce12394216af508ba187e67331fa7862caa16a', class: cardClasses, ref: (el) => {
98
98
  this.cardContainer = el;
99
99
  } })));
100
100
  }
@@ -45,11 +45,11 @@ export class SallaProductSizeGuide {
45
45
  return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
46
46
  }
47
47
  render() {
48
- return (h("salla-modal", { key: '821a0f8c890f62c278f2c6fbb0081c58074134fa', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '54972cbc6899d788b3543f882d3f3cf0c6a50071', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '251eca54b49ccd504cec94371103d52db3dceae5', slot: "loading" }, h("div", { key: '65563fe5e6114cdc1958b6acfc23338f87629ee9', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '66c8da1a0ca4ff7bb48b7274135de2a79c08cf69', height: '15px', width: '25%' }), h("div", { key: '33f7ec9dc4d1749bebdd8d1765b63b04f13473f3', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '1f1e52c77826df60eae9c814d0db6dfa22976495', height: '40px' }), h("salla-skeleton", { key: '608fc344f8b06e23776fac615b49730f5934baec', height: '40px' }), h("salla-skeleton", { key: '876f24fb4e06b8bd094ca9bc18c55e196b388201', height: '40px' }), h("salla-skeleton", { key: 'd3f0c5baad4e0d940b3a30598353629dd199cd38', height: '40px' })), h("div", { key: 'f492afd9c329add253c60c8692173288437213d8', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '7246853ccd94c5de70dac399593cf3dd64ae85de', height: '15px', width: '25%' }), h("salla-skeleton", { key: '5b314c2a99a4437891a7fcaf4d01a29597a03422', height: '10px', width: '75%' }), h("salla-skeleton", { key: '4cde9368235a5f355d3ce4c28642cb3f29716880', height: '10px', width: '50%' }), h("salla-skeleton", { key: 'fb7be5927efc29a993049632dde462e5e329d74b', height: '10px', width: '75%' }), h("salla-skeleton", { key: '945f9901fdd6b681c28b80f3a7b9c253c5063424', height: '10px', width: '100%' }), h("salla-skeleton", { key: '991f7e304524d0acc6c8eab5dfef4be75eee7655', height: '10px', width: '25%' }), h("salla-skeleton", { key: '9d2c66c90b20abd0984ea2ef3ced2f9dbe3479c2', height: '10px', width: '60%' }), h("salla-skeleton", { key: '0943d7f53030e26034e01c89c8edf1cfd76a87ab', height: '10px', width: '45%' }), h("salla-skeleton", { key: '683502d6f44eb68fe7ba7f9b54df456b725bd126', height: '10px', width: '30%' })))), h("slot", { key: 'bf50073356c49df10842635491e2606321faaa50', name: "header" }), !this.hasError && !!this.guides ?
48
+ return (h("salla-modal", { key: 'eeb477f6cd7831f06fb2b716e2391d684ae4e93c', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '48f9e18ebfec9999dc856fe3c7bca7854e4f53b3', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '9fc445cfb72dfdd5d0d306419041aa9f3acafb66', slot: "loading" }, h("div", { key: 'f5dbfb1560940a691f891e7d41eca22977693d79', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: 'c6790017016fc8b471601bf093051f80183645c9', height: '15px', width: '25%' }), h("div", { key: 'ba72c67c7b26e62ed4548444ba9083f83816f59e', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '4fd934c7bf103bcd937028bacda524915a40f76a', height: '40px' }), h("salla-skeleton", { key: '3754ae6eca3938380261e221f6941b2ef2a381dd', height: '40px' }), h("salla-skeleton", { key: 'a2007afe625ce45713b3a2f64a62cf0da101c1e9', height: '40px' }), h("salla-skeleton", { key: '7ed982fa2c6c862bf724fa1b1dc059db2f5dbc41', height: '40px' })), h("div", { key: '3914b9dde80d2257a55b0aa156f61df5936f1bb5', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '51b96df249504517e4c3fe1098be2937cbaeef63', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'd5844e3c91eddc4821b97cc9991a2441dd0bb117', height: '10px', width: '75%' }), h("salla-skeleton", { key: '976e70a0aa160dd9b4dbe4d0f9f0675f5c3308ea', height: '10px', width: '50%' }), h("salla-skeleton", { key: '1baf5286915a708ea68850c9c82e7970c6521c86', height: '10px', width: '75%' }), h("salla-skeleton", { key: '8ecc89a3defd83637936023b0d0841c55c6799cd', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'eb90ea350d6947596688595bb898a8c3a8dcac39', height: '10px', width: '25%' }), h("salla-skeleton", { key: '282d747e764c2761aa4b68f145467371acd66f32', height: '10px', width: '60%' }), h("salla-skeleton", { key: '610491fa3769027ceebec2ab46e7166d0bfac9f2', height: '10px', width: '45%' }), h("salla-skeleton", { key: '8162ba3bec487efe6fa1c0adf2355bd175d8310a', height: '10px', width: '30%' })))), h("slot", { key: 'b55b29cfeb52e41c0c56a79bded075fda7f49fab', name: "header" }), !this.hasError && !!this.guides ?
49
49
  [
50
50
  h("salla-tabs", null, this.guides.map((guide) => h("salla-tab-header", { slot: "header", name: guide.name }, h("span", null, guide.name))), this.guides.map((guide) => h("salla-tab-content", { slot: "content", name: guide.name }, h("div", { innerHTML: guide.description }))))
51
51
  ]
52
- : this.showPlaceholder(), h("slot", { key: '2f357ddc66624cb7c05324ed9fb8c1164b39eda1', name: "footer" })));
52
+ : this.showPlaceholder(), h("slot", { key: '6e37eb73078f786ce5dda8cf9ed6bae16eb3acfc', name: "footer" })));
53
53
  }
54
54
  static get is() { return "salla-product-size-guide"; }
55
55
  static get originalStyleUrls() {
@@ -91,7 +91,7 @@ export class SallaQuantityInput {
91
91
  if (!inputAttributes['aria-label'] && !inputAttributes['aria-labelledby']) {
92
92
  inputAttributes['aria-label'] = salla.lang.getWithDefault('common.elements.quantity', 'Quantity');
93
93
  }
94
- return (h(Host, { key: 'bf0882609ec0e164d8280789ee6deeaadeb3e484', class: "s-quantity-input" }, h("div", { key: 'c69afe51313f69250454cf6cf72dba89fb1f92e2', class: "s-quantity-input-container" }, h("button", { key: '8a02d3452f9727278acae90f1017eed65033c0a3', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? h("span", { innerHTML: Add }) : '', h("slot", { key: 'f4f1dbb40e2d90205075a8d3bf31a7e4a08ee6b5', name: "increment-button" })), h("input", { key: '67b7cdc6ef5311799d200660f26a7520e122b411', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), h("button", { key: 'f0139bd8e74744e9396cbae706151ec3c092766b', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? h("span", { innerHTML: Minus }) : '', h("slot", { key: 'd051c3ca89310e67f834a970788abc606e5d2bbc', name: "decrement-button" })))));
94
+ return (h(Host, { key: '97cfd53bacd63cfd819d733f25055fd6befcb46a', class: "s-quantity-input" }, h("div", { key: 'fbe95d268cfb58eac1cf751d39695fb1abb76de1', class: "s-quantity-input-container" }, h("button", { key: '511ee9299a053f3853b1e68783ec345523bf3dc2', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? h("span", { innerHTML: Add }) : '', h("slot", { key: '104cad1ffb95e0213ee1ce3e215213d1ad346bdc', name: "increment-button" })), h("input", { key: '60d3114d8d7ca3a4923761041b4b02218fc903ce', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), h("button", { key: '554b02f7b85cbd026431adf2573efa1cbb0564bb', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? h("span", { innerHTML: Minus }) : '', h("slot", { key: '8028a32c8c83a4205e093e8ad5ccf5d8e9fd019b', name: "decrement-button" })))));
95
95
  }
96
96
  static get is() { return "salla-quantity-input"; }
97
97
  static get originalStyleUrls() {
@@ -356,7 +356,7 @@ export class SallaQuickBuy {
356
356
  });
357
357
  }
358
358
  render() {
359
- return h(Host, { key: '59b95a61820cc3c67b9c99ea57f71df5ba031d95' }, this.quickBuyButton());
359
+ return h(Host, { key: 'b03cdde677e52e751e8c1592a9da0ffc40614172' }, this.quickBuyButton());
360
360
  }
361
361
  quickBuyButton() {
362
362
  return h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -158,7 +158,7 @@ export class SallaReviewCard {
158
158
  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)));
159
159
  }
160
160
  render() {
161
- return h("div", { key: '30740961e8642d6b3ea7877ef050dc5f16cd2ab3', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'ed7a5928b1b8b0294fa22f49471a8bf673d153d8', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: 'bd8013216d1127c19632f5e4f61494a91daf0e43', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
161
+ return h("div", { key: '18de38dbba7c660404090a488ff40bebb3b5cfb9', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'cb01e59c058d9ac64cd16e66e2f2d90859680c17', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '63bf8afb138423ea10a0e689b126c462b623e462', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
162
162
  }
163
163
  static get is() { return "salla-review-card"; }
164
164
  static get originalStyleUrls() {
@@ -47,7 +47,7 @@ export class SallaReviewFactorsTags {
47
47
  return (h("div", { class: "s-review-factors-tags-factors" }, factors.map(factor => (h("div", { class: "s-review-factors-tags-factor-tag" }, h("span", { class: "s-review-factors-tags-factor-name" }, factor.name), h("span", { class: "s-review-factors-tags-factor-star", innerHTML: Star2 }), h("span", { class: "s-review-factors-tags-factor-rating" }, factor.rating || ''))))));
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '01d13a2113db33368eecbf8cc0d1700fa501607b', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
50
+ return (h(Host, { key: '8360dda7ca017f934d4e2c284b3d35be81dce9a3', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
51
51
  }
52
52
  static get is() { return "salla-review-factors-tags"; }
53
53
  static get originalStyleUrls() {
@@ -142,7 +142,7 @@ export class SallaReviewsPage {
142
142
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
143
143
  }
144
144
  render() {
145
- return (h("host", { key: '230302f0bca1b13c1e846b394a7681686150d43a' }, h("div", { key: '0f94af9c8ad6b7d7e236ed55f071242369f3c36f', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '30ad45af9e9075b150a17b4927f608b80d1e86a8', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '1a3d378eaf414eedb39a9501e11abb2802241af4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '15671de5c36e3cc94aa2ce55050bb6ed5eb34397', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '87a59577afe28de5b08354af48d26809a61214e0', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '4bc37af2cd6efbaea53032e6ce18241957bafc2f', 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 => {
145
+ return (h("host", { key: '3bb188bd0ddcff6333a47ad3821ad9f75706ac6a' }, h("div", { key: 'ae139cb0f8e4921e95c695ececc6633e79486ae0', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '422bc1b53c10d0c0e87b701580e049fde71f2871', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'd43661c7d358ba1bc99762fdd92b0c9e68a86427', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '3255662d8c1895bf640ae02e480a1c597e37ff87', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'c2d02265c6adde573a9e282380e670ed2926e68a', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '67de9329c56bd70740e66c3c119a6396ce1c6006', 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 => {
146
146
  this.wrapper = el;
147
147
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
148
148
  : 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));
@@ -104,7 +104,7 @@ export class SallaSearchProductCard {
104
104
  const hrefProp = this.productData?.url
105
105
  ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` }
106
106
  : {};
107
- return (h(Host, { key: 'b852b4074a0e916b5d4888845d36a7ca28b8bd37', id: `search-product-${this.productData?.id}`, class: classes }, h("div", { key: '28050055f2bb2ec3658908a450c25fb48a5ef1d2', class: "s-search-product-card-image" }, h("a", { key: 'fe473c0612caeeddb477d54d0fc78520a79d481e', ...hrefProp }, h("img", { key: '3909e217448696726fbbf9faacb6fdfc020565a6', class: `s-search-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url) ? 'contain' : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), this.getProductBadge())), h("div", { key: '1310054158a73bdee291fb484f6bac095cc37a8e', class: "s-search-product-card-content" }, h("div", { key: 'eab101d8529b449aaffe47698fb847c81ecff44c', class: "s-search-product-card-content-main" }, h("h3", { key: 'a7ecbfbc6fc415000ef3f3b44a4eadd3cf94b899', class: "s-search-product-card-content-title" }, h("a", { key: '52f89dd9d66a3a0e7aa66d3c834f8fa08aba4130', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : ('')), !!this.showDonationAmount && !!this.productData?.donation
107
+ return (h(Host, { key: '7d27bff6bbcbd9358f74a80e2508bf55e2a803f2', id: `search-product-${this.productData?.id}`, class: classes }, h("div", { key: 'c5b4779eb70efac08ef667a39a9d7e10c29ad06d', class: "s-search-product-card-image" }, h("a", { key: '743fa57c70e013dd06dffcd3fd08e647277ea691', ...hrefProp }, h("img", { key: 'ffd45205931e889f7720ec82facbaefb7b1ee6a7', class: `s-search-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url) ? 'contain' : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), this.getProductBadge())), h("div", { key: '0325f34877b04501982d37d5c5716e92b7bde4bd', class: "s-search-product-card-content" }, h("div", { key: '9fd59aca92bb6afadd203c3c43a41cc43a34ec6a', class: "s-search-product-card-content-main" }, h("h3", { key: '5d42d98468f76c41da5d6590894625228811eaf0', class: "s-search-product-card-content-title" }, h("a", { key: '9cf79321593a3609fae3eeef0f0af9e3d0aebfa5', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : ('')), !!this.showDonationAmount && !!this.productData?.donation
108
108
  ? [
109
109
  h("salla-progress-bar", { donation: this.productData?.donation }),
110
110
  h("div", { class: "s-search-product-card-donation-input" }, this.productData?.donation?.can_donate
@@ -119,7 +119,7 @@ export class SallaSearchProductCard {
119
119
  ]
120
120
  : ''),
121
121
  ]
122
- : '', h("div", { key: '37ab723bf8d1c825a58ce0ca7303e5979de125d8', class: "s-search-product-card-content-sub" }, this.getProductPrice(), this.productData?.is_out_of_stock ? (h("span", { class: "s-search-product-card-out-of-stock-label" }, this.outOfStock)) : (''), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))) : (''))), !this.hideAddBtn ? (h("div", { class: "s-search-product-card-content-footer" }, h("salla-add-product-button", { ref: el => (this.addBtn = el), "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type, class: "s-add-product-button-compact" }, this.renderAddToCartLabel()))) : ('')));
122
+ : '', h("div", { key: 'd5b23f2572548e577576abe8dc0241f9823fd3ab', class: "s-search-product-card-content-sub" }, this.getProductPrice(), this.productData?.is_out_of_stock ? (h("span", { class: "s-search-product-card-out-of-stock-label" }, this.outOfStock)) : (''), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))) : (''))), !this.hideAddBtn ? (h("div", { class: "s-search-product-card-content-footer" }, h("salla-add-product-button", { ref: el => (this.addBtn = el), "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type, class: "s-add-product-button-compact" }, this.renderAddToCartLabel()))) : ('')));
123
123
  }
124
124
  componentDidLoad() {
125
125
  document.lazyLoadInstance?.update(this.host?.querySelectorAll('.lazy'));
@@ -188,18 +188,18 @@ export class SallaSearchableDropdown {
188
188
  render() {
189
189
  const hasSelection = this.selectedItem != null;
190
190
  const listboxId = `${this.inputId}-listbox`;
191
- return (h(Host, { key: 'adb5cc56df221951bb9c2cfece436ca47297e7c6', class: "s-searchable-dropdown" }, h("div", { key: 'c53f13b55284ea7e6288fbf47c65ea8741946dad', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '80694c905aa7c4106047c03100bac6494bd46d65', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '93d82dcbac374bf19fe93ea0fe283b6223392ad9', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '930ae1e3c99ca272dc3ef5849a147b97c60cdaa3', class: {
191
+ return (h(Host, { key: '55e97edfcdfa3e48bc846f56c1edd5da6505eee5', class: "s-searchable-dropdown" }, h("div", { key: '030c39a1894841330c68935955d00f9a3b7cccf7', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '9f8af8e5d7436f1f0eccf697c7f57eeb0561bf46', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '3af173bbd1c5ebd149b9c267ce5fe783580ffd42', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '50e3fae530c18a87983a008ac46118e43c4847bc', class: {
192
192
  's-searchable-dropdown-trigger': true,
193
193
  's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
194
194
  's-searchable-dropdown-trigger--open': this.isOpen,
195
- }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '37a5061c5c0b2b287f83d688fae1e87c89ba3638', class: {
195
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'e6c3b6ee296810cdf554cdca5a7bf7a86b373f1c', class: {
196
196
  'sicon-keyboard_arrow_down': true,
197
197
  's-searchable-dropdown-trigger-icon': true,
198
198
  's-searchable-dropdown-trigger-icon--open': this.isOpen,
199
- }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: 'a6fb5cb55a7e9d993667dbd330a01d62e32643be', class: {
199
+ }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '615cf48076e86b6be2a8fa6eba2de7dbcfe8518c', class: {
200
200
  's-searchable-dropdown-panel': true,
201
201
  's-searchable-dropdown-panel--up': this.dropUp,
202
- }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: 'b31a7cb0268f56ced610e729cafc75d73a535cab', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '4b34fe7e5f80778dacae009a7b533f7078450a86', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '7c0179801f4250d863b74d3907cde02ddc5defdb', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: 'f857ce0cf6738ee4c30135667f914dbfef33cb48', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
202
+ }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '14012e1869604b362d31710776d2278f23242690', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '26de269b2cbcfbb38f675b45b0bea1ba3dccaa9b', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '5102ff64028965aa0357fc132a7dcdda48c9779b', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '9645e12894cfa5a6783876de18472a9ca004f602', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
203
203
  }
204
204
  renderListContent() {
205
205
  if (this.searching || this.loading) {
@@ -22,7 +22,7 @@ export class SallaSkeleton {
22
22
  's-skeleton-item': true,
23
23
  's-skeleton-item-circular': this.type == 'circle',
24
24
  };
25
- return (h(Host, { key: 'ce408ebbf729ec0b7a044d1146a007ce897a385a', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '8d9c37eb98c07cd82a3c334650c1220d7715e92e', class: classes }, "\u00A0")));
25
+ return (h(Host, { key: '5568fdecb56f5513ffbe8f9b82da106a525af6a8', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '0a69bf54dff8093adea503ec6dbcb3f07aba9e13', class: classes }, "\u00A0")));
26
26
  }
27
27
  static get is() { return "salla-skeleton"; }
28
28
  static get originalStyleUrls() {
@@ -31,7 +31,7 @@ export class SallaSocial {
31
31
  }
32
32
  render() {
33
33
  const linksArray = this.getLinksArray();
34
- return (h(Host, { key: '3a5a85186d4c972173bc846a34658cd72d13db8c' }, h("ul", { key: 'e6fae357974325efc7f03d09212b30ce9f596839', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
34
+ return (h(Host, { key: 'dfd63f034c588f6f6f08200d531187bd51e0b3b4' }, h("ul", { key: 'e4ec12ccb3c63a1dfdd64c5d3186734bed37db77', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
35
35
  .replace(/\{icon\}/g, this.iconsList[link.type])
36
36
  .replace(/\{type\}/g, link.type)
37
37
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -355,7 +355,7 @@ export class SallaSocialShare {
355
355
  })));
356
356
  }
357
357
  render() {
358
- return (h("div", { key: '4ffa937b0951a4cb1a58a363cc7a1d7efd3dc450', class: "s-social-share-wrapper" }, h("slot", { key: '4adf482dacae63cbb824511940231ba88c342328', name: "widget" }, h("salla-button", { key: 'c2037e6e232b5091b67c8b4ee615f6a58865e73c', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'dcad9422daf9ffe88e5483f0293789b839aa345d', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
358
+ return (h("div", { key: '1aa2cfd0b97f66f68ba831908cfa208fac841acd', class: "s-social-share-wrapper" }, h("slot", { key: '570372d3e572314dc69642ee186ba4c09a836808', name: "widget" }, h("salla-button", { key: 'a06c19703990158f6c1897162ea0f814ed8b0d59', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'a1e19a318cb21c0c0a54d5df0c132e2c273d71c8', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
359
359
  }
360
360
  static get is() { return "salla-social-share"; }
361
361
  static get originalStyleUrls() {
@@ -30,7 +30,7 @@ export class SallaTabContent {
30
30
  's-tabs-content': true,
31
31
  's-tabs-content-selected': this.isSelected
32
32
  };
33
- return (h("div", { key: '6e4cce860f67539cbcdd0992459cb1ff411d1c28', class: classes }, h("slot", { key: 'b78d73bded8b8f2f6914474a9212b36b3df238c7' })));
33
+ return (h("div", { key: 'f2deb9c1508aafe3aff5352094cccc97bdcd42ef', class: classes }, h("slot", { key: '460588864047444acdb06e757a7124d28935c24b' })));
34
34
  }
35
35
  static get is() { return "salla-tab-content"; }
36
36
  static get originalStyleUrls() {
@@ -52,7 +52,7 @@ export class SallaTabHeader {
52
52
  's-tabs-active': this.isSelected,
53
53
  };
54
54
  return [
55
- h("div", { key: '777c0dfcf45cf1f891e0ea7f5de46a28f9d3bd50', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'ff553a9fdf4158c9a6f5ca94ade09aa75f2733cd' })),
55
+ h("div", { key: '153247ab5a7c73819ccc506a45e60b9c084c391c', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '417a3ae0c0aec8a965b5d3be9a4f917f290d2109' })),
56
56
  ];
57
57
  }
58
58
  static get is() { return "salla-tab-header"; }
@@ -50,7 +50,7 @@ export class SallaTabs {
50
50
  }
51
51
  render() {
52
52
  return [
53
- h("div", { key: '57200f5c96819e44c3e62bf6a625c4d89ccb708b', class: "s-tabs" }, h("div", { key: '9f5b874cbe4cac9a6d9980f13b708deb9f69c1ea', class: "s-tabs-header" }, h("slot", { key: '2cbb90c9fee0457b76a542576f6ce4c07d08a28a', name: "header" })), h("div", { key: '9ab02e5b3dff4f87cb8b6468fb5063737d9695e8', class: "s-tabs-content-wrapper" }, h("slot", { key: 'dd9eb1088be3c88a835981b894b61f7eff7b4498', name: "content" })))
53
+ h("div", { key: 'ae50836f68ee92459720fa9bf00d73848d849627', class: "s-tabs" }, h("div", { key: '55e8186e80381902269f9bad5738d9a555f71d37', class: "s-tabs-header" }, h("slot", { key: '46ce3e1ea75f92165b3d5ee7c16f19f8693f6d31', name: "header" })), h("div", { key: '3669e643abb37ed2edca73fc0577822a3f7fbb90', class: "s-tabs-content-wrapper" }, h("slot", { key: '2cf8b79f44630e21103991325ceff2cd3a4019ba', name: "content" })))
54
54
  ];
55
55
  }
56
56
  static get is() { return "salla-tabs"; }
@@ -138,7 +138,7 @@ export class SallaTelInput {
138
138
  }
139
139
  }
140
140
  render() {
141
- return (h(Host, { key: 'd11d0cc65431224c7244a0e93c2a669c68317fe1', class: "s-tel-input" }, h("input", { key: 'c50b415589528411d98a3218efbe63a36920beb6', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '3946a88bef3b1891a6f16ba62ae29f4525206378', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '958cbcb613002a34c2d2d891d181cc9968eb1696', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
141
+ return (h(Host, { key: '00cde75ffc507810d1c6b24996f8657689ee4eec', class: "s-tel-input" }, h("input", { key: '236ffef90273d7444f8b0f07391c6317374f94de', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '9fa1b6bcb2b0ab2421db99d03c46564e566e80a0', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '7fce331ad04975f2a7c6cfb0cc15a4e8ade4faf8', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
142
142
  }
143
143
  componentDidLoad() {
144
144
  this.initPromise = this.initTelInput();
@@ -27,7 +27,7 @@ export class SallaTooltip {
27
27
  }
28
28
  render() {
29
29
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
30
- return (h("div", { key: '3aa2106f8e7d0024b40af019d10dd8cc69bc00d9', class: "s-tooltip-container" }, h("div", { key: 'd9c8295b49cdb511f89a8b226a1c8d626da64800', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
30
+ return (h("div", { key: 'e5e8f78265e0abb1d4130fd084573c6cff1ecb2c', class: "s-tooltip-container" }, h("div", { key: '4dc98906dfd28c6e2d97b51329c07046eb15179c', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
31
31
  }
32
32
  static get is() { return "salla-tooltip"; }
33
33
  static get originalStyleUrls() {
@@ -532,7 +532,7 @@ export class SallaUserSettings {
532
532
  return (h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
533
533
  }
534
534
  render() {
535
- return (h(Host, { key: '9355ff42e49fc65cc851e69c0846f8c3e068c767', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: 'a41320b9d2f95d4643e579a7c327edccaa9bc0b6', class: "s-user-settings-section" }, h("salla-list-tile", { key: '5a0266c508c3e660381740a650ee7b0024a654be' }, h("div", { key: 'f5db5dfa0592500eff32d67538d7ba48f2c13747', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '056d0c586336fb424b7e965adf3730e2774c1ac7', innerHTML: UserCancel })), h("div", { key: '6b48e3ea1f82990647838f6f9772c73bad938442', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'ee670146ea0942bf399cac23cb27a416f460d7a0', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '137fd3572f28030f90f82e5111778c7a1543a500', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: 'a8e3418b4a63c5bd948ad23d12c772d480ae2139', class: "s-toggle" }, h("input", { key: '71b93d2099c4b4e85ac11e5de4d9f6ab9fea6bd5', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: 'c236514337252f7f66386a62f34a4d4abb09b6d2', class: "s-toggle-switcher" })))))), h("div", { key: 'ad4ef5352baa807e2cd80ad40f0e6fa443264eed', class: "s-user-settings-section" }, h("salla-list-tile", { key: '1d7f11ed71f8adda90f705d1cf71ffd6f1b44bdd' }, h("div", { key: 'c3606deb96e20ba1be099ca41b720526825d8567', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '9a780d54d220d26d7b740d1bf3a3fa3f32643e0c', innerHTML: Bullhorn })), h("div", { key: 'd0af6ce3b901e51647d8a27740857f5fe68e99e3', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '7fdc90b7f3e3c6af0d97ff6192eb96a4ed5a8d0c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'd02d1d164316b31c20c51dae577cb55fb72054d1', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '5d37c33fec59a77017b0d1d7cc1d589f9907819b', class: "s-toggle" }, h("input", { key: 'd804611cacfaf25590e9eee835441c22c6243d49', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '118b70defeb3b5083d9712ef1f41e5edf5a428fc', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, h("span", { innerHTML: UserOff })), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { class: "s-user-settings-confirmation" }, h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { class: "s-user-settings-confirmation-actions" }, h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
535
+ return (h(Host, { key: 'b9fa104d52437b3f7176ae0a4f06acbac1778987', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: 'e1b0b260366263fc442de70e5e122babe03dcfe8', class: "s-user-settings-section" }, h("salla-list-tile", { key: '30e60c87d25c784af192290689a6dc759c5715f5' }, h("div", { key: '7d4d7736da5461b063d733e68a675fd6ed2a8238', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '039b9dd91e1a5f90e23b4ec76c7de6a98c4c6ab3', innerHTML: UserCancel })), h("div", { key: '138baf4bf1591522d30c564e771b15b7cca06a42', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '60987ffd6f6632509881ab112629895eea530ce6', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '3cbd4b6b1fc8689330056fc9bf6b6cad996b75a5', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '055fe5441b629f8d8e8229808e104ab4ff4353f5', class: "s-toggle" }, h("input", { key: 'af144edb7b70bce586b394affeb93e542aee3341', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '1215017ab0727286cb184f64d557d9f44fb7cb3b', class: "s-toggle-switcher" })))))), h("div", { key: 'eeab204783a63a56c41d9647eec52adef69a4228', class: "s-user-settings-section" }, h("salla-list-tile", { key: '09eef4e34b54a813a5ffe920dc4e285cb6c1d75c' }, h("div", { key: '701d0e2837a35b9992c8e753689addf4deb2dc06', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'fb556a877e639099956ed3f36a54ff6a1a06003a', innerHTML: Bullhorn })), h("div", { key: 'ceb4a50d241370ce8d0f10f92952ef82ee99c5cd', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '2ec965b12e5291d63fc387a7bf3ac44db3d32e92', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '381a0830162edcad08e129202c075e0885872299', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: 'd6c22984d6dcc2319fe9086a7ec11e52c5f41ba8', class: "s-toggle" }, h("input", { key: '7081c62af618ff9ce4d092858313674a8114e7c1', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '2b6697d4ff6576b15d88c3c546ccfbc7d79373b9', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, h("span", { innerHTML: UserOff })), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { class: "s-user-settings-confirmation" }, h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { class: "s-user-settings-confirmation-actions" }, h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
536
536
  }
537
537
  static get is() { return "salla-user-settings"; }
538
538
  static get originalStyleUrls() {
@@ -325,7 +325,7 @@ export class SallaWishlistActions {
325
325
  }
326
326
  }
327
327
  render() {
328
- return (h(Host, { key: 'b9ef582a9403333a15b199508ec1c3d61d8256e3' }, h("div", { key: '8dcb89cdce23473833cf9c006b40c3375e8aaab5', class: "s-wishlist-actions" }, h("div", { key: 'cc7785150eaf821659162006cb0308cf3659c361', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: '90b6e7446e38968226308c664debd8da85fc23c2', class: "s-wishlist-actions-dropdown relative" }, h("salla-button", { key: '5e52becedcbf4c9ac7f0a8157b3ec9c0cb44429b', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, h("div", { key: '9dc6ab2d7998d8a481cdd5a0ef2b4df0feabb4cb', class: "flex flex-row justify-center items-center gap-2" }, h("svg", { key: 'c90a586abcc55dd177fec5239d57c86f69bbf968', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, h("path", { key: '64702ab8265ca9ba6231c4520d978e1372d66e16', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z" })), this.shareLabel, h("svg", { key: '0a648e363c3fa631c53a480c884d73b293eafa36', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, h("path", { key: '35828bb316dcf1aaed368cf81398dfaaf1e5cb97', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (h("ul", { key: '0475333e5a00cc243436b67e711d86b8ee26f12e', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: '617967387a351bfad3367932d0e393c0da6fdee7' }, h("button", { key: 'b460d8d3809aab2dba53bded7e94b4ee2ada86e9', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: '743ba4ab9e955fca5d8345f0528088de96cc29ba' }, h("button", { key: '0974660fd4439cbdd6711cdbb1303db9d586229e', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: '18e7f71b9336d7d42d973527a07263964c3dcf3c', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: 'b5ed4ab7121f30d4554aec6f3a7a6938ef198a59', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (h("div", { key: 'a577d849d6809762bdaa7c98f8306b971fbf5c89', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, h("label", { key: 'd1c7deacd7df032ea5afb3e8e559918011dc6533', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, h("input", { key: '65f82100726fb0d7baeee8488d69559fbc892f6f', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), h("span", { key: '338f06f7265976a64e88d02516b92c0f05aace93', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: '354a6485f4cc9ad85e020397d786783291f12ec9', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: '3997e9cec5821dd75f6eeaaf54bafc0d632b7aba', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), h("salla-button", { key: 'faa55fcdc05ab0809dd88a04cf56ef2322a28486', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
328
+ return (h(Host, { key: '3979d755d7f638bcb1b5d00c5eb2dcaa41da7a3a' }, h("div", { key: 'cacabe28aadee5637f607bef7e6d7c14819eb733', class: "s-wishlist-actions" }, h("div", { key: '10051b08c54cff32ab24005b154c3e476b2e9af0', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: 'c9a74f86ec3ef3a51d5156b8b67d5b6c4005c998', class: "s-wishlist-actions-dropdown relative" }, h("salla-button", { key: 'f8fb759b984cda9ac9c3db1b7b96fdd3176c9069', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, h("div", { key: '429ba31fb2f17d17d0e0a0b55606ae9099ac2751', class: "flex flex-row justify-center items-center gap-2" }, h("svg", { key: 'e6c3d21f68d6b7a05b4cfd7b666b43152b493655', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, h("path", { key: '46892bf926b3b97abda18eca0c1e9d796e4227de', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z" })), this.shareLabel, h("svg", { key: 'ba7be2a8916ecf6423d6103c0fa00ea22263be4b', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, h("path", { key: '297b29a175bfd14f57af3d8eeb02064c613760a3', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (h("ul", { key: 'efe55b2b9dba9c90bded7ccad2cff42feb0214d9', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: 'd57f465fc0732b700b13693d4a85f5b835c452ed' }, h("button", { key: '730697f911e54b3a9162a7a71dc66117b188e3d5', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: '8ba53304c6072333b355f4e313c8bcfca528741d' }, h("button", { key: '3ac25b95ca142f5c6dab109a854b2d40aa391882', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: 'be732f59f254db095928682eb4455e2a47226f90', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: '0ddad8a2fa577ff23304b92f1ef11714bc344be4', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (h("div", { key: 'e706f22e3f9ea1de81aaae1fb7cc80a05ab2014c', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, h("label", { key: 'c8a817e8b595a197d975d8bc9753c29fa429be1f', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, h("input", { key: '02208c2b1023befe30470048d740362bddfea6c0', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), h("span", { key: 'ddd3ea6616e9f35bcd0b94348eaa873bf1b9b19c', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: '3b455811354f481445a88dd4ec93e011fe03e160', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: 'd1b3b1d87209ca1410ec5daf768bf20bf2f2db42', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), h("salla-button", { key: 'eb7dcb05254ca6a2be5967d4c889ce6ac2215f90', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
329
329
  }
330
330
  static get is() { return "salla-wishlist-actions"; }
331
331
  static get originalStyleUrls() {
@@ -295,20 +295,6 @@ const hasSessionAddressIntent = (intent) => {
295
295
  const requireRegionAndDistrictForSA = (countryCode, regionId, districtIdOrName) => !countryCode || !isSaudiArabia(countryCode)
296
296
  ? true
297
297
  : (regionId != null && Number(regionId) !== 0) && (districtIdOrName != null && (typeof districtIdOrName === 'number' ? districtIdOrName !== 0 : String(districtIdOrName).trim().length > 0));
298
- function buildAddressLocationPayloadFromSelection(options) {
299
- const { countryId, countryCode, regionId, cityId, districtId, description = '', lat, lng, shortAddress } = options;
300
- const desc = description || '';
301
- return {
302
- country_id: Number(countryId) || undefined,
303
- region_id: regionId != null ? Number(regionId) : undefined,
304
- city_id: cityId != null ? Number(cityId) : undefined,
305
- district_id: districtId != null ? Number(districtId) : undefined,
306
- description: desc,
307
- ...(countryCode && isSaudiArabia(countryCode) && { local: desc }),
308
- ...(lat != null && lng != null && { lat, lng }),
309
- ...(shortAddress && { short_address: shortAddress }),
310
- };
311
- }
312
298
  const GEO_ERROR_MESSAGES = {
313
299
  [GeolocationPositionError.PERMISSION_DENIED]: 'Location permission denied',
314
300
  [GeolocationPositionError.POSITION_UNAVAILABLE]: 'Location unavailable',
@@ -316,4 +302,4 @@ const GEO_ERROR_MESSAGES = {
316
302
  };
317
303
  const getGeolocationErrorMessage = (errorCode) => GEO_ERROR_MESSAGES[errorCode] ?? 'An error occurred while detecting location';
318
304
 
319
- export { getIntentLongitude as a, bulletDeliveryAPI as b, getIntentCityId as c, getIntentCountryId as d, getIntentRegionId as e, getIntentDistrictId as f, getIntentLatitude as g, hasSessionAddressIntent as h, isSaudiArabia as i, filterBranches as j, findNearestBranch as k, getGeolocationErrorMessage as l, buildAddressLocationPayloadFromSelection as m, clearApiCache as n, getIntentSubtitle as o, getIntentBranchId as p, isMapOriginIntent as q, requireRegionAndDistrictForSA as r, isBranchSelectable as s, getIntentCountryCode as t };
305
+ export { getIntentLongitude as a, bulletDeliveryAPI as b, getIntentCityId as c, getIntentCountryId as d, getIntentRegionId as e, getIntentDistrictId as f, getIntentLatitude as g, hasSessionAddressIntent as h, isSaudiArabia as i, filterBranches as j, findNearestBranch as k, getGeolocationErrorMessage as l, clearApiCache as m, getIntentSubtitle as n, getIntentBranchId as o, isMapOriginIntent as p, isBranchSelectable as q, requireRegionAndDistrictForSA as r, getIntentCountryCode as s };