@salla.sa/twilight-components 2.14.461 → 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 (439) hide show
  1. package/dist/cjs/{filepond-DDAGSiBu.js → filepond-XQ49P28a.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-nmHjxMAB.js → filepond-plugin-file-poster-BPQxaVwU.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BtQEm835.js → filepond-plugin-file-validate-size-B9ApyJPA.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DZh74oiy.js → filepond-plugin-file-validate-type-Bcpy1-Yx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CTGzmH1f.js → filepond-plugin-image-edit-DpTpDHd0.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D851LeUg.js → filepond-plugin-image-exif-orientation-BpFgVfuH.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BcbCu3xH.js → filepond-plugin-image-preview-Cb8nl-Sk.js} +1 -1
  8. package/dist/cjs/{functions-JSbmlqCR.js → functions-BWxgjDLr.js} +1 -1
  9. package/dist/cjs/{index-B382wYR4.js → index-C8A5Jog8.js} +1 -1
  10. package/dist/cjs/{index-BbEaNgXt.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 +29 -12
  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-B0hsrPu_.js → tracked-promise-CAEeCapf.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-CuSFaj7m.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-products-list/salla-products-list.js +28 -11
  136. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  137. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  138. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  139. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  140. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  141. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  142. package/dist/collection/components/salla-search/salla-search.js +5 -5
  143. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  144. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  145. package/dist/collection/components/salla-social/salla-social.js +1 -1
  146. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  147. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  148. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  149. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  150. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  151. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  152. package/dist/collection/components/salla-user-menu/salla-user-menu.js +6 -7
  153. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  154. package/dist/components/index.js +2 -2
  155. package/dist/components/salla-cashback-banner.js +0 -2
  156. package/dist/components/salla-loyalty-banner.js +0 -2
  157. package/dist/components/salla-loyalty-hero2.js +3 -3
  158. package/dist/components/salla-loyalty-panel.js +0 -2
  159. package/dist/components/salla-loyalty-point2.js +4 -10
  160. package/dist/components/salla-loyalty-points-banner.js +0 -2
  161. package/dist/components/salla-loyalty-points-history.d.ts +11 -0
  162. package/dist/components/salla-loyalty-points-history.js +129 -0
  163. package/dist/components/salla-loyalty-program.js +1 -4
  164. package/dist/components/salla-loyalty-reward.js +2 -2
  165. package/dist/components/salla-maintenance-alert.js +1 -1
  166. package/dist/components/salla-map2.js +3 -3
  167. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  168. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  169. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  170. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  171. package/dist/components/salla-multiple-bundle-product.js +1 -1
  172. package/dist/components/salla-notification-item2.js +1 -1
  173. package/dist/components/salla-offer-modal.js +1 -1
  174. package/dist/components/salla-order-details.js +1 -1
  175. package/dist/components/salla-order-edit-product-card.js +1 -1
  176. package/dist/components/salla-order-summary.js +1 -1
  177. package/dist/components/salla-payments.js +2 -2
  178. package/dist/components/salla-placeholder2.js +1 -1
  179. package/dist/components/salla-price-range2.js +2 -2
  180. package/dist/components/salla-product-availability2.js +1 -1
  181. package/dist/components/salla-product-card-embed.js +1 -1
  182. package/dist/components/salla-product-card2.js +5 -5
  183. package/dist/components/salla-product-size-guide.js +2 -2
  184. package/dist/components/salla-products-list2.js +28 -11
  185. package/dist/components/salla-quantity-input2.js +1 -1
  186. package/dist/components/salla-quick-buy2.js +1 -1
  187. package/dist/components/salla-review-card2.js +1 -1
  188. package/dist/components/salla-reviews-page.js +1 -1
  189. package/dist/components/salla-reviews.js +1 -1
  190. package/dist/components/salla-reward-card2.js +1 -1
  191. package/dist/components/salla-reward-details2.js +3 -3
  192. package/dist/components/salla-reward-exchange2.js +3 -3
  193. package/dist/components/salla-scopes.js +1 -1
  194. package/dist/components/salla-search.js +5 -5
  195. package/dist/components/salla-searchable-dropdown2.js +4 -4
  196. package/dist/components/salla-skeleton2.js +1 -1
  197. package/dist/components/salla-social-share.js +1 -1
  198. package/dist/components/salla-social.js +1 -1
  199. package/dist/components/salla-tab-content2.js +1 -1
  200. package/dist/components/salla-tab-header2.js +1 -1
  201. package/dist/components/salla-tabs2.js +1 -1
  202. package/dist/components/salla-tel-input2.js +1 -1
  203. package/dist/components/salla-tooltip2.js +1 -1
  204. package/dist/components/salla-user-menu.js +6 -7
  205. package/dist/components/salla-user-settings.js +1 -1
  206. package/dist/esm/{filepond-n7Tk1X1s.js → filepond-AAIlCdAO.js} +1 -1
  207. package/dist/esm/{filepond-plugin-file-poster-BSnp0vvZ.js → filepond-plugin-file-poster-CzcSk93x.js} +1 -1
  208. package/dist/esm/{filepond-plugin-file-validate-size-CoYRMYw6.js → filepond-plugin-file-validate-size-DRV8qwBW.js} +1 -1
  209. package/dist/esm/{filepond-plugin-file-validate-type-qCOXsTrd.js → filepond-plugin-file-validate-type-CelZ69Kz.js} +1 -1
  210. package/dist/esm/{filepond-plugin-image-edit-DXpVwYXm.js → filepond-plugin-image-edit-B-hHZqmA.js} +1 -1
  211. package/dist/esm/{filepond-plugin-image-exif-orientation-BWH5RIuD.js → filepond-plugin-image-exif-orientation-BgxjrMAY.js} +1 -1
  212. package/dist/esm/{filepond-plugin-image-preview-D2-j0VSU.js → filepond-plugin-image-preview-h6BWEU-G.js} +1 -1
  213. package/dist/esm/{functions-C0YAccvF.js → functions-Dg0XXbIV.js} +1 -1
  214. package/dist/esm/{index-CWoBHtob.js → index-BlGD97H6.js} +1 -1
  215. package/dist/esm/{index-DZJfoSMn.js → index-CgKcWLpf.js} +6 -2
  216. package/dist/esm/loader.js +3 -3
  217. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  218. package/dist/esm/salla-accordion_6.entry.js +1 -1
  219. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  220. package/dist/esm/salla-advertisement.entry.js +1 -1
  221. package/dist/esm/salla-alert_2.entry.js +1 -1
  222. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  223. package/dist/esm/salla-apps-icons.entry.js +1 -1
  224. package/dist/esm/salla-badge.entry.js +1 -1
  225. package/dist/esm/salla-booking-field_7.entry.js +12 -12
  226. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  227. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  228. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  229. package/dist/esm/salla-cashback-banner.entry.js +1 -3
  230. package/dist/esm/salla-comment-form_8.entry.js +4 -4
  231. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  232. package/dist/esm/salla-contacts.entry.js +1 -1
  233. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  234. package/dist/esm/salla-count-down.entry.js +1 -1
  235. package/dist/esm/salla-custom-fields.entry.js +1 -1
  236. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  237. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  238. package/dist/esm/salla-filters-widget.entry.js +1 -1
  239. package/dist/esm/salla-filters.entry.js +1 -1
  240. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  241. package/dist/esm/salla-gifting.entry.js +1 -1
  242. package/dist/esm/salla-hook.entry.js +1 -1
  243. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  244. package/dist/esm/salla-installment.entry.js +1 -1
  245. package/dist/esm/salla-list-tile.entry.js +1 -1
  246. package/dist/esm/salla-localization-modal.entry.js +1 -1
  247. package/dist/esm/salla-login-modal.entry.js +1 -1
  248. package/dist/esm/salla-loyalty-banner.entry.js +2 -4
  249. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -15
  250. package/dist/esm/salla-loyalty-panel.entry.js +3 -5
  251. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -3
  252. package/dist/esm/salla-loyalty-points-history.entry.js +94 -0
  253. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  254. package/dist/esm/salla-loyalty-program.entry.js +4 -7
  255. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  256. package/dist/esm/salla-loyalty.entry.js +1 -1
  257. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  258. package/dist/esm/salla-map.entry.js +4 -4
  259. package/dist/esm/salla-menu.entry.js +1 -1
  260. package/dist/esm/salla-metadata.entry.js +1 -1
  261. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  262. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  263. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  264. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  265. package/dist/esm/salla-notification-item.entry.js +2 -2
  266. package/dist/esm/salla-notifications.entry.js +1 -1
  267. package/dist/esm/salla-offer-modal.entry.js +2 -2
  268. package/dist/esm/salla-offer.entry.js +1 -1
  269. package/dist/esm/salla-order-branch.entry.js +1 -1
  270. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  271. package/dist/esm/salla-order-details-options.entry.js +1 -1
  272. package/dist/esm/salla-order-details.entry.js +2 -2
  273. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  274. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  275. package/dist/esm/salla-order-edit.entry.js +1 -1
  276. package/dist/esm/salla-order-summary.entry.js +2 -2
  277. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  278. package/dist/esm/salla-orders.entry.js +1 -1
  279. package/dist/esm/salla-payments.entry.js +3 -3
  280. package/dist/esm/salla-placeholder.entry.js +2 -2
  281. package/dist/esm/salla-price-range.entry.js +3 -3
  282. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  283. package/dist/esm/salla-product-card_2.entry.js +6 -6
  284. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  285. package/dist/esm/salla-products-list.entry.js +29 -12
  286. package/dist/esm/salla-progress-bar.entry.js +1 -1
  287. package/dist/esm/salla-quick-order.entry.js +1 -1
  288. package/dist/esm/salla-rating-modal.entry.js +1 -1
  289. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  290. package/dist/esm/salla-scopes.entry.js +2 -2
  291. package/dist/esm/salla-search.entry.js +6 -6
  292. package/dist/esm/salla-skeleton.entry.js +2 -2
  293. package/dist/esm/salla-slider.entry.js +1 -1
  294. package/dist/esm/salla-social-share.entry.js +2 -2
  295. package/dist/esm/salla-social.entry.js +2 -2
  296. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  297. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  298. package/dist/esm/salla-tooltip.entry.js +2 -2
  299. package/dist/esm/salla-trust-badges.entry.js +1 -1
  300. package/dist/esm/salla-user-menu.entry.js +6 -7
  301. package/dist/esm/salla-user-profile.entry.js +1 -1
  302. package/dist/esm/salla-user-settings.entry.js +2 -2
  303. package/dist/esm/salla-verify.entry.js +1 -1
  304. package/dist/esm/salla-wallet.entry.js +1 -1
  305. package/dist/esm/{tracked-promise-GcOA8b3a.js → tracked-promise-B-7sMH4T.js} +1 -1
  306. package/dist/esm/twilight.js +3 -3
  307. package/dist/esm/{vanilla-picker-BpADmZjj.js → vanilla-picker-BcjrIc-C.js} +1 -1
  308. package/dist/twilight/{p-05f84e06.entry.js → p-02e79512.entry.js} +1 -1
  309. package/dist/twilight/{p-f4c8cace.entry.js → p-050d10dd.entry.js} +1 -1
  310. package/dist/twilight/{p-d04feb4a.entry.js → p-07e779b2.entry.js} +1 -1
  311. package/dist/twilight/{p-ebfbda5f.entry.js → p-0bb1836f.entry.js} +1 -1
  312. package/dist/twilight/{p-759ec1b2.entry.js → p-0bf29eb6.entry.js} +1 -1
  313. package/dist/twilight/{p-adb26a1f.entry.js → p-0fbd5e22.entry.js} +1 -1
  314. package/dist/twilight/{p-38e27a00.entry.js → p-17ae88c3.entry.js} +1 -1
  315. package/dist/twilight/p-17bceaf3.entry.js +4 -0
  316. package/dist/twilight/p-18123ac7.entry.js +4 -0
  317. package/dist/twilight/p-1c078509.entry.js +4 -0
  318. package/dist/twilight/p-1f8d103f.entry.js +4 -0
  319. package/dist/twilight/{p-2a900c4e.entry.js → p-23d41e5a.entry.js} +1 -1
  320. package/dist/twilight/{p-92bdfae5.entry.js → p-2ef068f6.entry.js} +1 -1
  321. package/dist/twilight/p-30cdc70c.entry.js +4 -0
  322. package/dist/twilight/{p-ed4a6e2d.entry.js → p-3173408c.entry.js} +1 -1
  323. package/dist/twilight/{p-c785365c.entry.js → p-31aa72b6.entry.js} +1 -1
  324. package/dist/twilight/{p-17d10d15.entry.js → p-323be2a0.entry.js} +1 -1
  325. package/dist/twilight/{p-ed061a5a.entry.js → p-34881ede.entry.js} +1 -1
  326. package/dist/twilight/{p-20ccbbe4.entry.js → p-37e5e4ba.entry.js} +1 -1
  327. package/dist/twilight/{p-c177ec39.entry.js → p-39a27ca2.entry.js} +1 -1
  328. package/dist/twilight/{p-3355b043.entry.js → p-3d5d09e5.entry.js} +1 -1
  329. package/dist/twilight/{p-457c98ed.entry.js → p-43f6d3aa.entry.js} +1 -1
  330. package/dist/twilight/{p-78ea4116.entry.js → p-46a9e49d.entry.js} +1 -1
  331. package/dist/twilight/p-49953509.entry.js +4 -0
  332. package/dist/twilight/{p-fbea393e.entry.js → p-49fef2a0.entry.js} +1 -1
  333. package/dist/twilight/{p-e9029b24.entry.js → p-4bd6f468.entry.js} +1 -1
  334. package/dist/twilight/{p-6deac135.entry.js → p-4e8fb0e3.entry.js} +1 -1
  335. package/dist/twilight/{p-4391b061.entry.js → p-520b00c7.entry.js} +1 -1
  336. package/dist/twilight/p-53b100a6.entry.js +4 -0
  337. package/dist/twilight/{p-ab681e13.entry.js → p-55178df6.entry.js} +1 -1
  338. package/dist/twilight/p-5642a30a.entry.js +4 -0
  339. package/dist/twilight/{p-8494470d.entry.js → p-5fe17bc8.entry.js} +1 -1
  340. package/dist/twilight/{p-c443a332.entry.js → p-6419fdff.entry.js} +1 -1
  341. package/dist/twilight/{p-8640b282.entry.js → p-65e1db2e.entry.js} +1 -1
  342. package/dist/twilight/p-67a831d2.entry.js +4 -0
  343. package/dist/twilight/{p-dc85db79.entry.js → p-684678f7.entry.js} +1 -1
  344. package/dist/twilight/{p-aa6980d3.entry.js → p-6868565b.entry.js} +1 -1
  345. package/dist/twilight/{p-60d8f39b.entry.js → p-68e221fb.entry.js} +1 -1
  346. package/dist/twilight/{p-aaa589b3.entry.js → p-6b25dc69.entry.js} +1 -1
  347. package/dist/twilight/{p-04755a75.entry.js → p-6fa42874.entry.js} +1 -1
  348. package/dist/twilight/p-70eced14.entry.js +4 -0
  349. package/dist/twilight/{p-28654655.entry.js → p-71f024e8.entry.js} +1 -1
  350. package/dist/twilight/{p-95916068.entry.js → p-77a23292.entry.js} +1 -1
  351. package/dist/twilight/{p-348ba7bc.entry.js → p-7b35061c.entry.js} +1 -1
  352. package/dist/twilight/{p-a2ef6d82.entry.js → p-7c4ee058.entry.js} +1 -1
  353. package/dist/twilight/{p-b17dff86.entry.js → p-7f27897e.entry.js} +1 -1
  354. package/dist/twilight/{p-3d72203e.entry.js → p-7f5f48f6.entry.js} +1 -1
  355. package/dist/twilight/{p-72cac49f.entry.js → p-84e636d1.entry.js} +1 -1
  356. package/dist/twilight/{p-57b49cdf.entry.js → p-8517f731.entry.js} +1 -1
  357. package/dist/twilight/{p-36b19d00.entry.js → p-86aa1fbf.entry.js} +1 -1
  358. package/dist/twilight/{p-ef824ee1.entry.js → p-8c72f4cc.entry.js} +1 -1
  359. package/dist/twilight/{p-723fd41b.entry.js → p-8dabf108.entry.js} +1 -1
  360. package/dist/twilight/{p-e3c42341.entry.js → p-8fc7f3d6.entry.js} +1 -1
  361. package/dist/twilight/{p-0707d2f3.entry.js → p-904617da.entry.js} +1 -1
  362. package/dist/twilight/{p-154982a2.entry.js → p-9176d7ce.entry.js} +1 -1
  363. package/dist/twilight/{p-ac27db7b.entry.js → p-9387dd90.entry.js} +1 -1
  364. package/dist/twilight/{p-e8514ae6.entry.js → p-99106873.entry.js} +1 -1
  365. package/dist/twilight/p-9b4fc23f.entry.js +4 -0
  366. package/dist/twilight/{p-0377ee4a.entry.js → p-9c28210e.entry.js} +1 -1
  367. package/dist/twilight/{p-AfEAfJ98.js → p-Bo2jQzcR.js} +1 -1
  368. package/dist/twilight/{p-D3Knumjd.js → p-BzGCvVEm.js} +1 -1
  369. package/dist/twilight/{p-q7sRVQkm.js → p-CC2-QEDL.js} +1 -1
  370. package/dist/twilight/{p-BGvyt9d0.js → p-CH7wsBUY.js} +1 -1
  371. package/dist/twilight/{p-DZJfoSMn.js → p-CgKcWLpf.js} +1 -1
  372. package/dist/twilight/{p-DPrVo6nK.js → p-CwWt5HLh.js} +1 -1
  373. package/dist/twilight/p-DBqJzNYt.js +4 -0
  374. package/dist/twilight/p-DPoo7VAM.js +9 -0
  375. package/dist/twilight/{p-DtRKnFMd.js → p-HVfj7cvk.js} +1 -1
  376. package/dist/twilight/{p-CzKVU0uc.js → p-KXvNwMUI.js} +1 -1
  377. package/dist/twilight/{p-3cea9d02.entry.js → p-a34163a9.entry.js} +1 -1
  378. package/dist/twilight/{p-d4bf9b9a.entry.js → p-a7055743.entry.js} +1 -1
  379. package/dist/twilight/{p-CL6oN_Q7.js → p-aZStLvlC.js} +1 -1
  380. package/dist/twilight/{p-7cdd0edd.entry.js → p-ab581ba2.entry.js} +1 -1
  381. package/dist/twilight/{p-BJydaLla.js → p-alpadDPN.js} +1 -1
  382. package/dist/twilight/{p-5d8e2e4e.entry.js → p-b0219eab.entry.js} +1 -1
  383. package/dist/twilight/p-b111e9fa.entry.js +4 -0
  384. package/dist/twilight/{p-92a92648.entry.js → p-b60cbdfb.entry.js} +1 -1
  385. package/dist/twilight/p-b6cefa97.entry.js +4 -0
  386. package/dist/twilight/{p-4e1dd088.entry.js → p-b987e3af.entry.js} +1 -1
  387. package/dist/twilight/{p-d88387cf.entry.js → p-baeac8aa.entry.js} +1 -1
  388. package/dist/twilight/{p-d993f567.entry.js → p-bba4aa09.entry.js} +1 -1
  389. package/dist/twilight/p-c246a042.entry.js +4 -0
  390. package/dist/twilight/{p-8e29f889.entry.js → p-c522db75.entry.js} +1 -1
  391. package/dist/twilight/{p-d369971e.entry.js → p-c92bc81e.entry.js} +1 -1
  392. package/dist/twilight/{p-b8879670.entry.js → p-ca869069.entry.js} +12 -12
  393. package/dist/twilight/{p-8bdb3374.entry.js → p-cd49d0b1.entry.js} +1 -1
  394. package/dist/twilight/{p-f7c7dd70.entry.js → p-cd86a347.entry.js} +1 -1
  395. package/dist/twilight/{p-30532b9c.entry.js → p-cdfbcd5c.entry.js} +1 -1
  396. package/dist/twilight/{p-0bba3324.entry.js → p-d076e173.entry.js} +1 -1
  397. package/dist/twilight/{p-c8376047.entry.js → p-d68546db.entry.js} +1 -1
  398. package/dist/twilight/{p-23d3fe72.entry.js → p-dd363a06.entry.js} +1 -1
  399. package/dist/twilight/{p-3c726469.entry.js → p-de185a77.entry.js} +1 -1
  400. package/dist/twilight/p-e197f3d2.entry.js +4 -0
  401. package/dist/twilight/p-e6a66265.entry.js +4 -0
  402. package/dist/twilight/{p-a77699f6.entry.js → p-eaedd514.entry.js} +1 -1
  403. package/dist/twilight/{p-15674f9e.entry.js → p-f0fc32fb.entry.js} +1 -1
  404. package/dist/twilight/{p-098f1fae.entry.js → p-f66cc02e.entry.js} +1 -1
  405. package/dist/twilight/p-f6a7c273.entry.js +4 -0
  406. package/dist/twilight/{p-f3a8ffbe.entry.js → p-f770e708.entry.js} +1 -1
  407. package/dist/twilight/{p-4f28f97c.entry.js → p-fade3b90.entry.js} +1 -1
  408. package/dist/twilight/twilight.esm.js +1 -1
  409. package/dist/types/components/salla-loyalty-points-history/salla-loyalty-points-history.d.ts +12 -0
  410. package/dist/types/components/salla-loyalty-program/interfaces.d.ts +3 -2
  411. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +0 -1
  412. package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
  413. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
  414. package/dist/types/components.d.ts +13 -0
  415. package/package.json +5 -5
  416. package/dist/cjs/translations-BHyDCj-Y.js +0 -306
  417. package/dist/collection/components/salla-loyalty-program/translations.js +0 -302
  418. package/dist/components/translations.js +0 -304
  419. package/dist/esm/translations-dn_hTofo.js +0 -304
  420. package/dist/twilight/p-173db748.entry.js +0 -4
  421. package/dist/twilight/p-23de0e4d.entry.js +0 -4
  422. package/dist/twilight/p-28472b7d.entry.js +0 -4
  423. package/dist/twilight/p-4bd6e04e.entry.js +0 -4
  424. package/dist/twilight/p-60ed6a43.entry.js +0 -4
  425. package/dist/twilight/p-6585f570.entry.js +0 -4
  426. package/dist/twilight/p-6fcbb71a.entry.js +0 -4
  427. package/dist/twilight/p-7f8842a6.entry.js +0 -4
  428. package/dist/twilight/p-8e0cb0b4.entry.js +0 -4
  429. package/dist/twilight/p-BuQQcHl4.js +0 -4
  430. package/dist/twilight/p-D1YyLASn.js +0 -9
  431. package/dist/twilight/p-c74ccdee.entry.js +0 -4
  432. package/dist/twilight/p-ce20b220.entry.js +0 -4
  433. package/dist/twilight/p-d9bc10fa.entry.js +0 -4
  434. package/dist/twilight/p-dn_hTofo.js +0 -4
  435. package/dist/twilight/p-e18d93d6.entry.js +0 -4
  436. package/dist/twilight/p-f44362e9.entry.js +0 -4
  437. package/dist/twilight/p-fcb5ea5d.entry.js +0 -4
  438. package/dist/twilight/p-fe4866b6.entry.js +0 -4
  439. package/dist/types/components/salla-loyalty-program/translations.d.ts +0 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaMetadataCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
7
7
 
@@ -34,7 +34,7 @@ const SallaMultipleBundleProductCart = class {
34
34
  return (h("div", { slot: "html", class: "s-multiple-bundle-product-cart-header-wrapper" }, h("div", { class: `s-multiple-bundle-product-cart-header ${hasOptions ? '' : 's-multiple-bundle-product-cart-header-no-options'}` }, h("div", { class: "s-multiple-bundle-product-cart-header-content" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-image-wrapper" }, h("img", { src: product?.image?.url, alt: product?.image?.alt || product?.name, class: "s-multiple-bundle-product-cart-header-image" })), h("div", { class: "s-multiple-bundle-product-cart-header-content-details" }, h("h2", { class: "s-multiple-bundle-product-cart-header-content-details-title" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-content-details-title-link" }, product?.name)), h("div", { class: "s-multiple-bundle-product-cart-header-content-details-price" }, h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-regular" }, h("span", { innerHTML: product?.price ? salla.money(product?.price) : '' })), product?.sale_price > 0 && (h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-sale" }, h("span", { innerHTML: salla.money(product?.sale_price) })))), product?.quantity_in_group > 0 && product?.quantity !== 0 && (h("p", { class: "s-multiple-bundle-product-cart-header-content-details-quantity" }, h("span", null, salla.lang.get('pages.products.number_of_pieces')), h("span", null, product?.quantity_in_group))))), !hasOptions && (h("div", { class: "s-multiple-bundle-product-cart-header-remove-button" }, this.renderRemoveButton(sectionId, product, false))))));
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'd11f8075e15cd1379d6754b5ce13c81fa7cf9f03', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '293351d69f5e12039ecab876832c6164b1235dab', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
37
+ return (h(Host, { key: 'a0659e5dc8eb5e44d0a25e53cea017008a04ed4d', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '2bcfa463149fe7890418a3ef12308ca17d41cb34', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
38
38
  return section.products.map(product => {
39
39
  const bundleContext = {
40
40
  sectionId: section.id,
@@ -410,9 +410,9 @@ const SallaMultipleBundleProductDetails = class {
410
410
  }
411
411
  }
412
412
  render() {
413
- return (h(Host, { key: '74b123c432e77263cf0ddcf20ab742885c54d5f4', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '24bef0958a2a7d29bb4485eac08c7e6b8614a00d', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
413
+ return (h(Host, { key: 'dc22c848445385e667a2da109021b9dc9b413a6c', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'a52743fee0af7cf1b99bd0459a85d335ca637e5d', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
414
414
  return (h("salla-accordion", { key: section.id, collapsed: index === 0 ? false : true }, h("salla-accordion-head", null, this.renderAccordionHeader(section)), h("salla-accordion-body", null, h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index, selectedProducts: this.selectedProducts, selectionLimit: this.getEffectiveMax(section), isSelectionLocked: this.isProductSelectionLocked(section), onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
415
- })), h("salla-multiple-bundle-product-options-modal", { key: '556b4e51a4b79dfc00371a07296556fb74111524' })));
415
+ })), h("salla-multiple-bundle-product-options-modal", { key: '4bda97c2a9db2cd1f2764e4f5a2e44fb0a013fa0' })));
416
416
  }
417
417
  get host() { return getElement(this); }
418
418
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -479,7 +479,7 @@ const SallaMultipleBundleProductOptionsModal = class {
479
479
  const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
480
480
  const resetToken = this.optionsResetTokens[cacheKey] || 0;
481
481
  const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
482
- return (h(Host, { key: '6c1d1d3911867e30240676f3e2b7353e9ecf76c3' }, h("salla-modal", { key: 'b02110d80cd422d64962d78812ae0b0637c56237', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '20a52bbc732c6edfffde86577e99bbe300a1a4c8', slot: "loading" }, h("salla-skeleton", { key: '3a69fc75939d8b8f8639983d0f2f8dd8bf961152', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '185639c54f79188093df98ac1cece1958879f71d', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
482
+ return (h(Host, { key: '1df1d7538fceee9a656f19cbf145388a3e0c03cc' }, h("salla-modal", { key: 'da6d318edcc4415ec3b680172da56d82efe65fbc', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '1e34ee440889932fc24cfe9d9def9acd9d07a42b', slot: "loading" }, h("salla-skeleton", { key: '94a8be3dde042a84187a01305c8decf53bf7e3f3', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '2ac8b7c57ad95e22430f76a0ab22aff1d31f8558', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
483
483
  centeredSlides: true,
484
484
  centeredSlidesBounds: true,
485
485
  slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
@@ -487,13 +487,13 @@ const SallaMultipleBundleProductOptionsModal = class {
487
487
  watchSlidesProgress: true,
488
488
  direction: 'vertical',
489
489
  spaceBetween: 10,
490
- } }, h("div", { key: '3b6a88fe3862870d674dadc31967df6cc8fac365', slot: "items" }, this.product?.images &&
490
+ } }, h("div", { key: '599e310ed8d87b526c75463dd9a1b1ff9bd2442e', slot: "items" }, this.product?.images &&
491
491
  this.product?.images.map((image, index) => (h("div", { key: index, class: "swiper-slide" }, h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index + 1}`, loading: "lazy", onError: e => {
492
492
  e.target.style.display = 'none';
493
- } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '6fce48b5b035cc61866aaf6c339866fa2314be87', slot: "thumbs" }, this.product?.images &&
493
+ } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: 'df1833370d4e7a8424b0cefe5f6aa1eff68e263e', slot: "thumbs" }, this.product?.images &&
494
494
  this.product?.images.map((image, index) => (h("div", { key: index, "data-caption": `${this.product?.name} - Image ${index + 1}` }, h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index + 1}`, alt: image.alt || `${this.product?.name} - ${index + 1}`, onError: e => {
495
495
  e.target.style.display = 'none';
496
- } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '3d555ea40fe5d9f3685fc6dafa4b6fad16732091', slot: "footer" }, h("div", { key: '1b4c6834899efbd09f3ea1db251999f50ec655b2', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: '0818a75a444cca510c7f0cfea2ec53414c12db53', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
496
+ } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '3f7379d1620184a14f88b1123b67f6a9a225fe14', slot: "footer" }, h("div", { key: '26ad5d460d95cdce3d6fa28fcf7a04b0e3f97d3e', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: '4f497db16b75e813d813fd92bd2f30ed02514000', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
497
497
  ? salla.lang.get('common.elements.saving')
498
498
  : salla.lang.get('common.elements.save')))))));
499
499
  }
@@ -639,7 +639,7 @@ const SallaMultipleBundleProductSlider = class {
639
639
  }
640
640
  }
641
641
  render() {
642
- return (h(Host, { key: 'd52eb26454606df2526fa4c086110a54f7466644' }, h("salla-slider", { key: '1aa1fce5943c3721a8e4f762171c864d9097bb28', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '9342381bc43389bae48b906a1ab23a4f3cf8d00a', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
642
+ return (h(Host, { key: '808d7d1f9d880d2bad293fa61ef5e7330385f15b' }, h("salla-slider", { key: 'bf820de07ea7936d283574d8d2b58c1cc8ccb0df', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '8d551793d840ffddc64049efba32277d0bbf0c96', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
643
643
  const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
644
644
  const isLocked = isChecked && this.isSelectionLocked;
645
645
  const isDisabled = this.isProductSelectionDisabled(product, isChecked);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -56,7 +56,7 @@ const SallaMultipleBundleProduct = class {
56
56
  this.parseProducts(this.bundleSections);
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: 'abf18a8e3e255a7615ffd6cab7f10a1b4ababdea', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
59
+ return (h(Host, { key: '01cf070eb724f3b0df553e3253fda1d0c4fde0b9', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
60
60
  }
61
61
  static get watchers() { return {
62
62
  "bundleSections": ["parseProducts"]
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h } from './index-CgKcWLpf.js';
5
5
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
6
6
  import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
7
7
 
@@ -10,7 +10,7 @@ const SallaNotificationItem = class {
10
10
  registerInstance(this, hostRef);
11
11
  }
12
12
  render() {
13
- return h("a", { key: 'd1d982b64b39a019d55af0c49b5a9d9f27e7615d', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: 'd7f84ef1e3b01a11d99100d31be94ccb180f198f', class: "s-notifications-item-icon" }, h("i", { key: '7d4dccd4da689bdec1b15b99ed6c19f37391ccf2', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '30f13cdfb8e09c5996705921197d1cae76475b58', class: "s-notifications-item-content" }, h("div", { key: '2eb942ca1b189bec89d4c44af0ad20fbee623177', class: "s-notifications-item-content-leading" }, h("h4", { key: '6607d79d658b299ac187497f45c40c520f8955c6' }, this.notification.title), h("p", { key: 'b361ef6671a842e50d50455e6e946b4863be3258' }, this.notification.sub_title)), h("span", { key: 'c52997e6b387eae98cb7a97886a8b1c6a8453534', class: "s-notifications-item-content-trailing" }, h("i", { key: '9da662dd0e4c6899c642185541d408573f663415', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: 'a26ab1dbf7736fc0fcfe931c295b2ea5c2889b95' }, this.notification.date))));
13
+ return h("a", { key: 'd66908ce0dd914e309469279a1014ff734f6c0b2', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '0d6f0ebb3400bcc91f2bbdf7e941e018662e8835', class: "s-notifications-item-icon" }, h("i", { key: 'd9965899d4699070681117423401d7488a16f066', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '055a4e763f4a1ee02b52bd1d6935e57402acfa76', class: "s-notifications-item-content" }, h("div", { key: '646a9220ad2c1a9fae0b9384a84a60ad69d39c68', class: "s-notifications-item-content-leading" }, h("h4", { key: '9b9c4256f50cd376b01b836196a1f0fff89b6840' }, this.notification.title), h("p", { key: '4475ca9bee33fb9c64433320101345c7db7e28c6' }, this.notification.sub_title)), h("span", { key: 'd2c8301ad12ef86ba05fa805d9ecbea249a44ee1', class: "s-notifications-item-content-trailing" }, h("i", { key: '297c8695ee366dc336bf30dd59465806375825fc', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: 'beb9945695448ec9e6e25e9e856177a641a5a769' }, this.notification.date))));
14
14
  }
15
15
  };
16
16
  SallaNotificationItem.style = sallaNotificationsCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SITag } from './tag-cgSL_BIo.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
@@ -204,7 +204,7 @@ const SallaOfferModal = class {
204
204
  // '</div>';
205
205
  // }
206
206
  render() {
207
- return h("salla-modal", { key: 'ff61bf49e9c643c1c6beab5cc6b96034fe08e003', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '18c331729d5a7c7e5cec39de739c19ae18d4a633', slot: 'loading' }, h("div", { key: '4b0fbc90ddc59e069ca069b71e7bf9d0aeeca6de', class: "s-offer-modal-skeleton" }, h("div", { key: '19d49c45a312088566d492dd39095b0189abcf44', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: '8f3b0325261d8f740f861a17cfd17c717e1861a0', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: 'c0a72538ccedbf53d5a373a6292108a64abbeb69', height: '15px', width: '50%' }), h("salla-skeleton", { key: '10dd084db31afa2f1d1615ec266c444f85b43c16', height: '10px', width: '30%' })), h("div", { key: '4b995981588f58bae1ec76e22714416f9c1fec02', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: SICart2 }))))), h("div", { key: '4977b506e320763423c11c5f6bf570079baefb29', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '32f0f18e7675ed987aebe92c5150540e6acdcbbc', height: '15px', width: '50%' }), h("salla-skeleton", { key: '39f80f6d038c72b281973f2993ff12a1dd6db7cc', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
207
+ return h("salla-modal", { key: 'c68955859f31495533b6bb1117e8be3a6c22ffce', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: 'd0c3cbc73474a14596eb2a4c35e10ddddc5ed34a', slot: 'loading' }, h("div", { key: '22ebc107df02d1474f648cbd50aecd9590f70fbf', class: "s-offer-modal-skeleton" }, h("div", { key: 'ed0661aca73a455a98f9971a5fc89e8793e8ac14', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'bea3b9e7fe4654d7186d8f0f27388e784421379b', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '9c377374ec1449341a45127a52dfc53fdb4425f0', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'edcd738b120797e2b2a351390fc58a49fc386776', height: '10px', width: '30%' })), h("div", { key: 'fa7df3dc0b6a22fad433bfc678081f1e2ccdc057', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: SICart2 }))))), h("div", { key: '6a4d8744bad91f54b4a87b929c81747295b00992', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '4b15a6c159a681f0b030244c923e94bfa44af479', height: '15px', width: '50%' }), h("salla-skeleton", { key: '79323272fb8977650644dee28d7c7295ac77aacf', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
208
208
  ? [h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.getOfferContent(), h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
209
209
  h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
210
210
  : '', h("label", { class: "s-offer-modal-remember-label" }, h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  function parseMaybeJson(value, fallback) {
7
7
  if (typeof value !== 'string') {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaOrderDetailsMultipleBundleProductCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  var copyIcon = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
7
7
 
@@ -37,7 +37,7 @@ const SallaOrderDetails = class {
37
37
  ];
38
38
  }
39
39
  render() {
40
- return h(Host, { key: '3e7538927ca00fbb3265b1ad407fcb90e7f30ec3', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
40
+ return h(Host, { key: '9c662f4c829a24386a4fa83f83f261996c72086f', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
41
41
  }
42
42
  static get watchers() { return {
43
43
  "orderDetails": ["parseOrderDetailsData"]
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgKcWLpf.js';
5
5
  import { a as getOrderEditProductMaxQuantity } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
7
7
 
@@ -31,7 +31,7 @@ const SallaOrderEditProductCard = class {
31
31
  const product = this.productData;
32
32
  const productName = product?.name || salla.lang.getWithDefault('common.elements.product', 'منتج');
33
33
  const price = product?.price;
34
- return (h(Host, { key: '9f9278890bd821cf7b1caecdf4484a26273fe407' }, h("button", { key: '6d28490ff098143000fff6543702ba805e997077', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: 'b7399553a7b79303b8bae8c9b624f460fe761946', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: '5cd57cf519f5d681116336cc6db8aed3569b761d', class: "s-order-edit-product-card-content" }, h("h3", { key: '51312a3708d95f3d6d654099b25a2a4644c70aaa', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: 'c09988f616198ae0d527e994e5c55e8b0a01c218', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
34
+ return (h(Host, { key: '922736be2f3fec4f6c41c724590d2790fb5a5940' }, h("button", { key: 'b690f3dbd307937d4b68790f417a7d9a820b56f1', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: 'f846d7e31c7c3d067909d65db3457ac061c93264', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: 'b1243ae5df15e3e783b139dcf593f85b72624015', class: "s-order-edit-product-card-content" }, h("h3", { key: '50c7b8edb40dd88fcb1ac4267b1ba88c5b2b92b2', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: '6dea7fefab83a9839146acfb89e7a532adaa6559', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
35
35
  }
36
36
  };
37
37
  SallaOrderEditProductCard.style = sallaOrderEditProductCardCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
  import { g as getOrderItemSelectedOptions, a as getOrderEditProductMaxQuantity, c as clampOrderEditQuantity, u as updateOrderItems, r as removeOrderItems, m as mergePayloadItems, b as cloneOrderEditProduct, f as findMergeableItem, d as updateAddedPayloadList, e as upsertPayloadUpdateList, h as createAddedOrderItem, i as buildSavePayload } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h } from './index-CgKcWLpf.js';
5
5
  import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
6
6
  import { S as SICheck } from './check-BZp0rKEO.js';
7
7
 
@@ -84,7 +84,7 @@ const SallaOrderSummary = class {
84
84
  this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
85
85
  }
86
86
  render() {
87
- return (h("ul", { key: 'e63a884fdd0f46232853adf53714fa350b00c6c2', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
87
+ return (h("ul", { key: 'e26e13231b72707a39a6fd83561247bea05aa490', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
88
88
  this.order_items.map((item) => (this.isDigitalCard(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, h("p", null, h("span", { innerHTML: iconCreditCard }), h("span", null, code.code)), h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, h("span", { innerHTML: this.codeCopied === code.code ? SICheck : iconCopy }), h("span", null, this.copy_text))))))) :
89
89
  this.isDigitalProduct(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), h("ul", null, item.files.map((file) => (h("li", { class: "s-order-summary-digital-item-wrapper" }, h("div", null, h("span", { innerHTML: iconFileArchive }), h("span", null, file.name)), h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, h("span", { innerHTML: iconDownload }), h("span", null, this.download_text)))))))) : null))));
90
90
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaOrderTotalsCardCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaPaymentsCss = ":host{display:block}";
7
7
 
@@ -34,12 +34,12 @@ const SallaPayments = class {
34
34
  render() {
35
35
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
36
36
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
37
- return (h(Host, { key: 'bfb363665dada7c3e5c9ca429a4174b2ed5c2ed8', class: "s-payments-list-wrap" }, h("ul", { key: '8f66db94e7e75ad5550892a319066c2101cb10fd', class: "s-payments-list" }, madeInKSA && h("li", { key: 'c570b7666e32e890966555b436d483cfe6bc888e', class: "s-payments-list-item" }, h("img", { key: 'c448bc161508b9762dd45d316b079d31a7429e39', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
37
+ return (h(Host, { key: '2d3a652f9eb7fc3a07d79be1aa4ac08df349e4bc', class: "s-payments-list-wrap" }, h("ul", { key: '62ed1989e85b2b89bd1f1ad370806dc1c8f67454', class: "s-payments-list" }, madeInKSA && h("li", { key: 'a77bdb50ba28249d0b587e3aba0beb392cb1db59', class: "s-payments-list-item" }, h("img", { key: '3aa60ab4ee98cf8efe3e3a17f2c2363038b76b24', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
38
38
  h("div", { id: "cod-slot", innerHTML: this.codSlot
39
39
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
40
40
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
41
41
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
42
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'dbe8288f3d6231c8fdd013630bffa54f9d8178a4', id: "sbc-slot", innerHTML: this.sbcSlot
42
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'c1d56e4217afdb48f955a5133156a1708c91da52', id: "sbc-slot", innerHTML: this.sbcSlot
43
43
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
44
44
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
45
45
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  var Inbox = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -41,7 +41,7 @@ const SallaPlaceholder = class {
41
41
  };
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '80c0ead7511fe00ce4fa0f92dc5ad9b3448811fa', class: this.alignmentClass() }, h("div", { key: '26e81619824a58476c66374fc79377596454969c', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '256946363be9fd8aea06f35b4ff837009a3d0b32', class: "s-placeholder-title" }, h("slot", { key: 'd519fbb70c3b3d309caa86c8740ee732fcbeeb70', name: 'title' }, h("span", { key: '6c9a6d8d7c8581944554884541c80884435fb217' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '1cd09e170e1d7f44ec251522ab3bcf1d71eaff02', class: "s-placeholder-description" }, h("slot", { key: '5e38a5794f5b655131cba0a4c590ca7509ffae51', name: 'description' }, h("span", { key: 'b7c9abd6f44092a804177067e7456b7d6468d4df' }, salla.lang.get('common.errors.empty_results'))))));
44
+ return (h(Host, { key: 'ccc65b60efc14d78b46b838f089cf09ed849d136', class: this.alignmentClass() }, h("div", { key: 'b174990bfedc2e979ca0484552015abc112795d1', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '51ec34810a25ae77f797754419c6dc5f0afcfbaa', class: "s-placeholder-title" }, h("slot", { key: '3e0c9987b7477e8145436098f024dde49bd76162', name: 'title' }, h("span", { key: '618dfc6b328f2f5c82a16357ecf403b740e67778' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '005e68bcb52eca86ea3368ce750e1b7f9cfda50e', class: "s-placeholder-description" }, h("slot", { key: '5e2b860c11a35e93658c153ea2eb2efb9683900b', name: 'description' }, h("span", { key: '903012cd214bb068e591ca9280f4c95762672e9c' }, salla.lang.get('common.errors.empty_results'))))));
45
45
  }
46
46
  };
47
47
  SallaPlaceholder.style = sallaPlaceholderCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgKcWLpf.js';
5
5
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
6
6
 
7
7
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -157,9 +157,9 @@ const SallaPriceRange = class {
157
157
  this.maxPrice = value === undefined ? '' : value;
158
158
  }
159
159
  render() {
160
- return (h(Host, { key: 'b3292086c1beb0d5df51712839daabb25dad2658' }, this.filterValues.map((filterValue, index) => {
160
+ return (h(Host, { key: 'ab96e0b292966af5dea7627ed2cfae7aa6cf42d2' }, this.filterValues.map((filterValue, index) => {
161
161
  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) }));
162
- }), 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 ? arrowLeft : arrowRight })))))));
162
+ }), 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 ? arrowLeft : arrowRight })))))));
163
163
  }
164
164
  componentDidLoad() {
165
165
  this.isReady = true;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
7
7
 
@@ -83,7 +83,7 @@ const SallaProductCardEmbed = class {
83
83
  's-product-card-embed-card-align-right': this.align === 'right',
84
84
  's-product-card-embed-card-align-center': this.align === 'center',
85
85
  };
86
- 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) => {
86
+ 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) => {
87
87
  this.cardContainer = el;
88
88
  } })));
89
89
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { H as Helper } from './Helper-BXj4f_Qj.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -114,14 +114,14 @@ const SallaProductCard = class {
114
114
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
115
115
  };
116
116
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
117
- 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)
117
+ 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)
118
118
  ? 'contain'
119
119
  : this.fitImageHeight
120
120
  ? this.fitImageHeight
121
- : '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 ?
122
- 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 ?
121
+ : '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 ?
122
+ 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 ?
123
123
  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" })))
124
- : '', 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 ?
124
+ : '', 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 ?
125
125
  h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
126
126
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
127
127
  [h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -130,7 +130,7 @@ const SallaProductCard = class {
130
130
  this.addBtn.donatingAmount = e.target.value;
131
131
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
132
132
  : '')]
133
- : '', 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 ?
133
+ : '', 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 ?
134
134
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))
135
135
  : ''), this.isSpecial && this.productData.discount_ends
136
136
  ? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -51,11 +51,11 @@ const SallaProductSizeGuide = class {
51
51
  return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
52
52
  }
53
53
  render() {
54
- 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 ?
54
+ 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 ?
55
55
  [
56
56
  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 }))))
57
57
  ]
58
- : this.showPlaceholder(), h("slot", { key: 'ca9526f3f95675dab2a38d2715ed3cf842d93174', name: "footer" })));
58
+ : this.showPlaceholder(), h("slot", { key: '5ae0956ca1f9313b5ef3d01dbdcab32f2e975e05', name: "footer" })));
59
59
  }
60
60
  get host() { return getElement(this); }
61
61
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
7
7
  import { H as Helper } from './Helper-BXj4f_Qj.js';
@@ -83,7 +83,6 @@ const SallaProductsList = class {
83
83
  window.scrollTo({ top: 0, behavior: 'smooth' });
84
84
  // Create a deep copy of the filters object to avoid mutating the original object
85
85
  this.parsedFilters = JSON.parse(JSON.stringify(filters));
86
- this.filtersSnapshot = this.parsedFilters;
87
86
  if (this.currentPage?.slug == "product.index" && this.parsedFilters && this.parsedFilters.category_id) {
88
87
  this.currentCategoryIdFilter = [this.parsedFilters.category_id];
89
88
  }
@@ -117,6 +116,31 @@ const SallaProductsList = class {
117
116
  isFilterable() {
118
117
  return salla.config.get('store.settings.product.filters') && this.filtersResults;
119
118
  }
119
+ getCachedFilters() {
120
+ if (!Array.isArray(this.filtersSnapshot) || !this.filtersSnapshot.length) {
121
+ return null;
122
+ }
123
+ return JSON.parse(JSON.stringify(this.filtersSnapshot));
124
+ }
125
+ emitFilters(response) {
126
+ if (!this.isFilterable()) {
127
+ return;
128
+ }
129
+ if (response.filters) {
130
+ this.filtersResults = true;
131
+ this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
132
+ salla.event.emit('filters::fetched', { filters: response.filters });
133
+ return;
134
+ }
135
+ const cachedFilters = response.cursor?.current > 1 ? this.getCachedFilters() : null;
136
+ if (cachedFilters) {
137
+ this.filtersResults = true;
138
+ salla.event.emit('filters::fetched', { filters: cachedFilters });
139
+ return;
140
+ }
141
+ this.filtersSnapshot = [];
142
+ salla.event.emit('filters::hidden');
143
+ }
120
144
  isSourceWithoutValue() {
121
145
  return ['offers', 'latest', 'sales', 'wishlist', 'top-rated', 'reorder'].includes(this.getSource());
122
146
  }
@@ -405,8 +429,9 @@ const SallaProductsList = class {
405
429
  if (storedState) {
406
430
  try {
407
431
  const { pageIndex, nextPage, currentPageData } = JSON.parse(storedState);
408
- if (filetrsState !== 'undefined') {
432
+ if (filetrsState && filetrsState !== 'undefined') {
409
433
  const filters = JSON.parse(filetrsState);
434
+ this.filtersSnapshot = JSON.parse(JSON.stringify(filters));
410
435
  salla.event.emit('filters::fetched', { filters });
411
436
  }
412
437
  this.page = pageIndex;
@@ -778,7 +803,6 @@ const SallaProductsList = class {
778
803
  let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
779
804
  // get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
780
805
  title = response.filters?.find(filter => filter.key === 'category_id')?.values?.find(cat => cat.key === catId)?.value ?? '';
781
- this.filtersSnapshot = response.filters;
782
806
  }
783
807
  title += (title ? ' - ' : '') + salla.lang.choice('blocks.header.products_count', response.data?.length);
784
808
  if (response.data.length === 15) {
@@ -801,14 +825,7 @@ const SallaProductsList = class {
801
825
  salla.event.emit('salla-products-list::products.fetched', response);
802
826
  this.productsFetched.emit(response);
803
827
  //💡 when source is related, cursor will not be existed
804
- if (response.filters && this.isFilterable()) {
805
- this.filtersResults = true;
806
- this.filtersSnapshot = JSON.parse(JSON.stringify(response.filters));
807
- salla.event.emit('filters::fetched', { filters: response.filters });
808
- }
809
- else if (this.isFilterable()) {
810
- salla.event.emit('filters::hidden');
811
- }
828
+ this.emitFilters(response);
812
829
  //because: this.nextPage is state we don't need to touch it after the build, to avoid the re-rendering
813
830
  if (shouldBuildNextPage) {
814
831
  this.nextPage = await this.resolveNextPageFromCursor(response);