@salla.sa/twilight-components 2.14.373 → 2.14.374

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 (274) hide show
  1. package/dist/cjs/{filepond-CXs-MqTC.js → filepond-DeuvVE5J.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-C_2cyJP8.js → filepond-plugin-file-poster-Dxa8I3SY.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-4nPUz6ol.js → filepond-plugin-file-validate-size-W2mdgWG2.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CepBx5RP.js → filepond-plugin-file-validate-type-CnyOIQz9.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BM279qcx.js → filepond-plugin-image-edit-CCb7ekNo.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B-r1ML5w.js → filepond-plugin-image-exif-orientation-COejHavo.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DAvqUcPB.js → filepond-plugin-image-preview-BO9TNEub.js} +1 -1
  8. package/dist/cjs/{index-B4KM1T_g.js → index-CWDMaA5x.js} +2 -2
  9. package/dist/cjs/{index-ClUdAQsW.js → index-CpUSS5zv.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 +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 +11 -11
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-count-down_2.cjs.entry.js +20 -7
  26. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-products-list.cjs.entry.js +7 -3
  60. package/dist/cjs/salla-products-slider.cjs.entry.js +6 -2
  61. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-search.cjs.entry.js +30 -15
  66. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  67. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  69. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  71. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  73. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  79. package/dist/cjs/twilight.cjs.js +2 -2
  80. package/dist/cjs/{vanilla-picker-DraU08VH.js → vanilla-picker-D2Lx83x-.js} +1 -1
  81. package/dist/collection/components/salla-product-card/salla-product-card.js +19 -6
  82. package/dist/collection/components/salla-products-list/salla-products-list.js +6 -2
  83. package/dist/collection/components/salla-products-slider/salla-products-slider.js +5 -1
  84. package/dist/collection/components/salla-search/salla-search.css +13 -1
  85. package/dist/collection/components/salla-search/salla-search.js +48 -13
  86. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  87. package/dist/collection/components/salla-social/salla-social.js +1 -1
  88. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  89. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  90. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  91. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  92. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  93. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  94. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  95. package/dist/components/index.js +2 -2
  96. package/dist/components/salla-product-card2.js +19 -6
  97. package/dist/components/salla-products-list2.js +6 -2
  98. package/dist/components/salla-products-slider2.js +5 -1
  99. package/dist/components/salla-search.js +30 -14
  100. package/dist/components/salla-skeleton2.js +1 -1
  101. package/dist/components/salla-social-share.js +1 -1
  102. package/dist/components/salla-social.js +1 -1
  103. package/dist/components/salla-tab-content2.js +1 -1
  104. package/dist/components/salla-tab-header2.js +1 -1
  105. package/dist/components/salla-tabs2.js +1 -1
  106. package/dist/components/salla-tel-input2.js +1 -1
  107. package/dist/components/salla-tooltip2.js +1 -1
  108. package/dist/components/salla-user-settings.js +1 -1
  109. package/dist/esm/{filepond-DAL4Xltg.js → filepond-TuPJAejT.js} +1 -1
  110. package/dist/esm/{filepond-plugin-file-poster-pYAj1TCf.js → filepond-plugin-file-poster-cCpQ5Yn9.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-validate-size--DK_2h1f.js → filepond-plugin-file-validate-size-rJLWDXdJ.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-validate-type-CLv3B3w8.js → filepond-plugin-file-validate-type-KBmivBiQ.js} +1 -1
  113. package/dist/esm/{filepond-plugin-image-edit-D_juTeqv.js → filepond-plugin-image-edit-CZ1DRDD_.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-exif-orientation-D6SDimvg.js → filepond-plugin-image-exif-orientation-B-eqhWXq.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-preview-EMuHdpX5.js → filepond-plugin-image-preview-BdtUA8MJ.js} +1 -1
  116. package/dist/esm/{index-DM9YbL3Z.js → index-CS4mgWBr.js} +1 -1
  117. package/dist/esm/{index-D0I6A6_z.js → index-CrfyjHDc.js} +2 -2
  118. package/dist/esm/loader.js +3 -3
  119. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  120. package/dist/esm/salla-accordion_6.entry.js +1 -1
  121. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  122. package/dist/esm/salla-advertisement.entry.js +1 -1
  123. package/dist/esm/salla-alert_2.entry.js +1 -1
  124. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  125. package/dist/esm/salla-apps-icons.entry.js +1 -1
  126. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  127. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  128. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  129. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  130. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  131. package/dist/esm/salla-contacts.entry.js +1 -1
  132. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  133. package/dist/esm/salla-count-down_2.entry.js +20 -7
  134. package/dist/esm/salla-custom-fields.entry.js +1 -1
  135. package/dist/esm/salla-filters-widget.entry.js +1 -1
  136. package/dist/esm/salla-filters.entry.js +1 -1
  137. package/dist/esm/salla-gifting.entry.js +1 -1
  138. package/dist/esm/salla-hook.entry.js +1 -1
  139. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  140. package/dist/esm/salla-installment.entry.js +1 -1
  141. package/dist/esm/salla-list-tile.entry.js +1 -1
  142. package/dist/esm/salla-localization-modal.entry.js +1 -1
  143. package/dist/esm/salla-login-modal.entry.js +1 -1
  144. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  145. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  146. package/dist/esm/salla-loyalty.entry.js +1 -1
  147. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  148. package/dist/esm/salla-menu.entry.js +1 -1
  149. package/dist/esm/salla-metadata.entry.js +1 -1
  150. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  151. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  152. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  153. package/dist/esm/salla-notification-item.entry.js +1 -1
  154. package/dist/esm/salla-notifications.entry.js +1 -1
  155. package/dist/esm/salla-offer-modal.entry.js +1 -1
  156. package/dist/esm/salla-offer.entry.js +1 -1
  157. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  158. package/dist/esm/salla-order-details-options.entry.js +1 -1
  159. package/dist/esm/salla-order-details.entry.js +1 -1
  160. package/dist/esm/salla-order-summary.entry.js +1 -1
  161. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  162. package/dist/esm/salla-orders.entry.js +1 -1
  163. package/dist/esm/salla-payments.entry.js +1 -1
  164. package/dist/esm/salla-placeholder.entry.js +1 -1
  165. package/dist/esm/salla-price-range.entry.js +1 -1
  166. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  167. package/dist/esm/salla-products-list.entry.js +7 -3
  168. package/dist/esm/salla-products-slider.entry.js +6 -2
  169. package/dist/esm/salla-progress-bar.entry.js +1 -1
  170. package/dist/esm/salla-quick-order.entry.js +1 -1
  171. package/dist/esm/salla-rating-modal.entry.js +1 -1
  172. package/dist/esm/salla-scopes.entry.js +1 -1
  173. package/dist/esm/salla-search.entry.js +30 -15
  174. package/dist/esm/salla-skeleton.entry.js +2 -2
  175. package/dist/esm/salla-slider.entry.js +1 -1
  176. package/dist/esm/salla-social-share.entry.js +2 -2
  177. package/dist/esm/salla-social.entry.js +2 -2
  178. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  179. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  180. package/dist/esm/salla-tooltip.entry.js +2 -2
  181. package/dist/esm/salla-trust-badges.entry.js +1 -1
  182. package/dist/esm/salla-user-menu.entry.js +1 -1
  183. package/dist/esm/salla-user-profile.entry.js +1 -1
  184. package/dist/esm/salla-user-settings.entry.js +2 -2
  185. package/dist/esm/salla-verify.entry.js +1 -1
  186. package/dist/esm/salla-wallet.entry.js +1 -1
  187. package/dist/esm/twilight.js +3 -3
  188. package/dist/esm/{vanilla-picker-Qqo0H_M-.js → vanilla-picker-s0vHL0vA.js} +1 -1
  189. package/dist/twilight/{p-f49fa6f4.entry.js → p-0218b0ff.entry.js} +1 -1
  190. package/dist/twilight/{p-e92f5e6d.entry.js → p-0543e413.entry.js} +1 -1
  191. package/dist/twilight/{p-078adc00.entry.js → p-067b7ce5.entry.js} +1 -1
  192. package/dist/twilight/{p-d69d9f88.entry.js → p-070e9633.entry.js} +1 -1
  193. package/dist/twilight/{p-7b6160d7.entry.js → p-0db8b7cc.entry.js} +1 -1
  194. package/dist/twilight/{p-b23eb62e.entry.js → p-130b9fde.entry.js} +1 -1
  195. package/dist/twilight/{p-d75f911d.entry.js → p-1318538a.entry.js} +1 -1
  196. package/dist/twilight/{p-81d6ecf6.entry.js → p-1355d443.entry.js} +1 -1
  197. package/dist/twilight/{p-2ea4ee86.entry.js → p-156057d6.entry.js} +1 -1
  198. package/dist/twilight/{p-e0aa9527.entry.js → p-15d51226.entry.js} +1 -1
  199. package/dist/twilight/{p-9303ae5e.entry.js → p-179298ec.entry.js} +1 -1
  200. package/dist/twilight/{p-a7c29ab2.entry.js → p-1c8cb0ef.entry.js} +1 -1
  201. package/dist/twilight/{p-d3fd6daf.entry.js → p-1e80a098.entry.js} +1 -1
  202. package/dist/twilight/{p-8cd9364d.entry.js → p-1f4c59ca.entry.js} +1 -1
  203. package/dist/twilight/p-2030e9b3.entry.js +4 -0
  204. package/dist/twilight/{p-ec4c5bdc.entry.js → p-21b55c4b.entry.js} +1 -1
  205. package/dist/twilight/{p-e7ef6d17.entry.js → p-21c806a5.entry.js} +1 -1
  206. package/dist/twilight/{p-beb81a94.entry.js → p-25065293.entry.js} +1 -1
  207. package/dist/twilight/{p-9ad56294.entry.js → p-2b964947.entry.js} +1 -1
  208. package/dist/twilight/p-37899dd0.entry.js +4 -0
  209. package/dist/twilight/{p-fhnRt3YI.js → p-3mtQhZMU.js} +2 -2
  210. package/dist/twilight/{p-e756721e.entry.js → p-42162ee9.entry.js} +1 -1
  211. package/dist/twilight/{p-6202c3db.entry.js → p-4261c148.entry.js} +1 -1
  212. package/dist/twilight/{p-c0d6fde8.entry.js → p-44477b3c.entry.js} +1 -1
  213. package/dist/twilight/{p-191b61bc.entry.js → p-531d1d9b.entry.js} +1 -1
  214. package/dist/twilight/{p-3bc62efe.entry.js → p-5385af9c.entry.js} +1 -1
  215. package/dist/twilight/{p-d532cc5c.entry.js → p-56ee82aa.entry.js} +1 -1
  216. package/dist/twilight/{p-12d952ec.entry.js → p-5b964337.entry.js} +1 -1
  217. package/dist/twilight/{p-d634d9ba.entry.js → p-61e0d078.entry.js} +1 -1
  218. package/dist/twilight/{p-7177877e.entry.js → p-61e83060.entry.js} +1 -1
  219. package/dist/twilight/{p-95c07362.entry.js → p-62614eb2.entry.js} +1 -1
  220. package/dist/twilight/{p-d2019eac.entry.js → p-6e016cdb.entry.js} +1 -1
  221. package/dist/twilight/{p-4b9b3e93.entry.js → p-6e7f4d65.entry.js} +1 -1
  222. package/dist/twilight/{p-b1f1e022.entry.js → p-843df720.entry.js} +1 -1
  223. package/dist/twilight/{p-a79a15bd.entry.js → p-8df33bfb.entry.js} +1 -1
  224. package/dist/twilight/{p-8a3e1f56.entry.js → p-8ecaa871.entry.js} +1 -1
  225. package/dist/twilight/{p-1400a600.entry.js → p-8f3ff806.entry.js} +1 -1
  226. package/dist/twilight/{p-84572940.entry.js → p-8fdfda0b.entry.js} +1 -1
  227. package/dist/twilight/{p-755ab399.entry.js → p-91973470.entry.js} +1 -1
  228. package/dist/twilight/{p-92cb89fe.entry.js → p-94648166.entry.js} +1 -1
  229. package/dist/twilight/{p-d60c17d1.entry.js → p-96216e77.entry.js} +1 -1
  230. package/dist/twilight/{p-797dfd7c.entry.js → p-9a9b1282.entry.js} +1 -1
  231. package/dist/twilight/p-9b5d0797.entry.js +4 -0
  232. package/dist/twilight/{p-d40c12ca.entry.js → p-9ec0d0b2.entry.js} +1 -1
  233. package/dist/twilight/{p-6a818aa8.entry.js → p-9f749fc5.entry.js} +1 -1
  234. package/dist/twilight/{p-DscsSwIa.js → p-ByQ_JtEq.js} +1 -1
  235. package/dist/twilight/{p-k3_m9cjN.js → p-C4_y7sLz.js} +1 -1
  236. package/dist/twilight/{p-CAvfXKfT.js → p-CQwuMkiJ.js} +1 -1
  237. package/dist/twilight/{p-D0I6A6_z.js → p-CrfyjHDc.js} +1 -1
  238. package/dist/twilight/{p-m0atWUhZ.js → p-DChNcvW3.js} +1 -1
  239. package/dist/twilight/{p-Dn05wIoL.js → p-DLIn9Lr_.js} +1 -1
  240. package/dist/twilight/{p-D1zOfbCq.js → p-DZ7QJ2Rp.js} +1 -1
  241. package/dist/twilight/{p-Bm7PVfv2.js → p-SOZG27Gu.js} +1 -1
  242. package/dist/twilight/{p-CXIkjeL5.js → p-TRZAgxSA.js} +1 -1
  243. package/dist/twilight/{p-91e8d1aa.entry.js → p-a2ef40d8.entry.js} +1 -1
  244. package/dist/twilight/{p-1124e117.entry.js → p-a57560cf.entry.js} +1 -1
  245. package/dist/twilight/{p-ac609ddd.entry.js → p-a5b3b992.entry.js} +1 -1
  246. package/dist/twilight/{p-a71cc1ff.entry.js → p-a6f4ea7e.entry.js} +1 -1
  247. package/dist/twilight/{p-3accaca5.entry.js → p-ab755139.entry.js} +1 -1
  248. package/dist/twilight/{p-ffcbf3a6.entry.js → p-ae9c2af6.entry.js} +1 -1
  249. package/dist/twilight/{p-f8255074.entry.js → p-b7f25ad6.entry.js} +1 -1
  250. package/dist/twilight/{p-f3267e09.entry.js → p-c6bf02e6.entry.js} +1 -1
  251. package/dist/twilight/{p-0a345a4f.entry.js → p-ca5cd5a1.entry.js} +1 -1
  252. package/dist/twilight/{p-a7501d0e.entry.js → p-ce4a4b2e.entry.js} +1 -1
  253. package/dist/twilight/{p-5a5d50f6.entry.js → p-d0344bd5.entry.js} +1 -1
  254. package/dist/twilight/{p-3fd36e29.entry.js → p-dd2b3955.entry.js} +1 -1
  255. package/dist/twilight/{p-87dd72b9.entry.js → p-e0d4ac10.entry.js} +1 -1
  256. package/dist/twilight/{p-47d61973.entry.js → p-e74049ca.entry.js} +1 -1
  257. package/dist/twilight/{p-049efeda.entry.js → p-e9bb3469.entry.js} +1 -1
  258. package/dist/twilight/{p-165e1b7c.entry.js → p-ea1c36dc.entry.js} +1 -1
  259. package/dist/twilight/{p-24c778de.entry.js → p-eba03779.entry.js} +1 -1
  260. package/dist/twilight/{p-6f9b53cf.entry.js → p-eca4d49b.entry.js} +1 -1
  261. package/dist/twilight/{p-c816e7ec.entry.js → p-ed3aa311.entry.js} +1 -1
  262. package/dist/twilight/{p-a8abd889.entry.js → p-eff7ed31.entry.js} +1 -1
  263. package/dist/twilight/{p-d7974589.entry.js → p-f7b7b382.entry.js} +1 -1
  264. package/dist/twilight/{p-6b360187.entry.js → p-fc4c3626.entry.js} +1 -1
  265. package/dist/twilight/{p-259053f2.entry.js → p-fda58052.entry.js} +1 -1
  266. package/dist/twilight/{p-bf22c662.entry.js → p-ffb8c922.entry.js} +1 -1
  267. package/dist/twilight/twilight.esm.js +1 -1
  268. package/dist/types/components/salla-product-card/salla-product-card.d.ts +2 -0
  269. package/dist/types/components/salla-search/salla-search.d.ts +5 -1
  270. package/dist/types/components.d.ts +10 -0
  271. package/package.json +5 -5
  272. package/dist/twilight/p-503a47fc.entry.js +0 -4
  273. package/dist/twilight/p-a6db79a2.entry.js +0 -4
  274. package/dist/twilight/p-f9542326.entry.js +0 -4
@@ -63,6 +63,19 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
63
63
  }
64
64
  this.wishlistBtn?.classList.toggle('s-product-card-wishlist-added', isAdded);
65
65
  }
66
+ isInWishlist() {
67
+ return salla.storage.get('salla::wishlist', []).includes(this.productData?.id);
68
+ }
69
+ async handleWishlistClick() {
70
+ const wasInWishlist = this.isInWishlist();
71
+ this.toggleFavoriteIcon(!wasInWishlist);
72
+ try {
73
+ await salla.wishlist.toggle(this.productData.id);
74
+ }
75
+ catch {
76
+ this.toggleFavoriteIcon(wasInWishlist);
77
+ }
78
+ }
66
79
  formatDate(date) {
67
80
  let d = new Date(date);
68
81
  return `${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}`;
@@ -109,14 +122,14 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
109
122
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
110
123
  };
111
124
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
112
- return (h(Host, { key: '9a3e099826d51b49a1ac85f71cd1bd8bc36ef3a5', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '54a68f86817e919f63ba989a2b451072f4ce410c', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: 'b8454d7fe8d9df0f802cd4bcb854097c2058450b', ...hrefProp }, h("img", { key: '3f0f22a74468c5a4e95936a2bcb5196191d6e115', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
125
+ return (h(Host, { key: 'af7d81ee7f9d8d56c5a8dd6092a57dc0e12cd6f4', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '31491a836d402261afee6c8d28b1600cc5b0b06d', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '18594836114d10d13a26b307b4dd30a399c2657f', ...hrefProp }, h("img", { key: '06ccf31c089968eec9cb87fbc8a308e178459577', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
113
126
  ? 'contain'
114
127
  : this.fitImageHeight
115
128
  ? this.fitImageHeight
116
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: 'a087db8f8b46c9be4c08a13b6707780ab3037cbc', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
117
- h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, h("span", { innerHTML: Heart })) : ''), h("div", { key: 'cf33a8c9a0dc1f2fe228516982cbab8f0cfdd2f2', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
129
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: 'a03cd8723f1511ab0c80b46a121f201d4b600670', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
130
+ h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: 'b918024efb5f4e650c16130045d4ac76f688c66b', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
118
131
  h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
119
- : '', h("div", { key: '784383a2af047842c44ed684d9112fce7661280e', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '5719757a642d9d288a9e9cf6dbf35aca0468d3d7', class: "s-product-card-content-title" }, h("a", { key: 'fd7f90537667a073c08af3970f9f577ea5e79c0f', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
132
+ : '', h("div", { key: '41b3d71085017bce419692aa01dce166b1fe31ab', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '0d1eaecd339554a1fcd1af6fd55f0edc94474d55', class: "s-product-card-content-title" }, h("a", { key: '203bf0b7fb32629982cbcce236095b8c3663b317', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
120
133
  h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
121
134
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
122
135
  [h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -125,13 +138,13 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
125
138
  this.addBtn.donatingAmount = e.target.value;
126
139
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
127
140
  : '')]
128
- : '', h("div", { key: 'ca35502d49adf1b7c7cdd0ccb719d9c41a7dfd58', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
141
+ : '', h("div", { key: 'f15e29713c258337540bc7cbb3e16339a6e319ab', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
129
142
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Rate }), h("span", null, this.productData.rating.stars))
130
143
  : ''), this.isSpecial && this.productData.discount_ends
131
144
  ? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
132
145
  : '', !this.hideAddBtn && !this.compact ?
133
146
  h("div", { class: "s-product-card-content-footer" }, h("salla-add-product-button", { fill: "outline", width: "wide", ref: el => this.addBtn = el, "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type }, h("slot", { name: "add-to-cart-label" }, this.productData.add_to_cart_label)), this.horizontal || this.fullImage ?
134
- h("salla-button", { shape: "icon", fill: "none", color: "light", ref: el => this.wishlistBtn = el, "aria-label": "Add or remove to wishlist", class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id), "data-id": "{{ product.id }}" }, h("span", { class: "text-xl", innerHTML: Heart }))
147
+ h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, ref: el => this.wishlistBtn = el, "aria-label": "Add or remove to wishlist", class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick(), "data-id": "{{ product.id }}" }, h("span", { class: "text-xl", innerHTML: Heart }))
135
148
  : '')
136
149
  : ''), !this.hideAddBtn && this.compact ?
137
150
  h("div", { class: "s-product-card-content-footer" }, h("salla-add-product-button", { ref: el => this.addBtn = el, "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type, class: "s-add-product-button-compact" }, h("slot", { name: "add-to-cart-label" }, this.productData.add_to_cart_label)))
@@ -559,7 +559,11 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
559
559
  }
560
560
  getInitialData() {
561
561
  this.loading();
562
- return salla.product.api.fetch({ source: Helper.getApiSource(this.getSource()), source_value: this.getSourceValue(), limit: this.limit }).then(async (response) => {
562
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
563
+ source: Helper.getApiSource(this.getSource()),
564
+ source_value: this.getSourceValue(),
565
+ limit: this.limit
566
+ }).then(async (response) => {
563
567
  if (!response.data.length) {
564
568
  this.showPlaceholder = true;
565
569
  this.placeholderLoader && this.placeholderLoader.remove();
@@ -575,7 +579,7 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
575
579
  return;
576
580
  }
577
581
  this.handleResponse(response).forEach(card => this.wrapper.append(card));
578
- });
582
+ }));
579
583
  }
580
584
  async loadMore() {
581
585
  this.infiniteScroll?.loadNextPage();
@@ -57,7 +57,11 @@ const SallaProductsSlider = /*@__PURE__*/ proxyCustomElement(class SallaProducts
57
57
  this.isReady = false;
58
58
  return;
59
59
  }
60
- return salla.product.api.fetch({ source: Helper.getApiSource(this.getSource()), source_value: this.getSourceValue(), limit: this.limit })
60
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
61
+ source: Helper.getApiSource(this.getSource()),
62
+ source_value: this.getSourceValue(),
63
+ limit: this.limit
64
+ }))
61
65
  .then(response => Helper.injectExtraFieldsToResponse(response))
62
66
  .then(response => {
63
67
  this.productsData = response.data;
@@ -8,7 +8,7 @@ import { d as defineCustomElement$4 } from './salla-button2.js';
8
8
  import { d as defineCustomElement$3 } from './salla-loading2.js';
9
9
  import { d as defineCustomElement$2 } from './salla-modal2.js';
10
10
 
11
- const sallaSearchCss = "";
11
+ const sallaSearchCss = ".s-search-placeholder-wrapper{position:relative;display:inline-block}.s-search-input-wrapper{position:relative}.s-search-placeholder-trigger{cursor:pointer;appearance:none;text-align:start}";
12
12
 
13
13
  const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends HTMLElement {
14
14
  constructor() {
@@ -19,6 +19,10 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
19
19
  this.loading = false;
20
20
  this.typing = false;
21
21
  this.debounce = setTimeout(() => '', 1000);
22
+ /**
23
+ * Set the component to display as a placeholder (button) that will open the modal. Defaults to `false`
24
+ */
25
+ this.placeholder = false;
22
26
  /**
23
27
  * Set the component display without modal window. Defaults to `false`
24
28
  */
@@ -39,7 +43,8 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
39
43
  * Show submit action buttons at the end.
40
44
  */
41
45
  this.showAction = false;
42
- this.productSlot = this.host.querySelector('[slot="product"]')?.innerHTML || this.getDefaultProductSlot();
46
+ this.productSlot =
47
+ this.host.querySelector('[slot="product"]')?.innerHTML || this.getDefaultProductSlot();
43
48
  salla.event.on('search::open', () => this.open());
44
49
  salla.lang.onLoaded(() => {
45
50
  this.translationLoaded = true;
@@ -63,12 +68,12 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
63
68
  }
64
69
  }
65
70
  getDefaultProductSlot() {
66
- return '<div class="s-search-product-image-container">' +
71
+ return ('<div class="s-search-product-image-container">' +
67
72
  ' <img class="s-search-product-image" src="{image}" alt="{name}"/>' +
68
73
  '</div>' +
69
74
  '<div class="s-search-product-details">' +
70
75
  ' <div class="s-search-product-title">{name}</div> <div class="s-search-product-price">{price} <span class="s-search-product-regular-price">{regular_price}</span></div>' +
71
- '</div>';
76
+ '</div>');
72
77
  }
73
78
  debounceSearch(event) {
74
79
  this.typing = true;
@@ -110,12 +115,13 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
110
115
  this.noResults.style.display = 'none';
111
116
  //run loading spinner or stop it
112
117
  this.loading = true;
113
- salla.product.fetch({ source: "search", source_value: val })
118
+ salla.product
119
+ .fetch({ source: 'search', source_value: val })
114
120
  .then(response => {
115
121
  this.results = response;
116
122
  salla.event.emit('Products Searched', val);
117
123
  })
118
- .catch(err => err !== 'Query is same as previous one!' ? this.results = undefined : null)
124
+ .catch(err => (err !== 'Query is same as previous one!' ? (this.results = undefined) : null))
119
125
  .finally(() => this.afterSearching(/*isEmpty*/ false));
120
126
  }
121
127
  afterSearching(isEmpty = true) {
@@ -126,16 +132,25 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
126
132
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
127
133
  }
128
134
  render() {
129
- const searchContent = h("div", { key: 'a3b8d4bba0d1d1e0f83ed3aca5affdf79d370314', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, h("div", { key: 'e2735ea0f797785ae5faeece14796328652a8121', class: "s-search-input-wrapper" }, h("span", { key: '895be2b1840e83e5fcddd98913839f6f6a0d12ad', class: "s-search-icon-wrap" }, h("span", { key: 'eef7146543d6af08c4fb377cd7ddca09f44a55a2', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: 'd6ab13ba24b5b99de99706516b8a89ad4d8c9838', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), this.showAction ?
130
- h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search })) : null), h("div", { key: 'd823389b62124c47d0134f3c704af2de090be586', class: "s-search-results" }, this.results?.data.map((product) => h("a", { href: product.url + '?from=search-bar', class: { "s-search-product": true, 's-search-product-not-available': !product.is_available }, innerHTML: this.productSlot
135
+ const searchContent = (h("div", { key: '25857ea8c54c56875ed665e9163db0b0dfc23d48', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '2d75789cec346377f1ad6e27605868a747f57ec0', class: "s-search-input-wrapper" }, h("span", { key: '68f3d318d8a1a54aff7da564f571bb7e1521d600', class: "s-search-icon-wrap" }, h("span", { key: '479b33adc20e2e6c34eff5fda4e303bfae16e445', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '4577ea9dbec8175e52603a0934a2d6f22aa26a02', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
136
+ height: this.height + 'px',
137
+ borderRadius: this.oval ? this.height / 2 + 'px' : '',
138
+ } }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: '0607676854eefa6966ec38c0d2e6dd5a3c6423bb', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
139
+ 's-search-product': true,
140
+ 's-search-product-not-available': !product.is_available,
141
+ }, innerHTML: this.productSlot
131
142
  .replace(/\{name\}/g, product.name)
132
143
  .replace(/\{price\}/g, product.price ? salla.money(product.price) : '')
133
- .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price ? salla.money(product.regular_price) : '')
134
- .replace(/\{image\}/g, product.image.url) })), h("p", { key: '8e841ed7aa34e86436be84dc6ad3f2ed35c69ff4', ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options'))));
135
- return (this.inline ?
136
- h("div", { class: "s-search-modal" }, searchContent)
137
- :
138
- h("salla-modal", { position: "top", class: "s-search-modal", ref: modal => this.modal = modal }, searchContent));
144
+ .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
145
+ ? salla.money(product.regular_price)
146
+ : '')
147
+ .replace(/\{image\}/g, product.image.url) }))), h("p", { key: '7136791cf4dc3d523cdba41367bd7691fd4ad9ba', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
148
+ const modalContent = (h("salla-modal", { key: 'ec8705a09e4993459d92569a5b71836cb0acefd8', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
+ const placeholderContent = (h("div", { key: '19b7e1c22e3a40c780eff0c74a23413f089ec96b', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: 'd87fc19fce928f230edb427e952903262a9ba32c', class: "s-search-input-wrapper" }, h("span", { key: '6475d41b267a2b35027016b5de474463cc7e6055', class: "s-search-icon-wrap" }, h("span", { key: 'e6ebac28c76a8a9824188da7ad2c290db610094f', class: "s-search-icon", innerHTML: Search })), h("button", { key: '3d7db311a4c348d4baaf1cb50eb5a0ed7953b28e', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
150
+ height: this.height + 'px',
151
+ borderRadius: this.oval ? this.height / 2 + 'px' : '',
152
+ } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
153
+ return this.placeholder ? (placeholderContent) : this.inline ? (h("div", { class: "s-search-modal" }, searchContent)) : (modalContent);
139
154
  }
140
155
  /**
141
156
  * Run it one time after load
@@ -150,6 +165,7 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
150
165
  }; }
151
166
  static get style() { return sallaSearchCss; }
152
167
  }, [0, "salla-search", {
168
+ "placeholder": [4],
153
169
  "inline": [4],
154
170
  "oval": [4],
155
171
  "height": [2],
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: '8259fd2123035de2b369160563422a30bfdd9805', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '86c89dd45ae03d755fea6fb402bf782b39223b6b', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: '0d85a5f753c250b1acacb0dea809879a549d8d12', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '80c3b2555be6c0fef7794bb184c919d4be2bdf24', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -150,7 +150,7 @@ const SallaSocialShare$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocialSha
150
150
  window.a2a?.init('page');
151
151
  }
152
152
  render() {
153
- return (h("div", { key: '72aa0f5552b60954b99a8f87d078345685247118', class: "s-social-share-wrapper" }, h("slot", { key: 'cfc15423d1b8896b8b192b287f1810d2f0c50374', name: 'widget' }, h("salla-button", { key: 'cff3dd991e0ebe457df09e0495f7e7365d9c9660', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'ae98979b475163009e998c0341aa23d53a7d940c', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'a395a0b71a2ab08c290d6923adb5713ec128e1e6', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
153
+ return (h("div", { key: 'ce2897e4cac7940407f6466a0eb4b2ff9fab3236', class: "s-social-share-wrapper" }, h("slot", { key: 'a0d4beebb29febd203d619845223c4e62b6b9c21', name: 'widget' }, h("salla-button", { key: '8615149ec0475bafc2f94d4b0bacfd49048d112f', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '187e9aa3194eedafd1355fc3e79db1118e21050f', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: '7a1192bbf8e39d7fa101deae229949cc730aff0b', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
154
154
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
155
155
  if (icon.name === platform) {
156
156
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -56,7 +56,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
56
56
  }
57
57
  render() {
58
58
  const linksArray = this.getLinksArray();
59
- return (h(Host, { key: '8fb321cff071698640111ac5fccfb1fc8e130298' }, h("ul", { key: 'f00ef1d6ff429614000aba2af50514ea6f27a2f1', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
+ return (h(Host, { key: '63d306c569080a2719d6e2731dc5fe0d6b8f77f4' }, h("ul", { key: '12c71e69359695da6c2ab3f607973b314c639e1e', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
60
  .replace(/\{icon\}/g, this.iconsList[link.type])
61
61
  .replace(/\{type\}/g, link.type)
62
62
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: '9e1a20d0877a9c3ca6b376fe22bfb52e93c8f873', class: classes }, h("slot", { key: 'f5b0593c4c9b8d808901ca79e3c6fd28c2a64f36' })));
35
+ return (h("div", { key: '6272014593c424e20e4fc9cc2c59dc5c4bd1abc1', class: classes }, h("slot", { key: 'd7a3c32021cc14da0d895b5830c0cf3c8a047529' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: '7e9e75c995226ca1b23a9a185c8be46206362b61', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '6ed7bf434cf6b1af235e2251f6d3f385cbbbcf0b' })),
61
+ h("div", { key: '5ac0d60331466d359ff0ba59d7702b177c96d95b', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'dc8ed7ec638ba1c24b355eedc831c67ab15ded62' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: 'a82184132426d8d221c31160f48f129b0cb43a0f', class: "s-tabs" }, h("div", { key: '199285e8eef1f8e825b174af3b6df06ffe1ffc6e', class: "s-tabs-header" }, h("slot", { key: '80f789aa0dec2dc44c15f269bb554a63e325c7be', name: "header" })), h("div", { key: '1c4fec4e20bab0302fd04a29ebfb2f2bb93380d0', class: "s-tabs-content-wrapper" }, h("slot", { key: '491f2f5149acac667b3036fba9b92cf1fa027fc8', name: "content" })))
54
+ h("div", { key: '32051cc4308a49527f424d2bd0ce42a1ae25b8d4', class: "s-tabs" }, h("div", { key: '5d99d5835d8f3686f38a51f2eb049887d9f7229b', class: "s-tabs-header" }, h("slot", { key: '5b78f92eb7ffe9ad56c235415ae4ea93b0ed3c1d', name: "header" })), h("div", { key: '8979a8c600d60ed79ae8ebb6894754ab3ab7be97', class: "s-tabs-content-wrapper" }, h("slot", { key: '629a4e9b7934a0074a6e7579645e08e0b37c7e61', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -129,7 +129,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
129
129
  }
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: 'f16ad5846d12d5ecef7b30e3409cd57be9bb9763', class: "s-tel-input" }, h("input", { key: '08a876233bba3f7878bb9dc9668f60fd16d04903', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'f02fa5d196bb959f6a281fa0dc9ff2c352b97e88', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'fd0f6dcf6aba98356f7be85422918ff745dc2078', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
132
+ return (h(Host, { key: 'd48f549012efc0bc465bd7da8bd5693506514d25', class: "s-tel-input" }, h("input", { key: '04fa4306973163688b74effbbbd8838b39deb6ad', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '9ae2ddda777dfc2672756f8a6ada215169c1b486', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '83961dde155948b5bfe9030575a084470d707442', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
133
133
  }
134
134
  componentDidLoad() {
135
135
  this.initTelInput();
@@ -32,7 +32,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
32
32
  }
33
33
  render() {
34
34
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
35
- return (h("div", { key: 'e05b915e8e5c20c481a2d7a0b048f8ba0159cb44', class: "s-tooltip-container" }, h("div", { key: '7151a21a5d7076d1427cf68b2ad8d4994aece40b', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
35
+ return (h("div", { key: '52b272aea520c20cdd3a46847a003c5acd099ba7', class: "s-tooltip-container" }, h("div", { key: 'b7b5663370e9c5976ffeac9325e7c871156244d1', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
36
36
  }
37
37
  get el() { return this; }
38
38
  static get style() { return sallaTooltipCss; }
@@ -83,7 +83,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
83
83
  await salla.profile.delete().finally(() => this.confirmationModal.close());
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: '68be49213ef4d527bd26187e3b71277eeba6db28', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '2246aaea83d3e4283e9e2d649a561ff147d5c0b8', class: "s-user-settings-section" }, h("salla-list-tile", { key: '44cb25b6e9b654c619854d6abbb10267fc6f1774' }, h("div", { key: '50f1ed3d4568c441887855bfb146e58884ef7e2f', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '138c297b7656d1f7038a6f4a7b9ba4bfcf4b57f9', innerHTML: UserCancel })), h("div", { key: 'e9098b04a4479a502427f0dec6f58ad4981f3181', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'e786fb378a2039f4b7fbfed9728affb62b942d39', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '036c1784a9d8e019e3ede9c52db4fd18dc37d813', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'f35590de9cab9ae7727fa1606f30a81d79fd1564', class: "s-toggle" }, h("input", { key: 'dbc0d2542ecdf85158258d988b63a71be35527cd', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: 'ee49d4abdcf0e446fb2f2f78bb273cee247a5419', class: "s-toggle-switcher" }))))), h("div", { key: '90a68510727d72928afc9c7ed396d22624727e6b', class: "s-user-settings-section" }, h("salla-list-tile", { key: '668dc8e06fe0e8a1097e3b8d5628b8a85c02d465' }, h("div", { key: 'c641250b03f30672f7343191ad09d469dc6306ba', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'd327ce75f3d6520d5b5368cbe3b13502b8577a7e', innerHTML: Bullhorn })), h("div", { key: '222c5a7805285d36fc0b93a293d3019fff865e39', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '2fcc2117f7b3c01afe0ad00b4cce5248db368549', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'ed87e25872a8b3445be34a1be3d7b27f5c81957c', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '1c6df61cdeb658d51059b6547a202842145fd542', class: "s-toggle" }, h("input", { key: '5bf9c88418b8171e5c9e3ca0ab8dceb185234501', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'f51059655515505fbf91d96e9117c0002367f071', class: "s-toggle-switcher" }))))), h("div", { key: '06f000f6411666b5991e8425823362ae71b583f4', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'd63adfcbf6ade546ee1d0b048bfaed60d86c1e7c' }, h("div", { key: '38f077dfab92c0efd8b2503eb645ca382d3c02a3', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '582bcc04af8cb72575f1d1345c0a6cb6c66e9970', innerHTML: UserOff })), h("div", { key: 'e4fabb8f20a2ecb09c6c1baae356266eb00c56e5', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '077f3eed1d119eced712b5f3238acc56a89e9969', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'af3a9f72dadc0ae8c94c9ff1a37132309c4fb9d9', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'c978692370ac2849aaffc9ebf0f1079fd1451ef8', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'd07391061939719653650fadc46e37a14fe8df84', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '37a506df13c868d45f153a01ba5984d4e47e9bee', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '16f703d93d7424d8de2ecb607c92d28ea1e3fc44', class: "s-user-settings-confirmation" }, h("div", { key: '4ab2a5858becb7d604f19e843b4cc3357a3df4f5', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '470f3581171bc20e566ac3e813668c15aa7d03b6', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '174a9edc356c7b4fca5997617d3d6c37e05a91cd', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '188dffa8391e8b9c0f9d48611a165315f8d75895', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: '7ebde1b251239daf505e3ed7460d8bd21eefcb1c', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: 'ba44ce4314ef6df6a85227e5f7db5428f63c0dde', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'ae83ddc78aa668dc44ae9c32001d401b051c6503' }, h("div", { key: 'da59b1543b7d0352505db2146579183abc57d4ac', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '95999a4a02fe57158473d64847d2ad861b79384c', innerHTML: UserCancel })), h("div", { key: '416e8c839f0ee9c89ca725829594c75c7baa7b49', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '798935472d17bc427990eb0d4cb1f3172ef7c244', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'bd455f1375fa73e4dde76075f4e18dd55a7ae859', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '9148274bf7a0faccbe282531107882c072e4e918', class: "s-toggle" }, h("input", { key: 'ed079fe4e696edb5ca1e3ef2ff594a787a2030c4', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '1ab8d7680e75a743ab7c92bc533dd3466e00d6bc', class: "s-toggle-switcher" }))))), h("div", { key: 'e2beb47cd5983c0d499b44d24e2abdfd7d3bc932', class: "s-user-settings-section" }, h("salla-list-tile", { key: '15dc8a7e21faeaedb6a8b12093959d0dca89cc6a' }, h("div", { key: '2e2633ced498512feaf9af090eb2554190a6601c', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'c25d328af60bdb56af88a5783ebed45a9ab662d5', innerHTML: Bullhorn })), h("div", { key: '26a2262d700f6326acfd23455c36ccb0bbc30c90', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '5a86ab74e912a2eb8ef618c8c2a0fce9635e21ab', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'fce21eb942724cd3e662d1fa28998dd569800807', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '2d5c5fe21af1b7b4618d568aac807477377456b9', class: "s-toggle" }, h("input", { key: '6141b9aee3d7f08c1614e18622734c985f00698d', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'bb1d05fa73a6a2683fd13bbfcfda9c6da33eec5c', class: "s-toggle-switcher" }))))), h("div", { key: '725a865983025acca1fc7e38aa8ca242977e0cec', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'f78022f0df1fa056218cc04f634020c91e13a1de' }, h("div", { key: '0e64bb2523b466f01c73392104f433ede50d5511', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '96a246978ddc161debca6a33ca9b33c76a28c671', innerHTML: UserOff })), h("div", { key: '1b9e41414830b0d08524517959a316c410b0263e', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '23baf125e4c2f93185ce23c0e75b1cdf8218bddf', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'c8d12d145ebc670fd43843682983c3a7ee9fd2c2', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '94eede53889d66f641dd24492c38d2350b0901c8', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '6e6132d1d2fef544b5c504c66bc8dd84aba2a3a4', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '914742e0cb4b2b089e56c7139f2cbd4c677da85c', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '1980c63604f16ea75fafa9f3889ca29441a02e42', class: "s-user-settings-confirmation" }, h("div", { key: '82deb3934516d6132dcc006b7fde1937838b201b', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '7219b0aec0f4e3c6a269f476623929d1d993a754', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '6e5421e168e6c2b1fd04842b98e57e9bfd13c018', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: 'b44fa27e4afee3cadb52c39286f6130d1f6eb2a8', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
87
87
  }
88
88
  static get style() { return sallaUserSettingsCss; }
89
89
  }, [0, "salla-user-settings", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.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-D0I6A6_z.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CrfyjHDc.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {