@salla.sa/twilight-components 2.14.586 → 2.14.588

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 (349) hide show
  1. package/dist/cjs/{filepond-D_6sbWQk.js → filepond-FHDuUT2A.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CVS8pOZw.js → filepond-plugin-file-poster-cswOK9iC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-o1y8Fye-.js → filepond-plugin-file-validate-size-BKHetR6q.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-Djhh1ldw.js → filepond-plugin-file-validate-type-TR28icaL.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-0QzvFJme.js → filepond-plugin-image-edit-D-Wzkzl3.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D8VMTsfT.js → filepond-plugin-image-exif-orientation-BF-uGQ3T.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-D77Y-dvk.js → filepond-plugin-image-preview-BMRguebr.js} +1 -1
  8. package/dist/cjs/{index-CReCU9cs.js → index-C3RW52t1.js} +4 -4
  9. package/dist/cjs/{intlTelInput-DpaOw5FS.js → intlTelInput-BwwLaGw1.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  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 +99 -22
  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 +30 -18
  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_9.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-conditional-offer.cjs.entry.js +3 -3
  30. package/dist/cjs/salla-contacts.cjs.entry.js +2 -2
  31. package/dist/cjs/salla-cookies-bar.cjs.entry.js +123 -24
  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.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 +24 -3
  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-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/salla-wishlist-summary.cjs.entry.js +1 -1
  107. package/dist/cjs/twilight.cjs.js +1 -1
  108. package/dist/cjs/{vanilla-picker-qPeQoSpS.js → vanilla-picker-BCVMDRc5.js} +1 -1
  109. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +29 -17
  110. package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.css +2 -13
  111. package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +1 -1
  112. package/dist/collection/components/salla-contacts/salla-contacts.js +1 -1
  113. package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.css +3 -0
  114. package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.js +121 -22
  115. package/dist/collection/components/salla-payments/salla-payments.css +3 -0
  116. package/dist/collection/components/salla-payments/salla-payments.js +22 -1
  117. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +20 -6
  118. package/dist/components/index.js +4 -4
  119. package/dist/components/salla-bullet-delivery.js +29 -17
  120. package/dist/components/salla-conditional-offer.js +2 -2
  121. package/dist/components/salla-contacts.js +1 -1
  122. package/dist/components/salla-cookies-bar.js +122 -23
  123. package/dist/components/salla-payments.js +23 -2
  124. package/dist/components/salla-quick-buy2.js +98 -21
  125. package/dist/docs.json +1 -1
  126. package/dist/esm/{filepond-cGd_8brq.js → filepond-D9x8e0kN.js} +1 -1
  127. package/dist/esm/{filepond-plugin-file-poster-DmVMpWPg.js → filepond-plugin-file-poster-Dnc-RXWn.js} +1 -1
  128. package/dist/esm/{filepond-plugin-file-validate-size-vJfZzddp.js → filepond-plugin-file-validate-size-CZkCBl_R.js} +1 -1
  129. package/dist/esm/{filepond-plugin-file-validate-type-DXfCY9T0.js → filepond-plugin-file-validate-type-C5Nsnz-Z.js} +1 -1
  130. package/dist/esm/{filepond-plugin-image-edit-DHBzZ_bY.js → filepond-plugin-image-edit-hv6HNezY.js} +1 -1
  131. package/dist/esm/{filepond-plugin-image-exif-orientation-2sbvlxy2.js → filepond-plugin-image-exif-orientation-xKI5gBkW.js} +1 -1
  132. package/dist/esm/{filepond-plugin-image-preview-BnPTV3nB.js → filepond-plugin-image-preview-C1Lw27uf.js} +1 -1
  133. package/dist/esm/{index-CpfofV0a.js → index-BTR557QH.js} +4 -4
  134. package/dist/esm/{intlTelInput-DxmbJyWe.js → intlTelInput-HpgbsbG0.js} +1 -1
  135. package/dist/esm/loader.js +2 -2
  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 +99 -22
  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 +30 -18
  148. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  149. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  150. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  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 +3 -3
  155. package/dist/esm/salla-contacts.entry.js +2 -2
  156. package/dist/esm/salla-cookies-bar.entry.js +123 -24
  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.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 +24 -3
  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-tooltip.entry.js +1 -1
  224. package/dist/esm/salla-trust-badges.entry.js +1 -1
  225. package/dist/esm/salla-user-menu.entry.js +1 -1
  226. package/dist/esm/salla-user-profile.entry.js +1 -1
  227. package/dist/esm/salla-user-settings.entry.js +1 -1
  228. package/dist/esm/salla-verify.entry.js +1 -1
  229. package/dist/esm/salla-wallet.entry.js +1 -1
  230. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  231. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  232. package/dist/esm/twilight.js +2 -2
  233. package/dist/esm/{vanilla-picker-nA0gc1Cv.js → vanilla-picker-Cwahuohu.js} +1 -1
  234. package/dist/twilight/p-025f158d.entry.js +4 -0
  235. package/dist/twilight/{p-af82356a.entry.js → p-0447c80d.entry.js} +1 -1
  236. package/dist/twilight/{p-73ecd2bc.entry.js → p-0f559883.entry.js} +1 -1
  237. package/dist/twilight/{p-a9d5b26c.entry.js → p-13186e26.entry.js} +1 -1
  238. package/dist/twilight/{p-42c011f5.entry.js → p-1b19b60d.entry.js} +1 -1
  239. package/dist/twilight/{p-0470406f.entry.js → p-1bd13cb1.entry.js} +1 -1
  240. package/dist/twilight/p-1d60d5cf.entry.js +4 -0
  241. package/dist/twilight/{p-85fb9e19.entry.js → p-1d93fdb7.entry.js} +1 -1
  242. package/dist/twilight/{p-ee056aef.entry.js → p-1e2aa94c.entry.js} +1 -1
  243. package/dist/twilight/{p-3ee5c715.entry.js → p-1e930884.entry.js} +1 -1
  244. package/dist/twilight/p-2158f53a.entry.js +4 -0
  245. package/dist/twilight/{p-0103d0dc.entry.js → p-28a76fa1.entry.js} +1 -1
  246. package/dist/twilight/{p-afe27025.entry.js → p-29992256.entry.js} +1 -1
  247. package/dist/twilight/{p-ea4f08bf.entry.js → p-2b088e94.entry.js} +1 -1
  248. package/dist/twilight/{p-41a26099.entry.js → p-2ffe4f20.entry.js} +1 -1
  249. package/dist/twilight/{p-8eb99a28.entry.js → p-34cae9d4.entry.js} +1 -1
  250. package/dist/twilight/{p-ea96f4ff.entry.js → p-34ea8023.entry.js} +1 -1
  251. package/dist/twilight/{p-0782f0a7.entry.js → p-39c0175f.entry.js} +1 -1
  252. package/dist/twilight/{p-2c92df45.entry.js → p-3d31cbfe.entry.js} +1 -1
  253. package/dist/twilight/{p-06724710.entry.js → p-3f6c6e95.entry.js} +1 -1
  254. package/dist/twilight/{p-d8bb98ed.entry.js → p-3f6e3bca.entry.js} +1 -1
  255. package/dist/twilight/{p-DY7GHkFV.js → p-3xURxQbt.js} +1 -1
  256. package/dist/twilight/{p-51ecb2d9.entry.js → p-41d66dbc.entry.js} +1 -1
  257. package/dist/twilight/{p-b7334ac9.entry.js → p-43a135f9.entry.js} +1 -1
  258. package/dist/twilight/{p-6f7fba84.entry.js → p-46a2bf53.entry.js} +1 -1
  259. package/dist/twilight/{p-9b27ca27.entry.js → p-48a3c4d0.entry.js} +1 -1
  260. package/dist/twilight/{p-50c8e72c.entry.js → p-4b6dc22a.entry.js} +1 -1
  261. package/dist/twilight/{p-dc89997e.entry.js → p-4cdfb0ed.entry.js} +1 -1
  262. package/dist/twilight/{p-4814b5d4.entry.js → p-4d4f5878.entry.js} +1 -1
  263. package/dist/twilight/{p-0df9bcc4.entry.js → p-4de41a53.entry.js} +1 -1
  264. package/dist/twilight/{p-dc3bdfef.entry.js → p-4ee88ae3.entry.js} +1 -1
  265. package/dist/twilight/{p-de880ecf.entry.js → p-52b0e3e5.entry.js} +1 -1
  266. package/dist/twilight/{p-43512641.entry.js → p-53b89833.entry.js} +1 -1
  267. package/dist/twilight/{p-d9758e1a.entry.js → p-54bdf670.entry.js} +1 -1
  268. package/dist/twilight/{p-33a611be.entry.js → p-5572c1bb.entry.js} +1 -1
  269. package/dist/twilight/{p-5ca9e30b.entry.js → p-58bfa710.entry.js} +1 -1
  270. package/dist/twilight/{p-e3a06384.entry.js → p-5b34281f.entry.js} +1 -1
  271. package/dist/twilight/{p-ea3bb7fb.entry.js → p-5d8f8d31.entry.js} +1 -1
  272. package/dist/twilight/{p-71e1f303.entry.js → p-5dfb4250.entry.js} +1 -1
  273. package/dist/twilight/{p-8ddf82ac.entry.js → p-5e48d054.entry.js} +1 -1
  274. package/dist/twilight/{p-4d7cf422.entry.js → p-6371ecfb.entry.js} +1 -1
  275. package/dist/twilight/{p-62555be5.entry.js → p-63997e17.entry.js} +1 -1
  276. package/dist/twilight/{p-7938aa97.entry.js → p-639ef336.entry.js} +1 -1
  277. package/dist/twilight/{p-523971f5.entry.js → p-65dac0dc.entry.js} +1 -1
  278. package/dist/twilight/{p-415eba06.entry.js → p-6972a912.entry.js} +1 -1
  279. package/dist/twilight/{p-a188bde3.entry.js → p-6c6cfa25.entry.js} +1 -1
  280. package/dist/twilight/{p-f3d84cf0.entry.js → p-7117a3df.entry.js} +1 -1
  281. package/dist/twilight/{p-f2e4492c.entry.js → p-730f67ce.entry.js} +1 -1
  282. package/dist/twilight/{p-ae85b377.entry.js → p-75316703.entry.js} +1 -1
  283. package/dist/twilight/{p-e58faf81.entry.js → p-791a4de0.entry.js} +1 -1
  284. package/dist/twilight/{p-ce4f7734.entry.js → p-79f75f23.entry.js} +1 -1
  285. package/dist/twilight/{p-547c2ed5.entry.js → p-7a5150ad.entry.js} +1 -1
  286. package/dist/twilight/{p-a35e39e5.entry.js → p-7bce8959.entry.js} +1 -1
  287. package/dist/twilight/{p-4c7190e3.entry.js → p-88aae8b5.entry.js} +1 -1
  288. package/dist/twilight/{p-c80c3bde.entry.js → p-891fd288.entry.js} +1 -1
  289. package/dist/twilight/{p-6d9c2c00.entry.js → p-89365ad7.entry.js} +1 -1
  290. package/dist/twilight/{p-dd96258c.entry.js → p-8da97f62.entry.js} +1 -1
  291. package/dist/twilight/{p-1bf5a9c5.entry.js → p-8de1f867.entry.js} +1 -1
  292. package/dist/twilight/{p-c2bd158e.entry.js → p-913e3175.entry.js} +1 -1
  293. package/dist/twilight/{p-9b2767b1.entry.js → p-9b95f107.entry.js} +1 -1
  294. package/dist/twilight/{p-d50badfc.entry.js → p-9bb8bd6c.entry.js} +1 -1
  295. package/dist/twilight/{p-f8858ab7.entry.js → p-9ca993de.entry.js} +1 -1
  296. package/dist/twilight/{p-cfa579ba.entry.js → p-9df8e4bd.entry.js} +1 -1
  297. package/dist/twilight/{p-5f41c9fe.entry.js → p-9e49d85f.entry.js} +1 -1
  298. package/dist/twilight/{p-BVZV3mwk.js → p-AWtDVHWY.js} +1 -1
  299. package/dist/twilight/{p-CpfofV0a.js → p-BTR557QH.js} +2 -2
  300. package/dist/twilight/{p-BeznJhTa.js → p-D82O5pkw.js} +1 -1
  301. package/dist/twilight/{p-D0cyuYs_.js → p-DXNyBG0s.js} +1 -1
  302. package/dist/twilight/{p-xMEM8S5Y.js → p-DdVH7VEz.js} +1 -1
  303. package/dist/twilight/{p-D1Wbg5r1.js → p-GQ-wuBin.js} +1 -1
  304. package/dist/twilight/{p-Dxk4zt55.js → p-X6DlYEXx.js} +1 -1
  305. package/dist/twilight/{p-CkkVp-q5.js → p-Y9R2faFd.js} +1 -1
  306. package/dist/twilight/{p-hBZ1atkH.js → p-Zr_Na9jM.js} +2 -2
  307. package/dist/twilight/{p-bcfd547b.entry.js → p-a0d251ec.entry.js} +1 -1
  308. package/dist/twilight/{p-228007cc.entry.js → p-a2df5f85.entry.js} +1 -1
  309. package/dist/twilight/p-a462cf60.entry.js +4 -0
  310. package/dist/twilight/{p-547d3b81.entry.js → p-a73f0f08.entry.js} +1 -1
  311. package/dist/twilight/{p-1075a4d0.entry.js → p-ac968f38.entry.js} +1 -1
  312. package/dist/twilight/{p-b137c970.entry.js → p-aca47dd5.entry.js} +1 -1
  313. package/dist/twilight/{p-944e0e08.entry.js → p-b0dee69a.entry.js} +1 -1
  314. package/dist/twilight/{p-555caba6.entry.js → p-b7a84f6a.entry.js} +1 -1
  315. package/dist/twilight/{p-5b1a2e44.entry.js → p-b8ba7d7a.entry.js} +1 -1
  316. package/dist/twilight/{p-3444b26e.entry.js → p-b8eead91.entry.js} +1 -1
  317. package/dist/twilight/{p-b65576d3.entry.js → p-bbb88414.entry.js} +1 -1
  318. package/dist/twilight/{p-d3876217.entry.js → p-c50f18ff.entry.js} +1 -1
  319. package/dist/twilight/{p-07bb37a5.entry.js → p-ca14d0e0.entry.js} +1 -1
  320. package/dist/twilight/{p-d680f719.entry.js → p-ce20fc73.entry.js} +1 -1
  321. package/dist/twilight/{p-8c44f4f2.entry.js → p-d09e982e.entry.js} +1 -1
  322. package/dist/twilight/{p-d6634a06.entry.js → p-d3977f2f.entry.js} +1 -1
  323. package/dist/twilight/{p-d92b735e.entry.js → p-d3a0ba94.entry.js} +1 -1
  324. package/dist/twilight/{p-a1619269.entry.js → p-d5d2b0fb.entry.js} +1 -1
  325. package/dist/twilight/{p-bde115c6.entry.js → p-d78b3444.entry.js} +1 -1
  326. package/dist/twilight/{p-2d6ac28f.entry.js → p-db30160d.entry.js} +1 -1
  327. package/dist/twilight/{p-a5ea67c7.entry.js → p-dd9260b4.entry.js} +1 -1
  328. package/dist/twilight/{p-8e2ea210.entry.js → p-e0bdbbff.entry.js} +1 -1
  329. package/dist/twilight/p-e551f928.entry.js +4 -0
  330. package/dist/twilight/{p-c956c5f0.entry.js → p-e8c637d0.entry.js} +1 -1
  331. package/dist/twilight/{p-d6fcc0ac.entry.js → p-ed7ffc7e.entry.js} +1 -1
  332. package/dist/twilight/{p-6713d7fd.entry.js → p-eee4a3dd.entry.js} +1 -1
  333. package/dist/twilight/{p-fd4272ca.entry.js → p-eeece90d.entry.js} +1 -1
  334. package/dist/twilight/{p-841f230a.entry.js → p-f2099ffc.entry.js} +1 -1
  335. package/dist/twilight/{p-c382d4e1.entry.js → p-f3abd84c.entry.js} +1 -1
  336. package/dist/twilight/{p-83df1e8e.entry.js → p-fa984e9c.entry.js} +1 -1
  337. package/dist/twilight/{p-c5d5b9e9.entry.js → p-fb4906f6.entry.js} +1 -1
  338. package/dist/twilight/{p-9974ecba.entry.js → p-fc146f87.entry.js} +1 -1
  339. package/dist/twilight/{p-b0350351.entry.js → p-fdb6d4c3.entry.js} +1 -1
  340. package/dist/twilight/twilight.esm.js +1 -1
  341. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +4 -0
  342. package/dist/types/components/salla-cookies-bar/salla-cookies-bar.d.ts +53 -11
  343. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +9 -0
  344. package/package.json +5 -5
  345. package/dist/twilight/p-37861ce2.entry.js +0 -4
  346. package/dist/twilight/p-5fe757aa.entry.js +0 -4
  347. package/dist/twilight/p-68dd78bc.entry.js +0 -4
  348. package/dist/twilight/p-741c66e3.entry.js +0 -4
  349. package/dist/twilight/p-b5abf61f.entry.js +0 -4
@@ -106,6 +106,43 @@ function ensureApplePaySdk() {
106
106
  return sdkPromise;
107
107
  }
108
108
 
109
+ /**
110
+ * Coerce a networks payload into an array. PHP serializes the list as an object when the
111
+ * array keys are non-sequential, so both shapes arrive.
112
+ *
113
+ * @param {string[]|Object|null|undefined} raw
114
+ * @returns {string[]}
115
+ */
116
+ function normalizeApplePayNetworks(raw) {
117
+ if (Array.isArray(raw)) return [...raw];
118
+ if (raw && typeof raw === 'object') return Object.values(raw);
119
+
120
+ return [];
121
+ }
122
+
123
+ /**
124
+ * The store's buy-now networks from config.
125
+ *
126
+ * @returns {string[]}
127
+ */
128
+ function applePayNetworks() {
129
+ return normalizeApplePayNetworks(
130
+ salla?.config?.get?.('store.settings.buy_now.supportedNetworks')
131
+ || salla?.config?.get?.('store.settings.buy_now.networks'),
132
+ );
133
+ }
134
+
135
+ /**
136
+ * The networks for this attempt. `null`/`undefined` means "not supplied" and defers to config;
137
+ * an array — empty included — is the backend's answer and is used as-is.
138
+ *
139
+ * @param {string[]|Object|null|undefined} networks
140
+ * @returns {string[]}
141
+ */
142
+ function resolveApplePayNetworks(networks) {
143
+ return networks == null ? applePayNetworks() : normalizeApplePayNetworks(networks);
144
+ }
145
+
109
146
  /**
110
147
  * Whether Apple Pay can be completed in the current browser: natively
111
148
  * (Safari / Apple devices) or via the Payment Request API (non-Safari browsers
@@ -114,9 +151,16 @@ function ensureApplePaySdk() {
114
151
  * For the QR path this awaits the SDK before probing, so callers get a stable
115
152
  * answer on first load instead of racing the async script fetch.
116
153
  * @param {string} [currency]
154
+ * @param {string[]} [networks] The backend's list; null/undefined defers to the buy-now config.
117
155
  * @returns {Promise<boolean>}
118
156
  */
119
- async function canCompleteApplePay(currency = 'SAR') {
157
+ async function canCompleteApplePay(currency = 'SAR', networks = null) {
158
+ const supportedNetworks = resolveApplePayNetworks(networks);
159
+
160
+ // Nothing to charge with — checked before the native probe, which would report "available"
161
+ // and only fail after the shopper taps pay.
162
+ if (!supportedNetworks.length) return false;
163
+
120
164
  try {
121
165
  if (window.ApplePaySession?.canMakePayments?.()) return true;
122
166
  } catch (e) { /* not supported natively */ }
@@ -135,9 +179,7 @@ async function canCompleteApplePay(currency = 'SAR') {
135
179
  buildApplePayMethodData({
136
180
  version: 3,
137
181
  merchantIdentifier: applePayMerchantId(),
138
- supportedNetworks: salla?.config?.get?.('store.settings.buy_now.supportedNetworks')
139
- || salla?.config?.get?.('store.settings.buy_now.networks')
140
- || ['masterCard', 'visa'],
182
+ supportedNetworks,
141
183
  countryCode: salla?.config?.get?.('store.store_country') || 'SA',
142
184
  }),
143
185
  { total: { label: 'Salla', amount: { currency: currency || 'SAR', value: '0.00' } } },
@@ -588,6 +630,11 @@ const APPLE_PAY_METHOD = 'https://apple.com/apple-pay';
588
630
  // only get it once the SDK loads. Keeps native-vs-PaymentRequest routing stable.
589
631
  const HAS_NATIVE_APPLE_PAY = typeof window !== 'undefined' && !!window.ApplePaySession;
590
632
 
633
+ // Shown when the backend offers no usable network. twilight can ship ahead of Languages-Module,
634
+ // so fall through to `payment_failed` while the key is missing — never a hardcoded sentence.
635
+ const NO_SUPPORTED_NETWORK_KEY = 'pages.checkout.apple_pay_no_supported_network';
636
+ const NO_SUPPORTED_NETWORK_FALLBACK_KEY = 'pages.checkout.payment_failed';
637
+
591
638
  /**
592
639
  * Full Example
593
640
  *
@@ -757,16 +804,12 @@ const SallaApplePay = typeof window !== 'undefined' ? {
757
804
  startNativeSession: async function (event) {
758
805
 
759
806
  let version = SallaApplePay.getApplePaySessionVersion();
760
- // Normalize to an array: the backend can serialize the networks list as a JSON object
761
- // (non-sequential PHP array keys). Copy it so we never mutate the shared `detail` reference.
762
- // Works for both legacy (plain array) and unified (object-shaped) payloads.
763
- let rawNetworks = SallaApplePay.detail.supportedNetworks;
764
- let supportedNetworks = Array.isArray(rawNetworks) ? [...rawNetworks] : Object.values(rawNetworks || {});
807
+ // The backend resolves this per shopper, so it goes to Apple verbatim. Adding mada back
808
+ // here is what let a shopper authorize with Face ID and only then be refused.
809
+ let supportedNetworks = resolveApplePayNetworks(SallaApplePay.detail.supportedNetworks);
810
+
765
811
  if (!supportedNetworks.length) {
766
- supportedNetworks = ['masterCard', 'visa'];
767
- }
768
- if (version === 5 && !supportedNetworks.includes('mada')) {
769
- supportedNetworks.push('mada');
812
+ return SallaApplePay.abandonNoSupportedNetwork();
770
813
  }
771
814
 
772
815
  SallaApplePay.request = {
@@ -897,6 +940,23 @@ const SallaApplePay = typeof window !== 'undefined' ? {
897
940
  });
898
941
  },
899
942
 
943
+ /**
944
+ * Give up before the sheet opens: the backend left no usable network.
945
+ *
946
+ * Routed through onCancel so the host gets the same terminal signals as a dismissal and the
947
+ * button recovers. trackPaymentFailed self-gates on Payment Submitted, so the funnel is safe.
948
+ */
949
+ abandonNoSupportedNetwork: () => {
950
+ salla.logger.error('🍏 Pay: no supported network for this shopper — Apple Pay not offered');
951
+
952
+ const message = salla?.lang?.get?.(NO_SUPPORTED_NETWORK_KEY);
953
+ const resolved = !message || message === NO_SUPPORTED_NETWORK_KEY
954
+ ? salla?.lang?.get?.(NO_SUPPORTED_NETWORK_FALLBACK_KEY)
955
+ : message;
956
+
957
+ SallaApplePay.onCancel({}, resolved || null);
958
+ },
959
+
900
960
  onCancel: (event = {}, message = null) => {
901
961
  SallaApplePay.canceled = true;
902
962
  // Sheet opened (Payment Submitted already fired) but the attempt ended
@@ -1184,9 +1244,12 @@ const SallaApplePay = typeof window !== 'undefined' ? {
1184
1244
  }
1185
1245
 
1186
1246
  const version = SallaApplePay.getApplePaySessionVersion();
1187
- const supportedNetworks = [...(SallaApplePay.detail.supportedNetworks || ['masterCard', 'visa'])];
1188
- if (version === 5 && !supportedNetworks.includes('mada')) {
1189
- supportedNetworks.push('mada');
1247
+ // Same contract as the native flow. resolveApplePayNetworks also handles the
1248
+ // object-shaped payload, which the old spread would have thrown on.
1249
+ const supportedNetworks = resolveApplePayNetworks(SallaApplePay.detail.supportedNetworks);
1250
+
1251
+ if (!supportedNetworks.length) {
1252
+ return SallaApplePay.abandonNoSupportedNetwork();
1190
1253
  }
1191
1254
 
1192
1255
  const methodData = [{
@@ -1854,6 +1917,17 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1854
1917
  resolveCheckoutType() {
1855
1918
  return this.applePayOnly && !this.productId ? 'mini_checkout' : 'buy_now';
1856
1919
  }
1920
+ /**
1921
+ * The backend's networks for this attempt, never widened with a default set.
1922
+ * An empty array is the backend's answer, not a blank, so only an unset prop defers to config.
1923
+ *
1924
+ * The prop is typed `string[]`, but mini-checkout property-binds the raw backend value, which
1925
+ * PHP serializes as an object when its keys are non-sequential — spreading that throws. Route
1926
+ * it through the same normalizer the rest of the package uses.
1927
+ */
1928
+ resolveSupportedNetworks() {
1929
+ return resolveApplePayNetworks(this.supportedNetworks);
1930
+ }
1857
1931
  async settlePayment() {
1858
1932
  //use this way to get quantity too
1859
1933
  let data = this.host.getElementSallaData();
@@ -1900,8 +1974,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1900
1974
  currency: this.currency || salla.config.get('store.settings.buy_now.currency') || 'SAR', // SAR
1901
1975
  requiredShippingContactFields: this.getRequiredShippingContactFields(),
1902
1976
  shippingMethods: this.isRequireShipping ? [] : undefined,
1903
- supportedNetworks: (Array.isArray(this.supportedNetworks) && this.supportedNetworks.length)
1904
- ? this.supportedNetworks : salla.config.get('store.settings.buy_now.supportedNetworks'),
1977
+ supportedNetworks: this.resolveSupportedNetworks(),
1905
1978
  supportedCountries: (Array.isArray(this.supportedCountries) && this.supportedCountries.length)
1906
1979
  ? this.supportedCountries : salla.config.get('store.settings.buy_now.supportedCountries'),
1907
1980
  countryCode: salla.config.get('store.store_country') || 'SA',
@@ -2034,7 +2107,10 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2034
2107
  const canMakePayments = typeof window !== 'undefined' && !!window.ApplePaySession?.canMakePayments?.();
2035
2108
  const storeHasApplePay = salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? true;
2036
2109
  const isSallaGateway = salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? true;
2037
- this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway;
2110
+ // No networks means nothing to charge with, so don't show the button — canMakePayments()
2111
+ // alone would light it up on Safari.
2112
+ this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway
2113
+ && !!this.resolveSupportedNetworks().length;
2038
2114
  const runInit = async () => {
2039
2115
  if (!this.productId && salla?.config?.get && salla.url?.is_page) {
2040
2116
  this.productId = salla.config.get('page.id');
@@ -2073,7 +2149,8 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2073
2149
  // (non-Safari browsers / non-Apple devices via the QR-code fallback). The
2074
2150
  // helper loads Apple's JS SDK and awaits it before probing, so this is a
2075
2151
  // stable answer on first load (no race against the async script fetch).
2076
- this.isApplePayActive = storeAllowsApplePay && await canCompleteApplePay(this.currency);
2152
+ this.isApplePayActive = storeAllowsApplePay
2153
+ && await canCompleteApplePay(this.currency, this.resolveSupportedNetworks());
2077
2154
  };
2078
2155
  return new Promise((resolve) => {
2079
2156
  if (typeof salla?.onReady === 'function') {
@@ -2085,7 +2162,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2085
2162
  });
2086
2163
  }
2087
2164
  render() {
2088
- return h(Host, { key: '63785d289e9c6d4e88e9b15fc444f9606a60da28' }, this.quickBuyButton());
2165
+ return h(Host, { key: '8d1d37acada1f9cdbe6913d01a97fe881facc7af' }, this.quickBuyButton());
2089
2166
  }
2090
2167
  quickBuyButton() {
2091
2168
  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 });
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-04T09:55:42",
2
+ "timestamp": "2026-10-07T09:10:53",
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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.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-CpfofV0a.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BTR557QH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {