@salla.sa/twilight-components 2.14.421 → 2.14.423

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 (334) hide show
  1. package/dist/cjs/{filepond-DZq6rMpU.js → filepond-Do86Z81F.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-bfKXAWda.js → filepond-plugin-file-poster-BltmTwcK.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Q7fD5HS8.js → filepond-plugin-file-validate-size-D6qDjnWw.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B3IiM9Bk.js → filepond-plugin-file-validate-type-BTcaw3yC.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BIoXePuj.js → filepond-plugin-image-edit-BfSALTq0.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BZnWr0Hm.js → filepond-plugin-image-exif-orientation-YyoN3ZPE.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CFBJltLk.js → filepond-plugin-image-preview-DPZhJU-S.js} +1 -1
  8. package/dist/cjs/{functions-BRkBgcI0.js → functions-Vqr_tH33.js} +1 -1
  9. package/dist/cjs/{index-fXg1FwER.js → index-BKsfuSTK.js} +1 -1
  10. package/dist/cjs/{index-DDYWBzxi.js → index-B_ubSXmY.js} +12 -8
  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 +1 -1
  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 +10 -10
  21. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +3 -9
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +20 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-menu.cjs.entry.js +14 -2
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +126 -0
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +8 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +24 -4
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +3 -9
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -7
  80. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/swap-stroke-CYGxjKIS.js +13 -0
  96. package/dist/cjs/tag-money-Cuohw_4j.js +13 -0
  97. package/dist/cjs/{tracked-promise-DzZoxrcZ.js → tracked-promise-DfEtIz3d.js} +1 -1
  98. package/dist/cjs/twilight.cjs.js +2 -2
  99. package/dist/cjs/{vanilla-picker-BVAoSLKh.js → vanilla-picker-n2ZBl__a.js} +1 -1
  100. package/dist/collection/collection-manifest.json +6 -0
  101. package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.js +40 -0
  102. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +7 -4
  103. package/dist/collection/components/salla-menu/salla-menu.js +35 -2
  104. package/dist/collection/components/salla-next-order-coupon/interfaces.js +1 -0
  105. package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.css +3 -0
  106. package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.js +142 -0
  107. package/dist/collection/components/salla-offer/salla-offer.js +23 -3
  108. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +7 -1
  109. package/dist/components/index.js +2 -2
  110. package/dist/components/salla-cart-item-offers.js +1 -7
  111. package/dist/components/salla-cookies-bar.js +21 -1
  112. package/dist/components/salla-menu.js +16 -2
  113. package/dist/components/salla-next-order-coupon.d.ts +11 -0
  114. package/dist/components/salla-next-order-coupon.js +165 -0
  115. package/dist/components/salla-offer-modal.js +7 -1
  116. package/dist/components/salla-offer.js +23 -3
  117. package/dist/components/salla-order-summary.js +1 -7
  118. package/dist/components/salla-reward-details2.js +7 -4
  119. package/dist/components/swap-stroke.js +11 -0
  120. package/dist/components/tag-money.js +11 -0
  121. package/dist/esm/{filepond-BkG7zRNW.js → filepond-C27NJlHY.js} +1 -1
  122. package/dist/esm/{filepond-plugin-file-poster-BBohUknW.js → filepond-plugin-file-poster-CbA3Ow5D.js} +1 -1
  123. package/dist/esm/{filepond-plugin-file-validate-size-CWM6JwDZ.js → filepond-plugin-file-validate-size-DeVDysqG.js} +1 -1
  124. package/dist/esm/{filepond-plugin-file-validate-type-D9vBlpjh.js → filepond-plugin-file-validate-type-Bk2vWN-H.js} +1 -1
  125. package/dist/esm/{filepond-plugin-image-edit-BwGogzgJ.js → filepond-plugin-image-edit-MZT3Vams.js} +1 -1
  126. package/dist/esm/{filepond-plugin-image-exif-orientation-DNFa2Zgg.js → filepond-plugin-image-exif-orientation-CUi24gW6.js} +1 -1
  127. package/dist/esm/{filepond-plugin-image-preview-DrbIi9ph.js → filepond-plugin-image-preview-DNteLpdV.js} +1 -1
  128. package/dist/esm/{functions-7e80w1OB.js → functions-WZTrXRSI.js} +1 -1
  129. package/dist/esm/{index-DbC46u_V.js → index-Z9TEkBrE.js} +12 -8
  130. package/dist/esm/{index-DWiN6nE9.js → index-xqn3qtN8.js} +1 -1
  131. package/dist/esm/loader.js +3 -3
  132. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  133. package/dist/esm/salla-accordion_6.entry.js +1 -1
  134. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  135. package/dist/esm/salla-advertisement.entry.js +1 -1
  136. package/dist/esm/salla-alert_2.entry.js +1 -1
  137. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  138. package/dist/esm/salla-apps-icons.entry.js +1 -1
  139. package/dist/esm/salla-badge.entry.js +1 -1
  140. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  141. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  142. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  143. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -8
  144. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  145. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  146. package/dist/esm/salla-contacts.entry.js +1 -1
  147. package/dist/esm/salla-cookies-bar.entry.js +20 -1
  148. package/dist/esm/salla-count-down.entry.js +1 -1
  149. package/dist/esm/salla-custom-fields.entry.js +1 -1
  150. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  151. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  152. package/dist/esm/salla-filters-widget.entry.js +1 -1
  153. package/dist/esm/salla-filters.entry.js +1 -1
  154. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  155. package/dist/esm/salla-gifting.entry.js +1 -1
  156. package/dist/esm/salla-hook.entry.js +1 -1
  157. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  158. package/dist/esm/salla-installment.entry.js +1 -1
  159. package/dist/esm/salla-list-tile.entry.js +1 -1
  160. package/dist/esm/salla-localization-modal.entry.js +1 -1
  161. package/dist/esm/salla-login-modal.entry.js +1 -1
  162. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  163. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  164. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  165. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  166. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  167. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  168. package/dist/esm/salla-loyalty.entry.js +1 -1
  169. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  170. package/dist/esm/salla-map.entry.js +1 -1
  171. package/dist/esm/salla-menu.entry.js +14 -2
  172. package/dist/esm/salla-metadata.entry.js +1 -1
  173. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  174. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  175. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  176. package/dist/esm/salla-next-order-coupon.entry.js +124 -0
  177. package/dist/esm/salla-notification-item.entry.js +1 -1
  178. package/dist/esm/salla-notifications.entry.js +1 -1
  179. package/dist/esm/salla-offer-modal.entry.js +8 -2
  180. package/dist/esm/salla-offer.entry.js +24 -4
  181. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  182. package/dist/esm/salla-order-details-options.entry.js +1 -1
  183. package/dist/esm/salla-order-details.entry.js +1 -1
  184. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  185. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  186. package/dist/esm/salla-order-edit.entry.js +1 -1
  187. package/dist/esm/salla-order-summary.entry.js +2 -8
  188. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  189. package/dist/esm/salla-orders.entry.js +1 -1
  190. package/dist/esm/salla-payments.entry.js +1 -1
  191. package/dist/esm/salla-placeholder.entry.js +1 -1
  192. package/dist/esm/salla-price-range.entry.js +1 -1
  193. package/dist/esm/salla-product-card_2.entry.js +1 -1
  194. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  195. package/dist/esm/salla-products-list.entry.js +1 -1
  196. package/dist/esm/salla-progress-bar.entry.js +1 -1
  197. package/dist/esm/salla-quick-order.entry.js +1 -1
  198. package/dist/esm/salla-rating-modal.entry.js +1 -1
  199. package/dist/esm/salla-reward-action_4.entry.js +10 -7
  200. package/dist/esm/salla-scopes.entry.js +1 -1
  201. package/dist/esm/salla-search.entry.js +1 -1
  202. package/dist/esm/salla-skeleton.entry.js +1 -1
  203. package/dist/esm/salla-slider.entry.js +1 -1
  204. package/dist/esm/salla-social-share.entry.js +1 -1
  205. package/dist/esm/salla-social.entry.js +1 -1
  206. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  207. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  208. package/dist/esm/salla-tooltip.entry.js +1 -1
  209. package/dist/esm/salla-trust-badges.entry.js +1 -1
  210. package/dist/esm/salla-user-menu.entry.js +1 -1
  211. package/dist/esm/salla-user-profile.entry.js +1 -1
  212. package/dist/esm/salla-user-settings.entry.js +1 -1
  213. package/dist/esm/salla-verify.entry.js +1 -1
  214. package/dist/esm/salla-wallet.entry.js +1 -1
  215. package/dist/esm/swap-stroke-DqDX5na4.js +11 -0
  216. package/dist/esm/tag-money-CJUR4sUM.js +11 -0
  217. package/dist/esm/{tracked-promise-BoMxGtXb.js → tracked-promise-9ayPcQ9V.js} +1 -1
  218. package/dist/esm/twilight.js +3 -3
  219. package/dist/esm/{vanilla-picker-BoNPoxF7.js → vanilla-picker-DU5T_3-T.js} +1 -1
  220. package/dist/twilight/{p-18cdd8f5.entry.js → p-10311a85.entry.js} +1 -1
  221. package/dist/twilight/{p-ad519098.entry.js → p-132d5758.entry.js} +1 -1
  222. package/dist/twilight/{p-33df683c.entry.js → p-1357f11f.entry.js} +1 -1
  223. package/dist/twilight/{p-1a0b4f94.entry.js → p-15b8af3d.entry.js} +1 -1
  224. package/dist/twilight/{p-59d30e13.entry.js → p-15d242d1.entry.js} +1 -1
  225. package/dist/twilight/{p-30dc117d.entry.js → p-1aa4f79a.entry.js} +1 -1
  226. package/dist/twilight/{p-b2aa7372.entry.js → p-1daa9a08.entry.js} +1 -1
  227. package/dist/twilight/{p-06196216.entry.js → p-1e6a741d.entry.js} +1 -1
  228. package/dist/twilight/{p-0d56ce44.entry.js → p-1f3d64f3.entry.js} +1 -1
  229. package/dist/twilight/{p-79d1120e.entry.js → p-25a9da9c.entry.js} +1 -1
  230. package/dist/twilight/{p-77bcab66.entry.js → p-268c86dd.entry.js} +1 -1
  231. package/dist/twilight/{p-f68ac4e6.entry.js → p-296b7778.entry.js} +1 -1
  232. package/dist/twilight/{p-b88f28ed.entry.js → p-2e69e2a7.entry.js} +1 -1
  233. package/dist/twilight/p-3175cab9.entry.js +4 -0
  234. package/dist/twilight/{p-55d18399.entry.js → p-31cdb580.entry.js} +1 -1
  235. package/dist/twilight/{p-c3762539.entry.js → p-321d4374.entry.js} +1 -1
  236. package/dist/twilight/{p-0daa4d70.entry.js → p-38eb6f08.entry.js} +1 -1
  237. package/dist/twilight/{p-458b78f1.entry.js → p-4208c68b.entry.js} +1 -1
  238. package/dist/twilight/{p-71393aad.entry.js → p-475bfa77.entry.js} +1 -1
  239. package/dist/twilight/{p-f66b17b4.entry.js → p-51ccd249.entry.js} +1 -1
  240. package/dist/twilight/p-51eb69d7.entry.js +4 -0
  241. package/dist/twilight/{p-f5b9e709.entry.js → p-58f17ecc.entry.js} +1 -1
  242. package/dist/twilight/{p-fbdbc033.entry.js → p-598c73c9.entry.js} +1 -1
  243. package/dist/twilight/{p-563aaf0e.entry.js → p-5bd92466.entry.js} +1 -1
  244. package/dist/twilight/{p-26e8e86d.entry.js → p-612f2099.entry.js} +1 -1
  245. package/dist/twilight/{p-34064c35.entry.js → p-61b6fac2.entry.js} +1 -1
  246. package/dist/twilight/{p-f1aa34f0.entry.js → p-647a76d0.entry.js} +1 -1
  247. package/dist/twilight/{p-4839e7b8.entry.js → p-69d98642.entry.js} +1 -1
  248. package/dist/twilight/{p-935cff30.entry.js → p-6ab7c83d.entry.js} +1 -1
  249. package/dist/twilight/{p-1a14ddaf.entry.js → p-6d4850df.entry.js} +1 -1
  250. package/dist/twilight/{p-b8eeb61e.entry.js → p-735e5378.entry.js} +1 -1
  251. package/dist/twilight/{p-e12a5af8.entry.js → p-74362d6a.entry.js} +1 -1
  252. package/dist/twilight/{p-d3a14c1b.entry.js → p-75066345.entry.js} +1 -1
  253. package/dist/twilight/{p-5694334c.entry.js → p-75826fc3.entry.js} +1 -1
  254. package/dist/twilight/{p-58f092bc.entry.js → p-776a0bda.entry.js} +1 -1
  255. package/dist/twilight/{p-d2b8c827.entry.js → p-777a765e.entry.js} +1 -1
  256. package/dist/twilight/{p-449ffdea.entry.js → p-79340697.entry.js} +1 -1
  257. package/dist/twilight/{p-3ff5e879.entry.js → p-79d9b828.entry.js} +1 -1
  258. package/dist/twilight/{p-298c1c9e.entry.js → p-7d2ec078.entry.js} +1 -1
  259. package/dist/twilight/{p-c02a2fcd.entry.js → p-7d4c5da3.entry.js} +1 -1
  260. package/dist/twilight/{p-850570b7.entry.js → p-8138fe7c.entry.js} +1 -1
  261. package/dist/twilight/{p-1d7a48d5.entry.js → p-847d884f.entry.js} +1 -1
  262. package/dist/twilight/{p-04336d38.entry.js → p-8631c200.entry.js} +1 -1
  263. package/dist/twilight/{p-03cbc25a.entry.js → p-872b6790.entry.js} +1 -1
  264. package/dist/twilight/{p-68c9066c.entry.js → p-88c6e6ec.entry.js} +1 -1
  265. package/dist/twilight/{p-ab69d680.entry.js → p-8b15a7c2.entry.js} +1 -1
  266. package/dist/twilight/p-93221e58.entry.js +4 -0
  267. package/dist/twilight/{p-91e115ee.entry.js → p-93715135.entry.js} +1 -1
  268. package/dist/twilight/{p-69d25f66.entry.js → p-9410f28a.entry.js} +1 -1
  269. package/dist/twilight/p-97033016.entry.js +4 -0
  270. package/dist/twilight/{p-09ef1bfd.entry.js → p-9b64e741.entry.js} +1 -1
  271. package/dist/twilight/{p-41743733.entry.js → p-9c36f5f1.entry.js} +1 -1
  272. package/dist/twilight/{p-07b48592.entry.js → p-9d30457e.entry.js} +1 -1
  273. package/dist/twilight/{p-B4aouEym.js → p-B7NkulJ-.js} +1 -1
  274. package/dist/twilight/{p-BfBD_dZY.js → p-BDJ2Ykel.js} +1 -1
  275. package/dist/twilight/{p-D70co0Me.js → p-BlcvrTiO.js} +1 -1
  276. package/dist/twilight/p-BswrPpfs.js +9 -0
  277. package/dist/twilight/{p-DpyekdaY.js → p-C9yU50YT.js} +2 -2
  278. package/dist/twilight/p-CJUR4sUM.js +4 -0
  279. package/dist/twilight/{p-Lt3b2USq.js → p-CmoDOvZI.js} +1 -1
  280. package/dist/twilight/{p-Dr1FS7by.js → p-CxlEUP15.js} +1 -1
  281. package/dist/twilight/{p-C52jz7Qy.js → p-DG0XMtHg.js} +1 -1
  282. package/dist/twilight/p-DqDX5na4.js +4 -0
  283. package/dist/twilight/{p-Ck_RfmRo.js → p-DqwP0D-u.js} +1 -1
  284. package/dist/twilight/{p-C4GWkh-f.js → p-EhkdtrLx.js} +1 -1
  285. package/dist/twilight/{p-DbC46u_V.js → p-Z9TEkBrE.js} +1 -1
  286. package/dist/twilight/{p-DXvleSvk.js → p-ZJAW9yxk.js} +1 -1
  287. package/dist/twilight/{p-29353f6d.entry.js → p-a6429df2.entry.js} +1 -1
  288. package/dist/twilight/p-a9f85080.entry.js +4 -0
  289. package/dist/twilight/{p-ad033d91.entry.js → p-aba22621.entry.js} +1 -1
  290. package/dist/twilight/{p-d88a136d.entry.js → p-b253d360.entry.js} +1 -1
  291. package/dist/twilight/{p-30b20068.entry.js → p-b5c33519.entry.js} +1 -1
  292. package/dist/twilight/{p-30e87289.entry.js → p-b785d75d.entry.js} +1 -1
  293. package/dist/twilight/{p-0f68b304.entry.js → p-b7aa5623.entry.js} +1 -1
  294. package/dist/twilight/p-be58b3a7.entry.js +4 -0
  295. package/dist/twilight/{p-fb818de2.entry.js → p-c038e432.entry.js} +1 -1
  296. package/dist/twilight/{p-c22dbb9a.entry.js → p-c19887c7.entry.js} +1 -1
  297. package/dist/twilight/{p-5695e345.entry.js → p-c2dd5774.entry.js} +1 -1
  298. package/dist/twilight/{p-a9be6107.entry.js → p-c4a80854.entry.js} +1 -1
  299. package/dist/twilight/{p-40d6f65f.entry.js → p-c4bb47b0.entry.js} +1 -1
  300. package/dist/twilight/{p-d70f0f18.entry.js → p-c763b517.entry.js} +1 -1
  301. package/dist/twilight/p-c77bcf09.entry.js +4 -0
  302. package/dist/twilight/{p-c3a53221.entry.js → p-c7b15f0a.entry.js} +1 -1
  303. package/dist/twilight/{p-0e5c5cc9.entry.js → p-cb476df4.entry.js} +1 -1
  304. package/dist/twilight/{p-a86695b3.entry.js → p-d049f98a.entry.js} +1 -1
  305. package/dist/twilight/{p-11c2fdd8.entry.js → p-d0898538.entry.js} +1 -1
  306. package/dist/twilight/{p-5a30b7be.entry.js → p-d8d62f74.entry.js} +1 -1
  307. package/dist/twilight/{p-ed50975c.entry.js → p-dc1b4da2.entry.js} +1 -1
  308. package/dist/twilight/{p-6f9a2d6f.entry.js → p-ea0b6753.entry.js} +1 -1
  309. package/dist/twilight/{p-8f808e77.entry.js → p-eed5585b.entry.js} +1 -1
  310. package/dist/twilight/{p-087c9bdc.entry.js → p-ef60225f.entry.js} +1 -1
  311. package/dist/twilight/{p-29d3dd5f.entry.js → p-f087988a.entry.js} +1 -1
  312. package/dist/twilight/{p-17371658.entry.js → p-f423f1cf.entry.js} +1 -1
  313. package/dist/twilight/{p-efe216ac.entry.js → p-f4582cc9.entry.js} +1 -1
  314. package/dist/twilight/{p-e1dd834e.entry.js → p-f45efc0c.entry.js} +1 -1
  315. package/dist/twilight/p-f82d4a36.entry.js +4 -0
  316. package/dist/twilight/{p-1ec3c41a.entry.js → p-fae2be1f.entry.js} +1 -1
  317. package/dist/twilight/twilight.esm.js +1 -1
  318. package/dist/types/components/salla-cookies-bar/salla-cookies-bar.d.ts +6 -0
  319. package/dist/types/components/salla-menu/salla-menu.d.ts +6 -0
  320. package/dist/types/components/salla-next-order-coupon/interfaces.d.ts +11 -0
  321. package/dist/types/components/salla-next-order-coupon/salla-next-order-coupon.d.ts +24 -0
  322. package/dist/types/components/salla-offer/interfaces.d.ts +6 -1
  323. package/dist/types/components/salla-offer/salla-offer.d.ts +1 -0
  324. package/dist/types/components/salla-offer-modal/offer-schema.d.ts +5 -0
  325. package/dist/types/components.d.ts +27 -0
  326. package/package.json +5 -5
  327. package/dist/twilight/p-22e5882c.entry.js +0 -4
  328. package/dist/twilight/p-2da1ab0d.entry.js +0 -4
  329. package/dist/twilight/p-51898257.entry.js +0 -4
  330. package/dist/twilight/p-62252d95.entry.js +0 -4
  331. package/dist/twilight/p-7816b794.entry.js +0 -4
  332. package/dist/twilight/p-90d5b4d3.entry.js +0 -4
  333. package/dist/twilight/p-DRrArHhd.js +0 -9
  334. package/dist/twilight/p-bfae823f.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h } from './index-Z9TEkBrE.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
5
 
6
6
  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}";
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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaListTileCss = "";
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-DbC46u_V.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Z9TEkBrE.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
7
+ import { T as TrackedPromise } from './tracked-promise-9ayPcQ9V.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-7e80w1OB.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
+ import { c as closeModals, f as formattedPointsJsx } from './functions-WZTrXRSI.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DbC46u_V.js';
4
+ import { h, r as registerInstance } from './index-Z9TEkBrE.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-7e80w1OB.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-WZTrXRSI.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
12
+ import { T as TrackedPromise } from './tracked-promise-9ayPcQ9V.js';
13
13
 
14
14
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
15
15
 
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DbC46u_V.js';
4
+ import { h, r as registerInstance } from './index-Z9TEkBrE.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-7e80w1OB.js';
6
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-WZTrXRSI.js';
7
7
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
8
8
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
9
9
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
10
10
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
11
11
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
12
12
  import { S as SIGift } from './gift-CXRKXFgT.js';
13
- import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
13
+ import { T as TrackedPromise } from './tracked-promise-9ayPcQ9V.js';
14
14
  import { a as anime } from './anime.es-CgtvEd63.js';
15
15
 
16
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-DbC46u_V.js';
5
- import { c as closeModals } from './functions-7e80w1OB.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-Z9TEkBrE.js';
5
+ import { c as closeModals } from './functions-WZTrXRSI.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h } from './index-Z9TEkBrE.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { S as SICancel } from './cancel-8Tsmrwno.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
5
  import { S as SICancel } from './cancel-8Tsmrwno.js';
6
6
 
7
7
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Z9TEkBrE.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
 
7
7
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7
 
@@ -16,11 +16,19 @@ const SallaMenu = class {
16
16
  * Boolean indicating whether to use React Link elements for menu links.
17
17
  */
18
18
  this.useReactLink = false;
19
+ /**
20
+ * When true (footer menu only), appends a link to open cookie preferences.
21
+ * Use as `with-cookie-preferences` in markup.
22
+ */
23
+ this.withCookiePreferences = false;
19
24
  this.menus = [];
25
+ this.cookiePreferencesLabel = '';
26
+ this.displayAllText = '';
20
27
  }
21
28
  async componentWillLoad() {
22
29
  return salla.onReady(() => {
23
30
  this.displayAllText = salla.lang.get('blocks.home.display_all');
31
+ this.cookiePreferencesLabel = salla.lang.get('common.cookies.settings');
24
32
  if (this.sourceValue && this.source === 'json') {
25
33
  this.menus = typeof this.sourceValue === 'string' ? JSON.parse(this.sourceValue) : this.sourceValue || [];
26
34
  }
@@ -109,7 +117,11 @@ const SallaMenu = class {
109
117
  "s-menu-footer-item": !this.topnav,
110
118
  "s-menu-topnav-item topnav-link-item right-side": this.topnav
111
119
  } }, menu.title);
112
- })));
120
+ }), this.withCookiePreferences ? (h("a", { href: "#cookies-settings", class: {
121
+ "s-menu-footer-item": !this.topnav,
122
+ "s-menu-topnav-item topnav-link-item right-side": this.topnav,
123
+ "s-cookies-settings-link": true,
124
+ } }, this.cookiePreferencesLabel)) : null));
113
125
  }
114
126
  /**
115
127
  * Get the menus
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Z9TEkBrE.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
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, a as getElement } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Z9TEkBrE.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}";
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -0,0 +1,124 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { r as registerInstance, h } from './index-Z9TEkBrE.js';
5
+ import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
6
+ import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
7
+
8
+ const sallaNextOrderCouponCss = ":host{display:block}";
9
+
10
+ const SallaNextOrderCoupon = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.coupon = null;
14
+ this.isLoading = true;
15
+ this.titlePercentTpl = '';
16
+ this.titleFixedTpl = '';
17
+ this.badgeLabel = '';
18
+ this.minSpendTpl = '';
19
+ this.expiresTpl = '';
20
+ this.shopNowLabel = '';
21
+ this.copyLabel = '';
22
+ this.copiedLabel = '';
23
+ }
24
+ componentWillLoad() {
25
+ Salla.onReady()
26
+ .then(() => Salla.lang.onLoaded())
27
+ .then(() => {
28
+ this.loadTranslations();
29
+ return this.loadCoupon();
30
+ })
31
+ .catch(() => {
32
+ this.isLoading = false;
33
+ });
34
+ }
35
+ loadTranslations() {
36
+ this.titlePercentTpl = Salla.lang.get('pages.thank_you.next_order_coupon.title_percent') || '';
37
+ this.titleFixedTpl = Salla.lang.get('pages.thank_you.next_order_coupon.title_fixed') || '';
38
+ this.badgeLabel = Salla.lang.get('pages.thank_you.next_order_coupon.badge') || '';
39
+ this.minSpendTpl = Salla.lang.get('pages.thank_you.next_order_coupon.min_spend') || '';
40
+ this.expiresTpl = Salla.lang.get('pages.thank_you.next_order_coupon.expires') || '';
41
+ this.shopNowLabel = Salla.lang.get('pages.thank_you.next_order_coupon.shop_now') || '';
42
+ this.copyLabel = Salla.lang.get('common.elements.copy') || '';
43
+ this.copiedLabel = Salla.lang.get('pages.thank_you.next_order_coupon.copied') || '';
44
+ }
45
+ async loadCoupon() {
46
+ try {
47
+ const response = await salla.api.request('coupons', { type: 'thankyou' });
48
+ const raw = response?.data;
49
+ const list = Array.isArray(raw) ? raw : (Array.isArray(raw?.data) ? raw.data : []);
50
+ this.coupon = list[0] ?? null;
51
+ }
52
+ catch {
53
+ this.coupon = null;
54
+ }
55
+ finally {
56
+ this.isLoading = false;
57
+ }
58
+ }
59
+ async copyCode() {
60
+ if (!this.coupon)
61
+ return;
62
+ try {
63
+ await navigator.clipboard.writeText(this.coupon.code);
64
+ salla.notify.success(this.copiedLabel);
65
+ salla.event.dispatch('salla::next-order-coupon.code.copied', { code: this.coupon.code });
66
+ }
67
+ catch {
68
+ // clipboard write failed silently
69
+ }
70
+ }
71
+ isPercentage() {
72
+ return this.coupon?.type === 'P' || this.coupon?.type === 'percentage';
73
+ }
74
+ formatAmount() {
75
+ if (!this.coupon)
76
+ return '';
77
+ if (this.isPercentage()) {
78
+ return `${salla.helpers.number(this.coupon.amount)}%`;
79
+ }
80
+ const amt = this.coupon.amount;
81
+ if (typeof amt === 'object' && amt.amount) {
82
+ const a = amt;
83
+ return h("span", { innerHTML: salla.money(a.amount, a.currency) });
84
+ }
85
+ return h("span", { innerHTML: salla.money(amt) });
86
+ }
87
+ formatMinSpend() {
88
+ const min = this.coupon?.minimum_amount;
89
+ if (!min)
90
+ return '';
91
+ if (typeof min === 'string') {
92
+ return min.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
93
+ }
94
+ return salla.money(min.amount, min.currency);
95
+ }
96
+ formatExpiry() {
97
+ const d = this.coupon?.expiry_date;
98
+ if (!d)
99
+ return '';
100
+ return new Date(d).toLocaleDateString(Salla.lang.locale || 'en-GB');
101
+ }
102
+ renderSkeleton() {
103
+ return (h("div", { class: "s-next-order-coupon-wrapper s-next-order-coupon-skeleton" }, h("div", { class: "s-next-order-coupon-inner" }, h("div", { class: "s-next-order-coupon-info" }, h("salla-skeleton", { type: "normal", width: "48px", height: "48px" }), h("div", { class: "s-next-order-coupon-details" }, h("salla-skeleton", { height: "14px", width: "220px" }), h("salla-skeleton", { height: "12px", width: "140px" }))), h("div", { class: "s-next-order-coupon-actions" }, h("salla-skeleton", { height: "40px", width: "140px" }), h("salla-skeleton", { height: "40px", width: "100px" })))));
104
+ }
105
+ renderTitle() {
106
+ const amount = this.formatAmount();
107
+ const tpl = this.isPercentage() ? this.titlePercentTpl : this.titleFixedTpl;
108
+ const placeholder = this.isPercentage() ? ':amount%' : ':amount';
109
+ const parts = tpl.split(placeholder);
110
+ return (h("p", { class: "s-next-order-coupon-title" }, parts[0], h("span", { class: "s-next-order-coupon-amount" }, amount), parts[1] || ''));
111
+ }
112
+ render() {
113
+ if (this.isLoading)
114
+ return this.renderSkeleton();
115
+ if (!this.coupon)
116
+ return null;
117
+ const minSpend = this.formatMinSpend();
118
+ const expiry = this.formatExpiry();
119
+ return (h("div", { class: "s-next-order-coupon-wrapper" }, h("div", { class: "s-next-order-coupon-inner" }, h("div", { class: "s-next-order-coupon-info" }, h("div", { class: "s-next-order-coupon-icon-wrap" }, h("span", { class: "s-next-order-coupon-icon-bg" }), h("span", { class: "s-next-order-coupon-icon", innerHTML: TagMoneyIcon })), h("div", { class: "s-next-order-coupon-details" }, h("div", { class: "s-next-order-coupon-title-row" }, this.renderTitle(), h("span", { class: "s-next-order-coupon-badge" }, h("span", { class: "s-next-order-coupon-badge-bg" }), h("span", { class: "s-next-order-coupon-badge-text" }, this.badgeLabel))), (minSpend || expiry) && (h("p", { class: "s-next-order-coupon-meta" }, minSpend && (h("span", { innerHTML: this.minSpendTpl.replace(':amount', minSpend) })), expiry && (h("span", null, this.expiresTpl.replace(':date', expiry))))))), h("div", { class: "s-next-order-coupon-actions" }, h("div", { class: "s-next-order-coupon-code-box" }, h("span", { class: "s-next-order-coupon-code-text" }, this.coupon.code), h("salla-button", { shape: "link", class: "s-next-order-coupon-copy-btn", title: this.copyLabel, onClick: () => this.copyCode() }, h("span", { class: "s-next-order-coupon-copy-icon", innerHTML: iconCopy }))), h("salla-button", { href: salla.url.get(''), class: "s-next-order-coupon-shop-btn" }, this.shopNowLabel)))));
120
+ }
121
+ };
122
+ SallaNextOrderCoupon.style = sallaNextOrderCouponCss;
123
+
124
+ export { SallaNextOrderCoupon as salla_next_order_coupon };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DbC46u_V.js';
4
+ import { r as registerInstance, h } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
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-DbC46u_V.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Z9TEkBrE.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Z9TEkBrE.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';
@@ -109,6 +109,9 @@ const SallaOfferModal = class {
109
109
  else if (this.offer.get.brands?.length) {
110
110
  this.offer_type = 'brands';
111
111
  }
112
+ else if (this.offer.get.tags?.length) {
113
+ this.offer_type = 'tags';
114
+ }
112
115
  this.modal.setTitle(this.offer_name);
113
116
  this.emitPromotionViewed(this.offer);
114
117
  }
@@ -181,6 +184,9 @@ const SallaOfferModal = class {
181
184
  else if (this.offer.get.brands?.length) {
182
185
  return h("salla-slider", { type: "carousel", class: { "s-offer-modal-slider-centered": this.offer.get.brands?.length <= 2, "s-offer-modal-slider": true }, id: "offer-modal-slider", "controls-outer": true, "show-controls": this.offer.get.brands?.length <= 2 ? 'false' : 'true' }, h("div", { slot: 'items' }, this.offer.get.brands.map((brand) => h("a", { href: brand.url || salla.url.create('brands', brand.id), class: "s-offer-modal-badge s-offer-modal-slider-item s-offer-modal-brand-item" }, h("div", { class: "s-offer-modal-brand-logo" }, h("img", { src: brand.logo, alt: brand.name })), h("span", { class: "s-offer-modal-badge-text" }, brand.name)))));
183
186
  }
187
+ else if (this.offer.get.tags?.length) {
188
+ return h("salla-slider", { type: "carousel", class: { "s-offer-modal-slider-centered": this.offer.get.tags?.length <= 2, "s-offer-modal-slider": true }, id: "offer-modal-slider", "controls-outer": true, "show-controls": this.offer.get.tags?.length <= 2 ? 'false' : 'true' }, h("div", { slot: 'items' }, this.offer.get.tags.map((tag) => h("a", { href: tag.url || salla.url.create('tags', tag.id), class: "s-offer-modal-badge s-offer-modal-slider-item s-offer-modal-tag-item" }, h("span", { class: "s-offer-modal-badge-icon", innerHTML: SITag }), h("span", { class: "s-offer-modal-badge-text" }, tag.name)))));
189
+ }
184
190
  }
185
191
  //todo:: pass event then use sallaButton from it
186
192
  // private addItem() {
@@ -198,7 +204,7 @@ const SallaOfferModal = class {
198
204
  // '</div>';
199
205
  // }
200
206
  render() {
201
- return h("salla-modal", { key: '8be68e5882a9cbb1f4286f765f5db3ce88689c16', "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: '570bcafe6a1a00534b26ee25aa154e46594cb662', slot: 'loading' }, h("div", { key: 'baee23d1ad4429e8663fcf043004bf0747fe47de', class: "s-offer-modal-skeleton" }, h("div", { key: '1c6967ecfb17092c48247c17c2ce86b8ca048c77', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'a6ce5a415d4e6350c2467d7d3c070fddaeccd074', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '2d65ed027b9fff7eae7ecbb372f9e584a0334cf5', height: '15px', width: '50%' }), h("salla-skeleton", { key: '247706c9ddf7d2b9f96c7ea2deac960de3449017', height: '10px', width: '30%' })), h("div", { key: 'b5c9fec6565313706e2d6b73e2f060e4b216ffbc', 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: '58e2d38061e8e4434113b1fc16f3601969e342da', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: 'c388e246236e4849e5d97592ea6a803e6409083f', height: '15px', width: '50%' }), h("salla-skeleton", { key: '4ccd783b15647cf62f1b5b4d760f3e7feead7bfb', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
207
+ return h("salla-modal", { key: '3387816ac4997e48ce463de1acae69583a99eef1', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '38ee273912aeec936b6762cac52eca16b65c2744', slot: 'loading' }, h("div", { key: '05911f31ca0884953185cbc1ac1c7b7ad007baf1', class: "s-offer-modal-skeleton" }, h("div", { key: '095055ba94627a2800e65be09a516286f3eea9c3', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'b1469e4e49e0d90602b9d0fac8672a9a063141f6', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '7b738f6b9b153a49d03bb76a57690e2de9749d87', height: '15px', width: '50%' }), h("salla-skeleton", { key: '6d88e7ad3e419ab5a647bdd2215976bacd892e8d', height: '10px', width: '30%' })), h("div", { key: 'ee012a7a75a728ee76fa0888c487ac6d63c05efa', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: SICart2 }))))), h("div", { key: 'db71ea2e16e6d219bfeb1320b174e75d9e5fab19', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '862658e0a5df3c1a2350c2a571f4f0e8f8a4d0af', height: '15px', width: '50%' }), h("salla-skeleton", { key: '0f3c58145caf12c90626742c8cbc768a442a3ce4', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
202
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 ?
203
209
  h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
204
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-DbC46u_V.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Z9TEkBrE.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -190,6 +190,9 @@ const SallaOffer = class {
190
190
  if (details.apply_to === 'brand' && details.targets) {
191
191
  details.brands = details.targets;
192
192
  }
193
+ if (details.apply_to === 'tag' && details.targets) {
194
+ details.tags = details.targets;
195
+ }
193
196
  if (offer.type === OfferType.BuyXGetY && details.get) {
194
197
  const getY = details.get;
195
198
  if (getY.source === 'products' && getY.source_value) {
@@ -310,7 +313,7 @@ const SallaOffer = class {
310
313
  const products = this.getOfferProducts(offer);
311
314
  const hasProducts = products && products.length > 0;
312
315
  const isCollapsed = this.collapsedOffers[offer.id] !== false; // Default to collapsed
313
- return (h("div", { class: "s-offer-drawer-card" }, h("div", { class: "s-offer-card-main", onClick: () => this.emitPromotionClicked(offer, position) }, h("div", { class: "s-offer-card-icon" }, this.getOfferIcon(offer.type)), h("div", { class: "s-offer-card-content" }, h("h3", { class: "s-offer-card-title", title: offer.title }, offer.title), offer.description && h("p", { class: "s-offer-card-description" }, offer.description), offer.type === OfferType.DiscountsTable ? (h("div", { class: "s-offer-card-details" }, this.renderDiscountTableOfferContent(offer))) : (offer.type === OfferType.PercentageOrFixed || offer.type === OfferType.Percentage || offer.type === OfferType.FixedAmount) ? (h("div", { class: "s-offer-card-details" }, this.renderPercentageOrFixedOfferContent(offer), this.renderOfferCategories(offer), this.renderOfferBrands(offer))) : (h("div", { class: "s-offer-card-details" }, this.renderOfferCategories(offer), this.renderOfferBrands(offer))))), hasProducts && (h("salla-accordion", { collapsed: isCollapsed, collapsible: true, size: "sm", onClick: (e) => e.stopPropagation(), onAccordionToggle: (e) => this.handleAccordionToggle(offer.id, e.detail.payload.collapsed) }, h("salla-accordion-head", { collapsible: true, collapsed: isCollapsed }, h("div", { slot: "title", class: "s-offer-products-thumbnails" }, h("span", { class: "s-offer-products-title" }, this.products_link_text, h("i", { class: `sicon-keyboard_arrow_${isCollapsed ? 'down' : 'up'} s-offer-products-link-icon` })), h("div", { class: "s-offer-products-thumbnails-stack" }, products.slice(0, 3).map((product, index) => (h("div", { class: "s-offer-product-thumbnail", style: { zIndex: `${index + 1}` } }, h("img", { src: product.thumbnail || product.image?.url || salla.url.cdn('images/s-empty.png'), alt: product.name })))), products.length > 3 && (h("div", { class: "s-offer-products-more-count", style: { zIndex: '7' } }, "+", products.length - 3))))), h("salla-accordion-body", null, h("div", { class: "s-offer-products-content" }, h("salla-products-list", { source: "selected", "source-value": JSON.stringify(products.map(p => p.id)), "product-card-component": this.productCardComponent, "horizontal-cards": true, "compact-cards": true, includes: ["images"] })))))));
316
+ return (h("div", { class: "s-offer-drawer-card" }, h("div", { class: "s-offer-card-main", onClick: () => this.emitPromotionClicked(offer, position) }, h("div", { class: "s-offer-card-icon" }, this.getOfferIcon(offer.type)), h("div", { class: "s-offer-card-content" }, h("h3", { class: "s-offer-card-title", title: offer.title }, offer.title), offer.description && h("p", { class: "s-offer-card-description" }, offer.description), offer.type === OfferType.DiscountsTable ? (h("div", { class: "s-offer-card-details" }, this.renderDiscountTableOfferContent(offer))) : (offer.type === OfferType.PercentageOrFixed || offer.type === OfferType.Percentage || offer.type === OfferType.FixedAmount) ? (h("div", { class: "s-offer-card-details" }, this.renderPercentageOrFixedOfferContent(offer), this.renderOfferCategories(offer), this.renderOfferBrands(offer), this.renderOfferTags(offer))) : (h("div", { class: "s-offer-card-details" }, this.renderOfferCategories(offer), this.renderOfferBrands(offer), this.renderOfferTags(offer))))), hasProducts && (h("salla-accordion", { collapsed: isCollapsed, collapsible: true, size: "sm", onClick: (e) => e.stopPropagation(), onAccordionToggle: (e) => this.handleAccordionToggle(offer.id, e.detail.payload.collapsed) }, h("salla-accordion-head", { collapsible: true, collapsed: isCollapsed }, h("div", { slot: "title", class: "s-offer-products-thumbnails" }, h("span", { class: "s-offer-products-title" }, this.products_link_text, h("i", { class: `sicon-keyboard_arrow_${isCollapsed ? 'down' : 'up'} s-offer-products-link-icon` })), h("div", { class: "s-offer-products-thumbnails-stack" }, products.slice(0, 3).map((product, index) => (h("div", { class: "s-offer-product-thumbnail", style: { zIndex: `${index + 1}` } }, h("img", { src: product.thumbnail || product.image?.url || salla.url.cdn('images/s-empty.png'), alt: product.name })))), products.length > 3 && (h("div", { class: "s-offer-products-more-count", style: { zIndex: '7' } }, "+", products.length - 3))))), h("salla-accordion-body", null, h("div", { class: "s-offer-products-content" }, h("salla-products-list", { source: "selected", "source-value": JSON.stringify(products.map(p => p.id)), "product-card-component": this.productCardComponent, "horizontal-cards": true, "compact-cards": true, includes: ["images"] })))))));
314
317
  }
315
318
  renderOfferCard(offer, position = 1) {
316
319
  return (h("div", { class: "s-offer-slide-one-fourth swiper-slide", onClick: () => this.emitPromotionClicked(offer, position) }, h("div", { class: "s-offer-card" }, h("div", { class: "s-offer-card-icon" }, this.getOfferIcon(offer.type)), h("div", { class: "s-offer-card-content" }, h("h3", { class: "s-offer-card-title", title: offer.title }, offer.title), offer.description && h("p", { class: "s-offer-card-description" }, offer.description), h("div", { class: "s-offer-card-details" }, offer.type === OfferType.DiscountsTable
@@ -319,11 +322,13 @@ const SallaOffer = class {
319
322
  ? [
320
323
  this.renderPercentageOrFixedOfferContent(offer),
321
324
  this.renderOfferCategories(offer),
322
- this.renderOfferBrands(offer)
325
+ this.renderOfferBrands(offer),
326
+ this.renderOfferTags(offer)
323
327
  ]
324
328
  : [
325
329
  this.renderOfferCategories(offer),
326
- this.renderOfferBrands(offer)
330
+ this.renderOfferBrands(offer),
331
+ this.renderOfferTags(offer)
327
332
  ], this.renderProductsLinkForModalCard(offer, false))))));
328
333
  }
329
334
  getOfferIcon(offerType) {
@@ -403,6 +408,21 @@ const SallaOffer = class {
403
408
  this.toggleCategoryExpansion(offer.id);
404
409
  } }, isExpanded ? (h("span", null, h("i", { class: "sicon-keyboard_arrow_up" }), ' ', salla.lang.get('common.elements.hide', 'إخفاء'))) : (h("span", null, salla.lang.get('common.elements.show', 'عرض'), " ", `+${brands.length - maxVisible}`, ' ', h("i", { class: "sicon-keyboard_arrow_down" }))))))));
405
410
  }
411
+ renderOfferTags(offer) {
412
+ const details = offer.details;
413
+ const tags = details.tags || [];
414
+ if (!tags.length)
415
+ return null;
416
+ const maxVisible = 3;
417
+ const isExpanded = this.expandedCategories[offer.id];
418
+ const shouldShowMore = tags.length > maxVisible;
419
+ const visibleTags = isExpanded ? tags : tags.slice(0, maxVisible);
420
+ return (h("div", { class: "s-offer-categories" }, h("div", { class: "s-offer-categories-list" }, visibleTags.map((tag, index) => (h("a", { key: index, class: "s-offer-category-item", href: tag.url || salla.url.create('tags', tag.id) }, tag.name))), shouldShowMore && (h("span", { class: "s-offer-categories-toggle", onClick: (e) => {
421
+ e.preventDefault();
422
+ e.stopPropagation();
423
+ this.toggleCategoryExpansion(offer.id);
424
+ } }, isExpanded ? (h("span", null, h("i", { class: "sicon-keyboard_arrow_up" }), ' ', salla.lang.get('common.elements.hide', 'إخفاء'))) : (h("span", null, salla.lang.get('common.elements.show', 'عرض'), " ", `+${tags.length - maxVisible}`, ' ', h("i", { class: "sicon-keyboard_arrow_down" }))))))));
425
+ }
406
426
  /**
407
427
  * Toggle category expansion for a specific offer
408
428
  */
@@ -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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Z9TEkBrE.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Z9TEkBrE.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-DbC46u_V.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
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-DbC46u_V.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-Z9TEkBrE.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-DbC46u_V.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-Z9TEkBrE.js';
5
5
 
6
6
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
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-DbC46u_V.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Z9TEkBrE.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