@salla.sa/twilight-components 2.14.476 → 2.14.477

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 (317) hide show
  1. package/dist/cjs/{filepond-CJ-ohhaG.js → filepond-BPOBCHtP.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DEg147-W.js → filepond-plugin-file-poster-DbvRC1aN.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Cd9ZtF22.js → filepond-plugin-file-validate-size-Ct-KrfsV.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-Kse5TjAn.js → filepond-plugin-file-validate-type-1JHE8ekO.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-DRgtgiQH.js → filepond-plugin-image-edit-DNW2nkrj.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B6a2oJcX.js → filepond-plugin-image-exif-orientation-B5PMdim6.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-UbYGoPcJ.js → filepond-plugin-image-preview-ReD_Bouv.js} +1 -1
  8. package/dist/cjs/{functions-lMzyaZ1L.js → functions-COijBsIS.js} +1 -1
  9. package/dist/cjs/{index-CvkzTFUU.js → index-Deydcv8E.js} +2 -2
  10. package/dist/cjs/{index-DbSdIHzI.js → index-r7vZK338.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  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_2.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 +9 -9
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-scopes.cjs.entry.js +5 -6
  85. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  100. package/dist/cjs/{tracked-promise-ChTKDERU.js → tracked-promise-C0WQFeoI.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +1 -1
  102. package/dist/cjs/{vanilla-picker-ClhLWTOR.js → vanilla-picker-iI-y1JgN.js} +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +8 -8
  104. package/dist/collection/components/salla-scopes/salla-scopes.js +4 -5
  105. package/dist/components/index.js +2 -2
  106. package/dist/components/salla-cart-summary.js +8 -8
  107. package/dist/components/salla-scopes.js +4 -5
  108. package/dist/esm/{filepond-CI5IhawK.js → filepond-CaznQRkF.js} +1 -1
  109. package/dist/esm/{filepond-plugin-file-poster-Br3XP08y.js → filepond-plugin-file-poster-rZxLWBof.js} +1 -1
  110. package/dist/esm/{filepond-plugin-file-validate-size-evoB_lus.js → filepond-plugin-file-validate-size-DjyoyY-c.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-validate-type-DINMO_PM.js → filepond-plugin-file-validate-type-CiUZHqHn.js} +1 -1
  112. package/dist/esm/{filepond-plugin-image-edit-BezFD6qn.js → filepond-plugin-image-edit-DqXGEWIO.js} +1 -1
  113. package/dist/esm/{filepond-plugin-image-exif-orientation-DpQFMoWn.js → filepond-plugin-image-exif-orientation-BWrZyNPX.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-preview-COAzYcXw.js → filepond-plugin-image-preview-DQTgGlAO.js} +1 -1
  115. package/dist/esm/{functions-DRBXCFuf.js → functions-CtSUyz0e.js} +1 -1
  116. package/dist/esm/{index-Cbv5qmRi.js → index-BZ_7FA29.js} +1 -1
  117. package/dist/esm/{index-CCmkpaUr.js → index-Bu-9gKKq.js} +2 -2
  118. package/dist/esm/loader.js +2 -2
  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 +1 -1
  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_2.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 +9 -9
  131. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  132. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  133. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  134. package/dist/esm/salla-contacts.entry.js +1 -1
  135. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  136. package/dist/esm/salla-count-down.entry.js +1 -1
  137. package/dist/esm/salla-custom-fields.entry.js +1 -1
  138. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  139. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  140. package/dist/esm/salla-filters-widget.entry.js +1 -1
  141. package/dist/esm/salla-filters.entry.js +1 -1
  142. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  143. package/dist/esm/salla-gifting.entry.js +1 -1
  144. package/dist/esm/salla-hook.entry.js +1 -1
  145. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  146. package/dist/esm/salla-installment.entry.js +1 -1
  147. package/dist/esm/salla-list-tile.entry.js +1 -1
  148. package/dist/esm/salla-localization-modal.entry.js +1 -1
  149. package/dist/esm/salla-login-modal.entry.js +1 -1
  150. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  151. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  152. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  153. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  154. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  155. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  156. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  157. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  158. package/dist/esm/salla-loyalty.entry.js +1 -1
  159. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  160. package/dist/esm/salla-map_2.entry.js +1 -1
  161. package/dist/esm/salla-menu.entry.js +1 -1
  162. package/dist/esm/salla-metadata.entry.js +1 -1
  163. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  164. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  165. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  166. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  167. package/dist/esm/salla-notification-item.entry.js +1 -1
  168. package/dist/esm/salla-notifications.entry.js +1 -1
  169. package/dist/esm/salla-offer-modal.entry.js +1 -1
  170. package/dist/esm/salla-offer.entry.js +1 -1
  171. package/dist/esm/salla-order-branch.entry.js +1 -1
  172. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  173. package/dist/esm/salla-order-details-options.entry.js +1 -1
  174. package/dist/esm/salla-order-details.entry.js +1 -1
  175. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  176. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  177. package/dist/esm/salla-order-edit.entry.js +1 -1
  178. package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
  179. package/dist/esm/salla-order-summary.entry.js +1 -1
  180. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  181. package/dist/esm/salla-orders.entry.js +1 -1
  182. package/dist/esm/salla-payments.entry.js +1 -1
  183. package/dist/esm/salla-placeholder.entry.js +1 -1
  184. package/dist/esm/salla-price-range.entry.js +1 -1
  185. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  186. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  187. package/dist/esm/salla-products-list.entry.js +1 -1
  188. package/dist/esm/salla-quick-order.entry.js +1 -1
  189. package/dist/esm/salla-rating-modal.entry.js +1 -1
  190. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  191. package/dist/esm/salla-scopes.entry.js +5 -6
  192. package/dist/esm/salla-search.entry.js +1 -1
  193. package/dist/esm/salla-skeleton.entry.js +1 -1
  194. package/dist/esm/salla-slider.entry.js +1 -1
  195. package/dist/esm/salla-social-share.entry.js +1 -1
  196. package/dist/esm/salla-social.entry.js +1 -1
  197. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  198. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  199. package/dist/esm/salla-tooltip.entry.js +1 -1
  200. package/dist/esm/salla-trust-badges.entry.js +1 -1
  201. package/dist/esm/salla-user-menu.entry.js +1 -1
  202. package/dist/esm/salla-user-profile.entry.js +1 -1
  203. package/dist/esm/salla-user-settings.entry.js +1 -1
  204. package/dist/esm/salla-verify.entry.js +1 -1
  205. package/dist/esm/salla-wallet.entry.js +1 -1
  206. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  207. package/dist/esm/{tracked-promise-BeB1W9ZQ.js → tracked-promise-BbP_DeSq.js} +1 -1
  208. package/dist/esm/twilight.js +2 -2
  209. package/dist/esm/{vanilla-picker-Bs4N6Pj2.js → vanilla-picker-CWXcUJzF.js} +1 -1
  210. package/dist/twilight/{p-5280ac1a.entry.js → p-00d9055a.entry.js} +1 -1
  211. package/dist/twilight/{p-fecf9d4d.entry.js → p-03201e64.entry.js} +1 -1
  212. package/dist/twilight/{p-958c0578.entry.js → p-106ac177.entry.js} +1 -1
  213. package/dist/twilight/{p-52f364c5.entry.js → p-11174ae9.entry.js} +1 -1
  214. package/dist/twilight/{p-b12bb5de.entry.js → p-15c5c464.entry.js} +1 -1
  215. package/dist/twilight/{p-cd43186a.entry.js → p-17fcab81.entry.js} +1 -1
  216. package/dist/twilight/{p-2ebb5fd5.entry.js → p-1fe875b9.entry.js} +1 -1
  217. package/dist/twilight/{p-2ba4c828.entry.js → p-2270edf3.entry.js} +1 -1
  218. package/dist/twilight/p-24085dc8.entry.js +4 -0
  219. package/dist/twilight/{p-e8ba458c.entry.js → p-24c72ca6.entry.js} +1 -1
  220. package/dist/twilight/{p-c6b00d42.entry.js → p-253ee083.entry.js} +1 -1
  221. package/dist/twilight/{p-26146e88.entry.js → p-2adab08f.entry.js} +1 -1
  222. package/dist/twilight/{p-828ef579.entry.js → p-2b3b66e3.entry.js} +1 -1
  223. package/dist/twilight/p-31bf3eff.entry.js +4 -0
  224. package/dist/twilight/{p-e61c518b.entry.js → p-3426f464.entry.js} +1 -1
  225. package/dist/twilight/{p-df6bb4de.entry.js → p-35db222e.entry.js} +1 -1
  226. package/dist/twilight/{p-935eaeee.entry.js → p-3615f787.entry.js} +1 -1
  227. package/dist/twilight/{p-e21d39fe.entry.js → p-36457705.entry.js} +1 -1
  228. package/dist/twilight/{p-75b6878c.entry.js → p-388902c2.entry.js} +1 -1
  229. package/dist/twilight/{p-67ca7c30.entry.js → p-3caad9dc.entry.js} +1 -1
  230. package/dist/twilight/{p-63cbc37e.entry.js → p-3ee04641.entry.js} +1 -1
  231. package/dist/twilight/{p-240c246f.entry.js → p-3fa73380.entry.js} +1 -1
  232. package/dist/twilight/{p-394ffd54.entry.js → p-41524fe9.entry.js} +1 -1
  233. package/dist/twilight/{p-79392bfc.entry.js → p-43d75ec1.entry.js} +1 -1
  234. package/dist/twilight/{p-21d8849a.entry.js → p-4699831c.entry.js} +1 -1
  235. package/dist/twilight/{p-575f3be3.entry.js → p-49454762.entry.js} +1 -1
  236. package/dist/twilight/{p-2bb4bb3f.entry.js → p-5059bfa4.entry.js} +1 -1
  237. package/dist/twilight/{p-b4769ff3.entry.js → p-510586d5.entry.js} +1 -1
  238. package/dist/twilight/{p-762336bc.entry.js → p-5119f36c.entry.js} +1 -1
  239. package/dist/twilight/{p-181cac59.entry.js → p-51e32813.entry.js} +1 -1
  240. package/dist/twilight/{p-5d15dc88.entry.js → p-53355b4c.entry.js} +1 -1
  241. package/dist/twilight/{p-c726eb0c.entry.js → p-53e7f24a.entry.js} +1 -1
  242. package/dist/twilight/{p-d8e62777.entry.js → p-55678651.entry.js} +1 -1
  243. package/dist/twilight/{p-ce96edb8.entry.js → p-568e8caa.entry.js} +1 -1
  244. package/dist/twilight/{p-fd434f3d.entry.js → p-58793c83.entry.js} +1 -1
  245. package/dist/twilight/{p-07a45122.entry.js → p-5fd0ae58.entry.js} +1 -1
  246. package/dist/twilight/{p-34665b64.entry.js → p-64ab3e06.entry.js} +1 -1
  247. package/dist/twilight/{p-85e1e3a0.entry.js → p-6b247b74.entry.js} +1 -1
  248. package/dist/twilight/{p-b8b84400.entry.js → p-6b3dbc40.entry.js} +1 -1
  249. package/dist/twilight/{p-c598e4ad.entry.js → p-6f0da76a.entry.js} +1 -1
  250. package/dist/twilight/{p-8ea37098.entry.js → p-75173a3c.entry.js} +1 -1
  251. package/dist/twilight/{p-1e189138.entry.js → p-7870331a.entry.js} +1 -1
  252. package/dist/twilight/{p-db1a17f6.entry.js → p-7a446f68.entry.js} +1 -1
  253. package/dist/twilight/{p-4ba215e9.entry.js → p-7de81167.entry.js} +1 -1
  254. package/dist/twilight/{p-64d12607.entry.js → p-7ecb7eb5.entry.js} +1 -1
  255. package/dist/twilight/{p-64f43db0.entry.js → p-7fcf0c70.entry.js} +1 -1
  256. package/dist/twilight/{p-5d0bf892.entry.js → p-83173fd6.entry.js} +1 -1
  257. package/dist/twilight/{p-49ff092f.entry.js → p-896a2d9b.entry.js} +1 -1
  258. package/dist/twilight/{p-b7225165.entry.js → p-9231c4f6.entry.js} +1 -1
  259. package/dist/twilight/{p-9f924f46.entry.js → p-9618b81b.entry.js} +1 -1
  260. package/dist/twilight/{p-93063769.entry.js → p-98f6b084.entry.js} +1 -1
  261. package/dist/twilight/{p-ec0cf9b1.entry.js → p-9aabbd97.entry.js} +1 -1
  262. package/dist/twilight/{p-9b137fc1.entry.js → p-9da47592.entry.js} +1 -1
  263. package/dist/twilight/{p-D2k9qKuv.js → p-B0kvvFwK.js} +1 -1
  264. package/dist/twilight/{p-BpTzhiML.js → p-B4YFau93.js} +1 -1
  265. package/dist/twilight/p-BIDWRRAS.js +4 -0
  266. package/dist/twilight/{p-CRXgfxZz.js → p-Bg2ha7OA.js} +1 -1
  267. package/dist/twilight/{p-CCmkpaUr.js → p-Bu-9gKKq.js} +1 -1
  268. package/dist/twilight/{p-CbUMLp_K.js → p-C5l_M5_U.js} +1 -1
  269. package/dist/twilight/{p-DqwP04u2.js → p-CAwHqRMt.js} +1 -1
  270. package/dist/twilight/{p-Dn4aj2-G.js → p-CEHIYVsy.js} +1 -1
  271. package/dist/twilight/{p-XVDeaVNt.js → p-CyRvF0eJ.js} +1 -1
  272. package/dist/twilight/{p-Dn4zZcaL.js → p-D0dlNrJY.js} +1 -1
  273. package/dist/twilight/{p-nN-08mtR.js → p-_KwzHh05.js} +1 -1
  274. package/dist/twilight/{p-CCIAKfEz.js → p-_NroeSza.js} +1 -1
  275. package/dist/twilight/{p-6e0c8680.entry.js → p-a1872162.entry.js} +1 -1
  276. package/dist/twilight/{p-80961ab7.entry.js → p-a260ccf9.entry.js} +1 -1
  277. package/dist/twilight/{p-b7ef118c.entry.js → p-a3eb0b51.entry.js} +1 -1
  278. package/dist/twilight/{p-f1f8b22c.entry.js → p-aed798f2.entry.js} +1 -1
  279. package/dist/twilight/{p-20b5e26a.entry.js → p-b202aa5a.entry.js} +1 -1
  280. package/dist/twilight/{p-1777e8cf.entry.js → p-b24d5f7c.entry.js} +1 -1
  281. package/dist/twilight/p-b4fb01a0.entry.js +4 -0
  282. package/dist/twilight/{p-5d2d2f9c.entry.js → p-b504baf6.entry.js} +1 -1
  283. package/dist/twilight/{p-4b1603e1.entry.js → p-b5f3394b.entry.js} +1 -1
  284. package/dist/twilight/{p-f512d962.entry.js → p-b8f3c96e.entry.js} +1 -1
  285. package/dist/twilight/{p-53e247f7.entry.js → p-b9221725.entry.js} +1 -1
  286. package/dist/twilight/{p-bf8b1264.entry.js → p-b97290f8.entry.js} +1 -1
  287. package/dist/twilight/{p-43265b28.entry.js → p-be619c40.entry.js} +1 -1
  288. package/dist/twilight/{p-cb13109f.entry.js → p-c46b4fac.entry.js} +1 -1
  289. package/dist/twilight/{p-67391111.entry.js → p-c4881f69.entry.js} +1 -1
  290. package/dist/twilight/{p-039eadab.entry.js → p-c69cc412.entry.js} +1 -1
  291. package/dist/twilight/{p-2ed22900.entry.js → p-ca969612.entry.js} +1 -1
  292. package/dist/twilight/{p-a3f43f0c.entry.js → p-ce53e792.entry.js} +1 -1
  293. package/dist/twilight/{p-990afbbd.entry.js → p-cf530f1e.entry.js} +1 -1
  294. package/dist/twilight/{p-ec55b19d.entry.js → p-d052267d.entry.js} +1 -1
  295. package/dist/twilight/{p-c4548a08.entry.js → p-d240e1d4.entry.js} +1 -1
  296. package/dist/twilight/{p-e0b35b22.entry.js → p-d8584231.entry.js} +1 -1
  297. package/dist/twilight/{p-ac4d2fda.entry.js → p-da06f72a.entry.js} +1 -1
  298. package/dist/twilight/{p-639e4dcc.entry.js → p-da6c888a.entry.js} +1 -1
  299. package/dist/twilight/{p-101a336e.entry.js → p-df138558.entry.js} +1 -1
  300. package/dist/twilight/{p-33bd4967.entry.js → p-df830fc1.entry.js} +1 -1
  301. package/dist/twilight/{p-91048b10.entry.js → p-e1a45426.entry.js} +1 -1
  302. package/dist/twilight/{p-fdeb9fff.entry.js → p-e53a25f0.entry.js} +1 -1
  303. package/dist/twilight/{p-8503018c.entry.js → p-e95fbacf.entry.js} +1 -1
  304. package/dist/twilight/{p-fceb9538.entry.js → p-f1cad97c.entry.js} +1 -1
  305. package/dist/twilight/{p-fe06c38a.entry.js → p-f280405a.entry.js} +1 -1
  306. package/dist/twilight/{p-0cffb95f.entry.js → p-f42ed2a0.entry.js} +1 -1
  307. package/dist/twilight/{p-be1143ce.entry.js → p-f498a8f0.entry.js} +1 -1
  308. package/dist/twilight/{p-4c5cebdc.entry.js → p-fac7655b.entry.js} +1 -1
  309. package/dist/twilight/{p-5ee85309.entry.js → p-fff06937.entry.js} +1 -1
  310. package/dist/twilight/twilight.esm.js +1 -1
  311. package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +5 -5
  312. package/dist/types/components/salla-scopes/salla-scopes.d.ts +3 -4
  313. package/package.json +5 -5
  314. package/dist/twilight/p-9070f24e.entry.js +0 -4
  315. package/dist/twilight/p-BRd7Uttn.js +0 -4
  316. package/dist/twilight/p-f6bdf794.entry.js +0 -4
  317. package/dist/twilight/p-fd08f948.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as s,h as e,H as t}from"./p-CCmkpaUr.js";const a=class{constructor(e){s(this,e),this.type="normal",this.width="100%",this.height="100%"}render(){return e(t,{key:"7b36da96585cfefe9aa96df6262be14f6a03c585",class:"s-skeleton-wrapper",style:{width:this.width,height:this.height}},e("div",{key:"568ae1bc0aeae182bb32468b19601c0245e9617d",class:{"s-skeleton-item":!0,"s-skeleton-item-circular":"circle"==this.type}}," "))}};a.style=":host{display:block}";export{a as salla_skeleton}
4
+ import{r as s,h as e,H as t}from"./p-Bu-9gKKq.js";const a=class{constructor(e){s(this,e),this.type="normal",this.width="100%",this.height="100%"}render(){return e(t,{key:"7b36da96585cfefe9aa96df6262be14f6a03c585",class:"s-skeleton-wrapper",style:{width:this.width,height:this.height}},e("div",{key:"568ae1bc0aeae182bb32468b19601c0245e9617d",class:{"s-skeleton-item":!0,"s-skeleton-item-circular":"circle"==this.type}}," "))}};a.style=":host{display:block}";export{a as salla_skeleton}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{h as a,r as l}from"./p-CCmkpaUr.js";import{n as s,c as t}from"./p-CCIAKfEz.js";import{S as e}from"./p-D4oPi1Ov.js";import{S as i}from"./p-8Tsmrwno.js";import{S as r,a as o}from"./p-Bs6JxDkg.js";import{S as n}from"./p-CZRcMGA9.js";import{S as p}from"./p-D1s2kXqL.js";import{T as c}from"./p-BRd7Uttn.js";var d=function(a,l,s,t){var e,i=arguments.length,r=i<3?l:null===t?t=Object.getOwnPropertyDescriptor(l,s):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,l,s,t);else for(var o=a.length-1;o>=0;o--)(e=a[o])&&(r=(i<3?e(r):i>3?e(l,s,r):e(l,s))||r);return i>3&&r&&Object.defineProperty(l,s,r),r};const h={all:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:o}),free_shipping:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:n}),coupon_discount:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:r}),free_product:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:p})},y=class{constructor(a){l(this,a),this.currentPrize=null,this.handleExchangeSucceeded=()=>window.location.reload(),this.handleResetSucceeded=()=>window.location.reload()}componentWillLoad(){return salla.onReady().then((()=>salla.lang.onLoaded())).then((()=>{salla.event.on("loyalty::exchange.succeeded",this.handleExchangeSucceeded),salla.event.on("loyalty::exchange-reset.succeeded",this.handleResetSucceeded),salla.config.isGuest()||this.points()})).catch((a=>salla.logger.error(a)))}disconnectedCallback(){salla.event.off("loyalty::exchange.succeeded",this.handleExchangeSucceeded),salla.event.off("loyalty::exchange-reset.succeeded",this.handleResetSucceeded)}render(){const l=this.program.data.prizes,s=this.program.data.prizes_count,r=this.points.data??this.customerPoints??0;return this.prizeTitle&&null!=this.prizePoints&&""!==this.prizePoints?a("div",{class:"s-loyalty-program-panel-exchange-wrapper"},a("salla-list-tile",{class:"s-loyalty-program-after-exchange"},a("div",{slot:"title",class:"s-loyalty-program-after-exchange-title"},this.prizeTitle,"   -   ",this.prizePoints," ",salla.lang.get("pages.loyalty_program.point")),a("div",{slot:"action",class:"s-loyalty-program-after-exchange-action"},a("salla-button",{class:"s-loyalty-program-after-exchange-reset",shape:"icon",fill:"outline",color:"danger",size:"small",onClick:()=>salla.loyalty.reset()},a("span",{innerHTML:i}))))):r&&0!==r?a("div",{class:""},a("div",{class:"s-loyalty-program-panel-exchange-wrapper"},a("salla-list-tile",{class:"s-loyalty-program-panel-widget"},a("div",{slot:"icon",class:"s-loyalty-program-panel-widget-icon",innerHTML:e}),a("div",{slot:"subtitle"},salla.lang.get("pages.loyalty_program.cart_total_point_summary",{balance:r}),a("salla-button",{shape:"link",color:"primary",onClick:()=>{["error","idle"].includes(this.program.status)&&this.program(),this.rewardsModal.open()}},salla.lang.get("pages.loyalty_program.cart_point_exchange_now"))))),a("salla-modal",{id:"loyalty-rewards-modal",isLoading:"pending"===this.program.status,ref:a=>this.rewardsModal=a,class:"s-loyalty-program-rewards-cart s-loyalty-program-modal",width:"lg",noPadding:!0},a("div",{slot:"loading"},a("salla-loading",null)),"success"===this.program.status?a("div",{class:"s-loyalty-program-rewards-container-cart"},a("div",{class:"s-loyalty-program-rewards-cart-header"},a("div",{innerHTML:'<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>'}),a("div",{class:"s-loyalty-program-panel-content"},a("h1",null,this.program.data.prize_promotion_title),a("p",null,this.program.data.prize_promotion_description))),a("div",{class:{"s-loyalty-program-slider-arrows":!0,"s-loyalty-program-tabs-hider":l.length<2||s<2}},a("salla-tabs",null,l.map((l=>a("salla-tab-header",{slot:"header",name:l.type},h[l.type],a("span",null,l.title)))),l.map((l=>a("salla-tab-content",{slot:"content",name:l.type},a("salla-slider",{id:l.type,type:"default","slider-config":'{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":3,"spaceBetween":24,"freeMode":false,"speed":300}}}'},a("div",{slot:"items"},l.items.map((l=>a("salla-reward-card",{prize:l,onAreaClick:()=>{this.currentPrize=l,t((()=>this.detailsModal.open()))},onActionClick:()=>{this.currentPrize=l,t((()=>this.detailsModal.open()))}}))))))))))):""),a("salla-modal",{ref:a=>this.detailsModal=a,class:"s-loyalty-program-modal",width:"md",noPadding:!0},this.currentPrize?a("salla-reward-details",{onActionClick:()=>t((()=>this.exchangeModal.open())),prize:this.currentPrize}):""),a("salla-modal",{ref:a=>this.exchangeModal=a,class:"s-loyalty-program-modal",width:"sm"},this.currentPrize?a("salla-reward-exchange",{prize:this.currentPrize}):"")):null}};d([c((async()=>{const{data:a}=await salla.loyalty.getProgram();return s(a)}),{initialData:{prizes:[],prizes_count:0}})],y.prototype,"program",void 0),d([c((async()=>{const{data:a}=await salla.loyalty.getPoints();return a.points}),{initialData:null})],y.prototype,"points",void 0),y.style="";export{y as salla_loyalty_panel}
4
+ import{h as a,r as l}from"./p-Bu-9gKKq.js";import{n as s,c as t}from"./p-_NroeSza.js";import{S as e}from"./p-D4oPi1Ov.js";import{S as i}from"./p-8Tsmrwno.js";import{S as r,a as o}from"./p-Bs6JxDkg.js";import{S as n}from"./p-CZRcMGA9.js";import{S as p}from"./p-D1s2kXqL.js";import{T as c}from"./p-BIDWRRAS.js";var d=function(a,l,s,t){var e,i=arguments.length,r=i<3?l:null===t?t=Object.getOwnPropertyDescriptor(l,s):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(a,l,s,t);else for(var o=a.length-1;o>=0;o--)(e=a[o])&&(r=(i<3?e(r):i>3?e(l,s,r):e(l,s))||r);return i>3&&r&&Object.defineProperty(l,s,r),r};const h={all:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:o}),free_shipping:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:n}),coupon_discount:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:r}),free_product:a("span",{class:"s-loyalty-program-rewards-tab-icon",innerHTML:p})},y=class{constructor(a){l(this,a),this.currentPrize=null,this.handleExchangeSucceeded=()=>window.location.reload(),this.handleResetSucceeded=()=>window.location.reload()}componentWillLoad(){return salla.onReady().then((()=>salla.lang.onLoaded())).then((()=>{salla.event.on("loyalty::exchange.succeeded",this.handleExchangeSucceeded),salla.event.on("loyalty::exchange-reset.succeeded",this.handleResetSucceeded),salla.config.isGuest()||this.points()})).catch((a=>salla.logger.error(a)))}disconnectedCallback(){salla.event.off("loyalty::exchange.succeeded",this.handleExchangeSucceeded),salla.event.off("loyalty::exchange-reset.succeeded",this.handleResetSucceeded)}render(){const l=this.program.data.prizes,s=this.program.data.prizes_count,r=this.points.data??this.customerPoints??0;return this.prizeTitle&&null!=this.prizePoints&&""!==this.prizePoints?a("div",{class:"s-loyalty-program-panel-exchange-wrapper"},a("salla-list-tile",{class:"s-loyalty-program-after-exchange"},a("div",{slot:"title",class:"s-loyalty-program-after-exchange-title"},this.prizeTitle,"   -   ",this.prizePoints," ",salla.lang.get("pages.loyalty_program.point")),a("div",{slot:"action",class:"s-loyalty-program-after-exchange-action"},a("salla-button",{class:"s-loyalty-program-after-exchange-reset",shape:"icon",fill:"outline",color:"danger",size:"small",onClick:()=>salla.loyalty.reset()},a("span",{innerHTML:i}))))):r&&0!==r?a("div",{class:""},a("div",{class:"s-loyalty-program-panel-exchange-wrapper"},a("salla-list-tile",{class:"s-loyalty-program-panel-widget"},a("div",{slot:"icon",class:"s-loyalty-program-panel-widget-icon",innerHTML:e}),a("div",{slot:"subtitle"},salla.lang.get("pages.loyalty_program.cart_total_point_summary",{balance:r}),a("salla-button",{shape:"link",color:"primary",onClick:()=>{["error","idle"].includes(this.program.status)&&this.program(),this.rewardsModal.open()}},salla.lang.get("pages.loyalty_program.cart_point_exchange_now"))))),a("salla-modal",{id:"loyalty-rewards-modal",isLoading:"pending"===this.program.status,ref:a=>this.rewardsModal=a,class:"s-loyalty-program-rewards-cart s-loyalty-program-modal",width:"lg",noPadding:!0},a("div",{slot:"loading"},a("salla-loading",null)),"success"===this.program.status?a("div",{class:"s-loyalty-program-rewards-container-cart"},a("div",{class:"s-loyalty-program-rewards-cart-header"},a("div",{innerHTML:'<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>'}),a("div",{class:"s-loyalty-program-panel-content"},a("h1",null,this.program.data.prize_promotion_title),a("p",null,this.program.data.prize_promotion_description))),a("div",{class:{"s-loyalty-program-slider-arrows":!0,"s-loyalty-program-tabs-hider":l.length<2||s<2}},a("salla-tabs",null,l.map((l=>a("salla-tab-header",{slot:"header",name:l.type},h[l.type],a("span",null,l.title)))),l.map((l=>a("salla-tab-content",{slot:"content",name:l.type},a("salla-slider",{id:l.type,type:"default","slider-config":'{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":3,"spaceBetween":24,"freeMode":false,"speed":300}}}'},a("div",{slot:"items"},l.items.map((l=>a("salla-reward-card",{prize:l,onAreaClick:()=>{this.currentPrize=l,t((()=>this.detailsModal.open()))},onActionClick:()=>{this.currentPrize=l,t((()=>this.detailsModal.open()))}}))))))))))):""),a("salla-modal",{ref:a=>this.detailsModal=a,class:"s-loyalty-program-modal",width:"md",noPadding:!0},this.currentPrize?a("salla-reward-details",{onActionClick:()=>t((()=>this.exchangeModal.open())),prize:this.currentPrize}):""),a("salla-modal",{ref:a=>this.exchangeModal=a,class:"s-loyalty-program-modal",width:"sm"},this.currentPrize?a("salla-reward-exchange",{prize:this.currentPrize}):"")):null}};d([c((async()=>{const{data:a}=await salla.loyalty.getProgram();return s(a)}),{initialData:{prizes:[],prizes_count:0}})],y.prototype,"program",void 0),d([c((async()=>{const{data:a}=await salla.loyalty.getPoints();return a.points}),{initialData:null})],y.prototype,"points",void 0),y.style="";export{y as salla_loyalty_panel}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,h as o,a as r}from"./p-CCmkpaUr.js";const i=class{constructor(o){t(this,o),this.theme="default",this.show=!1,this.targetElement=null}handleMouseOver(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!0)}handleMouseOut(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!1)}componentDidLoad(){this.targetElement=document.getElementById(this.targetId)}render(){const t=["default","dark"].includes(this.theme)?this.theme:"default";return o("div",{key:"84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca",class:"s-tooltip-container"},o("div",{key:"59d3bac320e20f99de1c4bf49531a61962190efc",class:`s-tooltip-item s-tooltip-item--${t}`,style:{display:this.show?"block":"none"}},this.text?o("span",null,this.text):o("slot",null)))}get el(){return r(this)}};i.style='.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:"";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}';export{i as salla_tooltip}
4
+ import{r as t,h as o,a as r}from"./p-Bu-9gKKq.js";const i=class{constructor(o){t(this,o),this.theme="default",this.show=!1,this.targetElement=null}handleMouseOver(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!0)}handleMouseOut(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!1)}componentDidLoad(){this.targetElement=document.getElementById(this.targetId)}render(){const t=["default","dark"].includes(this.theme)?this.theme:"default";return o("div",{key:"84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca",class:"s-tooltip-container"},o("div",{key:"59d3bac320e20f99de1c4bf49531a61962190efc",class:`s-tooltip-item s-tooltip-item--${t}`,style:{display:this.show?"block":"none"}},this.text?o("span",null,this.text):o("slot",null)))}get el(){return r(this)}};i.style='.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:"";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}';export{i as salla_tooltip}