@salla.sa/twilight-components 2.14.387 → 2.14.388

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 (248) hide show
  1. package/dist/cjs/{filepond-DY8Bk_1p.js → filepond-JwtIy_PZ.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DRBpp2WC.js → filepond-plugin-file-poster-HbVPHajC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Ps1G9vOF.js → filepond-plugin-file-validate-size-BfnCLQbe.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-fVUTClJE.js → filepond-plugin-file-validate-type-ZlRC1VfY.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-Bh4Pqw-q.js → filepond-plugin-image-edit-DiQE1wz9.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D_Tfa9YD.js → filepond-plugin-image-exif-orientation-DIwNNDxM.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-Bsg4ZULY.js → filepond-plugin-image-preview-C51b46QP.js} +1 -1
  8. package/dist/cjs/{index-DjO53bco.js → index-ByBROVOr.js} +1 -1
  9. package/dist/cjs/{index-B99uI20k.js → index-DO-q5keQ.js} +2 -2
  10. package/dist/cjs/loader.cjs.js +1 -1
  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 +10 -10
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-comment-form_8.cjs.entry.js +35 -21
  23. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  80. package/dist/cjs/twilight.cjs.js +1 -1
  81. package/dist/cjs/{vanilla-picker-DmWOIwng.js → vanilla-picker-DiJq-dd5.js} +1 -1
  82. package/dist/collection/components/salla-comments/salla-comments.js +34 -20
  83. package/dist/components/index.js +2 -2
  84. package/dist/components/salla-comments.js +34 -20
  85. package/dist/esm/{filepond-CqDfFTVp.js → filepond-CtRmlCu3.js} +1 -1
  86. package/dist/esm/{filepond-plugin-file-poster-Bj5ejqRD.js → filepond-plugin-file-poster-CMkOcEkV.js} +1 -1
  87. package/dist/esm/{filepond-plugin-file-validate-size-CDa3pirY.js → filepond-plugin-file-validate-size-DzG8gDvA.js} +1 -1
  88. package/dist/esm/{filepond-plugin-file-validate-type-BHJfNcLt.js → filepond-plugin-file-validate-type-DSshuV-e.js} +1 -1
  89. package/dist/esm/{filepond-plugin-image-edit-CzuXmnyp.js → filepond-plugin-image-edit-soyMBqQc.js} +1 -1
  90. package/dist/esm/{filepond-plugin-image-exif-orientation-Bxdqligt.js → filepond-plugin-image-exif-orientation-Bt8OVYG8.js} +1 -1
  91. package/dist/esm/{filepond-plugin-image-preview-DRM_r5yF.js → filepond-plugin-image-preview-N0oEw9xZ.js} +1 -1
  92. package/dist/esm/{index-Dbv0I4re.js → index-CvIpy7Cj.js} +2 -2
  93. package/dist/esm/{index-nTW4l4L5.js → index-Cw-jhhOv.js} +1 -1
  94. package/dist/esm/loader.js +2 -2
  95. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  96. package/dist/esm/salla-accordion_6.entry.js +1 -1
  97. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  98. package/dist/esm/salla-advertisement.entry.js +1 -1
  99. package/dist/esm/salla-alert_2.entry.js +1 -1
  100. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  101. package/dist/esm/salla-apps-icons.entry.js +1 -1
  102. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  103. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  104. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  105. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  106. package/dist/esm/salla-comment-form_8.entry.js +35 -21
  107. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  108. package/dist/esm/salla-contacts.entry.js +1 -1
  109. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  110. package/dist/esm/salla-count-down_2.entry.js +1 -1
  111. package/dist/esm/salla-custom-fields.entry.js +1 -1
  112. package/dist/esm/salla-filters-widget.entry.js +1 -1
  113. package/dist/esm/salla-filters.entry.js +1 -1
  114. package/dist/esm/salla-gifting.entry.js +1 -1
  115. package/dist/esm/salla-hook.entry.js +1 -1
  116. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  117. package/dist/esm/salla-installment.entry.js +1 -1
  118. package/dist/esm/salla-list-tile.entry.js +1 -1
  119. package/dist/esm/salla-localization-modal.entry.js +1 -1
  120. package/dist/esm/salla-login-modal.entry.js +1 -1
  121. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  122. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  123. package/dist/esm/salla-loyalty.entry.js +1 -1
  124. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  125. package/dist/esm/salla-menu.entry.js +1 -1
  126. package/dist/esm/salla-metadata.entry.js +1 -1
  127. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  128. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  129. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  130. package/dist/esm/salla-notification-item.entry.js +1 -1
  131. package/dist/esm/salla-notifications.entry.js +1 -1
  132. package/dist/esm/salla-offer-modal.entry.js +1 -1
  133. package/dist/esm/salla-offer.entry.js +1 -1
  134. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  135. package/dist/esm/salla-order-details-options.entry.js +1 -1
  136. package/dist/esm/salla-order-details.entry.js +1 -1
  137. package/dist/esm/salla-order-summary.entry.js +1 -1
  138. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  139. package/dist/esm/salla-orders.entry.js +1 -1
  140. package/dist/esm/salla-payments.entry.js +1 -1
  141. package/dist/esm/salla-placeholder.entry.js +1 -1
  142. package/dist/esm/salla-price-range.entry.js +1 -1
  143. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  144. package/dist/esm/salla-products-list.entry.js +1 -1
  145. package/dist/esm/salla-products-slider.entry.js +1 -1
  146. package/dist/esm/salla-progress-bar.entry.js +1 -1
  147. package/dist/esm/salla-quick-order.entry.js +1 -1
  148. package/dist/esm/salla-rating-modal.entry.js +1 -1
  149. package/dist/esm/salla-scopes.entry.js +1 -1
  150. package/dist/esm/salla-search.entry.js +1 -1
  151. package/dist/esm/salla-skeleton.entry.js +1 -1
  152. package/dist/esm/salla-slider.entry.js +1 -1
  153. package/dist/esm/salla-social-share.entry.js +1 -1
  154. package/dist/esm/salla-social.entry.js +1 -1
  155. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  156. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  157. package/dist/esm/salla-tooltip.entry.js +1 -1
  158. package/dist/esm/salla-trust-badges.entry.js +1 -1
  159. package/dist/esm/salla-user-menu.entry.js +1 -1
  160. package/dist/esm/salla-user-profile.entry.js +1 -1
  161. package/dist/esm/salla-user-settings.entry.js +1 -1
  162. package/dist/esm/salla-verify.entry.js +1 -1
  163. package/dist/esm/salla-wallet.entry.js +1 -1
  164. package/dist/esm/twilight.js +2 -2
  165. package/dist/esm/{vanilla-picker-CYgHVJAF.js → vanilla-picker-CGGBRKTl.js} +1 -1
  166. package/dist/twilight/{p-f5465c7d.entry.js → p-02aa05b3.entry.js} +1 -1
  167. package/dist/twilight/{p-d3f4480c.entry.js → p-04072cae.entry.js} +1 -1
  168. package/dist/twilight/{p-b176814d.entry.js → p-06eb15e2.entry.js} +1 -1
  169. package/dist/twilight/{p-926bdbde.entry.js → p-073ee1c3.entry.js} +1 -1
  170. package/dist/twilight/p-189b3238.entry.js +4 -0
  171. package/dist/twilight/{p-940c57a3.entry.js → p-1b097cea.entry.js} +1 -1
  172. package/dist/twilight/{p-dbec33e9.entry.js → p-1cb9d96c.entry.js} +1 -1
  173. package/dist/twilight/{p-323012d3.entry.js → p-2200f944.entry.js} +1 -1
  174. package/dist/twilight/{p-ecdb3842.entry.js → p-221456be.entry.js} +1 -1
  175. package/dist/twilight/{p-99e87c67.entry.js → p-23099ba2.entry.js} +1 -1
  176. package/dist/twilight/{p-4aa4dcec.entry.js → p-242b6421.entry.js} +1 -1
  177. package/dist/twilight/{p-0da615ba.entry.js → p-249c9d98.entry.js} +1 -1
  178. package/dist/twilight/{p-f51c98c3.entry.js → p-2dfe2197.entry.js} +1 -1
  179. package/dist/twilight/{p-1e58ee3f.entry.js → p-300be242.entry.js} +1 -1
  180. package/dist/twilight/{p-d8093d37.entry.js → p-306c4986.entry.js} +1 -1
  181. package/dist/twilight/{p-a083cc65.entry.js → p-31458cbf.entry.js} +1 -1
  182. package/dist/twilight/{p-a1210656.entry.js → p-348106f0.entry.js} +1 -1
  183. package/dist/twilight/{p-f265dd49.entry.js → p-3589bed2.entry.js} +1 -1
  184. package/dist/twilight/{p-34a94492.entry.js → p-3c8e6e9f.entry.js} +1 -1
  185. package/dist/twilight/{p-a19637e3.entry.js → p-3c982608.entry.js} +1 -1
  186. package/dist/twilight/{p-ad66730c.entry.js → p-3d3b3856.entry.js} +1 -1
  187. package/dist/twilight/{p-5a936889.entry.js → p-402fc86d.entry.js} +1 -1
  188. package/dist/twilight/{p-6d7d53fa.entry.js → p-48c94220.entry.js} +1 -1
  189. package/dist/twilight/{p-2110682a.entry.js → p-49b7c969.entry.js} +1 -1
  190. package/dist/twilight/{p-ef9c28da.entry.js → p-4a4c1969.entry.js} +1 -1
  191. package/dist/twilight/{p-876ed9cf.entry.js → p-4c007dc0.entry.js} +1 -1
  192. package/dist/twilight/{p-1706c904.entry.js → p-4da987fc.entry.js} +1 -1
  193. package/dist/twilight/{p-969f4a67.entry.js → p-4fc10acd.entry.js} +1 -1
  194. package/dist/twilight/{p-224c2f65.entry.js → p-507fac68.entry.js} +1 -1
  195. package/dist/twilight/{p-c5a13ec9.entry.js → p-540297d6.entry.js} +1 -1
  196. package/dist/twilight/{p-e50916c1.entry.js → p-5638111c.entry.js} +1 -1
  197. package/dist/twilight/{p-31b1f09e.entry.js → p-59758658.entry.js} +1 -1
  198. package/dist/twilight/{p-1b4cb4f3.entry.js → p-5f52e482.entry.js} +1 -1
  199. package/dist/twilight/{p-05911caf.entry.js → p-6257e0cd.entry.js} +1 -1
  200. package/dist/twilight/{p-c944064d.entry.js → p-694aa670.entry.js} +1 -1
  201. package/dist/twilight/{p-7d932e81.entry.js → p-6ca09b34.entry.js} +1 -1
  202. package/dist/twilight/{p-aeaa9d52.entry.js → p-7020a339.entry.js} +1 -1
  203. package/dist/twilight/{p-595983cf.entry.js → p-73113e85.entry.js} +1 -1
  204. package/dist/twilight/{p-462c51a2.entry.js → p-7a87c0a9.entry.js} +1 -1
  205. package/dist/twilight/{p-3d1043b6.entry.js → p-7c8fe050.entry.js} +1 -1
  206. package/dist/twilight/{p-9770a33e.entry.js → p-8043f8ea.entry.js} +1 -1
  207. package/dist/twilight/{p-34ab1e5c.entry.js → p-8bd3ba9e.entry.js} +1 -1
  208. package/dist/twilight/{p-decce284.entry.js → p-93623f07.entry.js} +1 -1
  209. package/dist/twilight/{p-7a886993.entry.js → p-9f3f2ac3.entry.js} +1 -1
  210. package/dist/twilight/{p-Cp5Iu5XS.js → p-B1ZkITMY.js} +1 -1
  211. package/dist/twilight/{p-CWQNB-G4.js → p-BXOq5BwG.js} +1 -1
  212. package/dist/twilight/{p-jBYzSajd.js → p-BlMSs0A2.js} +1 -1
  213. package/dist/twilight/{p-Dbv0I4re.js → p-CvIpy7Cj.js} +1 -1
  214. package/dist/twilight/{p-Ct4jcDIY.js → p-D26J1_uI.js} +1 -1
  215. package/dist/twilight/{p-njEAbf-H.js → p-DWxyBEuT.js} +1 -1
  216. package/dist/twilight/{p-Dlb0Gd5v.js → p-NiLajaRX.js} +1 -1
  217. package/dist/twilight/{p-DjEHkwKr.js → p-VRwnn1Qc.js} +1 -1
  218. package/dist/twilight/{p-543bc44f.entry.js → p-a248f209.entry.js} +1 -1
  219. package/dist/twilight/{p-b951691e.entry.js → p-a2c5e7bc.entry.js} +1 -1
  220. package/dist/twilight/{p-08702001.entry.js → p-a41f0590.entry.js} +1 -1
  221. package/dist/twilight/{p-74a9e4dd.entry.js → p-a97f10a1.entry.js} +1 -1
  222. package/dist/twilight/{p-1881e1df.entry.js → p-aa5bf3b5.entry.js} +1 -1
  223. package/dist/twilight/{p-fdc30e0c.entry.js → p-b1e8296d.entry.js} +1 -1
  224. package/dist/twilight/{p-8a8cc10a.entry.js → p-b2537237.entry.js} +1 -1
  225. package/dist/twilight/{p-1ab7646d.entry.js → p-b4f431bf.entry.js} +1 -1
  226. package/dist/twilight/{p-258e8407.entry.js → p-bc65bb02.entry.js} +1 -1
  227. package/dist/twilight/{p-8b19cac5.entry.js → p-be1c54e6.entry.js} +1 -1
  228. package/dist/twilight/{p-4bc9bc63.entry.js → p-c43be30b.entry.js} +1 -1
  229. package/dist/twilight/{p-e2d073fb.entry.js → p-ce560f66.entry.js} +1 -1
  230. package/dist/twilight/{p-08d98540.entry.js → p-d00fc4bf.entry.js} +1 -1
  231. package/dist/twilight/{p-cdd125b8.entry.js → p-d07f5e44.entry.js} +1 -1
  232. package/dist/twilight/{p-f5bf4c88.entry.js → p-d215b7d2.entry.js} +1 -1
  233. package/dist/twilight/{p-416b578d.entry.js → p-d4b83f2a.entry.js} +1 -1
  234. package/dist/twilight/{p-814a00c6.entry.js → p-da155135.entry.js} +1 -1
  235. package/dist/twilight/{p-9722f5ed.entry.js → p-e0b13c19.entry.js} +1 -1
  236. package/dist/twilight/{p-0c31270e.entry.js → p-e3b4a179.entry.js} +1 -1
  237. package/dist/twilight/{p-2d089b2b.entry.js → p-e46cb169.entry.js} +1 -1
  238. package/dist/twilight/{p-c27bfa01.entry.js → p-e79ad638.entry.js} +1 -1
  239. package/dist/twilight/{p-58d796a0.entry.js → p-e9be8c03.entry.js} +1 -1
  240. package/dist/twilight/{p-8465d71e.entry.js → p-ed08f5e5.entry.js} +1 -1
  241. package/dist/twilight/{p-07cdbd6f.entry.js → p-f7f592ab.entry.js} +1 -1
  242. package/dist/twilight/{p-a28f7329.entry.js → p-f81195ae.entry.js} +1 -1
  243. package/dist/twilight/{p-CQc5Pmlu.js → p-uADDAGsE.js} +1 -1
  244. package/dist/twilight/{p-DL3ab5Vo.js → p-wnPgaQoR.js} +1 -1
  245. package/dist/twilight/twilight.esm.js +1 -1
  246. package/dist/types/components/salla-comments/salla-comments.d.ts +2 -0
  247. package/package.json +5 -5
  248. package/dist/twilight/p-8e120858.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaProgressBarCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var mail = require('./mail-CO8cFZH7.js');
8
8
  var cancel = require('./cancel-De6vslRA.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var star = require('./star-DGcH7Yso.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
 
9
9
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
  var Helper = require('./Helper-CU4Xuiki.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaSkeletonCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  /**
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var facebook = require('./facebook-DbXua6B9.js');
9
9
  var mail = require('./mail-CO8cFZH7.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaTrustBadgesCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
8
8
  var bellRing = require('./bell-ring-BfKPinNo.js');
9
9
  var cart = require('./cart-s-x1Fshk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var interfaces = require('./interfaces-CRqrf5RX.js');
8
8
 
9
9
  const sallaUserProfileCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  var Bullhorn = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
  var mail = require('./mail-CO8cFZH7.js');
8
8
 
9
9
  var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
9
9
  /*
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B99uI20k.js');
6
+ var index = require('./index-DO-q5keQ.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -24,6 +24,7 @@ export class SallaComments {
24
24
  * Determines if the comments are testimonials
25
25
  */
26
26
  this.testimonials = false;
27
+ this.customerId = null;
27
28
  // Translations
28
29
  this.noComments = salla.lang.get('blocks.comments.no_comments');
29
30
  this.comment_title = salla.lang.get('blocks.comments.title');
@@ -89,6 +90,32 @@ export class SallaComments {
89
90
  })();
90
91
  Salla.infiniteScroll.errorWrapped = true;
91
92
  }
93
+ // Preserve sort and private_comments params in next page URL for infinite scroll
94
+ patchNextPageUrl() {
95
+ if (!this.nextPage)
96
+ return;
97
+ try {
98
+ const url = new URL(this.nextPage, window.location.origin);
99
+ if (this.sort && !url.searchParams.get('sort')) {
100
+ url.searchParams.set('sort', this.sort);
101
+ }
102
+ if (this.customerId && !url.searchParams.get('private_comments')) {
103
+ url.searchParams.set('private_comments', this.customerId);
104
+ }
105
+ this.nextPage = url.toString();
106
+ }
107
+ catch (_e) {
108
+ // fallback for relative next links
109
+ const hasQuery = this.nextPage.includes('?');
110
+ if (this.sort && !/[?&]sort=/.test(this.nextPage)) {
111
+ this.nextPage = this.nextPage + (hasQuery ? '&' : '?') + `sort=${this.sort}`;
112
+ }
113
+ if (this.customerId && !/[?&]private_comments=/.test(this.nextPage)) {
114
+ const sep = this.nextPage.includes('?') ? '&' : '?';
115
+ this.nextPage = this.nextPage + sep + `private_comments=${this.customerId}`;
116
+ }
117
+ }
118
+ }
92
119
  // Initiate infinite scroll
93
120
  initiateInfiniteScroll() {
94
121
  if (!this.wrapper) {
@@ -108,6 +135,7 @@ export class SallaComments {
108
135
  this.infiniteScroll?.on('load', response => {
109
136
  this.pagination = response.pagination;
110
137
  this.nextPage = typeof response.pagination.links === 'object' && !!response.pagination.links.next ? response.pagination.links.next : null;
138
+ this.patchNextPageUrl();
111
139
  for (const card of this.handleResponse(response)) {
112
140
  this.wrapper.append(card);
113
141
  }
@@ -195,8 +223,11 @@ export class SallaComments {
195
223
  resp = await salla.api.request('reviews', { params }, 'get');
196
224
  }
197
225
  else {
198
- // Ensure sort is passed for regular comments as well
199
- resp = await salla.api.comment.getComments(this.type, this.itemId, 1, 5, this.sort);
226
+ const showPrivateComments = searchParams.get('private_comments');
227
+ this.customerId = (showPrivateComments && Salla.config.get('user.type') === 'user' && Salla.config.get('user.id'))
228
+ ? Salla.config.get('user.id')
229
+ : null;
230
+ resp = await salla.api.comment.getComments(this.type, this.itemId, 1, 5, this.sort, this.customerId);
200
231
  }
201
232
  if (!resp.data || !resp.data.length) {
202
233
  this.showPlaceholder = false;
@@ -210,24 +241,7 @@ export class SallaComments {
210
241
  this.pagination = resp.pagination;
211
242
  this.total = resp.pagination.total;
212
243
  this.nextPage = typeof resp.pagination.links === 'object' && !!resp.pagination.links.next ? resp.pagination.links.next : null;
213
- // Preserve sort param in next page URL for infinite scroll
214
- if (this.nextPage && this.sort) {
215
- try {
216
- const url = new URL(this.nextPage, window.location.origin);
217
- if (!url.searchParams.get('sort')) {
218
- url.searchParams.set('sort', this.sort);
219
- this.nextPage = url.toString();
220
- }
221
- }
222
- catch (_e) {
223
- // fallback for relative next links
224
- const hasQuery = this.nextPage.includes('?');
225
- const hasSort = /[?&]sort=/.test(this.nextPage);
226
- if (!hasSort) {
227
- this.nextPage = this.nextPage + (hasQuery ? '&' : '?') + `sort=${this.sort}`;
228
- }
229
- }
230
- }
244
+ this.patchNextPageUrl();
231
245
  setTimeout(() => {
232
246
  for (const card of this.handleResponse(resp)) {
233
247
  this.wrapper.append(card);