@salla.sa/twilight-components 2.14.593 → 2.14.595

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 (352) hide show
  1. package/dist/cjs/{filepond-Dh9Ih7bu.js → filepond-BmX7bEQk.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-C6Sx5vF0.js → filepond-plugin-file-poster-Cs6e85Vn.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DdzdetN6.js → filepond-plugin-file-validate-size-CSk66JAo.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DRWFKOpQ.js → filepond-plugin-file-validate-type-Piu3p2Um.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-B4vaf2kZ.js → filepond-plugin-image-edit-Ba9FBal4.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BXfm40Ut.js → filepond-plugin-image-exif-orientation-zwtgHyrT.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DQLCCOAs.js → filepond-plugin-image-preview-BmGjui8n.js} +1 -1
  8. package/dist/cjs/{index-CLrjVXN1.js → index-DkrDtx6i.js} +21 -7
  9. package/dist/cjs/{intlTelInput-o62W18dw.js → intlTelInput-Bty1-N7J.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +10 -10
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +286 -20
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +68 -15
  24. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +29 -4
  26. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-form_9.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-gift-card-redeem_2.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map_3.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
  106. package/dist/cjs/twilight.cjs.js +2 -2
  107. package/dist/cjs/{vanilla-picker-FCNrUTtN.js → vanilla-picker-DgPfWupN.js} +1 -1
  108. package/dist/collection/components/salla-bullet-delivery/location-distance-warning.js +28 -0
  109. package/dist/collection/components/salla-bullet-delivery/location-icon.svg +26 -0
  110. package/dist/collection/components/salla-bullet-delivery/location-permission-notice.js +103 -0
  111. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +136 -0
  112. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +133 -19
  113. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +69 -15
  114. package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +30 -3
  115. package/dist/collection/global/app.js +2 -0
  116. package/dist/collection/global/app.spec.ts +33 -0
  117. package/dist/collection/global/app.ts +2 -0
  118. package/dist/collection/global/chunk-errors.js +14 -0
  119. package/dist/collection/global/chunk-errors.spec.ts +47 -0
  120. package/dist/collection/global/chunk-errors.ts +13 -0
  121. package/dist/components/index.js +15 -2
  122. package/dist/components/salla-bullet-delivery.js +288 -20
  123. package/dist/components/salla-cart-coupons.js +68 -14
  124. package/dist/components/salla-cart-summary-card.js +30 -3
  125. package/dist/docs.json +1 -1
  126. package/dist/esm/{filepond-DTcw03Zq.js → filepond-DF26o67L.js} +1 -1
  127. package/dist/esm/{filepond-plugin-file-poster-Csk5cMw9.js → filepond-plugin-file-poster-B4epzDDH.js} +1 -1
  128. package/dist/esm/{filepond-plugin-file-validate-size-FFrf5LrW.js → filepond-plugin-file-validate-size-DILJc03j.js} +1 -1
  129. package/dist/esm/{filepond-plugin-file-validate-type-DeZP4xXd.js → filepond-plugin-file-validate-type-Bic7dGts.js} +1 -1
  130. package/dist/esm/{filepond-plugin-image-edit-DRKyd_1I.js → filepond-plugin-image-edit-DHfCLKK0.js} +1 -1
  131. package/dist/esm/{filepond-plugin-image-exif-orientation-CxVz7OAy.js → filepond-plugin-image-exif-orientation-C7y59Hrn.js} +1 -1
  132. package/dist/esm/{filepond-plugin-image-preview-CsKN7em3.js → filepond-plugin-image-preview-C-ZqWLeC.js} +1 -1
  133. package/dist/esm/{index-0Tl_yZW8.js → index-HRJpfiBN.js} +21 -7
  134. package/dist/esm/{intlTelInput-CBN9egFg.js → intlTelInput-DOVRUqFb.js} +1 -1
  135. package/dist/esm/loader.js +3 -3
  136. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  137. package/dist/esm/salla-accordion_6.entry.js +1 -1
  138. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  139. package/dist/esm/salla-advertisement.entry.js +1 -1
  140. package/dist/esm/salla-alert_2.entry.js +1 -1
  141. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  142. package/dist/esm/salla-applied-filters.entry.js +1 -1
  143. package/dist/esm/salla-apps-icons.entry.js +1 -1
  144. package/dist/esm/salla-attachment-view_9.entry.js +10 -10
  145. package/dist/esm/salla-badge.entry.js +1 -1
  146. package/dist/esm/salla-basket-gap.entry.js +1 -1
  147. package/dist/esm/salla-bullet-delivery_3.entry.js +286 -20
  148. package/dist/esm/salla-cart-coupons.entry.js +68 -15
  149. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  150. package/dist/esm/salla-cart-summary-card.entry.js +29 -4
  151. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  152. package/dist/esm/salla-comment-factors.entry.js +1 -1
  153. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  154. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  155. package/dist/esm/salla-contacts.entry.js +1 -1
  156. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  157. package/dist/esm/salla-count-down.entry.js +1 -1
  158. package/dist/esm/salla-custom-fields.entry.js +1 -1
  159. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  160. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  161. package/dist/esm/salla-filters-widget.entry.js +1 -1
  162. package/dist/esm/salla-filters.entry.js +1 -1
  163. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  164. package/dist/esm/salla-gift-card-redeem_2.entry.js +1 -1
  165. package/dist/esm/salla-gifting.entry.js +1 -1
  166. package/dist/esm/salla-hook.entry.js +1 -1
  167. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  168. package/dist/esm/salla-installment.entry.js +1 -1
  169. package/dist/esm/salla-list-tile.entry.js +1 -1
  170. package/dist/esm/salla-localization-modal.entry.js +1 -1
  171. package/dist/esm/salla-login-modal.entry.js +1 -1
  172. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  173. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  174. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  175. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  176. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  177. package/dist/esm/salla-loyalty.entry.js +1 -1
  178. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  179. package/dist/esm/salla-map_3.entry.js +1 -1
  180. package/dist/esm/salla-menu.entry.js +1 -1
  181. package/dist/esm/salla-metadata.entry.js +1 -1
  182. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  183. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  184. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  185. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  186. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  187. package/dist/esm/salla-offer-modal.entry.js +1 -1
  188. package/dist/esm/salla-offer.entry.js +1 -1
  189. package/dist/esm/salla-order-branch.entry.js +1 -1
  190. package/dist/esm/salla-order-cancel.entry.js +1 -1
  191. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  192. package/dist/esm/salla-order-details-options.entry.js +1 -1
  193. package/dist/esm/salla-order-details.entry.js +1 -1
  194. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  195. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  196. package/dist/esm/salla-order-edit.entry.js +1 -1
  197. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  198. package/dist/esm/salla-order-shipments.entry.js +1 -1
  199. package/dist/esm/salla-order-summary.entry.js +1 -1
  200. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  201. package/dist/esm/salla-orders.entry.js +1 -1
  202. package/dist/esm/salla-payments.entry.js +1 -1
  203. package/dist/esm/salla-placeholder.entry.js +1 -1
  204. package/dist/esm/salla-price-range.entry.js +1 -1
  205. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  206. package/dist/esm/salla-product-card.entry.js +1 -1
  207. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  208. package/dist/esm/salla-products-list.entry.js +1 -1
  209. package/dist/esm/salla-products-slider.entry.js +1 -1
  210. package/dist/esm/salla-quick-order.entry.js +1 -1
  211. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  212. package/dist/esm/salla-rating-modal.entry.js +1 -1
  213. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  214. package/dist/esm/salla-review-order-item.entry.js +1 -1
  215. package/dist/esm/salla-scopes.entry.js +1 -1
  216. package/dist/esm/salla-search-product-card.entry.js +1 -1
  217. package/dist/esm/salla-search.entry.js +1 -1
  218. package/dist/esm/salla-skeleton.entry.js +1 -1
  219. package/dist/esm/salla-social-share.entry.js +1 -1
  220. package/dist/esm/salla-social.entry.js +1 -1
  221. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  222. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  223. package/dist/esm/salla-trust-badges.entry.js +1 -1
  224. package/dist/esm/salla-user-menu.entry.js +1 -1
  225. package/dist/esm/salla-user-profile.entry.js +1 -1
  226. package/dist/esm/salla-user-settings.entry.js +1 -1
  227. package/dist/esm/salla-verify.entry.js +1 -1
  228. package/dist/esm/salla-wallet.entry.js +1 -1
  229. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  230. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  231. package/dist/esm/twilight.js +3 -3
  232. package/dist/esm/{vanilla-picker-CiLp9ysz.js → vanilla-picker-DQKehCLa.js} +1 -1
  233. package/dist/twilight/global/app.spec.ts +33 -0
  234. package/dist/twilight/global/app.ts +2 -0
  235. package/dist/twilight/global/chunk-errors.spec.ts +47 -0
  236. package/dist/twilight/global/chunk-errors.ts +13 -0
  237. package/dist/twilight/{p-b566bc10.entry.js → p-02d79968.entry.js} +1 -1
  238. package/dist/twilight/{p-f445e7a3.entry.js → p-078e5ef8.entry.js} +1 -1
  239. package/dist/twilight/{p-40be8baa.entry.js → p-07e1822a.entry.js} +1 -1
  240. package/dist/twilight/{p-d744234e.entry.js → p-0e430b25.entry.js} +1 -1
  241. package/dist/twilight/{p-9a818822.entry.js → p-100260a2.entry.js} +1 -1
  242. package/dist/twilight/{p-1892ea42.entry.js → p-117c8823.entry.js} +1 -1
  243. package/dist/twilight/{p-449eae1d.entry.js → p-119aa7c1.entry.js} +1 -1
  244. package/dist/twilight/{p-e8cb4cd9.entry.js → p-14b78c6e.entry.js} +1 -1
  245. package/dist/twilight/{p-bc3ad6d2.entry.js → p-155f1fed.entry.js} +1 -1
  246. package/dist/twilight/{p-1abcc81d.entry.js → p-16b45c19.entry.js} +1 -1
  247. package/dist/twilight/{p-7c06ad6a.entry.js → p-1a684490.entry.js} +1 -1
  248. package/dist/twilight/{p-b0d66765.entry.js → p-1b0da3b9.entry.js} +1 -1
  249. package/dist/twilight/{p-fe27963f.entry.js → p-20d5665b.entry.js} +1 -1
  250. package/dist/twilight/{p-2cbed601.entry.js → p-231d4bf2.entry.js} +1 -1
  251. package/dist/twilight/{p-5cc28510.entry.js → p-235f40b0.entry.js} +1 -1
  252. package/dist/twilight/{p-7bee2390.entry.js → p-2413d450.entry.js} +1 -1
  253. package/dist/twilight/{p-6561d5d3.entry.js → p-25ea21a6.entry.js} +1 -1
  254. package/dist/twilight/{p-fea37c8c.entry.js → p-2c13b5e8.entry.js} +1 -1
  255. package/dist/twilight/{p-e8fa4bd0.entry.js → p-2f96a72f.entry.js} +1 -1
  256. package/dist/twilight/{p-fb527b4d.entry.js → p-312d231b.entry.js} +1 -1
  257. package/dist/twilight/{p-52e7b4f6.entry.js → p-313dbe67.entry.js} +1 -1
  258. package/dist/twilight/{p-636ffc46.entry.js → p-334fc442.entry.js} +1 -1
  259. package/dist/twilight/{p-c394f30a.entry.js → p-33a64882.entry.js} +1 -1
  260. package/dist/twilight/{p-fef5c118.entry.js → p-3c0be6b1.entry.js} +1 -1
  261. package/dist/twilight/{p-14c9ed90.entry.js → p-3e232b09.entry.js} +1 -1
  262. package/dist/twilight/{p-933807d7.entry.js → p-3f376a9d.entry.js} +1 -1
  263. package/dist/twilight/{p-7f59893d.entry.js → p-46ad2b0e.entry.js} +1 -1
  264. package/dist/twilight/{p-a764bfe7.entry.js → p-49d6d82e.entry.js} +1 -1
  265. package/dist/twilight/{p-cc7c4469.entry.js → p-49e2f73d.entry.js} +1 -1
  266. package/dist/twilight/{p-75fc9b99.entry.js → p-4cee6b43.entry.js} +1 -1
  267. package/dist/twilight/{p-e9372ca0.entry.js → p-4e0dcb5c.entry.js} +1 -1
  268. package/dist/twilight/{p-4701a008.entry.js → p-4e3a3c55.entry.js} +1 -1
  269. package/dist/twilight/{p-42426756.entry.js → p-4e74c79f.entry.js} +1 -1
  270. package/dist/twilight/{p-2ac1eac9.entry.js → p-4f9da81b.entry.js} +1 -1
  271. package/dist/twilight/{p-0fe961e0.entry.js → p-5134faef.entry.js} +1 -1
  272. package/dist/twilight/p-5b617110.entry.js +4 -0
  273. package/dist/twilight/{p-01b4b05f.entry.js → p-5bc3f956.entry.js} +1 -1
  274. package/dist/twilight/{p-299e7413.entry.js → p-5f0eca54.entry.js} +1 -1
  275. package/dist/twilight/{p-918fa44a.entry.js → p-5fae444a.entry.js} +1 -1
  276. package/dist/twilight/{p-65665ee3.entry.js → p-61c8e3c6.entry.js} +1 -1
  277. package/dist/twilight/{p-2d2db627.entry.js → p-6e8cb8fb.entry.js} +1 -1
  278. package/dist/twilight/{p-99e615a1.entry.js → p-6feb378a.entry.js} +1 -1
  279. package/dist/twilight/{p-1bf7cce7.entry.js → p-70c45a90.entry.js} +1 -1
  280. package/dist/twilight/{p-deb1139c.entry.js → p-73b8ed51.entry.js} +1 -1
  281. package/dist/twilight/p-75ed7d4e.entry.js +4 -0
  282. package/dist/twilight/{p-ddc61bff.entry.js → p-761e273c.entry.js} +1 -1
  283. package/dist/twilight/{p-253a352c.entry.js → p-768f5c26.entry.js} +1 -1
  284. package/dist/twilight/{p-288627a2.entry.js → p-76f49fd8.entry.js} +1 -1
  285. package/dist/twilight/{p-775f9b02.entry.js → p-7960e489.entry.js} +1 -1
  286. package/dist/twilight/{p-aec2d723.entry.js → p-7f38cf0c.entry.js} +1 -1
  287. package/dist/twilight/{p-179595d9.entry.js → p-7f58cf36.entry.js} +1 -1
  288. package/dist/twilight/{p-44afcd79.entry.js → p-83edd1a1.entry.js} +1 -1
  289. package/dist/twilight/{p-dc129d7a.entry.js → p-845e4790.entry.js} +1 -1
  290. package/dist/twilight/{p-31253c2d.entry.js → p-84c56f4d.entry.js} +1 -1
  291. package/dist/twilight/{p-4432411c.entry.js → p-8688c21f.entry.js} +1 -1
  292. package/dist/twilight/{p-821e9049.entry.js → p-87d34b7c.entry.js} +1 -1
  293. package/dist/twilight/{p-b01764d0.entry.js → p-8be3fa1c.entry.js} +1 -1
  294. package/dist/twilight/{p-f92d1971.entry.js → p-8dc7ae26.entry.js} +1 -1
  295. package/dist/twilight/{p-4d879cd3.entry.js → p-8e0a33dd.entry.js} +1 -1
  296. package/dist/twilight/{p-183e02ac.entry.js → p-8eabd62f.entry.js} +1 -1
  297. package/dist/twilight/{p-85ab4182.entry.js → p-8f0b6a64.entry.js} +1 -1
  298. package/dist/twilight/{p-d05e1bfd.entry.js → p-8fc42a50.entry.js} +1 -1
  299. package/dist/twilight/{p-ce9b6ac6.entry.js → p-943f3e5a.entry.js} +1 -1
  300. package/dist/twilight/{p-f176c43e.entry.js → p-96317fc8.entry.js} +1 -1
  301. package/dist/twilight/{p-0cc42e36.entry.js → p-96560ca2.entry.js} +1 -1
  302. package/dist/twilight/{p-3d533d87.entry.js → p-97b51153.entry.js} +1 -1
  303. package/dist/twilight/p-9a4a84b8.entry.js +4 -0
  304. package/dist/twilight/{p-e429b1e5.entry.js → p-9a723216.entry.js} +1 -1
  305. package/dist/twilight/{p-7c038d9d.entry.js → p-9c1bf3fb.entry.js} +1 -1
  306. package/dist/twilight/{p-Cbnu3aaI.js → p-BCFB-lfz.js} +1 -1
  307. package/dist/twilight/{p-CZkK9lyS.js → p-BFMu9w68.js} +1 -1
  308. package/dist/twilight/{p-YTWgVZ0u.js → p-BGUXYEQf.js} +2 -2
  309. package/dist/twilight/{p-BABHygiN.js → p-BdaR2plD.js} +1 -1
  310. package/dist/twilight/{p-CxpHph5p.js → p-CSRWBUvd.js} +1 -1
  311. package/dist/twilight/{p-BDO2BBmv.js → p-CliIfO7G.js} +1 -1
  312. package/dist/twilight/{p-BZHrTB2v.js → p-D1oXS6KY.js} +1 -1
  313. package/dist/twilight/{p-fP9RBas5.js → p-DlxVucku.js} +1 -1
  314. package/dist/twilight/{p-0Tl_yZW8.js → p-HRJpfiBN.js} +2 -2
  315. package/dist/twilight/{p-MugjBhYh.js → p-O5jKs1Zb.js} +1 -1
  316. package/dist/twilight/{p-0c26bedf.entry.js → p-a2cbbc56.entry.js} +1 -1
  317. package/dist/twilight/{p-ad9dcb47.entry.js → p-a3009d00.entry.js} +1 -1
  318. package/dist/twilight/{p-ae22bfeb.entry.js → p-b202c2d3.entry.js} +1 -1
  319. package/dist/twilight/{p-95b89c32.entry.js → p-b2b896d1.entry.js} +1 -1
  320. package/dist/twilight/{p-35d5e339.entry.js → p-b66c664b.entry.js} +1 -1
  321. package/dist/twilight/{p-9434c23f.entry.js → p-c327bc95.entry.js} +1 -1
  322. package/dist/twilight/{p-8e013db1.entry.js → p-c3afee2f.entry.js} +1 -1
  323. package/dist/twilight/{p-8d369871.entry.js → p-c699207a.entry.js} +1 -1
  324. package/dist/twilight/{p-aee17b8b.entry.js → p-c89d7291.entry.js} +1 -1
  325. package/dist/twilight/{p-eb590773.entry.js → p-c8d4b211.entry.js} +1 -1
  326. package/dist/twilight/{p-f828fefc.entry.js → p-c919171b.entry.js} +1 -1
  327. package/dist/twilight/{p-f4cff5cf.entry.js → p-d565b168.entry.js} +1 -1
  328. package/dist/twilight/{p-0433773a.entry.js → p-d7a70a29.entry.js} +1 -1
  329. package/dist/twilight/{p-af12fce1.entry.js → p-d8181149.entry.js} +1 -1
  330. package/dist/twilight/{p-a263bdbb.entry.js → p-d8a5198b.entry.js} +1 -1
  331. package/dist/twilight/{p-26adf02d.entry.js → p-db27df13.entry.js} +1 -1
  332. package/dist/twilight/{p-80f27669.entry.js → p-df8c51c2.entry.js} +1 -1
  333. package/dist/twilight/{p-220338b4.entry.js → p-e4d76bce.entry.js} +1 -1
  334. package/dist/twilight/{p-2da1eb61.entry.js → p-eb6f86fb.entry.js} +1 -1
  335. package/dist/twilight/{p-b9d2ae8a.entry.js → p-ee23fbba.entry.js} +1 -1
  336. package/dist/twilight/{p-6db61be2.entry.js → p-ee8d13fd.entry.js} +1 -1
  337. package/dist/twilight/{p-a735c70e.entry.js → p-ef09a761.entry.js} +1 -1
  338. package/dist/twilight/{p-e955b287.entry.js → p-f5e46494.entry.js} +1 -1
  339. package/dist/twilight/{p-bf3fdf6d.entry.js → p-f9abcf4f.entry.js} +1 -1
  340. package/dist/twilight/{p-3b5fe2ef.entry.js → p-fd0d136d.entry.js} +1 -1
  341. package/dist/twilight/{p-4d852a57.entry.js → p-fe72290f.entry.js} +1 -1
  342. package/dist/twilight/twilight.esm.js +1 -1
  343. package/dist/types/components/salla-bullet-delivery/location-distance-warning.d.ts +12 -0
  344. package/dist/types/components/salla-bullet-delivery/location-permission-notice.d.ts +39 -0
  345. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +31 -0
  346. package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +14 -0
  347. package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +3 -0
  348. package/dist/types/global/chunk-errors.d.ts +2 -0
  349. package/package.json +5 -5
  350. package/dist/twilight/p-17f2114f.entry.js +0 -4
  351. package/dist/twilight/p-b81474c4.entry.js +0 -4
  352. package/dist/twilight/p-d851751c.entry.js +0 -4
@@ -54,12 +54,23 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
54
54
  // - Single-coupon (flag off): any payload carrying `coupon` re-syncs the input, so a
55
55
  // server-side invalidation (e.g. cart drops below the coupon minimum) that emits
56
56
  // `coupon: ''` clears the stale code instead of leaving it stuck until a reload.
57
+ // A null `coupon` is dropped from the payload, so a cart holding only a cashback
58
+ // activation code carries `cashback_code` alone — accept that too.
57
59
  const carriesCoupons = this.multiCoupon
58
60
  ? Array.isArray(cartData?.coupons)
59
- : (cartData && 'coupon' in cartData);
61
+ : (cartData && ('coupon' in cartData || 'cashback_code' in cartData));
60
62
  if (carriesCoupons) {
61
63
  this.syncAppliedFromCart(cartData);
62
64
  }
65
+ else if (this.multiCoupon && cartData && 'cashback_code' in cartData) {
66
+ // Multi-coupon had a blind spot: a cart whose only code is a cashback activation code
67
+ // has no `coupons` array to carry (forApi drops a null `coupon`), so the chip never
68
+ // appeared on a cart::updated that wasn't itself an add/remove. It cannot go through
69
+ // syncAppliedFromCart though — that RE-SEEDS from the payload, and a summary-only
70
+ // update would then drop every stacked coupon, which is exactly what the guard above
71
+ // exists to prevent. So merge the one chip instead of rebuilding the list.
72
+ this.mergeCashbackCodeChip(cartData.cashback_code);
73
+ }
63
74
  // Clear error when cart updates
64
75
  this.couponError = '';
65
76
  };
@@ -99,6 +110,24 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
99
110
  this.onInput = (event) => {
100
111
  this.couponInputValue = event.target.value;
101
112
  };
113
+ /**
114
+ * Seed the chip list and the active coupon from a cart object.
115
+ * Multi-coupon: use the cart's `coupons` array (survives refresh).
116
+ * Single-coupon (default): use the single `coupon` code.
117
+ * A cashback activation code (`cashback_code`) is shown like an applied coupon; removing it
118
+ * goes through the same coupon delete calls, which clear it on the server.
119
+ */
120
+ /**
121
+ * Add the cashback activation code to the existing chips without touching the rest.
122
+ *
123
+ * Additive only, on purpose: removal already flows through the explicit remove path, which
124
+ * refreshes from the server with a real `coupons` array. Inferring removal here is not
125
+ * possible anyway — nothing marks which chip is the cashback one — and guessing would risk
126
+ * deleting a real coupon.
127
+ */
128
+ /** The cashback code this component merged into the chips, so a later update can replace
129
+ * or clear exactly that one without touching a real coupon. */
130
+ this.mergedCashbackCode = '';
102
131
  }
103
132
  async componentWillLoad() {
104
133
  await Salla.onReady();
@@ -232,7 +261,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
232
261
  // cart-details nests the cart under data.cart (same shape addCoupon/deleteCoupon read).
233
262
  const cart = response?.data?.cart ?? response?.data ?? response;
234
263
  if (cart && typeof cart === 'object' &&
235
- (Array.isArray(cart.coupons) || 'coupon' in cart)) {
264
+ (Array.isArray(cart.coupons) || 'coupon' in cart || 'cashback_code' in cart)) {
236
265
  this.applyCart(cart);
237
266
  return;
238
267
  }
@@ -251,17 +280,41 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
251
280
  this.syncCartTotal(cart);
252
281
  this.syncAppliedFromCart(cart);
253
282
  }
254
- /**
255
- * Seed the chip list and the active coupon from a cart object.
256
- * Multi-coupon: use the cart's `coupons` array (survives refresh).
257
- * Single-coupon (default): use the single `coupon` code.
258
- */
283
+ mergeCashbackCodeChip(code) {
284
+ const next = (code || '').trim();
285
+ const prev = (this.mergedCashbackCode || '').trim();
286
+ if (next.toLowerCase() === prev.toLowerCase())
287
+ return;
288
+ // Drop the code WE merged last time before adding the new one. Purely additive
289
+ // merging left a stale chip behind whenever the code was replaced or cleared, so a
290
+ // shopper could see two cashback chips, or one for a code no longer on the cart.
291
+ // Only ever removes the tracked value — never a real coupon, which we have no way to
292
+ // distinguish otherwise. An ABSENT `cashback_code` key still means "no information",
293
+ // not "removed", and never reaches here.
294
+ const kept = prev
295
+ ? this.appliedCoupons.filter(c => (c || '').toLowerCase() !== prev.toLowerCase())
296
+ : [...this.appliedCoupons];
297
+ const already = kept.some(c => (c || '').toLowerCase() === next.toLowerCase());
298
+ this.appliedCoupons = next && !already ? [...kept, next] : kept;
299
+ this.mergedCashbackCode = next;
300
+ if (prev && this.currentCoupon.toLowerCase() === prev.toLowerCase()) {
301
+ this.currentCoupon = next;
302
+ }
303
+ else if (next) {
304
+ this.currentCoupon = this.currentCoupon || next;
305
+ }
306
+ this.buildMergedCoupons();
307
+ }
259
308
  syncAppliedFromCart(cart) {
260
- this.currentCoupon = cart?.coupon || '';
309
+ this.currentCoupon = cart?.coupon || cart?.cashback_code || '';
310
+ // Keep the merge tracker in step with the rebuilt list. Without this the tracker went
311
+ // stale the moment a full payload rebuilt appliedCoupons, so the NEXT cashback-only
312
+ // update compared against a value no longer on the cart — leaving the old chip,
313
+ // appending a replacement beside it, or skipping a valid code.
314
+ this.mergedCashbackCode = (cart?.cashback_code || '').trim();
261
315
  if (this.multiCoupon) {
262
- this.appliedCoupons = Array.isArray(cart?.coupons)
263
- ? cart.coupons.filter(Boolean)
264
- : (this.currentCoupon ? [this.currentCoupon] : []);
316
+ const coupons = Array.isArray(cart?.coupons) ? cart.coupons : [cart?.coupon];
317
+ this.appliedCoupons = [...coupons, cart?.cashback_code].filter(Boolean);
265
318
  // The payload sends `applied_coupons` keyed BY CODE, which is the useful shape for a
266
319
  // lookup; a plain list is accepted too so neither side depends on the other's choice.
267
320
  const cards = cart?.applied_coupons;
@@ -575,7 +628,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
575
628
  }
576
629
  render() {
577
630
  const couponRow = this.couponRow();
578
- return (h(Host, { key: 'e756434a2f77235e870891ce7e0b672a69429e49' }, h("div", { key: 'ca86866dc7275c98f72c2bc4c95684826e2a94d0', class: "s-cart-coupons-wrapper" }, h("div", { key: '8c37273ea0e40cad320ac148d82eeea2774ba18d', class: "s-cart-coupons-input-section" }, h("label", { key: '8495bff14cae70f530c648e49cac76bd57ec4429', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '5e6d10ab653561c33e73829f9259fe3037eab8e7', class: "s-cart-coupons-coupon-input-container" }, this.multiCoupon ? [
631
+ return (h(Host, { key: '79d820f5931ca33571e6897f4e5a09413e02cf96' }, h("div", { key: '7c55aa93e8f4bc44c76606e1af4cb593cab0e7b2', class: "s-cart-coupons-wrapper" }, h("div", { key: '7deee9dc280b91008c9f29eab2c7dbb42fb4d586', class: "s-cart-coupons-input-section" }, h("label", { key: 'f4362e77c3031c8bdacdbd0bd126f7df3c973583', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: '631dce1aeb71c6bfc80d00869c0974ffedb3f932', class: "s-cart-coupons-coupon-input-container" }, this.multiCoupon ? [
579
632
  // Multi-coupon: input stays active to append more codes; applied coupons render
580
633
  // as removable chips below.
581
634
  h("input", { type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: this.isApplying, onInput: this.onInput, onKeyUp: this.onKeyUp, "aria-label": salla.lang.get('pages.cart.apply_coupon'), key: "coupon-input" }),
@@ -586,7 +639,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
586
639
  // a new code can only be entered after removing. Reuses the existing master classes.
587
640
  h("input", { type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, onInput: this.onInput, onKeyUp: this.onKeyUp, "aria-label": salla.lang.get('pages.cart.apply_coupon'), key: "coupon-input" }),
588
641
  h("salla-button", { ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick(), key: "apply-button" }, this.currentCoupon ? (h("i", { class: "sicon-cancel" })) : (h("span", null, salla.lang.get('pages.cart.save_coupon')))),
589
- ]), this.couponError && (h("span", { key: '5f7ff489d561f440e643c62c0d238a059f94ff2e', class: "s-cart-coupons-coupon-error" }, this.couponError))), couponRow.length > 0 && (h("salla-slider", { type: "carousel", showControls: false, class: "s-cart-coupons-slider",
642
+ ]), this.couponError && (h("span", { key: '9713718d67c8c4ff4daeffc47572ac3cabea6905', class: "s-cart-coupons-coupon-error" }, this.couponError))), couponRow.length > 0 && (h("salla-slider", { type: "carousel", showControls: false, class: "s-cart-coupons-slider",
590
643
  /* salla-slider hands its slot children to Swiper, which MOVES them out of the
591
644
  `slot="items"` div into its own .swiper-wrapper. Stencil then patches against a
592
645
  tree that no longer exists where it expects, so a slide added to a list that
@@ -595,7 +648,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
595
648
  against dynamic custom components inside it. Keying on the exact code list
596
649
  makes Stencil discard and remount the slider whenever the set changes, so
597
650
  Swiper re-initialises over the full, correct set of slides. */
598
- key: couponRow.map(entry => entry.code).join('|') }, h("div", { key: '5b811515254595fcde9a364b113b60d38048e2c0', slot: "items" }, couponRow.map(entry => this.renderCouponCard(entry))))))));
651
+ key: couponRow.map(entry => entry.code).join('|') }, h("div", { key: '4b96603ef79b45b312a87755850b3c81cc51deea', slot: "items" }, couponRow.map(entry => this.renderCouponCard(entry))))))));
599
652
  }
600
653
  get host() { return this; }
601
654
  static get style() { return sallaCartCouponsCss; }
@@ -611,6 +664,7 @@ const SallaCartCoupons$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartCoupo
611
664
  "mergedCoupons": [32],
612
665
  "appliedCouponCards": [32],
613
666
  "multiCoupon": [32],
667
+ "mergedCashbackCode": [32],
614
668
  "selectCoupon": [64]
615
669
  }]);
616
670
  function defineCustomElement$1() {
@@ -20,6 +20,8 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
20
20
  this.cartCount = 0;
21
21
  this.cartTotal = 0;
22
22
  this.cartTotalDiscount = 0;
23
+ /** Active cashback (automatic or code-unlocked) — folded into the savings badge alongside the coupon discount. */
24
+ this.cartCashbackAmount = 0;
23
25
  this.cartSubTotal = 0;
24
26
  this.cartOptionsTotal = 0;
25
27
  this.cartShippingCost = 0;
@@ -131,6 +133,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
131
133
  this.vatTaxLabel = salla.lang.get('pages.cart.VAT_tax_amount');
132
134
  this.savedLabel = salla.lang.get('pages.cart.discount');
133
135
  this.discountBadge = salla.lang.get('pages.cart.saved');
136
+ this.cashbackLabel = salla.lang.get('pages.checkout.cashback');
134
137
  this.finalTotalLabel = salla.lang.get('pages.cart.final_total');
135
138
  this.pricesTaxedLabel = salla.lang.get('pages.cart.prices_taxed');
136
139
  this.completeOrderLabel = salla.lang.get('pages.cart.complete_order');
@@ -257,8 +260,10 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
257
260
  // skeleton either way so the CTA always renders.
258
261
  applyCachedSummary() {
259
262
  const summary = salla.storage?.get?.('cart.summary');
263
+ // false: the cached summary never carries cashback_amount, so it must not retract a
264
+ // promise the live cart made. Events refresh the real figure.
260
265
  if (summary && typeof summary === 'object')
261
- this.applyCartData(summary);
266
+ this.applyCartData(summary, false);
262
267
  this.isLoading = false;
263
268
  }
264
269
  extractCart(payload) {
@@ -270,7 +275,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
270
275
  return payload.cart;
271
276
  return payload;
272
277
  }
273
- applyCartData(data) {
278
+ applyCartData(data, cashbackAuthoritative) {
274
279
  if (!data)
275
280
  return;
276
281
  // First real payload ends the skeleton.
@@ -283,6 +288,25 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
283
288
  const discount = data.total_discount ?? data.discount;
284
289
  if (discount !== undefined)
285
290
  this.cartTotalDiscount = this.num(discount);
291
+ // cashback_amount is a PROMISE, not a measurement, so it needs different handling from
292
+ // its neighbours in both directions.
293
+ //
294
+ // It must be RETRACTABLE: the backend omits it exactly when it has no promise to make
295
+ // (totals unbound, or the offers lookup failing closed), so a cart that recomputed its
296
+ // totals and did not come back with a figure is no longer promising one. Carrying the old
297
+ // number forward would leave the badge advertising cashback the cart may no longer earn.
298
+ //
299
+ // But only a payload that actually recomputed the totals may retract it. Two sources
300
+ // legitimately lack the field and must NOT clear the badge: the cached SDK summary
301
+ // (applyCachedSummary, used when cart/details fails) never carries it, and a
302
+ // `cart::updated` event can arrive with metadata only. Hence the explicit override, and
303
+ // otherwise the sub_total+total probe — a full cart payload always carries both, a
304
+ // metadata-only one carries neither.
305
+ const recomputedTotals = cashbackAuthoritative ?? (data.sub_total !== undefined && data.total !== undefined);
306
+ if (data.cashback_amount !== undefined)
307
+ this.cartCashbackAmount = this.num(data.cashback_amount);
308
+ else if (recomputedTotals)
309
+ this.cartCashbackAmount = 0;
286
310
  if (data.sub_total !== undefined)
287
311
  this.cartSubTotal = this.num(data.sub_total);
288
312
  if (data.options_total !== undefined)
@@ -351,6 +375,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
351
375
  if (this.isLoading)
352
376
  return this.renderSkeleton();
353
377
  const showSavings = this.cartTotalDiscount > 0;
378
+ const showCashback = this.cartCashbackAmount > 0;
354
379
  const subTotalLabel = this.cartTaxAmount ? this.itemsTotalNoTaxLabel : this.itemsTotalLabel;
355
380
  // Inline transform so sheet motion doesn't depend on SCSS load order.
356
381
  const sheetStyle = this.isDesktop
@@ -367,7 +392,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
367
392
  } }, h("div", { class: {
368
393
  's-cart-summary-card-sheet-wrap': true,
369
394
  's-cart-summary-card-sheet-wrap--open': this.isOpen,
370
- }, "aria-hidden": this.isOpen ? 'false' : 'true' }, h("div", { class: "s-cart-summary-card-sheet", style: sheetStyle }, h("header", { class: "s-cart-summary-card-sheet-header" }, h("h3", { class: "s-cart-summary-card-sheet-title" }, this.summaryLabel)), h("div", { class: "s-cart-summary-card-line" }, h("span", null, subTotalLabel), h("b", { innerHTML: this.money(this.cartSubTotal) })), this.cartOptionsTotal > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.optionsTotalLabel), h("b", { innerHTML: this.money(this.cartOptionsTotal) }))), this.cartHasShipping && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.shippingCostLabel), h("b", { innerHTML: this.money(this.cartShippingCost) }))), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.vatTaxLabel), h("b", { innerHTML: this.money(this.cartTaxAmount) }))), showSavings && (h("div", { class: "s-cart-summary-card-line s-cart-summary-card-line--discount" }, h("span", null, this.savedLabel), h("b", null, "\u2212 ", h("span", { innerHTML: this.money(this.cartTotalDiscount) })))))), h("div", { class: "s-cart-summary-card-bar" }, h("div", { class: "s-cart-summary-card-bar-label" }, h("div", { class: "s-cart-summary-card-bar-label-main" }, h("span", { class: "s-cart-summary-card-bar-label-text" }, this.finalTotalLabel), h("span", { class: "s-cart-summary-card-bar-count" }, this.getItemsLabel())), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-bar-label-sub" }, this.pricesTaxedLabel))), h("div", { class: "s-cart-summary-card-bar-totals" }, h("div", { class: "s-cart-summary-card-bar-totals-row" }, showSavings && (h("s", { class: "s-cart-summary-card-bar-original" }, salla.helpers.number(this.roundToCurrency(this.cartTotal + this.cartTotalDiscount)))), h("b", { class: "s-cart-summary-card-bar-total", innerHTML: this.money(this.cartTotal) }), !this.isDesktop && (h("button", { type: "button", class: "s-cart-summary-card-chevron", "aria-label": this.isOpen ? this.closeSummaryLabel : this.openSummaryLabel, "aria-expanded": this.isOpen ? 'true' : 'false', onClick: this.toggleSheet }, h("i", { class: "sicon-keyboard_arrow_up s-cart-summary-card-chevron-icon" })))), showSavings && (h("div", { class: "s-cart-summary-card-bar-savings-badge" }, h("span", { "aria-hidden": "true" }, "\uD83C\uDF89"), h("span", null, this.discountBadge, " ", h("span", { innerHTML: this.money(this.cartTotalDiscount) })))))), h("div", { class: "s-cart-summary-card-action" }, h("salla-button", { id: "s-cart-summary-card-submit", width: "wide", "loader-position": "center", onClick: this.handleSubmit }, this.completeOrderLabel))));
395
+ }, "aria-hidden": this.isOpen ? 'false' : 'true' }, h("div", { class: "s-cart-summary-card-sheet", style: sheetStyle }, h("header", { class: "s-cart-summary-card-sheet-header" }, h("h3", { class: "s-cart-summary-card-sheet-title" }, this.summaryLabel)), h("div", { class: "s-cart-summary-card-line" }, h("span", null, subTotalLabel), h("b", { innerHTML: this.money(this.cartSubTotal) })), this.cartOptionsTotal > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.optionsTotalLabel), h("b", { innerHTML: this.money(this.cartOptionsTotal) }))), this.cartHasShipping && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.shippingCostLabel), h("b", { innerHTML: this.money(this.cartShippingCost) }))), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.vatTaxLabel), h("b", { innerHTML: this.money(this.cartTaxAmount) }))), showSavings && (h("div", { class: "s-cart-summary-card-line s-cart-summary-card-line--discount" }, h("span", null, this.savedLabel), h("b", null, "\u2212 ", h("span", { innerHTML: this.money(this.cartTotalDiscount) })))))), h("div", { class: "s-cart-summary-card-bar" }, h("div", { class: "s-cart-summary-card-bar-label" }, h("div", { class: "s-cart-summary-card-bar-label-main" }, h("span", { class: "s-cart-summary-card-bar-label-text" }, this.finalTotalLabel), h("span", { class: "s-cart-summary-card-bar-count" }, this.getItemsLabel())), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-bar-label-sub" }, this.pricesTaxedLabel))), h("div", { class: "s-cart-summary-card-bar-totals" }, h("div", { class: "s-cart-summary-card-bar-totals-row" }, showSavings && (h("s", { class: "s-cart-summary-card-bar-original" }, salla.helpers.number(this.roundToCurrency(this.cartTotal + this.cartTotalDiscount)))), h("b", { class: "s-cart-summary-card-bar-total", innerHTML: this.money(this.cartTotal) }), !this.isDesktop && (h("button", { type: "button", class: "s-cart-summary-card-chevron", "aria-label": this.isOpen ? this.closeSummaryLabel : this.openSummaryLabel, "aria-expanded": this.isOpen ? 'true' : 'false', onClick: this.toggleSheet }, h("i", { class: "sicon-keyboard_arrow_up s-cart-summary-card-chevron-icon" })))), (showSavings || showCashback) && (h("div", { class: "s-cart-summary-card-bar-savings-badge" }, h("span", { "aria-hidden": "true" }, "\uD83C\uDF89"), h("span", null, showSavings && (h("span", null, this.discountBadge, " ", h("span", { innerHTML: this.money(this.cartTotalDiscount) }))), showSavings && showCashback && ' + ', showCashback && (h("span", null, h("span", { innerHTML: this.money(this.cartCashbackAmount) }), " ", this.cashbackLabel))))))), h("div", { class: "s-cart-summary-card-action" }, h("salla-button", { id: "s-cart-summary-card-submit", width: "wide", "loader-position": "center", onClick: this.handleSubmit }, this.completeOrderLabel))));
371
396
  }
372
397
  get host() { return this; }
373
398
  static get style() { return sallaCartSummaryCardCss; }
@@ -376,6 +401,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
376
401
  "cartCount": [32],
377
402
  "cartTotal": [32],
378
403
  "cartTotalDiscount": [32],
404
+ "cartCashbackAmount": [32],
379
405
  "cartSubTotal": [32],
380
406
  "cartOptionsTotal": [32],
381
407
  "cartShippingCost": [32],
@@ -392,6 +418,7 @@ const SallaCartSummaryCard$1 = /*@__PURE__*/ proxyCustomElement(class SallaCartS
392
418
  "vatTaxLabel": [32],
393
419
  "savedLabel": [32],
394
420
  "discountBadge": [32],
421
+ "cashbackLabel": [32],
395
422
  "finalTotalLabel": [32],
396
423
  "pricesTaxedLabel": [32],
397
424
  "completeOrderLabel": [32],
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-11T09:21:32",
2
+ "timestamp": "2026-10-12T07:23:47",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.1",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.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-0Tl_yZW8.js';
4
+ import { d as getDefaultExportFromCjs } from './index-HRJpfiBN.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {