@salla.sa/twilight-components 2.14.385 → 2.14.387

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 (366) hide show
  1. package/dist/cjs/{filepond-CH0EhqTR.js → filepond-DY8Bk_1p.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DB_nSU5H.js → filepond-plugin-file-poster-DRBpp2WC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DhmLgwAd.js → filepond-plugin-file-validate-size-Ps1G9vOF.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BP6pXR9l.js → filepond-plugin-file-validate-type-fVUTClJE.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-H28z0oor.js → filepond-plugin-image-edit-Bh4Pqw-q.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B3aPmsvW.js → filepond-plugin-image-exif-orientation-D_Tfa9YD.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-2UoG7SNa.js → filepond-plugin-image-preview-Bsg4ZULY.js} +1 -1
  8. package/dist/cjs/{index-C0Kew27I.js → index-B99uI20k.js} +6 -2
  9. package/dist/cjs/{index-0Q56lC1x.js → index-DjO53bco.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +4 -4
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +3 -3
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +248 -188
  20. package/dist/cjs/salla-cart-coupons.cjs.entry.js +251 -0
  21. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  22. package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
  23. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-count-down_2.cjs.entry.js +7 -7
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  29. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  31. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  32. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  36. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-loyalty-program.cjs.entry.js +2 -2
  39. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  44. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  45. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  54. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  57. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  59. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  60. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  67. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  71. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  72. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  74. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  78. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  80. package/dist/cjs/twilight.cjs.js +2 -2
  81. package/dist/cjs/{vanilla-picker-D_FRjdtf.js → vanilla-picker-DmWOIwng.js} +1 -1
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/salla-bullet-delivery/helpers.js +4 -20
  84. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +244 -168
  85. package/dist/collection/components/salla-cart-coupons/interfaces.js +1 -0
  86. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.css +0 -0
  87. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +293 -0
  88. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  89. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  90. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  91. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  92. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  93. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  94. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  95. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  96. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  97. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  98. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  99. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  100. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  101. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  102. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  103. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  104. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -1
  105. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  106. package/dist/collection/components/salla-map/salla-map.js +3 -3
  107. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  108. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  109. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  110. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  111. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  112. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  113. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  114. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  115. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  116. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  117. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  118. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  119. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  120. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  121. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  122. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  123. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  124. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  125. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  126. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  127. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  128. package/dist/collection/components/salla-search/salla-search.js +5 -5
  129. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  130. package/dist/collection/components/salla-social/salla-social.js +1 -1
  131. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  132. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  133. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  134. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  135. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  136. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  137. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  138. package/dist/components/index.js +2 -2
  139. package/dist/components/salla-bullet-delivery.js +247 -187
  140. package/dist/components/salla-cart-coupons.d.ts +11 -0
  141. package/dist/components/salla-cart-coupons.js +287 -0
  142. package/dist/components/salla-cart-summary.js +1 -1
  143. package/dist/components/salla-color-picker2.js +1 -1
  144. package/dist/components/salla-comment-form2.js +1 -1
  145. package/dist/components/salla-comment-item2.js +3 -3
  146. package/dist/components/salla-conditional-fields2.js +1 -1
  147. package/dist/components/salla-count-down2.js +1 -1
  148. package/dist/components/salla-datetime-picker2.js +1 -1
  149. package/dist/components/salla-file-upload2.js +2 -2
  150. package/dist/components/salla-filters-widget2.js +2 -2
  151. package/dist/components/salla-filters.js +1 -1
  152. package/dist/components/salla-gifting.js +2 -2
  153. package/dist/components/salla-hook.js +1 -1
  154. package/dist/components/salla-list-tile2.js +1 -1
  155. package/dist/components/salla-loading2.js +1 -1
  156. package/dist/components/salla-localization-modal.js +1 -1
  157. package/dist/components/salla-loyalty-prize-item.js +1 -1
  158. package/dist/components/salla-loyalty-program.js +1 -1
  159. package/dist/components/salla-maintenance-alert.js +1 -1
  160. package/dist/components/salla-map2.js +3 -3
  161. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  162. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  163. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  164. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  165. package/dist/components/salla-multiple-bundle-product.js +1 -1
  166. package/dist/components/salla-notification-item2.js +1 -1
  167. package/dist/components/salla-offer-modal.js +1 -1
  168. package/dist/components/salla-order-details.js +1 -1
  169. package/dist/components/salla-order-summary.js +1 -1
  170. package/dist/components/salla-payments.js +2 -2
  171. package/dist/components/salla-placeholder2.js +1 -1
  172. package/dist/components/salla-price-range2.js +2 -2
  173. package/dist/components/salla-product-availability2.js +1 -1
  174. package/dist/components/salla-product-card2.js +5 -5
  175. package/dist/components/salla-product-size-guide.js +2 -2
  176. package/dist/components/salla-quantity-input.js +1 -1
  177. package/dist/components/salla-quick-buy2.js +1 -1
  178. package/dist/components/salla-review-card2.js +1 -1
  179. package/dist/components/salla-reviews-page.js +1 -1
  180. package/dist/components/salla-reviews.js +1 -1
  181. package/dist/components/salla-scopes.js +1 -1
  182. package/dist/components/salla-search.js +5 -5
  183. package/dist/components/salla-skeleton2.js +1 -1
  184. package/dist/components/salla-social-share.js +1 -1
  185. package/dist/components/salla-social.js +1 -1
  186. package/dist/components/salla-tab-content2.js +1 -1
  187. package/dist/components/salla-tab-header2.js +1 -1
  188. package/dist/components/salla-tabs2.js +1 -1
  189. package/dist/components/salla-tel-input2.js +1 -1
  190. package/dist/components/salla-tooltip2.js +1 -1
  191. package/dist/components/salla-user-settings.js +1 -1
  192. package/dist/esm/{filepond-C6DmvP0k.js → filepond-CqDfFTVp.js} +1 -1
  193. package/dist/esm/{filepond-plugin-file-poster-aflPfdvq.js → filepond-plugin-file-poster-Bj5ejqRD.js} +1 -1
  194. package/dist/esm/{filepond-plugin-file-validate-size-2ysTkym4.js → filepond-plugin-file-validate-size-CDa3pirY.js} +1 -1
  195. package/dist/esm/{filepond-plugin-file-validate-type-CvlSQE9k.js → filepond-plugin-file-validate-type-BHJfNcLt.js} +1 -1
  196. package/dist/esm/{filepond-plugin-image-edit-CPNOb0bn.js → filepond-plugin-image-edit-CzuXmnyp.js} +1 -1
  197. package/dist/esm/{filepond-plugin-image-exif-orientation-DSOEX9W9.js → filepond-plugin-image-exif-orientation-Bxdqligt.js} +1 -1
  198. package/dist/esm/{filepond-plugin-image-preview-ZVPoyaGu.js → filepond-plugin-image-preview-DRM_r5yF.js} +1 -1
  199. package/dist/esm/{index-DygKr0gG.js → index-Dbv0I4re.js} +6 -2
  200. package/dist/esm/{index-Dt1F_uJO.js → index-nTW4l4L5.js} +1 -1
  201. package/dist/esm/loader.js +3 -3
  202. package/dist/esm/salla-accordion-body_3.entry.js +4 -4
  203. package/dist/esm/salla-accordion_6.entry.js +2 -2
  204. package/dist/esm/salla-add-product-button_4.entry.js +3 -3
  205. package/dist/esm/salla-advertisement.entry.js +1 -1
  206. package/dist/esm/salla-alert_2.entry.js +1 -1
  207. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  208. package/dist/esm/salla-apps-icons.entry.js +1 -1
  209. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  210. package/dist/esm/salla-bullet-delivery.entry.js +248 -188
  211. package/dist/esm/salla-cart-coupons.entry.js +249 -0
  212. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  213. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  214. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  215. package/dist/esm/salla-contacts.entry.js +1 -1
  216. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  217. package/dist/esm/salla-count-down_2.entry.js +7 -7
  218. package/dist/esm/salla-custom-fields.entry.js +1 -1
  219. package/dist/esm/salla-filters-widget.entry.js +3 -3
  220. package/dist/esm/salla-filters.entry.js +2 -2
  221. package/dist/esm/salla-gifting.entry.js +3 -3
  222. package/dist/esm/salla-hook.entry.js +2 -2
  223. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  224. package/dist/esm/salla-installment.entry.js +1 -1
  225. package/dist/esm/salla-list-tile.entry.js +2 -2
  226. package/dist/esm/salla-localization-modal.entry.js +2 -2
  227. package/dist/esm/salla-login-modal.entry.js +1 -1
  228. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  229. package/dist/esm/salla-loyalty-program.entry.js +2 -2
  230. package/dist/esm/salla-loyalty.entry.js +1 -1
  231. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  232. package/dist/esm/salla-menu.entry.js +1 -1
  233. package/dist/esm/salla-metadata.entry.js +1 -1
  234. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  235. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  236. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  237. package/dist/esm/salla-notification-item.entry.js +2 -2
  238. package/dist/esm/salla-notifications.entry.js +1 -1
  239. package/dist/esm/salla-offer-modal.entry.js +2 -2
  240. package/dist/esm/salla-offer.entry.js +1 -1
  241. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  242. package/dist/esm/salla-order-details-options.entry.js +1 -1
  243. package/dist/esm/salla-order-details.entry.js +2 -2
  244. package/dist/esm/salla-order-summary.entry.js +2 -2
  245. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  246. package/dist/esm/salla-orders.entry.js +1 -1
  247. package/dist/esm/salla-payments.entry.js +3 -3
  248. package/dist/esm/salla-placeholder.entry.js +2 -2
  249. package/dist/esm/salla-price-range.entry.js +3 -3
  250. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  251. package/dist/esm/salla-products-list.entry.js +1 -1
  252. package/dist/esm/salla-products-slider.entry.js +1 -1
  253. package/dist/esm/salla-progress-bar.entry.js +1 -1
  254. package/dist/esm/salla-quick-order.entry.js +1 -1
  255. package/dist/esm/salla-rating-modal.entry.js +1 -1
  256. package/dist/esm/salla-scopes.entry.js +2 -2
  257. package/dist/esm/salla-search.entry.js +6 -6
  258. package/dist/esm/salla-skeleton.entry.js +2 -2
  259. package/dist/esm/salla-slider.entry.js +1 -1
  260. package/dist/esm/salla-social-share.entry.js +2 -2
  261. package/dist/esm/salla-social.entry.js +2 -2
  262. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  263. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  264. package/dist/esm/salla-tooltip.entry.js +2 -2
  265. package/dist/esm/salla-trust-badges.entry.js +1 -1
  266. package/dist/esm/salla-user-menu.entry.js +1 -1
  267. package/dist/esm/salla-user-profile.entry.js +1 -1
  268. package/dist/esm/salla-user-settings.entry.js +2 -2
  269. package/dist/esm/salla-verify.entry.js +1 -1
  270. package/dist/esm/salla-wallet.entry.js +1 -1
  271. package/dist/esm/twilight.js +3 -3
  272. package/dist/esm/{vanilla-picker-vpLzwiOX.js → vanilla-picker-CYgHVJAF.js} +1 -1
  273. package/dist/twilight/{p-d87a6578.entry.js → p-05911caf.entry.js} +1 -1
  274. package/dist/twilight/{p-f001a716.entry.js → p-07cdbd6f.entry.js} +1 -1
  275. package/dist/twilight/{p-97e204bf.entry.js → p-08702001.entry.js} +1 -1
  276. package/dist/twilight/p-08d98540.entry.js +4 -0
  277. package/dist/twilight/{p-b503ed92.entry.js → p-0c31270e.entry.js} +1 -1
  278. package/dist/twilight/{p-b667c2d4.entry.js → p-0da615ba.entry.js} +1 -1
  279. package/dist/twilight/{p-b17de694.entry.js → p-1706c904.entry.js} +1 -1
  280. package/dist/twilight/{p-abda287b.entry.js → p-1881e1df.entry.js} +1 -1
  281. package/dist/twilight/{p-ba9ea832.entry.js → p-1ab7646d.entry.js} +1 -1
  282. package/dist/twilight/{p-ba2754b0.entry.js → p-1b4cb4f3.entry.js} +1 -1
  283. package/dist/twilight/{p-5609c0a2.entry.js → p-1e58ee3f.entry.js} +1 -1
  284. package/dist/twilight/{p-4c8d6286.entry.js → p-2110682a.entry.js} +1 -1
  285. package/dist/twilight/{p-e3725374.entry.js → p-224c2f65.entry.js} +1 -1
  286. package/dist/twilight/{p-e8562b9e.entry.js → p-258e8407.entry.js} +1 -1
  287. package/dist/twilight/{p-a265395a.entry.js → p-2d089b2b.entry.js} +1 -1
  288. package/dist/twilight/{p-4f0da42e.entry.js → p-31b1f09e.entry.js} +1 -1
  289. package/dist/twilight/p-323012d3.entry.js +4 -0
  290. package/dist/twilight/{p-91c7b197.entry.js → p-34a94492.entry.js} +1 -1
  291. package/dist/twilight/p-34ab1e5c.entry.js +4 -0
  292. package/dist/twilight/{p-6a9c0acd.entry.js → p-3d1043b6.entry.js} +1 -1
  293. package/dist/twilight/{p-8d40cb2a.entry.js → p-416b578d.entry.js} +1 -1
  294. package/dist/twilight/{p-31feb28e.entry.js → p-462c51a2.entry.js} +1 -1
  295. package/dist/twilight/{p-11d1af5a.entry.js → p-4aa4dcec.entry.js} +1 -1
  296. package/dist/twilight/{p-26dbba19.entry.js → p-4bc9bc63.entry.js} +1 -1
  297. package/dist/twilight/{p-d1c0eb72.entry.js → p-543bc44f.entry.js} +1 -1
  298. package/dist/twilight/{p-7c05380e.entry.js → p-58d796a0.entry.js} +1 -1
  299. package/dist/twilight/{p-b8f61fb6.entry.js → p-595983cf.entry.js} +1 -1
  300. package/dist/twilight/{p-e6909519.entry.js → p-5a936889.entry.js} +1 -1
  301. package/dist/twilight/p-6d7d53fa.entry.js +4 -0
  302. package/dist/twilight/{p-b900e4bf.entry.js → p-74a9e4dd.entry.js} +1 -1
  303. package/dist/twilight/{p-7ff1a66d.entry.js → p-7a886993.entry.js} +1 -1
  304. package/dist/twilight/{p-0e06763b.entry.js → p-7d932e81.entry.js} +1 -1
  305. package/dist/twilight/{p-3174a7da.entry.js → p-814a00c6.entry.js} +1 -1
  306. package/dist/twilight/{p-069a93a0.entry.js → p-8465d71e.entry.js} +1 -1
  307. package/dist/twilight/p-876ed9cf.entry.js +4 -0
  308. package/dist/twilight/{p-3306e240.entry.js → p-8a8cc10a.entry.js} +1 -1
  309. package/dist/twilight/p-8b19cac5.entry.js +4 -0
  310. package/dist/twilight/{p-fa071bdf.entry.js → p-8e120858.entry.js} +1 -1
  311. package/dist/twilight/{p-b64af3e6.entry.js → p-926bdbde.entry.js} +1 -1
  312. package/dist/twilight/{p-64aaf5d1.entry.js → p-940c57a3.entry.js} +1 -1
  313. package/dist/twilight/{p-7f5da469.entry.js → p-969f4a67.entry.js} +1 -1
  314. package/dist/twilight/{p-717f98a9.entry.js → p-9722f5ed.entry.js} +1 -1
  315. package/dist/twilight/{p-bf5c3fb6.entry.js → p-9770a33e.entry.js} +1 -1
  316. package/dist/twilight/{p-7e6ac5b6.entry.js → p-99e87c67.entry.js} +1 -1
  317. package/dist/twilight/{p-CckfqYjO.js → p-CQc5Pmlu.js} +1 -1
  318. package/dist/twilight/{p-BlNhJOfK.js → p-CWQNB-G4.js} +1 -1
  319. package/dist/twilight/{p-PRDr-VhL.js → p-Cp5Iu5XS.js} +1 -1
  320. package/dist/twilight/{p-CiQozo5Q.js → p-Ct4jcDIY.js} +1 -1
  321. package/dist/twilight/{p-DBSxANjD.js → p-DL3ab5Vo.js} +1 -1
  322. package/dist/twilight/{p-DygKr0gG.js → p-Dbv0I4re.js} +1 -1
  323. package/dist/twilight/{p-kltSiNjL.js → p-DjEHkwKr.js} +1 -1
  324. package/dist/twilight/{p-CU9SaqqL.js → p-Dlb0Gd5v.js} +1 -1
  325. package/dist/twilight/p-a083cc65.entry.js +4 -0
  326. package/dist/twilight/p-a1210656.entry.js +4 -0
  327. package/dist/twilight/{p-15ad8b57.entry.js → p-a19637e3.entry.js} +1 -1
  328. package/dist/twilight/{p-9f92c538.entry.js → p-a28f7329.entry.js} +1 -1
  329. package/dist/twilight/{p-42a88fbe.entry.js → p-ad66730c.entry.js} +1 -1
  330. package/dist/twilight/{p-590aa84f.entry.js → p-aeaa9d52.entry.js} +1 -1
  331. package/dist/twilight/{p-61891d9d.entry.js → p-b176814d.entry.js} +1 -1
  332. package/dist/twilight/{p-db8f128a.entry.js → p-b951691e.entry.js} +1 -1
  333. package/dist/twilight/{p-04b0d99d.entry.js → p-c27bfa01.entry.js} +1 -1
  334. package/dist/twilight/{p-16956de8.entry.js → p-c5a13ec9.entry.js} +1 -1
  335. package/dist/twilight/{p-c18afdd4.entry.js → p-c944064d.entry.js} +1 -1
  336. package/dist/twilight/{p-313de30b.entry.js → p-cdd125b8.entry.js} +1 -1
  337. package/dist/twilight/{p-2f1dc423.entry.js → p-d3f4480c.entry.js} +1 -1
  338. package/dist/twilight/{p-c1d5778e.entry.js → p-d8093d37.entry.js} +1 -1
  339. package/dist/twilight/{p-07aaf6fb.entry.js → p-dbec33e9.entry.js} +1 -1
  340. package/dist/twilight/{p-93fafdb9.entry.js → p-decce284.entry.js} +1 -1
  341. package/dist/twilight/{p-0ac97966.entry.js → p-e2d073fb.entry.js} +1 -1
  342. package/dist/twilight/{p-28c10ffc.entry.js → p-e50916c1.entry.js} +1 -1
  343. package/dist/twilight/{p-d46b9b12.entry.js → p-ecdb3842.entry.js} +1 -1
  344. package/dist/twilight/{p-01cd6efd.entry.js → p-ef9c28da.entry.js} +1 -1
  345. package/dist/twilight/{p-64da3ca2.entry.js → p-f265dd49.entry.js} +1 -1
  346. package/dist/twilight/{p-e294f075.entry.js → p-f51c98c3.entry.js} +1 -1
  347. package/dist/twilight/p-f5465c7d.entry.js +4 -0
  348. package/dist/twilight/{p-4329e96a.entry.js → p-f5bf4c88.entry.js} +1 -1
  349. package/dist/twilight/{p-1dac71bd.entry.js → p-fdc30e0c.entry.js} +1 -1
  350. package/dist/twilight/{p-BqgMCU7i.js → p-jBYzSajd.js} +1 -1
  351. package/dist/twilight/{p-DxwvrO7V.js → p-njEAbf-H.js} +1 -1
  352. package/dist/twilight/twilight.esm.js +1 -1
  353. package/dist/types/components/salla-bullet-delivery/helpers.d.ts +1 -3
  354. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +19 -16
  355. package/dist/types/components/salla-cart-coupons/interfaces.d.ts +26 -0
  356. package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +39 -0
  357. package/dist/types/components.d.ts +19 -0
  358. package/package.json +5 -5
  359. package/dist/twilight/p-1570c69c.entry.js +0 -4
  360. package/dist/twilight/p-72dfb078.entry.js +0 -4
  361. package/dist/twilight/p-7725e637.entry.js +0 -4
  362. package/dist/twilight/p-7e6cc902.entry.js +0 -4
  363. package/dist/twilight/p-a5a159b8.entry.js +0 -4
  364. package/dist/twilight/p-d7440521.entry.js +0 -4
  365. package/dist/twilight/p-ee30137a.entry.js +0 -4
  366. package/dist/twilight/p-fdd668a8.entry.js +0 -4
@@ -0,0 +1,251 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-B99uI20k.js');
7
+
8
+ const sallaCartCouponsCss = "";
9
+
10
+ const SallaCartCoupons = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.availableCoupons = [];
14
+ this.cartTotal = 0;
15
+ this.currentCoupon = '';
16
+ this.couponInputValue = '';
17
+ this.couponError = '';
18
+ this.isApplying = false;
19
+ this.isHandlingInternalError = false;
20
+ // Store cart event listener references for cleanup
21
+ this.cartUpdatedHandler = (cartData) => {
22
+ this.cartTotal = cartData.sub_total ?? cartData.total ?? 0;
23
+ // Update current coupon state
24
+ const couponCode = cartData.coupon || '';
25
+ // Only overwrite the user's typed value when the cart-level coupon itself changes
26
+ if (couponCode !== this.currentCoupon) {
27
+ this.currentCoupon = couponCode;
28
+ this.couponInputValue = couponCode;
29
+ }
30
+ // Clear error when cart updates
31
+ this.couponError = '';
32
+ };
33
+ this.couponAddedHandler = () => {
34
+ // Coupon was successfully added - state is managed by cartUpdatedHandler
35
+ };
36
+ this.couponAdditionFailedHandler = (error) => {
37
+ // Only handle external coupon failures when no internal operation is handling errors
38
+ if (!this.isApplying && !this.isHandlingInternalError) {
39
+ this.showCouponError(error?.message || salla.lang.get('pages.cart.coupon_application_error'));
40
+ }
41
+ // Internal operations handle their own errors to prevent double display
42
+ };
43
+ this.couponDeletedHandler = () => {
44
+ // Coupon was removed - state is managed by cartUpdatedHandler
45
+ };
46
+ // Arrow functions to maintain context for event listeners
47
+ this.onKeyUp = (event) => {
48
+ if (event.key === 'Enter') {
49
+ this.couponButtonRef?.click();
50
+ }
51
+ this.couponError = '';
52
+ };
53
+ this.onInput = (event) => {
54
+ this.couponInputValue = event.target.value;
55
+ };
56
+ }
57
+ async componentWillLoad() {
58
+ await Salla.onReady();
59
+ await Salla.lang.onLoaded();
60
+ //then set your logic here to avoid any race condition
61
+ this.loadCouponsData(); // Load async without blocking render - shows empty until loaded
62
+ this.loadCartTotal();
63
+ this.setupCartEventListeners();
64
+ // Note: No store feature gate needed - coupon availability controlled by backend API response
65
+ }
66
+ componentDidLoad() {
67
+ this.setupCouponInputEvents();
68
+ }
69
+ setupCartEventListeners() {
70
+ // Listen for cart updates to refresh cart total
71
+ salla.event.on('cart::updated', this.cartUpdatedHandler);
72
+ // Listen for coupon events
73
+ salla.event.on('cart::coupon.added', this.couponAddedHandler);
74
+ salla.event.on('cart::coupon.addition.failed', this.couponAdditionFailedHandler);
75
+ salla.event.on('cart::coupon.deleted', this.couponDeletedHandler);
76
+ }
77
+ disconnectedCallback() {
78
+ // Clean up DOM event listeners
79
+ this.couponInputRef?.removeEventListener('keyup', this.onKeyUp);
80
+ this.couponInputRef?.removeEventListener('input', this.onInput);
81
+ // Clean up cart event listeners using reliable global event system
82
+ salla.event.off('cart::updated', this.cartUpdatedHandler);
83
+ salla.event.off('cart::coupon.added', this.couponAddedHandler);
84
+ salla.event.off('cart::coupon.addition.failed', this.couponAdditionFailedHandler);
85
+ salla.event.off('cart::coupon.deleted', this.couponDeletedHandler);
86
+ }
87
+ /**
88
+ * Business Decision: No visual selected state needed
89
+ * UX Flow: Click coupon → populate input → auto-apply (streamlined experience)
90
+ */
91
+ async selectCoupon(couponCode) {
92
+ const selectedCoupon = this.availableCoupons.find(coupon => coupon.code === couponCode);
93
+ if (selectedCoupon) {
94
+ if (!this.isEligible(selectedCoupon)) {
95
+ throw new Error(`Coupon not eligible: minimum cart amount not met`);
96
+ }
97
+ try {
98
+ // Actually apply the coupon to the cart first
99
+ await this.applyCoupon(couponCode);
100
+ // Only dispatch event after successful API call
101
+ this.host.dispatchEvent(new CustomEvent('salla::cart-coupons.coupon.selected', {
102
+ detail: selectedCoupon,
103
+ bubbles: true
104
+ }));
105
+ }
106
+ catch (error) {
107
+ // Rethrow to let caller handle the error
108
+ throw error;
109
+ }
110
+ }
111
+ return selectedCoupon;
112
+ }
113
+ async loadCouponsData() {
114
+ try {
115
+ // Load coupons from API
116
+ const response = await salla.api.request('coupons');
117
+ const raw = response?.data;
118
+ const coupons = Array.isArray(raw) ? raw : (Array.isArray(raw?.data) ? raw.data : []);
119
+ this.availableCoupons = coupons;
120
+ }
121
+ catch (error) {
122
+ console.warn('Failed to load coupons:', error);
123
+ // No coupons available on error
124
+ this.availableCoupons = [];
125
+ }
126
+ }
127
+ loadCartTotal() {
128
+ // Get cart total and current coupon from Salla storage
129
+ const cart = salla.storage.get('cart');
130
+ // Check summary first (more accurate), then cart level, fallback to 0
131
+ this.cartTotal = cart?.summary?.sub_total ?? cart?.sub_total ?? 0;
132
+ this.currentCoupon = cart?.coupon || '';
133
+ this.couponInputValue = cart?.coupon || '';
134
+ }
135
+ setupCouponInputEvents() {
136
+ if (!this.couponInputRef || !this.couponButtonRef) {
137
+ return;
138
+ }
139
+ this.couponInputRef.addEventListener('keyup', this.onKeyUp);
140
+ this.couponInputRef.addEventListener('input', this.onInput);
141
+ }
142
+ async handleCouponButtonClick() {
143
+ if (this.isApplying) {
144
+ return;
145
+ }
146
+ const hasCoupon = !!this.currentCoupon;
147
+ if (!hasCoupon && !this.couponInputValue.trim()) {
148
+ this.showCouponError(salla.lang.get('pages.cart.enter_coupon_code'));
149
+ return;
150
+ }
151
+ this.isApplying = true;
152
+ this.isHandlingInternalError = true;
153
+ try {
154
+ if (hasCoupon) {
155
+ // Remove existing coupon
156
+ await salla.cart.deleteCoupon();
157
+ }
158
+ else {
159
+ // Apply new coupon
160
+ await salla.cart.addCoupon(this.couponInputValue.trim());
161
+ }
162
+ }
163
+ catch (error) {
164
+ this.showCouponError(error.response?.data?.error?.message || salla.lang.get('pages.cart.coupon_application_error'));
165
+ }
166
+ finally {
167
+ this.isApplying = false;
168
+ // Keep internal error flag active briefly to prevent race condition with SDK event
169
+ setTimeout(() => {
170
+ this.isHandlingInternalError = false;
171
+ }, 100);
172
+ }
173
+ }
174
+ showCouponError(message) {
175
+ this.couponError = message;
176
+ }
177
+ handleCouponClick(coupon) {
178
+ this.applyCoupon(coupon.code, false).catch(() => {
179
+ // Error already displayed by applyCoupon
180
+ });
181
+ }
182
+ async applyCoupon(couponCode, shouldThrow = true) {
183
+ if (this.isApplying) {
184
+ if (shouldThrow) {
185
+ throw new Error('Coupon application already in progress');
186
+ }
187
+ else {
188
+ return; // Silent return for card clicks when operation is already in progress
189
+ }
190
+ }
191
+ // Update the input field with the coupon code
192
+ this.couponInputValue = couponCode;
193
+ // Clear any existing errors
194
+ this.couponError = '';
195
+ this.isApplying = true;
196
+ this.isHandlingInternalError = true;
197
+ try {
198
+ // Apply the coupon directly without checking for existing coupon
199
+ await salla.cart.addCoupon(couponCode.trim());
200
+ }
201
+ catch (error) {
202
+ this.showCouponError(error.response?.data?.error?.message || salla.lang.get('pages.cart.coupon_application_error'));
203
+ // Re-throw error only if requested (for selectCoupon API)
204
+ if (shouldThrow) {
205
+ throw error;
206
+ }
207
+ }
208
+ finally {
209
+ this.isApplying = false;
210
+ // Keep internal error flag active briefly to prevent race condition with SDK event
211
+ setTimeout(() => {
212
+ this.isHandlingInternalError = false;
213
+ }, 100);
214
+ }
215
+ }
216
+ formatMainAmount(coupon) {
217
+ if (coupon.type === 'percentage') {
218
+ // For percentage coupons, amount should be a string or number
219
+ const percentageValue = typeof coupon.amount === 'object' ? coupon.amount.amount : coupon.amount;
220
+ return `${salla.helpers.number(percentageValue)}%`;
221
+ }
222
+ else {
223
+ // For fixed coupons, amount is an object with amount and currency
224
+ const amountData = typeof coupon.amount === 'object' ? coupon.amount : {
225
+ amount: coupon.amount,
226
+ currency: coupon.minimum_amount?.currency || salla.config.get('store.currency.code', 'SAR')
227
+ };
228
+ return (index.h("span", { innerHTML: salla.money(amountData.amount, amountData.currency) }));
229
+ }
230
+ }
231
+ isEligible(coupon) {
232
+ if (coupon.minimum_amount && this.cartTotal < parseFloat(coupon.minimum_amount.amount)) {
233
+ return false; // Coupon is not eligible due to minimum amount requirement
234
+ }
235
+ return true;
236
+ }
237
+ renderCouponCard(coupon) {
238
+ const isEligible = this.isEligible(coupon);
239
+ // Note: Card notches (ticket-style pseudo-elements) match card background, not page background - this is intentional design
240
+ return (index.h("div", { class: "s-cart-coupons-slide-one-fourth swiper-slide" }, index.h("div", { class: `s-cart-coupons-card ${!isEligible || this.isApplying ? 's-cart-coupons-disabled' : ''}`, onClick: () => isEligible && !this.isApplying && this.handleCouponClick(coupon) }, index.h("div", { class: "s-cart-coupons-top-section" }, index.h("div", { class: "s-cart-coupons-discount-values" }, index.h("div", { class: "s-cart-coupons-main-amount" }, this.formatMainAmount(coupon)), coupon.free_shipping ? (index.h("div", { class: "s-cart-coupons-secondary-info" }, "+ ", salla.lang.get('pages.cart.free_shipping'))) : coupon.maximum_amount && (index.h("div", { class: "s-cart-coupons-secondary-info" }, salla.lang.get('pages.cart.up_to'), " ", index.h("span", { innerHTML: salla.money(coupon.maximum_amount.amount, coupon.maximum_amount.currency) })))), index.h("div", { class: "s-cart-coupons-code" }, coupon.code)), index.h("div", { class: "s-cart-coupons-divider" }), index.h("div", { class: "s-cart-coupons-bottom-section" }, index.h("div", { class: "s-cart-coupons-terms" }, coupon.remaining_days !== undefined && coupon.remaining_days !== null && (index.h("div", { class: `s-cart-coupons-expiry ${coupon.remaining_days <= 3 ? 's-cart-coupons-expiry-warning' : ''}` }, coupon.remaining_days === 0
241
+ ? salla.lang.get('pages.cart.expires_today')
242
+ : `${salla.lang.get('pages.cart.expires_after')} ${coupon.remaining_days} ${salla.lang.get('pages.cart.day')}`)), coupon.minimum_amount && parseFloat(coupon.minimum_amount.amount) > 0 && (index.h("div", { class: "s-cart-coupons-minimum" }, salla.lang.get('pages.cart.minimum'), " ", index.h("span", { innerHTML: salla.money(coupon.minimum_amount.amount, coupon.minimum_amount.currency) })))), index.h("div", { class: "s-cart-coupons-action" }, isEligible ? salla.lang.get('pages.cart.save_coupon') : salla.lang.get('pages.cart.coupon_not_compatible'))))));
243
+ }
244
+ render() {
245
+ return (index.h(index.Host, { key: 'f3f3d943ab2c1a6488a1da02d2cc031dbc88b482' }, index.h("div", { key: 'abf88828017041b19a6c54ba2f99e6c246bd8d04', class: "s-cart-coupons-wrapper" }, index.h("div", { key: 'c2946579a7cca935722997229f50ede603acb8b2', class: "s-cart-coupons-input-section" }, index.h("label", { key: '50042d827c86daf853babd4e41ba3a920aceda9d', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), index.h("div", { key: '4b01047727bd3a83f6cfbac37221e7732076248f', class: "s-cart-coupons-coupon-input-container" }, index.h("input", { key: '555108f68b7a60c618d9a904905ef321cd274c7a', type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, ref: el => this.couponInputRef = el, "aria-label": salla.lang.get('pages.cart.apply_coupon') }), index.h("salla-button", { key: '0416bbaf029f7d8951ca6a419cdc676ae50ee792', ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick() }, this.currentCoupon ? (index.h("i", { class: "sicon-cancel" })) : (index.h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (index.h("span", { key: 'f7c77e8676cb07b4820b571dbd8ee25dca79a1b1', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (index.h("salla-slider", { key: 'daee9c6705de734d5f81ff86d92ad6952b5a7332', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, index.h("div", { key: '5d5ef30a6ff7f7c2b406cc5cec6622c2f028d17e', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
246
+ }
247
+ get host() { return index.getElement(this); }
248
+ };
249
+ SallaCartCoupons.style = sallaCartCouponsCss;
250
+
251
+ exports.salla_cart_coupons = SallaCartCoupons;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
8
  var gift = require('./gift-CJ-3Yw_x.js');
9
9
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
@@ -217,7 +217,7 @@ const SallaCartSummary = class {
217
217
  return cartUrl;
218
218
  }
219
219
  render() {
220
- return (index.h(index.Host, { key: '4ceefb3809e2e7c1d00bb47b3d9ed58fa0e48c7b' }, index.h("a", { key: '3e4f3ab42958fb12647e53cf0a7a95e780d5727f', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: '496573ce91987c25b0cd5e16d5bb95be610f5db6', id: "s-cart-icon" }, index.h("slot", { key: '53c290cc7e7e5b9d911e1ba430038e0b7ef21dc5', name: "icon" }, index.h("i", { key: 'b9281b127f798e1738e9c59f4e0413e2852271a8', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: 'aa7b03b0f1ca2155034b15420e8c5fac7e440ae1', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '4e8111bba613de3aaefc9a22fbbd6a57e5b9ca6f', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '86a8b09624647bcd715aefaf0afae43b0b8f991e', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: '426d8bf03af7a8f96793bda0ebe593b1b1eebf63', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
220
+ return (index.h(index.Host, { key: '918f027fd28cd25d653b8419f97223daaf22d428' }, index.h("a", { key: 'b74a2724ada356a01b915044d56dfb0f9953338e', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: 'b9332fe1b66b895c1e9950efaa548f04eb053d46', id: "s-cart-icon" }, index.h("slot", { key: '2b5c1cf8dea4ca23a54beeb83cfad44538ca3ab7', name: "icon" }, index.h("i", { key: 'f3145ed4a994762441d925280a3234d78c378bef', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: '26a78adf9b279019504e995216ea5373b6866876', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '60ad091221ed5cd3e2ac0d27ebc53ec9917ccd64', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '66819086b9ed7f6f21be2cd5e8baf0bc88021e40', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'a07c85971e50add3cdd5b51942e642d4daf19d82', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
221
221
  }
222
222
  get host() { return index.getElement(this); }
223
223
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var check = require('./check-x3w3-gpj.js');
8
8
  var anime_es = require('./anime.es-BqW8JHZi.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
@@ -38,7 +38,7 @@ const SallaCommentForm = class {
38
38
  .finally(() => this.submitBtn.stop);
39
39
  }
40
40
  render() {
41
- return (index.h(index.Host, { key: '1c2cdcb7dea3afa14a9fbe7700b05241c6e36770' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
41
+ return (index.h(index.Host, { key: '24b73030ff1828a6f21c1c36a00be2c8651f6edf' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
42
42
  index.h("img", { class: "s-comment-form-avatar", src: salla.config.get('user.avatar'), alt: "user avatar" }) : '', index.h("div", { class: "s-comment-form-content" }, index.h("textarea", { cols: 30, rows: 5, minlength: "4", maxlength: "500", ref: field => this.commentField = field, placeholder: this.placeholder, class: "s-comment-form-input", required: true }), index.h("br", null), index.h("div", { class: "s-comment-form-action" }, index.h("salla-button", { ref: btn => this.submitBtn = btn, "loader-position": 'center', onClick: () => this.submit() }, this.submitText))))) : ''));
43
43
  }
44
44
  };
@@ -177,15 +177,15 @@ const SallaCommentItem = class {
177
177
  }
178
178
  render() {
179
179
  let isAdmin = this.comment.type == 'admin';
180
- return (index.h(index.Host, { key: '93d39f2ef35c0cfdcd6333e58e6a836845b4fe12', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: 'c160b10f946149c293cb0daeaf96aa7b06ba095e', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: '60728bde4f0293cf419b589759b6621c5f0a519a', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: 'aac6a394aa6460756c4c54d0a0c671078d1dddd6', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: 'cdca36fac4f23720084477ee889325942d25341e', class: "s-comments-item-avatar" }, index.h("img", { key: '07e8e17f7470d87607c8aaa8f15e283b129ca070', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: '6ef14e9b64d8300a24d886c081cc66ec621fd2a6', class: "s-comments-flex-1" }, index.h("div", { key: '4f72cfb690978fae30d8ef7c957e6adf53a2872d', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '413840281c0050521a8ae4fd60e502ed821f4260', class: "s-comments-item-user-info" }, index.h("h3", { key: '814c32cefc6b62585022ab3e1cdb59965553f1d2', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
180
+ return (index.h(index.Host, { key: '3f9d4b98cff2dd49259d3386b4996b905f92d7db', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: '1348f11b2e553be483f60c5c558d3e800f050700', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: '0587afd7ae1fc27b12fc4fd2c9ef4bf9e919d04a', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: '40009b2b3b9af60481d0e40d5fb919076ab43b10', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: '8f0563811445046ecf5ce3abe6ee6d7d1ec4a235', class: "s-comments-item-avatar" }, index.h("img", { key: '5f82bb9d3a5c4c340f37b8e48af3edce42c133f8', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: '34581ee9fddaa2f79ee933efb65c2e354010f37a', class: "s-comments-flex-1" }, index.h("div", { key: 'e03fc074d5ac8ddf183e3b081001e73dd62a7116', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '6ea5e07eb9fa35d7673019628e6fde4605b74e0c', class: "s-comments-item-user-info" }, index.h("h3", { key: '18d7cf8c8b8125138a544bd10027ae7503f2f3a6', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
181
181
  index.h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
182
182
  : null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
183
183
  index.h("div", { class: "s-comments-flex" }, this.comment.has_order ?
184
184
  [index.h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: check.iconCheck }), index.h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
185
185
  index.h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
186
- : null), index.h("p", { key: '7c6745073e250e100c8a613e4fd94d751042fb7f', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), index.h("span", { key: '011cfc88b9702e14f6ea9d8ded0fa6f8678adb18', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
186
+ : null), index.h("p", { key: '694c2079d3379966994af7040fe4542481a53e66', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), index.h("span", { key: '734ca2eb6bf846c661007a1b9c41f22c47923b27', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
187
187
  index.h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
188
- : null), index.h("div", { key: '044599867529f9526306ac258981a15e4c43e369', class: "s-comments-item-content" }, index.h("p", { key: 'd3d082f84a154205bb6eedb0d14c2bb9a83387ee', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: 'c475b4911834163084ede77e2c1f289ea9efddca', class: "s-comments-item-images" }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "", onClick: () => this.modal.open() }))), index.h("salla-modal", { key: '384d4555813e8e9c4bf7c6ad626def802f8f6f5a', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: 'a2be6511ff82555b87196183c6f463f4582c18c4', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, index.h("div", { key: 'c6029d94bdddf9958758fbd8c3dbca3e40ad1c01', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: 'b5febbea6d46ce3b920f5bc15866eebb54f440e4', slot: "thumbs" }, this.comment.images.map((image, index$1) => (index.h("div", { class: "s-comments-item-images-slider-thumb" }, index.h("img", { key: index$1, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && salla.url.is_page('product.single') ? index.h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, index.h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), index.h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
188
+ : null), index.h("div", { key: '45e32a0759536f8c9e8bc8b823d50c931bdd1e23', class: "s-comments-item-content" }, index.h("p", { key: '9edf2cdfd489f77214d7a1ecae8a99943dfd4ece', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: 'bbba6c62c4d13289137c634f5413880dfa572ab4', class: "s-comments-item-images" }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "", onClick: () => this.modal.open() }))), index.h("salla-modal", { key: 'cd5c48b8cf3e1c9457a2fb60a42859cbd91aa996', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: '304bc9417e6d7fd0e310127dce4e56a1c6ce00ea', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, index.h("div", { key: '50401766737293c42fa7ba3b351b6db736fd92eb', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: '6b9a50da0b67497dfae21b52044850329d8712b5', slot: "thumbs" }, this.comment.images.map((image, index$1) => (index.h("div", { class: "s-comments-item-images-slider-thumb" }, index.h("img", { key: index$1, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && salla.url.is_page('product.single') ? index.h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, index.h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), index.h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
189
189
  index.h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
190
190
  this.getReplies().map((reply) => {
191
191
  return index.h("div", null, index.h("salla-comment-item", { comment: reply }));
@@ -773,7 +773,7 @@ const SallaReviewCard = class {
773
773
  return (index.h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, index.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 }), index.h("div", { class: "s-review-card-product-details" }, index.h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? index.h("p", { class: "s-review-card-product-details-purchase-count" }, index.h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
774
774
  }
775
775
  render() {
776
- return index.h("div", { key: '48e1eb2b71e5ee6e66def2aac42e9b6255935a17', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), index.h("div", { key: '0b24ea13f1f31224fff7e73d5db6c428adef0bd9', class: "s-review-card-content" }, this.renderHeader(), index.h("p", { key: '44501e61b5eed711820bece91053534a2baacbde', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
776
+ return index.h("div", { key: '2c239df97aea1d28e160ede3e06bd283874bbaea', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), index.h("div", { key: '227c1fad17d6d2bf26316cabf69b854bb23cca52', class: "s-review-card-content" }, this.renderHeader(), index.h("p", { key: '74b06a8c24767d8e8cd7101915055d3861c5d0fd', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
777
777
  }
778
778
  get el() { return index.getElement(this); }
779
779
  };
@@ -870,7 +870,7 @@ const SallaReviews = class {
870
870
  });
871
871
  }
872
872
  render() {
873
- return (index.h("div", { key: '87bb92617b9d324de1302a6ca936f53c32127783', class: "s-reviews-container" }, index.h("div", { key: '9f787c6c51986619ac833dbb5ec600117f44ac11', class: "s-reviews-header-wrapper" }, index.h("h1", { key: 'cfbd2cc1d756a364daae2aadeb622f562a2b2861', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (index.h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, index.h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft.arrowLeft }))) : null), index.h("salla-slider", { key: '2ee3a757f2535a35b8361602a9f5e20700bb7f74', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, index.h("div", { key: '9560489ef5c998b0eef8f0a2a9f7eec5e2f27c6d', slot: "items" }, this.reviews.map((item, index$1) => (index.h("div", { key: index$1, class: "s-reviews-swiper-slide" }, index.h("div", { class: "s-reviews-testimonial" }, index.h("div", { class: "s-reviews-testimonial__inner" }, index.h("div", { class: "s-reviews-testimonial__avatar" }, index.h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index$1, class: "lazy" })), index.h("div", { class: "s-reviews-testimonial__text" }, index.h("p", { innerHTML: item.content }), index.h("div", { class: "s-reviews-testimonial__name_wrapper" }, index.h("div", { class: "s-reviews-testimonial__info" }, item.name && index.h("h2", null, `${item.name}`)), index.h("div", { class: "s-reviews-testimonial__rating" }, index.h("salla-rating-stars", { size: "small", value: item.stars })))), index.h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
873
+ return (index.h("div", { key: '70962f093fe86f8d24c4c7127aea2393753ae0dd', class: "s-reviews-container" }, index.h("div", { key: 'e462464473514c515b4406205f28759101755874', class: "s-reviews-header-wrapper" }, index.h("h1", { key: '4f1d93865eaede37f8c54f82f094b28abf59512c', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (index.h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, index.h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft.arrowLeft }))) : null), index.h("salla-slider", { key: 'a3bb1307ec589cbd33c854ef339addfd00c3782d', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, index.h("div", { key: '2b0739018657616475e85c6c9413365939be33c6', slot: "items" }, this.reviews.map((item, index$1) => (index.h("div", { key: index$1, class: "s-reviews-swiper-slide" }, index.h("div", { class: "s-reviews-testimonial" }, index.h("div", { class: "s-reviews-testimonial__inner" }, index.h("div", { class: "s-reviews-testimonial__avatar" }, index.h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index$1, class: "lazy" })), index.h("div", { class: "s-reviews-testimonial__text" }, index.h("p", { innerHTML: item.content }), index.h("div", { class: "s-reviews-testimonial__name_wrapper" }, index.h("div", { class: "s-reviews-testimonial__info" }, item.name && index.h("h2", null, `${item.name}`)), index.h("div", { class: "s-reviews-testimonial__rating" }, index.h("salla-rating-stars", { size: "small", value: item.stars })))), index.h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
874
874
  }
875
875
  };
876
876
  SallaReviews.style = sallaReviewsCss;
@@ -1550,7 +1550,7 @@ const SallaReviewsPage = class {
1550
1550
  return options.map(option => (index.h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
1551
1551
  }
1552
1552
  render() {
1553
- return (index.h("host", { key: 'a38a67a03a9ef104b0233f560d764b31e5dbe636' }, index.h("div", { key: '9bcd8e6b51ade66e2a7ec6499c03d481e9ea9462', class: "s-reviews-page-header-wrapper" }, index.h("h2", { key: '2af4f0e2f6814278c5f02a53cf20223eba0924b7', class: "s-reviews-page-title" }, this.langTitlesReviews, index.h("span", { key: '9741437a092ae5b56f2633b0cdd7629bb83bcdf4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), index.h("div", { key: '68255bc0c46369dfbfa7966cbae3524014a020e0', class: "s-reviews-page-filter-wrapper" }, index.h("label", { key: '5aa4b79c6de3f960d235b35a3391e0aa883f1803', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), index.h("select", { key: '66ffbca8eab701b4177fbd16deb6b45cd8b03440', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? index.h("main", { class: "s-reviews-page-grid", ref: el => {
1553
+ return (index.h("host", { key: '9e93c876f4cf9d49748bc219cd81c871ddfcb9ba' }, index.h("div", { key: '322e9487de2da90e78ef96eaf126c5ab9839255f', class: "s-reviews-page-header-wrapper" }, index.h("h2", { key: '7f2cc0885d83123bd1a2c0e7d795a7e61987b4a7', class: "s-reviews-page-title" }, this.langTitlesReviews, index.h("span", { key: 'e61048238b21b6645f4799ae1dcd5f9e6d660088', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), index.h("div", { key: 'ce8a0de87512c023f623604c0b486ea4f37ac8ab', class: "s-reviews-page-filter-wrapper" }, index.h("label", { key: '35bcbffd914e811ebf73253d93e7b972f3b56cbc', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), index.h("select", { key: 'e57ea01b2aba04e82c63e51edf952e5c6ee460e6', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? index.h("main", { class: "s-reviews-page-grid", ref: el => {
1554
1554
  this.wrapper = el;
1555
1555
  } }, this.reviews.map(review => (index.h("salla-review-card", { key: review.id, review: review }))))
1556
1556
  : index.h("div", { class: "s-products-list-placeholder" }, index.h("span", { innerHTML: shoppingBag.ShoppingBag }), index.h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (index.h("div", { class: "s-reviews-page-load-more-container" }, index.h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
8
8
  var mail = require('./mail-CO8cFZH7.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
 
8
8
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
 
9
9
  const sallaCountDownCss = "";
@@ -159,7 +159,7 @@ const SallaCountDown = class {
159
159
  return this.renderCountDown();
160
160
  }
161
161
  render() {
162
- return (index.h(index.Host, { key: 'de0e93d1c6bcf24dc3b07705786fb9c204bfa625', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
162
+ return (index.h(index.Host, { key: '0cfdbb009d256be108123cabf3cb4311866bdc17', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
163
163
  }
164
164
  };
165
165
  SallaCountDown.style = sallaCountDownCss;
@@ -272,14 +272,14 @@ const SallaProductCard = class {
272
272
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
273
273
  };
274
274
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
275
- return (index.h(index.Host, { key: 'af7d81ee7f9d8d56c5a8dd6092a57dc0e12cd6f4', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '31491a836d402261afee6c8d28b1600cc5b0b06d', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '18594836114d10d13a26b307b4dd30a399c2657f', ...hrefProp }, index.h("img", { key: '06ccf31c089968eec9cb87fbc8a308e178459577', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
275
+ return (index.h(index.Host, { key: '6c9b39e50f045c2511188597128546e440431b24', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '69813dd46d8df8298835d6de6faca959f2645c6b', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '67080662eb9a5ff4af903b6e57f029925565138b', ...hrefProp }, index.h("img", { key: '8e7a60fff16a8e4f7b27f19aae1c39a16ce8cadd', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
276
276
  ? 'contain'
277
277
  : this.fitImageHeight
278
278
  ? this.fitImageHeight
279
- : '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 && index.h("a", { key: 'a03cd8723f1511ab0c80b46a121f201d4b600670', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
280
- index.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() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'b918024efb5f4e650c16130045d4ac76f688c66b', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
279
+ : '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 && index.h("a", { key: '648cf477ab6ded2d2c02dbf6957d68365524c847', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
280
+ index.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() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'a2ed73abfe91993ded6e84f6f493ea50ee0899a9', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
281
281
  index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
282
- : '', index.h("div", { key: '41b3d71085017bce419692aa01dce166b1fe31ab', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: '0d1eaecd339554a1fcd1af6fd55f0edc94474d55', class: "s-product-card-content-title" }, index.h("a", { key: '203bf0b7fb32629982cbcce236095b8c3663b317', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
282
+ : '', index.h("div", { key: '09fd5336d5c9d454620a91be8271399b938bb1f4', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'c915604dafa02d6ba50e6e9933edbd57149e7a56', class: "s-product-card-content-title" }, index.h("a", { key: '2b80635accb51545b72baf7ff57a115a62457613', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
283
283
  index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
284
284
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
285
285
  [index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -288,7 +288,7 @@ const SallaProductCard = class {
288
288
  this.addBtn.donatingAmount = e.target.value;
289
289
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
290
290
  : '')]
291
- : '', index.h("div", { key: 'f15e29713c258337540bc7cbb3e16339a6e319ab', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
291
+ : '', index.h("div", { key: '12613a96e7d914ea156470305c28a7449a3dcb9b', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
292
292
  index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
293
293
  : ''), this.isSpecial && this.productData.discount_ends
294
294
  ? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var camera = require('./camera-DytepEoK.js');
8
8
  var interfaces = require('./interfaces-CRqrf5RX.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  var interfaces = require('./interfaces-DZDQwN6-.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -171,12 +171,12 @@ const SallaFiltersWidget = class {
171
171
  return index.h("span", { class: "s-filters-option-name" }, label);
172
172
  }
173
173
  render() {
174
- return (index.h(index.Host, { key: 'aaa423868d5ecd62a1d3dbb05a5143f7983e15ab', class: "s-filters-widget-container" }, index.h("h3", { key: '444a72e027f870fcd3f2fb01d8a52d642b1d6fab', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, index.h("span", { key: '1813e58218aefebecdd0b2d8af9ce89ce5c17b9f' }, this.option.label), index.h("span", { key: '11926f6d1343095b29c93f010b99cfc07152918a', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), index.h("div", { key: '24f151541c5da697d157f6f110fb640b316ad533', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (index.h("div", { key: '12b4adb00888f657f9d67f84b377634190e0cedd', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, index.h("input", { key: 'b14ff87ad64e594c3120be3b5e5d102c8d74cd98', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), index.h("div", { key: '9a9f76a9ca1a9ae7e474dcf771e0a58936dee7d7', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, index.h("slot", { key: '020b614afb9c6ca5aadfccafe748e73e8f2fa77a' }), this.option.type !== interfaces.FilterOptionTypes.RANGE
174
+ return (index.h(index.Host, { key: 'e93cfb9f1f6daeb8a2121ccb36a3cf135a55e902', class: "s-filters-widget-container" }, index.h("h3", { key: 'd5ef45d78e0119e2ac997ded417e310c0a797c34', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, index.h("span", { key: 'fe4df56fad0d290395d78588456fb7d00a20ed43' }, this.option.label), index.h("span", { key: 'c961f86b5e06437dfdd145e164da5fe326500032', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), index.h("div", { key: '7cf1ed1b562bf16acc481f682965567d8bc1813c', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (index.h("div", { key: '275427371f48fdfc8ef8b80b9d3e11fa247f7d7a', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, index.h("input", { key: '473c082ed9f7415beba445d36a121027eaadbbe1', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), index.h("div", { key: 'e45654731cdd801345acc5b3311d9ddab3020035', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, index.h("slot", { key: '5ae673157a4b579a000901b04db8e375a52565e7' }), this.option.type !== interfaces.FilterOptionTypes.RANGE
175
175
  ? this.renderFilterOption(this.option)
176
176
  : index.h("salla-price-range", { onChanged: (event) => {
177
177
  this.changed.emit(event.detail);
178
178
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
179
- index.h("a", { key: '4d03eccbc3b357444e27d61c647b09d435ceb1be', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
179
+ index.h("a", { key: '8ec08429d8fb31b338e6f9f9cf455b5ba2155cb8', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
180
180
  }
181
181
  get host() { return index.getElement(this); }
182
182
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var interfaces = require('./interfaces-DZDQwN6-.js');
8
8
  var Helper = require('./Helper-CU4Xuiki.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -195,7 +195,7 @@ const SallaFilters = class {
195
195
  this.applyFilters();
196
196
  }
197
197
  render() {
198
- return index.h(index.Host, { key: '3b38160573591da8249606b8c12b72b58d03551d' }, this.filters?.map(option => index.h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
198
+ return index.h(index.Host, { key: 'f3c454fc20472dca6fe646c9121028a2c045808f' }, this.filters?.map(option => index.h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
199
199
  this.handleOptionChange(event, option, value);
200
200
  } })), this.filters?.length ? index.h("div", { class: "s-filters-footer" }, index.h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
201
201
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
9
9
  var cancel = require('./cancel-De6vslRA.js');
@@ -488,7 +488,7 @@ const SallaGifting = class {
488
488
  }
489
489
  render() {
490
490
  return [
491
- index.h("div", { key: 'ba5575020df2e6e1d72eadc5c15ffa2629a7e0f0' }, index.h("salla-list-tile", { key: '2be6a003eb1881b35001d184fe4e7d8b3a48bcc2', class: this.generateClass() }, index.h("div", { key: 'c1c9762462177aac3571c72608921fb3a71e0c1e', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: '6d25fe0684792b2b18c48b23c3a78fe1f428d371' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: '8943aeec88dd610d159b3ee09e7cf784bfb85057', slot: "subtitle" }, index.h("div", { key: '7e93b7590c04431344d940965f851e6c21565921' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '0b4c0390853b20e1cc1dcd63215d639f6da28d5b', slot: "action" }, index.h("salla-button", { key: '8597cbcfecfe87c4057a0712e78cf5c3ccea9b89', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '48ee9b4c7fd63ae5d49acf137fb429292ade8fd7', name: "widget-btn-content" }, index.h("div", { key: '05681d9d1f8f99b0c8ac722fc4c49a0b7c9dfb7d', class: "s-gifting-widget-action-content" }, index.h("span", { key: '4c22063c0d47096166363bbf458ec2b57615bc6c', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: '2688bf6e45d28f6696e8581d745626ac749b30c6' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '338ce16bd3c615b5a97d8bf09d1bd1fa6388194e', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '33662376e8979c321fce3d2c01060881439bb652', slot: "loading" }, index.h("div", { key: 'ae3173d44990f7c2f41206f9ecd63dc1b30c2a1e', class: "s-gifting-skeleton" }, index.h("div", { key: 'dcab87f7a921763c0a52d122c2eb5b87aca41792', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'c41d6ced2a82554aeb7e36986111832bef6f1f0f', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: 'cbf4e6c3eccc896f4b2675f5877df055d5b884be', class: "s-gifting-modal-title" }, index.h("div", { key: '544134f67bdac37775af422cac9688c7975b0c4b', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '62d175f4b42d24ded6f87f3af700af35febe108f', height: '15px', width: '150px' })))), index.h("div", { key: '7dc39034234bfb0e57cbbc2c395a639cd383a77b', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '5d73d76103a98cd477f4604c3408b6071434c2f5', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '477ee6bf604e799336e7c45f119cfcdbc23cb0ed', height: '230px' }), index.h("salla-skeleton", { key: 'b8c51be1f614081b900465e1445d726be5bb3d48', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '6dae16f42decbd267fa03b7a71103a32fe30e2b1', height: '30px' }), index.h("salla-skeleton", { key: '1b077b2a03c438446a0a9c115e2b61377fcbd542', height: '40px' })))), index.h("slot", { key: 'fb0253f4ca6c6e4cafd0c8496e94d0e6da37d748', name: "header" }), !!this.hasError ?
491
+ index.h("div", { key: '5959120e43b44cd294d9466003422efb26090897' }, index.h("salla-list-tile", { key: '6ba52f5157d734e4c8443a9b4a59703d69eb8e84', class: this.generateClass() }, index.h("div", { key: '26130f1b0e64f7dcc488f2865a19c04c4da28afe', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: 'b26949ce590efdeb7d364bbb65f04cc2e58eb396' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'bfa36868bc7681aa8fb218dcaa032a414609413c', slot: "subtitle" }, index.h("div", { key: 'b070fb428965fd7f2f58573970d5d0604564f682' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '343729605e7b97a7a35e63ca26b46ef2b48d5d8e', slot: "action" }, index.h("salla-button", { key: 'f8d6e1d5f60ea02a271b504fd3daa36215e9a8f3', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: 'c9cc5ec40b0e09aa99e15f464701deb5c9a3f486', name: "widget-btn-content" }, index.h("div", { key: '5b431294450b2c45bc5b3503e022d03872cd4252', class: "s-gifting-widget-action-content" }, index.h("span", { key: '4397140781cf6e311de760e384e1b0f3f429eeeb', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: 'e993b5010cca3eb5c09ab6abc592d29c149292bb' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '13a1010f08acd0c9ef7bdd4eafd3488ae083b0a4', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '0eea1fa6d0ea8240d198e8e7fdd68dc7327fa817', slot: "loading" }, index.h("div", { key: '9e98de0165db06a39e51984419cb93dcb4bd40ad', class: "s-gifting-skeleton" }, index.h("div", { key: 'd302e19b737bc272ccece10bfca0eb019b6ca2cf', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '787d98c862475e7a263d4d501842d0b769e9be4a', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '86b67bbbe29fe5b1bad587432652f36480269c86', class: "s-gifting-modal-title" }, index.h("div", { key: 'af9eb2262a435ce110e355b75f5c0ebdd2a3acdc', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '9311ddd1eb3afdc7c02530451eafc27bbba8b776', height: '15px', width: '150px' })))), index.h("div", { key: '5c87083930311249c7ea735697c3c7d20be4b2e7', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: 'f42adea83216bc972863bd56c5ba0b5f02df6eb1', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '7781766e62dedadff68943e69bc97b54fe6eb22b', height: '230px' }), index.h("salla-skeleton", { key: 'a61810158f2edf8b0f7ed0f44c4985ca1f4b01e7', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '2f2763deca90fcfe66a462befbfb7072decf63c1', height: '30px' }), index.h("salla-skeleton", { key: '2f34b53353830532c900e70660a81d9124bbc1e8', height: '40px' })))), index.h("slot", { key: 'd6f51bf3ee6a11019d25150e26c45fa80a534c43', name: "header" }), !!this.hasError ?
492
492
  index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), index.h("span", { slot: "description" }, " "))
493
493
  :
494
494
  [
@@ -504,7 +504,7 @@ const SallaGifting = class {
504
504
  index.h("div", null, index.h("div", { class: this.errors && this.errors['receiver.country'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), index.h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, index.h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (index.h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
505
505
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), index.h("div", { class: this.errors && this.errors['receiver.city_id'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities }, index.h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (index.h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
506
506
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), index.h("div", { class: "s-gifting-info anime-item opacity-0" }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo))), !this.physicalProducts && index.h("div", { class: "anime-item opacity-0" }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: "s-gifting-step-two-footer anime-item opacity-0" }, index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
507
- ], index.h("slot", { key: '8b69297ac7f9a527c12325a64a267825ea5ee48b', name: "footer" })))
507
+ ], index.h("slot", { key: 'a08d6d434a1d144bd7aa5d3b13754980083a3f4d', name: "footer" })))
508
508
  ];
509
509
  }
510
510
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
 
8
8
  const SallaHook = class {
9
9
  constructor(hostRef) {
@@ -17,7 +17,7 @@ const SallaHook = class {
17
17
  this.host.before(element);
18
18
  }
19
19
  render() {
20
- return index.h(index.Host, { key: 'a887790b6c3fa466e88b0b1c90fda502f3aca812' });
20
+ return index.h(index.Host, { key: '618467f6911198a5cbf4270694544575e585af27' });
21
21
  }
22
22
  async componentDidLoad() {
23
23
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-C0Kew27I.js');
6
+ var index = require('./index-B99uI20k.js');
7
7
 
8
8
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
9
9