@salla.sa/twilight-components 2.14.423 → 2.14.425

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 (311) hide show
  1. package/dist/cjs/{filepond-Do86Z81F.js → filepond-C4PmhHHV.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BltmTwcK.js → filepond-plugin-file-poster-B6S5eF5e.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-D6qDjnWw.js → filepond-plugin-file-validate-size-CfFzuxA9.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BTcaw3yC.js → filepond-plugin-file-validate-type-jEKv5Hd7.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BfSALTq0.js → filepond-plugin-image-edit-DQOrV-Ry.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-YyoN3ZPE.js → filepond-plugin-image-exif-orientation-Cz_ASMw3.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DPZhJU-S.js → filepond-plugin-image-preview-BID_B08L.js} +1 -1
  8. package/dist/cjs/{functions-Vqr_tH33.js → functions-Ceq6Fdli.js} +1 -1
  9. package/dist/cjs/{index-BKsfuSTK.js → index-CLf82f_C.js} +1 -1
  10. package/dist/cjs/{index-B_ubSXmY.js → index-kMRtCTiU.js} +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -2
  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 +1 -1
  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 +29 -13
  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 +5 -27
  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 +1 -1
  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 +1 -1
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +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 +1 -1
  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 +6 -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/{tracked-promise-DfEtIz3d.js → tracked-promise-BaMe0bMq.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-n2ZBl__a.js → vanilla-picker-zFnvE7Mz.js} +1 -1
  98. package/dist/collection/collection-manifest.json +1 -1
  99. package/dist/collection/components/salla-bought-together/salla-bought-together.js +3 -1
  100. package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.js +28 -12
  101. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -4
  102. package/dist/collection/components/salla-menu/salla-menu.js +7 -31
  103. package/dist/components/index.js +2 -2
  104. package/dist/components/salla-bought-together.js +3 -1
  105. package/dist/components/salla-cookies-bar.js +28 -12
  106. package/dist/components/salla-menu.js +5 -28
  107. package/dist/components/salla-reward-details2.js +3 -4
  108. package/dist/esm/{filepond-C27NJlHY.js → filepond-CeST1_WH.js} +1 -1
  109. package/dist/esm/{filepond-plugin-file-poster-CbA3Ow5D.js → filepond-plugin-file-poster-CTfEFtbc.js} +1 -1
  110. package/dist/esm/{filepond-plugin-file-validate-size-DeVDysqG.js → filepond-plugin-file-validate-size-CCKku8DI.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-validate-type-Bk2vWN-H.js → filepond-plugin-file-validate-type-B86NsTLj.js} +1 -1
  112. package/dist/esm/{filepond-plugin-image-edit-MZT3Vams.js → filepond-plugin-image-edit-Ou-DuS54.js} +1 -1
  113. package/dist/esm/{filepond-plugin-image-exif-orientation-CUi24gW6.js → filepond-plugin-image-exif-orientation-C-9cDqTF.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-preview-DNteLpdV.js → filepond-plugin-image-preview-DzdQOY5t.js} +1 -1
  115. package/dist/esm/{functions-WZTrXRSI.js → functions-BKh5b3IT.js} +1 -1
  116. package/dist/esm/{index-Z9TEkBrE.js → index-70YaOB5m.js} +2 -2
  117. package/dist/esm/{index-xqn3qtN8.js → index-CP2vkOm5.js} +1 -1
  118. package/dist/esm/loader.js +3 -3
  119. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  120. package/dist/esm/salla-accordion_6.entry.js +1 -1
  121. package/dist/esm/salla-add-product-button_5.entry.js +4 -2
  122. package/dist/esm/salla-advertisement.entry.js +1 -1
  123. package/dist/esm/salla-alert_2.entry.js +1 -1
  124. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  125. package/dist/esm/salla-apps-icons.entry.js +1 -1
  126. package/dist/esm/salla-badge.entry.js +1 -1
  127. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  128. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  129. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  130. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  131. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  132. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  133. package/dist/esm/salla-contacts.entry.js +1 -1
  134. package/dist/esm/salla-cookies-bar.entry.js +29 -13
  135. package/dist/esm/salla-count-down.entry.js +1 -1
  136. package/dist/esm/salla-custom-fields.entry.js +1 -1
  137. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  138. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  139. package/dist/esm/salla-filters-widget.entry.js +1 -1
  140. package/dist/esm/salla-filters.entry.js +1 -1
  141. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  142. package/dist/esm/salla-gifting.entry.js +1 -1
  143. package/dist/esm/salla-hook.entry.js +1 -1
  144. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  145. package/dist/esm/salla-installment.entry.js +1 -1
  146. package/dist/esm/salla-list-tile.entry.js +1 -1
  147. package/dist/esm/salla-localization-modal.entry.js +1 -1
  148. package/dist/esm/salla-login-modal.entry.js +1 -1
  149. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  150. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  151. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  152. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  153. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  154. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  155. package/dist/esm/salla-loyalty.entry.js +1 -1
  156. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  157. package/dist/esm/salla-map.entry.js +1 -1
  158. package/dist/esm/salla-menu.entry.js +5 -27
  159. package/dist/esm/salla-metadata.entry.js +1 -1
  160. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  161. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  162. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  163. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  164. package/dist/esm/salla-notification-item.entry.js +1 -1
  165. package/dist/esm/salla-notifications.entry.js +1 -1
  166. package/dist/esm/salla-offer-modal.entry.js +1 -1
  167. package/dist/esm/salla-offer.entry.js +1 -1
  168. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  169. package/dist/esm/salla-order-details-options.entry.js +1 -1
  170. package/dist/esm/salla-order-details.entry.js +1 -1
  171. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  172. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  173. package/dist/esm/salla-order-edit.entry.js +1 -1
  174. package/dist/esm/salla-order-summary.entry.js +1 -1
  175. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  176. package/dist/esm/salla-orders.entry.js +1 -1
  177. package/dist/esm/salla-payments.entry.js +1 -1
  178. package/dist/esm/salla-placeholder.entry.js +1 -1
  179. package/dist/esm/salla-price-range.entry.js +1 -1
  180. package/dist/esm/salla-product-card_2.entry.js +1 -1
  181. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  182. package/dist/esm/salla-products-list.entry.js +1 -1
  183. package/dist/esm/salla-progress-bar.entry.js +1 -1
  184. package/dist/esm/salla-quick-order.entry.js +1 -1
  185. package/dist/esm/salla-rating-modal.entry.js +1 -1
  186. package/dist/esm/salla-reward-action_4.entry.js +6 -7
  187. package/dist/esm/salla-scopes.entry.js +1 -1
  188. package/dist/esm/salla-search.entry.js +1 -1
  189. package/dist/esm/salla-skeleton.entry.js +1 -1
  190. package/dist/esm/salla-slider.entry.js +1 -1
  191. package/dist/esm/salla-social-share.entry.js +1 -1
  192. package/dist/esm/salla-social.entry.js +1 -1
  193. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  194. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  195. package/dist/esm/salla-tooltip.entry.js +1 -1
  196. package/dist/esm/salla-trust-badges.entry.js +1 -1
  197. package/dist/esm/salla-user-menu.entry.js +1 -1
  198. package/dist/esm/salla-user-profile.entry.js +1 -1
  199. package/dist/esm/salla-user-settings.entry.js +1 -1
  200. package/dist/esm/salla-verify.entry.js +1 -1
  201. package/dist/esm/salla-wallet.entry.js +1 -1
  202. package/dist/esm/{tracked-promise-9ayPcQ9V.js → tracked-promise-DwX3NCtN.js} +1 -1
  203. package/dist/esm/twilight.js +3 -3
  204. package/dist/esm/{vanilla-picker-DU5T_3-T.js → vanilla-picker-CBo1v7Sf.js} +1 -1
  205. package/dist/twilight/{p-735e5378.entry.js → p-0067e9f3.entry.js} +1 -1
  206. package/dist/twilight/{p-6ab7c83d.entry.js → p-015a47a6.entry.js} +1 -1
  207. package/dist/twilight/{p-b7aa5623.entry.js → p-0196bca8.entry.js} +1 -1
  208. package/dist/twilight/{p-c19887c7.entry.js → p-083d476d.entry.js} +1 -1
  209. package/dist/twilight/{p-321d4374.entry.js → p-08d9f43d.entry.js} +1 -1
  210. package/dist/twilight/{p-598c73c9.entry.js → p-09f07c4c.entry.js} +1 -1
  211. package/dist/twilight/{p-b253d360.entry.js → p-0b61351a.entry.js} +1 -1
  212. package/dist/twilight/{p-97033016.entry.js → p-0d4a309e.entry.js} +1 -1
  213. package/dist/twilight/{p-dc1b4da2.entry.js → p-0f2f5a51.entry.js} +1 -1
  214. package/dist/twilight/{p-f423f1cf.entry.js → p-153839e2.entry.js} +1 -1
  215. package/dist/twilight/{p-9c36f5f1.entry.js → p-1573b331.entry.js} +1 -1
  216. package/dist/twilight/{p-61b6fac2.entry.js → p-1b1f26a5.entry.js} +1 -1
  217. package/dist/twilight/{p-10311a85.entry.js → p-1d1e715e.entry.js} +1 -1
  218. package/dist/twilight/{p-be58b3a7.entry.js → p-23f84cb9.entry.js} +1 -1
  219. package/dist/twilight/{p-cb476df4.entry.js → p-24c95a65.entry.js} +1 -1
  220. package/dist/twilight/{p-b5c33519.entry.js → p-2713ff5a.entry.js} +1 -1
  221. package/dist/twilight/p-298b3e73.entry.js +4 -0
  222. package/dist/twilight/{p-58f17ecc.entry.js → p-2b91803b.entry.js} +1 -1
  223. package/dist/twilight/p-2ca186a6.entry.js +4 -0
  224. package/dist/twilight/{p-c7b15f0a.entry.js → p-2ff2ccbf.entry.js} +1 -1
  225. package/dist/twilight/{p-ea0b6753.entry.js → p-3216bca8.entry.js} +1 -1
  226. package/dist/twilight/{p-d8d62f74.entry.js → p-3efac811.entry.js} +1 -1
  227. package/dist/twilight/{p-776a0bda.entry.js → p-3fbaefca.entry.js} +1 -1
  228. package/dist/twilight/{p-7d4c5da3.entry.js → p-42c060d6.entry.js} +1 -1
  229. package/dist/twilight/{p-f4582cc9.entry.js → p-45262247.entry.js} +1 -1
  230. package/dist/twilight/{p-647a76d0.entry.js → p-462d12d0.entry.js} +1 -1
  231. package/dist/twilight/{p-475bfa77.entry.js → p-48539e33.entry.js} +1 -1
  232. package/dist/twilight/{p-eed5585b.entry.js → p-4864ff76.entry.js} +1 -1
  233. package/dist/twilight/p-49438041.entry.js +4 -0
  234. package/dist/twilight/{p-c4bb47b0.entry.js → p-49f48287.entry.js} +1 -1
  235. package/dist/twilight/{p-6d4850df.entry.js → p-4bddf648.entry.js} +1 -1
  236. package/dist/twilight/{p-38eb6f08.entry.js → p-4c9b0771.entry.js} +1 -1
  237. package/dist/twilight/{p-ef60225f.entry.js → p-5880b550.entry.js} +1 -1
  238. package/dist/twilight/{p-1e6a741d.entry.js → p-6399c26c.entry.js} +1 -1
  239. package/dist/twilight/{p-15d242d1.entry.js → p-655b14a3.entry.js} +1 -1
  240. package/dist/twilight/{p-296b7778.entry.js → p-6920d564.entry.js} +1 -1
  241. package/dist/twilight/{p-79d9b828.entry.js → p-692651c2.entry.js} +1 -1
  242. package/dist/twilight/{p-a9f85080.entry.js → p-69b24346.entry.js} +1 -1
  243. package/dist/twilight/{p-Z9TEkBrE.js → p-70YaOB5m.js} +1 -1
  244. package/dist/twilight/{p-8631c200.entry.js → p-75504213.entry.js} +1 -1
  245. package/dist/twilight/{p-1357f11f.entry.js → p-7aaf0ead.entry.js} +1 -1
  246. package/dist/twilight/{p-51ccd249.entry.js → p-7e9af204.entry.js} +1 -1
  247. package/dist/twilight/{p-31cdb580.entry.js → p-80108f64.entry.js} +1 -1
  248. package/dist/twilight/{p-15b8af3d.entry.js → p-87837e09.entry.js} +1 -1
  249. package/dist/twilight/{p-1aa4f79a.entry.js → p-87c4d85c.entry.js} +1 -1
  250. package/dist/twilight/{p-132d5758.entry.js → p-9269d4ef.entry.js} +1 -1
  251. package/dist/twilight/{p-69d98642.entry.js → p-97373eec.entry.js} +1 -1
  252. package/dist/twilight/{p-93715135.entry.js → p-999df9fc.entry.js} +1 -1
  253. package/dist/twilight/{p-B7NkulJ-.js → p-9UohHo8W.js} +1 -1
  254. package/dist/twilight/{p-79340697.entry.js → p-9b22360a.entry.js} +1 -1
  255. package/dist/twilight/{p-2e69e2a7.entry.js → p-9d0fe3d8.entry.js} +1 -1
  256. package/dist/twilight/{p-BswrPpfs.js → p-BAjO3A2K.js} +1 -1
  257. package/dist/twilight/{p-BDJ2Ykel.js → p-BFNILvDK.js} +1 -1
  258. package/dist/twilight/{p-EhkdtrLx.js → p-Bnp8r9k3.js} +1 -1
  259. package/dist/twilight/{p-DG0XMtHg.js → p-BzW8vEXw.js} +1 -1
  260. package/dist/twilight/{p-DqwP0D-u.js → p-CJdmTH9m.js} +1 -1
  261. package/dist/twilight/{p-BlcvrTiO.js → p-CMlvWYUG.js} +1 -1
  262. package/dist/twilight/{p-ZJAW9yxk.js → p-CzcgRj7R.js} +1 -1
  263. package/dist/twilight/{p-CxlEUP15.js → p-DTtJXi-h.js} +1 -1
  264. package/dist/twilight/p-DuRCS0Sf.js +4 -0
  265. package/dist/twilight/{p-C9yU50YT.js → p-FHCvZUxZ.js} +1 -1
  266. package/dist/twilight/{p-75826fc3.entry.js → p-a2466ff3.entry.js} +1 -1
  267. package/dist/twilight/{p-c763b517.entry.js → p-a4c8afbe.entry.js} +1 -1
  268. package/dist/twilight/{p-1f3d64f3.entry.js → p-a8cb9d06.entry.js} +1 -1
  269. package/dist/twilight/{p-612f2099.entry.js → p-aa2ae157.entry.js} +1 -1
  270. package/dist/twilight/{p-f45efc0c.entry.js → p-abb2be9c.entry.js} +1 -1
  271. package/dist/twilight/{p-872b6790.entry.js → p-b928fbae.entry.js} +1 -1
  272. package/dist/twilight/{p-a6429df2.entry.js → p-bdda3e46.entry.js} +1 -1
  273. package/dist/twilight/{p-847d884f.entry.js → p-bde053e8.entry.js} +1 -1
  274. package/dist/twilight/p-bf9daaa1.entry.js +4 -0
  275. package/dist/twilight/{p-c2dd5774.entry.js → p-c40108f5.entry.js} +1 -1
  276. package/dist/twilight/{p-c4a80854.entry.js → p-c510def4.entry.js} +1 -1
  277. package/dist/twilight/{p-fae2be1f.entry.js → p-cb88cd7a.entry.js} +1 -1
  278. package/dist/twilight/{p-1daa9a08.entry.js → p-cc26d661.entry.js} +1 -1
  279. package/dist/twilight/{p-8138fe7c.entry.js → p-d15805f9.entry.js} +1 -1
  280. package/dist/twilight/{p-75066345.entry.js → p-d5486edf.entry.js} +1 -1
  281. package/dist/twilight/{p-88c6e6ec.entry.js → p-d5d08e02.entry.js} +1 -1
  282. package/dist/twilight/{p-74362d6a.entry.js → p-dc69baae.entry.js} +1 -1
  283. package/dist/twilight/{p-3175cab9.entry.js → p-df452b7c.entry.js} +1 -1
  284. package/dist/twilight/p-df7d2363.entry.js +4 -0
  285. package/dist/twilight/{p-c038e432.entry.js → p-e47eaea8.entry.js} +1 -1
  286. package/dist/twilight/{p-d049f98a.entry.js → p-e93b291d.entry.js} +1 -1
  287. package/dist/twilight/{p-4208c68b.entry.js → p-e9795759.entry.js} +1 -1
  288. package/dist/twilight/{p-7d2ec078.entry.js → p-eb3a6856.entry.js} +1 -1
  289. package/dist/twilight/{p-9410f28a.entry.js → p-eec45a55.entry.js} +1 -1
  290. package/dist/twilight/{p-8b15a7c2.entry.js → p-f02c78d0.entry.js} +1 -1
  291. package/dist/twilight/{p-5bd92466.entry.js → p-f08fe183.entry.js} +1 -1
  292. package/dist/twilight/{p-d0898538.entry.js → p-f0d484e1.entry.js} +1 -1
  293. package/dist/twilight/{p-93221e58.entry.js → p-f3f59999.entry.js} +1 -1
  294. package/dist/twilight/{p-25a9da9c.entry.js → p-f48ba6d5.entry.js} +1 -1
  295. package/dist/twilight/{p-aba22621.entry.js → p-f52dc1a4.entry.js} +1 -1
  296. package/dist/twilight/{p-9d30457e.entry.js → p-f8e960dc.entry.js} +1 -1
  297. package/dist/twilight/{p-f087988a.entry.js → p-f9152bff.entry.js} +1 -1
  298. package/dist/twilight/{p-777a765e.entry.js → p-f9c36d92.entry.js} +1 -1
  299. package/dist/twilight/{p-b785d75d.entry.js → p-fc73a260.entry.js} +1 -1
  300. package/dist/twilight/twilight.esm.js +1 -1
  301. package/dist/types/components/salla-cookies-bar/salla-cookies-bar.d.ts +3 -2
  302. package/dist/types/components/salla-menu/interfaces.d.ts +5 -0
  303. package/dist/types/components/salla-menu/salla-menu.d.ts +1 -2
  304. package/dist/types/components.d.ts +1 -3
  305. package/package.json +5 -5
  306. package/dist/twilight/p-268c86dd.entry.js +0 -4
  307. package/dist/twilight/p-51eb69d7.entry.js +0 -4
  308. package/dist/twilight/p-9b64e741.entry.js +0 -4
  309. package/dist/twilight/p-CmoDOvZI.js +0 -4
  310. package/dist/twilight/p-c77bcf09.entry.js +0 -4
  311. package/dist/twilight/p-f82d4a36.entry.js +0 -4
@@ -100,7 +100,9 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
100
100
  .filter(p => this.selectedIds.has(p.id))
101
101
  // p.price is a plain float in the API response (e.g. 1150.58) — the TS type (any[]) is misleading.
102
102
  .reduce((sum, p) => sum + (p.price ?? 0), 0);
103
- return salla.money(total);
103
+ const decimals = salla.config.get('store.currency.decimals') ?? 2;
104
+ const factor = Math.pow(10, decimals);
105
+ return salla.money(Math.round(total * factor) / factor);
104
106
  }
105
107
  async addSelectedToCart() {
106
108
  if (this.isAdding || !this.selectedIds.size)
@@ -20,21 +20,14 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
20
20
  this.isMobile = false;
21
21
  this.mobileBreakpoint = 768;
22
22
  this.mobileQueryHandler = (e) => (this.isMobile = e.matches);
23
- this.cookiesSettingsAnchorClass = 's-cookies-settings-link';
24
- this.onCookiesSettingsClick = (event) => {
25
- const target = event.target;
26
- const link = target?.closest(`a.${this.cookiesSettingsAnchorClass}`);
27
- if (!link) {
28
- return;
29
- }
30
- event.preventDefault();
31
- this.open();
32
- };
23
+ this.openRequestedHandler = () => this.open();
33
24
  }
34
25
  async componentWillLoad() {
35
26
  await Salla.onReady();
36
27
  await Salla.lang.onLoaded();
37
28
  this.loadTranslations();
29
+ Salla.event.on('salla-cookies-bar::open', this.openRequestedHandler);
30
+ this.unregisterAfterFetchMenuItemsHook = Salla.hooks.registerHook('salla-menu', 'afterFetchMenuItems', (menuComponent) => this.appendCookiesSettingsLink(menuComponent));
38
31
  if (Salla.storage.get('cookies-consent')) {
39
32
  this.isVisible = false;
40
33
  }
@@ -49,11 +42,12 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
49
42
  this.mobileQuery = window.matchMedia(`(max-width: ${this.mobileBreakpoint - 1}px)`);
50
43
  this.isMobile = this.mobileQuery.matches;
51
44
  this.mobileQuery.addEventListener('change', this.mobileQueryHandler);
52
- document.addEventListener('click', this.onCookiesSettingsClick);
53
45
  }
54
46
  disconnectedCallback() {
55
47
  this.mobileQuery?.removeEventListener('change', this.mobileQueryHandler);
56
- document.removeEventListener('click', this.onCookiesSettingsClick);
48
+ Salla.event.off('salla-cookies-bar::open', this.openRequestedHandler);
49
+ this.unregisterAfterFetchMenuItemsHook?.();
50
+ this.unregisterAfterFetchMenuItemsHook = undefined;
57
51
  }
58
52
  /**
59
53
  * Accept cookies consent.
@@ -85,6 +79,28 @@ const SallaCookiesBar$1 = /*@__PURE__*/ proxyCustomElement(class SallaCookiesBar
85
79
  isRtl() {
86
80
  return Salla.config.get('theme.is_rtl', true);
87
81
  }
82
+ appendCookiesSettingsLink(menuComponent) {
83
+ const websiteCookiesEnabled = Salla.config.get('store.features')?.includes('website-cookies');
84
+ if (!websiteCookiesEnabled || !menuComponent?.withCookiePreferences || menuComponent?.source !== 'footer')
85
+ return;
86
+ const settingsHref = '#cookies-settings';
87
+ const hasSettingsLink = menuComponent?.menus.some((m) => m?.url === settingsHref);
88
+ if (hasSettingsLink)
89
+ return;
90
+ // IMPORTANT: avoid mutating @State arrays in-place (Stencil reactivity).
91
+ // Always create a new array reference.
92
+ menuComponent.menus = [...menuComponent.menus, {
93
+ id: 'cookies-settings',
94
+ order: null,
95
+ title: Salla.lang.get('common.cookies.settings'),
96
+ url: settingsHref,
97
+ target: '_self',
98
+ is_by_form_builder: false,
99
+ children: [],
100
+ image: null,
101
+ callback: () => Salla.event.emit('salla-cookies-bar::open'),
102
+ }];
103
+ }
88
104
  render() {
89
105
  if (!this.isVisible) {
90
106
  return h(Host, null);
@@ -18,19 +18,12 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
18
18
  * Boolean indicating whether to use React Link elements for menu links.
19
19
  */
20
20
  this.useReactLink = false;
21
- /**
22
- * When true (footer menu only), appends a link to open cookie preferences.
23
- * Use as `with-cookie-preferences` in markup.
24
- */
25
- this.withCookiePreferences = false;
26
21
  this.menus = [];
27
- this.cookiePreferencesLabel = '';
28
22
  this.displayAllText = '';
29
23
  }
30
24
  async componentWillLoad() {
31
25
  return salla.onReady(() => {
32
26
  this.displayAllText = salla.lang.get('blocks.home.display_all');
33
- this.cookiePreferencesLabel = salla.lang.get('common.cookies.settings');
34
27
  if (this.sourceValue && this.source === 'json') {
35
28
  this.menus = typeof this.sourceValue === 'string' ? JSON.parse(this.sourceValue) : this.sourceValue || [];
36
29
  }
@@ -40,20 +33,9 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
40
33
  });
41
34
  }
42
35
  getMenuItems() {
43
- /**
44
- * Avoid saving the menu to localStorage (default) when in the development environment
45
- * or when modifying the theme in the dashboard
46
- */
47
- // const isPreview = salla.config.isDebug() || salla.helpers.isPreview()
48
- // const cacheKey = `${this.source}_menus_${salla.lang.locale}`
49
- // const cachedMenus = salla.storage.getWithTTL(cacheKey, [])
50
- // if (cachedMenus.length > 0 && !isPreview) {
51
- // this.menus = cachedMenus
52
- // return;
53
- // }
54
- return salla.api.component.getMenus(this.source).then(({ data }) => {
36
+ return salla.api.component.getMenus(this.source).then(async ({ data }) => {
55
37
  this.menus = data;
56
- // !isPreview && salla.storage.setWithTTL(cacheKey, this.menus)
38
+ await salla.hooks.call('salla-menu', 'afterFetchMenuItems', this);
57
39
  }).catch((error) => {
58
40
  salla.logger.error('salla-menu::Error fetching menus', error);
59
41
  });
@@ -118,12 +100,8 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
118
100
  return h("a", { key: menu.id, href: menu.url, target: menu.target, class: {
119
101
  "s-menu-footer-item": !this.topnav,
120
102
  "s-menu-topnav-item topnav-link-item right-side": this.topnav
121
- } }, menu.title);
122
- }), this.withCookiePreferences ? (h("a", { href: "#cookies-settings", class: {
123
- "s-menu-footer-item": !this.topnav,
124
- "s-menu-topnav-item topnav-link-item right-side": this.topnav,
125
- "s-cookies-settings-link": true,
126
- } }, this.cookiePreferencesLabel)) : null));
103
+ }, ...(menu.callback ? { onClick: menu.callback } : {}) }, menu.title);
104
+ })));
127
105
  }
128
106
  /**
129
107
  * Get the menus
@@ -153,8 +131,7 @@ const SallaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SallaMenu extends HTM
153
131
  "useReactLink": [4, "use-react-link"],
154
132
  "limit": [2],
155
133
  "withCookiePreferences": [4, "with-cookie-preferences"],
156
- "menus": [32],
157
- "cookiePreferencesLabel": [32]
134
+ "menus": [32]
158
135
  }]);
159
136
  function defineCustomElement$1() {
160
137
  if (typeof customElements === "undefined") {
@@ -125,7 +125,6 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
125
125
  }
126
126
  getCategoriesJsx(items, title) {
127
127
  return !items.length ? '' : h("div", { class: c('reward-details-categories-wrapper') }, h("div", { class: c('reward-details-categories') }, h("h2", { class: c('reward-details-categories-heading') }, title), h("ul", { class: c('reward-details-categories-list') }, items.map((category) => {
128
- console.log("🚀 ~ SallaRewardDetails ~ getCategoriesJsx ~ category:", category);
129
128
  return (h("li", null, h("a", { href: category.urls?.customer || category.url || category.lingual_urls?.[0], class: c('reward-details-categories-item') }, h("span", { innerHTML: Tag }), h("span", { class: c('reward-details-categories-item-content') }, category.name))));
130
129
  }))));
131
130
  }
@@ -137,11 +136,11 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
137
136
  }
138
137
  render() {
139
138
  const termsAndConditions = this.getTermsAndConditions();
140
- return (h("div", { key: 'ef93a73728cf87285615dfe5dc9345d1a54db64a', class: "s-loyalty-program-reward-modal" }, h("div", { key: '85883b377d8ec2490cde174ea33aa08a64e84b68', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '2be1018fcdfff3966535a5e4cde4e10b99a690f6', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
139
+ return (h("div", { key: 'b292fed409fdc5ed8824e1d3d694ddcf5136a260', class: "s-loyalty-program-reward-modal" }, h("div", { key: '3f276606a45e99bad8fa1e99d9bb00547e3a795c', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '0eea18e23aeb1273785886aebbe067a4b3f1d638', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
141
140
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
142
141
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
143
142
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
144
- } })), this.prize.name)), h("div", { key: 'eac6726dde8b8f5562fc4953ffb5c84830d185d4', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'a0ea8aca31d63016ad4890044a8f9789a4798ee2', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '9ff0ade39430845577a765f897ea50dc07ea498e', class: "s-loyalty-program-aspect-container" }, h("img", { key: '6001c3c5388611f924f22f229d879b48e7f5035e', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '4e69c07ff18b8a652ab852554ecb8a203fc34e16', size: "sm", bg: "light" }, h("span", { key: '854e73b47beeb53bda03ea3a6ac093fbe4098f16', innerHTML: loyaltyProgramIcon }), h("span", { key: 'ed3c8592176708a08016560ee0e35f57bfb3bec4', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'f9b79897d68a7b9b7f35d36ef3e8bf34a58ae3c3', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '663d761572fe3961f616fd10cf98409ca31e5002', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '2756956099b574b793d3a0ea3bcc3de63fc4ab4c', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
143
+ } })), this.prize.name)), h("div", { key: 'a12d8ab8741e502a20f2d310e758894ade551019', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'd8f83e5683e241adc7396ae3910ca533a73930cb', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '36229ddc5eb66cbc6d6b54dc9f73f55d9830ce72', class: "s-loyalty-program-aspect-container" }, h("img", { key: '9892014560501a6da43ff38d51612aa08e4a025d', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'b9f20d7a8570239772e71884b735fc5eb3a8ab62', size: "sm", bg: "light" }, h("span", { key: 'ce7a4e116a8c6b91f4835f90aa28e4d091581da9', innerHTML: loyaltyProgramIcon }), h("span", { key: 'd505628411045a838fef73c124e0940e4be53329', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '9d6041e7093fb173cb1218356a8f23923da2c138', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '1afc5bb9e8eae3d00884363fea13fd2cd7225e20', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '63f6d2d48f0f0277acd800bb238a07724d361b65', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
145
144
  h("salla-tab-header", { slot: "header", name: "included", style: {
146
145
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
147
146
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: IconVerified }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -151,7 +150,7 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
151
150
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
152
151
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: Cancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
153
152
  h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
154
- ]))), h("salla-reward-action", { key: '6576910c32df5d49f33e9372e2c0a3bd758c8125', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
153
+ ]))), h("salla-reward-action", { key: '986205a4f41981993e5ac555fa858ec24c217be0', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
155
154
  }
156
155
  static get watchers() { return {
157
156
  "prize": ["handlePrizeChange"]
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Z9TEkBrE.js';
4
+ import { d as getDefaultExportFromCjs } from './index-70YaOB5m.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h } from './index-Z9TEkBrE.js';
4
+ import { h } from './index-70YaOB5m.js';
5
5
 
6
6
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
7
7
  return number < multipleOf ? number : number - (number % multipleOf);