@salla.sa/twilight-components 2.14.454 → 2.14.456

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 (337) hide show
  1. package/dist/cjs/{filepond-omDVoR0V.js → filepond-ByigWwFl.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CiTwbype.js → filepond-plugin-file-poster-BiD-_Ds9.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BMUGogIJ.js → filepond-plugin-file-validate-size--jYzIVxc.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DU7loMuy.js → filepond-plugin-file-validate-type-DSEoIdkG.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BvpuxlGL.js → filepond-plugin-image-edit-BxhNq1OW.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BltzmQ3V.js → filepond-plugin-image-exif-orientation-CxhioraI.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C-51g4On.js → filepond-plugin-image-preview-BOBfoOPj.js} +1 -1
  8. package/dist/cjs/{functions-BugkyX_h.js → functions-CzTE1Can.js} +36 -8
  9. package/dist/cjs/{index-CMdVOCIm.js → index-CHEJ_wTy.js} +1 -1
  10. package/dist/cjs/{index-DppdveKW.js → index-MWekS0mu.js} +2 -2
  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 +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +2 -2
  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 +3 -3
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +32 -10
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +4 -4
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +11 -5
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-reward-action_4.cjs.entry.js +14 -11
  83. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +172 -1
  93. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  98. package/dist/cjs/{tracked-promise-D_CjjRbz.js → tracked-promise-DzmWHAH-.js} +1 -1
  99. package/dist/cjs/{translations-DMwpLvqi.js → translations-BHyDCj-Y.js} +12 -0
  100. package/dist/cjs/twilight.cjs.js +1 -1
  101. package/dist/cjs/{vanilla-picker-Cx13ViIR.js → vanilla-picker-D7NBRp4f.js} +1 -1
  102. package/dist/collection/components/salla-loyalty-program/functions.js +22 -7
  103. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +31 -9
  104. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +7 -1
  105. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  106. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +4 -1
  107. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  108. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  109. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  110. package/dist/collection/components/salla-loyalty-program/translations.js +12 -0
  111. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +171 -0
  112. package/dist/components/functions.js +35 -8
  113. package/dist/components/index.js +2 -2
  114. package/dist/components/salla-loyalty-point2.js +31 -9
  115. package/dist/components/salla-loyalty-program.js +7 -1
  116. package/dist/components/salla-loyalty-reward.js +2 -2
  117. package/dist/components/salla-reward-action2.js +4 -1
  118. package/dist/components/salla-reward-card2.js +1 -1
  119. package/dist/components/salla-reward-details2.js +3 -3
  120. package/dist/components/salla-reward-exchange2.js +3 -3
  121. package/dist/components/salla-trust-badges.js +171 -0
  122. package/dist/components/translations.js +12 -0
  123. package/dist/esm/{filepond-DFccUKfi.js → filepond-CRlzgcIb.js} +1 -1
  124. package/dist/esm/{filepond-plugin-file-poster-BKP-dfBt.js → filepond-plugin-file-poster-ByayYzo6.js} +1 -1
  125. package/dist/esm/{filepond-plugin-file-validate-size-Cjhw73dP.js → filepond-plugin-file-validate-size-Dzbvm4bE.js} +1 -1
  126. package/dist/esm/{filepond-plugin-file-validate-type-BYB_v8v7.js → filepond-plugin-file-validate-type-BLR4c3Mg.js} +1 -1
  127. package/dist/esm/{filepond-plugin-image-edit-DrvarOmH.js → filepond-plugin-image-edit-C3Xg8l5R.js} +1 -1
  128. package/dist/esm/{filepond-plugin-image-exif-orientation-DdeulGFN.js → filepond-plugin-image-exif-orientation-CVUrfrNW.js} +1 -1
  129. package/dist/esm/{filepond-plugin-image-preview-CygMfjyy.js → filepond-plugin-image-preview-CGO8PkcS.js} +1 -1
  130. package/dist/esm/{functions-B4JadfO-.js → functions-gyNQgO8M.js} +36 -9
  131. package/dist/esm/{index-iW77h_OO.js → index-CF5lYEtt.js} +2 -2
  132. package/dist/esm/{index-BsChAaWH.js → index-D8tNjsq-.js} +1 -1
  133. package/dist/esm/loader.js +2 -2
  134. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  135. package/dist/esm/salla-accordion_6.entry.js +1 -1
  136. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  137. package/dist/esm/salla-advertisement.entry.js +1 -1
  138. package/dist/esm/salla-alert_2.entry.js +1 -1
  139. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  140. package/dist/esm/salla-apps-icons.entry.js +1 -1
  141. package/dist/esm/salla-badge.entry.js +1 -1
  142. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  143. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  144. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  145. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  146. package/dist/esm/salla-cashback-banner.entry.js +2 -2
  147. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  148. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  149. package/dist/esm/salla-contacts.entry.js +1 -1
  150. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  151. package/dist/esm/salla-count-down.entry.js +1 -1
  152. package/dist/esm/salla-custom-fields.entry.js +1 -1
  153. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  154. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  155. package/dist/esm/salla-filters-widget.entry.js +1 -1
  156. package/dist/esm/salla-filters.entry.js +1 -1
  157. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  158. package/dist/esm/salla-gifting.entry.js +1 -1
  159. package/dist/esm/salla-hook.entry.js +1 -1
  160. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  161. package/dist/esm/salla-installment.entry.js +1 -1
  162. package/dist/esm/salla-list-tile.entry.js +1 -1
  163. package/dist/esm/salla-localization-modal.entry.js +1 -1
  164. package/dist/esm/salla-login-modal.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-banner.entry.js +3 -3
  166. package/dist/esm/salla-loyalty-hero_2.entry.js +32 -10
  167. package/dist/esm/salla-loyalty-panel.entry.js +4 -4
  168. package/dist/esm/salla-loyalty-points-banner.entry.js +2 -2
  169. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  170. package/dist/esm/salla-loyalty-program.entry.js +11 -5
  171. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  172. package/dist/esm/salla-loyalty.entry.js +1 -1
  173. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  174. package/dist/esm/salla-map.entry.js +1 -1
  175. package/dist/esm/salla-menu.entry.js +1 -1
  176. package/dist/esm/salla-metadata.entry.js +1 -1
  177. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  178. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  179. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  180. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  181. package/dist/esm/salla-notification-item.entry.js +1 -1
  182. package/dist/esm/salla-notifications.entry.js +1 -1
  183. package/dist/esm/salla-offer-modal.entry.js +1 -1
  184. package/dist/esm/salla-offer.entry.js +1 -1
  185. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  186. package/dist/esm/salla-order-details-options.entry.js +1 -1
  187. package/dist/esm/salla-order-details.entry.js +1 -1
  188. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  189. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  190. package/dist/esm/salla-order-edit.entry.js +1 -1
  191. package/dist/esm/salla-order-summary.entry.js +1 -1
  192. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  193. package/dist/esm/salla-orders.entry.js +1 -1
  194. package/dist/esm/salla-payments.entry.js +1 -1
  195. package/dist/esm/salla-placeholder.entry.js +1 -1
  196. package/dist/esm/salla-price-range.entry.js +1 -1
  197. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  198. package/dist/esm/salla-product-card_2.entry.js +1 -1
  199. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  200. package/dist/esm/salla-products-list.entry.js +1 -1
  201. package/dist/esm/salla-progress-bar.entry.js +1 -1
  202. package/dist/esm/salla-quick-order.entry.js +1 -1
  203. package/dist/esm/salla-rating-modal.entry.js +1 -1
  204. package/dist/esm/salla-reward-action_4.entry.js +14 -11
  205. package/dist/esm/salla-scopes.entry.js +1 -1
  206. package/dist/esm/salla-search.entry.js +1 -1
  207. package/dist/esm/salla-skeleton.entry.js +1 -1
  208. package/dist/esm/salla-slider.entry.js +1 -1
  209. package/dist/esm/salla-social-share.entry.js +1 -1
  210. package/dist/esm/salla-social.entry.js +1 -1
  211. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  212. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  213. package/dist/esm/salla-tooltip.entry.js +1 -1
  214. package/dist/esm/salla-trust-badges.entry.js +172 -1
  215. package/dist/esm/salla-user-menu.entry.js +1 -1
  216. package/dist/esm/salla-user-profile.entry.js +1 -1
  217. package/dist/esm/salla-user-settings.entry.js +1 -1
  218. package/dist/esm/salla-verify.entry.js +1 -1
  219. package/dist/esm/salla-wallet.entry.js +1 -1
  220. package/dist/esm/{tracked-promise-C44guOYk.js → tracked-promise-p7166HJt.js} +1 -1
  221. package/dist/esm/{translations-B-Rj6b9M.js → translations-dn_hTofo.js} +12 -0
  222. package/dist/esm/twilight.js +2 -2
  223. package/dist/esm/{vanilla-picker-YDGjYiGR.js → vanilla-picker-DNH0QcWx.js} +1 -1
  224. package/dist/twilight/{p-f909c93a.entry.js → p-00cae5da.entry.js} +1 -1
  225. package/dist/twilight/{p-34aa2e08.entry.js → p-03d2a295.entry.js} +1 -1
  226. package/dist/twilight/{p-d7efc079.entry.js → p-07509240.entry.js} +1 -1
  227. package/dist/twilight/{p-99cc3c6d.entry.js → p-08e2d088.entry.js} +1 -1
  228. package/dist/twilight/{p-05a72e81.entry.js → p-161bbb4d.entry.js} +1 -1
  229. package/dist/twilight/{p-596d016f.entry.js → p-1745f9a1.entry.js} +1 -1
  230. package/dist/twilight/{p-3e994db0.entry.js → p-18eeb19b.entry.js} +1 -1
  231. package/dist/twilight/{p-d9754b4d.entry.js → p-19c86bc6.entry.js} +1 -1
  232. package/dist/twilight/{p-DQRmUn8O.js → p-1P71keJV.js} +1 -1
  233. package/dist/twilight/{p-24b99485.entry.js → p-1a647899.entry.js} +1 -1
  234. package/dist/twilight/{p-4cbe8713.entry.js → p-1c87788f.entry.js} +1 -1
  235. package/dist/twilight/{p-02dd7637.entry.js → p-1dbb89d0.entry.js} +1 -1
  236. package/dist/twilight/{p-13cb0ec4.entry.js → p-25705059.entry.js} +1 -1
  237. package/dist/twilight/{p-d5dd0382.entry.js → p-2d707e83.entry.js} +1 -1
  238. package/dist/twilight/{p-256aa3f1.entry.js → p-30f4c0c7.entry.js} +1 -1
  239. package/dist/twilight/{p-a6394281.entry.js → p-3586e535.entry.js} +1 -1
  240. package/dist/twilight/{p-ed5da7f4.entry.js → p-3ab0ba37.entry.js} +1 -1
  241. package/dist/twilight/{p-2d4e9fb9.entry.js → p-3e5d39d6.entry.js} +1 -1
  242. package/dist/twilight/{p-c0ff719e.entry.js → p-3f7d4d95.entry.js} +1 -1
  243. package/dist/twilight/{p-290f254d.entry.js → p-4189d36a.entry.js} +1 -1
  244. package/dist/twilight/{p-c929ace3.entry.js → p-44cb2ef8.entry.js} +1 -1
  245. package/dist/twilight/p-469b9c3b.entry.js +4 -0
  246. package/dist/twilight/{p-7afdc002.entry.js → p-4ba8a32c.entry.js} +1 -1
  247. package/dist/twilight/{p-46b71bff.entry.js → p-4c74a0de.entry.js} +1 -1
  248. package/dist/twilight/{p-99e0fc1f.entry.js → p-4d2ee4bf.entry.js} +1 -1
  249. package/dist/twilight/{p-40c95509.entry.js → p-4f623243.entry.js} +1 -1
  250. package/dist/twilight/{p-ed14038b.entry.js → p-4fbac225.entry.js} +1 -1
  251. package/dist/twilight/p-5312991b.entry.js +4 -0
  252. package/dist/twilight/{p-8fea01ea.entry.js → p-53db2588.entry.js} +1 -1
  253. package/dist/twilight/{p-02f8d9f9.entry.js → p-549dfe1b.entry.js} +1 -1
  254. package/dist/twilight/{p-51da9e0c.entry.js → p-579c9941.entry.js} +1 -1
  255. package/dist/twilight/{p-6ed57526.entry.js → p-585f6156.entry.js} +1 -1
  256. package/dist/twilight/p-5b9aee81.entry.js +4 -0
  257. package/dist/twilight/{p-6c9aca7c.entry.js → p-60c4743f.entry.js} +1 -1
  258. package/dist/twilight/{p-JqmowdAI.js → p-65q-Lspm.js} +1 -1
  259. package/dist/twilight/{p-51638221.entry.js → p-6612976a.entry.js} +1 -1
  260. package/dist/twilight/p-66384032.entry.js +4 -0
  261. package/dist/twilight/p-66fb0eed.entry.js +4 -0
  262. package/dist/twilight/{p-b266250b.entry.js → p-6e1cec7b.entry.js} +1 -1
  263. package/dist/twilight/{p-28f46e76.entry.js → p-7046c764.entry.js} +1 -1
  264. package/dist/twilight/{p-1b2c0753.entry.js → p-72a7f290.entry.js} +1 -1
  265. package/dist/twilight/{p-19f2e7d2.entry.js → p-72ec3a50.entry.js} +1 -1
  266. package/dist/twilight/{p-4c9edafa.entry.js → p-74ad347b.entry.js} +1 -1
  267. package/dist/twilight/{p-a61a9f5a.entry.js → p-789816d3.entry.js} +1 -1
  268. package/dist/twilight/{p-d58e833c.entry.js → p-814b5624.entry.js} +1 -1
  269. package/dist/twilight/{p-cb7e203e.entry.js → p-84eae64c.entry.js} +1 -1
  270. package/dist/twilight/p-86be13c9.entry.js +4 -0
  271. package/dist/twilight/{p-a6dca70e.entry.js → p-8714ba55.entry.js} +1 -1
  272. package/dist/twilight/{p-19276c52.entry.js → p-8b9835be.entry.js} +1 -1
  273. package/dist/twilight/{p-da7dac3f.entry.js → p-8e84a8eb.entry.js} +1 -1
  274. package/dist/twilight/{p-3c810267.entry.js → p-90e05e76.entry.js} +1 -1
  275. package/dist/twilight/{p-721bf683.entry.js → p-96015a02.entry.js} +1 -1
  276. package/dist/twilight/{p-e6c02cf3.entry.js → p-97647732.entry.js} +1 -1
  277. package/dist/twilight/{p-D--YecOb.js → p-BWsYxy94.js} +1 -1
  278. package/dist/twilight/{p-CgvkiAxT.js → p-BevZXaXF.js} +1 -1
  279. package/dist/twilight/{p-DPYkeBoq.js → p-BtV9ZEuP.js} +1 -1
  280. package/dist/twilight/{p-iW77h_OO.js → p-CF5lYEtt.js} +1 -1
  281. package/dist/twilight/p-CSn54B_A.js +4 -0
  282. package/dist/twilight/{p-JH4C3FEL.js → p-CgnSxwtl.js} +2 -2
  283. package/dist/twilight/{p-CNLZvKDA.js → p-D0XsGIjC.js} +1 -1
  284. package/dist/twilight/{p-BtQuvkil.js → p-D58UweWS.js} +1 -1
  285. package/dist/twilight/p-DFCW2iW-.js +9 -0
  286. package/dist/twilight/{p-CwIp300F.js → p-DaxhHxCj.js} +2 -2
  287. package/dist/twilight/{p-3bbd0428.entry.js → p-a3d00953.entry.js} +1 -1
  288. package/dist/twilight/{p-5d9af31e.entry.js → p-a446b3b1.entry.js} +1 -1
  289. package/dist/twilight/{p-a27bb10b.entry.js → p-a6b63629.entry.js} +1 -1
  290. package/dist/twilight/{p-f05b8136.entry.js → p-a7b4fb6b.entry.js} +1 -1
  291. package/dist/twilight/{p-3a4376e2.entry.js → p-ab8c90ab.entry.js} +1 -1
  292. package/dist/twilight/{p-3f5f9c20.entry.js → p-acb29315.entry.js} +1 -1
  293. package/dist/twilight/{p-5ac78da9.entry.js → p-ad411fb2.entry.js} +1 -1
  294. package/dist/twilight/{p-74ab39a5.entry.js → p-ade9674c.entry.js} +1 -1
  295. package/dist/twilight/{p-f8316f57.entry.js → p-ae31f13e.entry.js} +1 -1
  296. package/dist/twilight/{p-fd293182.entry.js → p-b03ccd38.entry.js} +1 -1
  297. package/dist/twilight/p-b23c3b14.entry.js +4 -0
  298. package/dist/twilight/{p-d742b000.entry.js → p-b4a5d9f1.entry.js} +1 -1
  299. package/dist/twilight/{p-f0cddd1f.entry.js → p-b94a95f9.entry.js} +1 -1
  300. package/dist/twilight/{p-4e93a3b0.entry.js → p-bd692fdc.entry.js} +1 -1
  301. package/dist/twilight/{p-1152d39f.entry.js → p-bf38bbba.entry.js} +1 -1
  302. package/dist/twilight/{p-f2b6c9a8.entry.js → p-bf9ecde7.entry.js} +1 -1
  303. package/dist/twilight/{p-76523a14.entry.js → p-c0c2f66b.entry.js} +1 -1
  304. package/dist/twilight/{p-3bae0861.entry.js → p-c19fc5f6.entry.js} +1 -1
  305. package/dist/twilight/{p-0819daad.entry.js → p-c2818e13.entry.js} +1 -1
  306. package/dist/twilight/{p-588a366c.entry.js → p-c3ab6df4.entry.js} +1 -1
  307. package/dist/twilight/{p-87b489d5.entry.js → p-c47b7eb7.entry.js} +1 -1
  308. package/dist/twilight/{p-eba853e8.entry.js → p-cdcf9152.entry.js} +1 -1
  309. package/dist/twilight/{p-df7285e7.entry.js → p-cf5f44a4.entry.js} +1 -1
  310. package/dist/twilight/{p-ba047214.entry.js → p-d06ddfdd.entry.js} +1 -1
  311. package/dist/twilight/{p-00b84307.entry.js → p-d0982f5f.entry.js} +1 -1
  312. package/dist/twilight/{p-5965a3d2.entry.js → p-d4415e81.entry.js} +1 -1
  313. package/dist/twilight/{p-a9d9d779.entry.js → p-d4737a77.entry.js} +1 -1
  314. package/dist/twilight/{p-fb21e567.entry.js → p-d53cf37d.entry.js} +1 -1
  315. package/dist/twilight/p-dn_hTofo.js +4 -0
  316. package/dist/twilight/{p-cd7b86ca.entry.js → p-e189cbcd.entry.js} +1 -1
  317. package/dist/twilight/{p-bf5f9ac5.entry.js → p-e34af4af.entry.js} +1 -1
  318. package/dist/twilight/{p-1f7af2ad.entry.js → p-e71456a5.entry.js} +1 -1
  319. package/dist/twilight/{p-0649d07b.entry.js → p-f1da2348.entry.js} +1 -1
  320. package/dist/twilight/{p-f65dfb0b.entry.js → p-f77fa8c8.entry.js} +1 -1
  321. package/dist/twilight/{p-a6563120.entry.js → p-fb088b52.entry.js} +1 -1
  322. package/dist/twilight/{p-7ca70e4e.entry.js → p-fde1dd81.entry.js} +1 -1
  323. package/dist/twilight/twilight.esm.js +1 -1
  324. package/dist/types/components/salla-loyalty-program/functions.d.ts +3 -1
  325. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +3 -0
  326. package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +25 -0
  327. package/package.json +5 -5
  328. package/dist/twilight/p-10334bac.entry.js +0 -4
  329. package/dist/twilight/p-498cdb6f.entry.js +0 -4
  330. package/dist/twilight/p-697a25c4.entry.js +0 -4
  331. package/dist/twilight/p-B-Rj6b9M.js +0 -4
  332. package/dist/twilight/p-BWfbW9uR.js +0 -4
  333. package/dist/twilight/p-BpU1d8Q_.js +0 -9
  334. package/dist/twilight/p-c5c834f6.entry.js +0 -4
  335. package/dist/twilight/p-d85d8cc1.entry.js +0 -4
  336. package/dist/twilight/p-dc1ed927.entry.js +0 -4
  337. package/dist/twilight/p-f1b235e6.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DppdveKW.js');
6
+ var index = require('./index-MWekS0mu.js');
7
7
 
8
8
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
9
9
  return number < multipleOf ? number : number - (number % multipleOf);
@@ -38,31 +38,58 @@ function brand_path(brand) {
38
38
  return [brand.name.replace(/\s/g, '-'), `brand-${brand.id}`].join('/');
39
39
  }
40
40
  function isUnitOrder(point) {
41
- for (const condition of (point.conditions ?? [])) {
42
- if (condition.key?.endsWith('_FOR_UNIT')) {
41
+ for (const condition of point.conditions) {
42
+ if (condition.key.endsWith('_FOR_UNIT') || condition.key.endsWith('_FOR_UNIT_BY_CATEGORIES')) {
43
43
  return true;
44
44
  }
45
45
  }
46
- return false;
47
46
  }
48
- function formattedPointsJsx(value) {
47
+ function isRangePoints(point) {
48
+ for (const condition of point.conditions) {
49
+ if (condition.key.endsWith('_BY_CATEGORIES') && point.conditions.length > 1) {
50
+ return true;
51
+ }
52
+ }
53
+ }
54
+ function getPoints(point) {
55
+ if (isRangePoints(point)) {
56
+ return point.conditions.sort((a, b) => a.points - b.points)[0].points;
57
+ }
58
+ return point.points;
59
+ }
60
+ function formattedPointsJsx(value, isUnit = false, isRange = false) {
49
61
  if (typeof value === 'number') {
62
+ if (isUnit) {
63
+ return index.h("span", null,
64
+ isRange ? salla.lang.get('pages.loyalty_program.start_from') : '',
65
+ " 1 ",
66
+ salla.config.currency().symbol,
67
+ " = ",
68
+ value,
69
+ " ",
70
+ salla.lang.get('pages.loyalty_program.point'));
71
+ }
50
72
  return index.h("span", null,
73
+ isRange ? salla.lang.get('pages.loyalty_program.start_from') : '',
74
+ " ",
51
75
  value,
52
76
  " ",
53
77
  salla.lang.get('pages.loyalty_program.point'));
54
78
  }
55
79
  if (isUnitOrder(value)) {
56
80
  return index.h("span", null,
57
- "1 ",
81
+ isRangePoints(value) ? salla.lang.get('pages.loyalty_program.start_from') : '',
82
+ " 1 ",
58
83
  salla.config.currency().symbol,
59
84
  " = ",
60
- value.points,
85
+ getPoints(value),
61
86
  " ",
62
87
  salla.lang.get('pages.loyalty_program.point'));
63
88
  }
64
89
  return index.h("span", null,
65
- value.points,
90
+ isRangePoints(value) ? salla.lang.get('pages.loyalty_program.start_from') : '',
91
+ " ",
92
+ getPoints(value),
66
93
  " ",
67
94
  salla.lang.get('pages.loyalty_program.point'));
68
95
  }
@@ -70,5 +97,6 @@ function formattedPointsJsx(value) {
70
97
  exports.brand_path = brand_path;
71
98
  exports.closeModals = closeModals;
72
99
  exports.formattedPointsJsx = formattedPointsJsx;
100
+ exports.isUnitOrder = isUnitOrder;
73
101
  exports.nearestLowerMultiple = nearestLowerMultiple;
74
102
  exports.normalizeLoyaltyData = normalizeLoyaltyData;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index$2 = require('./index-DppdveKW.js');
6
+ var index$2 = require('./index-MWekS0mu.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {