@salla.sa/twilight-components 2.14.372 → 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 (276) hide show
  1. package/dist/cjs/{filepond-D6hNdSue.js → filepond-DeuvVE5J.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DOSqy8V3.js → filepond-plugin-file-poster-Dxa8I3SY.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-l4VLpkoL.js → filepond-plugin-file-validate-size-W2mdgWG2.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-KYY5p5gt.js → filepond-plugin-file-validate-type-CnyOIQz9.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BzaiZ8lY.js → filepond-plugin-image-edit-CCb7ekNo.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-Dp_AVLHw.js → filepond-plugin-image-exif-orientation-COejHavo.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-Cu_XtCoc.js → filepond-plugin-image-preview-BO9TNEub.js} +1 -1
  8. package/dist/cjs/{index-D2SICJqL.js → index-CWDMaA5x.js} +2 -2
  9. package/dist/cjs/{index-BmCJSRO7.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 +4 -4
  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-W3JKfO-o.js → vanilla-picker-D2Lx83x-.js} +1 -1
  81. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +3 -3
  82. package/dist/collection/components/salla-product-card/salla-product-card.js +19 -6
  83. package/dist/collection/components/salla-products-list/salla-products-list.js +6 -2
  84. package/dist/collection/components/salla-products-slider/salla-products-slider.js +5 -1
  85. package/dist/collection/components/salla-search/salla-search.css +13 -1
  86. package/dist/collection/components/salla-search/salla-search.js +48 -13
  87. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  88. package/dist/collection/components/salla-social/salla-social.js +1 -1
  89. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  90. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  91. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  92. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  93. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  94. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  95. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  96. package/dist/components/index.js +2 -2
  97. package/dist/components/salla-bullet-delivery.js +3 -3
  98. package/dist/components/salla-product-card2.js +19 -6
  99. package/dist/components/salla-products-list2.js +6 -2
  100. package/dist/components/salla-products-slider2.js +5 -1
  101. package/dist/components/salla-search.js +30 -14
  102. package/dist/components/salla-skeleton2.js +1 -1
  103. package/dist/components/salla-social-share.js +1 -1
  104. package/dist/components/salla-social.js +1 -1
  105. package/dist/components/salla-tab-content2.js +1 -1
  106. package/dist/components/salla-tab-header2.js +1 -1
  107. package/dist/components/salla-tabs2.js +1 -1
  108. package/dist/components/salla-tel-input2.js +1 -1
  109. package/dist/components/salla-tooltip2.js +1 -1
  110. package/dist/components/salla-user-settings.js +1 -1
  111. package/dist/esm/{filepond-CVt8gG7K.js → filepond-TuPJAejT.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-poster-ByDhiu8k.js → filepond-plugin-file-poster-cCpQ5Yn9.js} +1 -1
  113. package/dist/esm/{filepond-plugin-file-validate-size-C46KRc5n.js → filepond-plugin-file-validate-size-rJLWDXdJ.js} +1 -1
  114. package/dist/esm/{filepond-plugin-file-validate-type-7wK_W1ju.js → filepond-plugin-file-validate-type-KBmivBiQ.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-edit-BbFosret.js → filepond-plugin-image-edit-CZ1DRDD_.js} +1 -1
  116. package/dist/esm/{filepond-plugin-image-exif-orientation-DXsWsxNp.js → filepond-plugin-image-exif-orientation-B-eqhWXq.js} +1 -1
  117. package/dist/esm/{filepond-plugin-image-preview-BZoHvyw-.js → filepond-plugin-image-preview-BdtUA8MJ.js} +1 -1
  118. package/dist/esm/{index-x1gUeQbQ.js → index-CS4mgWBr.js} +1 -1
  119. package/dist/esm/{index-SkTHIgsP.js → index-CrfyjHDc.js} +2 -2
  120. package/dist/esm/loader.js +3 -3
  121. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  122. package/dist/esm/salla-accordion_6.entry.js +1 -1
  123. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  124. package/dist/esm/salla-advertisement.entry.js +1 -1
  125. package/dist/esm/salla-alert_2.entry.js +1 -1
  126. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  127. package/dist/esm/salla-apps-icons.entry.js +1 -1
  128. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  129. package/dist/esm/salla-bullet-delivery.entry.js +4 -4
  130. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  131. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  132. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  133. package/dist/esm/salla-contacts.entry.js +1 -1
  134. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  135. package/dist/esm/salla-count-down_2.entry.js +20 -7
  136. package/dist/esm/salla-custom-fields.entry.js +1 -1
  137. package/dist/esm/salla-filters-widget.entry.js +1 -1
  138. package/dist/esm/salla-filters.entry.js +1 -1
  139. package/dist/esm/salla-gifting.entry.js +1 -1
  140. package/dist/esm/salla-hook.entry.js +1 -1
  141. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  142. package/dist/esm/salla-installment.entry.js +1 -1
  143. package/dist/esm/salla-list-tile.entry.js +1 -1
  144. package/dist/esm/salla-localization-modal.entry.js +1 -1
  145. package/dist/esm/salla-login-modal.entry.js +1 -1
  146. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  147. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  148. package/dist/esm/salla-loyalty.entry.js +1 -1
  149. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  150. package/dist/esm/salla-menu.entry.js +1 -1
  151. package/dist/esm/salla-metadata.entry.js +1 -1
  152. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  153. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  154. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  155. package/dist/esm/salla-notification-item.entry.js +1 -1
  156. package/dist/esm/salla-notifications.entry.js +1 -1
  157. package/dist/esm/salla-offer-modal.entry.js +1 -1
  158. package/dist/esm/salla-offer.entry.js +1 -1
  159. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  160. package/dist/esm/salla-order-details-options.entry.js +1 -1
  161. package/dist/esm/salla-order-details.entry.js +1 -1
  162. package/dist/esm/salla-order-summary.entry.js +1 -1
  163. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  164. package/dist/esm/salla-orders.entry.js +1 -1
  165. package/dist/esm/salla-payments.entry.js +1 -1
  166. package/dist/esm/salla-placeholder.entry.js +1 -1
  167. package/dist/esm/salla-price-range.entry.js +1 -1
  168. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  169. package/dist/esm/salla-products-list.entry.js +7 -3
  170. package/dist/esm/salla-products-slider.entry.js +6 -2
  171. package/dist/esm/salla-progress-bar.entry.js +1 -1
  172. package/dist/esm/salla-quick-order.entry.js +1 -1
  173. package/dist/esm/salla-rating-modal.entry.js +1 -1
  174. package/dist/esm/salla-scopes.entry.js +1 -1
  175. package/dist/esm/salla-search.entry.js +30 -15
  176. package/dist/esm/salla-skeleton.entry.js +2 -2
  177. package/dist/esm/salla-slider.entry.js +1 -1
  178. package/dist/esm/salla-social-share.entry.js +2 -2
  179. package/dist/esm/salla-social.entry.js +2 -2
  180. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  181. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  182. package/dist/esm/salla-tooltip.entry.js +2 -2
  183. package/dist/esm/salla-trust-badges.entry.js +1 -1
  184. package/dist/esm/salla-user-menu.entry.js +1 -1
  185. package/dist/esm/salla-user-profile.entry.js +1 -1
  186. package/dist/esm/salla-user-settings.entry.js +2 -2
  187. package/dist/esm/salla-verify.entry.js +1 -1
  188. package/dist/esm/salla-wallet.entry.js +1 -1
  189. package/dist/esm/twilight.js +3 -3
  190. package/dist/esm/{vanilla-picker-CBzZiD3g.js → vanilla-picker-s0vHL0vA.js} +1 -1
  191. package/dist/twilight/{p-5905a86a.entry.js → p-0218b0ff.entry.js} +1 -1
  192. package/dist/twilight/{p-53b2e08f.entry.js → p-0543e413.entry.js} +1 -1
  193. package/dist/twilight/{p-53cc3cef.entry.js → p-067b7ce5.entry.js} +1 -1
  194. package/dist/twilight/{p-001b7ef6.entry.js → p-070e9633.entry.js} +1 -1
  195. package/dist/twilight/{p-511ca10b.entry.js → p-0db8b7cc.entry.js} +1 -1
  196. package/dist/twilight/{p-c1bdca57.entry.js → p-130b9fde.entry.js} +1 -1
  197. package/dist/twilight/{p-18e52d0e.entry.js → p-1318538a.entry.js} +1 -1
  198. package/dist/twilight/{p-6837da63.entry.js → p-1355d443.entry.js} +1 -1
  199. package/dist/twilight/{p-8b505e2a.entry.js → p-156057d6.entry.js} +1 -1
  200. package/dist/twilight/{p-d95a2fee.entry.js → p-15d51226.entry.js} +1 -1
  201. package/dist/twilight/{p-bdb38d1b.entry.js → p-179298ec.entry.js} +1 -1
  202. package/dist/twilight/{p-e452b815.entry.js → p-1c8cb0ef.entry.js} +1 -1
  203. package/dist/twilight/{p-2ab48cac.entry.js → p-1e80a098.entry.js} +1 -1
  204. package/dist/twilight/{p-86982850.entry.js → p-1f4c59ca.entry.js} +1 -1
  205. package/dist/twilight/p-2030e9b3.entry.js +4 -0
  206. package/dist/twilight/{p-3eaa8925.entry.js → p-21b55c4b.entry.js} +1 -1
  207. package/dist/twilight/{p-59db4c52.entry.js → p-21c806a5.entry.js} +1 -1
  208. package/dist/twilight/{p-2f692fcf.entry.js → p-25065293.entry.js} +1 -1
  209. package/dist/twilight/{p-f89add85.entry.js → p-2b964947.entry.js} +1 -1
  210. package/dist/twilight/p-37899dd0.entry.js +4 -0
  211. package/dist/twilight/{p-DPmKuJIj.js → p-3mtQhZMU.js} +1 -1
  212. package/dist/twilight/{p-a473108d.entry.js → p-42162ee9.entry.js} +1 -1
  213. package/dist/twilight/{p-1e8fbd9f.entry.js → p-4261c148.entry.js} +1 -1
  214. package/dist/twilight/{p-f0ad1125.entry.js → p-44477b3c.entry.js} +1 -1
  215. package/dist/twilight/{p-5b9bc272.entry.js → p-531d1d9b.entry.js} +1 -1
  216. package/dist/twilight/{p-ec8e267b.entry.js → p-5385af9c.entry.js} +1 -1
  217. package/dist/twilight/{p-e1222500.entry.js → p-56ee82aa.entry.js} +1 -1
  218. package/dist/twilight/{p-463e4f76.entry.js → p-5b964337.entry.js} +1 -1
  219. package/dist/twilight/{p-6036b492.entry.js → p-61e0d078.entry.js} +1 -1
  220. package/dist/twilight/{p-0b53d638.entry.js → p-61e83060.entry.js} +1 -1
  221. package/dist/twilight/{p-13b496e7.entry.js → p-62614eb2.entry.js} +1 -1
  222. package/dist/twilight/{p-3243737f.entry.js → p-6e016cdb.entry.js} +1 -1
  223. package/dist/twilight/{p-75769c80.entry.js → p-6e7f4d65.entry.js} +1 -1
  224. package/dist/twilight/{p-d5c633e3.entry.js → p-843df720.entry.js} +1 -1
  225. package/dist/twilight/{p-35024791.entry.js → p-8df33bfb.entry.js} +1 -1
  226. package/dist/twilight/{p-f64f5502.entry.js → p-8ecaa871.entry.js} +1 -1
  227. package/dist/twilight/{p-afb92112.entry.js → p-8f3ff806.entry.js} +1 -1
  228. package/dist/twilight/{p-bc174ca1.entry.js → p-8fdfda0b.entry.js} +1 -1
  229. package/dist/twilight/{p-a9e61f29.entry.js → p-91973470.entry.js} +1 -1
  230. package/dist/twilight/{p-e5758e7c.entry.js → p-94648166.entry.js} +1 -1
  231. package/dist/twilight/{p-b8b9c8c0.entry.js → p-96216e77.entry.js} +1 -1
  232. package/dist/twilight/{p-ebb88e7b.entry.js → p-9a9b1282.entry.js} +1 -1
  233. package/dist/twilight/p-9b5d0797.entry.js +4 -0
  234. package/dist/twilight/{p-5bf0ced8.entry.js → p-9ec0d0b2.entry.js} +1 -1
  235. package/dist/twilight/{p-d100ac0c.entry.js → p-9f749fc5.entry.js} +1 -1
  236. package/dist/twilight/{p-Cp0TiBtU.js → p-ByQ_JtEq.js} +1 -1
  237. package/dist/twilight/{p-BgZuVAWD.js → p-C4_y7sLz.js} +1 -1
  238. package/dist/twilight/{p-DcBxzAOm.js → p-CQwuMkiJ.js} +2 -2
  239. package/dist/twilight/{p-SkTHIgsP.js → p-CrfyjHDc.js} +1 -1
  240. package/dist/twilight/{p-Dr5NxBjb.js → p-DChNcvW3.js} +1 -1
  241. package/dist/twilight/{p-BF4uw95J.js → p-DLIn9Lr_.js} +1 -1
  242. package/dist/twilight/{p-5dujJcuF.js → p-DZ7QJ2Rp.js} +1 -1
  243. package/dist/twilight/{p-DICe9yRT.js → p-SOZG27Gu.js} +1 -1
  244. package/dist/twilight/{p-D_zRqCzR.js → p-TRZAgxSA.js} +1 -1
  245. package/dist/twilight/{p-27e70f37.entry.js → p-a2ef40d8.entry.js} +1 -1
  246. package/dist/twilight/{p-9d497735.entry.js → p-a57560cf.entry.js} +1 -1
  247. package/dist/twilight/{p-51de8331.entry.js → p-a5b3b992.entry.js} +1 -1
  248. package/dist/twilight/{p-0ad3a828.entry.js → p-a6f4ea7e.entry.js} +1 -1
  249. package/dist/twilight/{p-d969b269.entry.js → p-ab755139.entry.js} +1 -1
  250. package/dist/twilight/{p-3bf9141e.entry.js → p-ae9c2af6.entry.js} +1 -1
  251. package/dist/twilight/{p-acc5aba0.entry.js → p-b7f25ad6.entry.js} +1 -1
  252. package/dist/twilight/{p-9ebe9909.entry.js → p-c6bf02e6.entry.js} +1 -1
  253. package/dist/twilight/{p-8e97544e.entry.js → p-ca5cd5a1.entry.js} +1 -1
  254. package/dist/twilight/{p-7d72642b.entry.js → p-ce4a4b2e.entry.js} +1 -1
  255. package/dist/twilight/{p-2820ce1d.entry.js → p-d0344bd5.entry.js} +1 -1
  256. package/dist/twilight/{p-94f73964.entry.js → p-dd2b3955.entry.js} +1 -1
  257. package/dist/twilight/{p-07fdc902.entry.js → p-e0d4ac10.entry.js} +1 -1
  258. package/dist/twilight/{p-4cf58a9c.entry.js → p-e74049ca.entry.js} +1 -1
  259. package/dist/twilight/{p-db479d0a.entry.js → p-e9bb3469.entry.js} +1 -1
  260. package/dist/twilight/{p-236372e3.entry.js → p-ea1c36dc.entry.js} +1 -1
  261. package/dist/twilight/{p-d45adf75.entry.js → p-eba03779.entry.js} +1 -1
  262. package/dist/twilight/{p-861be114.entry.js → p-eca4d49b.entry.js} +1 -1
  263. package/dist/twilight/{p-4fa45c6a.entry.js → p-ed3aa311.entry.js} +1 -1
  264. package/dist/twilight/{p-b3fad8c9.entry.js → p-eff7ed31.entry.js} +1 -1
  265. package/dist/twilight/{p-e100b798.entry.js → p-f7b7b382.entry.js} +1 -1
  266. package/dist/twilight/{p-3fe97989.entry.js → p-fc4c3626.entry.js} +1 -1
  267. package/dist/twilight/{p-e975235b.entry.js → p-fda58052.entry.js} +1 -1
  268. package/dist/twilight/{p-409f7136.entry.js → p-ffb8c922.entry.js} +1 -1
  269. package/dist/twilight/twilight.esm.js +1 -1
  270. package/dist/types/components/salla-product-card/salla-product-card.d.ts +2 -0
  271. package/dist/types/components/salla-search/salla-search.d.ts +5 -1
  272. package/dist/types/components.d.ts +10 -0
  273. package/package.json +5 -5
  274. package/dist/twilight/p-301c2f68.entry.js +0 -4
  275. package/dist/twilight/p-504b5014.entry.js +0 -4
  276. package/dist/twilight/p-c9179f5b.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
  import { l as loyaltyProgramIcon } from './gift-BChI23pG.js';
6
6
 
7
7
  const sallaLoyaltyProgramCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h } from './index-CrfyjHDc.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { C as Cancel } from './cancel-BsLF_HK7.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { C as Cancel } from './cancel-BsLF_HK7.js';
6
6
 
7
7
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaMetadataCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
 
7
7
  var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaOrderDetailsMultipleBundleProductCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  var copyIcon = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h } from './index-CrfyjHDc.js';
5
5
  import { i as iconCheck } from './check-BsXh13x8.js';
6
6
 
7
7
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaOrderTotalsCardCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaPaymentsCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  var Inbox = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CrfyjHDc.js';
5
5
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
6
6
 
7
7
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -558,7 +558,11 @@ const SallaProductsList = class {
558
558
  }
559
559
  getInitialData() {
560
560
  this.loading();
561
- return salla.product.api.fetch({ source: Helper.getApiSource(this.getSource()), source_value: this.getSourceValue(), limit: this.limit }).then(async (response) => {
561
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
562
+ source: Helper.getApiSource(this.getSource()),
563
+ source_value: this.getSourceValue(),
564
+ limit: this.limit
565
+ }).then(async (response) => {
562
566
  if (!response.data.length) {
563
567
  this.showPlaceholder = true;
564
568
  this.placeholderLoader && this.placeholderLoader.remove();
@@ -574,7 +578,7 @@ const SallaProductsList = class {
574
578
  return;
575
579
  }
576
580
  this.handleResponse(response).forEach(card => this.wrapper.append(card));
577
- });
581
+ }));
578
582
  }
579
583
  async loadMore() {
580
584
  this.infiniteScroll?.loadNextPage();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -46,7 +46,11 @@ const SallaProductsSlider = class {
46
46
  this.isReady = false;
47
47
  return;
48
48
  }
49
- return salla.product.api.fetch({ source: Helper.getApiSource(this.getSource()), source_value: this.getSourceValue(), limit: this.limit })
49
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
50
+ source: Helper.getApiSource(this.getSource()),
51
+ source_value: this.getSourceValue(),
52
+ limit: this.limit
53
+ }))
50
54
  .then(response => Helper.injectExtraFieldsToResponse(response))
51
55
  .then(response => {
52
56
  this.productsData = response.data;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaProgressBarCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { M as MailIcon } from './mail-DmgxDvXL.js';
6
6
  import { C as Cancel } from './cancel-BsLF_HK7.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { W as WishListIcon } from './star-ZT7ehBBk.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
 
7
7
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
8
8
 
9
- const sallaSearchCss = "";
9
+ 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}";
10
10
 
11
11
  const SallaSearch = class {
12
12
  constructor(hostRef) {
@@ -16,6 +16,10 @@ const SallaSearch = class {
16
16
  this.loading = false;
17
17
  this.typing = false;
18
18
  this.debounce = setTimeout(() => '', 1000);
19
+ /**
20
+ * Set the component to display as a placeholder (button) that will open the modal. Defaults to `false`
21
+ */
22
+ this.placeholder = false;
19
23
  /**
20
24
  * Set the component display without modal window. Defaults to `false`
21
25
  */
@@ -36,7 +40,8 @@ const SallaSearch = class {
36
40
  * Show submit action buttons at the end.
37
41
  */
38
42
  this.showAction = false;
39
- this.productSlot = this.host.querySelector('[slot="product"]')?.innerHTML || this.getDefaultProductSlot();
43
+ this.productSlot =
44
+ this.host.querySelector('[slot="product"]')?.innerHTML || this.getDefaultProductSlot();
40
45
  salla.event.on('search::open', () => this.open());
41
46
  salla.lang.onLoaded(() => {
42
47
  this.translationLoaded = true;
@@ -60,12 +65,12 @@ const SallaSearch = class {
60
65
  }
61
66
  }
62
67
  getDefaultProductSlot() {
63
- return '<div class="s-search-product-image-container">' +
68
+ return ('<div class="s-search-product-image-container">' +
64
69
  ' <img class="s-search-product-image" src="{image}" alt="{name}"/>' +
65
70
  '</div>' +
66
71
  '<div class="s-search-product-details">' +
67
72
  ' <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>' +
68
- '</div>';
73
+ '</div>');
69
74
  }
70
75
  debounceSearch(event) {
71
76
  this.typing = true;
@@ -107,12 +112,13 @@ const SallaSearch = class {
107
112
  this.noResults.style.display = 'none';
108
113
  //run loading spinner or stop it
109
114
  this.loading = true;
110
- salla.product.fetch({ source: "search", source_value: val })
115
+ salla.product
116
+ .fetch({ source: 'search', source_value: val })
111
117
  .then(response => {
112
118
  this.results = response;
113
119
  salla.event.emit('Products Searched', val);
114
120
  })
115
- .catch(err => err !== 'Query is same as previous one!' ? this.results = undefined : null)
121
+ .catch(err => (err !== 'Query is same as previous one!' ? (this.results = undefined) : null))
116
122
  .finally(() => this.afterSearching(/*isEmpty*/ false));
117
123
  }
118
124
  afterSearching(isEmpty = true) {
@@ -123,16 +129,25 @@ const SallaSearch = class {
123
129
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
124
130
  }
125
131
  render() {
126
- 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 ?
127
- 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
132
+ 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: {
133
+ height: this.height + 'px',
134
+ borderRadius: this.oval ? this.height / 2 + 'px' : '',
135
+ } }), 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: {
136
+ 's-search-product': true,
137
+ 's-search-product-not-available': !product.is_available,
138
+ }, innerHTML: this.productSlot
128
139
  .replace(/\{name\}/g, product.name)
129
140
  .replace(/\{price\}/g, product.price ? salla.money(product.price) : '')
130
- .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price ? salla.money(product.regular_price) : '')
131
- .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'))));
132
- return (this.inline ?
133
- h("div", { class: "s-search-modal" }, searchContent)
134
- :
135
- h("salla-modal", { position: "top", class: "s-search-modal", ref: modal => this.modal = modal }, searchContent));
141
+ .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
142
+ ? salla.money(product.regular_price)
143
+ : '')
144
+ .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')))));
145
+ const modalContent = (h("salla-modal", { key: 'ec8705a09e4993459d92569a5b71836cb0acefd8', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
146
+ 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: {
147
+ height: this.height + 'px',
148
+ borderRadius: this.oval ? this.height / 2 + 'px' : '',
149
+ } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
150
+ return this.placeholder ? (placeholderContent) : this.inline ? (h("div", { class: "s-search-modal" }, searchContent)) : (modalContent);
136
151
  }
137
152
  /**
138
153
  * Run it one time after load
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaSkeletonCss = ":host{display:block}";
7
7
 
@@ -26,7 +26,7 @@ const SallaSkeleton = class {
26
26
  's-skeleton-item': true,
27
27
  's-skeleton-item-circular': this.type == 'circle',
28
28
  };
29
- return (h(Host, { key: '8259fd2123035de2b369160563422a30bfdd9805', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '86c89dd45ae03d755fea6fb402bf782b39223b6b', class: classes }, "\u00A0")));
29
+ return (h(Host, { key: '0d85a5f753c250b1acacb0dea809879a549d8d12', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '80c3b2555be6c0fef7794bb184c919d4be2bdf24', class: classes }, "\u00A0")));
30
30
  }
31
31
  };
32
32
  SallaSkeleton.style = sallaSkeletonCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
7
7
  import { M as MailIcon } from './mail-DmgxDvXL.js';
@@ -148,7 +148,7 @@ const SallaSocialShare = class {
148
148
  window.a2a?.init('page');
149
149
  }
150
150
  render() {
151
- 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 => {
151
+ 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 => {
152
152
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
153
153
  if (icon.name === platform) {
154
154
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CrfyjHDc.js';
5
5
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
6
6
 
7
7
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -55,7 +55,7 @@ const SallaSocial = class {
55
55
  }
56
56
  render() {
57
57
  const linksArray = this.getLinksArray();
58
- 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
58
+ 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
59
59
  .replace(/\{icon\}/g, this.iconsList[link.type])
60
60
  .replace(/\{type\}/g, link.type)
61
61
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, c as createEvent, a as getElement } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, c as createEvent, a as getElement } from './index-CrfyjHDc.js';
5
5
 
6
6
  const sallaTabContentCss = "";
7
7
 
@@ -31,7 +31,7 @@ const SallaTabContent = class {
31
31
  's-tabs-content': true,
32
32
  's-tabs-content-selected': this.isSelected
33
33
  };
34
- return (h("div", { key: '9e1a20d0877a9c3ca6b376fe22bfb52e93c8f873', class: classes }, h("slot", { key: 'f5b0593c4c9b8d808901ca79e3c6fd28c2a64f36' })));
34
+ return (h("div", { key: '6272014593c424e20e4fc9cc2c59dc5c4bd1abc1', class: classes }, h("slot", { key: 'd7a3c32021cc14da0d895b5830c0cf3c8a047529' })));
35
35
  }
36
36
  };
37
37
  SallaTabContent.style = sallaTabContentCss;
@@ -90,7 +90,7 @@ const SallaTabHeader = class {
90
90
  's-tabs-active': this.isSelected,
91
91
  };
92
92
  return [
93
- h("div", { key: '7e9e75c995226ca1b23a9a185c8be46206362b61', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '6ed7bf434cf6b1af235e2251f6d3f385cbbbcf0b' })),
93
+ h("div", { key: '5ac0d60331466d359ff0ba59d7702b177c96d95b', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'dc8ed7ec638ba1c24b355eedc831c67ab15ded62' })),
94
94
  ];
95
95
  }
96
96
  };
@@ -143,7 +143,7 @@ const SallaTabs = class {
143
143
  }
144
144
  render() {
145
145
  return [
146
- 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" })))
146
+ 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" })))
147
147
  ];
148
148
  }
149
149
  get host() { return getElement(this); }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-SkTHIgsP.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CrfyjHDc.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {