@salla.sa/twilight-components 2.14.427 → 2.14.429

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/dist/cjs/{filepond-CnPKR-6x.js → filepond--V9rRgVA.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D0g6EUyA.js → filepond-plugin-file-poster-DzvswSJb.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DXUJ6UPq.js → filepond-plugin-file-validate-size-C5wUWXz6.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-NgEbyq_W.js → filepond-plugin-file-validate-type-HA2w2_fC.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-DU4QWlEV.js → filepond-plugin-image-edit-CXrhd-IB.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-xYuPxwvc.js → filepond-plugin-image-exif-orientation-BJnamgw6.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CY_efZwj.js → filepond-plugin-image-preview-CmdkZJij.js} +1 -1
  8. package/dist/cjs/{functions-CTufnsoC.js → functions-DPnm948J.js} +1 -1
  9. package/dist/cjs/{index-BEj17I33.js → index-D3xsx646.js} +6 -6
  10. package/dist/cjs/{index-Z8F5J-RV.js → index-DRfjMaC1.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
  21. package/dist/cjs/{salla-bullet-delivery.cjs.entry.js → salla-bullet-delivery_2.cjs.entry.js} +635 -140
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +43 -17
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-C_10lCIK.js → tracked-promise-CFp5Besf.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-D9nRSUSv.js → vanilla-picker-Jk2F9CAy.js} +1 -1
  98. package/dist/collection/collection-manifest.json +7 -0
  99. package/dist/collection/components/salla-bullet-delivery/api-service.js +80 -13
  100. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +5 -0
  101. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +344 -120
  102. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  104. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  105. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  106. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  107. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  108. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  109. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  110. package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +4 -5
  111. package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +40 -12
  112. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  113. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  114. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  115. package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +1 -1
  116. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  117. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  118. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  119. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  120. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  121. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  122. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  123. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  124. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  125. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  126. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  127. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  128. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  129. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  130. package/dist/collection/components/salla-map/salla-map.js +3 -3
  131. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  132. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  133. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  134. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  135. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  136. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  137. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  138. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  139. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  140. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  141. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  142. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  143. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  144. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  145. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  146. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  147. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  148. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  149. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  150. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  151. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  152. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  153. package/dist/collection/components/salla-search/salla-search.js +5 -5
  154. package/dist/collection/components/salla-searchable-dropdown/interfaces.js +1 -0
  155. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +566 -0
  156. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  157. package/dist/collection/components/salla-social/salla-social.js +1 -1
  158. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  159. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  160. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  161. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  162. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  163. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  164. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  165. package/dist/components/index.js +2 -2
  166. package/dist/components/salla-bullet-delivery.js +445 -148
  167. package/dist/components/salla-cart-coupons.js +1 -1
  168. package/dist/components/salla-cart-summary.js +1 -1
  169. package/dist/components/salla-color-picker2.js +1 -1
  170. package/dist/components/salla-comment-form2.js +1 -1
  171. package/dist/components/salla-comment-item2.js +3 -3
  172. package/dist/components/salla-conditional-fields2.js +1 -1
  173. package/dist/components/salla-count-down2.js +1 -1
  174. package/dist/components/salla-datetime-picker2.js +1 -1
  175. package/dist/components/salla-delivery-promise.js +42 -16
  176. package/dist/components/salla-file-upload2.js +2 -2
  177. package/dist/components/salla-filters-widget2.js +2 -2
  178. package/dist/components/salla-filters.js +1 -1
  179. package/dist/components/salla-fulfillment-methods.js +1 -1
  180. package/dist/components/salla-gifting.js +2 -2
  181. package/dist/components/salla-hook.js +1 -1
  182. package/dist/components/salla-list-tile2.js +1 -1
  183. package/dist/components/salla-loading2.js +1 -1
  184. package/dist/components/salla-localization-modal.js +1 -1
  185. package/dist/components/salla-loyalty-hero2.js +3 -3
  186. package/dist/components/salla-loyalty-point2.js +3 -3
  187. package/dist/components/salla-loyalty-prize-item.js +1 -1
  188. package/dist/components/salla-loyalty-reward.js +2 -2
  189. package/dist/components/salla-maintenance-alert.js +1 -1
  190. package/dist/components/salla-map2.js +3 -3
  191. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  192. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  193. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  194. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  195. package/dist/components/salla-multiple-bundle-product.js +1 -1
  196. package/dist/components/salla-notification-item2.js +1 -1
  197. package/dist/components/salla-offer-modal.js +1 -1
  198. package/dist/components/salla-order-details.js +1 -1
  199. package/dist/components/salla-order-edit-product-card.js +1 -1
  200. package/dist/components/salla-order-summary.js +1 -1
  201. package/dist/components/salla-payments.js +2 -2
  202. package/dist/components/salla-placeholder2.js +1 -1
  203. package/dist/components/salla-price-range2.js +2 -2
  204. package/dist/components/salla-product-availability2.js +1 -1
  205. package/dist/components/salla-product-card2.js +5 -5
  206. package/dist/components/salla-product-size-guide.js +2 -2
  207. package/dist/components/salla-quantity-input2.js +1 -1
  208. package/dist/components/salla-quick-buy2.js +1 -1
  209. package/dist/components/salla-review-card2.js +1 -1
  210. package/dist/components/salla-reviews-page.js +1 -1
  211. package/dist/components/salla-reviews.js +1 -1
  212. package/dist/components/salla-reward-action2.js +1 -1
  213. package/dist/components/salla-reward-card2.js +1 -1
  214. package/dist/components/salla-reward-details2.js +3 -3
  215. package/dist/components/salla-reward-exchange2.js +3 -3
  216. package/dist/components/salla-scopes.js +1 -1
  217. package/dist/components/salla-search.js +5 -5
  218. package/dist/components/salla-searchable-dropdown.d.ts +11 -0
  219. package/dist/components/salla-searchable-dropdown.js +9 -0
  220. package/dist/components/salla-searchable-dropdown2.js +255 -0
  221. package/dist/components/salla-skeleton2.js +1 -1
  222. package/dist/components/salla-social-share.js +1 -1
  223. package/dist/components/salla-social.js +1 -1
  224. package/dist/components/salla-tab-content2.js +1 -1
  225. package/dist/components/salla-tab-header2.js +1 -1
  226. package/dist/components/salla-tabs2.js +1 -1
  227. package/dist/components/salla-tel-input2.js +1 -1
  228. package/dist/components/salla-tooltip2.js +1 -1
  229. package/dist/components/salla-user-settings.js +1 -1
  230. package/dist/esm/{filepond-BRnZDx-B.js → filepond-fJKURtC4.js} +1 -1
  231. package/dist/esm/{filepond-plugin-file-poster-D5fDjFO7.js → filepond-plugin-file-poster-Ll-3yUwR.js} +1 -1
  232. package/dist/esm/{filepond-plugin-file-validate-size-CFvpeu0k.js → filepond-plugin-file-validate-size-2D44oWIJ.js} +1 -1
  233. package/dist/esm/{filepond-plugin-file-validate-type-BhjoaDUg.js → filepond-plugin-file-validate-type-08Jawn6d.js} +1 -1
  234. package/dist/esm/{filepond-plugin-image-edit-Cenn_Vlr.js → filepond-plugin-image-edit-DmEVMjMi.js} +1 -1
  235. package/dist/esm/{filepond-plugin-image-exif-orientation-DC9TWqJo.js → filepond-plugin-image-exif-orientation-DJo_07yV.js} +1 -1
  236. package/dist/esm/{filepond-plugin-image-preview-Bj9DJRFj.js → filepond-plugin-image-preview-Nd-PQAho.js} +1 -1
  237. package/dist/esm/{functions-DyAwfRCL.js → functions-GnOlk8am.js} +1 -1
  238. package/dist/esm/{index-COFXO9XT.js → index-Ba0YDJC7.js} +1 -1
  239. package/dist/esm/{index-2RfKl9ZG.js → index-DR8BHH7X.js} +6 -6
  240. package/dist/esm/loader.js +3 -3
  241. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  242. package/dist/esm/salla-accordion_6.entry.js +2 -2
  243. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  244. package/dist/esm/salla-advertisement.entry.js +1 -1
  245. package/dist/esm/salla-alert_2.entry.js +1 -1
  246. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  247. package/dist/esm/salla-apps-icons.entry.js +1 -1
  248. package/dist/esm/salla-badge.entry.js +1 -1
  249. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  250. package/dist/esm/{salla-bullet-delivery.entry.js → salla-bullet-delivery_2.entry.js} +635 -141
  251. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  252. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  253. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  254. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  255. package/dist/esm/salla-contacts.entry.js +1 -1
  256. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  257. package/dist/esm/salla-count-down.entry.js +2 -2
  258. package/dist/esm/salla-custom-fields.entry.js +1 -1
  259. package/dist/esm/salla-delivery-promise.entry.js +43 -17
  260. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  261. package/dist/esm/salla-filters-widget.entry.js +3 -3
  262. package/dist/esm/salla-filters.entry.js +2 -2
  263. package/dist/esm/salla-fulfillment-methods.entry.js +2 -2
  264. package/dist/esm/salla-gifting.entry.js +3 -3
  265. package/dist/esm/salla-hook.entry.js +2 -2
  266. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  267. package/dist/esm/salla-installment.entry.js +1 -1
  268. package/dist/esm/salla-list-tile.entry.js +2 -2
  269. package/dist/esm/salla-localization-modal.entry.js +2 -2
  270. package/dist/esm/salla-login-modal.entry.js +1 -1
  271. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  272. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  273. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  274. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  275. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  276. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  277. package/dist/esm/salla-loyalty.entry.js +1 -1
  278. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  279. package/dist/esm/salla-map.entry.js +4 -4
  280. package/dist/esm/salla-menu.entry.js +1 -1
  281. package/dist/esm/salla-metadata.entry.js +1 -1
  282. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  283. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  284. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  285. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  286. package/dist/esm/salla-notification-item.entry.js +2 -2
  287. package/dist/esm/salla-notifications.entry.js +1 -1
  288. package/dist/esm/salla-offer-modal.entry.js +2 -2
  289. package/dist/esm/salla-offer.entry.js +1 -1
  290. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  291. package/dist/esm/salla-order-details-options.entry.js +1 -1
  292. package/dist/esm/salla-order-details.entry.js +2 -2
  293. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  294. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  295. package/dist/esm/salla-order-edit.entry.js +1 -1
  296. package/dist/esm/salla-order-summary.entry.js +2 -2
  297. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  298. package/dist/esm/salla-orders.entry.js +1 -1
  299. package/dist/esm/salla-payments.entry.js +3 -3
  300. package/dist/esm/salla-placeholder.entry.js +2 -2
  301. package/dist/esm/salla-price-range.entry.js +3 -3
  302. package/dist/esm/salla-product-card_2.entry.js +6 -6
  303. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  304. package/dist/esm/salla-products-list.entry.js +1 -1
  305. package/dist/esm/salla-progress-bar.entry.js +1 -1
  306. package/dist/esm/salla-quick-order.entry.js +1 -1
  307. package/dist/esm/salla-rating-modal.entry.js +1 -1
  308. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  309. package/dist/esm/salla-scopes.entry.js +2 -2
  310. package/dist/esm/salla-search.entry.js +6 -6
  311. package/dist/esm/salla-skeleton.entry.js +2 -2
  312. package/dist/esm/salla-slider.entry.js +1 -1
  313. package/dist/esm/salla-social-share.entry.js +2 -2
  314. package/dist/esm/salla-social.entry.js +2 -2
  315. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  316. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  317. package/dist/esm/salla-tooltip.entry.js +2 -2
  318. package/dist/esm/salla-trust-badges.entry.js +1 -1
  319. package/dist/esm/salla-user-menu.entry.js +1 -1
  320. package/dist/esm/salla-user-profile.entry.js +1 -1
  321. package/dist/esm/salla-user-settings.entry.js +2 -2
  322. package/dist/esm/salla-verify.entry.js +1 -1
  323. package/dist/esm/salla-wallet.entry.js +1 -1
  324. package/dist/esm/{tracked-promise-DjHV13KA.js → tracked-promise-BTkBmrok.js} +1 -1
  325. package/dist/esm/twilight.js +3 -3
  326. package/dist/esm/{vanilla-picker-BoRNi1fj.js → vanilla-picker-f4lmttLY.js} +1 -1
  327. package/dist/twilight/p-031f8d35.entry.js +4 -0
  328. package/dist/twilight/{p-ddb5f8e3.entry.js → p-08c6172b.entry.js} +1 -1
  329. package/dist/twilight/p-097e2ba0.entry.js +4 -0
  330. package/dist/twilight/p-0ccf332d.entry.js +4 -0
  331. package/dist/twilight/{p-3d7a49d9.entry.js → p-103dc47c.entry.js} +1 -1
  332. package/dist/twilight/{p-c4b74217.entry.js → p-1208793a.entry.js} +1 -1
  333. package/dist/twilight/{p-15258fe3.entry.js → p-154e782d.entry.js} +1 -1
  334. package/dist/twilight/{p-b64d9557.entry.js → p-19bb31a5.entry.js} +1 -1
  335. package/dist/twilight/{p-022144ee.entry.js → p-1c8726e2.entry.js} +1 -1
  336. package/dist/twilight/{p-adf96b4c.entry.js → p-1e7d16a3.entry.js} +1 -1
  337. package/dist/twilight/{p-b4273ea4.entry.js → p-2d705236.entry.js} +1 -1
  338. package/dist/twilight/{p-7106682a.entry.js → p-2e8588ca.entry.js} +1 -1
  339. package/dist/twilight/{p-fb1b997d.entry.js → p-30256e5f.entry.js} +1 -1
  340. package/dist/twilight/p-308cfcab.entry.js +4 -0
  341. package/dist/twilight/{p-f1859466.entry.js → p-38a8f05e.entry.js} +1 -1
  342. package/dist/twilight/{p-a4f96a76.entry.js → p-3910e00f.entry.js} +1 -1
  343. package/dist/twilight/{p-ece0e68f.entry.js → p-3a2fdd6f.entry.js} +1 -1
  344. package/dist/twilight/p-3cc1582f.entry.js +4 -0
  345. package/dist/twilight/p-3ec34eae.entry.js +4 -0
  346. package/dist/twilight/{p-916187fb.entry.js → p-400257fd.entry.js} +1 -1
  347. package/dist/twilight/{p-a72161e7.entry.js → p-42cc9b33.entry.js} +1 -1
  348. package/dist/twilight/{p-7f07d192.entry.js → p-4482e672.entry.js} +1 -1
  349. package/dist/twilight/{p-aac173b7.entry.js → p-44b289bb.entry.js} +1 -1
  350. package/dist/twilight/{p-d2b90374.entry.js → p-4da58baf.entry.js} +1 -1
  351. package/dist/twilight/{p-390e50ee.entry.js → p-4f873363.entry.js} +1 -1
  352. package/dist/twilight/{p-1cc094d9.entry.js → p-5999d681.entry.js} +1 -1
  353. package/dist/twilight/{p-a96ae5ac.entry.js → p-59f47a08.entry.js} +1 -1
  354. package/dist/twilight/{p-9d20db0f.entry.js → p-5c347cd5.entry.js} +1 -1
  355. package/dist/twilight/{p-184fbcdf.entry.js → p-5ebbec76.entry.js} +1 -1
  356. package/dist/twilight/{p-56070211.entry.js → p-5ecf2b26.entry.js} +1 -1
  357. package/dist/twilight/{p-ce0ecd6d.entry.js → p-612c5b08.entry.js} +1 -1
  358. package/dist/twilight/{p-3eb30788.entry.js → p-624503ee.entry.js} +1 -1
  359. package/dist/twilight/{p-597273c9.entry.js → p-6339390a.entry.js} +1 -1
  360. package/dist/twilight/p-64376e97.entry.js +4 -0
  361. package/dist/twilight/{p-b75f02c5.entry.js → p-65839961.entry.js} +1 -1
  362. package/dist/twilight/{p-416bfa3c.entry.js → p-6c58235e.entry.js} +1 -1
  363. package/dist/twilight/{p-f5b4faf1.entry.js → p-6e26c815.entry.js} +1 -1
  364. package/dist/twilight/p-6f3da0b7.entry.js +4 -0
  365. package/dist/twilight/{p-63b807d8.entry.js → p-72b1e6ed.entry.js} +1 -1
  366. package/dist/twilight/{p-d198466f.entry.js → p-745329af.entry.js} +1 -1
  367. package/dist/twilight/{p-68981b47.entry.js → p-74eb04ec.entry.js} +1 -1
  368. package/dist/twilight/{p-be9b05ed.entry.js → p-78ce73ba.entry.js} +1 -1
  369. package/dist/twilight/{p-a4ee0f48.entry.js → p-7edaa78b.entry.js} +1 -1
  370. package/dist/twilight/{p-6fa8dc48.entry.js → p-807db423.entry.js} +1 -1
  371. package/dist/twilight/{p-5f4491df.entry.js → p-824dd42e.entry.js} +1 -1
  372. package/dist/twilight/{p-15f7a80c.entry.js → p-835c43e6.entry.js} +1 -1
  373. package/dist/twilight/{p-fdd9c784.entry.js → p-83c1d4b2.entry.js} +1 -1
  374. package/dist/twilight/{p-82b0696f.entry.js → p-8709e981.entry.js} +1 -1
  375. package/dist/twilight/{p-31a1aa8c.entry.js → p-8bfca6eb.entry.js} +1 -1
  376. package/dist/twilight/{p-26659429.entry.js → p-8fad5c91.entry.js} +1 -1
  377. package/dist/twilight/{p-abb0fe8a.entry.js → p-96d644b8.entry.js} +1 -1
  378. package/dist/twilight/{p-c57f29fb.entry.js → p-99d0fd61.entry.js} +1 -1
  379. package/dist/twilight/{p-9c6c3383.entry.js → p-9bde5e3c.entry.js} +1 -1
  380. package/dist/twilight/{p-25d69769.entry.js → p-9f320350.entry.js} +1 -1
  381. package/dist/twilight/{p-BRZ-xY4O.js → p-Bc2RLvfZ.js} +1 -1
  382. package/dist/twilight/{p-DIgIfJIX.js → p-CdbTKQNp.js} +1 -1
  383. package/dist/twilight/{p-BQHT0o4-.js → p-CiAXtUPQ.js} +1 -1
  384. package/dist/twilight/{p-gzETizzN.js → p-CmDT48y4.js} +1 -1
  385. package/dist/twilight/{p-f2zyoe62.js → p-D0FlIX_Z.js} +1 -1
  386. package/dist/twilight/{p-2RfKl9ZG.js → p-DR8BHH7X.js} +1 -1
  387. package/dist/twilight/{p-NH4fFDqc.js → p-Dqb1Ri2Y.js} +1 -1
  388. package/dist/twilight/{p-hMPmvZ4N.js → p-Dtp3srRX.js} +1 -1
  389. package/dist/twilight/{p-BWhaHax9.js → p-NohMjDY2.js} +1 -1
  390. package/dist/twilight/{p-5517f377.entry.js → p-a9cbd414.entry.js} +1 -1
  391. package/dist/twilight/{p-f758d06b.entry.js → p-b20265f2.entry.js} +1 -1
  392. package/dist/twilight/{p-826b7e39.entry.js → p-b59b7153.entry.js} +1 -1
  393. package/dist/twilight/{p-cd392e48.entry.js → p-bc47e256.entry.js} +1 -1
  394. package/dist/twilight/{p-c395af37.entry.js → p-bc76d253.entry.js} +1 -1
  395. package/dist/twilight/{p-f6afdeea.entry.js → p-bcf201a8.entry.js} +1 -1
  396. package/dist/twilight/{p-4a41c81f.entry.js → p-beb17e29.entry.js} +1 -1
  397. package/dist/twilight/{p-5dbfbde6.entry.js → p-c00d4e23.entry.js} +1 -1
  398. package/dist/twilight/p-c137e672.entry.js +4 -0
  399. package/dist/twilight/{p-49a31434.entry.js → p-c47e85e9.entry.js} +1 -1
  400. package/dist/twilight/{p-9e20aea5.entry.js → p-c4960804.entry.js} +1 -1
  401. package/dist/twilight/{p-0c50e6d1.entry.js → p-c52aac33.entry.js} +1 -1
  402. package/dist/twilight/{p-58e57008.entry.js → p-c707f55b.entry.js} +1 -1
  403. package/dist/twilight/p-cb8a1223.entry.js +4 -0
  404. package/dist/twilight/{p-0f17896f.entry.js → p-ccfe690a.entry.js} +1 -1
  405. package/dist/twilight/{p-B-Ntbq8B.js → p-cvulr5dQ.js} +1 -1
  406. package/dist/twilight/{p-674370d9.entry.js → p-d01e76f4.entry.js} +1 -1
  407. package/dist/twilight/{p-ea3e4838.entry.js → p-d567481d.entry.js} +1 -1
  408. package/dist/twilight/{p-d0a034ad.entry.js → p-d617d844.entry.js} +1 -1
  409. package/dist/twilight/{p-b59ea7ea.entry.js → p-df173474.entry.js} +1 -1
  410. package/dist/twilight/{p-85f0187e.entry.js → p-e0244c37.entry.js} +1 -1
  411. package/dist/twilight/{p-3c82be41.entry.js → p-e0750731.entry.js} +1 -1
  412. package/dist/twilight/{p-a44b9668.entry.js → p-e0af89bc.entry.js} +1 -1
  413. package/dist/twilight/{p-f95df964.entry.js → p-ed6007e1.entry.js} +1 -1
  414. package/dist/twilight/{p-6591111e.entry.js → p-ed8951c5.entry.js} +1 -1
  415. package/dist/twilight/p-f245d317.entry.js +4 -0
  416. package/dist/twilight/{p-f2cb9377.entry.js → p-f2b204a4.entry.js} +1 -1
  417. package/dist/twilight/{p-8fc96e64.entry.js → p-f579e8ef.entry.js} +1 -1
  418. package/dist/twilight/{p-ffa981ec.entry.js → p-fca971a6.entry.js} +1 -1
  419. package/dist/twilight/{p-3aa1e961.entry.js → p-ff75f1c4.entry.js} +1 -1
  420. package/dist/twilight/{p-8Cy2-80S.js → p-hkzTCOEy.js} +1 -1
  421. package/dist/twilight/{p-Ctl2lOrt.js → p-kg7IhfAv.js} +1 -1
  422. package/dist/twilight/twilight.esm.js +1 -1
  423. package/dist/types/components/salla-bullet-delivery/api-service.d.ts +6 -5
  424. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +38 -6
  425. package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +1 -1
  426. package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +2 -0
  427. package/dist/types/components/salla-searchable-dropdown/interfaces.d.ts +5 -0
  428. package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +47 -0
  429. package/dist/types/components.d.ts +135 -0
  430. package/package.json +5 -5
  431. package/dist/twilight/p-5be4ae85.entry.js +0 -4
  432. package/dist/twilight/p-5c2dcdb0.entry.js +0 -4
  433. package/dist/twilight/p-637724e7.entry.js +0 -4
  434. package/dist/twilight/p-68f163aa.entry.js +0 -4
  435. package/dist/twilight/p-6bf87309.entry.js +0 -4
  436. package/dist/twilight/p-873eed59.entry.js +0 -4
  437. package/dist/twilight/p-879f08a4.entry.js +0 -4
  438. package/dist/twilight/p-ae6aabba.entry.js +0 -4
  439. package/dist/twilight/p-d0520b44.entry.js +0 -4
  440. package/dist/twilight/p-dd0be0da.entry.js +0 -4
  441. package/dist/twilight/p-ec899dc9.entry.js +0 -4
@@ -180,10 +180,10 @@ const SallaMultipleBundleProductDetails = /*@__PURE__*/ proxyCustomElement(class
180
180
  }
181
181
  }
182
182
  render() {
183
- return (h(Host, { key: '07ca2849aa860c68213f61ffdca521cc1c41b6f9', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'b810754688575d2a6418f9f2089ca65aa7981a58', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
183
+ return (h(Host, { key: 'f57d665b22f1f00084c5e3bde13b24d3ad0f52f2', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'cce35357b6aad61af2e4edfe86eca1689166c364', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
184
184
  const selectedCount = this.selectedProducts[section.id]?.size || 0;
185
185
  return (h("salla-accordion", { key: section.id, collapsed: index === 0 ? false : true }, h("salla-accordion-head", null, this.renderAccordionHeader(section, selectedCount)), h("salla-accordion-body", null, h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index, selectedProducts: this.selectedProducts, onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
186
- })), h("salla-multiple-bundle-product-options-modal", { key: '7b7373564360e33bf005a5854acd84b61cdd3b05' })));
186
+ })), h("salla-multiple-bundle-product-options-modal", { key: 'd42516e4810f1171bec619dd54d1d262bfb587a9' })));
187
187
  }
188
188
  get host() { return this; }
189
189
  static get style() { return sallaMultipleBundleProductDetailsCss; }
@@ -479,7 +479,7 @@ const SallaMultipleBundleProductOptionsModal = /*@__PURE__*/ proxyCustomElement(
479
479
  const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
480
480
  const resetToken = this.optionsResetTokens[cacheKey] || 0;
481
481
  const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
482
- return (h(Host, { key: '1a9514ddc173fd5da9a31b29be3e905d11be5782' }, h("salla-modal", { key: '50efdd76cff0794bd638490c7f48cc599a49dcfc', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '9fec44912babfc95fed6ab99c5cd2e71c8bc5298', slot: "loading" }, h("salla-skeleton", { key: '84c3f41d42e81330bd32f7a3c5b44cb07fc02cac', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '5de5fd4285de79b8406626fdb00dccd3987142fa', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
482
+ return (h(Host, { key: '7bb2c2a13109b52d46d49cd0450e5037a46751c0' }, h("salla-modal", { key: '7224fbc8a18d6b1ec40a87eb344b4ea10287e462', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: 'b1b2f4b5b6b34abcb1b429da5b09ff24850571fd', slot: "loading" }, h("salla-skeleton", { key: 'd5ddae032b4604137442fc51b9c90c40fe049479', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: 'db94a52ca0783eba22ee1ece0c6dbdaef381b849', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
483
483
  centeredSlides: true,
484
484
  centeredSlidesBounds: true,
485
485
  slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
@@ -487,13 +487,13 @@ const SallaMultipleBundleProductOptionsModal = /*@__PURE__*/ proxyCustomElement(
487
487
  watchSlidesProgress: true,
488
488
  direction: 'vertical',
489
489
  spaceBetween: 10,
490
- } }, h("div", { key: 'd782e027554b6de6bb959940f9a841042f2a55e5', slot: "items" }, this.product?.images &&
490
+ } }, h("div", { key: 'f3d056834aaca6cdb31296260d6c76f1f781f7d8', slot: "items" }, this.product?.images &&
491
491
  this.product?.images.map((image, index) => (h("div", { key: index, class: "swiper-slide" }, h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index + 1}`, loading: "lazy", onError: e => {
492
492
  e.target.style.display = 'none';
493
- } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '8b47995edd34d3f5e7c7fd5a24a39c335c6634f1', slot: "thumbs" }, this.product?.images &&
493
+ } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '415f80485f8b6415a25f68fa18baf9c63a990dce', slot: "thumbs" }, this.product?.images &&
494
494
  this.product?.images.map((image, index) => (h("div", { key: index, "data-caption": `${this.product?.name} - Image ${index + 1}` }, h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index + 1}`, alt: image.alt || `${this.product?.name} - ${index + 1}`, onError: e => {
495
495
  e.target.style.display = 'none';
496
- } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '72847766444879b09ab86729279844c51b0cef18', slot: "footer" }, h("div", { key: '58ecac81b3d09c211bf0e74e9f74d932a31ed7c1', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: 'c7e08990104c111d6b6ab3375fb7649a94aa6191', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
496
+ } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '7cd02c5f40808486464aeb6dca86555faf39d229', slot: "footer" }, h("div", { key: '7e88632bda6ce90f1fa8ec053d70ae9994fbab46', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: 'ae20228355b7b5e56cec159c8c749fb94305e3c7', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
497
497
  ? salla.lang.get('common.elements.saving')
498
498
  : salla.lang.get('common.elements.save')))))));
499
499
  }
@@ -94,7 +94,7 @@ const SallaMultipleBundleProductSlider = /*@__PURE__*/ proxyCustomElement(class
94
94
  return `bundle[${sectionId}][${productIndex}][id]`;
95
95
  }
96
96
  render() {
97
- return (h(Host, { key: '3968471eedb925b4dda4d4d381344fb2ed4f97ed' }, h("salla-slider", { key: '4bbaab685b7677b79b56cd6a3d80b210b125d568', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: 'b0d1a441b2cf9ed124dec4f210e082ffd0cb200b', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
97
+ return (h(Host, { key: '712a8da32e2ca798d236865bc60a0fd1b28939dc' }, h("salla-slider", { key: '00850678cf9395656b386e972ceb5489a2deeaa7', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '7c0a028498ba0895d28eaf3ec7fa9cbaa619201b', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
98
98
  const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
99
99
  const hasSavedOptions = this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id, productIndex)];
100
100
  const optionsButtonLabel = hasSavedOptions
@@ -77,7 +77,7 @@ const SallaMultipleBundleProduct$1 = /*@__PURE__*/ proxyCustomElement(class Sall
77
77
  this.parseProducts(this.bundleSections);
78
78
  }
79
79
  render() {
80
- return (h(Host, { key: '0c083bcf6f932c3db65e7c9c1871843594bc8604', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
80
+ return (h(Host, { key: 'c00ea91007af5489ca61df0aaed8b82bc8ee7f25', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
81
81
  }
82
82
  static get watchers() { return {
83
83
  "bundleSections": ["parseProducts"]
@@ -11,7 +11,7 @@ const SallaNotificationItem = /*@__PURE__*/ proxyCustomElement(class SallaNotifi
11
11
  this.__registerHost();
12
12
  }
13
13
  render() {
14
- return h("a", { key: 'c134f5fc8901762ed8fa4a53aed5fd5ec62df689', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '78fbafd1dd2998dba7e3a1ad8b34cbeb9e962cf2', class: "s-notifications-item-icon" }, h("i", { key: '61357a8087938b3ffae36387a6d8b79979704dba', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '67c85332e868f4dbb2099524e441d64211d1ba1f', class: "s-notifications-item-content" }, h("div", { key: 'c7f79cb902edd54f171b8e3c089aa0f6795ca2a2', class: "s-notifications-item-content-leading" }, h("h4", { key: '078d34e4cc8093ded2dc3c948100337acfe0101e' }, this.notification.title), h("p", { key: '30c20f5308761bcd4011052b2fc8c6f87698a8f9' }, this.notification.sub_title)), h("span", { key: 'db1f387f53c747bccb3836cf8622f9f67af3a654', class: "s-notifications-item-content-trailing" }, h("i", { key: '2f662b2dbff1487831681586c15d17c1a2e68eaa', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: '119e37704dc78372f3340fc33df69e20b666a7c5' }, this.notification.date))));
14
+ return h("a", { key: 'd52b567c5b43624eee4518d052e3ff6f1ad88e0a', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '7b45d747028ef42e3ee92efeda005adc47041a80', class: "s-notifications-item-icon" }, h("i", { key: 'eb8e6ff7525ce07ae12cd47b616190a9ec37ad6d', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '96bee20ea38bb5f9044d79c0679a2fa92f61e5ad', class: "s-notifications-item-content" }, h("div", { key: '57d5e4f749dae2de779136edbed1d7474dea6040', class: "s-notifications-item-content-leading" }, h("h4", { key: '4488b5ec0fd426981b5b1b61bd2c379f43d7b8f2' }, this.notification.title), h("p", { key: '036e4702f94e63fb73dfd21a142a4eb2ce69dc99' }, this.notification.sub_title)), h("span", { key: '10eb8fd110b018d17dffb7b55668d1d904db47c2', class: "s-notifications-item-content-trailing" }, h("i", { key: '9ab96c0ac785b1067f01a600bb9171f1712ce5b0', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: '59ebbede04601ecc948246b2df743bf5ceddd01a' }, this.notification.date))));
15
15
  }
16
16
  static get style() { return sallaNotificationsCss; }
17
17
  }, [0, "salla-notification-item", {
@@ -219,7 +219,7 @@ const SallaOfferModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaOfferModal
219
219
  // '</div>';
220
220
  // }
221
221
  render() {
222
- return h("salla-modal", { key: '3387816ac4997e48ce463de1acae69583a99eef1', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '38ee273912aeec936b6762cac52eca16b65c2744', slot: 'loading' }, h("div", { key: '05911f31ca0884953185cbc1ac1c7b7ad007baf1', class: "s-offer-modal-skeleton" }, h("div", { key: '095055ba94627a2800e65be09a516286f3eea9c3', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'b1469e4e49e0d90602b9d0fac8672a9a063141f6', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '7b738f6b9b153a49d03bb76a57690e2de9749d87', height: '15px', width: '50%' }), h("salla-skeleton", { key: '6d88e7ad3e419ab5a647bdd2215976bacd892e8d', height: '10px', width: '30%' })), h("div", { key: 'ee012a7a75a728ee76fa0888c487ac6d63c05efa', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: 'db71ea2e16e6d219bfeb1320b174e75d9e5fab19', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '862658e0a5df3c1a2350c2a571f4f0e8f8a4d0af', height: '15px', width: '50%' }), h("salla-skeleton", { key: '0f3c58145caf12c90626742c8cbc768a442a3ce4', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
222
+ return h("salla-modal", { key: 'e639f8a5d0fef7c0eb14d55bf9e5513cc095df8f', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '63f0db4539fbbc83e2905fd5c77ec172c1f64402', slot: 'loading' }, h("div", { key: 'de7c1c7e1713ef68472bf7c3a78c4288e4a07317', class: "s-offer-modal-skeleton" }, h("div", { key: '27cea11e4fc487f7da79e9a3e90abdba69267e9c', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: '88e9a47efc8f17c86dd6c009b663bf4be1d2ac92', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '774b922bf7552fc1083205146ee378aa0ae32559', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'cb6ea051c9cd1a0a1e1eece3665fdc12278f6f0e', height: '10px', width: '30%' })), h("div", { key: 'c5e629c839e9b21627bfe87e5c7f58bf75b691e9', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '69a86cd1b05701e41e7d7e48108ddc0b264a8a09', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '036519a0588bcd58aca67b9a27e73b107147ccca', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'bcd609109edeedb0d178cb6663d6b4827f9eb7e5', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
223
223
  ? [h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.getOfferContent(), h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
224
224
  h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
225
225
  : '', h("label", { class: "s-offer-modal-remember-label" }, h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -47,7 +47,7 @@ const SallaOrderDetails$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderDet
47
47
  ];
48
48
  }
49
49
  render() {
50
- return h(Host, { key: '41599687bddf4d4b9eda3572ce39b93a0d8f596d', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
50
+ return h(Host, { key: 'a4184a10e1d5ada3bf87651325d2c4ca59bcaad6', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
51
51
  }
52
52
  static get watchers() { return {
53
53
  "orderDetails": ["parseOrderDetailsData"]
@@ -32,7 +32,7 @@ const SallaOrderEditProductCard$1 = /*@__PURE__*/ proxyCustomElement(class Salla
32
32
  const product = this.productData;
33
33
  const productName = product?.name || salla.lang.getWithDefault('common.elements.product', 'منتج');
34
34
  const price = product?.price;
35
- return (h(Host, { key: 'e5837d7ec53f2566fe981f02a95b52c7c817821c' }, h("button", { key: '415861262349f83c3c7d1dc72d9f8f01f855317e', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: '072d3af840d5044636380f5620703cc446877162', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: 'ac51822bbcf1f2213b11204fa968a40e7de164a3', class: "s-order-edit-product-card-content" }, h("h3", { key: 'e817582bf88db2ed6ac47a37a5d2b4e4ac953770', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: 'efbf1b16d7c6d73de76bab1e8715a474f812fde4', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
35
+ return (h(Host, { key: '60df0a73e8e4186d482d3be7f718cff1bf1e47d2' }, h("button", { key: 'cfc5d7a131dc05f455d998b64c435a3b67e98769', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: '406aece0b44f0a06710034639a743319452c20b9', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: 'fece09fb1521d1520e093354f47b9bd9c3d14550', class: "s-order-edit-product-card-content" }, h("h3", { key: '5dcd00e37feb23b6efcd39473e43ef934c27154c', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: '42feb2c536e6995dcfc5b907ea6820fb669c59cb', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
36
36
  }
37
37
  static get style() { return sallaOrderEditProductCardCss; }
38
38
  }, [0, "salla-order-edit-product-card", {
@@ -87,7 +87,7 @@ const SallaOrderSummary$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderSum
87
87
  this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
88
88
  }
89
89
  render() {
90
- return (h("ul", { key: '20b8d793a83306a203cd0f7eadededf3ce224181', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
90
+ return (h("ul", { key: '34e8e7196f3e8f3a8fa45f2758f810326c7c6bc7', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
91
91
  this.order_items.map((item) => (this.isDigitalCard(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, h("p", null, h("span", { innerHTML: iconCreditCard }), h("span", null, code.code)), h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, h("span", { innerHTML: this.codeCopied === code.code ? IconVerified : iconCopy }), h("span", null, this.copy_text))))))) :
92
92
  this.isDigitalProduct(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), h("ul", null, item.files.map((file) => (h("li", { class: "s-order-summary-digital-item-wrapper" }, h("div", null, h("span", { innerHTML: iconFileArchive }), h("span", null, file.name)), h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, h("span", { innerHTML: iconDownload }), h("span", null, this.download_text)))))))) : null))));
93
93
  }
@@ -35,12 +35,12 @@ const SallaPayments$1 = /*@__PURE__*/ proxyCustomElement(class SallaPayments ext
35
35
  render() {
36
36
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
37
37
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
38
- return (h(Host, { key: '94af8ddf97dca63ba7c1a19f65a1d872b8d565c6', class: "s-payments-list-wrap" }, h("ul", { key: '8e1425d89a60290b92042f82edbd2c0505da2904', class: "s-payments-list" }, madeInKSA && h("li", { key: '4ca6642fc2ef1cf1505b37127cf93cf48805e454', class: "s-payments-list-item" }, h("img", { key: 'f704728b2fade2d27f2109d47bc7e7381f3efe8b', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
38
+ return (h(Host, { key: '89a4100b0a96ac9da69d1ceeafb57aacfd065923', class: "s-payments-list-wrap" }, h("ul", { key: 'dbbd6ea7050ce8e35f49000c09f2e927b23986f1', class: "s-payments-list" }, madeInKSA && h("li", { key: '28a785784b7b2bbd4edeaa9c2a1ffdbb21fa8baa', class: "s-payments-list-item" }, h("img", { key: 'b2a2c0eda5ce76e0bdff63f329912a7bdcaf304c', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
39
39
  h("div", { id: "cod-slot", innerHTML: this.codSlot
40
40
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
41
41
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
42
42
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
43
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '5071bb1e003ff36b445fd15948b7612f6a1ecde4', id: "sbc-slot", innerHTML: this.sbcSlot
43
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '5fbda85b2a5056751f0560e1299eedc2aa4dbcb8', id: "sbc-slot", innerHTML: this.sbcSlot
44
44
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
45
45
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
46
46
  }
@@ -42,7 +42,7 @@ const SallaPlaceholder = /*@__PURE__*/ proxyCustomElement(class SallaPlaceholder
42
42
  };
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'c036c6655683dd28dc1fe108a0c9f18c41d4dab2', class: this.alignmentClass() }, h("div", { key: '8a344197473899bfce235707a0a4b586b09f7586', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '84c667eedacea750f761c0c650615c63812875ca', class: "s-placeholder-title" }, h("slot", { key: '4b59c67b550d5b4fb818007f0061b7648984c13c', name: 'title' }, h("span", { key: 'aec395c1624cc78932d4bddc2aaf936d6c300143' }, salla.lang.get('common.elements.no_options')))), h("div", { key: 'de0e5e440393992977e73d457df7c537cb2c1c8a', class: "s-placeholder-description" }, h("slot", { key: '4e85b215cd7255ee2ec7bd18913ea9f4709adaef', name: 'description' }, h("span", { key: '2c6746373095d09ef5cd19c2015cb240545d4ef9' }, salla.lang.get('common.errors.empty_results'))))));
45
+ return (h(Host, { key: 'c3b5fc484ce954bdbd3f7f42e8cb2320bcdf7eee', class: this.alignmentClass() }, h("div", { key: '8c9f89515a3f33f3904e0bd244527ab5638a6481', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '446700f7b323ca5d786a276aece557629d415d73', class: "s-placeholder-title" }, h("slot", { key: '0a857e65b6048e6d765b86c37953a54e47ae450d', name: 'title' }, h("span", { key: 'a9b1ab5b3ec757e4acca3dc85df8e3b185f0b33e' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '8215c957d6e7450b2d2c3901c76b6ccf7352bebe', class: "s-placeholder-description" }, h("slot", { key: '747c43255cff93f3fcc5d75c620a03d05801cec8', name: 'description' }, h("span", { key: '0bf8926e73635ad868fef5c8436f98e529fe0ced' }, salla.lang.get('common.errors.empty_results'))))));
46
46
  }
47
47
  static get style() { return sallaPlaceholderCss; }
48
48
  }, [4, "salla-placeholder", {
@@ -159,9 +159,9 @@ const SallaPriceRange = /*@__PURE__*/ proxyCustomElement(class SallaPriceRange e
159
159
  this.maxPrice = value === undefined ? '' : value;
160
160
  }
161
161
  render() {
162
- return (h(Host, { key: '343fd7a54f3a7d32c6709019fb168c7a8a1ca5f1' }, this.filterValues.map((filterValue, index) => {
162
+ return (h(Host, { key: '6e1e078c6ae3bfd0390af00860efdca13ffa1c36' }, this.filterValues.map((filterValue, index) => {
163
163
  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) }));
164
- }), h("div", { key: '99b72a90eb7c99fd0a061f3ae6fdb7a16f4a6cb5', class: "flex justify-center items-center" }, h("div", { key: '90234fcadbfd931e1ccbd8006f47219196b7d958', class: "relative max-w-xl w-full" }, h("div", { key: 'eb284df7b56929fa0b6b31f029024a48ba0528b5', class: "s-price-range-inputs" }, h("div", { key: '43adbda7a9dd480690a678e0efc7aeed889fb81f', class: "s-price-range-relative" }, h("div", { key: '16277456eb7fc08357ff91daef4af1944e79b762', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '9af2548117afe8389b786621d9e26e8f441c9fa6', 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: '5f5a45e86632b6183e0b85a5c1489d311b72c9b1', class: "s-price-range-gray-text" }, " -"), h("div", { key: '80198c67b69613cd09f0aa03faaf7f162a432478', class: "s-price-range-relative" }, h("div", { key: '5b84faee68142be3f18215b6f916eb1cd245c74c', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'a813df6ce1645b5e3d414a13879f9c4172bb6f4f', 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: '34644f25fbd11238f27f3de0343ef5b65d192c16', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '07f5f1d7faad2ad05ea8538076b73b14a8f3137c', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
164
+ }), h("div", { key: 'fa29180eb1559cf7b932021153dc4f1f93145852', class: "flex justify-center items-center" }, h("div", { key: '6241337067ab3702dae7fff90885b9d781c42525', class: "relative max-w-xl w-full" }, h("div", { key: 'b06b65c4712ad5a272fe3f3627b4b023a02f3e26', class: "s-price-range-inputs" }, h("div", { key: '4ac684662bf00e0155387b453e6ab900a1abeec9', class: "s-price-range-relative" }, h("div", { key: 'ebdf3cacf37d1d6024f3dc7bca534c90edfcb511', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '077fcabf67bd093cd97e4065c5ac62d9697fc227', 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: '392151d5eb9624fe012b2e89c2c6368d982bb100', class: "s-price-range-gray-text" }, " -"), h("div", { key: 'cbd9df93ae9830846aab3fa72995511268f2162f', class: "s-price-range-relative" }, h("div", { key: '25e2d1b87c353d938863f52b793ba369436b2051', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'afedd6163164a0d46a879009a9cd0d4100c0aae3', 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: '185be981f71138631238a5dcad581cd07c6769a2', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '25d5c88a886933736e2d80b4d755d3c0c517b7f5', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
165
165
  }
166
166
  componentDidLoad() {
167
167
  this.isReady = true;
@@ -140,7 +140,7 @@ const SallaProductAvailability = /*@__PURE__*/ proxyCustomElement(class SallaPro
140
140
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
141
141
  }
142
142
  render() {
143
- return (h(Host, { key: 'ab09bce8ed269e8c3fd7cd263acdc9b5094cf3a9', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
143
+ return (h(Host, { key: '08fc419b019727d8c872584c600fa5c6b381caa0', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
144
144
  ? h("div", { class: "s-product-availability-subscribed" }, h("span", { innerHTML: BellRing, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
145
145
  :
146
146
  h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
@@ -122,14 +122,14 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
122
122
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
123
123
  };
124
124
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
125
- return (h(Host, { key: '9587bcb7fa6abdf1ec9cea621004e7e7077c2fd6', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: 'f2d3c72f55d302e85a2da4e478d294f1ff7a155b', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '932e6defeeec23cda564e80a55f90260d51a1996', ...hrefProp }, h("img", { key: 'f1a82c5dab197fff512d5ab220a34acea82fd6d0', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
125
+ return (h(Host, { key: '73ea053e1ad55a72cafe36405297bf3c1328604a', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '010a3aec389bce2faecfa6527c64da1d39832cf3', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '1c716d26852c624b038ce7f22119274aaf6b1367', ...hrefProp }, h("img", { key: '2195caa03c5b5a66a5c0538d4fd310678991faff', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
126
126
  ? 'contain'
127
127
  : this.fitImageHeight
128
128
  ? this.fitImageHeight
129
- : '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: '40eb012054592e5c65309a4fcbe6fd4f3512197e', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
130
- 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: '91c99ae52ff1da64dfe69812ccfb26e91590f105', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
129
+ : '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: '9fbf6d697c2f0d1d3a21fa33d1074784597c9c3e', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
130
+ 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: '74ee57ae671a5962a14dbbca31ba8ab28e0933cc', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
131
131
  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" })))
132
- : '', h("div", { key: '630f6fdafccb0a6d5db2eb9399f5ba7c02ffde4b', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '0c366496893811cec16c67b4c28c8ac6a40bd191', class: "s-product-card-content-title" }, h("a", { key: 'f9ba0a3655e8058b3a10c16016e7e5f3d85a6e8a', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
132
+ : '', h("div", { key: '01b63d8229a415a50d5c527c6f3b76eb2155ba24', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: 'ea40bb9f7e35bd7517df12ab552c5e576611aca6', class: "s-product-card-content-title" }, h("a", { key: 'f7c9f14a2101629dcc129c55cab2942cba388f84', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
133
133
  h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
134
134
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
135
135
  [h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -138,7 +138,7 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
138
138
  this.addBtn.donatingAmount = e.target.value;
139
139
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
140
140
  : '')]
141
- : '', h("div", { key: 'd67416c75a6fb7daa507e2d578c11f5dc1ecff2f', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
141
+ : '', h("div", { key: 'bbaa41840b4bce96bab0b1dd1ddabcbace89dfd7', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
142
142
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Rate }), h("span", null, this.productData.rating.stars))
143
143
  : ''), this.isSpecial && this.productData.discount_ends
144
144
  ? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -59,11 +59,11 @@ const SallaProductSizeGuide$1 = /*@__PURE__*/ proxyCustomElement(class SallaProd
59
59
  return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
60
60
  }
61
61
  render() {
62
- return (h("salla-modal", { key: '890b39170a64cbe054d9abfeafde2304560848d7', 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: '5989a906d9d0e843142374c202aa5276731282e8', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: 'a87674a01f544d91a16303cf96111633ca4438a3', slot: "loading" }, h("div", { key: 'f1e2f05860bb25796752283af36515432803ca9a', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: 'e579db557854a2b7903f5c435977c8d410a9157a', height: '15px', width: '25%' }), h("div", { key: '0b6e56e41efeebfe5215afb17e69b465f5a9992a', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: 'fbc7b34bdb2cf914b7d197432132065a4d1c4152', height: '40px' }), h("salla-skeleton", { key: '8045c64a63a469f70f87f686ec986d0c6f5aa1c5', height: '40px' }), h("salla-skeleton", { key: '0abd35f5af325ca1f2208659a9fb1f2ca284adfd', height: '40px' }), h("salla-skeleton", { key: 'd444ac5dd6391b9c902e17f98c0d3c35a939e678', height: '40px' })), h("div", { key: '1a217120cd307a4b837175b3eace97788a4195e4', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: 'a47510c2ba3357066fe2452f8dbf899bda36177f', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'e097a5097938fc4fda820d753c42c08d06dabbea', height: '10px', width: '75%' }), h("salla-skeleton", { key: '16267e9b3f7a21aa384d8a8a59ff05473aebfe97', height: '10px', width: '50%' }), h("salla-skeleton", { key: '904842b7bde12557b9a72dc48bdeb6ebd3c65ed4', height: '10px', width: '75%' }), h("salla-skeleton", { key: '4286e18b5198144636f9f4ad8a2445ca41673918', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'b1483afcb842489b5c6997216bc7e8c24437f16f', height: '10px', width: '25%' }), h("salla-skeleton", { key: '140f19a164bbb547c844a8483efcd86f18336a20', height: '10px', width: '60%' }), h("salla-skeleton", { key: '23475f824cb98b0a776b5ae2b3715a14b9413d4b', height: '10px', width: '45%' }), h("salla-skeleton", { key: '75d3bcd58f50886ffad02b329d5153b0ae41d46e', height: '10px', width: '30%' })))), h("slot", { key: '836b93fd9084ee2f19077333ac31e1629a5ad118', name: "header" }), !this.hasError && !!this.guides ?
62
+ return (h("salla-modal", { key: 'b1bae59f3066898c4496e9e7946a413aadb65ca1', 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: 'b25671d144823c18287460e4084d787de60ea6fc', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '4a9d9d03491a68fa59d88136469d4b7fdef58844', slot: "loading" }, h("div", { key: '1c61c0a1f9d97ffe07caa4155ce6166b329462be', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '6bf1218232a710311299c4e6a8f5f48319775942', height: '15px', width: '25%' }), h("div", { key: '4331fe3d76d537a9f80edb0d54eba36b3989dfdc', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: 'd81e4ec5a2909a5fb0dd5d61d5d433448a40f286', height: '40px' }), h("salla-skeleton", { key: 'e44dbf44e2a9e3ebfec58ce7463bfefc8f0a9f00', height: '40px' }), h("salla-skeleton", { key: '76b73e407d4c845351a57752d6a1d62db1cb84ec', height: '40px' }), h("salla-skeleton", { key: 'b84a16e5f29530ef7771a9cd3de02e2c4e819041', height: '40px' })), h("div", { key: '0c2d143bd6239d6da10462b202585a708960fad3', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: 'daaffa11c88e83e22ddd6d971cb27da138e6a528', height: '15px', width: '25%' }), h("salla-skeleton", { key: '45024e1210e6b6cc4b76556bad7fe0b95c59eae2', height: '10px', width: '75%' }), h("salla-skeleton", { key: 'c168e4624518f8f4b889e0e09d09a5f703a9f6e0', height: '10px', width: '50%' }), h("salla-skeleton", { key: '9cf54bba39f265099301bc871380d75ff01bb195', height: '10px', width: '75%' }), h("salla-skeleton", { key: '5e4b06df0db206ae5b9a94d7e8532af4c48fb903', height: '10px', width: '100%' }), h("salla-skeleton", { key: '3d946274064242db1f2911d315d28dbc355e31cd', height: '10px', width: '25%' }), h("salla-skeleton", { key: 'd163510a54cb8230ea5e3d384781d2a0c70f74ca', height: '10px', width: '60%' }), h("salla-skeleton", { key: 'ff0147a16398f0910cd6641a2bc1433ca43abdd6', height: '10px', width: '45%' }), h("salla-skeleton", { key: 'f038bf93b41bb25f24761bfb0a8bc148d675ab5d', height: '10px', width: '30%' })))), h("slot", { key: '15ae01a63f16c58a28ee8e7871f77b4d5eb5c1c6', name: "header" }), !this.hasError && !!this.guides ?
63
63
  [
64
64
  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 }))))
65
65
  ]
66
- : this.showPlaceholder(), h("slot", { key: 'ac635b008e11b61918efb43ba6489c4130831a32', name: "footer" })));
66
+ : this.showPlaceholder(), h("slot", { key: '6c197dec0e2f7a38a07cee693b85a5cda72017f4', name: "footer" })));
67
67
  }
68
68
  get host() { return this; }
69
69
  static get style() { return sallaProductSizeGuideCss; }
@@ -95,7 +95,7 @@ const SallaQuantityInput = /*@__PURE__*/ proxyCustomElement(class SallaQuantityI
95
95
  if (!inputAttributes['aria-label'] && !inputAttributes['aria-labelledby']) {
96
96
  inputAttributes['aria-label'] = salla.lang.getWithDefault('common.elements.quantity', 'Quantity');
97
97
  }
98
- return (h(Host, { key: '0d455d7f718123741aaf8d11056526c6c5916565', class: "s-quantity-input" }, h("div", { key: 'c47dc0592e1c4abb724b9dfad352718a2379faf7', class: "s-quantity-input-container" }, h("button", { key: 'c1d67cc3c1df4ee33a34b62e92bbc20f00b6f22e', 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: '802445a97219921692f9c0bcd0ca8e8ebf547b89', name: "increment-button" })), h("input", { key: 'ff93aa47a0dd6d102f39c28a77cae6282645e873', 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: '568ad4da47ba3b52e197566c7f23cf540fc8423f', 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: '202303a0a7370e5d6cb54442dd6cc768646f18e8', name: "decrement-button" })))));
98
+ return (h(Host, { key: '4fd5045f734eaa275859b5a9451c802492ff91f7', class: "s-quantity-input" }, h("div", { key: '98359a24f9b0ce4954b9035f45a4e84122738ce2', class: "s-quantity-input-container" }, h("button", { key: 'f31f471333ad6044f282c054dd60ac35d91fe9c8', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? h("span", { innerHTML: Add }) : '', h("slot", { key: 'c99cb35847195909090b7a60eee4a9476a374e47', name: "increment-button" })), h("input", { key: '72ecc1afab0f51d8b3632a467b2530d33c5b6ef2', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), h("button", { key: 'b784a8acbdfc25f8871fb975db7b04b299cca607', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? h("span", { innerHTML: Minus }) : '', h("slot", { key: '80577c584d2c32caee1da3e412fb5bd556c998fa', name: "decrement-button" })))));
99
99
  }
100
100
  get host() { return this; }
101
101
  static get watchers() { return {
@@ -1141,7 +1141,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1141
1141
  });
1142
1142
  }
1143
1143
  render() {
1144
- return h(Host, { key: '6a161249c65a797bc7e9b61549b3b1f6ad1e39fa' }, this.quickBuyButton());
1144
+ return h(Host, { key: '6ca33eda9e2ae5aac14ff473536242de1214f05b' }, this.quickBuyButton());
1145
1145
  }
1146
1146
  quickBuyButton() {
1147
1147
  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 });
@@ -172,7 +172,7 @@ const SallaReviewCard = /*@__PURE__*/ proxyCustomElement(class SallaReviewCard e
172
172
  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)));
173
173
  }
174
174
  render() {
175
- return h("div", { key: '47efb35fefb0c57657c2e8f6707d4821f6c1c1a0', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'eb624b4a9aa51b9053a5824818490dcf91594489', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: 'f7bc3da7f0ef59c08789942d76e309e0d07a161a', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
175
+ return h("div", { key: '876ac50d109430dc6d805d5e59f4dc75966212b0', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '6011b45689e41365d70ff59aa2b58db6069ffe6f', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: 'c5f96d3d0161fadbc065018e4fddcdab5ce93699', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
176
176
  }
177
177
  get el() { return this; }
178
178
  static get style() { return sallaReviewCardCss; }
@@ -685,7 +685,7 @@ const SallaReviewsPage$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviewsPa
685
685
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
686
686
  }
687
687
  render() {
688
- return (h("host", { key: 'fcd0bc80f69825de03feab75422aef2dabcca93b' }, h("div", { key: '4d50dbde8eecf0a597717971dee990d01bae1f7c', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'ff2c3e971cb6c480ae6388308abaa40a90ccd1cd', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'a8f550f07d5826d701036ca94c8535188cd29dc5', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'a2e0465af025a4c695462a1ea223d7a554e582de', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e333ae7128cb24e15d18dca25f6af3456f0648ec', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '7ed58196ce8319d3ff3d7f9f38f7ecdf371e4856', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
688
+ return (h("host", { key: '3a03eb5fd12b0c12f7ce3507d42613e1ef6323f4' }, h("div", { key: '0caef3d980e06b62be4c80a1405d62c0ddbfccca', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '5da663934595fc9978ec36e54de482ab96da33ae', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'baa8507e9f4fc708f4c404cc75a6bb144ae804a4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '45d5864de04db086c45a2f142f23bb8babcadf45', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '2a06fa540c6dcf102c7aaabd5077b6c077a9cac9', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'ec92ba4a38470de0c60a45d74252ec729de47971', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
689
689
  this.wrapper = el;
690
690
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
691
691
  : 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));
@@ -98,7 +98,7 @@ const SallaReviews$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviews exten
98
98
  });
99
99
  }
100
100
  render() {
101
- return (h("div", { key: 'a714c729b160349bb72976bc0b9910c2ddfee5bb', class: "s-reviews-container" }, h("div", { key: '5aadfe6203a6bfc70bd242914ad63de05b374a22', class: "s-reviews-header-wrapper" }, h("h1", { key: 'a7dcdfbb38a9eb069f8b3c46d065638b659fb891', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { key: 'cbb4ae4e75bbef6d5716287d096863de9631a3e2', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: '78ca0d0848ccba77a926b3142954d1a5ffe99a9b', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
101
+ return (h("div", { key: '65b40e3af4bd3a12634c2098ca87096c96c6454a', class: "s-reviews-container" }, h("div", { key: '82ba3e23d074dbd13647bc7684441b9a99806efc', class: "s-reviews-header-wrapper" }, h("h1", { key: '2e83ff3be8bc71f1944da3e6d850cd88c865196f', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { key: '2d8e68fc6991f2df85b691f71c506dc375b2746f', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: 'd5429d64b8cbd077edad73613ef663b39552677b', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
102
102
  }
103
103
  static get style() { return sallaReviewsCss; }
104
104
  }, [0, "salla-reviews", {
@@ -26,7 +26,7 @@ const SallaRewardAction = /*@__PURE__*/ proxyCustomElement(class SallaRewardActi
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h("div", { key: '0d02cecaae79cf166555514890fbf6192e1cd438', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
29
+ return (h("div", { key: '475f3ee96420af61ec3ed127367a224fa86f7c34', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
30
30
  's-loyalty-program-rewards-action-base': true,
31
31
  's-loyalty-program-rewards-action-on': true,
32
32
  } }, salla.lang.get('pages.loyalty_program.shop_now'))) : (h("button", { onClick: this.handleClick, class: {
@@ -15,7 +15,7 @@ const SallaRewardCard = /*@__PURE__*/ proxyCustomElement(class SallaRewardCard e
15
15
  this.actionClick = createEvent(this, "actionClick", 7);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '0bd68f7cab478d78db8b083ea11c2090d02aab59', class: "s-loyalty-program-reward-host" }, h("div", { key: 'ef4e857bc55a12e50434c1dda2160674ead3b4e6', class: "s-loyalty-program-reward-container" }, h("div", { key: 'a6a7ccdf50ee296b48c05a01f241192c0f77f30c', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: 'e4f55cda0d9f36af95ce101c987819d30b9ad143', class: "s-loyalty-program-reward-img" }, h("img", { key: '450fe8914dcf809005d4707074cb305a59990e81', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '7828210caf948e057055c53dc64af45426d7977d', class: "s-loyalty-program-reward-content" }, h("div", { key: '2f39695bd03884f6988b44de68964cdfdb75e0bb', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'e9e1dda91aa414d58caaff52a4bb667a1fc1b96f', size: "xs" }, h("span", { key: '7baa15af74cde5a6e744667566377417233d0848', innerHTML: loyaltyProgramIcon }), h("span", { key: '6bd7f77ec736a6f0fd9de0c69907cc05e87829b0', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '269da0571a6533ca6621792a3891f4b9d132d337', class: "s-loyalty-program-reward-title" }, h("span", { key: '06c40cc994031777565d43c5259eefb3311dea98' }, this.prize.group_title)), h("div", { key: 'e81936c993e83f96f4143278ec82391135778383', class: "s-loyalty-program-reward-name" }, h("div", { key: '752e5e6fbc5de60f7047913d6b8bf79e597fd407', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: 'a83282f66ab42ee0fa055cf9bf7802af1615e8f0', class: "p-4" }, h("slot", { key: '7186f03318c907b3e8ec15e30322d8bf787d74f8', name: "action" }, h("button", { key: '7b1a13734d2c230dd32d744a42e82fdb1c148660', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
18
+ return (h(Host, { key: '0c53ae71f95b242db839dd897d7288b2d95b8a64', class: "s-loyalty-program-reward-host" }, h("div", { key: '758426d1813b9dcc47b9c8a4d739d523e9572fff', class: "s-loyalty-program-reward-container" }, h("div", { key: 'f7f5819d9fb48c40fb44cf01d28593103fc62593', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '5b51e12b977e17ca4b0c981ea8c1e275e72fd32e', class: "s-loyalty-program-reward-img" }, h("img", { key: 'bcb3279ef5c20f1bdfefc56e75879f5b186ee81f', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '72c3f61805cf30c54e41db61f559e82d56441e7b', class: "s-loyalty-program-reward-content" }, h("div", { key: '0da8285d5913727d662d7d8d42b20c757291db38', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'd2938a93d63abe2ccf9da4bd6f9c5fab902dae49', size: "xs" }, h("span", { key: '6a5d953b0c67edca8f2b74d5fab9de28e14c5b74', innerHTML: loyaltyProgramIcon }), h("span", { key: 'a7f50ef7c770fd6e8f729b5e90c38f8e552dbdca', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '52038fccca9e9a725000cff0f09ae27c1df84070', class: "s-loyalty-program-reward-title" }, h("span", { key: 'b584757e9514318eaf12c391055bebf1ef3cc3d3' }, this.prize.group_title)), h("div", { key: 'e07cf257344b9c5885b0e0cbfefd8140d6695689', class: "s-loyalty-program-reward-name" }, h("div", { key: 'b7ee859bdefce896e6aa8edaa33c61fef91a9188', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '7316be44d9e00d7031a70067100430d283b1a729', class: "p-4" }, h("slot", { key: '5ac564614b3ff5420e7cc74d5e3d3ec4130d38b8', name: "action" }, h("button", { key: '4b8f3d3b3497b842c26be65657b623a1d4f1f6d7', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
19
19
  }
20
20
  static get style() { return sallaLoyaltyProgramCss; }
21
21
  }, [4, "salla-reward-card", {
@@ -136,11 +136,11 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
136
136
  }
137
137
  render() {
138
138
  const termsAndConditions = this.getTermsAndConditions();
139
- return (h("div", { key: 'b292fed409fdc5ed8824e1d3d694ddcf5136a260', class: "s-loyalty-program-reward-modal" }, h("div", { key: '3f276606a45e99bad8fa1e99d9bb00547e3a795c', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '0eea18e23aeb1273785886aebbe067a4b3f1d638', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
139
+ return (h("div", { key: 'a0d80e9a5a549bb5e57716222ab98b9bcdcd0d7a', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'e085b601651f90de395d04ad06f901554fff1c9c', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'ce51fd02e41e864db3bace40315bf8cc40d2aacf', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
140
140
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
141
141
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
142
142
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
143
- } })), this.prize.name)), h("div", { key: 'a12d8ab8741e502a20f2d310e758894ade551019', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'd8f83e5683e241adc7396ae3910ca533a73930cb', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '36229ddc5eb66cbc6d6b54dc9f73f55d9830ce72', class: "s-loyalty-program-aspect-container" }, h("img", { key: '9892014560501a6da43ff38d51612aa08e4a025d', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'b9f20d7a8570239772e71884b735fc5eb3a8ab62', size: "sm", bg: "light" }, h("span", { key: 'ce7a4e116a8c6b91f4835f90aa28e4d091581da9', innerHTML: loyaltyProgramIcon }), h("span", { key: 'd505628411045a838fef73c124e0940e4be53329', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '9d6041e7093fb173cb1218356a8f23923da2c138', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '1afc5bb9e8eae3d00884363fea13fd2cd7225e20', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '63f6d2d48f0f0277acd800bb238a07724d361b65', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
143
+ } })), this.prize.name)), h("div", { key: '262fc0c0ba8a2401d0a46f4a31cb142ed71aaee2', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'feff3505ef1cadb4b11499f4e5d4c60bc0818c3c', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '6a206193ee11ff9efab3372324220cc081f5ee21', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'a16fd353864eb9052a4418a01c5566fd9fae15e0', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'f649e1b03bad2ad569425cb26eab179300bb455f', size: "sm", bg: "light" }, h("span", { key: '081b07570d4651792170d2219152ac5943e46219', innerHTML: loyaltyProgramIcon }), h("span", { key: '3057fe2961639bf42961f016c01e3f9647946c40', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'e4417eea725e80ec1c6e2b3992a75b03f08792de', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '023fde4c635d93c4e5ea2cfcb66e903e01f7b901', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'ec5a1d1a18ba05ea9f6c8daf323bdf47e851f837', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
144
144
  h("salla-tab-header", { slot: "header", name: "included", style: {
145
145
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
146
146
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: IconVerified }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -150,7 +150,7 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
150
150
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
151
151
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: Cancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
152
152
  h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
153
- ]))), h("salla-reward-action", { key: '986205a4f41981993e5ac555fa858ec24c217be0', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
153
+ ]))), h("salla-reward-action", { key: '0ef437efc19ef2f54da2e185414a2e7e4dc7a82e', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
154
154
  }
155
155
  static get watchers() { return {
156
156
  "prize": ["handlePrizeChange"]
@@ -44,11 +44,11 @@ const SallaRewardExchange = /*@__PURE__*/ proxyCustomElement(class SallaRewardEx
44
44
  this.reset(0);
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: 'b5b9a966f28520c30917887621e2358fdb9530be' }, h("div", { key: '4e87e3d0530a7fca6db1bf09fd1b059b85e56f10', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '73b9aa3106336e8cdc81ce78371b3efc47b5c569', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '0e6c488afa39784a40bfed2f1d180fc48664a81a', innerHTML: loyaltyProgramIcon })), h("h2", { key: '7740e27318379264905ff695e0c0cf13b54800d0' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '81a7ba841e3e26c7c9fc1054745ad163cc347db7' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '0f5d68dbe2de661c2aad02d237d3098349e94120' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '1daa10a1843938166c6834d0369edfe7e06dd54e' }, "(", this.prize.name, ")"))), h("div", { key: '42384b2df2cbb3775ccc6f7a017d9ef9f770baf5', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'b90b95adae80a9bcb47c0d039ea8bd9399ee5bc5', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: 'c108973d9729265fb35a0d0fa781d525388a4c12', style: {
47
+ return (h(Host, { key: 'bbf843c0e37a56e494ab03443377cf0460e7af3d' }, h("div", { key: '4abbb59df236a8aad2edfceaa5983808095861b9', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '701f4533e21f269626beeb09a91f1cd483fe74ec', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'd8008123034729908b05b55a5d360d43ae40e119', innerHTML: loyaltyProgramIcon })), h("h2", { key: 'd7d6bdd5f11afd4b5c191f703f1abc073e907e0c' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: 'a252cc2e2dc7724d5e9fddf051d6befe06854536' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '4cb815a1382cfe9ad684c9636def9ff21a4c28ed' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '0cbbef3bfaf2aea16006f0892b23e8aedba2b564' }, "(", this.prize.name, ")"))), h("div", { key: 'ce38ef18312c8674b2d4b3a5903e7296fc9979f5', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'fe5d7cec57211d811a6215d48ca8de622bd93e62', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: 'faf587cbcc53de7ccf761cb2d7a94a8d0cfc813f', style: {
48
48
  opacity: this.exchange.status !== 'pending' ? '1' : '0',
49
- } }, salla.lang.get('common.elements.confirm')), h("span", { key: '302a31b9095d153b4662ada13d45cdb6b15664ad', class: "s-loyalty-program-exchange-loading", style: {
49
+ } }, salla.lang.get('common.elements.confirm')), h("span", { key: '0f0cdd023749431d6f31ce760ebe01ac88e6f966', class: "s-loyalty-program-exchange-loading", style: {
50
50
  opacity: this.exchange.status === 'pending' ? '1' : '0',
51
- } }, h("salla-loading", { key: '3e305da32d469f6ec874c128a1fd68356280dc69', color: "primary", size: 24 }))), h("button", { key: '466f8cfea3e370bce9466e9571f4567fb5a7966d', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
51
+ } }, h("salla-loading", { key: '6191c1a572fd552a07b8c7793891398f80554088', color: "primary", size: 24 }))), h("button", { key: '0e8b3aa8ecafcb583cd3de51e3e9e5ade856041c', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
52
52
  }
53
53
  static get style() { return sallaLoyaltyProgramCss; }
54
54
  }, [0, "salla-reward-exchange", {
@@ -165,7 +165,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class SallaScopees extends
165
165
  return salla.onReady();
166
166
  }
167
167
  render() {
168
- return (h(Host, { key: '743fc37aec29a2ec15deb00c7463b51d0edcc29e' }, h("salla-modal", { key: '4b98493956bf34f97217d384d194a21d69ec011f', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
168
+ return (h(Host, { key: '3581a721b9a6863bf54dcdacb1c55ec0c412cf3c' }, h("salla-modal", { key: '3386595177109a490bb3ecada1484dd247e90f58', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
169
169
  h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' }))))
170
170
  :
171
171
  [h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
@@ -132,10 +132,10 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
132
132
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
133
133
  }
134
134
  render() {
135
- const searchContent = (h("div", { key: '6d47849faffad8faa82bfb8368ea2ad9e2aced49', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '6c6330e985c6505b1cf8c78e5ab95cb3b22844c9', class: "s-search-input-wrapper" }, h("span", { key: 'e01360120e50a316881569d19e455ccb998e50ab', class: "s-search-icon-wrap" }, h("span", { key: 'f9d9e717638271402ba445d59ec8b5315d542a16', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '4abd6b3c6647ccfd411463aa2c9610c8428efd17', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
135
+ const searchContent = (h("div", { key: 'a850e702d6693b06ee58242bd811f0b3fb79cc65', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: 'b2b35a43bc93c72f30c51171e40ddc1ac859aff4', class: "s-search-input-wrapper" }, h("span", { key: '94734504edd9cb3459f3eefffc5564b576deefab', class: "s-search-icon-wrap" }, h("span", { key: 'f13a3ff73fdb0ad6bfa812263f0d468010565aef', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: 'f687489b95cd7c7ea8915aa3a62e112e5635d641', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
136
136
  height: this.height + 'px',
137
137
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
138
- } }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: '1a28e1cef5a6785ed45cef1beb1e177c174aca0c', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
138
+ } }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: '6f956b79e1807f04935ad04f31787c61cf29aa5d', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
139
139
  's-search-product': true,
140
140
  's-search-product-not-available': !product.is_available,
141
141
  }, innerHTML: this.productSlot
@@ -144,9 +144,9 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
144
144
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
145
145
  ? salla.money(product.regular_price)
146
146
  : '')
147
- .replace(/\{image\}/g, product.image.url) }))), h("p", { key: 'df6eb433971ec24b64de09de7f5d861fe7d26c7e', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
148
- const modalContent = (h("salla-modal", { key: '37af042080e667919d94197c9ac16496a716bc9e', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
- const placeholderContent = (h("div", { key: 'ce1fa4591a9c61563344a8bc48ed3e09d1ad6796', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: 'f42ee11b614068bcbde12e6e82034b8b3b22bfaa', class: "s-search-input-wrapper" }, h("span", { key: '8b775e814e03a3de5c24bbe4e252e3e78fa82988', class: "s-search-icon-wrap" }, h("span", { key: '69cfca5e26fe366e2544e95e9b468aba28b32e55', class: "s-search-icon", innerHTML: Search })), h("button", { key: '998a6aa2efd5003e413d7d467ca4e78b0f97bbe1', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
147
+ .replace(/\{image\}/g, product.image.url) }))), h("p", { key: '1199156eebec6857f934bf53e065958a88b72b3f', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
148
+ const modalContent = (h("salla-modal", { key: 'ca437b25a044e96106287ab908f17f2e51efb7b0', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
+ const placeholderContent = (h("div", { key: '3af263b5044834c010d78ece354f91a7b50278cf', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '970543471b3b069dea4a0e90f4c7512d2603b260', class: "s-search-input-wrapper" }, h("span", { key: '8d6ae3860975ef7b5870f3e1fe4176b2e6c5bfc5', class: "s-search-icon-wrap" }, h("span", { key: 'b37851998a7c2f7699dc473470985ea0f3b836c8', class: "s-search-icon", innerHTML: Search })), h("button", { key: 'c4b63f42425f646af93421ba55e0d3335792dd88', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
150
150
  height: this.height + 'px',
151
151
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
152
152
  } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SallaSearchableDropdown extends Components.SallaSearchableDropdown, HTMLElement {}
4
+ export const SallaSearchableDropdown: {
5
+ prototype: SallaSearchableDropdown;
6
+ new (): SallaSearchableDropdown;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { S as SallaSearchableDropdown$1, d as defineCustomElement$1 } from './salla-searchable-dropdown2.js';
5
+
6
+ const SallaSearchableDropdown = SallaSearchableDropdown$1;
7
+ const defineCustomElement = defineCustomElement$1;
8
+
9
+ export { SallaSearchableDropdown, defineCustomElement };