@salla.sa/twilight-components 2.14.447 → 2.14.449

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 (310) hide show
  1. package/dist/cjs/{filepond-H0V09y77.js → filepond-f9KbKIYn.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-z_Pgx1za.js → filepond-plugin-file-poster-BSdUMAjs.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BgbBSmud.js → filepond-plugin-file-validate-size-YLL5nfmo.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-D2zmv3Bc.js → filepond-plugin-file-validate-type-DnRb2szA.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-B74CXTZm.js → filepond-plugin-image-edit-BDCQgpe-.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DyaNWpnA.js → filepond-plugin-image-exif-orientation-CDJWoL6I.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C0XDHIb0.js → filepond-plugin-image-preview-1OlWyiTm.js} +1 -1
  8. package/dist/cjs/{functions-Bs97hO7_.js → functions-BZosuGw4.js} +1 -1
  9. package/dist/cjs/{index-CBTkKuC2.js → index-C7gO-zm5.js} +2 -2
  10. package/dist/cjs/{index-B5-Obq5h.js → index-Dj3X-WjA.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +51 -14
  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 +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  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 +3 -3
  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 +48 -31
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -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-CyZ6P0Ww.js → tracked-promise-CMALwoa6.js} +1 -1
  99. package/dist/cjs/twilight.cjs.js +1 -1
  100. package/dist/cjs/{vanilla-picker-Bd-KMT3o.js → vanilla-picker-BEliYBNM.js} +1 -1
  101. package/dist/collection/components/salla-breadcrumb/salla-breadcrumb.js +50 -13
  102. package/dist/collection/components/salla-tiered-offer/salla-tiered-offer.js +47 -30
  103. package/dist/components/index.js +2 -2
  104. package/dist/components/salla-breadcrumb.js +50 -13
  105. package/dist/components/salla-tiered-offer.js +47 -30
  106. package/dist/esm/{filepond-DO_Qk3JK.js → filepond-CDpPHT7z.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-poster-Btb31Xcs.js → filepond-plugin-file-poster-BOtfCgt6.js} +1 -1
  108. package/dist/esm/{filepond-plugin-file-validate-size-Bs8yCeGp.js → filepond-plugin-file-validate-size--uO_3T9g.js} +1 -1
  109. package/dist/esm/{filepond-plugin-file-validate-type-B5rUPm_4.js → filepond-plugin-file-validate-type-DnJbL2zb.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-edit-XOXQA_f1.js → filepond-plugin-image-edit-CjUUwl1o.js} +1 -1
  111. package/dist/esm/{filepond-plugin-image-exif-orientation-DUyferIn.js → filepond-plugin-image-exif-orientation-DkjfYMVD.js} +1 -1
  112. package/dist/esm/{filepond-plugin-image-preview-BHVQ0frN.js → filepond-plugin-image-preview-3LlHu8_B.js} +1 -1
  113. package/dist/esm/{functions-CHwbDaMQ.js → functions-BQD6jHG4.js} +1 -1
  114. package/dist/esm/{index-DECtOcJg.js → index-B5mrC7UX.js} +1 -1
  115. package/dist/esm/{index-DtunYVY8.js → index-CFtXUFT2.js} +2 -2
  116. package/dist/esm/loader.js +2 -2
  117. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  118. package/dist/esm/salla-accordion_6.entry.js +51 -14
  119. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  120. package/dist/esm/salla-advertisement.entry.js +1 -1
  121. package/dist/esm/salla-alert_2.entry.js +1 -1
  122. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  123. package/dist/esm/salla-apps-icons.entry.js +1 -1
  124. package/dist/esm/salla-badge.entry.js +1 -1
  125. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  126. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  127. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  128. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  129. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  130. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  131. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  132. package/dist/esm/salla-contacts.entry.js +1 -1
  133. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  134. package/dist/esm/salla-count-down.entry.js +1 -1
  135. package/dist/esm/salla-custom-fields.entry.js +1 -1
  136. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  137. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  138. package/dist/esm/salla-filters-widget.entry.js +1 -1
  139. package/dist/esm/salla-filters.entry.js +1 -1
  140. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  141. package/dist/esm/salla-gifting.entry.js +1 -1
  142. package/dist/esm/salla-hook.entry.js +1 -1
  143. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  144. package/dist/esm/salla-installment.entry.js +1 -1
  145. package/dist/esm/salla-list-tile.entry.js +1 -1
  146. package/dist/esm/salla-localization-modal.entry.js +1 -1
  147. package/dist/esm/salla-login-modal.entry.js +1 -1
  148. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  149. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  150. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  151. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  152. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  153. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  154. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  155. package/dist/esm/salla-loyalty.entry.js +1 -1
  156. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  157. package/dist/esm/salla-map.entry.js +1 -1
  158. package/dist/esm/salla-menu.entry.js +1 -1
  159. package/dist/esm/salla-metadata.entry.js +1 -1
  160. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  161. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  162. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  163. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  164. package/dist/esm/salla-notification-item.entry.js +1 -1
  165. package/dist/esm/salla-notifications.entry.js +1 -1
  166. package/dist/esm/salla-offer-modal.entry.js +1 -1
  167. package/dist/esm/salla-offer.entry.js +1 -1
  168. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  169. package/dist/esm/salla-order-details-options.entry.js +1 -1
  170. package/dist/esm/salla-order-details.entry.js +1 -1
  171. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  172. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  173. package/dist/esm/salla-order-edit.entry.js +1 -1
  174. package/dist/esm/salla-order-summary.entry.js +1 -1
  175. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  176. package/dist/esm/salla-orders.entry.js +1 -1
  177. package/dist/esm/salla-payments.entry.js +1 -1
  178. package/dist/esm/salla-placeholder.entry.js +1 -1
  179. package/dist/esm/salla-price-range.entry.js +1 -1
  180. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  181. package/dist/esm/salla-product-card_2.entry.js +1 -1
  182. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  183. package/dist/esm/salla-products-list.entry.js +1 -1
  184. package/dist/esm/salla-progress-bar.entry.js +1 -1
  185. package/dist/esm/salla-quick-order.entry.js +1 -1
  186. package/dist/esm/salla-rating-modal.entry.js +1 -1
  187. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  188. package/dist/esm/salla-scopes.entry.js +1 -1
  189. package/dist/esm/salla-search.entry.js +1 -1
  190. package/dist/esm/salla-skeleton.entry.js +1 -1
  191. package/dist/esm/salla-slider.entry.js +1 -1
  192. package/dist/esm/salla-social-share.entry.js +1 -1
  193. package/dist/esm/salla-social.entry.js +1 -1
  194. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  195. package/dist/esm/salla-tiered-offer.entry.js +48 -31
  196. package/dist/esm/salla-tooltip.entry.js +1 -1
  197. package/dist/esm/salla-trust-badges.entry.js +1 -1
  198. package/dist/esm/salla-user-menu.entry.js +1 -1
  199. package/dist/esm/salla-user-profile.entry.js +1 -1
  200. package/dist/esm/salla-user-settings.entry.js +1 -1
  201. package/dist/esm/salla-verify.entry.js +1 -1
  202. package/dist/esm/salla-wallet.entry.js +1 -1
  203. package/dist/esm/{tracked-promise-BcnHGy9I.js → tracked-promise-7zOvv3M6.js} +1 -1
  204. package/dist/esm/twilight.js +2 -2
  205. package/dist/esm/{vanilla-picker-CKYy2jA4.js → vanilla-picker-yptjYbav.js} +1 -1
  206. package/dist/twilight/{p-2c04d113.entry.js → p-00c80ce0.entry.js} +1 -1
  207. package/dist/twilight/{p-84ec609c.entry.js → p-03aed385.entry.js} +1 -1
  208. package/dist/twilight/{p-f6a86eab.entry.js → p-0f7f0c9a.entry.js} +1 -1
  209. package/dist/twilight/{p-6272d023.entry.js → p-10adfec3.entry.js} +1 -1
  210. package/dist/twilight/{p-51e35559.entry.js → p-10f3641c.entry.js} +1 -1
  211. package/dist/twilight/{p-2460406e.entry.js → p-121ca1bf.entry.js} +1 -1
  212. package/dist/twilight/{p-d5d4347d.entry.js → p-187ddba3.entry.js} +1 -1
  213. package/dist/twilight/{p-5571c0bb.entry.js → p-210b5cd5.entry.js} +1 -1
  214. package/dist/twilight/{p-951e437f.entry.js → p-2174a8e6.entry.js} +1 -1
  215. package/dist/twilight/{p-ce81c02d.entry.js → p-237ae017.entry.js} +1 -1
  216. package/dist/twilight/{p-36df6391.entry.js → p-26a0fdd4.entry.js} +1 -1
  217. package/dist/twilight/{p-c987d08e.entry.js → p-2a3b2509.entry.js} +1 -1
  218. package/dist/twilight/{p-1431bedb.entry.js → p-2b3e3ca7.entry.js} +1 -1
  219. package/dist/twilight/{p-5374824f.entry.js → p-2bb0e5c5.entry.js} +1 -1
  220. package/dist/twilight/{p-99804fec.entry.js → p-31d281ab.entry.js} +1 -1
  221. package/dist/twilight/{p-2e9679fb.entry.js → p-3a067383.entry.js} +1 -1
  222. package/dist/twilight/{p-b6e37661.entry.js → p-3c328960.entry.js} +1 -1
  223. package/dist/twilight/{p-d2617fba.entry.js → p-3c479c07.entry.js} +1 -1
  224. package/dist/twilight/{p-f2b78b99.entry.js → p-3db06266.entry.js} +1 -1
  225. package/dist/twilight/{p-3f2201f2.entry.js → p-400ecb0a.entry.js} +1 -1
  226. package/dist/twilight/{p-8d335191.entry.js → p-469c8350.entry.js} +1 -1
  227. package/dist/twilight/{p-Cdkh5eMM.js → p-4HuZkmYv.js} +1 -1
  228. package/dist/twilight/{p-1c54fe1c.entry.js → p-52dada7c.entry.js} +1 -1
  229. package/dist/twilight/{p-6c788e1e.entry.js → p-536d29ce.entry.js} +1 -1
  230. package/dist/twilight/{p-9396295d.entry.js → p-54d8c2ca.entry.js} +1 -1
  231. package/dist/twilight/{p-62f3f1f7.entry.js → p-564d8c45.entry.js} +1 -1
  232. package/dist/twilight/{p-814a9889.entry.js → p-58face3f.entry.js} +1 -1
  233. package/dist/twilight/{p-38069747.entry.js → p-59337a84.entry.js} +1 -1
  234. package/dist/twilight/{p-f92bd80a.entry.js → p-5e1b51dd.entry.js} +1 -1
  235. package/dist/twilight/{p-49077075.entry.js → p-5e30b0bd.entry.js} +1 -1
  236. package/dist/twilight/{p-e6f940d8.entry.js → p-61269cd6.entry.js} +1 -1
  237. package/dist/twilight/{p-a5205495.entry.js → p-6ba1c14e.entry.js} +1 -1
  238. package/dist/twilight/{p-1e8c6aca.entry.js → p-6ccdae0e.entry.js} +1 -1
  239. package/dist/twilight/{p-54a3559b.entry.js → p-764f3053.entry.js} +1 -1
  240. package/dist/twilight/{p-8815596b.entry.js → p-76bbabcb.entry.js} +1 -1
  241. package/dist/twilight/{p-cc9246b7.entry.js → p-7d3b048e.entry.js} +1 -1
  242. package/dist/twilight/{p-e8551517.entry.js → p-7fcbc3ef.entry.js} +1 -1
  243. package/dist/twilight/p-8b578d2c.entry.js +4 -0
  244. package/dist/twilight/{p-664fb7b8.entry.js → p-918178f5.entry.js} +1 -1
  245. package/dist/twilight/{p-afe87123.entry.js → p-947aea47.entry.js} +1 -1
  246. package/dist/twilight/{p-1d86e9f5.entry.js → p-967fbc9c.entry.js} +1 -1
  247. package/dist/twilight/{p-39c65bfc.entry.js → p-97b47164.entry.js} +1 -1
  248. package/dist/twilight/{p-2733190a.entry.js → p-99fa8ba6.entry.js} +1 -1
  249. package/dist/twilight/{p-DY_H4fO3.js → p-B9HPqa9u.js} +1 -1
  250. package/dist/twilight/{p-DpPRVQAV.js → p-BmPGKoL7.js} +1 -1
  251. package/dist/twilight/{p-DtunYVY8.js → p-CFtXUFT2.js} +1 -1
  252. package/dist/twilight/{p-BkdZznAG.js → p-CUBlD0Kt.js} +1 -1
  253. package/dist/twilight/{p-DInJVX-i.js → p-CsCwHOvQ.js} +2 -2
  254. package/dist/twilight/{p-BOSt2xT-.js → p-CxOW9p-m.js} +1 -1
  255. package/dist/twilight/{p-C6iDVPJi.js → p-Cz2LJSD1.js} +1 -1
  256. package/dist/twilight/{p-AGKwl7ld.js → p-DRqWSUhZ.js} +1 -1
  257. package/dist/twilight/{p-BBI8lVBK.js → p-DVY4bWKx.js} +1 -1
  258. package/dist/twilight/{p-Be4qhkKw.js → p-DZLwjHmr.js} +1 -1
  259. package/dist/twilight/{p-8MUZ2pqK.js → p-Dw1i2i3R.js} +1 -1
  260. package/dist/twilight/{p-b9965792.entry.js → p-a19b9fcd.entry.js} +1 -1
  261. package/dist/twilight/{p-a7c81e63.entry.js → p-a22f93c7.entry.js} +1 -1
  262. package/dist/twilight/{p-d7f22d4e.entry.js → p-a2b9f075.entry.js} +1 -1
  263. package/dist/twilight/{p-0e1a6208.entry.js → p-a4de6d64.entry.js} +1 -1
  264. package/dist/twilight/{p-44b9b2ac.entry.js → p-a5f6b737.entry.js} +1 -1
  265. package/dist/twilight/{p-7d5cff28.entry.js → p-a709602c.entry.js} +1 -1
  266. package/dist/twilight/{p-df88d27a.entry.js → p-a832d2f6.entry.js} +1 -1
  267. package/dist/twilight/{p-493258d1.entry.js → p-af8f9d9d.entry.js} +1 -1
  268. package/dist/twilight/{p-86c39145.entry.js → p-b04933fd.entry.js} +1 -1
  269. package/dist/twilight/{p-8c78f5b7.entry.js → p-b3123f77.entry.js} +1 -1
  270. package/dist/twilight/{p-83807c54.entry.js → p-b4108a9a.entry.js} +1 -1
  271. package/dist/twilight/{p-e1e75d50.entry.js → p-b5184ea5.entry.js} +1 -1
  272. package/dist/twilight/{p-c2b5570d.entry.js → p-b57b8cae.entry.js} +1 -1
  273. package/dist/twilight/{p-70b75d07.entry.js → p-b5bf31c8.entry.js} +1 -1
  274. package/dist/twilight/{p-0c3c496e.entry.js → p-b96744fc.entry.js} +1 -1
  275. package/dist/twilight/{p-ca674d67.entry.js → p-bcbb8488.entry.js} +1 -1
  276. package/dist/twilight/{p-ce2e72a2.entry.js → p-bf4257bb.entry.js} +1 -1
  277. package/dist/twilight/{p-7f7d1bf1.entry.js → p-bf76d88f.entry.js} +1 -1
  278. package/dist/twilight/{p-98dc6f0f.entry.js → p-c0491160.entry.js} +1 -1
  279. package/dist/twilight/{p-158c0fd9.entry.js → p-c24749d7.entry.js} +1 -1
  280. package/dist/twilight/{p-c351436d.entry.js → p-c2fa334e.entry.js} +1 -1
  281. package/dist/twilight/{p-76c1ba40.entry.js → p-c4f9029a.entry.js} +1 -1
  282. package/dist/twilight/{p-d9a9ab0e.entry.js → p-c6ed7a7f.entry.js} +1 -1
  283. package/dist/twilight/p-c79ac487.entry.js +4 -0
  284. package/dist/twilight/{p-360e32b5.entry.js → p-c987e5c4.entry.js} +1 -1
  285. package/dist/twilight/{p-a6cbb062.entry.js → p-ca38de68.entry.js} +1 -1
  286. package/dist/twilight/{p-75f8c604.entry.js → p-cc06234d.entry.js} +1 -1
  287. package/dist/twilight/{p-50dd7bd2.entry.js → p-d4db02e7.entry.js} +1 -1
  288. package/dist/twilight/{p-041fe75d.entry.js → p-d69b9a02.entry.js} +1 -1
  289. package/dist/twilight/{p-bfe9f635.entry.js → p-d8cb14bd.entry.js} +1 -1
  290. package/dist/twilight/{p-8e0ee5ac.entry.js → p-d8d6f688.entry.js} +1 -1
  291. package/dist/twilight/{p-f95d2671.entry.js → p-dad1b803.entry.js} +1 -1
  292. package/dist/twilight/{p-33968d21.entry.js → p-dfd0bf16.entry.js} +1 -1
  293. package/dist/twilight/{p-e701a5e1.entry.js → p-e1b2f1cd.entry.js} +1 -1
  294. package/dist/twilight/{p-6b65c0d5.entry.js → p-e89bfadd.entry.js} +1 -1
  295. package/dist/twilight/{p-8116827d.entry.js → p-eabd1eef.entry.js} +1 -1
  296. package/dist/twilight/{p-452601b5.entry.js → p-eb2e5d15.entry.js} +1 -1
  297. package/dist/twilight/{p-3a8af7f6.entry.js → p-effe5301.entry.js} +1 -1
  298. package/dist/twilight/{p-23ef52d4.entry.js → p-f31595be.entry.js} +1 -1
  299. package/dist/twilight/{p-7749da52.entry.js → p-f92040a1.entry.js} +1 -1
  300. package/dist/twilight/{p-4f8ea699.entry.js → p-fab8d485.entry.js} +1 -1
  301. package/dist/twilight/{p-22eac711.entry.js → p-fbdf7bc2.entry.js} +1 -1
  302. package/dist/twilight/{p-429c2869.entry.js → p-fc49d9c6.entry.js} +1 -1
  303. package/dist/twilight/{p-2934beff.entry.js → p-fe8417b0.entry.js} +1 -1
  304. package/dist/twilight/twilight.esm.js +1 -1
  305. package/dist/types/components/salla-breadcrumb/salla-breadcrumb.d.ts +7 -1
  306. package/dist/types/components/salla-tiered-offer/interfaces.d.ts +1 -0
  307. package/dist/types/components/salla-tiered-offer/salla-tiered-offer.d.ts +3 -0
  308. package/package.json +5 -5
  309. package/dist/twilight/p-071f9c31.entry.js +0 -4
  310. package/dist/twilight/p-5648016f.entry.js +0 -4
@@ -169,19 +169,56 @@ const SallaBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class SallaBreadcrumb
169
169
  salla.log('salla-breadcrumb:: There is no breadcrumbs!');
170
170
  return null;
171
171
  }
172
- return (h("ol", { class: {
173
- "s-breadcrumb-wrapper": true,
174
- "s-breadcrumb-dark": salla.url.is_page('loyalty'),
175
- "s-breadcrumb-primary-reverse": salla.config.get('page.slug').includes('customer')
176
- } }, this.breadcrumbs.map(item => {
177
- const isProductSingle = salla.config.get('page.slug') === "product.single";
178
- const title = (isProductSingle && item.is_last) ? item.title : this.sanitizeBreadcrumbTitle(item.title);
179
- const itemHTML = this.itemSlot.replace(/\{url\}/g, item.url).replace(/\{title\}/g, title);
180
- return [
181
- h("div", { class: "s-breadcrumb-slot", innerHTML: itemHTML }),
182
- this.getArrowDomForItem(item)
183
- ];
184
- })));
172
+ const isProductSingle = salla.config.get('page.slug') === "product.single";
173
+ return [
174
+ h("ol", { class: {
175
+ "s-breadcrumb-wrapper": true,
176
+ "s-breadcrumb-dark": salla.url.is_page('loyalty'),
177
+ "s-breadcrumb-primary-reverse": salla.config.get('page.slug').includes('customer')
178
+ } }, this.breadcrumbs.map(item => {
179
+ const title = (isProductSingle && item.is_last) ? item.title : this.sanitizeBreadcrumbTitle(item.title);
180
+ const itemHTML = this.itemSlot.replace(/\{url\}/g, item.url).replace(/\{title\}/g, title);
181
+ return [
182
+ h("div", { class: "s-breadcrumb-slot", innerHTML: itemHTML }),
183
+ this.getArrowDomForItem(item)
184
+ ];
185
+ })),
186
+ h("script", { type: "application/ld+json", innerHTML: this.getJsonLd(isProductSingle) })
187
+ ];
188
+ }
189
+ /**
190
+ * Builds schema.org BreadcrumbList JSON-LD for the current breadcrumb trail
191
+ * so search engines can render it as a rich result.
192
+ */
193
+ getJsonLd(isProductSingle) {
194
+ const itemListElement = this.breadcrumbs.map((item, index) => {
195
+ const name = (isProductSingle && item.is_last) ? item.title : this.sanitizeBreadcrumbTitle(item.title);
196
+ const entry = {
197
+ "@type": "ListItem",
198
+ "position": index + 1,
199
+ "name": name,
200
+ };
201
+ // Omit `item` for the current (last) page per Google's BreadcrumbList guidance.
202
+ if (!item.is_last && item.url) {
203
+ entry.item = this.toAbsoluteUrl(item.url);
204
+ }
205
+ return entry;
206
+ });
207
+ const json = JSON.stringify({
208
+ "@context": "https://schema.org",
209
+ "@type": "BreadcrumbList",
210
+ "itemListElement": itemListElement,
211
+ });
212
+ // Escape `<` so a title containing `</script>` cannot break out of the JSON-LD tag.
213
+ return json.replace(/</g, '\\u003c');
214
+ }
215
+ toAbsoluteUrl(url) {
216
+ try {
217
+ return new URL(url, window.location.origin).href;
218
+ }
219
+ catch {
220
+ return url;
221
+ }
185
222
  }
186
223
  getArrowDomForItem(item) {
187
224
  if (item.is_last) {
@@ -124,6 +124,15 @@ const SallaTieredOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaTieredOff
124
124
  // If coupon is applied but offer doesn't support coupons, widget should be hidden
125
125
  return !(cartCoupon && !offerData.details?.applied_with_coupon);
126
126
  }
127
+ shouldHideForGuest() {
128
+ return salla.config.isGuest();
129
+ }
130
+ shouldHideUntilThreshold(details, tierIndex) {
131
+ return !!(details?.hide_until_threshold && tierIndex === 0);
132
+ }
133
+ resolveTierName(tiers, index) {
134
+ return TierUtils.getTierNameByIndex(tiers, index) || '';
135
+ }
127
136
  async fetchTieredOfferData() {
128
137
  try {
129
138
  const { data } = await salla.api.cart.offers();
@@ -150,14 +159,20 @@ const SallaTieredOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaTieredOff
150
159
  // Find current tier index based on current_value from API
151
160
  const currentValue = this.apiOfferData.details?.current_value || 0;
152
161
  const currentTierIndex = this.findCurrentTierIndex(currentValue);
153
- // Only render if user has reached at least the first tier
154
- if (currentTierIndex === 0) {
162
+ // Hide entire widget for unauthenticated users
163
+ if (this.shouldHideForGuest()) {
164
+ this.canRender = false;
165
+ return;
166
+ }
167
+ // Only hide until threshold for merchants with the flag enabled (e.g. Arabian Oud)
168
+ if (this.shouldHideUntilThreshold(this.apiOfferData.details, currentTierIndex)) {
155
169
  this.canRender = false;
156
170
  return;
157
171
  }
158
172
  this.currentTierIndex = currentTierIndex;
159
- this.currentTier = TierUtils.getTierNameByIndex(this.tieredOfferData.tiers, currentTierIndex);
160
- this.activeTabTier = this.currentTier;
173
+ this.currentTier = this.resolveTierName(this.tieredOfferData.tiers, currentTierIndex);
174
+ // Default to first tab so tabs always have visible content
175
+ this.activeTabTier = this.currentTier || this.tieredOfferData.tiers[0]?.tier_name;
161
176
  this.canRender = true;
162
177
  }
163
178
  componentDidLoad() {
@@ -192,44 +207,46 @@ const SallaTieredOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaTieredOff
192
207
  if (!freshOfferData || !this.tieredOfferData) {
193
208
  return;
194
209
  }
210
+ if (!freshOfferData.details?.discounts?.length) {
211
+ this.canRender = false;
212
+ return;
213
+ }
195
214
  // Check coupon compatibility
196
215
  if (!this.validateCouponCompatibility(freshOfferData, updatedCart.coupon)) {
197
216
  this.canRender = false;
198
217
  return;
199
218
  }
200
- // If no coupon conflict, show widget
201
- this.canRender = true;
202
- // Check if this offer should update with cart changes
203
- if (freshOfferData.details?.with_current_cart === false) {
219
+ // Hide entire widget for unauthenticated users
220
+ if (this.shouldHideForGuest()) {
221
+ this.canRender = false;
204
222
  return;
205
223
  }
206
- // Update current_value in API offer data
207
- // const currentValue = updatedCart.sub_total;
208
- // console.log('currentValue #####3', currentValue);
209
- // this.apiOfferData = {
210
- // ...this.apiOfferData,
211
- // details: {
212
- // ...this.apiOfferData.details,
213
- // current_value: currentValue
214
- // }
215
- // };
216
- // Use current_value from fresh API data instead of cart sub_total
224
+ // Build fresh tier map so index computation uses up-to-date thresholds
225
+ const freshTieredData = this.mapApiDataToTiers(freshOfferData);
217
226
  const currentValue = freshOfferData.details?.current_value || 0;
218
- this.apiOfferData = freshOfferData;
219
- // Update current tier based on new value
220
- const newTierIndex = this.findCurrentTierIndex(currentValue);
221
- // Check if user qualifies for any tier
222
- if (newTierIndex === 0) {
227
+ const newTierIndex = this.findCurrentTierIndex(currentValue, freshTieredData.tiers);
228
+ // Only hide until threshold for merchants with the flag enabled (e.g. Arabian Oud)
229
+ if (this.shouldHideUntilThreshold(freshOfferData.details, newTierIndex)) {
223
230
  this.canRender = false;
224
231
  return;
225
232
  }
226
- // user qualifies show widget
233
+ // Offer progress is based on historical purchases only — skip state update on cart changes
234
+ // Use strict === false to avoid treating an omitted flag as false
235
+ if (freshOfferData.details?.with_current_cart === false) {
236
+ this.canRender = true;
237
+ return;
238
+ }
239
+ // All guards passed — update state atomically
240
+ this.apiOfferData = freshOfferData;
241
+ this.tieredOfferData = freshTieredData;
227
242
  this.canRender = true;
228
243
  this.currentTierIndex = newTierIndex;
229
- this.currentTier = TierUtils.getTierNameByIndex(this.tieredOfferData.tiers, newTierIndex);
230
- // Update active tab if needed
231
- if (this.activeTabTier !== this.currentTier) {
232
- this.activeTabTier = this.currentTier;
244
+ // Tiers are 1-based; fall back to first tier when no tier has been reached yet
245
+ this.currentTier = this.resolveTierName(freshTieredData.tiers, newTierIndex);
246
+ // Update active tab if needed; default to first tab when no tier reached
247
+ const resolvedTab = this.currentTier || freshTieredData.tiers[0]?.tier_name;
248
+ if (this.activeTabTier !== resolvedTab) {
249
+ this.activeTabTier = resolvedTab;
233
250
  }
234
251
  }
235
252
  getLoadingSkeletonView() {
@@ -327,7 +344,7 @@ const SallaTieredOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaTieredOff
327
344
  return null;
328
345
  }
329
346
  const currentTierData = this.getCurrentTierData();
330
- return (h(Host, null, h("div", { class: "s-tiered-offer-container" }, h("div", { class: "s-tiered-offer-header" }, h("div", { class: "s-tiered-offer-header-content" }, h("p", { class: "s-tiered-offer-program-title" }, this.loyaltyProgramText), h("div", { class: "s-tiered-offer-current-tier-name-wrapper" }, h("h2", { class: "s-tiered-offer-current-tier" }, this.currentTierText, " ", h("span", { class: "s-tiered-offer-tier-name" }, currentTierData.name)), h("span", { innerHTML: currentTierData.icon })))), this.renderProgressBar(), this.renderTabs())));
347
+ return (h(Host, null, h("div", { class: "s-tiered-offer-container" }, h("div", { class: "s-tiered-offer-header" }, h("div", { class: "s-tiered-offer-header-content" }, h("p", { class: "s-tiered-offer-program-title" }, this.loyaltyProgramText), this.currentTier && (h("div", { class: "s-tiered-offer-current-tier-name-wrapper" }, h("h2", { class: "s-tiered-offer-current-tier" }, this.currentTierText, " ", h("span", { class: "s-tiered-offer-tier-name" }, currentTierData.name)), h("span", { innerHTML: currentTierData.icon }))))), this.renderProgressBar(), this.renderTabs())));
331
348
  }
332
349
  static get style() { return sallaTieredOfferCss; }
333
350
  }, [0, "salla-tiered-offer", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h } from './index-DtunYVY8.js';
4
+ import { h } from './index-CFtXUFT2.js';
5
5
 
6
6
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
7
7
  return number < multipleOf ? number : number - (number % multipleOf);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DtunYVY8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CFtXUFT2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {