@salla.sa/twilight-components 2.14.358 → 2.14.360

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 (239) hide show
  1. package/dist/cjs/{filepond-C8Iv03Xw.js → filepond-CKWDtDUb.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-6G0m20wb.js → filepond-plugin-file-poster-2dCMAXPa.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BrrvFDrX.js → filepond-plugin-file-validate-size--yuQCRag.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BAIli6YR.js → filepond-plugin-file-validate-type-C7v_6KQa.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CLI8O8iN.js → filepond-plugin-image-edit-8QQicvms.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D6pllZWx.js → filepond-plugin-image-exif-orientation-DbUFlH3z.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CkkozCc3.js → filepond-plugin-image-preview-B17N1-uQ.js} +1 -1
  8. package/dist/cjs/{index-D8CYdUGa.js → index-Bzd4-c5I.js} +4 -4
  9. package/dist/cjs/{index-CiABtziQ.js → index-CbYvSkwS.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_3.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_4.cjs.entry.js +14 -4
  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-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  19. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  77. package/dist/cjs/twilight.cjs.js +2 -2
  78. package/dist/cjs/{vanilla-picker-AGoPnWFt.js → vanilla-picker-EDhnbSB7.js} +1 -1
  79. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +35 -2
  80. package/dist/components/index.js +4 -4
  81. package/dist/components/salla-quick-buy2.js +14 -3
  82. package/dist/esm/{filepond-BbukY3G5.js → filepond-BwmKAsaM.js} +1 -1
  83. package/dist/esm/{filepond-plugin-file-poster-DIB4KhNs.js → filepond-plugin-file-poster-D3K_NYAK.js} +1 -1
  84. package/dist/esm/{filepond-plugin-file-validate-size-C2La5co0.js → filepond-plugin-file-validate-size-BHku0bcb.js} +1 -1
  85. package/dist/esm/{filepond-plugin-file-validate-type-s5WI8DP4.js → filepond-plugin-file-validate-type-hd0JIVJJ.js} +1 -1
  86. package/dist/esm/{filepond-plugin-image-edit-BdW45IS3.js → filepond-plugin-image-edit-CHiH1S6z.js} +1 -1
  87. package/dist/esm/{filepond-plugin-image-exif-orientation-C12lmnIq.js → filepond-plugin-image-exif-orientation-CAwtIStk.js} +1 -1
  88. package/dist/esm/{filepond-plugin-image-preview-DC2SjiV6.js → filepond-plugin-image-preview-D-h00XLk.js} +1 -1
  89. package/dist/esm/{index-COH2oGKJ.js → index-B08vyG5q.js} +1 -1
  90. package/dist/esm/{index-CTOqXLNX.js → index-DBXeIJIL.js} +4 -4
  91. package/dist/esm/loader.js +3 -3
  92. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  93. package/dist/esm/salla-accordion_6.entry.js +1 -1
  94. package/dist/esm/salla-add-product-button_4.entry.js +14 -4
  95. package/dist/esm/salla-advertisement.entry.js +1 -1
  96. package/dist/esm/salla-alert_2.entry.js +1 -1
  97. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  98. package/dist/esm/salla-apps-icons.entry.js +1 -1
  99. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  100. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  101. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  102. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  103. package/dist/esm/salla-contacts.entry.js +1 -1
  104. package/dist/esm/salla-count-down_2.entry.js +1 -1
  105. package/dist/esm/salla-custom-fields.entry.js +1 -1
  106. package/dist/esm/salla-filters-widget.entry.js +1 -1
  107. package/dist/esm/salla-filters.entry.js +1 -1
  108. package/dist/esm/salla-gifting.entry.js +1 -1
  109. package/dist/esm/salla-hook.entry.js +1 -1
  110. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  111. package/dist/esm/salla-installment.entry.js +1 -1
  112. package/dist/esm/salla-list-tile.entry.js +1 -1
  113. package/dist/esm/salla-localization-modal.entry.js +1 -1
  114. package/dist/esm/salla-login-modal.entry.js +1 -1
  115. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  116. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  117. package/dist/esm/salla-loyalty.entry.js +1 -1
  118. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  119. package/dist/esm/salla-menu.entry.js +1 -1
  120. package/dist/esm/salla-metadata.entry.js +1 -1
  121. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  122. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  123. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  124. package/dist/esm/salla-notification-item.entry.js +1 -1
  125. package/dist/esm/salla-notifications.entry.js +1 -1
  126. package/dist/esm/salla-offer-modal.entry.js +1 -1
  127. package/dist/esm/salla-offer.entry.js +1 -1
  128. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  129. package/dist/esm/salla-order-details-options.entry.js +1 -1
  130. package/dist/esm/salla-order-details.entry.js +1 -1
  131. package/dist/esm/salla-order-summary.entry.js +1 -1
  132. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  133. package/dist/esm/salla-orders.entry.js +1 -1
  134. package/dist/esm/salla-payments.entry.js +1 -1
  135. package/dist/esm/salla-placeholder.entry.js +1 -1
  136. package/dist/esm/salla-price-range.entry.js +1 -1
  137. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  138. package/dist/esm/salla-products-list.entry.js +1 -1
  139. package/dist/esm/salla-products-slider.entry.js +1 -1
  140. package/dist/esm/salla-progress-bar.entry.js +1 -1
  141. package/dist/esm/salla-quick-order.entry.js +1 -1
  142. package/dist/esm/salla-rating-modal.entry.js +1 -1
  143. package/dist/esm/salla-scopes.entry.js +1 -1
  144. package/dist/esm/salla-search.entry.js +1 -1
  145. package/dist/esm/salla-skeleton.entry.js +1 -1
  146. package/dist/esm/salla-slider.entry.js +1 -1
  147. package/dist/esm/salla-social-share.entry.js +1 -1
  148. package/dist/esm/salla-social.entry.js +1 -1
  149. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  150. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  151. package/dist/esm/salla-tooltip.entry.js +1 -1
  152. package/dist/esm/salla-trust-badges.entry.js +1 -1
  153. package/dist/esm/salla-user-menu.entry.js +1 -1
  154. package/dist/esm/salla-user-profile.entry.js +1 -1
  155. package/dist/esm/salla-user-settings.entry.js +1 -1
  156. package/dist/esm/salla-verify.entry.js +1 -1
  157. package/dist/esm/salla-wallet.entry.js +1 -1
  158. package/dist/esm/twilight.js +3 -3
  159. package/dist/esm/{vanilla-picker-xnlQPhDH.js → vanilla-picker-BDL54AFE.js} +1 -1
  160. package/dist/twilight/{p-aa2ba103.entry.js → p-0504c1e5.entry.js} +1 -1
  161. package/dist/twilight/{p-26c0b94a.entry.js → p-060ee1b7.entry.js} +1 -1
  162. package/dist/twilight/{p-54a1b32c.entry.js → p-09628b84.entry.js} +1 -1
  163. package/dist/twilight/{p-a44e8395.entry.js → p-0ea768e8.entry.js} +1 -1
  164. package/dist/twilight/{p-a84a4855.entry.js → p-124fc831.entry.js} +1 -1
  165. package/dist/twilight/{p-bff05b48.entry.js → p-17cbc419.entry.js} +1 -1
  166. package/dist/twilight/{p-b8738435.entry.js → p-1d4eec43.entry.js} +1 -1
  167. package/dist/twilight/{p-e9619d27.entry.js → p-1f998706.entry.js} +1 -1
  168. package/dist/twilight/{p-aea1ea51.entry.js → p-206874a5.entry.js} +1 -1
  169. package/dist/twilight/{p-26cc636d.entry.js → p-2250e40e.entry.js} +1 -1
  170. package/dist/twilight/{p-8b251669.entry.js → p-2c64d7d2.entry.js} +1 -1
  171. package/dist/twilight/{p-331cc73d.entry.js → p-2f23542f.entry.js} +1 -1
  172. package/dist/twilight/{p-66d0fc30.entry.js → p-33d4e8b5.entry.js} +1 -1
  173. package/dist/twilight/{p-6cf2ffe8.entry.js → p-3b6a88fd.entry.js} +1 -1
  174. package/dist/twilight/{p-8d380340.entry.js → p-3cc27c43.entry.js} +1 -1
  175. package/dist/twilight/{p-f81009de.entry.js → p-3dda1080.entry.js} +1 -1
  176. package/dist/twilight/{p-342648a6.entry.js → p-3f03d862.entry.js} +1 -1
  177. package/dist/twilight/{p-3306aeb9.entry.js → p-40863326.entry.js} +1 -1
  178. package/dist/twilight/{p-cec6fce5.entry.js → p-40885946.entry.js} +1 -1
  179. package/dist/twilight/{p-6be952b4.entry.js → p-452165b0.entry.js} +1 -1
  180. package/dist/twilight/{p-40fe2fdb.entry.js → p-45e4adc4.entry.js} +1 -1
  181. package/dist/twilight/{p-ca96c86b.entry.js → p-473945c4.entry.js} +1 -1
  182. package/dist/twilight/{p-605cf513.entry.js → p-4987ca72.entry.js} +1 -1
  183. package/dist/twilight/{p-030cfa72.entry.js → p-49944190.entry.js} +1 -1
  184. package/dist/twilight/{p-77380609.entry.js → p-52544c17.entry.js} +1 -1
  185. package/dist/twilight/{p-61ab5693.entry.js → p-55b45b9d.entry.js} +1 -1
  186. package/dist/twilight/{p-b95b8e92.entry.js → p-560e818a.entry.js} +1 -1
  187. package/dist/twilight/{p-bb333ec8.entry.js → p-5cb2ebab.entry.js} +1 -1
  188. package/dist/twilight/{p-45cfc834.entry.js → p-66ccf6f3.entry.js} +1 -1
  189. package/dist/twilight/{p-341b1773.entry.js → p-6d376095.entry.js} +1 -1
  190. package/dist/twilight/{p-3cfcccd4.entry.js → p-6e97b2e1.entry.js} +1 -1
  191. package/dist/twilight/{p-73f89ae0.entry.js → p-6f5e8a46.entry.js} +1 -1
  192. package/dist/twilight/{p-881d81da.entry.js → p-7a0cb59a.entry.js} +1 -1
  193. package/dist/twilight/{p-8b444008.entry.js → p-7c2547c8.entry.js} +1 -1
  194. package/dist/twilight/{p-4d8b8554.entry.js → p-7e7e3cd0.entry.js} +1 -1
  195. package/dist/twilight/{p-a6f29cf5.entry.js → p-7fe01af1.entry.js} +1 -1
  196. package/dist/twilight/{p-953dc2c7.entry.js → p-7fe76ff7.entry.js} +1 -1
  197. package/dist/twilight/{p-2f9c2638.entry.js → p-84bce41f.entry.js} +1 -1
  198. package/dist/twilight/{p-1b706044.entry.js → p-8e62c720.entry.js} +1 -1
  199. package/dist/twilight/{p-dcb6403c.entry.js → p-92fca220.entry.js} +1 -1
  200. package/dist/twilight/{p-852f653a.entry.js → p-95234b45.entry.js} +1 -1
  201. package/dist/twilight/{p-3d953eaa.entry.js → p-96da51a2.entry.js} +1 -1
  202. package/dist/twilight/{p-7fc1087d.entry.js → p-994c77a4.entry.js} +1 -1
  203. package/dist/twilight/{p-f81e3982.entry.js → p-9a9874ec.entry.js} +1 -1
  204. package/dist/twilight/{p-b02413c6.entry.js → p-9cf5ede2.entry.js} +1 -1
  205. package/dist/twilight/{p-CfxXglSG.js → p-B0vxgMkD.js} +1 -1
  206. package/dist/twilight/{p-CVhlRyCZ.js → p-B77qx5ee.js} +1 -1
  207. package/dist/twilight/{p-BTHq9O3t.js → p-C2CpdoUG.js} +1 -1
  208. package/dist/twilight/{p-D-swSluC.js → p-CKB6mTwH.js} +1 -1
  209. package/dist/twilight/{p-kA0d1JcV.js → p-CPmsenDm.js} +1 -1
  210. package/dist/twilight/{p-CTOqXLNX.js → p-DBXeIJIL.js} +2 -2
  211. package/dist/twilight/{p-CUP6xpY8.js → p-DDHq4PsH.js} +1 -1
  212. package/dist/twilight/{p-CeLw8fUj.js → p-PAJhz07l.js} +2 -2
  213. package/dist/twilight/{p-B_QZ5Uh8.js → p-VMC9YDvn.js} +1 -1
  214. package/dist/twilight/{p-8c87fc89.entry.js → p-a1bdfa51.entry.js} +1 -1
  215. package/dist/twilight/{p-770b684e.entry.js → p-ab19537f.entry.js} +1 -1
  216. package/dist/twilight/{p-4288fffb.entry.js → p-ae72fb84.entry.js} +1 -1
  217. package/dist/twilight/{p-25d51430.entry.js → p-bfe400e6.entry.js} +1 -1
  218. package/dist/twilight/{p-a1fa152d.entry.js → p-c27015c3.entry.js} +1 -1
  219. package/dist/twilight/{p-53fcf35b.entry.js → p-c317cd73.entry.js} +1 -1
  220. package/dist/twilight/{p-fbc8d862.entry.js → p-ccf8f40d.entry.js} +1 -1
  221. package/dist/twilight/{p-DneV5uAu.js → p-cqGzS-xJ.js} +1 -1
  222. package/dist/twilight/{p-680a8a26.entry.js → p-d118f16a.entry.js} +1 -1
  223. package/dist/twilight/{p-08085ebd.entry.js → p-d45565e4.entry.js} +1 -1
  224. package/dist/twilight/{p-d8affce0.entry.js → p-de3c8eb9.entry.js} +1 -1
  225. package/dist/twilight/{p-fc958ce6.entry.js → p-dec24992.entry.js} +1 -1
  226. package/dist/twilight/{p-ed8ce802.entry.js → p-e18b25d3.entry.js} +1 -1
  227. package/dist/twilight/{p-cb619ea6.entry.js → p-e26c630a.entry.js} +1 -1
  228. package/dist/twilight/{p-6b166062.entry.js → p-e3ca09cc.entry.js} +1 -1
  229. package/dist/twilight/{p-9247e41a.entry.js → p-e54dfcca.entry.js} +1 -1
  230. package/dist/twilight/{p-1a18938a.entry.js → p-e8966aba.entry.js} +1 -1
  231. package/dist/twilight/{p-707bbd12.entry.js → p-edf5b8fe.entry.js} +1 -1
  232. package/dist/twilight/{p-5c57f6a7.entry.js → p-ee2f009e.entry.js} +1 -1
  233. package/dist/twilight/{p-d3852cc4.entry.js → p-f701a180.entry.js} +1 -1
  234. package/dist/twilight/{p-81148c5c.entry.js → p-fad5a832.entry.js} +1 -1
  235. package/dist/twilight/{p-a2536d37.entry.js → p-fee8967c.entry.js} +1 -1
  236. package/dist/twilight/twilight.esm.js +1 -1
  237. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +7 -0
  238. package/dist/types/components.d.ts +12 -0
  239. package/package.json +5 -5
@@ -433,7 +433,7 @@ window.SallaApplePay = {
433
433
  if (!SallaApplePay.detail.validateMerchant.onFailed) {
434
434
  SallaApplePay.detail.validateMerchant.onFailed = (response) => {
435
435
  salla.logger.log(JSON.stringify(response));
436
- salla.api.handleErrorResponse(response);
436
+ salla.api.handleErrorResponse({response});
437
437
  SallaApplePay.onCancel({}, response.data.error.message);
438
438
  };
439
439
  }
@@ -948,6 +948,12 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
948
948
  * @default buy
949
949
  **/
950
950
  this.type = 'buy';
951
+ /**
952
+ * Product type.
953
+ *
954
+ * @type {string}
955
+ **/
956
+ this.productType = 'product';
951
957
  /**
952
958
  * Product options, if is empty will get the data from the document.querySelector('salla-product-options[product-id="X"]')
953
959
  *
@@ -1067,7 +1073,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1067
1073
  });
1068
1074
  }
1069
1075
  isGuestCheckout() {
1070
- return salla.config.isGuest() && salla.config.get('store.features').includes('guest-checkout');
1076
+ return salla.config.isGuest() && salla.config.get('store.features').includes('guest-checkout') && this.isPhysicalProduct();
1071
1077
  }
1072
1078
  getRequiredShippingContactFields() {
1073
1079
  let fields = [];
@@ -1135,15 +1141,20 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1135
1141
  });
1136
1142
  }
1137
1143
  render() {
1138
- return h(Host, { key: '5e8801bde1b2aed7f8bf0e01daf95a62b3d1cd17' }, this.quickBuyButton());
1144
+ return h(Host, { key: '88125eb8c3bb1e1b016f39ea84ce6234267587a4' }, this.quickBuyButton());
1139
1145
  }
1140
1146
  quickBuyButton() {
1141
1147
  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 });
1142
1148
  }
1149
+ // function to check if product is physical
1150
+ isPhysicalProduct() {
1151
+ return this.productType === 'product' || this.productType === 'group_products' || this.productType === 'food';
1152
+ }
1143
1153
  get host() { return this; }
1144
1154
  static get style() { return sallaQuickBuyCss; }
1145
1155
  }, [0, "salla-quick-buy", {
1146
1156
  "type": [1025],
1157
+ "productType": [1025, "product-type"],
1147
1158
  "productId": [1025, "product-id"],
1148
1159
  "cartId": [1025, "cart-id"],
1149
1160
  "amount": [1538],
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.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-CTOqXLNX.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBXeIJIL.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {