@salla.sa/twilight-components 2.14.462 → 2.14.463

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/dist/cjs/{filepond-D7zShniv.js → filepond-XQ49P28a.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BqO8tLqK.js → filepond-plugin-file-poster-BPQxaVwU.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Bdxa3s1T.js → filepond-plugin-file-validate-size-B9ApyJPA.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B9q4YU3V.js → filepond-plugin-file-validate-type-Bcpy1-Yx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BZ8ZjH1W.js → filepond-plugin-image-edit-DpTpDHd0.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D-Ua_ckJ.js → filepond-plugin-image-exif-orientation-BpFgVfuH.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CrZfm9_U.js → filepond-plugin-image-preview-Cb8nl-Sk.js} +1 -1
  8. package/dist/cjs/{functions-Dnwp9wka.js → functions-BWxgjDLr.js} +1 -1
  9. package/dist/cjs/{index-CLNWkNWb.js → index-C8A5Jog8.js} +1 -1
  10. package/dist/cjs/{index-wTIlAVr3.js → index-erFsk7OI.js} +6 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +12 -12
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -3
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +4 -4
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -4
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -15
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -5
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -3
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +96 -0
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +4 -7
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  77. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  78. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  85. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  87. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  91. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  92. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-menu.cjs.entry.js +6 -7
  96. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  98. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  100. package/dist/cjs/{tracked-promise-DqErlr1h.js → tracked-promise-CAEeCapf.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-F5duMbuq.js → vanilla-picker-B9ah_1w1.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +0 -2
  105. package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +0 -2
  106. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +99 -0
  107. package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +0 -2
  108. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  109. package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +0 -2
  110. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -10
  111. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -4
  112. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  113. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  114. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  115. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  116. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  117. package/dist/collection/components/salla-map/salla-map.js +3 -3
  118. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  119. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  120. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  121. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  122. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  123. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  124. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  125. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  126. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  127. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  128. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  129. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  130. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  131. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  132. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  133. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  134. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  135. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  136. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  137. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  138. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  139. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  140. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  141. package/dist/collection/components/salla-search/salla-search.js +5 -5
  142. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  143. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  144. package/dist/collection/components/salla-social/salla-social.js +1 -1
  145. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  146. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  147. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  148. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  149. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  150. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  151. package/dist/collection/components/salla-user-menu/salla-user-menu.js +6 -7
  152. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  153. package/dist/components/index.js +2 -2
  154. package/dist/components/salla-cashback-banner.js +0 -2
  155. package/dist/components/salla-loyalty-banner.js +0 -2
  156. package/dist/components/salla-loyalty-hero2.js +3 -3
  157. package/dist/components/salla-loyalty-panel.js +0 -2
  158. package/dist/components/salla-loyalty-point2.js +4 -10
  159. package/dist/components/salla-loyalty-points-banner.js +0 -2
  160. package/dist/components/salla-loyalty-points-history.d.ts +11 -0
  161. package/dist/components/salla-loyalty-points-history.js +129 -0
  162. package/dist/components/salla-loyalty-program.js +1 -4
  163. package/dist/components/salla-loyalty-reward.js +2 -2
  164. package/dist/components/salla-maintenance-alert.js +1 -1
  165. package/dist/components/salla-map2.js +3 -3
  166. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  167. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  168. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  169. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  170. package/dist/components/salla-multiple-bundle-product.js +1 -1
  171. package/dist/components/salla-notification-item2.js +1 -1
  172. package/dist/components/salla-offer-modal.js +1 -1
  173. package/dist/components/salla-order-details.js +1 -1
  174. package/dist/components/salla-order-edit-product-card.js +1 -1
  175. package/dist/components/salla-order-summary.js +1 -1
  176. package/dist/components/salla-payments.js +2 -2
  177. package/dist/components/salla-placeholder2.js +1 -1
  178. package/dist/components/salla-price-range2.js +2 -2
  179. package/dist/components/salla-product-availability2.js +1 -1
  180. package/dist/components/salla-product-card-embed.js +1 -1
  181. package/dist/components/salla-product-card2.js +5 -5
  182. package/dist/components/salla-product-size-guide.js +2 -2
  183. package/dist/components/salla-quantity-input2.js +1 -1
  184. package/dist/components/salla-quick-buy2.js +1 -1
  185. package/dist/components/salla-review-card2.js +1 -1
  186. package/dist/components/salla-reviews-page.js +1 -1
  187. package/dist/components/salla-reviews.js +1 -1
  188. package/dist/components/salla-reward-card2.js +1 -1
  189. package/dist/components/salla-reward-details2.js +3 -3
  190. package/dist/components/salla-reward-exchange2.js +3 -3
  191. package/dist/components/salla-scopes.js +1 -1
  192. package/dist/components/salla-search.js +5 -5
  193. package/dist/components/salla-searchable-dropdown2.js +4 -4
  194. package/dist/components/salla-skeleton2.js +1 -1
  195. package/dist/components/salla-social-share.js +1 -1
  196. package/dist/components/salla-social.js +1 -1
  197. package/dist/components/salla-tab-content2.js +1 -1
  198. package/dist/components/salla-tab-header2.js +1 -1
  199. package/dist/components/salla-tabs2.js +1 -1
  200. package/dist/components/salla-tel-input2.js +1 -1
  201. package/dist/components/salla-tooltip2.js +1 -1
  202. package/dist/components/salla-user-menu.js +6 -7
  203. package/dist/components/salla-user-settings.js +1 -1
  204. package/dist/esm/{filepond-m6fYB-0k.js → filepond-AAIlCdAO.js} +1 -1
  205. package/dist/esm/{filepond-plugin-file-poster-BjL05gZe.js → filepond-plugin-file-poster-CzcSk93x.js} +1 -1
  206. package/dist/esm/{filepond-plugin-file-validate-size-DTeNYd00.js → filepond-plugin-file-validate-size-DRV8qwBW.js} +1 -1
  207. package/dist/esm/{filepond-plugin-file-validate-type-ZhqN1Gao.js → filepond-plugin-file-validate-type-CelZ69Kz.js} +1 -1
  208. package/dist/esm/{filepond-plugin-image-edit-P9d3w9sz.js → filepond-plugin-image-edit-B-hHZqmA.js} +1 -1
  209. package/dist/esm/{filepond-plugin-image-exif-orientation-rmyn2Wqp.js → filepond-plugin-image-exif-orientation-BgxjrMAY.js} +1 -1
  210. package/dist/esm/{filepond-plugin-image-preview-yKjApiZb.js → filepond-plugin-image-preview-h6BWEU-G.js} +1 -1
  211. package/dist/esm/{functions-C_YevJW-.js → functions-Dg0XXbIV.js} +1 -1
  212. package/dist/esm/{index-D9GD5gzh.js → index-BlGD97H6.js} +1 -1
  213. package/dist/esm/{index-CeYNqrm6.js → index-CgKcWLpf.js} +6 -2
  214. package/dist/esm/loader.js +3 -3
  215. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  216. package/dist/esm/salla-accordion_6.entry.js +1 -1
  217. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  218. package/dist/esm/salla-advertisement.entry.js +1 -1
  219. package/dist/esm/salla-alert_2.entry.js +1 -1
  220. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  221. package/dist/esm/salla-apps-icons.entry.js +1 -1
  222. package/dist/esm/salla-badge.entry.js +1 -1
  223. package/dist/esm/salla-booking-field_7.entry.js +12 -12
  224. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  225. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  226. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  227. package/dist/esm/salla-cashback-banner.entry.js +1 -3
  228. package/dist/esm/salla-comment-form_8.entry.js +4 -4
  229. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  230. package/dist/esm/salla-contacts.entry.js +1 -1
  231. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  232. package/dist/esm/salla-count-down.entry.js +1 -1
  233. package/dist/esm/salla-custom-fields.entry.js +1 -1
  234. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  235. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  236. package/dist/esm/salla-filters-widget.entry.js +1 -1
  237. package/dist/esm/salla-filters.entry.js +1 -1
  238. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  239. package/dist/esm/salla-gifting.entry.js +1 -1
  240. package/dist/esm/salla-hook.entry.js +1 -1
  241. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  242. package/dist/esm/salla-installment.entry.js +1 -1
  243. package/dist/esm/salla-list-tile.entry.js +1 -1
  244. package/dist/esm/salla-localization-modal.entry.js +1 -1
  245. package/dist/esm/salla-login-modal.entry.js +1 -1
  246. package/dist/esm/salla-loyalty-banner.entry.js +2 -4
  247. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -15
  248. package/dist/esm/salla-loyalty-panel.entry.js +3 -5
  249. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -3
  250. package/dist/esm/salla-loyalty-points-history.entry.js +94 -0
  251. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  252. package/dist/esm/salla-loyalty-program.entry.js +4 -7
  253. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  254. package/dist/esm/salla-loyalty.entry.js +1 -1
  255. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  256. package/dist/esm/salla-map.entry.js +4 -4
  257. package/dist/esm/salla-menu.entry.js +1 -1
  258. package/dist/esm/salla-metadata.entry.js +1 -1
  259. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  260. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  261. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  262. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  263. package/dist/esm/salla-notification-item.entry.js +2 -2
  264. package/dist/esm/salla-notifications.entry.js +1 -1
  265. package/dist/esm/salla-offer-modal.entry.js +2 -2
  266. package/dist/esm/salla-offer.entry.js +1 -1
  267. package/dist/esm/salla-order-branch.entry.js +1 -1
  268. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  269. package/dist/esm/salla-order-details-options.entry.js +1 -1
  270. package/dist/esm/salla-order-details.entry.js +2 -2
  271. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  272. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  273. package/dist/esm/salla-order-edit.entry.js +1 -1
  274. package/dist/esm/salla-order-summary.entry.js +2 -2
  275. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  276. package/dist/esm/salla-orders.entry.js +1 -1
  277. package/dist/esm/salla-payments.entry.js +3 -3
  278. package/dist/esm/salla-placeholder.entry.js +2 -2
  279. package/dist/esm/salla-price-range.entry.js +3 -3
  280. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  281. package/dist/esm/salla-product-card_2.entry.js +6 -6
  282. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  283. package/dist/esm/salla-products-list.entry.js +1 -1
  284. package/dist/esm/salla-progress-bar.entry.js +1 -1
  285. package/dist/esm/salla-quick-order.entry.js +1 -1
  286. package/dist/esm/salla-rating-modal.entry.js +1 -1
  287. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  288. package/dist/esm/salla-scopes.entry.js +2 -2
  289. package/dist/esm/salla-search.entry.js +6 -6
  290. package/dist/esm/salla-skeleton.entry.js +2 -2
  291. package/dist/esm/salla-slider.entry.js +1 -1
  292. package/dist/esm/salla-social-share.entry.js +2 -2
  293. package/dist/esm/salla-social.entry.js +2 -2
  294. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  295. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  296. package/dist/esm/salla-tooltip.entry.js +2 -2
  297. package/dist/esm/salla-trust-badges.entry.js +1 -1
  298. package/dist/esm/salla-user-menu.entry.js +6 -7
  299. package/dist/esm/salla-user-profile.entry.js +1 -1
  300. package/dist/esm/salla-user-settings.entry.js +2 -2
  301. package/dist/esm/salla-verify.entry.js +1 -1
  302. package/dist/esm/salla-wallet.entry.js +1 -1
  303. package/dist/esm/{tracked-promise-DmXpObWP.js → tracked-promise-B-7sMH4T.js} +1 -1
  304. package/dist/esm/twilight.js +3 -3
  305. package/dist/esm/{vanilla-picker-pNOcxfir.js → vanilla-picker-BcjrIc-C.js} +1 -1
  306. package/dist/twilight/{p-a01e3db6.entry.js → p-02e79512.entry.js} +1 -1
  307. package/dist/twilight/{p-dbf9a7a6.entry.js → p-050d10dd.entry.js} +1 -1
  308. package/dist/twilight/{p-46d2e19e.entry.js → p-07e779b2.entry.js} +1 -1
  309. package/dist/twilight/{p-b5267377.entry.js → p-0bb1836f.entry.js} +1 -1
  310. package/dist/twilight/{p-51739559.entry.js → p-0bf29eb6.entry.js} +1 -1
  311. package/dist/twilight/{p-7fa53fa7.entry.js → p-0fbd5e22.entry.js} +1 -1
  312. package/dist/twilight/{p-eef72b52.entry.js → p-17ae88c3.entry.js} +1 -1
  313. package/dist/twilight/p-17bceaf3.entry.js +4 -0
  314. package/dist/twilight/p-18123ac7.entry.js +4 -0
  315. package/dist/twilight/p-1c078509.entry.js +4 -0
  316. package/dist/twilight/p-1f8d103f.entry.js +4 -0
  317. package/dist/twilight/{p-4368aeb5.entry.js → p-23d41e5a.entry.js} +1 -1
  318. package/dist/twilight/{p-00b82f9e.entry.js → p-2ef068f6.entry.js} +1 -1
  319. package/dist/twilight/p-30cdc70c.entry.js +4 -0
  320. package/dist/twilight/{p-976a7c3b.entry.js → p-3173408c.entry.js} +1 -1
  321. package/dist/twilight/{p-b492aa80.entry.js → p-31aa72b6.entry.js} +1 -1
  322. package/dist/twilight/{p-b8073d30.entry.js → p-323be2a0.entry.js} +1 -1
  323. package/dist/twilight/{p-74810e1d.entry.js → p-34881ede.entry.js} +1 -1
  324. package/dist/twilight/{p-cf68db97.entry.js → p-37e5e4ba.entry.js} +1 -1
  325. package/dist/twilight/{p-07b5f1f0.entry.js → p-39a27ca2.entry.js} +1 -1
  326. package/dist/twilight/{p-baf272cf.entry.js → p-3d5d09e5.entry.js} +1 -1
  327. package/dist/twilight/{p-8f27d1fc.entry.js → p-43f6d3aa.entry.js} +1 -1
  328. package/dist/twilight/{p-0d8fac88.entry.js → p-46a9e49d.entry.js} +1 -1
  329. package/dist/twilight/p-49953509.entry.js +4 -0
  330. package/dist/twilight/{p-6ac73121.entry.js → p-49fef2a0.entry.js} +1 -1
  331. package/dist/twilight/{p-5b416a7d.entry.js → p-4bd6f468.entry.js} +1 -1
  332. package/dist/twilight/{p-f02cb299.entry.js → p-4e8fb0e3.entry.js} +1 -1
  333. package/dist/twilight/{p-68a4b292.entry.js → p-520b00c7.entry.js} +1 -1
  334. package/dist/twilight/p-53b100a6.entry.js +4 -0
  335. package/dist/twilight/{p-a8b5376b.entry.js → p-55178df6.entry.js} +1 -1
  336. package/dist/twilight/p-5642a30a.entry.js +4 -0
  337. package/dist/twilight/{p-aa97bce4.entry.js → p-5fe17bc8.entry.js} +1 -1
  338. package/dist/twilight/{p-7469ba2c.entry.js → p-6419fdff.entry.js} +1 -1
  339. package/dist/twilight/{p-efc3eb85.entry.js → p-65e1db2e.entry.js} +1 -1
  340. package/dist/twilight/p-67a831d2.entry.js +4 -0
  341. package/dist/twilight/{p-fd4588cc.entry.js → p-684678f7.entry.js} +1 -1
  342. package/dist/twilight/{p-744b3fae.entry.js → p-6868565b.entry.js} +1 -1
  343. package/dist/twilight/{p-6e77cef2.entry.js → p-68e221fb.entry.js} +1 -1
  344. package/dist/twilight/{p-99edcd51.entry.js → p-6b25dc69.entry.js} +1 -1
  345. package/dist/twilight/{p-6ad7e526.entry.js → p-6fa42874.entry.js} +1 -1
  346. package/dist/twilight/p-70eced14.entry.js +4 -0
  347. package/dist/twilight/{p-c7caa2cc.entry.js → p-71f024e8.entry.js} +1 -1
  348. package/dist/twilight/{p-a6a6f6af.entry.js → p-77a23292.entry.js} +1 -1
  349. package/dist/twilight/{p-dff9a1ec.entry.js → p-7b35061c.entry.js} +1 -1
  350. package/dist/twilight/{p-ddf5c15d.entry.js → p-7c4ee058.entry.js} +1 -1
  351. package/dist/twilight/{p-38dcee02.entry.js → p-7f27897e.entry.js} +1 -1
  352. package/dist/twilight/{p-08080728.entry.js → p-7f5f48f6.entry.js} +1 -1
  353. package/dist/twilight/{p-12a64c34.entry.js → p-84e636d1.entry.js} +1 -1
  354. package/dist/twilight/{p-e4c61d13.entry.js → p-8517f731.entry.js} +1 -1
  355. package/dist/twilight/{p-7562b6fe.entry.js → p-86aa1fbf.entry.js} +1 -1
  356. package/dist/twilight/{p-2f8a2a75.entry.js → p-8c72f4cc.entry.js} +1 -1
  357. package/dist/twilight/{p-22eeb058.entry.js → p-8dabf108.entry.js} +1 -1
  358. package/dist/twilight/{p-31399c5a.entry.js → p-8fc7f3d6.entry.js} +1 -1
  359. package/dist/twilight/{p-66189b02.entry.js → p-904617da.entry.js} +1 -1
  360. package/dist/twilight/{p-6e74026e.entry.js → p-9176d7ce.entry.js} +1 -1
  361. package/dist/twilight/{p-ed92c8ab.entry.js → p-9387dd90.entry.js} +1 -1
  362. package/dist/twilight/{p-b77e74a4.entry.js → p-99106873.entry.js} +1 -1
  363. package/dist/twilight/p-9b4fc23f.entry.js +4 -0
  364. package/dist/twilight/{p-c66e2e76.entry.js → p-9c28210e.entry.js} +1 -1
  365. package/dist/twilight/{p-BJ8oGcQD.js → p-Bo2jQzcR.js} +1 -1
  366. package/dist/twilight/{p-CShDziwT.js → p-BzGCvVEm.js} +1 -1
  367. package/dist/twilight/{p-B0byHRZ3.js → p-CC2-QEDL.js} +1 -1
  368. package/dist/twilight/{p-BCTJfSEq.js → p-CH7wsBUY.js} +1 -1
  369. package/dist/twilight/{p-CeYNqrm6.js → p-CgKcWLpf.js} +1 -1
  370. package/dist/twilight/{p-Dwy4A66P.js → p-CwWt5HLh.js} +1 -1
  371. package/dist/twilight/{p-BRPK56r-.js → p-DBqJzNYt.js} +1 -1
  372. package/dist/twilight/{p-BKLK9Y6r.js → p-DPoo7VAM.js} +1 -1
  373. package/dist/twilight/{p-BbnE5BSS.js → p-HVfj7cvk.js} +1 -1
  374. package/dist/twilight/{p-Cc7oEzty.js → p-KXvNwMUI.js} +1 -1
  375. package/dist/twilight/{p-70bccb5a.entry.js → p-a34163a9.entry.js} +1 -1
  376. package/dist/twilight/{p-fbcb84a4.entry.js → p-a7055743.entry.js} +1 -1
  377. package/dist/twilight/{p-DM7C3SNh.js → p-aZStLvlC.js} +1 -1
  378. package/dist/twilight/{p-395408d0.entry.js → p-ab581ba2.entry.js} +1 -1
  379. package/dist/twilight/{p-BW7tTJ4q.js → p-alpadDPN.js} +1 -1
  380. package/dist/twilight/{p-ec46c858.entry.js → p-b0219eab.entry.js} +1 -1
  381. package/dist/twilight/p-b111e9fa.entry.js +4 -0
  382. package/dist/twilight/{p-66e6f1b7.entry.js → p-b60cbdfb.entry.js} +1 -1
  383. package/dist/twilight/p-b6cefa97.entry.js +4 -0
  384. package/dist/twilight/{p-39350b98.entry.js → p-b987e3af.entry.js} +1 -1
  385. package/dist/twilight/{p-d78c5c6e.entry.js → p-baeac8aa.entry.js} +1 -1
  386. package/dist/twilight/{p-97d9e879.entry.js → p-bba4aa09.entry.js} +1 -1
  387. package/dist/twilight/p-c246a042.entry.js +4 -0
  388. package/dist/twilight/{p-75c3f81d.entry.js → p-c522db75.entry.js} +1 -1
  389. package/dist/twilight/{p-e545619d.entry.js → p-c92bc81e.entry.js} +1 -1
  390. package/dist/twilight/{p-06d466ca.entry.js → p-ca869069.entry.js} +12 -12
  391. package/dist/twilight/{p-77257ae8.entry.js → p-cd49d0b1.entry.js} +1 -1
  392. package/dist/twilight/{p-2ecf4e6a.entry.js → p-cd86a347.entry.js} +1 -1
  393. package/dist/twilight/{p-79143f69.entry.js → p-cdfbcd5c.entry.js} +1 -1
  394. package/dist/twilight/{p-873b5a0b.entry.js → p-d076e173.entry.js} +1 -1
  395. package/dist/twilight/{p-bb3fb45c.entry.js → p-d68546db.entry.js} +1 -1
  396. package/dist/twilight/{p-4155b911.entry.js → p-dd363a06.entry.js} +1 -1
  397. package/dist/twilight/{p-016d2b24.entry.js → p-de185a77.entry.js} +1 -1
  398. package/dist/twilight/p-e197f3d2.entry.js +4 -0
  399. package/dist/twilight/p-e6a66265.entry.js +4 -0
  400. package/dist/twilight/{p-316bd85f.entry.js → p-eaedd514.entry.js} +1 -1
  401. package/dist/twilight/{p-0777f1aa.entry.js → p-f0fc32fb.entry.js} +1 -1
  402. package/dist/twilight/{p-52f0f36b.entry.js → p-f66cc02e.entry.js} +1 -1
  403. package/dist/twilight/{p-629e05d2.entry.js → p-f6a7c273.entry.js} +1 -1
  404. package/dist/twilight/{p-2d83fd8d.entry.js → p-f770e708.entry.js} +1 -1
  405. package/dist/twilight/{p-d0e99086.entry.js → p-fade3b90.entry.js} +1 -1
  406. package/dist/twilight/twilight.esm.js +1 -1
  407. package/dist/types/components/salla-loyalty-points-history/salla-loyalty-points-history.d.ts +12 -0
  408. package/dist/types/components/salla-loyalty-program/interfaces.d.ts +3 -2
  409. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +0 -1
  410. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
  411. package/dist/types/components.d.ts +13 -0
  412. package/package.json +5 -5
  413. package/dist/cjs/translations-BHyDCj-Y.js +0 -306
  414. package/dist/collection/components/salla-loyalty-program/translations.js +0 -302
  415. package/dist/components/translations.js +0 -304
  416. package/dist/esm/translations-dn_hTofo.js +0 -304
  417. package/dist/twilight/p-07afae85.entry.js +0 -4
  418. package/dist/twilight/p-1043d027.entry.js +0 -4
  419. package/dist/twilight/p-19cef679.entry.js +0 -4
  420. package/dist/twilight/p-29dbcd53.entry.js +0 -4
  421. package/dist/twilight/p-4b0fe193.entry.js +0 -4
  422. package/dist/twilight/p-570d9be5.entry.js +0 -4
  423. package/dist/twilight/p-5afb837d.entry.js +0 -4
  424. package/dist/twilight/p-66341808.entry.js +0 -4
  425. package/dist/twilight/p-896c5d10.entry.js +0 -4
  426. package/dist/twilight/p-925afa3d.entry.js +0 -4
  427. package/dist/twilight/p-a52795df.entry.js +0 -4
  428. package/dist/twilight/p-c56ba8d5.entry.js +0 -4
  429. package/dist/twilight/p-d84d931d.entry.js +0 -4
  430. package/dist/twilight/p-dn_hTofo.js +0 -4
  431. package/dist/twilight/p-e60bd3a0.entry.js +0 -4
  432. package/dist/twilight/p-f3884673.entry.js +0 -4
  433. package/dist/types/components/salla-loyalty-program/translations.d.ts +0 -1
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
8
8
  var mail = require('./mail-Bgvt2hc9.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var camera = require('./camera-DytepEoK.js');
8
8
  var interfaces = require('./interfaces-CRqrf5RX.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const DEBUG_KEY = 'salla-delivery-promise-debug';
9
9
  function log(message, data) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaEditOrderButtonCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var Helper = require('./Helper-CgGR9Qf8.js');
8
8
  var interfaces = require('./interfaces-DZDQwN6-.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var interfaces = require('./interfaces-DZDQwN6-.js');
8
8
  var Helper = require('./Helper-CgGR9Qf8.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const SallaFulfillmentMethods = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
9
9
  var cancel = require('./cancel-B5SbMYEk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const SallaHook = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var Helper = require('./Helper-CgGR9Qf8.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-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)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaListTileCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const SallaLocalizationModal = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  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%}";
9
9
 
@@ -3,10 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var translations = require('./translations-BHyDCj-Y.js');
6
+ var index = require('./index-erFsk7OI.js');
8
7
  var gift = require('./gift-DbNivqYO.js');
9
- var trackedPromise = require('./tracked-promise-DqErlr1h.js');
8
+ var trackedPromise = require('./tracked-promise-CAEeCapf.js');
10
9
 
11
10
  const sallaLoyaltyProgramCss = "";
12
11
 
@@ -33,7 +32,6 @@ const SallaLoyaltyBanner = class {
33
32
  componentWillLoad() {
34
33
  return salla.onReady()
35
34
  .then(() => salla.lang.onLoaded())
36
- .then(() => translations.setTranslations())
37
35
  .then(() => this.prize())
38
36
  .catch(error => salla.logger.error(error));
39
37
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var functions = require('./functions-Dnwp9wka.js');
6
+ var index = require('./index-erFsk7OI.js');
7
+ var functions = require('./functions-BWxgjDLr.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
  var cart2 = require('./cart2-B98PSAFN.js');
10
10
  var userAdd = require('./user-add-BCGrddZS.js');
@@ -22,13 +22,13 @@ const SallaLoyaltyHero = class {
22
22
  index.registerInstance(this, hostRef);
23
23
  }
24
24
  render() {
25
- return (index.h(index.Host, { key: 'f273bd77fb72c44195d5c59028505a217e4fb2f2' }, index.h("section", { key: 'dfe6196286fe59610bd084fbf0513bae4dfbe254', class: "s-loyalty-program-hero-container" }, index.h("div", { key: 'bcbcf95e78477768d050093294147fb6d9777046', class: "s-loyalty-program-hero-background", style: {
25
+ return (index.h(index.Host, { key: '5c5193846a54877e042ef6470014aa6d041f5d40' }, index.h("section", { key: '6072a4836f28c2de74eeb2208f1e2e66f274875e', class: "s-loyalty-program-hero-container" }, index.h("div", { key: 'e5475eebd8725e3fc0650a4a3fd9ace4c0b785af', class: "s-loyalty-program-hero-background", style: {
26
26
  backgroundImage: `url(${this.image})`,
27
- } }, this.image ? index.h("div", { class: "s-loyalty-program-hero-overlay" }) : '', index.h("div", { key: '61ea985f1105f98da5a6bc58ddce42e88b23df28', class: {
27
+ } }, this.image ? index.h("div", { class: "s-loyalty-program-hero-overlay" }) : '', index.h("div", { key: '485aa5a50b7cfc463cafa704c08bc01d7a2a56df', class: {
28
28
  's-loyalty-program-hero-content': true,
29
29
  's-loyalty-program-hero-white': !!this.image,
30
30
  's-loyalty-program-hero-gray': !this.image,
31
- } }, index.h("div", { key: '74b4e725bc91e72fb4512533e9d91dccd2f2a040' }, index.h("h1", { key: '3f9b8a0d9a1fc9c58007049b91f4852c0e7a9470', class: "s-loyalty-program-hero-title" }, this.name || index.h("span", { key: 'a404bae08a1d4922b73eef9122f540b4a5a412ae', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), index.h("p", { key: '04df0835694628c383d8cbb5455400d47bcce501', class: "s-loyalty-program-hero-description" }, this.description || index.h("span", { key: 'c0d757cbffaf88a4f40dd1a61444189d36c40763', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), index.h("slot", { key: 'cd347b02a9c588dca9d98723c7e06adfba5662f8', name: "action" }))), index.h("div", { key: '261ed03dd2f3ea1ae218b82bf6f2897321fd18c2', class: "s-loyalty-program-hero-footer" }, index.h("div", { key: 'bf78eba028f33115c6d6ea11bd613bef7202e100', class: "s-loyalty-program-hero-slot-container" }, index.h("slot", { key: 'd061f05ef8d7959a226b2a3b2d5d915ac525dbe0', name: "crosspoint" }))))));
31
+ } }, index.h("div", { key: '5a20942fbdcf655adf647d5fda20d98c95e7b5f0' }, index.h("h1", { key: 'cd588ad7f5d83aaf91b584ca27e1e4765401eb22', class: "s-loyalty-program-hero-title" }, this.name || index.h("span", { key: '2bc4d0be971eb4772ad0c312a0036715939ee443', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), index.h("p", { key: 'a57f729e535582f45543d95d1c305b5a89c18118', class: "s-loyalty-program-hero-description" }, this.description || index.h("span", { key: '9eae1d22eb64f00e25a355485979435bce464a4a', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), index.h("slot", { key: 'c8f7c4aca6095bd75d0122e5ce3694af3561a01e', name: "action" }))), index.h("div", { key: 'f08a2d8a93bdfc9ca93effd4b4e693670c057689', class: "s-loyalty-program-hero-footer" }, index.h("div", { key: '171cc3d9a92aee7380aa974a300f91e81ae3319d', class: "s-loyalty-program-hero-slot-container" }, index.h("slot", { key: '518e48e2dede80b0acd427d1d1ca0aaf2c1ffef0', name: "crosspoint" }))))));
32
32
  }
33
33
  };
34
34
  SallaLoyaltyHero.style = sallaLoyaltyProgramCss$1;
@@ -206,12 +206,6 @@ const SallaLoyaltyPoint = class {
206
206
  return '';
207
207
  }
208
208
  }
209
- getSteps(point) {
210
- if (!!point.steps.length) {
211
- return (index.h("div", { class: "s-loyalty-program-points-chains-wrapper" }, index.h("ul", { class: "s-loyalty-program-points-chain-list" }, this.point.steps.map((step, idx) => index.h("li", { class: "s-loyalty-program-points-chain-item" }, index.h("div", { class: "s-loyalty-program-points-chain-icon" }, index.h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), index.h("div", { class: "s-loyalty-program-points-chain-line" })), index.h("div", { class: "s-loyalty-program-points-chain-content" }, index.h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, index.h("span", { innerHTML: gift.SIGift }), index.h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), index.h("p", { class: "s-loyalty-program-points-chain-description" }, salla.lang.get(`pages.loyalty_program.${step.key}`, { points: this.point.points }))))))));
212
- }
213
- return '';
214
- }
215
209
  getDetails(point) {
216
210
  if (point.conditions.filter(c => c.key.endsWith('_BY_CATEGORIES')).length > 0) {
217
211
  return (index.h("div", null, index.h("div", { class: "s-loyalty-program-point-subheading" }, index.h("h2", null, salla.lang.get('pages.loyalty_program.how_to_use')), index.h("p", null, salla.lang.get('pages.loyalty_program.how_to_use_steps'))), index.h("div", { class: "s-loyalty-program-points-modal-details" }, point.conditions.map((condition) => index.h("div", { class: "s-loyalty-program-points-chains-wrapper mt-5 mb-5" }, index.h("div", { class: "s-loyalty-program-points-chain-item" }, index.h("div", { class: "s-loyalty-program-points-chain-icon" }, index.h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key])), index.h("div", { class: "s-loyalty-program-points-chain-content" }, index.h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, index.h("span", { innerHTML: gift.SIGift }), functions.formattedPointsJsx(condition.points, functions.isUnitOrder(point))), index.h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name), index.h("div", null, this.getCategoriesJsx(condition.value)))))))));
@@ -232,7 +226,7 @@ const SallaLoyaltyPoint = class {
232
226
  }
233
227
  }
234
228
  render() {
235
- return (index.h("div", { key: 'da9f8ed073dad418e72c05c54b0362dbd35f3935' }, index.h("div", { key: '884b4463371c9e806c5a0b050eb977628b46c800', onClick: () => functions.closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, index.h("div", { key: 'eb992d3f22972cd1bcfd475f35652a99887450c0', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, index.h("span", { key: '449c106f8babe36f6cc9b2273886aa4e2b81fe15', class: this.point.icon })), index.h("div", { key: 'e52de07a850e0e46799aba2f031f492d8f18dcb3', class: "s-loyalty-program-points-badge-mobile" }, index.h("salla-badge", { key: '4174dd5fa7c2e60725d53b3e9d7868a5f450f7ba', size: "xs", bg: "transparent" }, index.h("span", { key: 'a8ff60258c58e6901d7438c239296ce2563cafd2', innerHTML: gift.SIGift }), functions.formattedPointsJsx(this.point))), index.h("div", { key: '2196dee1a40e48a2cb7e53038e7e42a39863ad72', class: "s-loyalty-program-points-badge-desktop" }, index.h("salla-badge", { key: 'fd3ccf58c671317ceffdd0615c443671354a31de', size: "sm", bg: "transparent" }, index.h("span", { key: 'f21842a6f380f20d4de80df057852cbd48befa4e', innerHTML: gift.SIGift }), functions.formattedPointsJsx(this.point))), index.h("p", { key: '7593ae79293d532ec6c3e6456c3434fc5b2beb29', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
229
+ return (index.h("div", { key: '18188b96c76014a8ca63490301473570179c6e78' }, index.h("div", { key: '0549c74cd95a162a59a471cdc59be0f1ced0ce0f', onClick: () => functions.closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, index.h("div", { key: 'cb3cbbd5b73644e1e69bd427e8603021e3177b1c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, index.h("span", { key: '9915e810011d48c389f2ff7e49059c386a71fb9f', class: this.point.icon })), index.h("div", { key: 'ee19572884f1d26780cde2532f65dedaea881240', class: "s-loyalty-program-points-badge-mobile" }, index.h("salla-badge", { key: '781ec4ca3f923a0784242d3933131616f2b24d44', size: "xs", bg: "transparent" }, index.h("span", { key: '5e38c2cb5b84f3c5dcddf1ab52ece36f91aaf89c', innerHTML: gift.SIGift }), functions.formattedPointsJsx(this.point))), index.h("div", { key: 'a78d50feb0e87e3df46616b80296566dd41f04bf', class: "s-loyalty-program-points-badge-desktop" }, index.h("salla-badge", { key: 'e984c578ad5ec7a6837d051d7d79635e1867b2d8', size: "sm", bg: "transparent" }, index.h("span", { key: 'b10cba531be0562633c446fe9f545553606e36af', innerHTML: gift.SIGift }), functions.formattedPointsJsx(this.point))), index.h("p", { key: 'c10978d7fdf85a7c99442d8ab3583048380d2108', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
236
230
  index.h("a", { class: {
237
231
  's-loyalty-program-points-action': true,
238
232
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -242,12 +236,12 @@ const SallaLoyaltyPoint = class {
242
236
  's-loyalty-program-points-action': true,
243
237
  's-loyalty-program-points-action-completed': this.point.is_completed,
244
238
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
245
- } }, this.point.description)), index.h("salla-modal", { key: '90be47d92f0ae74242c304c3b8d5c12c5a0a4649', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, index.h("div", { key: '00afe4584f14da0fd383f7e3109486541ca157f7', class: "s-loyalty-program-points-modal-header" }, index.h("h1", { key: 'd6af2b363b64fa2490bcaf1039f7128e63df6121', class: "s-loyalty-program-points-modal-info" }, this.point.name)), index.h("div", { key: 'e3cf11bcab3be81bfa63f03a75f2d655c38fc95e', class: "s-loyalty-program-modal-scrollable-content" }, index.h("div", { key: 'ce0a574cbcaabd7ac589e1e3be33708e664dbc08', class: "s-loyalty-program-points-modal-main" }, index.h("div", { key: 'c974151e5162d8dd0ab2bc75bae20966efb268f1', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, index.h("span", { key: '81d369d4f8d7ee6650cef1b55ce740c64716b2bd', class: this.point.icon })), index.h("salla-badge", { key: '0146ac225e7d54d14bcf5e53ba6c5325e0da260f', size: "sm", bg: "light" }, index.h("span", { key: '0653cb7799ed999c61cd7d5b6d350bcbaf7a5d95', innerHTML: gift.SIGift }), index.h("span", { key: '67a397aabbc889ceff3cdcf1e37ecc2614702369', class: "s-loyalty-program-points-badge-points" }, functions.formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
246
- index.h("div", { key: '3d270563818b923112c889b291ad72ef6a15b9bc', class: "s-loyalty-program-points-modal-details" }, index.h("div", { key: '0157d2d96b4b7dac9c687cef58af87fdb4871fc1', class: "s-loyalty-program-points-chains-wrapper" }, index.h("ul", { key: '469624383bad345a97ca9b74980d2a1499aa1b6a', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
239
+ } }, this.point.description)), index.h("salla-modal", { key: 'e44d1d39a1a7aa2f5560ed920a1e7b071f89e44c', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, index.h("div", { key: '29079334d694c522883e101be8cbf3cac7cf53cb', class: "s-loyalty-program-points-modal-header" }, index.h("h1", { key: '31d76362feb5d8faf3f0ef7f0bc253aa5d53bf06', class: "s-loyalty-program-points-modal-info" }, this.point.name)), index.h("div", { key: '526cfb6c9181e17c2953678da7018ba627d410fe', class: "s-loyalty-program-modal-scrollable-content" }, index.h("div", { key: '09aff5a2d91555902ed6adcb9875b43915a2c26a', class: "s-loyalty-program-points-modal-main" }, index.h("div", { key: 'a3878cda3a169d8780232b1b94f52add991038f6', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, index.h("span", { key: '54ba6129910cad8719872ac3f6fa2849ff3fe085', class: this.point.icon })), index.h("salla-badge", { key: '32f3fb88719c3c6ed8523235a0c05ec7cdf52936', size: "sm", bg: "light" }, index.h("span", { key: '8b9eb28e0175f411dd96cf99e7bbfd82d6364178', innerHTML: gift.SIGift }), index.h("span", { key: '93e030f87e44efd45f46d5e246fc9b636b84150f', class: "s-loyalty-program-points-badge-points" }, functions.formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
240
+ index.h("div", { key: '8536792c55eee3afaf0f22706691109dd14b08d1', class: "s-loyalty-program-points-modal-details" }, index.h("div", { key: '9121cc3b2e099189ee780a37c07cfdd4a83471d5', class: "s-loyalty-program-points-chains-wrapper" }, index.h("ul", { key: '254a0641aac4eafd9386757445808567c1fd5707', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
247
241
  const stepsArray = Object.values(this.point.steps);
248
242
  const isLastItem = idx === stepsArray.length - 1;
249
243
  return (index.h("li", { class: "s-loyalty-program-points-chain-item" }, index.h("div", { class: "s-loyalty-program-points-chain-icon" }, index.h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), !isLastItem && index.h("div", { class: "s-loyalty-program-points-chain-line" })), index.h("div", { class: "s-loyalty-program-points-chain-content" }, index.h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, index.h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), index.h("p", { class: "s-loyalty-program-points-chain-description" }, step.title || step.name))));
250
- })))), this.getDetails(this.point), index.h("div", { key: 'bba31447df26e2a50a28cb6af922d49ec52a854b', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : index.h("div", { class: "s-loyalty-program-points-modal-list" }, index.h("div", { class: "s-loyalty-program-point-details-branches" }, index.h("h2", null, salla.lang.get('pages.loyalty_program.branches')), index.h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), index.h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, index.h("ul", null, this.point.branches.map((branch) => (index.h("li", { class: "s-loyalty-program-points-modal-list-item" }, index.h("p", null, branch.name), index.h("salla-badge", { size: "sm", bg: "transparent" }, index.h("span", { innerHTML: gift.SIGift }), index.h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), index.h("div", { key: 'c6c84d25fddc848235682d14cc0e4755e91deb95', class: "s-loyalty-program-points-modal-action" }, index.h("a", { key: '1f7fbf431f89bb0d08e531ea4e6fb41109cad50e', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
244
+ })))), this.getDetails(this.point), index.h("div", { key: '5a7b03a390c7fe14741e8ba2a720335496af2ffb', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : index.h("div", { class: "s-loyalty-program-points-modal-list" }, index.h("div", { class: "s-loyalty-program-point-details-branches" }, index.h("h2", null, salla.lang.get('pages.loyalty_program.branches')), index.h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), index.h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, index.h("ul", null, this.point.branches.map((branch) => (index.h("li", { class: "s-loyalty-program-points-modal-list-item" }, index.h("p", null, branch.name), index.h("salla-badge", { size: "sm", bg: "transparent" }, index.h("span", { innerHTML: gift.SIGift }), index.h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), index.h("div", { key: '627db1137113e711730ba1187d43224b24b66381', class: "s-loyalty-program-points-modal-action" }, index.h("a", { key: 'acb48d39007c6c42d2a248dbdd62c6e1afb0c994', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
251
245
  's-loyalty-program-points-action': true,
252
246
  's-loyalty-program-points-action-completed': this.point.is_completed,
253
247
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -3,15 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var translations = require('./translations-BHyDCj-Y.js');
8
- var functions = require('./functions-Dnwp9wka.js');
6
+ var index = require('./index-erFsk7OI.js');
7
+ var functions = require('./functions-BWxgjDLr.js');
9
8
  var star2 = require('./star2-R146a27p.js');
10
9
  var cancel = require('./cancel-B5SbMYEk.js');
11
10
  var percentage = require('./percentage-Fs83gq6Q.js');
12
11
  var shipping = require('./shipping-CPYcgyCL.js');
13
12
  var cart2 = require('./cart2-B98PSAFN.js');
14
- var trackedPromise = require('./tracked-promise-DqErlr1h.js');
13
+ var trackedPromise = require('./tracked-promise-CAEeCapf.js');
15
14
 
16
15
  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>`;
17
16
 
@@ -46,7 +45,6 @@ const SallaLoyaltyPanel = class {
46
45
  componentWillLoad() {
47
46
  return salla.onReady()
48
47
  .then(() => salla.lang.onLoaded())
49
- .then(() => translations.setTranslations())
50
48
  .then(() => {
51
49
  salla.event.on('loyalty::exchange.succeeded', this.handleExchangeSucceeded);
52
50
  salla.event.on('loyalty::exchange-reset.succeeded', this.handleResetSucceeded);
@@ -3,8 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var translations = require('./translations-BHyDCj-Y.js');
6
+ var index = require('./index-erFsk7OI.js');
8
7
 
9
8
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
10
9
  <path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
@@ -23,7 +22,6 @@ const SallaLoyaltyPointsBanner = class {
23
22
  try {
24
23
  await salla.onReady();
25
24
  await salla.lang.onLoaded();
26
- await translations.setTranslations();
27
25
  this.productId = this.host.dataset.productId || salla.config.get('page.id');
28
26
  if (!this.productId) {
29
27
  return;
@@ -0,0 +1,96 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-erFsk7OI.js');
7
+ var gift = require('./gift-DbNivqYO.js');
8
+
9
+ const formatDate = (timestamp) => {
10
+ if (!timestamp)
11
+ return '';
12
+ return new Date(Number(timestamp)).toLocaleDateString(salla.lang.locale, {
13
+ weekday: 'long',
14
+ year: 'numeric',
15
+ month: 'long',
16
+ day: 'numeric',
17
+ hour: 'numeric',
18
+ });
19
+ };
20
+ const translateKey = (key) => {
21
+ if (!key)
22
+ return '';
23
+ try {
24
+ const k = key.toLowerCase();
25
+ const translation = salla.lang.get(`pages.loyalty_program.${k}`);
26
+ return translation === `pages.loyalty_program.${k}` ? key : translation;
27
+ }
28
+ catch {
29
+ return key;
30
+ }
31
+ };
32
+ const SallaLoyaltyPointsHistory = class {
33
+ constructor(hostRef) {
34
+ index.registerInstance(this, hostRef);
35
+ this.loyaltyPointsArray = [];
36
+ this.balance = 0;
37
+ this.isLoadingLoyalty = false;
38
+ this.nextPageUrlLoyalty = '';
39
+ this.handleClick = () => {
40
+ this.loadMoreLoyaltyPoints();
41
+ };
42
+ }
43
+ async componentWillLoad() {
44
+ try {
45
+ await salla.onReady();
46
+ await salla.lang.onLoaded();
47
+ await this.loadLoyaltyPoints();
48
+ }
49
+ catch (e) {
50
+ salla?.logger?.warn?.('salla-loyalty-points-history: init failed', e);
51
+ }
52
+ }
53
+ async loadLoyaltyPoints() {
54
+ this.isLoadingLoyalty = true;
55
+ try {
56
+ let url = `/balance/points?page=1`;
57
+ let resp = await salla.api.request(url);
58
+ this.loyaltyPointsArray = resp.data;
59
+ this.balance = resp.balance;
60
+ this.nextPageUrlLoyalty = resp.cursor.next;
61
+ }
62
+ catch (error) {
63
+ console.error('Error loading loyalty points transactions', error);
64
+ }
65
+ finally {
66
+ this.isLoadingLoyalty = false;
67
+ }
68
+ }
69
+ async loadMoreLoyaltyPoints() {
70
+ if (!this.nextPageUrlLoyalty)
71
+ return;
72
+ this.isLoadingLoyalty = true;
73
+ try {
74
+ let resp = await salla.api.request(this.nextPageUrlLoyalty);
75
+ this.loyaltyPointsArray = [...this.loyaltyPointsArray, ...resp.data];
76
+ this.nextPageUrlLoyalty = resp.cursor?.next || '';
77
+ }
78
+ catch (error) {
79
+ console.error('Error loading more loyalty points', error);
80
+ }
81
+ finally {
82
+ this.isLoadingLoyalty = false;
83
+ }
84
+ }
85
+ render() {
86
+ return (index.h(index.Host, { key: '722394ad8e614d7db2460762992ea12bbf4d1f07' }, index.h("div", { key: '2230046263f24dbe9f13329134121e6b1079d713' }, this.isLoadingLoyalty ? (index.h("salla-loading", null)) : (index.h("div", null, index.h("table", { class: "s-loyalty-points-history-table" }, index.h("tbody", null, index.h("tr", null, index.h("td", null, index.h("div", { class: "s-loyalty-points-history-balance-container" }, index.h("i", { class: "s-loyalty-points-history-balance-icon sicon-gift" }), index.h("div", null, index.h("div", { class: "s-loyalty-points-history-balance-value" }, this.balance, " ", salla.lang.get('pages.loyalty_program.point')), index.h("div", { class: "s-loyalty-points-history-balance-label" }, salla.lang.get('pages.loyalty_program.your_points')))))))), this.loyaltyPointsArray.length > 0 ? (index.h("div", null, index.h("table", { class: "s-loyalty-points-history-table" }, index.h("thead", { class: "s-loyalty-points-history-table-head" }, index.h("tr", null, index.h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), index.h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), index.h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), index.h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.note')), index.h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.status')))), index.h("tbody", null, this.loyaltyPointsArray.map(point => (index.h("tr", { class: "s-loyalty-points-history-table-tbody-tr" }, index.h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, index.h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, index.h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.points'), ":"), index.h("span", null, point?.type === 'plus' ? '+' : '', point?.amount || '', " ", salla.lang.get('pages.loyalty_program.point')))), index.h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, index.h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, index.h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.date'), ":"), index.h("span", null, formatDate(point?.created_at ? Number(point.created_at) * 1000 : undefined)))), index.h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, index.h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, index.h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.expiry_date'), ":"), index.h("span", null, formatDate(point?.expires_at ? Number(point.expires_at) * 1000 : undefined)))), index.h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, index.h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, index.h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.note'), ":"), index.h("span", null, translateKey(point?.key)))), index.h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, index.h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, index.h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.status'), ":"), index.h("div", { class: {
87
+ 's-loyalty-points-history-table-transaction-status': true,
88
+ 's-loyalty-points-history-table-transaction-status-pending': point?.status_key === 'pending',
89
+ 's-loyalty-points-history-table-transaction-status-revoked': point?.status_key === 'revoked',
90
+ 's-loyalty-points-history-table-transaction-status-used': point?.status_key === 'used',
91
+ 's-loyalty-points-history-table-transaction-status-expired': point?.status_key === 'expired',
92
+ } }, point?.status)))))))), index.h("div", { class: "s-loyalty-points-history-load-more" }, !!this.nextPageUrlLoyalty && (index.h("salla-button", { onClick: this.handleClick, loading: this.isLoadingLoyalty }, salla.lang.get('common.elements.load_more')))))) : (index.h("div", { class: "s-loyalty-points-history-table-empty-state" }, index.h("span", { innerHTML: gift.SIGift }), index.h("div", { class: "s-loyalty-points-history-table-placeholder-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_title')), index.h("div", { class: "s-loyalty-points-history-table-placeholder-sub-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_sub_title')))))))));
93
+ }
94
+ };
95
+
96
+ exports.salla_loyalty_points_history = SallaLoyaltyPointsHistory;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
9
9
 
@@ -3,16 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var translations = require('./translations-BHyDCj-Y.js');
8
- var functions = require('./functions-Dnwp9wka.js');
6
+ var index = require('./index-erFsk7OI.js');
7
+ var functions = require('./functions-BWxgjDLr.js');
9
8
  var percentage = require('./percentage-Fs83gq6Q.js');
10
9
  var shipping = require('./shipping-CPYcgyCL.js');
11
10
  var cart2 = require('./cart2-B98PSAFN.js');
12
11
  var userAdd = require('./user-add-BCGrddZS.js');
13
12
  var giftSharing = require('./gift-sharing-BE0uszUm.js');
14
- var gift = require('./gift-DbNivqYO.js');
15
- var trackedPromise = require('./tracked-promise-DqErlr1h.js');
13
+ var trackedPromise = require('./tracked-promise-CAEeCapf.js');
16
14
  var anime_es = require('./anime.es-BqW8JHZi.js');
17
15
 
18
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -60,7 +58,6 @@ const SallaLoyaltyProgram = class {
60
58
  componentWillLoad() {
61
59
  return salla.onReady()
62
60
  .then(() => salla.lang.onLoaded())
63
- .then(() => translations.setTranslations())
64
61
  .then(() => {
65
62
  this.program();
66
63
  this.points();
@@ -87,7 +84,7 @@ const SallaLoyaltyProgram = class {
87
84
  const prizesGroups = this.program.data.prizes;
88
85
  const prizesCount = this.program.data.prizes_count;
89
86
  return (index.h("div", { class: "s-loyalty-program-container" }, index.h("salla-loyalty-hero", { name: this.program.data.name, description: this.program.data.description, image: this.program.data.image }, salla.config.isUser()
90
- ? index.h("div", { slot: "crosspoint", class: "s-loyalty-program-profile-wrapper" }, index.h("div", { class: "s-loyalty-program-profile-container" }, index.h("div", { class: "s-loyalty-program-profile-points-section" }, index.h("h2", { class: "s-loyalty-program-profile-label" }, salla.lang.get('pages.loyalty_program.your_points')), index.h("p", { class: "s-loyalty-program-profile-points" }, index.h("span", { class: "s-loyalty-program-profile-points-value" }, !!this.animatedPoints ? this.animatedPoints : this.points.data), "\u00A0", salla.lang.get('pages.loyalty_program.point'))), index.h("div", { class: "s-loyalty-program-profile-icon" }, index.h("span", { innerHTML: gift.SIGift }))))
87
+ ? index.h("div", { slot: "crosspoint", class: "s-loyalty-program-profile-wrapper" }, index.h("div", { class: "s-loyalty-program-profile-container" }, index.h("div", { class: "s-loyalty-program-profile-points-section" }, index.h("h2", { class: "s-loyalty-program-profile-label" }, salla.lang.get('pages.loyalty_program.your_points')), index.h("p", { class: "s-loyalty-program-profile-points" }, index.h("span", { class: "s-loyalty-program-profile-points-value" }, !!this.animatedPoints ? this.animatedPoints : this.points.data), "\u00A0", salla.lang.get('pages.loyalty_program.point'))), index.h("salla-button", { href: salla.url.get('loyalty_points'), fill: "outline", color: "primary" }, salla.lang.get('pages.loyalty_program.view_points_log'))))
91
88
  : index.h("button", { slot: "action", onClick: () => salla.event.dispatch('login::open'), class: {
92
89
  's-loyalty-program-login-action': true,
93
90
  's-loyalty-program-login-action-dark': !this.program.data.image,
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
7
- var functions = require('./functions-Dnwp9wka.js');
6
+ var index = require('./index-erFsk7OI.js');
7
+ var functions = require('./functions-BWxgjDLr.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
 
10
10
  const sallaLoyaltyProgramCss = "";
@@ -39,10 +39,10 @@ const SallaLoyaltyReward = class {
39
39
  };
40
40
  }
41
41
  render() {
42
- return (index.h("div", { key: 'cc64d1446b539fa06a6fea4280992264816fed40', class: {
42
+ return (index.h("div", { key: 'c99714fbefea9c43a199201d6e9d331ed4b50e7f', class: {
43
43
  's-loyalty-program-reward-container': true,
44
44
  's-loyalty-program-reward-xs': this.size === 'xs',
45
- } }, index.h("div", { key: 'c50cc16ceff89288dc0bd4199123e0cfb7816732', onClick: this.handleActionArea, role: "button" }, index.h("div", { key: '7a68197172329f91e7df1e13ca667062131e14b8', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'f1d9dc5fc674095bfdfcb5d167f46d896f9a9b0c', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), index.h("div", { key: 'b443d55df65a1f34fdff14a3beda5b159fe687f8', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '292dcd5f9997f82fd0695fdd80380180e781b77f', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '083348231855223ff3ffc66b61847af85d274e19', size: "xs" }, index.h("span", { key: '5939fae8cd6737c98f6cab437cefdb89b0847bbb', innerHTML: gift.SIGift }), index.h("span", { key: '155ad221e00b1d21db2b16a8c1d394b302897cda', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: 'ab9d0e10acfc7e1bd5464a971cd6ff7eedf90d52', class: "s-loyalty-program-reward-title" }, index.h("span", { key: '3fcc04b5a81dd29b1b40411c95bebe8805ffb2bb' }, this.group)), index.h("div", { key: '2ffe9cb9c295cf817224b8d8aab7f1b413893f2f', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'e384ac797eb91704951e91f6fadf4863a9e9971c', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), index.h("div", { key: '887bb1eb44d945a66af21a88de60d09275fd5042', class: "p-4" }, index.h("button", { key: '704b697973f51cdcc67ba62a8b4d806d4abb5461', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
45
+ } }, index.h("div", { key: 'b3139a4325629e3e23b09096b96fbb9079ebb4f5', onClick: this.handleActionArea, role: "button" }, index.h("div", { key: '8d2951399db70f2672619149583d3821429611fa', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'd03e024172b99a72fdeb311e24f91d9ca11b69a1', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), index.h("div", { key: '23901c0a96c9af1ae459d5bbcad0f4429933225b', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '795743061efd1270a1a24eceb66f67e2bbb9eb1e', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '83545f69e513a563dfaef7bb107ae119656406a0', size: "xs" }, index.h("span", { key: '28751b88c77af1acfb746f58f55f4b84f2364141', innerHTML: gift.SIGift }), index.h("span", { key: '2ab694a2ff30f419171191c0746b80f74edfeea4', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: 'a67f1577b61604d88b54637a8951248663239a6e', class: "s-loyalty-program-reward-title" }, index.h("span", { key: 'c3a6df53cff6339bbd81018d69bcf3a8637e0a46' }, this.group)), index.h("div", { key: '6790fc3a3d44e7e25a2e5c1ea246515245fa1e61', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'fa99561fa8d2efafc2aee2796eceea93721e525d', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), index.h("div", { key: '948edaacd021950384418aedab807c11dee15754', class: "p-4" }, index.h("button", { key: '982c4c516b508aabec8489dc6f5c9ca326264f2a', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
46
46
  's-loyalty-program-rewards-action-base': true,
47
47
  's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
48
48
  's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var cancel = require('./cancel-B5SbMYEk.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var cancel = require('./cancel-B5SbMYEk.js');
8
8
 
9
9
  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}}";
@@ -24,7 +24,7 @@ const SallaMaintenanceAlert = class {
24
24
  this.host.style.display = 'none';
25
25
  }
26
26
  render() {
27
- return (index.h(index.Host, { key: 'e1a1d166cb1be3f24820517a902d0a0559634a80', class: "s-maintenance-alert-wrapper" }, index.h("button", { key: 'c59d166fca18b0da876bd6c8b24af2bd2db18aba', class: "s-maintenance-alert-close", innerHTML: cancel.SICancel, onClick: () => this.closeAlert() }), index.h("div", { key: '1706aa47265a29485b48ad7be1cebc98b8e735ec', class: "s-maintenance-alert-content" }, index.h("div", { key: '0ba2feded17c0dfd1a129f11cf7f393a1737055b', class: "s-maintenance-alert-container" }, index.h("div", { key: '509a81ace0c168f42e5391b5d4b1e04337b2c6fb', class: "s-maintenance-alert-icon" }, index.h("img", { key: '97598847825b9d4c1c8d06e0001c7d669c0dac4b', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), index.h("div", { key: '9bb8eac957668568262b9c59fd20bcff5240566f', class: "s-maintenance-alert-text" }, index.h("h2", { key: 'ac424443f1c28002a1e00305f240741c7b6bed4f' }, this.title), index.h("p", { key: '7d0dd3556640386b01877369a840ce1bedf5c647' }, this.message))), index.h("div", { key: 'fdbc31b011bc8c067046a57721344cd57554f5d8' }, index.h("a", { key: '6efb57a978e9fe03474451c464e85626974e476a', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
27
+ return (index.h(index.Host, { key: '43a02d438a0357bd48922ad8fa4753905ac5e388', class: "s-maintenance-alert-wrapper" }, index.h("button", { key: 'ad62ec4a5ea3e77854d5bbf8938c4bb1b19da068', class: "s-maintenance-alert-close", innerHTML: cancel.SICancel, onClick: () => this.closeAlert() }), index.h("div", { key: '4a26bf28c37452b9621703188502b05db1347f75', class: "s-maintenance-alert-content" }, index.h("div", { key: '0602a5df5676b47407e0c8e8293fb2374aa2c210', class: "s-maintenance-alert-container" }, index.h("div", { key: 'ff7c3fad5c1830d6d8d631aa520b0dd588328265', class: "s-maintenance-alert-icon" }, index.h("img", { key: '277e2a8c3d6b4369e73fef23adf894ddf70ef685', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), index.h("div", { key: '5feb8a00c132f2b5787e42a0b9743d864ceecb2f', class: "s-maintenance-alert-text" }, index.h("h2", { key: '994eb48859d163ad19be4a273a5cff5e28f18b2b' }, this.title), index.h("p", { key: '236094a5767e6f329744e8dafc2415be2713a0e2' }, this.message))), index.h("div", { key: '98610dfed6802e7ebc123c1392c9f7ebdbcf0d5a' }, index.h("a", { key: '655cede6c8e95a7fbb63700f01ef1d148887a660', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
28
28
  }
29
29
  componentDidLoad() {
30
30
  //auto-hide the alert if close button is clicked before one hour
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
  var location = require('./location-DIyESLuI.js');
8
8
 
9
9
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -700,11 +700,11 @@ const SallaMap = class {
700
700
  }
701
701
  // render
702
702
  render() {
703
- return (index.h(index.Host, { key: 'fb5b01c58f59c350959b40030603b9ebb22f586f', class: "s-map-wrapper" }, index.h("salla-modal", { key: 'c57cfae01a05597dcd06067cf84c9356ee93dd44', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
703
+ return (index.h(index.Host, { key: '8fae0e6754bd0571d5acf9bbc6df23e73b02b015', class: "s-map-wrapper" }, index.h("salla-modal", { key: '7aebcc533a4ec8f7ec5e3a8682f7f70afd5b1193', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
704
704
  this.locationModal = modal;
705
- } }, this.getLocationModal()), index.h("slot", { key: '0ab77947689841d7ab44a11b5e56e7f952aa7a82', name: "button" }, index.h("salla-button", { key: 'da386e3e15a89882865f7d62dd64da72ccebbc1d', onClick: () => {
705
+ } }, this.getLocationModal()), index.h("slot", { key: '1dc262e8474c0d137f98ce06c76d9fdea80d42c4', name: "button" }, index.h("salla-button", { key: '5ff296514b2e7b37d091cd634f497e855cf047d5', onClick: () => {
706
706
  this.open();
707
- }, color: "primary", class: "s-map-location-button" }, index.h("span", { key: '85c9eee27edafb31442f420633bbe6552a14d558', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : location.Location }), this.formattedAddress ? (index.h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), index.h("input", { key: '5999036a08b7b030cf29ae5242bb63bc1222fbbc', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
707
+ }, color: "primary", class: "s-map-location-button" }, index.h("span", { key: '806e832caff4dfdbadab0098f8c521548eb18aa4', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : location.Location }), this.formattedAddress ? (index.h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), index.h("input", { key: '2bc1c843dd35803d4f443907d1df52c72f4e87c2', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
708
708
  }
709
709
  get host() { return index.getElement(this); }
710
710
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-wTIlAVr3.js');
6
+ var index = require('./index-erFsk7OI.js');
7
7
 
8
8
  const sallaMenuCss = ":host{display:block}";
9
9