@salla.sa/twilight-components 2.14.422 → 2.14.424

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 (322) hide show
  1. package/dist/cjs/{filepond-Bj2Lr664.js → filepond-DS8lFN12.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D6zjqOTW.js → filepond-plugin-file-poster-DOlur-Zr.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DW2JtTpK.js → filepond-plugin-file-validate-size-8cdzV2Th.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-Cm_dx5vR.js → filepond-plugin-file-validate-type-DlZs1kVq.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CyB1FduP.js → filepond-plugin-image-edit-SIPcIJFA.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-CxcuYrF1.js → filepond-plugin-image-exif-orientation-CISQ2nhQ.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CXF_Kqyu.js → filepond-plugin-image-preview-8n6MPTM9.js} +1 -1
  8. package/dist/cjs/{functions-QULFiarR.js → functions-BYHbilvv.js} +1 -1
  9. package/dist/cjs/{index-C-KeWKxB.js → index-D6qSyn6o.js} +1 -1
  10. package/dist/cjs/{index-CSI6rnkc.js → index-oFPXLGXi.js} +12 -8
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -2
  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.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 +3 -9
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-menu.cjs.entry.js +2 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +126 -0
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +3 -9
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +9 -7
  80. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/swap-stroke-CYGxjKIS.js +13 -0
  96. package/dist/cjs/tag-money-Cuohw_4j.js +13 -0
  97. package/dist/cjs/{tracked-promise-DTPdQpTt.js → tracked-promise-UbTM_M6f.js} +1 -1
  98. package/dist/cjs/twilight.cjs.js +2 -2
  99. package/dist/cjs/{vanilla-picker-CmTZhXxo.js → vanilla-picker-CyHLTyvk.js} +1 -1
  100. package/dist/collection/collection-manifest.json +6 -0
  101. package/dist/collection/components/salla-bought-together/salla-bought-together.js +3 -1
  102. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +6 -4
  103. package/dist/collection/components/salla-menu/salla-menu.js +1 -0
  104. package/dist/collection/components/salla-next-order-coupon/interfaces.js +1 -0
  105. package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.css +3 -0
  106. package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.js +142 -0
  107. package/dist/components/index.js +2 -2
  108. package/dist/components/salla-bought-together.js +3 -1
  109. package/dist/components/salla-cart-item-offers.js +1 -7
  110. package/dist/components/salla-menu.js +1 -0
  111. package/dist/components/salla-next-order-coupon.d.ts +11 -0
  112. package/dist/components/salla-next-order-coupon.js +165 -0
  113. package/dist/components/salla-order-summary.js +1 -7
  114. package/dist/components/salla-reward-details2.js +6 -4
  115. package/dist/components/swap-stroke.js +11 -0
  116. package/dist/components/tag-money.js +11 -0
  117. package/dist/esm/{filepond-CaO0jWZe.js → filepond-BKuHui9z.js} +1 -1
  118. package/dist/esm/{filepond-plugin-file-poster-x8WSmS0o.js → filepond-plugin-file-poster-Dh39_0L1.js} +1 -1
  119. package/dist/esm/{filepond-plugin-file-validate-size-CxlH6WN0.js → filepond-plugin-file-validate-size-CcS_RyRW.js} +1 -1
  120. package/dist/esm/{filepond-plugin-file-validate-type-qw3WFgZc.js → filepond-plugin-file-validate-type-DpLuBo4I.js} +1 -1
  121. package/dist/esm/{filepond-plugin-image-edit-DuhPVO0a.js → filepond-plugin-image-edit-BV3ho0c6.js} +1 -1
  122. package/dist/esm/{filepond-plugin-image-exif-orientation-BffsImgy.js → filepond-plugin-image-exif-orientation-CCciy-YF.js} +1 -1
  123. package/dist/esm/{filepond-plugin-image-preview-VZtiw7aM.js → filepond-plugin-image-preview-hfHsj8OM.js} +1 -1
  124. package/dist/esm/{functions-DQPUS1s5.js → functions-Czm5P_7C.js} +1 -1
  125. package/dist/esm/{index-DcQSprhU.js → index-BdWSh9vH.js} +12 -8
  126. package/dist/esm/{index-CDqmBYQb.js → index-C5q-9m7l.js} +1 -1
  127. package/dist/esm/loader.js +3 -3
  128. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  129. package/dist/esm/salla-accordion_6.entry.js +1 -1
  130. package/dist/esm/salla-add-product-button_5.entry.js +4 -2
  131. package/dist/esm/salla-advertisement.entry.js +1 -1
  132. package/dist/esm/salla-alert_2.entry.js +1 -1
  133. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  134. package/dist/esm/salla-apps-icons.entry.js +1 -1
  135. package/dist/esm/salla-badge.entry.js +1 -1
  136. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  137. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  138. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  139. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -8
  140. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  141. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  142. package/dist/esm/salla-contacts.entry.js +1 -1
  143. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  144. package/dist/esm/salla-count-down.entry.js +1 -1
  145. package/dist/esm/salla-custom-fields.entry.js +1 -1
  146. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  147. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  148. package/dist/esm/salla-filters-widget.entry.js +1 -1
  149. package/dist/esm/salla-filters.entry.js +1 -1
  150. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  151. package/dist/esm/salla-gifting.entry.js +1 -1
  152. package/dist/esm/salla-hook.entry.js +1 -1
  153. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  154. package/dist/esm/salla-installment.entry.js +1 -1
  155. package/dist/esm/salla-list-tile.entry.js +1 -1
  156. package/dist/esm/salla-localization-modal.entry.js +1 -1
  157. package/dist/esm/salla-login-modal.entry.js +1 -1
  158. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  159. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  160. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  161. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  162. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  163. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  164. package/dist/esm/salla-loyalty.entry.js +1 -1
  165. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  166. package/dist/esm/salla-map.entry.js +1 -1
  167. package/dist/esm/salla-menu.entry.js +2 -1
  168. package/dist/esm/salla-metadata.entry.js +1 -1
  169. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  170. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  171. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  172. package/dist/esm/salla-next-order-coupon.entry.js +124 -0
  173. package/dist/esm/salla-notification-item.entry.js +1 -1
  174. package/dist/esm/salla-notifications.entry.js +1 -1
  175. package/dist/esm/salla-offer-modal.entry.js +1 -1
  176. package/dist/esm/salla-offer.entry.js +1 -1
  177. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  178. package/dist/esm/salla-order-details-options.entry.js +1 -1
  179. package/dist/esm/salla-order-details.entry.js +1 -1
  180. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  181. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  182. package/dist/esm/salla-order-edit.entry.js +1 -1
  183. package/dist/esm/salla-order-summary.entry.js +2 -8
  184. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  185. package/dist/esm/salla-orders.entry.js +1 -1
  186. package/dist/esm/salla-payments.entry.js +1 -1
  187. package/dist/esm/salla-placeholder.entry.js +1 -1
  188. package/dist/esm/salla-price-range.entry.js +1 -1
  189. package/dist/esm/salla-product-card_2.entry.js +1 -1
  190. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  191. package/dist/esm/salla-products-list.entry.js +1 -1
  192. package/dist/esm/salla-progress-bar.entry.js +1 -1
  193. package/dist/esm/salla-quick-order.entry.js +1 -1
  194. package/dist/esm/salla-rating-modal.entry.js +1 -1
  195. package/dist/esm/salla-reward-action_4.entry.js +9 -7
  196. package/dist/esm/salla-scopes.entry.js +1 -1
  197. package/dist/esm/salla-search.entry.js +1 -1
  198. package/dist/esm/salla-skeleton.entry.js +1 -1
  199. package/dist/esm/salla-slider.entry.js +1 -1
  200. package/dist/esm/salla-social-share.entry.js +1 -1
  201. package/dist/esm/salla-social.entry.js +1 -1
  202. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  203. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  204. package/dist/esm/salla-tooltip.entry.js +1 -1
  205. package/dist/esm/salla-trust-badges.entry.js +1 -1
  206. package/dist/esm/salla-user-menu.entry.js +1 -1
  207. package/dist/esm/salla-user-profile.entry.js +1 -1
  208. package/dist/esm/salla-user-settings.entry.js +1 -1
  209. package/dist/esm/salla-verify.entry.js +1 -1
  210. package/dist/esm/salla-wallet.entry.js +1 -1
  211. package/dist/esm/swap-stroke-DqDX5na4.js +11 -0
  212. package/dist/esm/tag-money-CJUR4sUM.js +11 -0
  213. package/dist/esm/{tracked-promise-CjUGdQ4e.js → tracked-promise-CGupCr4U.js} +1 -1
  214. package/dist/esm/twilight.js +3 -3
  215. package/dist/esm/{vanilla-picker-71UAczkS.js → vanilla-picker-XBpFNS7X.js} +1 -1
  216. package/dist/twilight/p-01c8a84e.entry.js +4 -0
  217. package/dist/twilight/{p-f2476ba0.entry.js → p-0705e86d.entry.js} +1 -1
  218. package/dist/twilight/{p-00031f8b.entry.js → p-077ff83c.entry.js} +1 -1
  219. package/dist/twilight/p-0c299177.entry.js +4 -0
  220. package/dist/twilight/{p-81f18d48.entry.js → p-106c5b79.entry.js} +1 -1
  221. package/dist/twilight/{p-9cb39e42.entry.js → p-1186078e.entry.js} +1 -1
  222. package/dist/twilight/{p-f161933c.entry.js → p-15836ed9.entry.js} +1 -1
  223. package/dist/twilight/{p-3f01ef83.entry.js → p-15a8c7c6.entry.js} +1 -1
  224. package/dist/twilight/{p-80865031.entry.js → p-163ebaf7.entry.js} +1 -1
  225. package/dist/twilight/{p-e08d36d6.entry.js → p-168c942e.entry.js} +1 -1
  226. package/dist/twilight/{p-062ce0be.entry.js → p-1722e759.entry.js} +1 -1
  227. package/dist/twilight/{p-DgJJBXMW.js → p-1YpyVfkq.js} +1 -1
  228. package/dist/twilight/{p-97a43989.entry.js → p-1a796e26.entry.js} +1 -1
  229. package/dist/twilight/{p-c34b5d8a.entry.js → p-1af3a167.entry.js} +1 -1
  230. package/dist/twilight/{p-e87d2534.entry.js → p-1d508c88.entry.js} +1 -1
  231. package/dist/twilight/{p-3a3dd27f.entry.js → p-23583546.entry.js} +1 -1
  232. package/dist/twilight/p-2437e4ac.entry.js +4 -0
  233. package/dist/twilight/{p-63e1b828.entry.js → p-27c6128f.entry.js} +1 -1
  234. package/dist/twilight/{p-a147d986.entry.js → p-27f90256.entry.js} +1 -1
  235. package/dist/twilight/{p-b0b2aeda.entry.js → p-29cbf744.entry.js} +1 -1
  236. package/dist/twilight/{p-cfac18e6.entry.js → p-2cb6feea.entry.js} +1 -1
  237. package/dist/twilight/{p-ea4ded2f.entry.js → p-2f530556.entry.js} +1 -1
  238. package/dist/twilight/{p-6ccbe91b.entry.js → p-34c1e701.entry.js} +1 -1
  239. package/dist/twilight/{p-6587c7d9.entry.js → p-37397917.entry.js} +1 -1
  240. package/dist/twilight/{p-3115fa6f.entry.js → p-3fb699fb.entry.js} +1 -1
  241. package/dist/twilight/{p-b3a731c1.entry.js → p-41237614.entry.js} +1 -1
  242. package/dist/twilight/{p-300dae0b.entry.js → p-4ad0ea7c.entry.js} +1 -1
  243. package/dist/twilight/{p-061c3ad0.entry.js → p-4dc5f354.entry.js} +1 -1
  244. package/dist/twilight/{p-5637acc5.entry.js → p-4f1e3ebb.entry.js} +1 -1
  245. package/dist/twilight/{p-ecb69641.entry.js → p-50002b57.entry.js} +1 -1
  246. package/dist/twilight/{p-14805623.entry.js → p-538cf743.entry.js} +1 -1
  247. package/dist/twilight/{p-c2a2158a.entry.js → p-55b5e8be.entry.js} +1 -1
  248. package/dist/twilight/{p-503f9bbf.entry.js → p-5b37732b.entry.js} +1 -1
  249. package/dist/twilight/{p-4f6bff26.entry.js → p-5ba9c7db.entry.js} +1 -1
  250. package/dist/twilight/{p-a4c32f61.entry.js → p-5bbc5ce6.entry.js} +1 -1
  251. package/dist/twilight/{p-192e2bc3.entry.js → p-61abc2ef.entry.js} +1 -1
  252. package/dist/twilight/{p-d46ab245.entry.js → p-61eb0bc8.entry.js} +1 -1
  253. package/dist/twilight/{p-f6ed04b2.entry.js → p-635738d0.entry.js} +1 -1
  254. package/dist/twilight/{p-d65db41e.entry.js → p-649268c1.entry.js} +1 -1
  255. package/dist/twilight/{p-a2fcbc1a.entry.js → p-66c85e94.entry.js} +1 -1
  256. package/dist/twilight/{p-0217da98.entry.js → p-6a2b2122.entry.js} +1 -1
  257. package/dist/twilight/{p-deffef72.entry.js → p-6bb43f9d.entry.js} +1 -1
  258. package/dist/twilight/{p-957bffb4.entry.js → p-77744cd4.entry.js} +1 -1
  259. package/dist/twilight/{p-452d8cd0.entry.js → p-7f9c18d8.entry.js} +1 -1
  260. package/dist/twilight/{p-c9b8eaa4.entry.js → p-806d31ba.entry.js} +1 -1
  261. package/dist/twilight/{p-fa5cfbbb.entry.js → p-813b762c.entry.js} +1 -1
  262. package/dist/twilight/{p-f0f5e269.entry.js → p-85267471.entry.js} +1 -1
  263. package/dist/twilight/{p-32a76526.entry.js → p-86486b65.entry.js} +1 -1
  264. package/dist/twilight/{p-c13164b8.entry.js → p-88e2d340.entry.js} +1 -1
  265. package/dist/twilight/{p-587d6230.entry.js → p-8b807210.entry.js} +1 -1
  266. package/dist/twilight/{p-f77d4659.entry.js → p-920a3f93.entry.js} +1 -1
  267. package/dist/twilight/{p-e79d468d.entry.js → p-937b1d3f.entry.js} +1 -1
  268. package/dist/twilight/{p-77d1859e.entry.js → p-93a4254f.entry.js} +1 -1
  269. package/dist/twilight/{p-acb769ec.entry.js → p-9d16c043.entry.js} +1 -1
  270. package/dist/twilight/{p-c49b9285.entry.js → p-9ec5b3ec.entry.js} +1 -1
  271. package/dist/twilight/{p-BTAUEZcN.js → p-B-CUQTrk.js} +1 -1
  272. package/dist/twilight/{p-CT3zVv2d.js → p-B8u0sgnU.js} +1 -1
  273. package/dist/twilight/{p-Cs04GLEl.js → p-BUZ_EM6t.js} +1 -1
  274. package/dist/twilight/{p-DcQSprhU.js → p-BdWSh9vH.js} +1 -1
  275. package/dist/twilight/{p-l-JdSat8.js → p-Bvagw9Eb.js} +1 -1
  276. package/dist/twilight/p-CJUR4sUM.js +4 -0
  277. package/dist/twilight/{p-CN2sY_Li.js → p-CL1NQBQS.js} +1 -1
  278. package/dist/twilight/{p-BCVUxip0.js → p-CXWkL-Nl.js} +1 -1
  279. package/dist/twilight/{p-BHk2Uou3.js → p-Co4B1BYS.js} +1 -1
  280. package/dist/twilight/p-DqDX5na4.js +4 -0
  281. package/dist/twilight/{p-Ca8b1Y6p.js → p-MdN_P6GB.js} +1 -1
  282. package/dist/twilight/{p-e8a3af2d.entry.js → p-a08bae8c.entry.js} +1 -1
  283. package/dist/twilight/{p-868e3de6.entry.js → p-a0c2d2fc.entry.js} +1 -1
  284. package/dist/twilight/{p-e4f154ee.entry.js → p-a2bf9399.entry.js} +1 -1
  285. package/dist/twilight/{p-64f577be.entry.js → p-a2cf36dd.entry.js} +1 -1
  286. package/dist/twilight/{p-8101bf16.entry.js → p-a517605b.entry.js} +1 -1
  287. package/dist/twilight/p-a6980f8f.entry.js +4 -0
  288. package/dist/twilight/p-a7292650.entry.js +4 -0
  289. package/dist/twilight/{p-a44f888a.entry.js → p-b49a7e3e.entry.js} +1 -1
  290. package/dist/twilight/{p-28cd5556.entry.js → p-b5b4582b.entry.js} +1 -1
  291. package/dist/twilight/{p-e2e790c2.entry.js → p-b9e27f4a.entry.js} +1 -1
  292. package/dist/twilight/{p-b3d565bd.entry.js → p-ba7d2b19.entry.js} +1 -1
  293. package/dist/twilight/{p-1cf5f505.entry.js → p-bb684fb5.entry.js} +1 -1
  294. package/dist/twilight/{p-013cfbf0.entry.js → p-bed2665e.entry.js} +1 -1
  295. package/dist/twilight/{p-69b6a7e6.entry.js → p-c4b60782.entry.js} +1 -1
  296. package/dist/twilight/{p-5e5ccdab.entry.js → p-c9a2317f.entry.js} +1 -1
  297. package/dist/twilight/{p-9924b574.entry.js → p-cc41c0fa.entry.js} +1 -1
  298. package/dist/twilight/{p-a6282734.entry.js → p-cda257aa.entry.js} +1 -1
  299. package/dist/twilight/{p-7282ff57.entry.js → p-cfdf044a.entry.js} +1 -1
  300. package/dist/twilight/{p-8ad13a15.entry.js → p-d1b0d5a6.entry.js} +1 -1
  301. package/dist/twilight/{p-6d5b28c5.entry.js → p-d93dda4f.entry.js} +1 -1
  302. package/dist/twilight/{p-38ce7612.entry.js → p-df0ef038.entry.js} +1 -1
  303. package/dist/twilight/{p-4a8e7f09.entry.js → p-e09f41df.entry.js} +1 -1
  304. package/dist/twilight/{p-9170fe95.entry.js → p-e14c7c23.entry.js} +1 -1
  305. package/dist/twilight/{p-63d47b05.entry.js → p-e33b5cf9.entry.js} +1 -1
  306. package/dist/twilight/p-e580c9e9.entry.js +4 -0
  307. package/dist/twilight/{p-d188ddc3.entry.js → p-ed767ba1.entry.js} +1 -1
  308. package/dist/twilight/{p-8ec0ba5b.entry.js → p-effcd169.entry.js} +1 -1
  309. package/dist/twilight/{p-8eebefe9.entry.js → p-fba1c62d.entry.js} +1 -1
  310. package/dist/twilight/{p-6c98089b.entry.js → p-ff8f343e.entry.js} +1 -1
  311. package/dist/twilight/{p-CRRWZbuL.js → p-kpU-gI-I.js} +1 -1
  312. package/dist/twilight/{p-DeBNbBwy.js → p-qPitx-1F.js} +1 -1
  313. package/dist/twilight/twilight.esm.js +1 -1
  314. package/dist/types/components/salla-next-order-coupon/interfaces.d.ts +11 -0
  315. package/dist/types/components/salla-next-order-coupon/salla-next-order-coupon.d.ts +24 -0
  316. package/dist/types/components.d.ts +13 -0
  317. package/package.json +5 -5
  318. package/dist/twilight/p-27cc8fc7.entry.js +0 -4
  319. package/dist/twilight/p-489cca66.entry.js +0 -4
  320. package/dist/twilight/p-497b058a.entry.js +0 -4
  321. package/dist/twilight/p-4c759f75.entry.js +0 -4
  322. package/dist/twilight/p-50b449bd.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-CjUGdQ4e.js';
7
+ import { T as TrackedPromise } from './tracked-promise-CGupCr4U.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-DQPUS1s5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
+ import { c as closeModals, f as formattedPointsJsx } from './functions-Czm5P_7C.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DcQSprhU.js';
4
+ import { h, r as registerInstance } from './index-BdWSh9vH.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-DQPUS1s5.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-Czm5P_7C.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-CjUGdQ4e.js';
12
+ import { T as TrackedPromise } from './tracked-promise-CGupCr4U.js';
13
13
 
14
14
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
15
15
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DcQSprhU.js';
4
+ import { h, r as registerInstance } from './index-BdWSh9vH.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-DQPUS1s5.js';
6
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-Czm5P_7C.js';
7
7
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
8
8
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
9
9
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
10
10
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
11
11
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
12
12
  import { S as SIGift } from './gift-CXRKXFgT.js';
13
- import { T as TrackedPromise } from './tracked-promise-CjUGdQ4e.js';
13
+ import { T as TrackedPromise } from './tracked-promise-CGupCr4U.js';
14
14
  import { a as anime } from './anime.es-CgtvEd63.js';
15
15
 
16
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-DcQSprhU.js';
5
- import { c as closeModals } from './functions-DQPUS1s5.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-BdWSh9vH.js';
5
+ import { c as closeModals } from './functions-Czm5P_7C.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h } from './index-BdWSh9vH.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { S as SICancel } from './cancel-8Tsmrwno.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { S as SICancel } from './cancel-8Tsmrwno.js';
6
6
 
7
7
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
 
7
7
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7
 
@@ -17,6 +17,7 @@ const SallaMenu = class {
17
17
  */
18
18
  this.useReactLink = false;
19
19
  this.menus = [];
20
+ this.displayAllText = '';
20
21
  }
21
22
  async componentWillLoad() {
22
23
  return salla.onReady(() => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaMetadataCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -0,0 +1,124 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { r as registerInstance, h } from './index-BdWSh9vH.js';
5
+ import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
6
+ import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
7
+
8
+ const sallaNextOrderCouponCss = ":host{display:block}";
9
+
10
+ const SallaNextOrderCoupon = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.coupon = null;
14
+ this.isLoading = true;
15
+ this.titlePercentTpl = '';
16
+ this.titleFixedTpl = '';
17
+ this.badgeLabel = '';
18
+ this.minSpendTpl = '';
19
+ this.expiresTpl = '';
20
+ this.shopNowLabel = '';
21
+ this.copyLabel = '';
22
+ this.copiedLabel = '';
23
+ }
24
+ componentWillLoad() {
25
+ Salla.onReady()
26
+ .then(() => Salla.lang.onLoaded())
27
+ .then(() => {
28
+ this.loadTranslations();
29
+ return this.loadCoupon();
30
+ })
31
+ .catch(() => {
32
+ this.isLoading = false;
33
+ });
34
+ }
35
+ loadTranslations() {
36
+ this.titlePercentTpl = Salla.lang.get('pages.thank_you.next_order_coupon.title_percent') || '';
37
+ this.titleFixedTpl = Salla.lang.get('pages.thank_you.next_order_coupon.title_fixed') || '';
38
+ this.badgeLabel = Salla.lang.get('pages.thank_you.next_order_coupon.badge') || '';
39
+ this.minSpendTpl = Salla.lang.get('pages.thank_you.next_order_coupon.min_spend') || '';
40
+ this.expiresTpl = Salla.lang.get('pages.thank_you.next_order_coupon.expires') || '';
41
+ this.shopNowLabel = Salla.lang.get('pages.thank_you.next_order_coupon.shop_now') || '';
42
+ this.copyLabel = Salla.lang.get('common.elements.copy') || '';
43
+ this.copiedLabel = Salla.lang.get('pages.thank_you.next_order_coupon.copied') || '';
44
+ }
45
+ async loadCoupon() {
46
+ try {
47
+ const response = await salla.api.request('coupons', { type: 'thankyou' });
48
+ const raw = response?.data;
49
+ const list = Array.isArray(raw) ? raw : (Array.isArray(raw?.data) ? raw.data : []);
50
+ this.coupon = list[0] ?? null;
51
+ }
52
+ catch {
53
+ this.coupon = null;
54
+ }
55
+ finally {
56
+ this.isLoading = false;
57
+ }
58
+ }
59
+ async copyCode() {
60
+ if (!this.coupon)
61
+ return;
62
+ try {
63
+ await navigator.clipboard.writeText(this.coupon.code);
64
+ salla.notify.success(this.copiedLabel);
65
+ salla.event.dispatch('salla::next-order-coupon.code.copied', { code: this.coupon.code });
66
+ }
67
+ catch {
68
+ // clipboard write failed silently
69
+ }
70
+ }
71
+ isPercentage() {
72
+ return this.coupon?.type === 'P' || this.coupon?.type === 'percentage';
73
+ }
74
+ formatAmount() {
75
+ if (!this.coupon)
76
+ return '';
77
+ if (this.isPercentage()) {
78
+ return `${salla.helpers.number(this.coupon.amount)}%`;
79
+ }
80
+ const amt = this.coupon.amount;
81
+ if (typeof amt === 'object' && amt.amount) {
82
+ const a = amt;
83
+ return h("span", { innerHTML: salla.money(a.amount, a.currency) });
84
+ }
85
+ return h("span", { innerHTML: salla.money(amt) });
86
+ }
87
+ formatMinSpend() {
88
+ const min = this.coupon?.minimum_amount;
89
+ if (!min)
90
+ return '';
91
+ if (typeof min === 'string') {
92
+ return min.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
93
+ }
94
+ return salla.money(min.amount, min.currency);
95
+ }
96
+ formatExpiry() {
97
+ const d = this.coupon?.expiry_date;
98
+ if (!d)
99
+ return '';
100
+ return new Date(d).toLocaleDateString(Salla.lang.locale || 'en-GB');
101
+ }
102
+ renderSkeleton() {
103
+ return (h("div", { class: "s-next-order-coupon-wrapper s-next-order-coupon-skeleton" }, h("div", { class: "s-next-order-coupon-inner" }, h("div", { class: "s-next-order-coupon-info" }, h("salla-skeleton", { type: "normal", width: "48px", height: "48px" }), h("div", { class: "s-next-order-coupon-details" }, h("salla-skeleton", { height: "14px", width: "220px" }), h("salla-skeleton", { height: "12px", width: "140px" }))), h("div", { class: "s-next-order-coupon-actions" }, h("salla-skeleton", { height: "40px", width: "140px" }), h("salla-skeleton", { height: "40px", width: "100px" })))));
104
+ }
105
+ renderTitle() {
106
+ const amount = this.formatAmount();
107
+ const tpl = this.isPercentage() ? this.titlePercentTpl : this.titleFixedTpl;
108
+ const placeholder = this.isPercentage() ? ':amount%' : ':amount';
109
+ const parts = tpl.split(placeholder);
110
+ return (h("p", { class: "s-next-order-coupon-title" }, parts[0], h("span", { class: "s-next-order-coupon-amount" }, amount), parts[1] || ''));
111
+ }
112
+ render() {
113
+ if (this.isLoading)
114
+ return this.renderSkeleton();
115
+ if (!this.coupon)
116
+ return null;
117
+ const minSpend = this.formatMinSpend();
118
+ const expiry = this.formatExpiry();
119
+ return (h("div", { class: "s-next-order-coupon-wrapper" }, h("div", { class: "s-next-order-coupon-inner" }, h("div", { class: "s-next-order-coupon-info" }, h("div", { class: "s-next-order-coupon-icon-wrap" }, h("span", { class: "s-next-order-coupon-icon-bg" }), h("span", { class: "s-next-order-coupon-icon", innerHTML: TagMoneyIcon })), h("div", { class: "s-next-order-coupon-details" }, h("div", { class: "s-next-order-coupon-title-row" }, this.renderTitle(), h("span", { class: "s-next-order-coupon-badge" }, h("span", { class: "s-next-order-coupon-badge-bg" }), h("span", { class: "s-next-order-coupon-badge-text" }, this.badgeLabel))), (minSpend || expiry) && (h("p", { class: "s-next-order-coupon-meta" }, minSpend && (h("span", { innerHTML: this.minSpendTpl.replace(':amount', minSpend) })), expiry && (h("span", null, this.expiresTpl.replace(':date', expiry))))))), h("div", { class: "s-next-order-coupon-actions" }, h("div", { class: "s-next-order-coupon-code-box" }, h("span", { class: "s-next-order-coupon-code-text" }, this.coupon.code), h("salla-button", { shape: "link", class: "s-next-order-coupon-copy-btn", title: this.copyLabel, onClick: () => this.copyCode() }, h("span", { class: "s-next-order-coupon-copy-icon", innerHTML: iconCopy }))), h("salla-button", { href: salla.url.get(''), class: "s-next-order-coupon-shop-btn" }, this.shopNowLabel)))));
120
+ }
121
+ };
122
+ SallaNextOrderCoupon.style = sallaNextOrderCouponCss;
123
+
124
+ export { SallaNextOrderCoupon as salla_next_order_coupon };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SITag } from './tag-cgSL_BIo.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaOrderDetailsMultipleBundleProductCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  var copyIcon = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BdWSh9vH.js';
5
5
  import { a as getOrderEditProductMaxQuantity } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
  import { g as getOrderItemSelectedOptions, a as getOrderEditProductMaxQuantity, c as clampOrderEditQuantity, u as updateOrderItems, r as removeOrderItems, m as mergePayloadItems, b as cloneOrderEditProduct, f as findMergeableItem, d as updateAddedPayloadList, e as upsertPayloadUpdateList, h as createAddedOrderItem, i as buildSavePayload } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h } from './index-BdWSh9vH.js';
5
+ import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
5
6
  import { S as SICheck } from './check-BZp0rKEO.js';
6
7
 
7
8
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->
@@ -18,13 +19,6 @@ var iconDownload = `<!-- Generated by IcoMoon.io -->
18
19
  </svg>
19
20
  `;
20
21
 
21
- var iconCopy = `<!-- Generated by IcoMoon.io -->
22
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
23
- <title>swap-stroke</title>
24
- <path d="M6.667 18.667h-2.667c-0.736 0-1.333-0.597-1.333-1.333v-13.333c0-0.736 0.597-1.333 1.333-1.333h13.333c0.736 0 1.333 0.597 1.333 1.333v2.667c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-2.667c0-2.205-1.795-4-4-4h-13.333c-2.205 0-4 1.795-4 4v13.333c0 2.205 1.795 4 4 4h2.667c0.737 0 1.333-0.596 1.333-1.333s-0.596-1.333-1.333-1.333zM28 10.667h-13.333c-2.205 0-4 1.795-4 4v13.333c0 2.205 1.795 4 4 4h13.333c2.205 0 4-1.795 4-4v-13.333c0-2.205-1.795-4-4-4zM29.333 28c0 0.736-0.597 1.333-1.333 1.333h-13.333c-0.736 0-1.333-0.597-1.333-1.333v-13.333c0-0.736 0.597-1.333 1.333-1.333h13.333c0.736 0 1.333 0.597 1.333 1.333z"></path>
25
- </svg>
26
- `;
27
-
28
22
  var iconCreditCard = `<!-- Generated by IcoMoon.io -->
29
23
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
30
24
  <title>debit-card-back</title>
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaOrderTotalsCardCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaPaymentsCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BdWSh9vH.js';
5
5
 
6
6
  var Inbox = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BdWSh9vH.js';
5
5
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
6
6
 
7
7
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BdWSh9vH.js';
5
5
 
6
6
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h } from './index-BdWSh9vH.js';
5
5
 
6
6
  const sallaProgressBarCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DcQSprhU.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BdWSh9vH.js';
5
5
  import { W as WishListIcon } from './star-ZT7ehBBk.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';