@salla.sa/twilight-components 2.14.394 → 2.14.395

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 (267) hide show
  1. package/dist/cjs/{filepond-C_gLbAbF.js → filepond-DhDK6X-K.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DXWo2FUU.js → filepond-plugin-file-poster-By0OGSbr.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-fBXMP7ez.js → filepond-plugin-file-validate-size-C5OjLfMZ.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DEo7juC7.js → filepond-plugin-file-validate-type-DAtZkzcc.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-4j4e1VEp.js → filepond-plugin-image-edit-BSqtSAWo.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DWqiXxv1.js → filepond-plugin-image-exif-orientation-BLuNiU8R.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-emT_teia.js → filepond-plugin-image-preview-DE9EBkNn.js} +1 -1
  8. package/dist/cjs/{index-B03mYCWz.js → index-BGJUbcXt.js} +2 -2
  9. package/dist/cjs/{index-Y-2uyQDK.js → index-BMeldHxT.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-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-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-gifting.cjs.entry.js +15 -12
  33. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  86. package/dist/cjs/twilight.cjs.js +2 -2
  87. package/dist/cjs/{vanilla-picker-CKZvBtHS.js → vanilla-picker-BJmFb-7a.js} +1 -1
  88. package/dist/collection/components/salla-gifting/salla-gifting.js +34 -12
  89. package/dist/components/index.js +2 -2
  90. package/dist/components/salla-gifting.js +15 -11
  91. package/dist/esm/{filepond-Be7JObSq.js → filepond-B5O4Ep7g.js} +1 -1
  92. package/dist/esm/{filepond-plugin-file-poster-DF0NWKCQ.js → filepond-plugin-file-poster-CXl-thGg.js} +1 -1
  93. package/dist/esm/{filepond-plugin-file-validate-size-DJFlJHtE.js → filepond-plugin-file-validate-size-9IDBrVOZ.js} +1 -1
  94. package/dist/esm/{filepond-plugin-file-validate-type-DykpLW1Z.js → filepond-plugin-file-validate-type-DcoiRIvo.js} +1 -1
  95. package/dist/esm/{filepond-plugin-image-edit-CyIHxrnW.js → filepond-plugin-image-edit-DDAVgEhK.js} +1 -1
  96. package/dist/esm/{filepond-plugin-image-exif-orientation-DbCOAhSu.js → filepond-plugin-image-exif-orientation-BEr9NdP5.js} +1 -1
  97. package/dist/esm/{filepond-plugin-image-preview-CGRGZcft.js → filepond-plugin-image-preview-AxYFTZHo.js} +1 -1
  98. package/dist/esm/{index-Cz6cYzxG.js → index-B08XlOeq.js} +2 -2
  99. package/dist/esm/{index-_kPnZdm0.js → index-CT1GcrKO.js} +1 -1
  100. package/dist/esm/loader.js +3 -3
  101. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  102. package/dist/esm/salla-accordion_6.entry.js +1 -1
  103. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  104. package/dist/esm/salla-advertisement.entry.js +1 -1
  105. package/dist/esm/salla-alert_2.entry.js +1 -1
  106. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  107. package/dist/esm/salla-apps-icons.entry.js +1 -1
  108. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  109. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  110. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  111. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  112. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  113. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  114. package/dist/esm/salla-contacts.entry.js +1 -1
  115. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  116. package/dist/esm/salla-count-down.entry.js +1 -1
  117. package/dist/esm/salla-custom-fields.entry.js +1 -1
  118. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  119. package/dist/esm/salla-filters-widget.entry.js +1 -1
  120. package/dist/esm/salla-filters.entry.js +1 -1
  121. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  122. package/dist/esm/salla-gifting.entry.js +15 -12
  123. package/dist/esm/salla-hook.entry.js +1 -1
  124. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  125. package/dist/esm/salla-installment.entry.js +1 -1
  126. package/dist/esm/salla-list-tile.entry.js +1 -1
  127. package/dist/esm/salla-localization-modal.entry.js +1 -1
  128. package/dist/esm/salla-login-modal.entry.js +1 -1
  129. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  130. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  131. package/dist/esm/salla-loyalty.entry.js +1 -1
  132. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  133. package/dist/esm/salla-map.entry.js +1 -1
  134. package/dist/esm/salla-menu.entry.js +1 -1
  135. package/dist/esm/salla-metadata.entry.js +1 -1
  136. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  137. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  138. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  139. package/dist/esm/salla-notification-item.entry.js +1 -1
  140. package/dist/esm/salla-notifications.entry.js +1 -1
  141. package/dist/esm/salla-offer-modal.entry.js +1 -1
  142. package/dist/esm/salla-offer.entry.js +1 -1
  143. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  144. package/dist/esm/salla-order-details-options.entry.js +1 -1
  145. package/dist/esm/salla-order-details.entry.js +1 -1
  146. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  147. package/dist/esm/salla-order-edit.entry.js +1 -1
  148. package/dist/esm/salla-order-summary.entry.js +1 -1
  149. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  150. package/dist/esm/salla-orders.entry.js +1 -1
  151. package/dist/esm/salla-payments.entry.js +1 -1
  152. package/dist/esm/salla-placeholder.entry.js +1 -1
  153. package/dist/esm/salla-price-range.entry.js +1 -1
  154. package/dist/esm/salla-product-card.entry.js +1 -1
  155. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  156. package/dist/esm/salla-products-list.entry.js +1 -1
  157. package/dist/esm/salla-products-slider.entry.js +1 -1
  158. package/dist/esm/salla-progress-bar.entry.js +1 -1
  159. package/dist/esm/salla-quick-order.entry.js +1 -1
  160. package/dist/esm/salla-rating-modal.entry.js +1 -1
  161. package/dist/esm/salla-scopes.entry.js +1 -1
  162. package/dist/esm/salla-search.entry.js +1 -1
  163. package/dist/esm/salla-skeleton.entry.js +1 -1
  164. package/dist/esm/salla-slider.entry.js +1 -1
  165. package/dist/esm/salla-social-share.entry.js +1 -1
  166. package/dist/esm/salla-social.entry.js +1 -1
  167. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  168. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  169. package/dist/esm/salla-tooltip.entry.js +1 -1
  170. package/dist/esm/salla-trust-badges.entry.js +1 -1
  171. package/dist/esm/salla-user-menu.entry.js +1 -1
  172. package/dist/esm/salla-user-profile.entry.js +1 -1
  173. package/dist/esm/salla-user-settings.entry.js +1 -1
  174. package/dist/esm/salla-verify.entry.js +1 -1
  175. package/dist/esm/salla-wallet.entry.js +1 -1
  176. package/dist/esm/twilight.js +3 -3
  177. package/dist/esm/{vanilla-picker-C_YV5LtA.js → vanilla-picker-BHoeSGTe.js} +1 -1
  178. package/dist/twilight/{p-17dd8b68.entry.js → p-00ff16e1.entry.js} +1 -1
  179. package/dist/twilight/{p-39c601e3.entry.js → p-014fb8d0.entry.js} +1 -1
  180. package/dist/twilight/{p-7829ea8a.entry.js → p-0253cf3c.entry.js} +1 -1
  181. package/dist/twilight/p-053408d8.entry.js +4 -0
  182. package/dist/twilight/{p-99735748.entry.js → p-09d16254.entry.js} +1 -1
  183. package/dist/twilight/{p-49db497f.entry.js → p-0c90006b.entry.js} +1 -1
  184. package/dist/twilight/{p-4f7bc9c3.entry.js → p-0d8ec747.entry.js} +1 -1
  185. package/dist/twilight/{p-bd687cd0.entry.js → p-1150cf28.entry.js} +1 -1
  186. package/dist/twilight/{p-ed913ae7.entry.js → p-1303d9d7.entry.js} +1 -1
  187. package/dist/twilight/{p-34920aac.entry.js → p-14068508.entry.js} +1 -1
  188. package/dist/twilight/{p-f2ffbfbb.entry.js → p-1cc45c37.entry.js} +1 -1
  189. package/dist/twilight/{p-b0d01f9f.entry.js → p-1dd74467.entry.js} +1 -1
  190. package/dist/twilight/{p-964b7db9.entry.js → p-1df75ff6.entry.js} +1 -1
  191. package/dist/twilight/{p-c39675ef.entry.js → p-1dfe9e7e.entry.js} +1 -1
  192. package/dist/twilight/{p-e4fdb206.entry.js → p-211a0d89.entry.js} +1 -1
  193. package/dist/twilight/{p-c0037fac.entry.js → p-2c192362.entry.js} +1 -1
  194. package/dist/twilight/{p-5f440956.entry.js → p-33d101c0.entry.js} +1 -1
  195. package/dist/twilight/{p-3c810881.entry.js → p-431a16ce.entry.js} +1 -1
  196. package/dist/twilight/{p-e48853c9.entry.js → p-464bc8d5.entry.js} +1 -1
  197. package/dist/twilight/{p-04dc0b71.entry.js → p-52ac8f65.entry.js} +1 -1
  198. package/dist/twilight/{p-0200cddd.entry.js → p-55fc519c.entry.js} +1 -1
  199. package/dist/twilight/{p-4680956b.entry.js → p-5ceae537.entry.js} +1 -1
  200. package/dist/twilight/{p-7d3e592a.entry.js → p-5f23edd8.entry.js} +1 -1
  201. package/dist/twilight/{p-81876026.entry.js → p-5f35500e.entry.js} +1 -1
  202. package/dist/twilight/{p-b8404cfb.entry.js → p-61211f13.entry.js} +1 -1
  203. package/dist/twilight/{p-708f02db.entry.js → p-6456c5b0.entry.js} +1 -1
  204. package/dist/twilight/{p-25a9bf1b.entry.js → p-66240512.entry.js} +1 -1
  205. package/dist/twilight/{p-cb7a985e.entry.js → p-6f510269.entry.js} +1 -1
  206. package/dist/twilight/{p-d8f60f2f.entry.js → p-706205de.entry.js} +1 -1
  207. package/dist/twilight/{p-2602927d.entry.js → p-71752a0e.entry.js} +1 -1
  208. package/dist/twilight/{p-94b1a2ae.entry.js → p-736dd3ae.entry.js} +1 -1
  209. package/dist/twilight/{p-f067fcd6.entry.js → p-75c9c0d9.entry.js} +1 -1
  210. package/dist/twilight/{p-8474c4f6.entry.js → p-77854672.entry.js} +1 -1
  211. package/dist/twilight/{p-d6cf0ffd.entry.js → p-7dceb44c.entry.js} +1 -1
  212. package/dist/twilight/{p-5a4f0b99.entry.js → p-822f2337.entry.js} +1 -1
  213. package/dist/twilight/{p-543ee624.entry.js → p-82373ce1.entry.js} +1 -1
  214. package/dist/twilight/{p-5a8c0fd2.entry.js → p-85c67570.entry.js} +1 -1
  215. package/dist/twilight/{p-60fafcd9.entry.js → p-89a0e4a2.entry.js} +1 -1
  216. package/dist/twilight/{p-0bac200e.entry.js → p-8d3692dd.entry.js} +1 -1
  217. package/dist/twilight/{p-d99610f9.entry.js → p-8dad41ec.entry.js} +1 -1
  218. package/dist/twilight/{p-c29907df.entry.js → p-8f6fd451.entry.js} +1 -1
  219. package/dist/twilight/{p-dca46236.entry.js → p-9131dcc3.entry.js} +1 -1
  220. package/dist/twilight/{p-3857beb4.entry.js → p-94846672.entry.js} +1 -1
  221. package/dist/twilight/{p-5ab7a295.entry.js → p-95058bbc.entry.js} +1 -1
  222. package/dist/twilight/{p-fcddbfc3.entry.js → p-99b45fc0.entry.js} +1 -1
  223. package/dist/twilight/{p-0ef99df1.entry.js → p-9b17680f.entry.js} +1 -1
  224. package/dist/twilight/{p-f8fcc8f4.entry.js → p-9f159167.entry.js} +1 -1
  225. package/dist/twilight/{p-8306ef5e.entry.js → p-9f29e169.entry.js} +1 -1
  226. package/dist/twilight/{p-Cz6cYzxG.js → p-B08XlOeq.js} +1 -1
  227. package/dist/twilight/{p-JJmlh-ji.js → p-B4GW5rQA.js} +1 -1
  228. package/dist/twilight/{p-Do4hSOGo.js → p-BJ1KNlpk.js} +1 -1
  229. package/dist/twilight/{p-mlFGjxcj.js → p-BaawQYdd.js} +1 -1
  230. package/dist/twilight/{p-CP8rFQ5n.js → p-CqsSEVeE.js} +1 -1
  231. package/dist/twilight/{p-CfmIbM8B.js → p-D5tTqDmK.js} +1 -1
  232. package/dist/twilight/{p-CpO1SrBd.js → p-DH6oNmKl.js} +1 -1
  233. package/dist/twilight/{p-Bpi0aG1F.js → p-DaNAdDbS.js} +1 -1
  234. package/dist/twilight/{p-c121f8e4.entry.js → p-a45b7450.entry.js} +1 -1
  235. package/dist/twilight/{p-42778349.entry.js → p-ace93243.entry.js} +1 -1
  236. package/dist/twilight/{p-f3166e60.entry.js → p-af1efb90.entry.js} +1 -1
  237. package/dist/twilight/{p-45e4f6f4.entry.js → p-af26e966.entry.js} +1 -1
  238. package/dist/twilight/{p-d2fd79b4.entry.js → p-b14b4ab3.entry.js} +1 -1
  239. package/dist/twilight/{p-8403cd93.entry.js → p-b392c814.entry.js} +1 -1
  240. package/dist/twilight/{p-dc897bdd.entry.js → p-b3a120ea.entry.js} +1 -1
  241. package/dist/twilight/{p-8552160a.entry.js → p-b5ccdde0.entry.js} +1 -1
  242. package/dist/twilight/{p-468b999f.entry.js → p-b604eb49.entry.js} +1 -1
  243. package/dist/twilight/{p-3cf5c61f.entry.js → p-b7abf14c.entry.js} +1 -1
  244. package/dist/twilight/{p-B_sN7OnY.js → p-bLx9-3Hz.js} +1 -1
  245. package/dist/twilight/{p-5957f774.entry.js → p-bca6dd48.entry.js} +1 -1
  246. package/dist/twilight/{p-3656b48d.entry.js → p-c2d42f04.entry.js} +1 -1
  247. package/dist/twilight/{p-1087f0dd.entry.js → p-c325358a.entry.js} +1 -1
  248. package/dist/twilight/{p-413a7236.entry.js → p-ca8718f8.entry.js} +1 -1
  249. package/dist/twilight/{p-5e496aaa.entry.js → p-cb414a45.entry.js} +1 -1
  250. package/dist/twilight/{p-8c9b0e2a.entry.js → p-cfe885f4.entry.js} +1 -1
  251. package/dist/twilight/{p-46d1823f.entry.js → p-d2c4946f.entry.js} +1 -1
  252. package/dist/twilight/{p-cbe620c4.entry.js → p-d4c3dabd.entry.js} +1 -1
  253. package/dist/twilight/{p-95dad1af.entry.js → p-d698ba2c.entry.js} +1 -1
  254. package/dist/twilight/{p-268695ff.entry.js → p-d8b1d590.entry.js} +1 -1
  255. package/dist/twilight/{p-f9e52fd9.entry.js → p-daa42168.entry.js} +1 -1
  256. package/dist/twilight/{p-fe7ac9bb.entry.js → p-e1a37066.entry.js} +1 -1
  257. package/dist/twilight/{p-4b033276.entry.js → p-e51efb7b.entry.js} +1 -1
  258. package/dist/twilight/{p-b8e3e180.entry.js → p-e857e666.entry.js} +1 -1
  259. package/dist/twilight/{p-ff14dca3.entry.js → p-ea6aa784.entry.js} +1 -1
  260. package/dist/twilight/{p-f2cd6975.entry.js → p-f1401804.entry.js} +1 -1
  261. package/dist/twilight/{p-8f2dfc57.entry.js → p-f7e41ac3.entry.js} +1 -1
  262. package/dist/twilight/{p-BZKDQg1s.js → p-m8Xtdgy2.js} +1 -1
  263. package/dist/twilight/twilight.esm.js +1 -1
  264. package/dist/types/components/salla-gifting/salla-gifting.d.ts +6 -1
  265. package/dist/types/components.d.ts +10 -2
  266. package/package.json +5 -5
  267. package/dist/twilight/p-a4aedcfe.entry.js +0 -4
@@ -109,6 +109,9 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
109
109
  this.open();
110
110
  });
111
111
  }
112
+ isPhysical() {
113
+ return this.physicalProducts || this.physical;
114
+ }
112
115
  componentDidLoad() {
113
116
  salla.event.product.onPriceUpdated(() => {
114
117
  const quantityInput = document.querySelector(`.s-quantity-input-input`);
@@ -477,7 +480,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
477
480
  { key: 'sender_name', value: this.senderName, label: this.senderNameLabel },
478
481
  { key: 'receiver.name', value: this.receiverName, label: this.receiverNameFieldLabel },
479
482
  { key: 'receiver.mobile', value: this.receiverMobile, label: this.receiverMobileFieldLabel },
480
- ...(this.physicalProducts ? [
483
+ ...(this.isPhysical() ? [
481
484
  { key: 'receiver.country', value: this.selectedCountryId, label: this.receiverCountryFieldLabel },
482
485
  ...(this.isKSA ? [{ key: 'receiver.region', value: this.selectedRegionId, label: this.receiverRegionFieldLabel }] : []),
483
486
  { key: 'receiver.city_id', value: this.receiverCity, label: this.receiverCityFieldLabel },
@@ -505,9 +508,9 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
505
508
  name: this.receiverName,
506
509
  mobile_country_code: this.receiverCountryCode,
507
510
  mobile: this.receiverMobile,
508
- ...(this.physicalProducts && this.selectedCountryCode ? { country_code: this.selectedCountryCode } : {}),
509
- ...(this.physicalProducts && this.selectedRegionId ? { region_id: this.selectedRegionId } : {}),
510
- ...(this.receiverCity && this.physicalProducts ? { city_id: this.receiverCity } : {})
511
+ ...(this.isPhysical() && this.selectedCountryCode ? { country_code: this.selectedCountryCode } : {}),
512
+ ...(this.isPhysical() && this.selectedRegionId ? { region_id: this.selectedRegionId } : {}),
513
+ ...(this.receiverCity && this.isPhysical() ? { city_id: this.receiverCity } : {})
511
514
  },
512
515
  has_apple_pay: salla.helpers.hasApplePay(),
513
516
  };
@@ -568,7 +571,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
568
571
  }
569
572
  render() {
570
573
  return [
571
- h("div", { key: '5d0eec8210f77d166c144704ec78bffcaf1f4ce0' }, h("salla-list-tile", { key: '19cc20b4f70bbb8a7d267f60052db77589901962', class: this.generateClass() }, h("div", { key: '1c3c52b5ac48e71a6ac26c60494657ac28d16457', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: 'e3379fb3ed39d1bc63500346058b26b883c3be13' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'f6c2a522727546aa27cef725faa8be082da063da', slot: "subtitle" }, h("div", { key: '7b58ad967f39fa2cc660369b72e73f8dc49f90dc' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '848396dcd6ce6009ebc4cf1a209a055ad1adbf15', slot: "action" }, h("salla-button", { key: '2ba69b670f1c958784c6f1dca6b2dd0b93f20859', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '6ac9ac339e321fc9433465cfd75f299307ee7152', name: "widget-btn-content" }, h("div", { key: 'c61dd36375886c1ecf87f115e5248dca1af7efc9', class: "s-gifting-widget-action-content" }, h("span", { key: '0c8a3630ba6b15889fc4bf3d55a1279cdf713400', innerHTML: GiftSharing }), " \u00A0", h("span", { key: 'c9299ec752e5393f30a78e1e01d367be9e97ca50' }, this.sectionBtnText)))))), h("salla-modal", { key: '9ee17e79f97eee59d25d9627d5b1cd4ada7cadb3', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: 'aba3b6a4d3e903934c9b5e629119c3a3b5bc90ab', slot: "loading" }, h("div", { key: 'e03613cc85bf4024f63d2e256a2744ec78f7eabf', class: "s-gifting-skeleton" }, h("div", { key: '01156691d540ce5ef5723902610a1da27fba3ddb', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'e45b4868e4fa5633aeb22f758f75f5412290b179', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '2b427d38dd6e0569e16de84ef46eb2052d23b739', class: "s-gifting-modal-title" }, h("div", { key: 'c4f9cb6f513e3ebd2e6ad209648a1f70bcafbcb5', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: 'e684b682a4cca89262128cca13604b7aa9a83cd7', height: '15px', width: '150px' })))), h("div", { key: '2941865d68cd216b4dd82bb8279f6bcbaa062bf3', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '7c4f4235a666930ceef3dc0b38809aea5ee5ce5c', height: '10px', width: '150px' }), h("salla-skeleton", { key: '0257f401762a11b0bf3da7db603b4e5f57bd1aae', height: '230px' }), h("salla-skeleton", { key: 'cced26b189549fcee4eff3a3fbd943a5735b4c6c', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'f5893e5c631564c91bfe42c4102190d43f913947', height: '30px' }), h("salla-skeleton", { key: '64d3738017cf6732b429848c1de4ca16db1adc06', height: '40px' })))), h("slot", { key: '77d5bda8147f7f09d73b97fd7456121626b465a7', name: "header" }), !!this.hasError ?
574
+ h("div", { key: 'ea8b7581fc816b2984ec7a8c9f0d5bfb30710577' }, h("salla-list-tile", { key: '44e4b948c467ecbec4934f894af3e88a01567338', class: this.generateClass() }, h("div", { key: 'c36ccc48ff4209d2aad05123981c8efad4de8642', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: 'd5cfd335582f2af620ef50ae92b431b3fdf84b71' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '9623168820eefb63c833dd14c68c1dc20afe1cd1', slot: "subtitle" }, h("div", { key: 'e2fda7dc68054c0f382f61d74a578589b565a544' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'e888e024772c0ef848e4a4113b218bb4e05d78db', slot: "action" }, h("salla-button", { key: 'd443bfd1f5925299a4e0510fae8fc175d390b55a', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '8df23b83891ee2abf644cde76675ca6bb796db79', name: "widget-btn-content" }, h("div", { key: '6b5153a1f1b9d5e127093c3fcc96e2a0fa4954f4', class: "s-gifting-widget-action-content" }, h("span", { key: '41a7f2e88c8046d7211abf5d7fc9d3f533c02292', innerHTML: GiftSharing }), " \u00A0", h("span", { key: '45ea8eac19ca9cccf37cd34d8f84211e6172cd45' }, this.sectionBtnText)))))), h("salla-modal", { key: '5bd076c54c4d072886671653e536c649763785b1', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '378d12f388bd0627355af5b4e57929c00ae28044', slot: "loading" }, h("div", { key: '1b738d4b461a9ebe3a5184f4de727bb1b4b45890', class: "s-gifting-skeleton" }, h("div", { key: '660c901f477536e68d2a3bacd028438c9726b968', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '46f8e45a0a38c10784fc5f3505092e65ed2bba3a', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '09b3356d736e5eb46bb51df2e2fa539dc9d8c99f', class: "s-gifting-modal-title" }, h("div", { key: 'cc8cb7dece64c65d5891e32e49588316e9009f6c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '41b30274a655babdd0c9e26e74dc3f0bdd4a2aea', height: '15px', width: '150px' })))), h("div", { key: 'b241162827a085279f646452a151d6483a37cc8e', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '5ac15a8e94b50ea03cd033375b08f9e4406a7e17', height: '10px', width: '150px' }), h("salla-skeleton", { key: '697e157e475df0cb71b79e3752019f522ed847a3', height: '230px' }), h("salla-skeleton", { key: '8a5e586c059b765f6425d7060a18e8d799be3c4f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'e1ee17daef6904b8302b0f4437e99b221bd6b236', height: '30px' }), h("salla-skeleton", { key: '9dfbca00f18a37348eb83021ef4fec073685fe7d', height: '40px' })))), h("slot", { key: 'da2c687a186ed115acee04cc683eff3a6a73168f', name: "header" }), !!this.hasError ?
572
575
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
573
576
  :
574
577
  [
@@ -580,15 +583,15 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
580
583
  this.gift?.gift_texts.map((txt) => h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', h("option", { "data-id": "custom" }, this.giftCustomText))), h("div", { class: this.showGiftText ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), h("div", { class: "mt-1" }, h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))), h("div", { class: "anime-item" }, h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2() }, h("span", null, this.nextStep)))), h("div", { class: "s-gifting-step-two gift-step-2", ref: el => this.step2Elems = el }, h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
581
584
  h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
582
585
  h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
583
- h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.physicalProducts &&
586
+ h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.isPhysical() &&
584
587
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
585
- h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), this.physicalProducts && this.isKSA &&
588
+ h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), this.isPhysical() && this.isKSA &&
586
589
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverRegionFieldLabel), h("select", { name: "region", class: "s-form-control", onChange: (event) => this.handleRegionChange(event), disabled: this.loadingRegions }, h("option", { value: "", selected: true }, this.loadingRegions ? salla.lang.get('common.elements.loading') : this.selectRegion), this.regions?.map((region) => (h("option", { value: region.id }, region.name)))), this.errors && this.errors['receiver.region'] ?
587
- h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.physicalProducts &&
590
+ h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
588
591
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
589
- h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.physicalProducts &&
590
- h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.physicalProducts && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
591
- ], h("slot", { key: '46da7ff69a3c10b75886a23936f2f9ad8ad0e7bf', name: "footer" })))
592
+ h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
593
+ h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
594
+ ], h("slot", { key: '20793a5a50c708c93be79df033e43a36e615d075', name: "footer" })))
592
595
  ];
593
596
  }
594
597
  static get style() { return sallaGiftingCss; }
@@ -597,6 +600,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
597
600
  "widgetTitle": [1, "widget-title"],
598
601
  "widgetSubtitle": [1, "widget-subtitle"],
599
602
  "physicalProducts": [4, "physical-products"],
603
+ "physical": [4],
600
604
  "vertical": [4],
601
605
  "formSelector": [1025, "form-selector"],
602
606
  "sectionTitle": [32],
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.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-Cz6cYzxG.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B08XlOeq.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {