@salla.sa/twilight-components 2.14.501 → 2.14.502

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 (329) hide show
  1. package/dist/cjs/{filepond-YItpCyss.js → filepond-CIptScDL.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BAPK8RK2.js → filepond-plugin-file-poster-DwHNuiWd.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size--RuyRQn1.js → filepond-plugin-file-validate-size-BMLUB-u0.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CBvJsWh4.js → filepond-plugin-file-validate-type-DiRunNiR.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CIZ-WDGk.js → filepond-plugin-image-edit-DujWvbF5.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-RE8rudTp.js → filepond-plugin-image-exif-orientation-CzdpRTlH.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C17RG4r1.js → filepond-plugin-image-preview-CpEEysug.js} +1 -1
  8. package/dist/cjs/{functions-BYc4IT8l.js → functions-DL46a-BT.js} +1 -1
  9. package/dist/cjs/{index-CuQpJRcD.js → index-CeCWRg4V.js} +2 -2
  10. package/dist/cjs/{index-CB_WYB8k.js → index-D7i3cgiE.js} +1 -1
  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 +65 -13
  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-basket-gap.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  22. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  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 +1 -1
  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_8.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_2.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-gifting.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
  48. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  54. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-slider.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-tooltip.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  106. package/dist/cjs/{tracked-promise-XZchciB1.js → tracked-promise-DQhIwhjv.js} +1 -1
  107. package/dist/cjs/twilight.cjs.js +2 -2
  108. package/dist/cjs/{vanilla-picker-DcFuBceg.js → vanilla-picker-DlMSPnXD.js} +1 -1
  109. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +87 -7
  110. package/dist/components/index.js +2 -2
  111. package/dist/components/salla-quick-buy2.js +66 -12
  112. package/dist/esm/{filepond-DQgEXp69.js → filepond--jRYda4S.js} +1 -1
  113. package/dist/esm/{filepond-plugin-file-poster-BE5-JUQb.js → filepond-plugin-file-poster-CckDj7tB.js} +1 -1
  114. package/dist/esm/{filepond-plugin-file-validate-size-CwWpBym0.js → filepond-plugin-file-validate-size-9b6v_l6Z.js} +1 -1
  115. package/dist/esm/{filepond-plugin-file-validate-type-CovRSsjJ.js → filepond-plugin-file-validate-type-CjGNB5Pv.js} +1 -1
  116. package/dist/esm/{filepond-plugin-image-edit-DY-5oWCU.js → filepond-plugin-image-edit-UIthhs_A.js} +1 -1
  117. package/dist/esm/{filepond-plugin-image-exif-orientation-DQROYLkj.js → filepond-plugin-image-exif-orientation-DPcDqfwl.js} +1 -1
  118. package/dist/esm/{filepond-plugin-image-preview-CZCR-9d7.js → filepond-plugin-image-preview-BWlnovlW.js} +1 -1
  119. package/dist/esm/{functions-DWD7tnLk.js → functions-Vnk4zyHS.js} +1 -1
  120. package/dist/esm/{index-DW5RMC3M.js → index-BOjfFBGe.js} +2 -2
  121. package/dist/esm/{index-VUPjm0uj.js → index-D8XjJYaY.js} +1 -1
  122. package/dist/esm/loader.js +3 -3
  123. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  124. package/dist/esm/salla-accordion_6.entry.js +1 -1
  125. package/dist/esm/salla-add-product-button_5.entry.js +65 -13
  126. package/dist/esm/salla-advertisement.entry.js +1 -1
  127. package/dist/esm/salla-alert_2.entry.js +1 -1
  128. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  129. package/dist/esm/salla-apps-icons.entry.js +1 -1
  130. package/dist/esm/salla-badge.entry.js +1 -1
  131. package/dist/esm/salla-basket-gap.entry.js +1 -1
  132. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  133. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  134. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  135. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  136. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  137. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  138. package/dist/esm/salla-comment-factors.entry.js +1 -1
  139. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  140. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  141. package/dist/esm/salla-contacts.entry.js +1 -1
  142. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  143. package/dist/esm/salla-count-down_2.entry.js +1 -1
  144. package/dist/esm/salla-custom-fields.entry.js +1 -1
  145. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  146. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  147. package/dist/esm/salla-filters-widget.entry.js +1 -1
  148. package/dist/esm/salla-filters.entry.js +1 -1
  149. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  150. package/dist/esm/salla-gifting.entry.js +1 -1
  151. package/dist/esm/salla-hook.entry.js +1 -1
  152. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  153. package/dist/esm/salla-installment.entry.js +1 -1
  154. package/dist/esm/salla-list-tile.entry.js +1 -1
  155. package/dist/esm/salla-localization-modal.entry.js +1 -1
  156. package/dist/esm/salla-login-modal.entry.js +1 -1
  157. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  158. package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
  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-points-banner.entry.js +1 -1
  162. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  163. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  164. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  165. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  166. package/dist/esm/salla-loyalty.entry.js +1 -1
  167. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  168. package/dist/esm/salla-map_2.entry.js +1 -1
  169. package/dist/esm/salla-menu.entry.js +1 -1
  170. package/dist/esm/salla-metadata.entry.js +1 -1
  171. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  172. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  173. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  174. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  175. package/dist/esm/salla-notification-item.entry.js +1 -1
  176. package/dist/esm/salla-notifications.entry.js +1 -1
  177. package/dist/esm/salla-offer-modal.entry.js +1 -1
  178. package/dist/esm/salla-offer.entry.js +1 -1
  179. package/dist/esm/salla-order-branch.entry.js +1 -1
  180. package/dist/esm/salla-order-cancel.entry.js +1 -1
  181. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  182. package/dist/esm/salla-order-details-options.entry.js +1 -1
  183. package/dist/esm/salla-order-details.entry.js +1 -1
  184. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  185. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  186. package/dist/esm/salla-order-edit.entry.js +1 -1
  187. package/dist/esm/salla-order-summary.entry.js +1 -1
  188. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  189. package/dist/esm/salla-orders.entry.js +1 -1
  190. package/dist/esm/salla-payments.entry.js +1 -1
  191. package/dist/esm/salla-placeholder.entry.js +1 -1
  192. package/dist/esm/salla-price-range.entry.js +1 -1
  193. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  194. package/dist/esm/salla-product-card_2.entry.js +1 -1
  195. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  196. package/dist/esm/salla-products-list.entry.js +1 -1
  197. package/dist/esm/salla-quick-order.entry.js +1 -1
  198. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  199. package/dist/esm/salla-rating-modal.entry.js +1 -1
  200. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  201. package/dist/esm/salla-scopes.entry.js +1 -1
  202. package/dist/esm/salla-search.entry.js +1 -1
  203. package/dist/esm/salla-skeleton.entry.js +1 -1
  204. package/dist/esm/salla-slider.entry.js +1 -1
  205. package/dist/esm/salla-social-share.entry.js +1 -1
  206. package/dist/esm/salla-social.entry.js +1 -1
  207. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  208. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  209. package/dist/esm/salla-tooltip.entry.js +1 -1
  210. package/dist/esm/salla-trust-badges.entry.js +1 -1
  211. package/dist/esm/salla-user-menu.entry.js +1 -1
  212. package/dist/esm/salla-user-profile.entry.js +1 -1
  213. package/dist/esm/salla-user-settings.entry.js +1 -1
  214. package/dist/esm/salla-verify.entry.js +1 -1
  215. package/dist/esm/salla-wallet.entry.js +1 -1
  216. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  217. package/dist/esm/{tracked-promise-CZ98bqyM.js → tracked-promise-DPZbMaax.js} +1 -1
  218. package/dist/esm/twilight.js +3 -3
  219. package/dist/esm/{vanilla-picker-DKozn4lm.js → vanilla-picker-Db2JkkPK.js} +1 -1
  220. package/dist/twilight/{p-dd7a835b.entry.js → p-0076e440.entry.js} +1 -1
  221. package/dist/twilight/{p-12f14fe5.entry.js → p-0245e2c0.entry.js} +1 -1
  222. package/dist/twilight/{p-d047a409.entry.js → p-05533207.entry.js} +1 -1
  223. package/dist/twilight/{p-d649f426.entry.js → p-0809ec4c.entry.js} +1 -1
  224. package/dist/twilight/{p-bc935da0.entry.js → p-0846a39c.entry.js} +1 -1
  225. package/dist/twilight/{p-bc890bf3.entry.js → p-0a36a8df.entry.js} +1 -1
  226. package/dist/twilight/{p-629b0300.entry.js → p-0c4b50a8.entry.js} +1 -1
  227. package/dist/twilight/{p-17edd677.entry.js → p-145f51a4.entry.js} +1 -1
  228. package/dist/twilight/{p-9b4a8482.entry.js → p-16060f64.entry.js} +1 -1
  229. package/dist/twilight/{p-6c2bd4d3.entry.js → p-16407a84.entry.js} +1 -1
  230. package/dist/twilight/{p-cc0b8dec.entry.js → p-166287b8.entry.js} +1 -1
  231. package/dist/twilight/{p-a9d1a6ab.entry.js → p-1ad1e565.entry.js} +1 -1
  232. package/dist/twilight/{p-9ea31b28.entry.js → p-1d7a5517.entry.js} +1 -1
  233. package/dist/twilight/{p-ef77963a.entry.js → p-2495ba63.entry.js} +1 -1
  234. package/dist/twilight/{p-daaa9ef7.entry.js → p-24af33da.entry.js} +1 -1
  235. package/dist/twilight/{p-66b8ffe5.entry.js → p-24cdca69.entry.js} +1 -1
  236. package/dist/twilight/{p-d89e140a.entry.js → p-25be867c.entry.js} +1 -1
  237. package/dist/twilight/{p-4ed58afc.entry.js → p-27ed0bb7.entry.js} +1 -1
  238. package/dist/twilight/{p-234752f4.entry.js → p-2f0b08a4.entry.js} +1 -1
  239. package/dist/twilight/{p-0708708b.entry.js → p-3075687f.entry.js} +1 -1
  240. package/dist/twilight/{p-33710edf.entry.js → p-3330e9b1.entry.js} +1 -1
  241. package/dist/twilight/{p-3f47b71b.entry.js → p-3431ad47.entry.js} +1 -1
  242. package/dist/twilight/{p-c66582de.entry.js → p-36d820e1.entry.js} +1 -1
  243. package/dist/twilight/{p-1453e674.entry.js → p-3ed4357e.entry.js} +1 -1
  244. package/dist/twilight/{p-fbc91885.entry.js → p-3f137515.entry.js} +1 -1
  245. package/dist/twilight/{p-8c0b1195.entry.js → p-404e7d5b.entry.js} +1 -1
  246. package/dist/twilight/{p-527c985e.entry.js → p-45b6ec5f.entry.js} +1 -1
  247. package/dist/twilight/{p-254d24b3.entry.js → p-490e83b7.entry.js} +1 -1
  248. package/dist/twilight/{p-494f93d5.entry.js → p-4a9fbb6e.entry.js} +1 -1
  249. package/dist/twilight/{p-f2416b6d.entry.js → p-4cf257b2.entry.js} +1 -1
  250. package/dist/twilight/{p-7d4ea0b4.entry.js → p-4d32ef06.entry.js} +1 -1
  251. package/dist/twilight/{p-686e0e20.entry.js → p-5259181e.entry.js} +1 -1
  252. package/dist/twilight/{p-29b848f7.entry.js → p-534c5ce0.entry.js} +1 -1
  253. package/dist/twilight/{p-210de87e.entry.js → p-540b7c0c.entry.js} +1 -1
  254. package/dist/twilight/{p-cb675f91.entry.js → p-5492fef2.entry.js} +1 -1
  255. package/dist/twilight/{p-7fa1bb43.entry.js → p-558eef65.entry.js} +1 -1
  256. package/dist/twilight/{p-60096faf.entry.js → p-56c55c15.entry.js} +1 -1
  257. package/dist/twilight/{p-52465888.entry.js → p-5804914e.entry.js} +1 -1
  258. package/dist/twilight/{p-1decfdb8.entry.js → p-591dc47b.entry.js} +1 -1
  259. package/dist/twilight/{p-bdfb4b2b.entry.js → p-5cbeee21.entry.js} +1 -1
  260. package/dist/twilight/{p-693d1afd.entry.js → p-5f0565be.entry.js} +1 -1
  261. package/dist/twilight/{p-bd7ba620.entry.js → p-5f3b36fe.entry.js} +1 -1
  262. package/dist/twilight/{p-485cd05f.entry.js → p-628fb2e7.entry.js} +1 -1
  263. package/dist/twilight/{p-ceb44ad7.entry.js → p-62d4e685.entry.js} +1 -1
  264. package/dist/twilight/{p-90039201.entry.js → p-648704dc.entry.js} +1 -1
  265. package/dist/twilight/{p-6ea59d29.entry.js → p-67d5bded.entry.js} +1 -1
  266. package/dist/twilight/{p-9c7ed057.entry.js → p-6bdbd0f3.entry.js} +1 -1
  267. package/dist/twilight/{p-a7da83e9.entry.js → p-71d90a27.entry.js} +1 -1
  268. package/dist/twilight/{p-47dd7a56.entry.js → p-73acf48f.entry.js} +1 -1
  269. package/dist/twilight/{p-015a4d45.entry.js → p-7460706e.entry.js} +1 -1
  270. package/dist/twilight/{p-9bfb9e67.entry.js → p-7ab7f179.entry.js} +1 -1
  271. package/dist/twilight/{p-f9c12172.entry.js → p-7be94cc2.entry.js} +1 -1
  272. package/dist/twilight/{p-753c2036.entry.js → p-7d10ae17.entry.js} +1 -1
  273. package/dist/twilight/{p-0f2f8564.entry.js → p-7ef4cd2e.entry.js} +1 -1
  274. package/dist/twilight/{p-e8ada41e.entry.js → p-85333282.entry.js} +1 -1
  275. package/dist/twilight/{p-64bddbd4.entry.js → p-8e298b27.entry.js} +1 -1
  276. package/dist/twilight/{p-8091c1bb.entry.js → p-9018a13b.entry.js} +1 -1
  277. package/dist/twilight/{p-5f363172.entry.js → p-91853c93.entry.js} +1 -1
  278. package/dist/twilight/{p-85238859.entry.js → p-95e6774b.entry.js} +1 -1
  279. package/dist/twilight/{p-2bc1991c.entry.js → p-980deae9.entry.js} +1 -1
  280. package/dist/twilight/{p-cfe4f808.entry.js → p-9b9eb649.entry.js} +1 -1
  281. package/dist/twilight/{p-BOGl7WKm.js → p-B-m0e6tL.js} +1 -1
  282. package/dist/twilight/{p-BEd1gsDo.js → p-B93EBMau.js} +1 -1
  283. package/dist/twilight/{p-D6IFHeYy.js → p-BI-CCdbp.js} +1 -1
  284. package/dist/twilight/{p-DW5RMC3M.js → p-BOjfFBGe.js} +1 -1
  285. package/dist/twilight/{p-CTz-tTY_.js → p-BTd4Mp32.js} +1 -1
  286. package/dist/twilight/{p-MxH_-y8s.js → p-Bdy-19kn.js} +1 -1
  287. package/dist/twilight/{p-Bk7FtCRB.js → p-Be0gsl2J.js} +1 -1
  288. package/dist/twilight/{p-Dha9oJHi.js → p-BeJV4WrP.js} +1 -1
  289. package/dist/twilight/{p-BmLFLdi9.js → p-BsrZms1J.js} +1 -1
  290. package/dist/twilight/{p-DKReyChR.js → p-CIW_DqnB.js} +1 -1
  291. package/dist/twilight/{p-9Gnw86AG.js → p-CZFiZZq_.js} +1 -1
  292. package/dist/twilight/{p-BOsr_t6U.js → p-CkIv9zJH.js} +1 -1
  293. package/dist/twilight/{p-e9a35a7f.entry.js → p-a38b58ca.entry.js} +1 -1
  294. package/dist/twilight/{p-be13f6cf.entry.js → p-a60c4d82.entry.js} +1 -1
  295. package/dist/twilight/{p-c2019c1f.entry.js → p-a6a3a2af.entry.js} +1 -1
  296. package/dist/twilight/{p-8a550a9b.entry.js → p-a8683925.entry.js} +1 -1
  297. package/dist/twilight/{p-4aaba2ae.entry.js → p-a9dd59e6.entry.js} +1 -1
  298. package/dist/twilight/{p-18209070.entry.js → p-ae1d9d25.entry.js} +1 -1
  299. package/dist/twilight/{p-44403dab.entry.js → p-aec3c134.entry.js} +1 -1
  300. package/dist/twilight/{p-8fded8e8.entry.js → p-b879c791.entry.js} +1 -1
  301. package/dist/twilight/{p-5803461f.entry.js → p-b8875211.entry.js} +1 -1
  302. package/dist/twilight/{p-2fe13b65.entry.js → p-b9d30af2.entry.js} +1 -1
  303. package/dist/twilight/{p-c0373e93.entry.js → p-bb4774ef.entry.js} +1 -1
  304. package/dist/twilight/{p-ce06372f.entry.js → p-bd3b3b56.entry.js} +1 -1
  305. package/dist/twilight/{p-41b9b2ef.entry.js → p-bf22b091.entry.js} +1 -1
  306. package/dist/twilight/{p-42fb6aaa.entry.js → p-c23d9868.entry.js} +1 -1
  307. package/dist/twilight/{p-e47540e1.entry.js → p-c2fd3800.entry.js} +1 -1
  308. package/dist/twilight/{p-d63533f2.entry.js → p-c3598ac9.entry.js} +1 -1
  309. package/dist/twilight/{p-4f1b17ce.entry.js → p-cbe499ec.entry.js} +1 -1
  310. package/dist/twilight/{p-bd2359a7.entry.js → p-cdc167c6.entry.js} +1 -1
  311. package/dist/twilight/{p-7d778acb.entry.js → p-d3807e1d.entry.js} +1 -1
  312. package/dist/twilight/{p-ddbaca65.entry.js → p-d3a91c42.entry.js} +1 -1
  313. package/dist/twilight/{p-2abf736c.entry.js → p-d4242231.entry.js} +1 -1
  314. package/dist/twilight/{p-ff5a82a3.entry.js → p-d454c6ac.entry.js} +1 -1
  315. package/dist/twilight/{p-86b6bf59.entry.js → p-d86136e7.entry.js} +1 -1
  316. package/dist/twilight/{p-5c81f957.entry.js → p-dfc06251.entry.js} +1 -1
  317. package/dist/twilight/{p-4e60702f.entry.js → p-e033c3ad.entry.js} +1 -1
  318. package/dist/twilight/{p-0aea93dd.entry.js → p-e416ee2b.entry.js} +1 -1
  319. package/dist/twilight/{p-8bd21221.entry.js → p-ef0ff326.entry.js} +1 -1
  320. package/dist/twilight/{p-b9babfe5.entry.js → p-f00e25a1.entry.js} +1 -1
  321. package/dist/twilight/{p-24f1c04b.entry.js → p-f5a960be.entry.js} +1 -1
  322. package/dist/twilight/{p-9adcfb8f.entry.js → p-f6623828.entry.js} +1 -1
  323. package/dist/twilight/{p-4ff3fcc2.entry.js → p-fb79a1b4.entry.js} +1 -1
  324. package/dist/twilight/{p-dbc38d79.entry.js → p-fb8e031a.entry.js} +1 -1
  325. package/dist/twilight/{p-abffebe7.entry.js → p-fd53f57a.entry.js} +1 -1
  326. package/dist/twilight/twilight.esm.js +1 -1
  327. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +20 -0
  328. package/dist/types/components.d.ts +20 -0
  329. package/package.json +5 -5
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CuQpJRcD.js');
6
+ var index = require('./index-CeCWRg4V.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -125,8 +125,15 @@ export class SallaQuickBuy {
125
125
  currency: this.currency || 'SAR', // SAR
126
126
  requiredShippingContactFields: this.getRequiredShippingContactFields(),
127
127
  shippingMethods: this.isRequireShipping ? [] : undefined,
128
- supportedNetworks: salla.config.get('store.settings.buy_now.networks'),
129
- supportedCountries: salla.config.get('store.settings.buy_now.countries'),
128
+ // Legacy BE
129
+ supportedNetworks: this.isLegacyBuyNowBE()
130
+ ? salla.config.get('store.settings.buy_now.networks')
131
+ : ((Array.isArray(this.supportedNetworks) && this.supportedNetworks.length)
132
+ ? this.supportedNetworks : salla.config.get('store.settings.buy_now.supportedNetworks')),
133
+ supportedCountries: this.isLegacyBuyNowBE()
134
+ ? salla.config.get('store.settings.buy_now.countries')
135
+ : ((Array.isArray(this.supportedCountries) && this.supportedCountries.length)
136
+ ? this.supportedCountries : salla.config.get('store.settings.buy_now.supportedCountries')),
130
137
  countryCode: salla.config.get('store.store_country') || 'SA',
131
138
  onStartedSession: this.handleApplePaySessionStarted,
132
139
  validateMerchant: {
@@ -203,6 +210,35 @@ export class SallaQuickBuy {
203
210
  }
204
211
  return fields;
205
212
  }
213
+ /**
214
+ * TEMPORARY for BE Vip sync
215
+ */
216
+ isLegacyBuyNowBE() {
217
+ return salla?.config?.get?.('store.settings.buy_now.networks') != null;
218
+ }
219
+ /** Set Apple Pay amount + currency from a price payload, always keeping the pair in one currency. */
220
+ applyBaseCurrencyPrice(data) {
221
+ // Legacy BE: amount only; currency is set once in runInit.
222
+ if (this.isLegacyBuyNowBE()) {
223
+ if (data?.price != null) {
224
+ this.amount = data.price;
225
+ }
226
+ return;
227
+ }
228
+ const base = data?.base_currency_price;
229
+ // Unified BE base pair (regular products): charge in base currency.
230
+ if (base?.amount != null) {
231
+ this.amount = base.amount;
232
+ if (base?.currency) {
233
+ this.currency = base.currency;
234
+ }
235
+ // Display-only payload (e.g. donation { id, price }): pair amount with its display currency.
236
+ }
237
+ else if (data?.price != null) {
238
+ this.amount = data.price;
239
+ this.currency = salla.config.get('user.currency_code') || this.currency || 'SAR';
240
+ }
241
+ }
206
242
  componentWillLoad() {
207
243
  console.log('🍏 Pay: Quick Buy Component Loaded');
208
244
  const canMakePayments = typeof window !== 'undefined' && !!window.ApplePaySession?.canMakePayments?.();
@@ -210,7 +246,9 @@ export class SallaQuickBuy {
210
246
  const isSallaGateway = salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? true;
211
247
  this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway;
212
248
  const runInit = async () => {
213
- if (!this.currency && salla?.config?.get) {
249
+ if (this.isLegacyBuyNowBE() && !this.currency && salla?.config?.get) {
250
+ // Legacy BE (pre-PR): currency from the multi_currency flag. The unified BE instead
251
+ // sources amount + currency from `base_currency_price` (see applyBaseCurrencyPrice).
214
252
  this.currency = salla.config.get('store.settings.buy_now.multi_currency') ? salla.config.get('user.currency_code') : 'SAR';
215
253
  }
216
254
  if (!this.productId && salla?.config?.get && salla.url?.is_page) {
@@ -222,7 +260,7 @@ export class SallaQuickBuy {
222
260
  }
223
261
  if ((!this.amount || !this.isRequireShipping) && this.productId && salla?.product?.getDetails) {
224
262
  await salla.product.getDetails(this.productId, []).then((response) => {
225
- this.amount = response.data.price;
263
+ this.applyBaseCurrencyPrice(response?.data);
226
264
  this.isRequireShipping = response?.data?.is_require_shipping || false;
227
265
  }).catch((error) => {
228
266
  salla?.logger?.warn?.('🍏 Pay: Failed load the quick buy, get the product details failed: ', error);
@@ -232,11 +270,11 @@ export class SallaQuickBuy {
232
270
  salla.event.on('product-options::donation-changed', (data) => {
233
271
  if (String(data.id) !== String(this.productId))
234
272
  return;
235
- this.amount = data.price;
273
+ this.applyBaseCurrencyPrice(data);
236
274
  });
237
275
  }
238
276
  else if (salla?.url?.is_page?.('product.single') && salla?.product?.event?.onPriceUpdated) {
239
- salla.product.event.onPriceUpdated(response => { this.amount = response.data.price; });
277
+ salla.product.event.onPriceUpdated(response => { this.applyBaseCurrencyPrice(response?.data); });
240
278
  }
241
279
  this.isApplePayActive = (salla?.helpers?.hasApplePay?.() ?? canMakePayments)
242
280
  && (salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? storeHasApplePay)
@@ -259,7 +297,7 @@ export class SallaQuickBuy {
259
297
  });
260
298
  }
261
299
  render() {
262
- return h(Host, { key: '1895bf6077b3c9d2068830ac621e8f5b8afd1193' }, this.quickBuyButton());
300
+ return h(Host, { key: '8df291680d9b59f1627c8e1185a01cb30b92c2e4' }, this.quickBuyButton());
263
301
  }
264
302
  quickBuyButton() {
265
303
  return h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -514,6 +552,48 @@ export class SallaQuickBuy {
514
552
  "getter": false,
515
553
  "setter": false,
516
554
  "reflect": false
555
+ },
556
+ "supportedNetworks": {
557
+ "type": "unknown",
558
+ "attribute": "supported-networks",
559
+ "mutable": true,
560
+ "complexType": {
561
+ "original": "string[]",
562
+ "resolved": "string[]",
563
+ "references": {}
564
+ },
565
+ "required": false,
566
+ "optional": false,
567
+ "docs": {
568
+ "tags": [{
569
+ "name": "type",
570
+ "text": "{string[]}"
571
+ }],
572
+ "text": "Apple Pay supported card networks. Optional array override for surfaces that already hold the\nunified backend value (e.g. mini-checkout property-binds `payments.gateways.applePay.supportedNetworks`).\nWhen unset/empty, falls back to the PDP `store.settings.buy_now.supportedNetworks` config."
573
+ },
574
+ "getter": false,
575
+ "setter": false
576
+ },
577
+ "supportedCountries": {
578
+ "type": "unknown",
579
+ "attribute": "supported-countries",
580
+ "mutable": true,
581
+ "complexType": {
582
+ "original": "string[]",
583
+ "resolved": "string[]",
584
+ "references": {}
585
+ },
586
+ "required": false,
587
+ "optional": false,
588
+ "docs": {
589
+ "tags": [{
590
+ "name": "type",
591
+ "text": "{string[]}"
592
+ }],
593
+ "text": "Apple Pay supported countries. Same array override/fallback semantics as `supportedNetworks`."
594
+ },
595
+ "getter": false,
596
+ "setter": false
517
597
  }
518
598
  };
519
599
  }