@salla.sa/twilight-components 2.14.462 → 2.14.463

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 (433) hide show
  1. package/dist/cjs/{filepond-D7zShniv.js → filepond-XQ49P28a.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BqO8tLqK.js → filepond-plugin-file-poster-BPQxaVwU.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Bdxa3s1T.js → filepond-plugin-file-validate-size-B9ApyJPA.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B9q4YU3V.js → filepond-plugin-file-validate-type-Bcpy1-Yx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BZ8ZjH1W.js → filepond-plugin-image-edit-DpTpDHd0.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D-Ua_ckJ.js → filepond-plugin-image-exif-orientation-BpFgVfuH.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CrZfm9_U.js → filepond-plugin-image-preview-Cb8nl-Sk.js} +1 -1
  8. package/dist/cjs/{functions-Dnwp9wka.js → functions-BWxgjDLr.js} +1 -1
  9. package/dist/cjs/{index-CLNWkNWb.js → index-C8A5Jog8.js} +1 -1
  10. package/dist/cjs/{index-wTIlAVr3.js → index-erFsk7OI.js} +6 -2
  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 +1 -1
  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 +12 -12
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -3
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +4 -4
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -4
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -15
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -5
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -3
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +96 -0
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +4 -7
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  77. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  78. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  85. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  87. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  91. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  92. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-menu.cjs.entry.js +6 -7
  96. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  98. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  100. package/dist/cjs/{tracked-promise-DqErlr1h.js → tracked-promise-CAEeCapf.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-F5duMbuq.js → vanilla-picker-B9ah_1w1.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +0 -2
  105. package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +0 -2
  106. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +99 -0
  107. package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +0 -2
  108. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  109. package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +0 -2
  110. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -10
  111. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -4
  112. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  113. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  114. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  115. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  116. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  117. package/dist/collection/components/salla-map/salla-map.js +3 -3
  118. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  119. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  120. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  121. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  122. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  123. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  124. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  125. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  126. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  127. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  128. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  129. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  130. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  131. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  132. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  133. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  134. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  135. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  136. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  137. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  138. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  139. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  140. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  141. package/dist/collection/components/salla-search/salla-search.js +5 -5
  142. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  143. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  144. package/dist/collection/components/salla-social/salla-social.js +1 -1
  145. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  146. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  147. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  148. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  149. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  150. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  151. package/dist/collection/components/salla-user-menu/salla-user-menu.js +6 -7
  152. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  153. package/dist/components/index.js +2 -2
  154. package/dist/components/salla-cashback-banner.js +0 -2
  155. package/dist/components/salla-loyalty-banner.js +0 -2
  156. package/dist/components/salla-loyalty-hero2.js +3 -3
  157. package/dist/components/salla-loyalty-panel.js +0 -2
  158. package/dist/components/salla-loyalty-point2.js +4 -10
  159. package/dist/components/salla-loyalty-points-banner.js +0 -2
  160. package/dist/components/salla-loyalty-points-history.d.ts +11 -0
  161. package/dist/components/salla-loyalty-points-history.js +129 -0
  162. package/dist/components/salla-loyalty-program.js +1 -4
  163. package/dist/components/salla-loyalty-reward.js +2 -2
  164. package/dist/components/salla-maintenance-alert.js +1 -1
  165. package/dist/components/salla-map2.js +3 -3
  166. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  167. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  168. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  169. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  170. package/dist/components/salla-multiple-bundle-product.js +1 -1
  171. package/dist/components/salla-notification-item2.js +1 -1
  172. package/dist/components/salla-offer-modal.js +1 -1
  173. package/dist/components/salla-order-details.js +1 -1
  174. package/dist/components/salla-order-edit-product-card.js +1 -1
  175. package/dist/components/salla-order-summary.js +1 -1
  176. package/dist/components/salla-payments.js +2 -2
  177. package/dist/components/salla-placeholder2.js +1 -1
  178. package/dist/components/salla-price-range2.js +2 -2
  179. package/dist/components/salla-product-availability2.js +1 -1
  180. package/dist/components/salla-product-card-embed.js +1 -1
  181. package/dist/components/salla-product-card2.js +5 -5
  182. package/dist/components/salla-product-size-guide.js +2 -2
  183. package/dist/components/salla-quantity-input2.js +1 -1
  184. package/dist/components/salla-quick-buy2.js +1 -1
  185. package/dist/components/salla-review-card2.js +1 -1
  186. package/dist/components/salla-reviews-page.js +1 -1
  187. package/dist/components/salla-reviews.js +1 -1
  188. package/dist/components/salla-reward-card2.js +1 -1
  189. package/dist/components/salla-reward-details2.js +3 -3
  190. package/dist/components/salla-reward-exchange2.js +3 -3
  191. package/dist/components/salla-scopes.js +1 -1
  192. package/dist/components/salla-search.js +5 -5
  193. package/dist/components/salla-searchable-dropdown2.js +4 -4
  194. package/dist/components/salla-skeleton2.js +1 -1
  195. package/dist/components/salla-social-share.js +1 -1
  196. package/dist/components/salla-social.js +1 -1
  197. package/dist/components/salla-tab-content2.js +1 -1
  198. package/dist/components/salla-tab-header2.js +1 -1
  199. package/dist/components/salla-tabs2.js +1 -1
  200. package/dist/components/salla-tel-input2.js +1 -1
  201. package/dist/components/salla-tooltip2.js +1 -1
  202. package/dist/components/salla-user-menu.js +6 -7
  203. package/dist/components/salla-user-settings.js +1 -1
  204. package/dist/esm/{filepond-m6fYB-0k.js → filepond-AAIlCdAO.js} +1 -1
  205. package/dist/esm/{filepond-plugin-file-poster-BjL05gZe.js → filepond-plugin-file-poster-CzcSk93x.js} +1 -1
  206. package/dist/esm/{filepond-plugin-file-validate-size-DTeNYd00.js → filepond-plugin-file-validate-size-DRV8qwBW.js} +1 -1
  207. package/dist/esm/{filepond-plugin-file-validate-type-ZhqN1Gao.js → filepond-plugin-file-validate-type-CelZ69Kz.js} +1 -1
  208. package/dist/esm/{filepond-plugin-image-edit-P9d3w9sz.js → filepond-plugin-image-edit-B-hHZqmA.js} +1 -1
  209. package/dist/esm/{filepond-plugin-image-exif-orientation-rmyn2Wqp.js → filepond-plugin-image-exif-orientation-BgxjrMAY.js} +1 -1
  210. package/dist/esm/{filepond-plugin-image-preview-yKjApiZb.js → filepond-plugin-image-preview-h6BWEU-G.js} +1 -1
  211. package/dist/esm/{functions-C_YevJW-.js → functions-Dg0XXbIV.js} +1 -1
  212. package/dist/esm/{index-D9GD5gzh.js → index-BlGD97H6.js} +1 -1
  213. package/dist/esm/{index-CeYNqrm6.js → index-CgKcWLpf.js} +6 -2
  214. package/dist/esm/loader.js +3 -3
  215. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  216. package/dist/esm/salla-accordion_6.entry.js +1 -1
  217. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  218. package/dist/esm/salla-advertisement.entry.js +1 -1
  219. package/dist/esm/salla-alert_2.entry.js +1 -1
  220. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  221. package/dist/esm/salla-apps-icons.entry.js +1 -1
  222. package/dist/esm/salla-badge.entry.js +1 -1
  223. package/dist/esm/salla-booking-field_7.entry.js +12 -12
  224. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  225. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  226. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  227. package/dist/esm/salla-cashback-banner.entry.js +1 -3
  228. package/dist/esm/salla-comment-form_8.entry.js +4 -4
  229. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  230. package/dist/esm/salla-contacts.entry.js +1 -1
  231. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  232. package/dist/esm/salla-count-down.entry.js +1 -1
  233. package/dist/esm/salla-custom-fields.entry.js +1 -1
  234. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  235. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  236. package/dist/esm/salla-filters-widget.entry.js +1 -1
  237. package/dist/esm/salla-filters.entry.js +1 -1
  238. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  239. package/dist/esm/salla-gifting.entry.js +1 -1
  240. package/dist/esm/salla-hook.entry.js +1 -1
  241. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  242. package/dist/esm/salla-installment.entry.js +1 -1
  243. package/dist/esm/salla-list-tile.entry.js +1 -1
  244. package/dist/esm/salla-localization-modal.entry.js +1 -1
  245. package/dist/esm/salla-login-modal.entry.js +1 -1
  246. package/dist/esm/salla-loyalty-banner.entry.js +2 -4
  247. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -15
  248. package/dist/esm/salla-loyalty-panel.entry.js +3 -5
  249. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -3
  250. package/dist/esm/salla-loyalty-points-history.entry.js +94 -0
  251. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  252. package/dist/esm/salla-loyalty-program.entry.js +4 -7
  253. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  254. package/dist/esm/salla-loyalty.entry.js +1 -1
  255. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  256. package/dist/esm/salla-map.entry.js +4 -4
  257. package/dist/esm/salla-menu.entry.js +1 -1
  258. package/dist/esm/salla-metadata.entry.js +1 -1
  259. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  260. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  261. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  262. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  263. package/dist/esm/salla-notification-item.entry.js +2 -2
  264. package/dist/esm/salla-notifications.entry.js +1 -1
  265. package/dist/esm/salla-offer-modal.entry.js +2 -2
  266. package/dist/esm/salla-offer.entry.js +1 -1
  267. package/dist/esm/salla-order-branch.entry.js +1 -1
  268. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  269. package/dist/esm/salla-order-details-options.entry.js +1 -1
  270. package/dist/esm/salla-order-details.entry.js +2 -2
  271. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  272. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  273. package/dist/esm/salla-order-edit.entry.js +1 -1
  274. package/dist/esm/salla-order-summary.entry.js +2 -2
  275. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  276. package/dist/esm/salla-orders.entry.js +1 -1
  277. package/dist/esm/salla-payments.entry.js +3 -3
  278. package/dist/esm/salla-placeholder.entry.js +2 -2
  279. package/dist/esm/salla-price-range.entry.js +3 -3
  280. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  281. package/dist/esm/salla-product-card_2.entry.js +6 -6
  282. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  283. package/dist/esm/salla-products-list.entry.js +1 -1
  284. package/dist/esm/salla-progress-bar.entry.js +1 -1
  285. package/dist/esm/salla-quick-order.entry.js +1 -1
  286. package/dist/esm/salla-rating-modal.entry.js +1 -1
  287. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  288. package/dist/esm/salla-scopes.entry.js +2 -2
  289. package/dist/esm/salla-search.entry.js +6 -6
  290. package/dist/esm/salla-skeleton.entry.js +2 -2
  291. package/dist/esm/salla-slider.entry.js +1 -1
  292. package/dist/esm/salla-social-share.entry.js +2 -2
  293. package/dist/esm/salla-social.entry.js +2 -2
  294. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  295. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  296. package/dist/esm/salla-tooltip.entry.js +2 -2
  297. package/dist/esm/salla-trust-badges.entry.js +1 -1
  298. package/dist/esm/salla-user-menu.entry.js +6 -7
  299. package/dist/esm/salla-user-profile.entry.js +1 -1
  300. package/dist/esm/salla-user-settings.entry.js +2 -2
  301. package/dist/esm/salla-verify.entry.js +1 -1
  302. package/dist/esm/salla-wallet.entry.js +1 -1
  303. package/dist/esm/{tracked-promise-DmXpObWP.js → tracked-promise-B-7sMH4T.js} +1 -1
  304. package/dist/esm/twilight.js +3 -3
  305. package/dist/esm/{vanilla-picker-pNOcxfir.js → vanilla-picker-BcjrIc-C.js} +1 -1
  306. package/dist/twilight/{p-a01e3db6.entry.js → p-02e79512.entry.js} +1 -1
  307. package/dist/twilight/{p-dbf9a7a6.entry.js → p-050d10dd.entry.js} +1 -1
  308. package/dist/twilight/{p-46d2e19e.entry.js → p-07e779b2.entry.js} +1 -1
  309. package/dist/twilight/{p-b5267377.entry.js → p-0bb1836f.entry.js} +1 -1
  310. package/dist/twilight/{p-51739559.entry.js → p-0bf29eb6.entry.js} +1 -1
  311. package/dist/twilight/{p-7fa53fa7.entry.js → p-0fbd5e22.entry.js} +1 -1
  312. package/dist/twilight/{p-eef72b52.entry.js → p-17ae88c3.entry.js} +1 -1
  313. package/dist/twilight/p-17bceaf3.entry.js +4 -0
  314. package/dist/twilight/p-18123ac7.entry.js +4 -0
  315. package/dist/twilight/p-1c078509.entry.js +4 -0
  316. package/dist/twilight/p-1f8d103f.entry.js +4 -0
  317. package/dist/twilight/{p-4368aeb5.entry.js → p-23d41e5a.entry.js} +1 -1
  318. package/dist/twilight/{p-00b82f9e.entry.js → p-2ef068f6.entry.js} +1 -1
  319. package/dist/twilight/p-30cdc70c.entry.js +4 -0
  320. package/dist/twilight/{p-976a7c3b.entry.js → p-3173408c.entry.js} +1 -1
  321. package/dist/twilight/{p-b492aa80.entry.js → p-31aa72b6.entry.js} +1 -1
  322. package/dist/twilight/{p-b8073d30.entry.js → p-323be2a0.entry.js} +1 -1
  323. package/dist/twilight/{p-74810e1d.entry.js → p-34881ede.entry.js} +1 -1
  324. package/dist/twilight/{p-cf68db97.entry.js → p-37e5e4ba.entry.js} +1 -1
  325. package/dist/twilight/{p-07b5f1f0.entry.js → p-39a27ca2.entry.js} +1 -1
  326. package/dist/twilight/{p-baf272cf.entry.js → p-3d5d09e5.entry.js} +1 -1
  327. package/dist/twilight/{p-8f27d1fc.entry.js → p-43f6d3aa.entry.js} +1 -1
  328. package/dist/twilight/{p-0d8fac88.entry.js → p-46a9e49d.entry.js} +1 -1
  329. package/dist/twilight/p-49953509.entry.js +4 -0
  330. package/dist/twilight/{p-6ac73121.entry.js → p-49fef2a0.entry.js} +1 -1
  331. package/dist/twilight/{p-5b416a7d.entry.js → p-4bd6f468.entry.js} +1 -1
  332. package/dist/twilight/{p-f02cb299.entry.js → p-4e8fb0e3.entry.js} +1 -1
  333. package/dist/twilight/{p-68a4b292.entry.js → p-520b00c7.entry.js} +1 -1
  334. package/dist/twilight/p-53b100a6.entry.js +4 -0
  335. package/dist/twilight/{p-a8b5376b.entry.js → p-55178df6.entry.js} +1 -1
  336. package/dist/twilight/p-5642a30a.entry.js +4 -0
  337. package/dist/twilight/{p-aa97bce4.entry.js → p-5fe17bc8.entry.js} +1 -1
  338. package/dist/twilight/{p-7469ba2c.entry.js → p-6419fdff.entry.js} +1 -1
  339. package/dist/twilight/{p-efc3eb85.entry.js → p-65e1db2e.entry.js} +1 -1
  340. package/dist/twilight/p-67a831d2.entry.js +4 -0
  341. package/dist/twilight/{p-fd4588cc.entry.js → p-684678f7.entry.js} +1 -1
  342. package/dist/twilight/{p-744b3fae.entry.js → p-6868565b.entry.js} +1 -1
  343. package/dist/twilight/{p-6e77cef2.entry.js → p-68e221fb.entry.js} +1 -1
  344. package/dist/twilight/{p-99edcd51.entry.js → p-6b25dc69.entry.js} +1 -1
  345. package/dist/twilight/{p-6ad7e526.entry.js → p-6fa42874.entry.js} +1 -1
  346. package/dist/twilight/p-70eced14.entry.js +4 -0
  347. package/dist/twilight/{p-c7caa2cc.entry.js → p-71f024e8.entry.js} +1 -1
  348. package/dist/twilight/{p-a6a6f6af.entry.js → p-77a23292.entry.js} +1 -1
  349. package/dist/twilight/{p-dff9a1ec.entry.js → p-7b35061c.entry.js} +1 -1
  350. package/dist/twilight/{p-ddf5c15d.entry.js → p-7c4ee058.entry.js} +1 -1
  351. package/dist/twilight/{p-38dcee02.entry.js → p-7f27897e.entry.js} +1 -1
  352. package/dist/twilight/{p-08080728.entry.js → p-7f5f48f6.entry.js} +1 -1
  353. package/dist/twilight/{p-12a64c34.entry.js → p-84e636d1.entry.js} +1 -1
  354. package/dist/twilight/{p-e4c61d13.entry.js → p-8517f731.entry.js} +1 -1
  355. package/dist/twilight/{p-7562b6fe.entry.js → p-86aa1fbf.entry.js} +1 -1
  356. package/dist/twilight/{p-2f8a2a75.entry.js → p-8c72f4cc.entry.js} +1 -1
  357. package/dist/twilight/{p-22eeb058.entry.js → p-8dabf108.entry.js} +1 -1
  358. package/dist/twilight/{p-31399c5a.entry.js → p-8fc7f3d6.entry.js} +1 -1
  359. package/dist/twilight/{p-66189b02.entry.js → p-904617da.entry.js} +1 -1
  360. package/dist/twilight/{p-6e74026e.entry.js → p-9176d7ce.entry.js} +1 -1
  361. package/dist/twilight/{p-ed92c8ab.entry.js → p-9387dd90.entry.js} +1 -1
  362. package/dist/twilight/{p-b77e74a4.entry.js → p-99106873.entry.js} +1 -1
  363. package/dist/twilight/p-9b4fc23f.entry.js +4 -0
  364. package/dist/twilight/{p-c66e2e76.entry.js → p-9c28210e.entry.js} +1 -1
  365. package/dist/twilight/{p-BJ8oGcQD.js → p-Bo2jQzcR.js} +1 -1
  366. package/dist/twilight/{p-CShDziwT.js → p-BzGCvVEm.js} +1 -1
  367. package/dist/twilight/{p-B0byHRZ3.js → p-CC2-QEDL.js} +1 -1
  368. package/dist/twilight/{p-BCTJfSEq.js → p-CH7wsBUY.js} +1 -1
  369. package/dist/twilight/{p-CeYNqrm6.js → p-CgKcWLpf.js} +1 -1
  370. package/dist/twilight/{p-Dwy4A66P.js → p-CwWt5HLh.js} +1 -1
  371. package/dist/twilight/{p-BRPK56r-.js → p-DBqJzNYt.js} +1 -1
  372. package/dist/twilight/{p-BKLK9Y6r.js → p-DPoo7VAM.js} +1 -1
  373. package/dist/twilight/{p-BbnE5BSS.js → p-HVfj7cvk.js} +1 -1
  374. package/dist/twilight/{p-Cc7oEzty.js → p-KXvNwMUI.js} +1 -1
  375. package/dist/twilight/{p-70bccb5a.entry.js → p-a34163a9.entry.js} +1 -1
  376. package/dist/twilight/{p-fbcb84a4.entry.js → p-a7055743.entry.js} +1 -1
  377. package/dist/twilight/{p-DM7C3SNh.js → p-aZStLvlC.js} +1 -1
  378. package/dist/twilight/{p-395408d0.entry.js → p-ab581ba2.entry.js} +1 -1
  379. package/dist/twilight/{p-BW7tTJ4q.js → p-alpadDPN.js} +1 -1
  380. package/dist/twilight/{p-ec46c858.entry.js → p-b0219eab.entry.js} +1 -1
  381. package/dist/twilight/p-b111e9fa.entry.js +4 -0
  382. package/dist/twilight/{p-66e6f1b7.entry.js → p-b60cbdfb.entry.js} +1 -1
  383. package/dist/twilight/p-b6cefa97.entry.js +4 -0
  384. package/dist/twilight/{p-39350b98.entry.js → p-b987e3af.entry.js} +1 -1
  385. package/dist/twilight/{p-d78c5c6e.entry.js → p-baeac8aa.entry.js} +1 -1
  386. package/dist/twilight/{p-97d9e879.entry.js → p-bba4aa09.entry.js} +1 -1
  387. package/dist/twilight/p-c246a042.entry.js +4 -0
  388. package/dist/twilight/{p-75c3f81d.entry.js → p-c522db75.entry.js} +1 -1
  389. package/dist/twilight/{p-e545619d.entry.js → p-c92bc81e.entry.js} +1 -1
  390. package/dist/twilight/{p-06d466ca.entry.js → p-ca869069.entry.js} +12 -12
  391. package/dist/twilight/{p-77257ae8.entry.js → p-cd49d0b1.entry.js} +1 -1
  392. package/dist/twilight/{p-2ecf4e6a.entry.js → p-cd86a347.entry.js} +1 -1
  393. package/dist/twilight/{p-79143f69.entry.js → p-cdfbcd5c.entry.js} +1 -1
  394. package/dist/twilight/{p-873b5a0b.entry.js → p-d076e173.entry.js} +1 -1
  395. package/dist/twilight/{p-bb3fb45c.entry.js → p-d68546db.entry.js} +1 -1
  396. package/dist/twilight/{p-4155b911.entry.js → p-dd363a06.entry.js} +1 -1
  397. package/dist/twilight/{p-016d2b24.entry.js → p-de185a77.entry.js} +1 -1
  398. package/dist/twilight/p-e197f3d2.entry.js +4 -0
  399. package/dist/twilight/p-e6a66265.entry.js +4 -0
  400. package/dist/twilight/{p-316bd85f.entry.js → p-eaedd514.entry.js} +1 -1
  401. package/dist/twilight/{p-0777f1aa.entry.js → p-f0fc32fb.entry.js} +1 -1
  402. package/dist/twilight/{p-52f0f36b.entry.js → p-f66cc02e.entry.js} +1 -1
  403. package/dist/twilight/{p-629e05d2.entry.js → p-f6a7c273.entry.js} +1 -1
  404. package/dist/twilight/{p-2d83fd8d.entry.js → p-f770e708.entry.js} +1 -1
  405. package/dist/twilight/{p-d0e99086.entry.js → p-fade3b90.entry.js} +1 -1
  406. package/dist/twilight/twilight.esm.js +1 -1
  407. package/dist/types/components/salla-loyalty-points-history/salla-loyalty-points-history.d.ts +12 -0
  408. package/dist/types/components/salla-loyalty-program/interfaces.d.ts +3 -2
  409. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +0 -1
  410. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
  411. package/dist/types/components.d.ts +13 -0
  412. package/package.json +5 -5
  413. package/dist/cjs/translations-BHyDCj-Y.js +0 -306
  414. package/dist/collection/components/salla-loyalty-program/translations.js +0 -302
  415. package/dist/components/translations.js +0 -304
  416. package/dist/esm/translations-dn_hTofo.js +0 -304
  417. package/dist/twilight/p-07afae85.entry.js +0 -4
  418. package/dist/twilight/p-1043d027.entry.js +0 -4
  419. package/dist/twilight/p-19cef679.entry.js +0 -4
  420. package/dist/twilight/p-29dbcd53.entry.js +0 -4
  421. package/dist/twilight/p-4b0fe193.entry.js +0 -4
  422. package/dist/twilight/p-570d9be5.entry.js +0 -4
  423. package/dist/twilight/p-5afb837d.entry.js +0 -4
  424. package/dist/twilight/p-66341808.entry.js +0 -4
  425. package/dist/twilight/p-896c5d10.entry.js +0 -4
  426. package/dist/twilight/p-925afa3d.entry.js +0 -4
  427. package/dist/twilight/p-a52795df.entry.js +0 -4
  428. package/dist/twilight/p-c56ba8d5.entry.js +0 -4
  429. package/dist/twilight/p-d84d931d.entry.js +0 -4
  430. package/dist/twilight/p-dn_hTofo.js +0 -4
  431. package/dist/twilight/p-e60bd3a0.entry.js +0 -4
  432. package/dist/twilight/p-f3884673.entry.js +0 -4
  433. package/dist/types/components/salla-loyalty-program/translations.d.ts +0 -1
@@ -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: 'b3292086c1beb0d5df51712839daabb25dad2658' }, this.filterValues.map((filterValue, index) => {
162
+ return (h(Host, { key: 'ab96e0b292966af5dea7627ed2cfae7aa6cf42d2' }, 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: 'd987fea90281b884a1db631f0f3f90a53353ce65', class: "flex justify-center items-center" }, h("div", { key: '17aec2dff1433bae4f8d06679a86af7d41019a7d', class: "relative max-w-xl w-full" }, h("div", { key: 'fad234797e87821b0df33a5275a3c4bd3ea75fa9', class: "s-price-range-inputs" }, h("div", { key: '7099b01a40271f0757149260a560d038763b0322', class: "s-price-range-relative" }, h("div", { key: '44178266832f05eaf0ca33aa0a2f6436da846100', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '70cda3b471c177958870527a4f0008cf951a381a', 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: 'be3f732538589997f52d2340c72b16e419406666', class: "s-price-range-gray-text" }, " -"), h("div", { key: '5de9d9ba6e5925da36c3483b82167894e49b0088', class: "s-price-range-relative" }, h("div", { key: '903371ebc01237214fc143447789dd8011f86045', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '88dbf3b5930adb70fc16fc2a95d471185fcf760a', 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: '8b10d455ca665e4a0df80fa3a6c05b3501e769f4', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '8935d722de14843a1efaa4b784e5aa487e80be77', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
164
+ }), h("div", { key: '5d958a76e7878542fd8090229570ed9baf9ca2ea', class: "flex justify-center items-center" }, h("div", { key: '1c500632705c5006b901a809368ce85a16709afb', class: "relative max-w-xl w-full" }, h("div", { key: 'd29b5185bf50c5582920b54716005e8756de05bd', class: "s-price-range-inputs" }, h("div", { key: 'bd41a6602d5f3f434ba7d7ee4b8c92900d27c6b9', class: "s-price-range-relative" }, h("div", { key: 'd61027acbb26d6754d4406aa07c11101fd8c4005', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'b368eabded71a6631943b5cd12624418df07afe8', 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: '0b7b3750d740e929fe0c3f120185d153cb9f6a8e', class: "s-price-range-gray-text" }, " -"), h("div", { key: '148ebe3d2b5a52d013ab9ca6aef02342c5acb3fa', class: "s-price-range-relative" }, h("div", { key: '205c13dd92d5784fc2b1551b56a0ec5e329e0854', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'a4b8886ae87387e891f286931b58a3340920a0e0', 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: '221241ca34ed2e7aec47b57b609718e68ccd5060', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: 'b277d7c12f44eba76b967055e79a12ed7e492e4d', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
165
165
  }
166
166
  componentDidLoad() {
167
167
  this.isReady = true;
@@ -146,7 +146,7 @@ const SallaProductAvailability = /*@__PURE__*/ proxyCustomElement(class SallaPro
146
146
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
147
147
  }
148
148
  render() {
149
- return (h(Host, { key: '2da2f2466b07a0d0c1613bf331697cf4acc95004', class: "s-product-availability-wrap" }, this.isSubscribedToProduct
149
+ return (h(Host, { key: '6471f72c69d8293fa49ba9478e395274af57dc6f', class: "s-product-availability-wrap" }, this.isSubscribedToProduct
150
150
  ? 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'))
151
151
  :
152
152
  h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribedToProduct ? '' : this.renderModal()));
@@ -84,7 +84,7 @@ const SallaProductCardEmbed$1 = /*@__PURE__*/ proxyCustomElement(class SallaProd
84
84
  's-product-card-embed-card-align-right': this.align === 'right',
85
85
  's-product-card-embed-card-align-center': this.align === 'center',
86
86
  };
87
- return (h(Host, { key: '4fcd0b6e5da26ac976b0f3c5c031b614dc9d04b1' }, this.hasError && h("span", { key: '55b4a2649d4912b61f6b75e3c2437bfaee7863e0', class: "s-product-card-embed-fallback" }), h("div", { key: 'ac5882e5dd36ac28cc6e5a24186156c7cadda820', class: cardClasses, ref: (el) => {
87
+ return (h(Host, { key: 'a742a11dc2926fb941f44d1b3fd5cc3b4a207822' }, this.hasError && h("span", { key: 'c554a3b1971fa0b646611d24b7000bed921114d8', class: "s-product-card-embed-fallback" }), h("div", { key: 'cb0551a374e4ed68496bfa436adf6424febbd681', class: cardClasses, ref: (el) => {
88
88
  this.cardContainer = el;
89
89
  } })));
90
90
  }
@@ -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: '07e7e2bfac3f3e744e288088af63451aaaccb9dd', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '950d7c19363a90dfd44ba12469b7e59c7726f73a', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '5df4385b43eebb43b54561f3cdca3d21ad21e110', ...hrefProp }, h("img", { key: 'be40dfaabea59a468537fa13438d0df11d7d4d32', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
125
+ return (h(Host, { key: '789fbb35499a12f08dab69a6be3559eebea03381', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '9cb05484a39b108348e3b2070d63c503681ef417', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '1805be53cb3a3cf1068752121b846178d6b9340f', ...hrefProp }, h("img", { key: 'bf9183ed961e8fe5207548ce1e8146064b69675d', 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: '405858af6e56aa685fdb5d869bdf3ce521d4dd0e', ...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: '82198e012d297a558557780355ffd16ce7241fa4', 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: '567e6766ff7516ff409d9f86dc3cba7a51508d57', ...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: 'b36b0e6bdb8af5b1cf38d416b9f64038fa1f17ae', 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: 'cfc073356d10f50e94f8047241188625952e3157', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '8a49535a746e2608bb6d54224765ee876c9b43a6', class: "s-product-card-content-title" }, h("a", { key: '29567b47dccb5a41a916538a60d7caef1d60f59b', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
132
+ : '', h("div", { key: '93258adb3ca7ff5d3a89a118c7642b8b1264e045', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: 'fdf1c66e6533f3b092ad66e66875cbb2e213e6ad', class: "s-product-card-content-title" }, h("a", { key: 'cd3476f564e8ed4050b909c33926a5d44bf8fb5a', ...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: 'c530bac8ba02e48672deb29819e487c3eaf1c2b6', 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: 'b32c488819742ae8dd56147f4285424d381a3df4', 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: 'ad8cbc23e60bc0d463f5b94febeab699dd96e2b4', 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: 'b3dc61221d36a2680f74280e5fdb7601e5e70e62', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '9735c6681e3e7c15c5d346f6cfca4c7d34542061', slot: "loading" }, h("div", { key: '65224399d086d931c5c978dd00cf2d4d1ec3c082', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '05c0eda8bc21f5a2e2a89424bed145e61cd5a29e', height: '15px', width: '25%' }), h("div", { key: 'af0e4801d3e27f664b38577c61ae3fc15e4c5c95', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '614ad02c61d7c44ec768a060cf7a25f04b618056', height: '40px' }), h("salla-skeleton", { key: 'a4da4e2fa6ded411938fd90c4e11d368baadf03e', height: '40px' }), h("salla-skeleton", { key: 'fb2fc13e520d704ad02d9c90f3678d7ec18e89f9', height: '40px' }), h("salla-skeleton", { key: '8b4723988f62458876f4b915f11df73bbf7717a8', height: '40px' })), h("div", { key: '9ae65ff980ee9458d1c2996465dcd7815bae0c1f', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '9d970f8d2d116845a902f7bcab944b48c781024f', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'a8150338ad24a94552796f948b4dddfd280179aa', height: '10px', width: '75%' }), h("salla-skeleton", { key: '34446a9a1948c7c006f6e13b26cacd7e20d16238', height: '10px', width: '50%' }), h("salla-skeleton", { key: '8838c419ac7f384861188d7ab96e8f42473c04c0', height: '10px', width: '75%' }), h("salla-skeleton", { key: '21f8e182ba77e35b0f02f1cbcd21ee8effd94ac0', height: '10px', width: '100%' }), h("salla-skeleton", { key: '5391e8a3a133dd2ccf7087590113391da080ca8a', height: '10px', width: '25%' }), h("salla-skeleton", { key: '743ba490362dd541229cb5c60feb0b6dc5750714', height: '10px', width: '60%' }), h("salla-skeleton", { key: '58e6839c74e13e11f4ef84fa4ec85e1f2f9868f4', height: '10px', width: '45%' }), h("salla-skeleton", { key: 'a6f771e12046112b282dede2d759ed3d019bedcc', height: '10px', width: '30%' })))), h("slot", { key: '3ed1875a19be5a65afbf912fb0819dd92ded3062', name: "header" }), !this.hasError && !!this.guides ?
62
+ return (h("salla-modal", { key: 'de368aff05a19d87eb4e99f4e1d7eee36155f435', 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: 'c4ab31b3e6ef2751761ca2db27554f7f5bf057fc', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '17cfceb5ccb0546928f87f956267e9d0c11017ac', slot: "loading" }, h("div", { key: '4f4e20a62396d7825315203ffd22a72030e821b1', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: 'd9132b26634ae1997dad9f1229b248c2cd76fff0', height: '15px', width: '25%' }), h("div", { key: '1b6a236851eef6e7caf7b7a0e84e591824b4e4ef', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: 'bae06741881b57b4eb853f1256a22f9393d9cea4', height: '40px' }), h("salla-skeleton", { key: 'fdeb75a853f89df154b69dbd48fc8e233561af59', height: '40px' }), h("salla-skeleton", { key: 'd0be70bc141f04fd24adc86c56eec3a5e896f2d4', height: '40px' }), h("salla-skeleton", { key: 'c5146addbf2d5b9bda05170a9743cad0e08d8674', height: '40px' })), h("div", { key: '04dbbffe2de708c984c5d0966aa2b86c0051bd14', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '320fb33a2e5d9ee1f4b87c18b3f3dd13de180d4f', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'f06aeac8e2f8ea86ec9b1c5c6f2b31172f23209f', height: '10px', width: '75%' }), h("salla-skeleton", { key: '1accf852a34edcac77a77151ebf67ba8e05cc729', height: '10px', width: '50%' }), h("salla-skeleton", { key: '42d4c3364779a6ee130339e37affe2e0c590e6a7', height: '10px', width: '75%' }), h("salla-skeleton", { key: '13064a231460414b4a0abd19dda41b01ac1ee04f', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'd5a50f96ca3bab125503f836cd883cfb98ca135d', height: '10px', width: '25%' }), h("salla-skeleton", { key: '11cd2ed36d9754c32173f14cd7d5ea99fc2b5577', height: '10px', width: '60%' }), h("salla-skeleton", { key: 'a5b3a192d0e38dc13a025b8b8e0aba767f35611b', height: '10px', width: '45%' }), h("salla-skeleton", { key: 'dddcb26038e180fb5b686b29d286316d4314909f', height: '10px', width: '30%' })))), h("slot", { key: '43a08b9b6e64955b726b832f0849617ac31d4c25', 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: 'ca9526f3f95675dab2a38d2715ed3cf842d93174', name: "footer" })));
66
+ : this.showPlaceholder(), h("slot", { key: '5ae0956ca1f9313b5ef3d01dbdcab32f2e975e05', 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: '77565ee635cdda42e956be4fea503905fe4bf199', class: "s-quantity-input" }, h("div", { key: 'f8aa9fb2200032d503cdfc65a65bc2bf94e00eb8', class: "s-quantity-input-container" }, h("button", { key: '1711c74ee9b8f212c2651f9c3a2f3e6737fbe8f4', 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: '65803c2b491b5dbb1ae79787eec6151f742b517f', name: "increment-button" })), h("input", { key: '1b16e0e0603d91b3a12c968a98575f4146f2d7b6', 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: 'ad33507fa617ddb6ebeee842c5f1f0b3595a475b', 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: '341b8e5d941e63c13c78061d24ecd2ba64d9a7a1', name: "decrement-button" })))));
98
+ return (h(Host, { key: '4829904a6c2ed7710214caf1b2888e2a58b38eed', class: "s-quantity-input" }, h("div", { key: '8dd2592d3aed1dda990a9c818b78514540612a60', class: "s-quantity-input-container" }, h("button", { key: 'ea93501ee59066cbfb11ea8bf239073b33fa9eff', 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: '61c70812d9cdb7c8c66b70d5c3a1f0522fccb542', name: "increment-button" })), h("input", { key: '02793b5365470afd59481ff987fe8d3da658bd48', 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: '920f9020926a7d4cf77b2b971e35eb1586132c72', 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: '105487e60b1b5e7d0cf092f3b17fd085f61a8f1d', 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: '76958d08c18982d3f643c65ac1f6119830414d5d' }, this.quickBuyButton());
1144
+ return h(Host, { key: '078fa17510403612cf8204899fee395f057b88bd' }, 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: 'e5a7774e29dff0fd1ce5ce1e8ca01ee2367f5078', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '69c22179536a152eddb72a4790f8bd20c9b6b886', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '28e980d499e7078006486e94f5e87f5b71790400', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
175
+ return h("div", { key: '7e833e08405a9153759b958e9c6979fd83c5aec1', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '85e33a2160a62e2fb3e376f6e20d223d53ced8fe', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '8b21485de56e57dceb9facb044bd6bad1ad866f3', 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: '80224727f57c3075fab3814bc31ad69e13bebd5e' }, h("div", { key: 'b014fad2937c226921ffafd4504cfab975ea9a39', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'bf6ae4aa8c922fda85176708b5f4669c10bf6c08', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '63c6fde2d510cbc49a435ad8d91bc15c4323fa1d', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '3ecb8d184bb112b2961aedf7500f29d53c6bc516', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '6a0ff38fe00c276c4e90233dab20bf2c4d561e82', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'b0f3528c27cf620fbde83293f2c48dccb51590ea', 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: '1ca6e12aafb0b83953a887286003dce5f47c9374' }, h("div", { key: '9a353471f58a1fe67800f9d0ac38b3f94095b107', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '0fc9c963af765108e42f341ac7d70c8758e4677a', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '13f2b001680a39440d3e5557bcfee46a92592ea4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'fcb5e88a598d342d4cdeff4cfba0a85ea94b911e', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e2c23398b1024647c1cfdc283392b94e3ce0e44c', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '67f5f7748db13b7c6bdf3bbbb104d9f4b001df69', 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: 'd527bf318afcd25134abc80d1c402b19113040da', class: "s-reviews-container" }, h("div", { key: '89236aef8cbfcc26c7cb3df6f6b905c0b3047236', class: "s-reviews-header-wrapper" }, h("h1", { key: '3c9068fd0a7c91fb661fc08e50f552b1f6962f3f', 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: '298151de4f6ce169dd9f5d2092c1895dfa4dc264', 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: 'a8cf3322655adb74a6a7b30d2d7e2e80d6eb2b55', 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: 'ab076b54664048719052cff15877bc5325c36393', class: "s-reviews-container" }, h("div", { key: 'da56343050cd2e9fe7ac7cf08b348b1d6c6af5c2', class: "s-reviews-header-wrapper" }, h("h1", { key: '64e0fb721d9c6e4763de4e116d43f3d4206452dc', 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: 'c1ccfde9f4a4a617a0a6f12f841469f953114c4a', 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: 'c3c7ca7d611b20618d336e16e57b20e479bbbbee', 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", {
@@ -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: '8e688793dec09f19093df23deacfd7ecaac100b7', class: "s-loyalty-program-reward-host" }, h("div", { key: '12663908467c428e861f999fa6449810207b9399', class: "s-loyalty-program-reward-container" }, h("div", { key: '8b01e444f083bafcd1036962113921e876be942a', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: 'a90032821b870b9fe915a3bdceb5422bacc66c3c', class: "s-loyalty-program-reward-img" }, h("img", { key: '70f872cb5c17cb8c05df6cdcd767f5b0b018f182', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: 'af161adc0a211ddb2c3702ee81cc47bf275a8b3d', class: "s-loyalty-program-reward-content" }, h("div", { key: '5f420a70d14120075ac394ced39b7d37477b8042', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '58df0147fce4aa22479474ff4e3b327dca4165c0', size: "xs" }, h("span", { key: 'e59fc1b27e38e45560d4469d2e8fad0ef1c80915', innerHTML: loyaltyProgramIcon }), h("span", { key: '9272311f41a78628c2ff6b78acb25e0b04cc3a95', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '297b130a68d6b64659a6eb832baccf8a5884db78', class: "s-loyalty-program-reward-title" }, h("span", { key: '7e9d42268e77dffb2dda963cc046fb09015c4ee7' }, this.prize.group_title)), h("div", { key: 'f70b7369222792657b02909aed7bacf2a61f24f6', class: "s-loyalty-program-reward-name" }, h("div", { key: '8f1bd6ffb8190d455006e111a013946b3569c24e', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: 'a5a7d0acba4a00be16db6b277a0a5eb39b88153b', class: "p-4" }, h("slot", { key: 'e2fcb1189b103f419884b05518af74cfd1c5eeb7', name: "action" }, h("button", { key: 'e0522ba4b684bcabae4483dfd36d00cafb86d511', 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: 'ff2c85a1de1ce4275f2552cecdf822001e3ad337', class: "s-loyalty-program-reward-host" }, h("div", { key: 'd9a5d86af489008dd0d6025bde5dcb1e9dd29bda', class: "s-loyalty-program-reward-container" }, h("div", { key: 'aba7aa8ee4b3c0200a122fcdb38b4ea39c7f10ec', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '71234c7e6176f7c557892ef6ffa039b0f33da1ad', class: "s-loyalty-program-reward-img" }, h("img", { key: 'c74287127a9784d6a5500f4cf106089ef610c140', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: 'ee30491d21384a2a2fc60efbe4b0012b72509d4b', class: "s-loyalty-program-reward-content" }, h("div", { key: '94b465db9a56ca3afdfabf63cd155a4ef124dcce', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '7e92d9c135ff7acd7acce77c0abd4ef0b81f9c5f', size: "xs" }, h("span", { key: '83ed6d98e353843837fcf3944f424ca722583c41', innerHTML: loyaltyProgramIcon }), h("span", { key: '1fbf2826e7f24b5164cedb22d5875fb6956bbcdc', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '70ecd2efe641e411127c205c689f07bc5f10a782', class: "s-loyalty-program-reward-title" }, h("span", { key: '274b619ba28faf0088abf3fd4053085dad570ab7' }, this.prize.group_title)), h("div", { key: 'e96b5ae844b6bd8ba1058361f04d63e294c873a3', class: "s-loyalty-program-reward-name" }, h("div", { key: 'ef4b44f80213e85882d8a5be1bbd093564d19f3c', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: 'bf3d981f842da109f8371fe7d2346cb837974454', class: "p-4" }, h("slot", { key: 'e953a9eecffad0d309953805910c6bb9a66fefcf', name: "action" }, h("button", { key: '828ba0093dc42732c47ea635c7ea1c2ff76b0dfe', 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: '2b8f4348fb0e728665b53db47719686629c1836d', class: "s-loyalty-program-reward-modal" }, h("div", { key: '1c838eaa84818ee590a36062b68a505bca8e7c68', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '2912070e266711897fec27c3a3e663677fd605df', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
139
+ return (h("div", { key: 'fb021811cdf5d33ea93109e0c096114cf10f503c', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'c73a68336a00d019363938f8c4a5e1fa42d13b41', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '1fdb75d9e316d30af3ff5c6d464f78e99696ab00', 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: '0d7f102d7031fcae33670435d9fa3a7d40a0fbc4', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '0aa1b6206852391cae2bdd83452b3ed1dca4ef52', class: "s-loyalty-program-reward-details-header" }, h("div", { key: 'b8de08abbd4ed24367312ecd8e36b9b203dc24cb', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'd327bd9cc47042cc694fda8f38a130686caeaeb6', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'dbb6d24e2f647bd93bc2cb2d174c747e8117b1cb', size: "sm", bg: "light" }, h("span", { key: '8e78d674f565f2274796a57b218a14f683e29149', innerHTML: loyaltyProgramIcon }), h("span", { key: '3e959d7d67a899a429c2c2100236527268c98905', 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: 'b09d181ad0587d4d6f99020adc2b944778e3d491', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '7538f340d33fd34fd55728c3df1d43ff676ffa57', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '927078b3615900c8377c1563f7bfe3b6a4cd28d3', 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: '564fab411c2e3961865adcaa8e6824eeb0def4e0', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'f5ce7fe8918888301757dcd0bac81dc189c39497', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '2bfc154cb53dc280e26e780ab9227c03901514ed', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'a4a5112886d3adc30b26bbcd91824fc170fa8e18', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '5612a7eeaba1e853818e04b08a6facd7d8af2925', size: "sm", bg: "light" }, h("span", { key: 'bffedd7d2200eaa8f56b8032579ca348dec1316b', innerHTML: loyaltyProgramIcon }), h("span", { key: '1dedc19cf806ff84e151ff06803bbc49cfd1b060', 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: '7875f48e05bc4dd2742886b0ba2a29fbab5fbaad', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '9ad44e6b950c95f11e22c945777741da0a1c1f1f', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'f307a5600ee1ae6afa0c3dd9a0175cf51bff2645', 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: '0d03ebd0fcf1f7469b75b04d9ad82b71a284d0d1', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
153
+ ]))), h("salla-reward-action", { key: '3d608fc6122d6335eb5e6cff9fcf9602d0217e87', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
154
154
  }
155
155
  static get watchers() { return {
156
156
  "prize": ["handlePrizeChange"]
@@ -49,11 +49,11 @@ const SallaRewardExchange = /*@__PURE__*/ proxyCustomElement(class SallaRewardEx
49
49
  this.reset(0);
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '44934c0c0574ea61c4ef293a9deb796a2d42c02b' }, h("div", { key: 'eca62e786a5d13d4578cc5badcd464ee1570541b', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '14b346e172b9859449b780ec7c22e81ec2e97a8c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '472753cc4742c2b010729ed98cdbf58192b548fa', innerHTML: loyaltyProgramIcon })), h("h2", { key: 'e77eeb994a91e36a8b04c213484221a6db2f99fd' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '7c9b9d6400ddeeb7a6ad8bdc1a2f364e9d67187b' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '07eea7e08a596dd284ceb2d60d2489012457585e' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '70d6c67bd78400626c1e2d91753a494df5e6d94d' }, "(", this.prize.name, ")"))), h("div", { key: '49d98bbcbb017bf3f9195734fbb80f1da8559746', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'a1775e84ef7c17effb54b6fdff83bad9ac8cf8ec', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: '28977f2f6990322cb194c19b01feeffd8117d1b8', style: {
52
+ return (h(Host, { key: 'c439b30ee85140f6af8e133907d44a69ad1cbb69' }, h("div", { key: '335d9e5329ec4ade97913a6bd7af00758f0f2a47', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '6d2153a978d5d0f3c3fc6b8feaed5ac96ebab0ee', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'fdc6e54b514e3102b396647325c666178587a198', innerHTML: loyaltyProgramIcon })), h("h2", { key: '5ac423eaaf013b3c46d86e9a680707456f5478c0' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '7ab7798976d75aa3e754140a4a0939c7c49da23b' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '4ea9b84fe5e16de4eef4e39b9c8db8a64aee6027' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '167875c77af0c3a2ea16366de8f0a38a9006d793' }, "(", this.prize.name, ")"))), h("div", { key: 'c28a83451b8643cb8e0814c80ef5e8ebd96b78fa', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'e641d0cc51d38cf78ff90111d075b1fa47a27c0a', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: '770e74035f82dadb891764191ae636f9d08b7fa4', style: {
53
53
  opacity: this.exchange.status !== 'pending' ? '1' : '0',
54
- } }, salla.lang.get('common.elements.confirm')), h("span", { key: '2ff77b13d468e5096d777e0179db9e257468ca53', class: "s-loyalty-program-exchange-loading", style: {
54
+ } }, salla.lang.get('common.elements.confirm')), h("span", { key: 'dd2a8642d52b7ea26778e2b5050ad38f3933cb11', class: "s-loyalty-program-exchange-loading", style: {
55
55
  opacity: this.exchange.status === 'pending' ? '1' : '0',
56
- } }, h("salla-loading", { key: '415c1d497b93718ac0bc67e18442c28246e589e7', color: "primary", size: 24 }))), h("button", { key: '32d1a3f2e221261bd4ff459cc85dec5c780dd5e8', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
56
+ } }, h("salla-loading", { key: '384a7fc33d99393439939a9341b858a364ae19fa', color: "primary", size: 24 }))), h("button", { key: 'd264d1d5dcc6fe673c9f3ba7604c6b267ea7215b', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
57
57
  }
58
58
  static get style() { return sallaLoyaltyProgramCss; }
59
59
  }, [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: '18d5a944f5034e2079c30b6595b3c7969b92f939' }, h("salla-modal", { key: 'a254d29b1a9cb363ba72417e234af5d81e9f2b8c', 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: 'bbf0b48e47cf334cc844cedc59ef5d430ce9cebe' }, h("salla-modal", { key: '20f8f0edb267c2a1e7cc23e930d06060916d5c64', 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: 'd152ce7b41f44975724214a4957b366a3d372efe', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '19c13742ed6b78300da453503c01052cc56e6224', class: "s-search-input-wrapper" }, h("span", { key: '65b092ca1797d23fca0370578c3780bb553bbc2e', class: "s-search-icon-wrap" }, h("span", { key: '14caaa450614f8dd99b05edd447184ab79cd94f2', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '4656f0002ff24e9948c5799d5bbed20e59eee2e9', 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: '25c930505262a83f8a8385aa0ca665ecad2cacd1', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '09d705b9da70c128584891672ba84d660f3c6d6a', class: "s-search-input-wrapper" }, h("span", { key: '5749d0cf3ad58bf845ef116e4ee377c577a770e8', class: "s-search-icon-wrap" }, h("span", { key: 'b1acaab31a15f447fb3de27e34a0a0833620456e', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '14bbab4ab1e8be11f25e229fb8ea0e9c982f2df7', 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: 'ca998ee139b31b0284ae72ccd1f9466f697feb6a', 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: '9f3fe2a8b952ad3db8775eb3645cf837ad50acb2', 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: 'c8f2750a602097c96b1424acc35d2a190f86bf5d', 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: '2656ec22b40c5d69c9ce9887ff683d119ef826e2', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
- const placeholderContent = (h("div", { key: '8f771fddec5620cbfc8259a6d94e955db0f5e787', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: 'a6ac18f63248ae303d05f8ed62f0dadfded33fad', class: "s-search-input-wrapper" }, h("span", { key: '5996163e3314b9c9240018e438f121d553e58e0f', class: "s-search-icon-wrap" }, h("span", { key: '581c625690b9fc000108bc5ba642f3a3452f67c8', class: "s-search-icon", innerHTML: Search })), h("button", { key: '8f7edf24f999f3c5a37cca2c82c664822e729088', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
147
+ .replace(/\{image\}/g, product.image.url) }))), h("p", { key: '641e4165e6538523792f33694118c618818b91c9', 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: '043edf7878b91643b3590bb9789a44df0a558af9', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
+ const placeholderContent = (h("div", { key: 'f5a08dc2ced47954b5a3bb87d4bc66a59e5f2660', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '94c66a1a7016718348a50e8b5bf07659f4dd97c7', class: "s-search-input-wrapper" }, h("span", { key: '9f7bd3e92af9abaf6a852437883d6485885273e8', class: "s-search-icon-wrap" }, h("span", { key: 'd907342a757eb19ef404c4dfccc273bc1341bac8', class: "s-search-icon", innerHTML: Search })), h("button", { key: 'dcc3fb071542009d706de08a23138ab46683aa6a', 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));
@@ -195,18 +195,18 @@ const SallaSearchableDropdown = /*@__PURE__*/ proxyCustomElement(class SallaSear
195
195
  render() {
196
196
  const hasSelection = this.selectedItem != null;
197
197
  const listboxId = `${this.inputId}-listbox`;
198
- return (h(Host, { key: 'c529f2b61adbc38aa1e5403da6fdb985fe256baa', class: "s-searchable-dropdown" }, h("div", { key: '88ab96afd36421fdf965b79298fa14f435adbcef', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '6ee8a2d0428e1347e36eabec32a3129897481abc', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '8473884ec18e73c72c79e7749264bd9c24c56ae9', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'bffbea7ff0cb9466c8a852a841a21ed8351ef92d', class: {
198
+ return (h(Host, { key: '59eb3c601584887ecf2ff866ed861d8d5dfb7759', class: "s-searchable-dropdown" }, h("div", { key: '687e37ddded75ed6e212cd6f4ad1ef9ff28494f3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: 'f71e75c71f035d23ae97607060b9ff0f0a6996de', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '732c16038a1530eca7776434b600bb804a479ed0', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '7d6eabf2cbf50001c454805e3c9dc7d757178e6e', class: {
199
199
  's-searchable-dropdown-trigger': true,
200
200
  's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
201
201
  's-searchable-dropdown-trigger--open': this.isOpen,
202
- }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'e3aee1ffe1b80a9ef21f4c9cca02de0a590b0825', class: {
202
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'd6ddb602b2ce32102fa3301a7e76c74316ac5167', class: {
203
203
  'sicon-keyboard_arrow_down': true,
204
204
  's-searchable-dropdown-trigger-icon': true,
205
205
  's-searchable-dropdown-trigger-icon--open': this.isOpen,
206
- }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '7a19f2d6847b3e0dda5e0ea509df91a2f48fa098', class: {
206
+ }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '329bb23e73f73957c02a6970796e210533ac74b0', class: {
207
207
  's-searchable-dropdown-panel': true,
208
208
  's-searchable-dropdown-panel--up': this.dropUp,
209
- }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '601529f76a09762a57fe7b7663ecfa1505462367', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: 'f91e464e7efed3759837880b5a7593daa4f84ecb', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: 'f72a7e12d0a6e90bab3983258c9b08aa286bc897', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '495aa88fc76d3d17956db7277cc98aff08b4c1af', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
209
+ }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '7f143cb798a0d75bcae0f5f4bc1d634b59fad401', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: 'da0a9ab12d17cd0c82af1864ee9e1ef440295c6f', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '6d222423a8b60fa947cc3251bdb94db770aac134', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '63d8344ca677c266617dae393a3866a13d6d5613', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
210
210
  }
211
211
  renderListContent() {
212
212
  if (this.searching || this.loading) {
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: 'bbd3b59181da4c7c97a2fbf862eedebbedbe0634', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '137814e704aabda9931441f744bac595dd506d0e', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: '5568fdecb56f5513ffbe8f9b82da106a525af6a8', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '0a69bf54dff8093adea503ec6dbcb3f07aba9e13', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -150,7 +150,7 @@ const SallaSocialShare$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocialSha
150
150
  window.a2a?.init('page');
151
151
  }
152
152
  render() {
153
- return (h("div", { key: '006a40f33ae7513a265f6f3f04425e68a1193cdb', class: "s-social-share-wrapper" }, h("slot", { key: 'e089609f48cd6c231e17488bdd89e78f76b0df78', name: 'widget' }, h("salla-button", { key: '788679ca99d366efbc37faac11332e554a2a7bde', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '97f86e7e8d22f05c13db6cb0dfdf51e18bc3c814', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: '8b13d93d51ba38ff1a3794646d9f68b10c6500ff', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
153
+ return (h("div", { key: 'e45420682a1b9bf686cbb9d3beff5a208505e1c7', class: "s-social-share-wrapper" }, h("slot", { key: '265102d26da7ce2d297969e1941b9a5785da3971', name: 'widget' }, h("salla-button", { key: '9f36a44dc9487f4956c1d8b73f0fcc41cf8a01b8', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'b34ed78cd6549bff733de5c542a42ca9aaf805d0', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'f8eb408030d409880391b7d13b5a701226b0d42a', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
154
154
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
155
155
  if (icon.name === platform) {
156
156
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -56,7 +56,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
56
56
  }
57
57
  render() {
58
58
  const linksArray = this.getLinksArray();
59
- return (h(Host, { key: 'a4c05f6fcf54b6d34c547d7b27a61d4afbd91f10' }, h("ul", { key: 'ab690b3eba0190d6830a5988510c404dafa4e450', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
+ return (h(Host, { key: 'dfd63f034c588f6f6f08200d531187bd51e0b3b4' }, h("ul", { key: 'e4ec12ccb3c63a1dfdd64c5d3186734bed37db77', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
60
  .replace(/\{icon\}/g, this.iconsList[link.type])
61
61
  .replace(/\{type\}/g, link.type)
62
62
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: '59729323fd707b74b2b1fd8707fcb122ee21ed9f', class: classes }, h("slot", { key: 'a273156c8bbb3dbf25dc2e556d060c4402a8a394' })));
35
+ return (h("div", { key: '8017c442a775f17fe6f5bf3c92dd083c9daa164e', class: classes }, h("slot", { key: '3be5606bf4ff8f3d3332f154333d4101d9dafdb5' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: 'cdeff834ff1a1e4a5cd19c52e5c36bcc51491064', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '5aeedafb3c074f588cd2a343fe48fc5b8807821d' })),
61
+ h("div", { key: '17847f97d80e9f52f460b7ebcc918736cafd757d', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'e936ad59f8255ec9ad713ecb69735404e741d294' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: '1d2c28a8025c9c9c1d988dbded489263794cb92e', class: "s-tabs" }, h("div", { key: '54f011017f5378e7053b4f3a135d6a050e08479c', class: "s-tabs-header" }, h("slot", { key: 'efd25fb8dd73b9296015be1e224b84fc53ab9082', name: "header" })), h("div", { key: 'f80582281746ae231092360e26d65331cc98f480', class: "s-tabs-content-wrapper" }, h("slot", { key: 'c97cde11dcbd37124dc1c24559c918111c57e6fe', name: "content" })))
54
+ h("div", { key: '2a76978734a3d8deeabbcfa7517b15a283d3071f', class: "s-tabs" }, h("div", { key: '0c565b46e62ed8fbcae0d9131619dbe83be61546', class: "s-tabs-header" }, h("slot", { key: '27ea98ff742bc51b75b35e0346733fb1c5b9526c', name: "header" })), h("div", { key: '9a76cba0e3c1f7ffb4c9d77d800ebc4d827e877c', class: "s-tabs-content-wrapper" }, h("slot", { key: '49ffe5586016252e8e3439a851c9aab0bf4e4079', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -129,7 +129,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
129
129
  }
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: '3d6d30dec797f67178adf57497e9b1a0dc92c195', class: "s-tel-input" }, h("input", { key: 'e6f1bb82efa3d08d791cb39d82c1c0c6acb3e253', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'ddbb70dd419742bac9a2a34480f4195f282a2c7c', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'b168210708af8d78628ae6b104b268890e60fb8f', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
132
+ return (h(Host, { key: '849ab0e6c311e71a21154bec43421a06ef795b5e', class: "s-tel-input" }, h("input", { key: '3b7a3d8c974b9ad4562fbfbe08bcfb3eb45d809a', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'a9fbe57c48e0f9f9bf9233736206bff717c3ab21', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '930fc644b324360483ccf7e06b9bcb169a242326', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
133
133
  }
134
134
  componentDidLoad() {
135
135
  this.initTelInput();
@@ -32,7 +32,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
32
32
  }
33
33
  render() {
34
34
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
35
- return (h("div", { key: '4d433085f726528933c9ca19a86b0be84fc35a43', class: "s-tooltip-container" }, h("div", { key: 'a458c284385d21f3b4e89f18dd46ff25760a0b10', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
35
+ return (h("div", { key: 'fa37135d001ae2cbc2ddc193aa5ddd30b062ef6c', class: "s-tooltip-container" }, h("div", { key: 'e2d803bfaf839308157f14e3af4599268c5123b0', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
36
36
  }
37
37
  get el() { return this; }
38
38
  static get style() { return sallaTooltipCss; }
@@ -64,7 +64,7 @@ const SallaUserMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserMenu ext
64
64
  this.rating = salla.lang.get('common.titles.rating');
65
65
  this.wallet = salla.lang.get('common.titles.wallet');
66
66
  this.settings = salla.lang.get('common.titles.settings');
67
- this.loyalty_program = salla.lang.get('pages.loyalty_program.loyalty_points');
67
+ this.loyalty_points = salla.lang.get('pages.loyalty_program.loyalty_points');
68
68
  this.logout = salla.lang.get('blocks.header.logout');
69
69
  this.hello = salla.lang.get('pages.checkout.hello');
70
70
  this.first_name = salla.storage.get('user.first_name') || '';
@@ -107,7 +107,7 @@ const SallaUserMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserMenu ext
107
107
  pending_orders: PendingOrdersIcon,
108
108
  wishlist: WishListIcon,
109
109
  wallet: WalletIcon,
110
- loyalty_program: loyaltyProgramIcon,
110
+ loyalty_points: loyaltyProgramIcon,
111
111
  profile: UserCircle
112
112
  };
113
113
  }
@@ -149,7 +149,7 @@ const SallaUserMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserMenu ext
149
149
  this.rating = Salla.lang.get('common.titles.rating');
150
150
  this.wallet = Salla.lang.get('common.titles.wallet');
151
151
  this.settings = Salla.lang.get('common.titles.settings');
152
- this.loyalty_program = Salla.lang.get('pages.loyalty_program.loyalty_points');
152
+ this.loyalty_points = Salla.lang.get('pages.loyalty_program.loyalty_points');
153
153
  this.logout = Salla.lang.get('blocks.header.logout');
154
154
  }
155
155
  initiate() {
@@ -242,15 +242,14 @@ const SallaUserMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserMenu ext
242
242
  if (itemKey === 'profile' && this.profileUrl && this.sallaAccountEnabled) {
243
243
  return { href: this.profileUrl, target: '_blank', rel: 'noopener noreferrer' };
244
244
  }
245
- // Fix loyalty program URL mapping from master
246
- const urlKey = itemKey === 'loyalty_program' ? 'loyalty' : itemKey;
245
+ const urlKey = itemKey === 'loyalty_points' ? 'loyalty' : itemKey;
247
246
  return { href: Salla.url.get(urlKey) };
248
247
  }
249
248
  getMenuItem([itemKey, itemValue], i) {
250
249
  //todo:: enhancement support slot here
251
250
  if (itemKey === 'wallet' && !window.can_access_wallet)
252
251
  return;
253
- if (itemKey === 'loyalty_program' && !Salla.config.get('store.features').includes('loyalty-system'))
252
+ if (itemKey === 'loyalty_points' && !Salla.config.get('store.features').includes('loyalty-system'))
254
253
  return;
255
254
  return (h("li", { class: {
256
255
  's-user-menu-dropdown-item': true,
@@ -299,7 +298,7 @@ const SallaUserMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserMenu ext
299
298
  "rating": [32],
300
299
  "wallet": [32],
301
300
  "settings": [32],
302
- "loyalty_program": [32],
301
+ "loyalty_points": [32],
303
302
  "logout": [32],
304
303
  "hello": [32],
305
304
  "first_name": [32],
@@ -83,7 +83,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
83
83
  await salla.profile.delete().finally(() => this.confirmationModal.close());
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: 'd49fe1cc125040388326a346cf6349cdff3e8827', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '4f6227afbf0f1a9ac4ae6c0404c04de65ef2c22d', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'd084e7c978e0f41b8997299690e1b419f1dcecea' }, h("div", { key: '732f09a315529dd23a690ec2e2db2ca157f30b3f', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '57854cdcd75e9bdf261cc10108b9dd03ba886c9a', innerHTML: UserCancel })), h("div", { key: '4d42778a9a52a6a539f9c84103a4e35ab10eadce', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '45ea0bf9bbc5d055e50de279ed21c77f69194a83', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'addf60ce92d9bd5d7307af22f8e08ca627f52692', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'db9bfdd607f9578349051126893fcd77eccc8aea', class: "s-toggle" }, h("input", { key: '5c56ac1adffc24c7d1190251713d99214ef242e3', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '5f275e5c3517a6df99e781537ac17135d54b5d9a', class: "s-toggle-switcher" }))))), h("div", { key: '0cb50e709e0dbc49f769b4f107002eadadb41c32', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'f710c59a481aedca13fb36d003ddb5b71905771f' }, h("div", { key: 'b8e81786c8cea4cc36d81ad4e5a53381fea20ed4', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'b4b3b36769c216f4981fcebec511e33461e703d5', innerHTML: Bullhorn })), h("div", { key: 'a5a9271e04367bbc512656176bf7b9c59855c497', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: 'f7191566d7fea659a0d080f7680ace28f74fc5e1', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'edaed3be64edc7e98640d33ae57112e8586e3354', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '9a444d833c61719f65200b6a16ce8bf47406b84f', class: "s-toggle" }, h("input", { key: 'bd18d96449c3eb4d6b263bc5cbf7a9b8d639bd6d', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '5742974d46ab2e1084f85d3902ead64a4d2340e3', class: "s-toggle-switcher" }))))), h("div", { key: 'cd920209f8188531735c0a12b40f290ffafd31ab', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '49ea382b58e36475794f8e80e41caf7db938ddc4' }, h("div", { key: '7cb1d0abc1c178862111e49804cb750ddd01aea3', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'de51a80143d6b44ec3ad1f6422e769e57432dd9e', innerHTML: UserOff })), h("div", { key: '1a00838952cac6c3fafe29b9e7e32f5ed3126f30', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'f4b2794e0dd8a036ce404b7243986b7ba5a63340', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '72cb29457621699ed1449cdd52eb5151023637ab', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'aba35845332da5f0da393078e06a0e0498bf2d28', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '4fd811fbbc6e7fcc1a6a8d23e8bfa05b7499dcbc', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '712fe566292404c42aa79970978f03fb23b4d2ab', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '69ce40edbcaf775e33d62a3e242e5fcc9cce3cef', class: "s-user-settings-confirmation" }, h("div", { key: 'f71c23f124449b12ad7db1f523ca3b80b5c50a2b', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '6995699f126fb98cc6271a0f476dd6b4f53cfd3c', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: 'f45563215e757ee3b172622c346cd40fca1a79a6', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '1ba83fc0690f0a10176008bb2470759878471cee', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: 'b41aa42e4c735f854a1fe8937484561267f4fe90', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '3b96bc67e48e1350b8e98ec87e3a69c923aea26e', class: "s-user-settings-section" }, h("salla-list-tile", { key: '45a9605ea94b821adaa559935acbac56df42549e' }, h("div", { key: 'd97df220da7e4f9103f69879215a53324052fe28', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'bdba051ce6c1e356540a72668945bcd77c4fcc07', innerHTML: UserCancel })), h("div", { key: 'aae7512323ddaf1fbb18fc6e201d73b01c7db02a', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'ea5fbd35129439c8859e3ea4ec023169c9c13500', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'bea5c5931955307b6d8c0040d54a4c70ac0e801f', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '025c7ba7a176ee477395716c8291414451fa0f05', class: "s-toggle" }, h("input", { key: 'e5c8a02e85404d6a997b0bc17af807ee19908569', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '945d24a60b7474e46e934cc284239f035c4552bd', class: "s-toggle-switcher" }))))), h("div", { key: '81e9ea3c92a902da5b7647b8ba4dc659e44e05af', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'b4351c518cb7f7f0a9aadc3a50ff678233374c99' }, h("div", { key: 'c9a442d5a002c3ac3bb2d59fa1a3db5a25500b5e', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'b54eb15dbaf220a1221c6054b0e178bb51eae9c7', innerHTML: Bullhorn })), h("div", { key: 'a0a95bcbc40be5896ffaa080abb0f4d093dd7384', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '8090b97110dec6b555c3daa8180fbcd0e85c5248', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '1a5b8d2df3d3ffa2e680979fcf4eeb327bd95c60', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'e0ff94d938cfd5baea7f175980c891918de2a41e', class: "s-toggle" }, h("input", { key: '56417d910ed3661f1956df6e0d056eae54a2c711', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'c96e609f1dfce22d220a2afcf678387ebd31c1d5', class: "s-toggle-switcher" }))))), h("div", { key: '4f841e1e7a1225b24387feab7543218a90c54e44', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '7b8af0c7bb366302b87634d281807b3b19c6080b' }, h("div", { key: 'b78c648e4be4a222d1d85dacb4922f409f239aa9', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'bb4e18462ead89a0a6dc5e24311713d7fda311e3', innerHTML: UserOff })), h("div", { key: '793fc8bd434e1646fdf7917d6eff326c6db62a25', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '713a7f8c4d781d07c3f426a542f7595ab5c4c0af', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '029ebe97a4c85ffd8f63866906908237dc36fe07', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '8d372e8721544b3bf41e8de5ed696a7d993c0566', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '8edab0810f1a5fcda5f50c7b1b48b7dfbe480111', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '6f9295c1d1ed58a7313f0e0d241dedc2c2dc69c7', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: 'c31ca762ee4a669acbfaa31ebfdfde8e944cb0fb', class: "s-user-settings-confirmation" }, h("div", { key: 'de944f8f24c22a2df7697ea82f67a43636ea8868', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: 'be82c1a8ae8697cd44d567d3e473aaa55d7ca09c', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: 'ddab3f9e5150a70ddf03e175bfd664fb63f385da', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '3ae59455becd85c11233404e54fb862564fd9f07', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
87
87
  }
88
88
  static get style() { return sallaUserSettingsCss; }
89
89
  }, [0, "salla-user-settings", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-CeYNqrm6.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CgKcWLpf.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-CeYNqrm6.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CgKcWLpf.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-CeYNqrm6.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CgKcWLpf.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {