@salla.sa/twilight-components 2.14.488 → 2.14.490

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 (402) hide show
  1. package/dist/cjs/{filepond-05NO31dc.js → filepond-DMNwZGDe.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BSzyn1DL.js → filepond-plugin-file-poster-CwJqn9cv.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DJKsosMa.js → filepond-plugin-file-validate-size-D8HCq_yt.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-C0xLud1P.js → filepond-plugin-file-validate-type-DZHIztrf.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-Dq1zXDYS.js → filepond-plugin-image-edit-DtW6aab5.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B84Q7JSN.js → filepond-plugin-image-exif-orientation-DlHuggE7.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BaE9P79l.js → filepond-plugin-image-preview-rSt0R5Fs.js} +1 -1
  8. package/dist/cjs/{functions-B-_Pnqnt.js → functions-Cl4vQLXn.js} +1 -1
  9. package/dist/cjs/{index-f6loD1zL.js → index-CfrGmYJa.js} +17 -5
  10. package/dist/cjs/{index-BsvV4QQg.js → index-CrTL2nRh.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-comment-factors.cjs.entry.js +45 -0
  27. package/dist/cjs/salla-comment-form_8.cjs.entry.js +112 -30
  28. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  48. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  52. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1060 -0
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +38 -14
  87. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +127 -0
  88. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  92. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  96. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  98. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-menu.cjs.entry.js +3 -3
  100. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  102. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  105. package/dist/cjs/shipping-fast-CsqEQE78.js +13 -0
  106. package/dist/{esm/star-ZT7ehBBk.js → cjs/star-DMzrN05M.js} +4 -2
  107. package/dist/cjs/{tracked-promise-We1h_qB4.js → tracked-promise-ClJBjg9o.js} +1 -1
  108. package/dist/cjs/twilight.cjs.js +2 -2
  109. package/dist/cjs/{vanilla-picker-Ck8OFt14.js → vanilla-picker-um8NlppX.js} +1 -1
  110. package/dist/collection/collection-manifest.json +3 -0
  111. package/dist/collection/components/salla-comments/salla-comment-factors.js +76 -0
  112. package/dist/collection/components/salla-comments/salla-comment-item.js +20 -6
  113. package/dist/collection/components/salla-comments/salla-comments.css +110 -0
  114. package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +1203 -0
  115. package/dist/collection/components/salla-rating-modal/salla-rating-modal.css +112 -1
  116. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +33 -2
  117. package/dist/collection/components/salla-rating-stars/salla-rating-stars.css +34 -1
  118. package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +117 -16
  119. package/dist/collection/components/salla-review-factors-tags/helpers.js +86 -0
  120. package/dist/collection/components/salla-review-factors-tags/interfaces.js +1 -0
  121. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.css +41 -0
  122. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.js +135 -0
  123. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  124. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  125. package/dist/collection/components/salla-reviews-summary/salla-reviews-summary.css +60 -0
  126. package/dist/collection/components/salla-reviews-summary/salla-reviews-summary.js +12 -2
  127. package/dist/collection/components/salla-search/salla-search.js +5 -5
  128. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  129. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  130. package/dist/collection/components/salla-social/salla-social.js +1 -1
  131. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  132. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  133. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  134. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  135. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  136. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  137. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  138. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  139. package/dist/components/index.js +3 -3
  140. package/dist/components/salla-comment-factors.d.ts +11 -0
  141. package/dist/components/salla-comment-factors.js +9 -0
  142. package/dist/components/salla-comment-factors2.js +66 -0
  143. package/dist/components/salla-comment-item2.js +29 -9
  144. package/dist/components/salla-comments.js +9 -3
  145. package/dist/components/salla-rating-modal-v2.d.ts +11 -0
  146. package/dist/components/salla-rating-modal-v2.js +9 -0
  147. package/dist/components/salla-rating-modal-v22.js +1149 -0
  148. package/dist/components/salla-rating-modal.js +49 -19
  149. package/dist/components/salla-rating-stars2.js +80 -17
  150. package/dist/components/salla-review-factors-tags.d.ts +11 -0
  151. package/dist/components/salla-review-factors-tags.js +149 -0
  152. package/dist/components/salla-reviews-page.js +1 -1
  153. package/dist/components/salla-reviews-summary2.js +13 -3
  154. package/dist/components/salla-reviews.js +1 -1
  155. package/dist/components/salla-search.js +5 -5
  156. package/dist/components/salla-searchable-dropdown2.js +4 -4
  157. package/dist/components/salla-skeleton2.js +1 -1
  158. package/dist/components/salla-social-share2.js +1 -1
  159. package/dist/components/salla-social.js +1 -1
  160. package/dist/components/salla-tab-content2.js +1 -1
  161. package/dist/components/salla-tab-header2.js +1 -1
  162. package/dist/components/salla-tabs2.js +1 -1
  163. package/dist/components/salla-tel-input2.js +1 -1
  164. package/dist/components/salla-tooltip2.js +1 -1
  165. package/dist/components/salla-user-settings.js +1 -1
  166. package/dist/components/salla-wishlist-actions.js +1 -1
  167. package/dist/esm/{filepond-2lHD_yVt.js → filepond-Cg7o_vnN.js} +1 -1
  168. package/dist/esm/{filepond-plugin-file-poster-DIjVVIwh.js → filepond-plugin-file-poster-BJ1q5i_Q.js} +1 -1
  169. package/dist/esm/{filepond-plugin-file-validate-size-CfcICNJA.js → filepond-plugin-file-validate-size-KAp2gG4p.js} +1 -1
  170. package/dist/esm/{filepond-plugin-file-validate-type-DsvYMiJr.js → filepond-plugin-file-validate-type-D6KC6aKt.js} +1 -1
  171. package/dist/esm/{filepond-plugin-image-edit-B7K5Ib7q.js → filepond-plugin-image-edit-CsviUA8z.js} +1 -1
  172. package/dist/esm/{filepond-plugin-image-exif-orientation-9iz6i-up.js → filepond-plugin-image-exif-orientation-DORQxh2z.js} +1 -1
  173. package/dist/esm/{filepond-plugin-image-preview-C89IBH1s.js → filepond-plugin-image-preview-DiN_MPtQ.js} +1 -1
  174. package/dist/esm/{functions-CJdqLH4P.js → functions-ChcWts7Y.js} +1 -1
  175. package/dist/esm/{index-K0OclOPO.js → index-DkTbP5UX.js} +17 -5
  176. package/dist/esm/{index-D1YskPUH.js → index-nv62Rr6s.js} +1 -1
  177. package/dist/esm/loader.js +3 -3
  178. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  179. package/dist/esm/salla-accordion_6.entry.js +1 -1
  180. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  181. package/dist/esm/salla-advertisement.entry.js +1 -1
  182. package/dist/esm/salla-alert_2.entry.js +1 -1
  183. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  184. package/dist/esm/salla-apps-icons.entry.js +1 -1
  185. package/dist/esm/salla-badge.entry.js +1 -1
  186. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  187. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  188. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  189. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  190. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  191. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  192. package/dist/esm/salla-comment-factors.entry.js +43 -0
  193. package/dist/esm/salla-comment-form_8.entry.js +112 -30
  194. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  195. package/dist/esm/salla-contacts.entry.js +1 -1
  196. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  197. package/dist/esm/salla-count-down.entry.js +1 -1
  198. package/dist/esm/salla-custom-fields.entry.js +1 -1
  199. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  200. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  201. package/dist/esm/salla-filters-widget.entry.js +1 -1
  202. package/dist/esm/salla-filters.entry.js +1 -1
  203. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  204. package/dist/esm/salla-gifting.entry.js +1 -1
  205. package/dist/esm/salla-hook.entry.js +1 -1
  206. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  207. package/dist/esm/salla-installment.entry.js +1 -1
  208. package/dist/esm/salla-list-tile.entry.js +1 -1
  209. package/dist/esm/salla-localization-modal.entry.js +1 -1
  210. package/dist/esm/salla-login-modal.entry.js +1 -1
  211. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  212. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  213. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  214. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  215. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  216. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  217. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  218. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  219. package/dist/esm/salla-loyalty.entry.js +1 -1
  220. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  221. package/dist/esm/salla-map_2.entry.js +1 -1
  222. package/dist/esm/salla-menu.entry.js +1 -1
  223. package/dist/esm/salla-metadata.entry.js +1 -1
  224. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  225. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  226. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  227. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  228. package/dist/esm/salla-notification-item.entry.js +1 -1
  229. package/dist/esm/salla-notifications.entry.js +1 -1
  230. package/dist/esm/salla-offer-modal.entry.js +1 -1
  231. package/dist/esm/salla-offer.entry.js +1 -1
  232. package/dist/esm/salla-order-branch.entry.js +1 -1
  233. package/dist/esm/salla-order-cancel.entry.js +1 -1
  234. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  235. package/dist/esm/salla-order-details-options.entry.js +1 -1
  236. package/dist/esm/salla-order-details.entry.js +1 -1
  237. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  238. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  239. package/dist/esm/salla-order-edit.entry.js +1 -1
  240. package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
  241. package/dist/esm/salla-order-summary.entry.js +1 -1
  242. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  243. package/dist/esm/salla-orders.entry.js +1 -1
  244. package/dist/esm/salla-payments.entry.js +1 -1
  245. package/dist/esm/salla-placeholder.entry.js +1 -1
  246. package/dist/esm/salla-price-range.entry.js +1 -1
  247. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  248. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  249. package/dist/esm/salla-products-list.entry.js +1 -1
  250. package/dist/esm/salla-quick-order.entry.js +1 -1
  251. package/dist/esm/salla-rating-modal-v2.entry.js +1058 -0
  252. package/dist/esm/salla-rating-modal.entry.js +36 -12
  253. package/dist/esm/salla-review-factors-tags.entry.js +125 -0
  254. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  255. package/dist/esm/salla-scopes.entry.js +1 -1
  256. package/dist/esm/salla-search.entry.js +6 -6
  257. package/dist/esm/salla-skeleton.entry.js +2 -2
  258. package/dist/esm/salla-slider.entry.js +1 -1
  259. package/dist/esm/salla-social-share.entry.js +2 -2
  260. package/dist/esm/salla-social.entry.js +2 -2
  261. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  262. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  263. package/dist/esm/salla-tooltip.entry.js +2 -2
  264. package/dist/esm/salla-trust-badges.entry.js +1 -1
  265. package/dist/esm/salla-user-menu.entry.js +5 -5
  266. package/dist/esm/salla-user-profile.entry.js +1 -1
  267. package/dist/esm/salla-user-settings.entry.js +2 -2
  268. package/dist/esm/salla-verify.entry.js +1 -1
  269. package/dist/esm/salla-wallet.entry.js +1 -1
  270. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  271. package/dist/esm/shipping-fast-lMgMt31Q.js +11 -0
  272. package/dist/{cjs/star-DGcH7Yso.js → esm/star-CeFAfcTv.js} +2 -4
  273. package/dist/esm/{tracked-promise-yWzlErXb.js → tracked-promise-BhGtlRVb.js} +1 -1
  274. package/dist/esm/twilight.js +3 -3
  275. package/dist/esm/{vanilla-picker-Bwq5IBwq.js → vanilla-picker-CBI_4fLe.js} +1 -1
  276. package/dist/twilight/{p-997a1fdf.entry.js → p-01240db4.entry.js} +1 -1
  277. package/dist/twilight/{p-4df90b34.entry.js → p-01cd2407.entry.js} +1 -1
  278. package/dist/twilight/{p-917bae25.entry.js → p-02b365bd.entry.js} +1 -1
  279. package/dist/twilight/p-03ab9920.entry.js +4 -0
  280. package/dist/twilight/{p-1ec309ad.entry.js → p-03cc6665.entry.js} +1 -1
  281. package/dist/twilight/{p-416e7ea9.entry.js → p-0a32b0d6.entry.js} +1 -1
  282. package/dist/twilight/{p-52df99a3.entry.js → p-0de58301.entry.js} +1 -1
  283. package/dist/twilight/{p-c6026f2e.entry.js → p-0e0db003.entry.js} +1 -1
  284. package/dist/twilight/p-0f853d19.entry.js +4 -0
  285. package/dist/twilight/{p-0f6a9e5e.entry.js → p-0f859745.entry.js} +1 -1
  286. package/dist/twilight/{p-680e0dca.entry.js → p-0ff0a5cd.entry.js} +1 -1
  287. package/dist/twilight/{p-b2a12062.entry.js → p-111e8bd4.entry.js} +1 -1
  288. package/dist/twilight/{p-bd50d1c4.entry.js → p-1182a8df.entry.js} +1 -1
  289. package/dist/twilight/{p-eeb0e354.entry.js → p-121dc015.entry.js} +1 -1
  290. package/dist/twilight/{p-df6739de.entry.js → p-15bc19e7.entry.js} +1 -1
  291. package/dist/twilight/{p-387e06ce.entry.js → p-18dada14.entry.js} +1 -1
  292. package/dist/twilight/{p-c1e7fe98.entry.js → p-1a3e548c.entry.js} +1 -1
  293. package/dist/twilight/{p-12d485db.entry.js → p-1f43ed62.entry.js} +1 -1
  294. package/dist/twilight/{p-ccbf4eea.entry.js → p-2414aef5.entry.js} +1 -1
  295. package/dist/twilight/{p-363417b6.entry.js → p-25bfec19.entry.js} +1 -1
  296. package/dist/twilight/{p-8a274920.entry.js → p-26211933.entry.js} +1 -1
  297. package/dist/twilight/{p-f97717b9.entry.js → p-2656742a.entry.js} +1 -1
  298. package/dist/twilight/{p-8b45c13a.entry.js → p-26594c13.entry.js} +1 -1
  299. package/dist/twilight/{p-5dbdf0e7.entry.js → p-271b69a0.entry.js} +1 -1
  300. package/dist/twilight/{p-c01100d0.entry.js → p-27ae0022.entry.js} +1 -1
  301. package/dist/twilight/{p-9efc4b59.entry.js → p-28318fdf.entry.js} +1 -1
  302. package/dist/twilight/{p-9dc6f28e.entry.js → p-28636b6b.entry.js} +1 -1
  303. package/dist/twilight/{p-28eea468.entry.js → p-2b6f45d9.entry.js} +1 -1
  304. package/dist/twilight/{p-04612ed4.entry.js → p-2bcfed29.entry.js} +1 -1
  305. package/dist/twilight/{p-95c6ca83.entry.js → p-2e2d9a86.entry.js} +1 -1
  306. package/dist/twilight/{p-72bc40b3.entry.js → p-31c63840.entry.js} +1 -1
  307. package/dist/twilight/{p-8878ec9e.entry.js → p-38e6442f.entry.js} +1 -1
  308. package/dist/twilight/p-3956807e.entry.js +4 -0
  309. package/dist/twilight/{p-CJRTPVPy.js → p-495aeIVH.js} +1 -1
  310. package/dist/twilight/{p-c497fa37.entry.js → p-4b659dd8.entry.js} +1 -1
  311. package/dist/twilight/{p-5dc0f3c0.entry.js → p-51be1247.entry.js} +1 -1
  312. package/dist/twilight/{p-f6c20f25.entry.js → p-556550d6.entry.js} +1 -1
  313. package/dist/twilight/{p-507e04b3.entry.js → p-57926552.entry.js} +1 -1
  314. package/dist/twilight/{p-cd11cafc.entry.js → p-583b37a5.entry.js} +1 -1
  315. package/dist/twilight/{p-fe6e676c.entry.js → p-5932a5aa.entry.js} +1 -1
  316. package/dist/twilight/{p-2ea6c5c6.entry.js → p-5cd89a8e.entry.js} +1 -1
  317. package/dist/twilight/{p-3cee41e1.entry.js → p-6c74b5a4.entry.js} +1 -1
  318. package/dist/twilight/{p-8f204414.entry.js → p-7092d5e9.entry.js} +1 -1
  319. package/dist/twilight/{p-75345728.entry.js → p-7331a7d0.entry.js} +1 -1
  320. package/dist/twilight/{p-0be72b27.entry.js → p-75b9780f.entry.js} +1 -1
  321. package/dist/twilight/{p-44819d23.entry.js → p-75d071f5.entry.js} +1 -1
  322. package/dist/twilight/{p-868b6dcc.entry.js → p-78364b26.entry.js} +1 -1
  323. package/dist/twilight/{p-d6ace1e8.entry.js → p-7869e2b4.entry.js} +1 -1
  324. package/dist/twilight/{p-62e99802.entry.js → p-789ede46.entry.js} +1 -1
  325. package/dist/twilight/{p-168bfefc.entry.js → p-7cb04076.entry.js} +1 -1
  326. package/dist/twilight/{p-1abccd80.entry.js → p-7fa40598.entry.js} +1 -1
  327. package/dist/twilight/{p-f4b040f0.entry.js → p-8430e33c.entry.js} +1 -1
  328. package/dist/twilight/p-8549ed85.entry.js +4 -0
  329. package/dist/twilight/{p-d1b3e98b.entry.js → p-88bc9aff.entry.js} +1 -1
  330. package/dist/twilight/{p-8ba7b32d.entry.js → p-8d83987b.entry.js} +1 -1
  331. package/dist/twilight/{p-54047fdd.entry.js → p-956be35f.entry.js} +1 -1
  332. package/dist/twilight/{p-d5bbdd47.entry.js → p-9c27c468.entry.js} +1 -1
  333. package/dist/twilight/{p-4Xs3NevL.js → p-B4xPvvKC.js} +1 -1
  334. package/dist/twilight/{p-BgI56yKL.js → p-Bp81rq7T.js} +1 -1
  335. package/dist/twilight/{p-ZT7ehBBk.js → p-CeFAfcTv.js} +1 -1
  336. package/dist/twilight/{p-BF7QVpUp.js → p-CszkocSp.js} +2 -2
  337. package/dist/twilight/{p-3Yh5uCQZ.js → p-CvcP7d1k.js} +1 -1
  338. package/dist/twilight/{p-DTwxTvVu.js → p-D1tp_3zr.js} +1 -1
  339. package/dist/twilight/{p-6iwUgroX.js → p-D3lg7_WR.js} +1 -1
  340. package/dist/twilight/{p-Bnnviqjp.js → p-D68AOZPQ.js} +1 -1
  341. package/dist/twilight/{p-K0OclOPO.js → p-DkTbP5UX.js} +2 -2
  342. package/dist/twilight/{p-327d33c2.entry.js → p-a104a885.entry.js} +1 -1
  343. package/dist/twilight/{p-8b2fb172.entry.js → p-a5310ab5.entry.js} +1 -1
  344. package/dist/twilight/{p-30796ada.entry.js → p-ab8ffcbf.entry.js} +1 -1
  345. package/dist/twilight/{p-9d51f43d.entry.js → p-acf6a8f0.entry.js} +1 -1
  346. package/dist/twilight/{p-4bdd0eab.entry.js → p-ad8111fa.entry.js} +1 -1
  347. package/dist/twilight/{p-fb9f7001.entry.js → p-af41ebe4.entry.js} +1 -1
  348. package/dist/twilight/{p-cdfe32c9.entry.js → p-b4fc5871.entry.js} +1 -1
  349. package/dist/twilight/{p-f5242092.entry.js → p-b7916db2.entry.js} +1 -1
  350. package/dist/twilight/{p-c19cdf96.entry.js → p-b87ac43c.entry.js} +1 -1
  351. package/dist/twilight/{p-7cfe5dbf.entry.js → p-bdca0d7a.entry.js} +1 -1
  352. package/dist/twilight/{p-6e6f4879.entry.js → p-be44f2e4.entry.js} +1 -1
  353. package/dist/twilight/{p-18c99d79.entry.js → p-bf50723d.entry.js} +1 -1
  354. package/dist/twilight/{p-283b7a09.entry.js → p-c0dd76e3.entry.js} +1 -1
  355. package/dist/twilight/{p-7ab11977.entry.js → p-c3c9b136.entry.js} +1 -1
  356. package/dist/twilight/{p-cb475d27.entry.js → p-c583ab13.entry.js} +1 -1
  357. package/dist/twilight/p-c71a6e9c.entry.js +4 -0
  358. package/dist/twilight/{p-24eb59ac.entry.js → p-c774a729.entry.js} +1 -1
  359. package/dist/twilight/p-c80b8b30.entry.js +4 -0
  360. package/dist/twilight/{p-76f06b0a.entry.js → p-c9dcf28b.entry.js} +1 -1
  361. package/dist/twilight/{p-DZu6rifA.js → p-cUujZ85s.js} +1 -1
  362. package/dist/twilight/{p-5effd85b.entry.js → p-ca1c1c50.entry.js} +2 -2
  363. package/dist/twilight/{p-e9439252.entry.js → p-cbbfec66.entry.js} +1 -1
  364. package/dist/twilight/{p-3f1913e0.entry.js → p-ce0d56c1.entry.js} +1 -1
  365. package/dist/twilight/{p-906dfda7.entry.js → p-d0eb0e3d.entry.js} +1 -1
  366. package/dist/twilight/{p-7a738892.entry.js → p-d27c3758.entry.js} +1 -1
  367. package/dist/twilight/p-d617bb3f.entry.js +4 -0
  368. package/dist/twilight/{p-e30f415c.entry.js → p-d7633d87.entry.js} +1 -1
  369. package/dist/twilight/{p-bb7d240f.entry.js → p-d981255b.entry.js} +1 -1
  370. package/dist/twilight/{p-2368ab21.entry.js → p-d9e7a2a9.entry.js} +1 -1
  371. package/dist/twilight/{p-cb9501dc.entry.js → p-dca909c8.entry.js} +1 -1
  372. package/dist/twilight/{p-90976775.entry.js → p-df9267ca.entry.js} +1 -1
  373. package/dist/twilight/{p-44ed9315.entry.js → p-eba770b4.entry.js} +1 -1
  374. package/dist/twilight/{p-9cb07624.entry.js → p-ee67787c.entry.js} +1 -1
  375. package/dist/twilight/{p-c1b56f08.entry.js → p-f303739b.entry.js} +1 -1
  376. package/dist/twilight/{p-3e9bba4f.entry.js → p-f834ded2.entry.js} +1 -1
  377. package/dist/twilight/{p-b69cc47d.entry.js → p-f855ad35.entry.js} +1 -1
  378. package/dist/twilight/{p-1695dd23.entry.js → p-faf369b8.entry.js} +1 -1
  379. package/dist/twilight/{p-4e16be16.entry.js → p-fc26088c.entry.js} +1 -1
  380. package/dist/twilight/{p-BHY6Sj5y.js → p-jgiIvZFz.js} +1 -1
  381. package/dist/twilight/p-lMgMt31Q.js +4 -0
  382. package/dist/twilight/{p-BZ24UYWJ.js → p-qT0_dvbw.js} +1 -1
  383. package/dist/twilight/twilight.esm.js +1 -1
  384. package/dist/types/components/salla-comments/interfaces.d.ts +6 -0
  385. package/dist/types/components/salla-comments/salla-comment-factors.d.ts +6 -0
  386. package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -0
  387. package/dist/types/components/salla-comments/salla-comments.d.ts +2 -2
  388. package/dist/types/components/salla-rating-modal/order-feedback-response.d.ts +32 -0
  389. package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +151 -0
  390. package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +5 -1
  391. package/dist/types/components/salla-rating-stars/salla-rating-stars.d.ts +13 -0
  392. package/dist/types/components/salla-review-factors-tags/helpers.d.ts +16 -0
  393. package/dist/types/components/salla-review-factors-tags/interfaces.d.ts +17 -0
  394. package/dist/types/components/salla-review-factors-tags/salla-review-factors-tags.d.ts +24 -0
  395. package/dist/types/components/salla-reviews-summary/interfaces.d.ts +5 -0
  396. package/dist/types/components/salla-reviews-summary/salla-reviews-summary.d.ts +2 -0
  397. package/dist/types/components.d.ts +114 -2
  398. package/package.json +5 -5
  399. package/dist/twilight/p-38c82b5b.entry.js +0 -4
  400. package/dist/twilight/p-db3da75c.entry.js +0 -4
  401. package/dist/twilight/p-e10eed6e.entry.js +0 -4
  402. package/dist/twilight/p-e52bbc5f.entry.js +0 -4
@@ -3,8 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
7
- var star = require('./star-DGcH7Yso.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
+ var star = require('./star-DMzrN05M.js');
8
+ var shippingFast = require('./shipping-fast-CsqEQE78.js');
8
9
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
10
  var Helper = require('./Helper-B2B-kxAI.js');
10
11
  var image = require('./image-BoZ6Hums.js');
@@ -12,14 +13,7 @@ var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
12
13
  var mail = require('./mail-C9D8MHae.js');
13
14
  var anime_es = require('./anime.es-BqW8JHZi.js');
14
15
 
15
- var ShippingFast = `<!-- Generated by IcoMoon.io -->
16
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
17
- <title>shipping-fast</title>
18
- <path d="M10.667 14.667c0-0.737-0.597-1.333-1.333-1.333h-8c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333h8c0.736 0 1.333-0.596 1.333-1.333zM9.333 18.667c-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333 5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM9.333 26.667c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM1.333 10.667h5.333c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333h-5.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333zM31.123 13.103l-3.147-3.935c-1.273-1.589-3.171-2.501-5.205-2.501h-1.437c0-2.205-1.795-4-4-4h-13.333c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333h13.333c0.735 0 1.333 0.597 1.333 1.333v1.333c0 0.248 0.087 0.468 0.204 0.667-0.117 0.199-0.204 0.419-0.204 0.667v5.333c0 0.737 0.597 1.333 1.333 1.333h9.333v6.667h-1.333c-0.063 0-0.117 0.028-0.179 0.036-0.583-2.313-2.664-4.036-5.155-4.036-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c2.491 0 4.572-1.723 5.155-4.036 0.061 0.008 0.116 0.036 0.179 0.036h2.667c0.736 0 1.333-0.596 1.333-1.333v-8.399c0-0.905-0.311-1.792-0.877-2.499zM21.333 13.333v-4h1.437c1.221 0 2.36 0.547 3.124 1.501l1.997 2.499zM22.667 26.667c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z"></path>
19
- </svg>
20
- `;
21
-
22
- const sallaRatingModalCss = "";
16
+ const sallaRatingModalCss = ".s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{display:block;width:100%;height:100%;object-fit:cover}.s-rating-modal-product-title{font-size:0.95rem;font-weight:600;line-height:1.5;margin:0}.s-rating-modal-stars-product{margin-top:0.5rem}.s-rating-modal-product-details-main{display:flex;align-items:center;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-info-row{display:flex;align-items:center;gap:0.6rem;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-main-review{width:100%;text-align:right}.s-rating-modal-product-rating-rows{display:grid;gap:0.45rem;margin:0.2rem 0 0.7rem}.s-rating-modal-product-rating-row{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-height:2rem}.s-rating-modal-product-rating-row salla-rating-stars{flex-shrink:0}.s-rating-modal-product-rating-row .s-rating-stars-wrapper{align-items:center;min-height:1.75rem}.s-rating-modal-product-rating-row .s-rating-stars-label,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag{min-width:auto;min-height:1.25rem;line-height:1.25rem;font-size:0.8rem;color:#5b6470;white-space:nowrap;text-align:end;transition:opacity 0.15s ease}.s-rating-modal-product-rating-row .s-rating-stars-label--empty,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag--empty{opacity:0}.s-rating-modal-product-rating-row-main{margin-bottom:0.35rem;padding:0.5rem 0.6rem;border:1px solid #d1d5db;border-radius:0.45rem;background:transparent}.s-rating-modal-product-factor-name{color:#5b6470;font-size:0.9rem;line-height:1.25}.s-rating-modal-product-rating-row-main .s-rating-modal-product-factor-name{font-size:1rem;color:#5b6470}.s-rating-modal-product-factor-required{color:#f87171;margin-inline-start:0.2rem}.s-rating-modal-product-img-wrap{width:5rem;min-width:5rem;height:3.5rem;flex-shrink:0;overflow:hidden;border-radius:0.375rem;background:#f3f4f6}.s-rating-modal-uploader.is-opened{height:auto !important;opacity:1 !important;overflow:visible !important;pointer-events:auto !important;margin-bottom:1rem}";
23
17
 
24
18
  const SallaRatingModal = class {
25
19
  constructor(hostRef) {
@@ -35,6 +29,7 @@ const SallaRatingModal = class {
35
29
  this.deleteMode = false;
36
30
  this.shouldOpenDeleteModal = false;
37
31
  this.editItem = null;
32
+ this.enableNewPopUp = false;
38
33
  this.dragAndDropFilesLabel = salla.lang.get('common.uploader.drag_and_drop_files');
39
34
  this.contactSubjectLabel = salla.lang.get('pages.rating.contact_subject');
40
35
  this.editReviewLabel = salla.lang.get('pages.rating.edit_review');
@@ -145,10 +140,21 @@ const SallaRatingModal = class {
145
140
  setTranslations();
146
141
  });
147
142
  }
143
+ getV2Ref() {
144
+ return this.v2Ref ?? this.host.querySelector('salla-rating-modal-v2');
145
+ }
146
+ syncNewPopUpFlag() {
147
+ this.enableNewPopUp = !!salla.config.get('store.features')?.includes('new_popup_rating');
148
+ }
148
149
  /**
149
150
  * Show the rating modal
150
151
  */
151
152
  async open() {
153
+ await salla.onReady();
154
+ this.syncNewPopUpFlag();
155
+ if (this.enableNewPopUp) {
156
+ return this.getV2Ref()?.open();
157
+ }
152
158
  this.defaultMode = true;
153
159
  return new Promise((resolve) => {
154
160
  setTimeout(() => {
@@ -178,6 +184,11 @@ const SallaRatingModal = class {
178
184
  });
179
185
  }
180
186
  async openEditModal(params) {
187
+ await salla.onReady();
188
+ this.syncNewPopUpFlag();
189
+ if (this.enableNewPopUp) {
190
+ return this.getV2Ref()?.openEditModal(params);
191
+ }
181
192
  this.defaultMode = false;
182
193
  this.editMode = true;
183
194
  this.editType = params.type;
@@ -218,6 +229,11 @@ const SallaRatingModal = class {
218
229
  });
219
230
  }
220
231
  async openDeleteModal(params) {
232
+ await salla.onReady();
233
+ this.syncNewPopUpFlag();
234
+ if (this.enableNewPopUp) {
235
+ return this.getV2Ref()?.openDeleteModal(params);
236
+ }
221
237
  this.defaultMode = false;
222
238
  this.deleteMode = true;
223
239
  this.deleteFeedbackId = params.feedback_id;
@@ -242,6 +258,9 @@ const SallaRatingModal = class {
242
258
  * Show the rating modal
243
259
  */
244
260
  async close() {
261
+ if (this.enableNewPopUp) {
262
+ return this.getV2Ref()?.close();
263
+ }
245
264
  return this.modal.close();
246
265
  }
247
266
  // handle wizard
@@ -392,7 +411,7 @@ const SallaRatingModal = class {
392
411
  getEditModal() {
393
412
  return (index.h("salla-modal", { ref: modal => this.editModal = modal, width: "md", onModalVisibilityChanged: (isOpen) => this.resetData(isOpen) }, index.h("div", { class: "s-rating-modal-edit-wrapper", ref: el => this.body = el }, this.editType === "store" && this.editItem ? (index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step", "data-type": "store", ref: currentTab => this.currentTab = currentTab }, index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: salla.config.get('store.logo', 'https://assets.salla.sa/cp/assets/images/logo-new.png'), alt: "store name", class: "s-rating-modal-store-logo" })), index.h("h2", { class: "s-rating-modal-title" }, salla.lang.get('pages.rating.rate_the_store')), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large", editable: true, value: this.editItem.stars })), index.h("textarea", { name: "content", value: this.editItem.content, class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_store_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))) : null, this.editType === "shipping" && this.editItem ? (index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step", "data-type": "shipping", ref: currentTab => this.currentTab = currentTab }, this.editItem.shipping.logo
394
413
  ? index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: this.editItem.shipping.logo, class: "s-rating-modal-shipping-logo", alt: this.editItem.shipping.name }))
395
- : index.h("span", { class: "s-rating-modal-icon", innerHTML: ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.editItem.shipping.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large", editable: true, value: this.editItem.stars })), index.h("textarea", { name: "content", class: "s-rating-modal-comment", value: this.editItem.content, placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))) : null, this.editType == "product" && this.editItem ? index.h("section", { class: "s-rating-modal-step", "data-type": "products", ref: currentTab => this.currentTab = currentTab }, index.h("div", { class: "s-rating-modal-product" }, index.h("div", { class: "rating-outer-form", "data-stars-error": salla.lang.get('pages.rating.rate_product_stars') }, index.h("div", { class: "s-rating-modal-product-img-wrap" }, index.h("img", { src: this.editItem.product.image.url, alt: this.editItem.product.name, class: "s-rating-modal-product-img" })), index.h("div", { class: "s-rating-modal-product-details" }, index.h("div", { class: "s-rating-modal-product-details-main" }, index.h("div", null, index.h("h3", { class: "s-rating-modal-product-title" }, " ", this.editItem.product.name), index.h("div", { class: "s-rating-modal-stars-product" }, index.h("salla-rating-stars", { withLabel: true, size: "small", editable: true, value: this.editItem.stars }))), this.allowAttachImages && index.h("salla-button", { class: "s-comments-item-like-btn mt-0", loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleUploader(1) }, index.h("span", null, this.editItemImages.length ? this.editImagesLabel : this.addImagesLabel), index.h("span", { innerHTML: image.ImageIcon }))), index.h("textarea", { value: this.editItem.content, placeholder: salla.lang.get('pages.rating.write_product_rate'), name: "content", class: "s-rating-modal-comment" }), index.h("small", { class: "s-rating-modal-validation-msg" }))), this.allowAttachImages && (index.h("div", { class: "s-rating-modal-uploader is-closed", ref: (el) => (this.contentRefs[1] = el) }, index.h("salla-file-upload", { name: "images", allowMultiple: true, maxFilesCount: this.MAX_UPLOAD_LIMIT, imagePreviewHeight: 117, filePosterHeight: 117, "instant-upload": true, type: "feedback", files: JSON.stringify(this.editItemImages), payloadName: "files[]", id: `file-${this.editItem.product.id}`, title: this.editItem.product.name, instantUpload: true, accept: "image/png, image/jpeg, image/jpg", url: salla.url.api('upload'), onUploaded: (e) => {
414
+ : index.h("span", { class: "s-rating-modal-icon", innerHTML: shippingFast.ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.editItem.shipping.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large", editable: true, value: this.editItem.stars })), index.h("textarea", { name: "content", class: "s-rating-modal-comment", value: this.editItem.content, placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))) : null, this.editType == "product" && this.editItem ? index.h("section", { class: "s-rating-modal-step", "data-type": "products", ref: currentTab => this.currentTab = currentTab }, index.h("div", { class: "s-rating-modal-product" }, index.h("div", { class: "rating-outer-form", "data-stars-error": salla.lang.get('pages.rating.rate_product_stars') }, index.h("div", { class: "s-rating-modal-product-img-wrap" }, index.h("img", { src: this.editItem.product.image.url, alt: this.editItem.product.name, class: "s-rating-modal-product-img" })), index.h("div", { class: "s-rating-modal-product-details" }, index.h("div", { class: "s-rating-modal-product-details-main" }, index.h("div", null, index.h("h3", { class: "s-rating-modal-product-title" }, " ", this.editItem.product.name), index.h("div", { class: "s-rating-modal-stars-product" }, index.h("salla-rating-stars", { withLabel: true, size: "small", editable: true, value: this.editItem.stars }))), this.allowAttachImages && index.h("salla-button", { class: "s-comments-item-like-btn mt-0", loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleUploader(1) }, index.h("span", null, this.editItemImages.length ? this.editImagesLabel : this.addImagesLabel), index.h("span", { innerHTML: image.ImageIcon }))), index.h("textarea", { value: this.editItem.content, placeholder: salla.lang.get('pages.rating.write_product_rate'), name: "content", class: "s-rating-modal-comment" }), index.h("small", { class: "s-rating-modal-validation-msg" }))), this.allowAttachImages && (index.h("div", { class: "s-rating-modal-uploader is-closed", ref: (el) => (this.contentRefs[1] = el) }, index.h("salla-file-upload", { name: "images", allowMultiple: true, maxFilesCount: this.MAX_UPLOAD_LIMIT, imagePreviewHeight: 117, filePosterHeight: 117, "instant-upload": true, type: "feedback", files: JSON.stringify(this.editItemImages), payloadName: "files[]", id: `file-${this.editItem.product.id}`, title: this.editItem.product.name, instantUpload: true, accept: "image/png, image/jpeg, image/jpg", url: salla.url.api('upload'), onUploaded: (e) => {
396
415
  this.editItemImages = [...this.editItemImages, e.detail];
397
416
  this.hiddenInputs[1].value = this.editItemImages.map(img => img.url).join();
398
417
  }, onRemoved: (e) => {
@@ -405,6 +424,9 @@ const SallaRatingModal = class {
405
424
  : null, index.h("div", { class: "s-rating-modal-footer s-rating-modal-footer-end" }, index.h("salla-button", { "loader-position": 'center', onClick: () => this.editReview() }, this.editReviewLabel)))));
406
425
  }
407
426
  render() {
427
+ if (this.enableNewPopUp) {
428
+ return (index.h(index.Host, { class: "s-rating-modal" }, index.h("salla-rating-modal-v2", { ref: (el) => (this.v2Ref = el), orderId: this.orderId })));
429
+ }
408
430
  if (this.deleteMode) {
409
431
  return index.h(index.Host, { class: "s-rating-modal" }, this.getDeleteModal());
410
432
  }
@@ -412,7 +434,7 @@ const SallaRatingModal = class {
412
434
  return index.h(index.Host, { class: "s-rating-modal" }, this.getEditModal());
413
435
  }
414
436
  if (this.defaultMode) {
415
- return (index.h(index.Host, { class: "s-rating-modal" }, index.h("salla-modal", { class: "s-rating-modal-wrap", onModalVisibilityChanged: (isOpen) => this.resetData(isOpen), isLoading: true, width: "md", ref: modal => this.modal = modal }, index.h("div", { slot: 'loading' }, index.h("div", { class: "s-rating-modal-skeleton" }, index.h("salla-skeleton", { type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { height: '15px', width: '60%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("div", { class: "s-rating-modal-skeleton-stars" }, [...Array(5)].map((v) => index.h("div", { key: v, innerHTML: star.WishListIcon }))), index.h("salla-skeleton", { height: '100px', width: '100%' }), index.h("div", { class: "s-rating-modal-skeleton-footer" }, index.h("salla-skeleton", { height: '40px', width: '30%' })))), !this.hasError && this.order
437
+ return (index.h(index.Host, { class: "s-rating-modal" }, index.h("salla-modal", { class: "s-rating-modal-wrap", onModalVisibilityChanged: (isOpen) => this.resetData(isOpen), isLoading: true, width: "md", ref: modal => this.modal = modal }, index.h("div", { slot: 'loading' }, index.h("div", { class: "s-rating-modal-skeleton" }, index.h("salla-skeleton", { type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { height: '15px', width: '60%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("div", { class: "s-rating-modal-skeleton-stars" }, [...Array(5)].map((v) => index.h("div", { key: v, innerHTML: star.Star }))), index.h("salla-skeleton", { height: '100px', width: '100%' }), index.h("div", { class: "s-rating-modal-skeleton-footer" }, index.h("salla-skeleton", { height: '40px', width: '30%' })))), !this.hasError && this.order
416
438
  ? [index.h("div", { class: "s-rating-modal-wrapper", ref: el => this.body = el }, this.order?.testimonials_enabled ?
417
439
  index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step s-rating-modal-hidden", "data-type": "store" }, index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: salla.config.get('store.logo', 'https://assets.salla.sa/cp/assets/images/logo-new.png'), alt: "store name", class: "s-rating-modal-store-logo" })), index.h("h2", { class: "s-rating-modal-title" }, salla.lang.get('pages.rating.rate_the_store')), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large" })), index.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_store_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))
418
440
  : '', this.order.products_enabled
@@ -435,15 +457,17 @@ const SallaRatingModal = class {
435
457
  : '', this.order.shipping_enabled && this.order.shipping?.company
436
458
  ? index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step s-rating-modal-hidden", "data-type": "shipping" }, index.h("input", { type: "hidden", name: "shipping_company_id", value: this.order.shipping.company.id }), this.order.shipping.company.logo
437
459
  ? index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: this.order.shipping.company.logo, class: "s-rating-modal-shipping-logo", alt: this.order.shipping.company.name }))
438
- : index.h("span", { class: "s-rating-modal-icon", innerHTML: ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.order.shipping.company.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large" })), index.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))
460
+ : index.h("span", { class: "s-rating-modal-icon", innerHTML: shippingFast.ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.order.shipping.company.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large" })), index.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))
439
461
  : '', index.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index.h("span", { class: "s-rating-modal-icon", innerHTML: checkCircle2.CheckCircle2 }), index.h("h3", { class: "s-rating-modal-thanks-title" }, salla.lang.get('pages.rating.thanks')), index.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), this.allowContactSupport && this.showContactWidget && (salla.config.get('store.contacts.whatsapp') || salla.config.get('store.contacts.email')) ? index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon }), salla.config.get('store.contacts.email') && index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.email }))) : '', index.h("div", { class: "s-rating-modal-footer" }, index.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, salla.lang.get('common.elements.back')), this.stepsCount > 1 ? index.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map((v) => index.h("li", { key: v, class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, salla.lang.get('common.elements.next')))]
440
462
  : index.h("salla-placeholder", { alignment: "center" }))));
441
463
  }
442
464
  }
443
- componentWillLoad() {
465
+ async componentWillLoad() {
444
466
  salla.event.on('rating::open', () => this.open());
445
467
  salla.event.on('rating::edit', (params) => this.openEditModal(params));
446
468
  salla.event.on('rating::delete', (params) => this.openDeleteModal(params));
469
+ await salla.onReady();
470
+ this.syncNewPopUpFlag();
447
471
  }
448
472
  componentDidLoad() {
449
473
  salla.event.dispatch('rating::ready', this);
@@ -0,0 +1,127 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-CfrGmYJa.js');
7
+ var star2 = require('./star2-R146a27p.js');
8
+
9
+ const CACHE_TTL = 5 * 60 * 1000;
10
+ const orderCache = new Map();
11
+ const inFlightRequests = new Map();
12
+ function normalizeList(value) {
13
+ if (!value) {
14
+ return [];
15
+ }
16
+ return Array.isArray(value) ? value : Object.values(value);
17
+ }
18
+ function getProductRatings(rating) {
19
+ if (!rating) {
20
+ return [];
21
+ }
22
+ return [
23
+ ...normalizeList(rating.product),
24
+ ...normalizeList(rating.products),
25
+ ];
26
+ }
27
+ function extractFactors(source) {
28
+ if (!source) {
29
+ return [];
30
+ }
31
+ for (const key of ['factor_reviews', 'review_factors', 'factors']) {
32
+ const value = source[key];
33
+ if (Array.isArray(value) && value.length) {
34
+ return value;
35
+ }
36
+ }
37
+ return [];
38
+ }
39
+ function findProductRating(productRatings, ratingId, productId, itemId) {
40
+ return productRatings.find((productRating) => {
41
+ if (ratingId && Number(productRating.id ?? productRating.feedback_id) === Number(ratingId)) {
42
+ return true;
43
+ }
44
+ if (itemId && Number(productRating.order_item_id) === Number(itemId)) {
45
+ return true;
46
+ }
47
+ if (productId && Number(productRating.product_id ?? productRating.product?.id) === Number(productId)) {
48
+ return true;
49
+ }
50
+ return false;
51
+ });
52
+ }
53
+ function resolveReviewFactors(order, ratingId, productId, itemId) {
54
+ const productRatings = getProductRatings(order?.rating);
55
+ const productRating = findProductRating(productRatings, ratingId, productId, itemId);
56
+ return extractFactors(productRating);
57
+ }
58
+ async function fetchOrder(orderId) {
59
+ if (!orderId) {
60
+ return null;
61
+ }
62
+ const cached = orderCache.get(orderId);
63
+ if (cached && Date.now() - cached.timestamp <= CACHE_TTL) {
64
+ return cached.data;
65
+ }
66
+ const pending = inFlightRequests.get(orderId);
67
+ if (pending) {
68
+ return pending;
69
+ }
70
+ const request = (async () => {
71
+ try {
72
+ const response = await salla.api.request(`orders/${orderId}`, '', 'get');
73
+ const data = response?.data ?? response;
74
+ orderCache.set(orderId, { data, timestamp: Date.now() });
75
+ return data;
76
+ }
77
+ catch (error) {
78
+ orderCache.delete(orderId);
79
+ throw error;
80
+ }
81
+ finally {
82
+ inFlightRequests.delete(orderId);
83
+ }
84
+ })();
85
+ inFlightRequests.set(orderId, request);
86
+ return request;
87
+ }
88
+
89
+ const sallaReviewFactorsTagsCss = ":host{display:inline-flex}.s-review-factors-tags-factors{display:flex;flex-wrap:wrap;gap:0.5rem;justify-content:flex-start;margin-bottom:0.6rem}.s-review-factors-tags-factor-tag{display:inline-flex;align-items:center;gap:0.25rem;border-radius:999px;border:1px solid #e8e8e8;background:rgba(255, 255, 255, 0.3);color:#374151;font-size:0.85rem;line-height:1;padding:0.4rem 0.65rem}.s-review-factors-tags-factor-rating{font-weight:600;color:#0f6a7c}.s-review-factors-tags-factor-star{display:inline-flex;width:0.8rem;height:0.8rem;fill:#0f6a7c}.s-review-factors-tags-factor-star svg{width:100%;height:100%}";
90
+
91
+ const SallaReviewFactorsTags = class {
92
+ constructor(hostRef) {
93
+ index.registerInstance(this, hostRef);
94
+ this.factors = [];
95
+ }
96
+ async componentWillLoad() {
97
+ await salla.onReady();
98
+ await this.loadFactors();
99
+ }
100
+ async loadFactors() {
101
+ if (!this.orderId) {
102
+ this.factors = [];
103
+ return;
104
+ }
105
+ try {
106
+ const order = await fetchOrder(this.orderId);
107
+ this.factors = resolveReviewFactors(order, this.ratingId, this.productId, this.itemId);
108
+ }
109
+ catch (error) {
110
+ console.error('[salla-review-factors-tags] failed to load order rating factors', error);
111
+ this.factors = [];
112
+ }
113
+ }
114
+ renderFactorTags() {
115
+ const factors = this.factors || [];
116
+ if (!factors.length) {
117
+ return null;
118
+ }
119
+ return (index.h("div", { class: "s-review-factors-tags-factors" }, factors.map(factor => (index.h("div", { class: "s-review-factors-tags-factor-tag" }, index.h("span", { class: "s-review-factors-tags-factor-name" }, factor.name), index.h("span", { class: "s-review-factors-tags-factor-star", innerHTML: star2.Star }), index.h("span", { class: "s-review-factors-tags-factor-rating" }, factor.rating || ''))))));
120
+ }
121
+ render() {
122
+ return (index.h(index.Host, { key: '2645f00c58f3ecbd3b486756dd9977edc9ae66fd', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
123
+ }
124
+ };
125
+ SallaReviewFactorsTags.style = sallaReviewFactorsTagsCss;
126
+
127
+ exports.salla_review_factors_tags = SallaReviewFactorsTags;
@@ -3,13 +3,13 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
7
- var functions = require('./functions-B-_Pnqnt.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
+ var functions = require('./functions-Cl4vQLXn.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
  var tag = require('./tag-D-PcUR33.js');
10
10
  var check = require('./check-BnVBPQNp.js');
11
11
  var cancel = require('./cancel-B5SbMYEk.js');
12
- var trackedPromise = require('./tracked-promise-We1h_qB4.js');
12
+ var trackedPromise = require('./tracked-promise-ClJBjg9o.js');
13
13
 
14
14
  const sallaLoyaltyProgramCss$3 = "";
15
15
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
  var Helper = require('./Helper-B2B-kxAI.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -131,10 +131,10 @@ const SallaSearch = class {
131
131
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
132
132
  }
133
133
  render() {
134
- const searchContent = (index.h("div", { key: 'ca8dec5eb90cd0893a1a3364df34ba0ee4d60891', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: '212f8180ecca220a8b89231311dec6cdf3ef0b06', class: "s-search-input-wrapper" }, index.h("span", { key: '51fb0f9a2e342afd35eb82b57f55471aa9e1519f', class: "s-search-icon-wrap" }, index.h("span", { key: 'e75117068c51c6d200e8e20fa0f00ca02ed0c61d', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.h("input", { key: '442b1704b75a33e8c9e02da8200151a1d8e8db72', 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: {
134
+ const searchContent = (index.h("div", { key: '4b97f190e4fcceb6d3f0bafecffc46aca578a657', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: '4ce6eff390279cdca5dccf26fc2d27a53511b8d3', class: "s-search-input-wrapper" }, index.h("span", { key: 'bee65f6f7735601d44aa6fb58482d4632f70ed68', class: "s-search-icon-wrap" }, index.h("span", { key: '4d95d81c5ac952aabf40e70b1f06c17ec9d0df50', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.h("input", { key: 'bf605abb622e46632be9e2cc47b8eaec5823b3cf', 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: {
135
135
  height: this.height + 'px',
136
136
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
137
- } }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: 'f3b40ce4ec24678f6d8421f3da8ac9e1bd631c3a', class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
137
+ } }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: '46b979e82da5d5b03cdb348bbb3f0f5828087949', class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
138
138
  's-search-product': true,
139
139
  's-search-product-not-available': !product.is_available,
140
140
  }, innerHTML: this.productSlot
@@ -143,9 +143,9 @@ const SallaSearch = class {
143
143
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
144
144
  ? salla.money(product.regular_price)
145
145
  : '')
146
- .replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: 'fdbb21061c599a59c6d828eec80e8d591a708cca', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
147
- const modalContent = (index.h("salla-modal", { key: 'ca90aea3fb92d1ba7d8270c26e2ecd82d5018784', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
148
- const placeholderContent = (index.h("div", { key: '73333ce51cabadc4963a9fe9d1372bb7d63925c8', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: '77a66e9bba504557160c8c50d91f1216cc68f253', class: "s-search-input-wrapper" }, index.h("span", { key: '18fb5ce6e3e72874e76dd1ef2c6db8718a68f778', class: "s-search-icon-wrap" }, index.h("span", { key: '63b9e9af1c51647df734cc4d5cf7a825b922ce38', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: 'b70169ed2d80ec2ad6b09952ad104824610212df', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
146
+ .replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: '484dbcb11952df2a5d100dfc176c98359b059070', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
147
+ const modalContent = (index.h("salla-modal", { key: 'b35ef402291810a005673d3d55227cc7919c593a', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
148
+ const placeholderContent = (index.h("div", { key: 'cff9e90ce4641545cd97d2946f52f49e4fbada91', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: 'd48ebc0c07ef4dc154cca5d99cfa652bf06cb84c', class: "s-search-input-wrapper" }, index.h("span", { key: 'b0c4055476bc996d3be3df9af49dc7fead72dabc', class: "s-search-icon-wrap" }, index.h("span", { key: '55c84b48d01ed6da83e802904ca1e0df7afc6060', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: '86356037f4bf117bef07d4afd1569342e2e729c7', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
149
149
  height: this.height + 'px',
150
150
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
151
151
  } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
 
8
8
  const sallaSkeletonCss = ":host{display:block}";
9
9
 
@@ -28,7 +28,7 @@ const SallaSkeleton = class {
28
28
  's-skeleton-item': true,
29
29
  's-skeleton-item-circular': this.type == 'circle',
30
30
  };
31
- return (index.h(index.Host, { key: '7b36da96585cfefe9aa96df6262be14f6a03c585', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '568ae1bc0aeae182bb32468b19601c0245e9617d', class: classes }, "\u00A0")));
31
+ return (index.h(index.Host, { key: 'deeabec297427c67935decac658fec39d3de2a96', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '14ad7e998011a41f9d6b3c942748704b887d064a', class: classes }, "\u00A0")));
32
32
  }
33
33
  };
34
34
  SallaSkeleton.style = sallaSkeletonCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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-C9D8MHae.js');
@@ -373,7 +373,7 @@ const SallaSocialShare = class {
373
373
  })));
374
374
  }
375
375
  render() {
376
- return (index.h("div", { key: 'e934ffb94fea491d445e62f26fcf98914ff0a399', class: "s-social-share-wrapper" }, index.h("slot", { key: '8dbf4a0c3fb6fb17a0a7c32ace57b357708c0678', name: "widget" }, index.h("salla-button", { key: 'eb6459bc99d4587bbfc6c0399003a2860d6992b0', "aria-label": "Share", onClick: () => this.toggle(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '3394f64755bd0bc07839b1a513f5459c8258f096', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
376
+ return (index.h("div", { key: '39624373671142e55397431ea0fa5e9562f67c35', class: "s-social-share-wrapper" }, index.h("slot", { key: 'e6a09f4b0a93ae3356982cd9a278633f94f8d6cb', name: "widget" }, index.h("salla-button", { key: 'e07ee3d79e39f2c2eefa07d89aafa316040085dc', "aria-label": "Share", onClick: () => this.toggle(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '0aa867b61db4fbaac7c087e28501f0eaf6800d5d', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
377
377
  }
378
378
  get host() { return index.getElement(this); }
379
379
  static get watchers() { return {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -57,7 +57,7 @@ const SallaSocial = class {
57
57
  }
58
58
  render() {
59
59
  const linksArray = this.getLinksArray();
60
- return (index.h(index.Host, { key: 'e7d69dbae46ef54588471875ada751103d14d393' }, index.h("ul", { key: 'ff4b15127e6664cca17fa7f6f49e4cda25829d74', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
60
+ return (index.h(index.Host, { key: '26d3fc5383ae5779a4b077b5487d363045c305fb' }, index.h("ul", { key: '70f9a23a493c1cadeeb0f097fde1f601525eb0e8', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
61
61
  .replace(/\{icon\}/g, this.iconsList[link.type])
62
62
  .replace(/\{type\}/g, link.type)
63
63
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -33,7 +33,7 @@ const SallaTabContent = class {
33
33
  's-tabs-content': true,
34
34
  's-tabs-content-selected': this.isSelected
35
35
  };
36
- return (index.h("div", { key: 'f5cfa9676bc8314149cb78e103b9ef580c0d7559', class: classes }, index.h("slot", { key: '1b86591377c09f1acb25cda20024b3af9c6a874d' })));
36
+ return (index.h("div", { key: 'cc5ef1c683b375542a5ae62747288b5aabd12341', class: classes }, index.h("slot", { key: '5c131ec54cfa1f5044af6aa652acb66f0135946b' })));
37
37
  }
38
38
  };
39
39
  SallaTabContent.style = sallaTabContentCss;
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
92
92
  's-tabs-active': this.isSelected,
93
93
  };
94
94
  return [
95
- index.h("div", { key: 'a9548ed2a74d30e6fcf365dbe26aa5f7fdab2468', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '547edd40aab5843c6035bd3c36a34d9449dc12d3' })),
95
+ index.h("div", { key: 'b895bb8a17ac2d2e4c4e573402c4307dfa8f0b65', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '89099b6e7c217a61632c3ff8e6fcf6c141f4a755' })),
96
96
  ];
97
97
  }
98
98
  };
@@ -145,7 +145,7 @@ const SallaTabs = class {
145
145
  }
146
146
  render() {
147
147
  return [
148
- index.h("div", { key: 'e9054cb114c2bd66940b6afa98d7c7c230353a74', class: "s-tabs" }, index.h("div", { key: 'd245f64aef9b7fd77c9c51eb1d86ddfd9202e5fb', class: "s-tabs-header" }, index.h("slot", { key: 'f1b9a982cd746d637db5d514cb691f188af0cb7e', name: "header" })), index.h("div", { key: '0ba8441707b087a8c4d068b1a72bf10c8efb41cc', class: "s-tabs-content-wrapper" }, index.h("slot", { key: 'afcee28724a5a9ce263fcc3a38d624a631069945', name: "content" })))
148
+ index.h("div", { key: 'bc2ee0fc01451eec9ecc1b4cf341fd46acffa719', class: "s-tabs" }, index.h("div", { key: 'b6ccd64ef599c25510a8c7f2f1ea602fa09ed939', class: "s-tabs-header" }, index.h("slot", { key: '8c8826aa6ecd214018a71cc36c34343ccec6172b', name: "header" })), index.h("div", { key: '01444adfa11f0daccbd3814b938955f374715ccb', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '9d520842f16e6eee3a515f04f577d0f8f09c484e', name: "content" })))
149
149
  ];
150
150
  }
151
151
  get host() { return index.getElement(this); }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
 
8
8
  const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);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:var(--color-primary) 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
 
@@ -33,7 +33,7 @@ const SallaTooltip = class {
33
33
  }
34
34
  render() {
35
35
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
36
- return (index.h("div", { key: '84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca', class: "s-tooltip-container" }, index.h("div", { key: '59d3bac320e20f99de1c4bf49531a61962190efc', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
36
+ return (index.h("div", { key: '449a90d32ba963fcccd459a59c89ccd7a1d987cb', class: "s-tooltip-container" }, index.h("div", { key: '4d0a51aeb7e1b640d618948b1bda7170fa4b1264', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
37
37
  }
38
38
  get el() { return index.getElement(this); }
39
39
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
 
8
8
  const sallaTrustBadgesCss = "";
9
9
 
@@ -3,11 +3,11 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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');
10
- var star = require('./star-DGcH7Yso.js');
10
+ var star = require('./star-DMzrN05M.js');
11
11
  var cancel = require('./cancel-B5SbMYEk.js');
12
12
  var star2 = require('./star2-R146a27p.js');
13
13
  var gift = require('./gift-DbNivqYO.js');
@@ -105,7 +105,7 @@ const SallaUserMenu = class {
105
105
  notifications: bellRing.BellRing,
106
106
  orders: OrderIcon,
107
107
  pending_orders: cart.PendingOrdersIcon,
108
- wishlist: star.WishListIcon,
108
+ wishlist: star.Star,
109
109
  wallet: WalletIcon,
110
110
  loyalty_points: gift.SIGift,
111
111
  profile: UserCircle
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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">
@@ -80,7 +80,7 @@ const SallaUserSettings = class {
80
80
  await salla.profile.delete().finally(() => this.confirmationModal.close());
81
81
  }
82
82
  render() {
83
- return (index.h(index.Host, { key: 'ae94c12d52ff04f41f08d4a107a35aa2bd94ee0a', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '5b46a680b85fc72976c5c3d4f478b64b6c1d483c', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'b41bb42ea03a2ed63c7664d0b98ee045110c31d0' }, index.h("div", { key: '29abb43471c5160b7817f153c8968593332e7826', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '3fd763ac2437570eed2073acb6b57cbdd0f1cdac', innerHTML: UserCancel })), index.h("div", { key: 'cbff9be1b97a31a11d1b10d88d2408070047fd3b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '5fd0a91c56d9b8deeed04fb52a033fe5c1ad84ee', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '81ed76bd7b69ae7b16440f131cd78905d33da607', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'ae98c8814636b4e6008c421b291353ba2c4b91e7', class: "s-toggle" }, index.h("input", { key: '0c01d7706053667e80539a0a293ea21f4304e423', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '31d91e01bc2a28a6cd81af024b99bd42f1a04947', class: "s-toggle-switcher" }))))), index.h("div", { key: '7dd3c504babb5b79d07d08c5665cd5e080cb9a4d', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '9573ce56a617ac5c3e64f7cd868269f7f5f991cd' }, index.h("div", { key: 'deb424768ebb4b1086067816f4359e5b56da6044', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'db74169678f85313ef3b6c9a5ff92f8afaf012c2', innerHTML: Bullhorn })), index.h("div", { key: '569cc0dd9462bb606dab18116c071acb49fd8f48', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: 'fbe15f41b42ee2f98585ae29ff985cbe3b6f0ef1', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'c1a4fd8a0a340a73adb9efac7c7d75534b13ce3a', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'fade0f4d1a9214169bb087900561afd482674a75', class: "s-toggle" }, index.h("input", { key: '87cf0b041a89d79b23c2dd0d929c3b14dd18fb96', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '7812c9a8f51a7ad64172db275ac050f8b45ec6e5', class: "s-toggle-switcher" }))))), index.h("div", { key: '7224d14d365a9fd767e2b900dd1e30c6bee69e7e', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: 'cb61e0a146115885a36455159d808d7edbbdff5b' }, index.h("div", { key: 'c073c1bbca5ae9496a4116323611d15f33d68566', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'ed78cb19724511219f35ed85e3d915ced708d46c', innerHTML: UserOff })), index.h("div", { key: 'f8a9ba483b7af0216536a130554186b722f9ad6e', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: 'fd9cdf72725204e320c56b1bd6ac4cf2d77d2176', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: '739a99cfb762cd18d91c955b218ab0d06a289a9a', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'c2fd322ae8ff4060c21c65cfdd8b1d89bb338e3f', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'f8c8a2922ffd79d2dc04a35cf964882526b6b91c', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: 'b036e50b12f521c0f623ae7afded1113b0fc20ab', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: '0ae61369ece6d96056e0b461ba7a3e0104e00583', class: "s-user-settings-confirmation" }, index.h("div", { key: 'ef2eef33396e9eaa0c43d2196e43b61917f3c5fe', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '1656cb466302c11990d5e0d9833b21cb47766846', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: 'ce75f721106b103e6c7f2cfc75f8be08aba54f9c', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '006ceecf237eee2febde96ff584eb8256b820049', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
83
+ return (index.h(index.Host, { key: '76e95ae08b8d3d934076fdadb87b23c4606eadde', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: 'feb63389157a1a007becfa45cbfd564adc63dd68', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '8506e24e228e9a59b4fa59e3a866686d2cc255c0' }, index.h("div", { key: 'a6bc59a84423e8a5f65a2a3ea1ab9db251ddc1e2', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '828ba49bef3821ba4fbbea23e07f37d57984b0ff', innerHTML: UserCancel })), index.h("div", { key: 'ed332f5854e5a3d028a94df3b2538c5b0bdb0ca1', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '19f89aa5d12f4c08f41be28a1c862eba2c86150e', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '5a4f9b9e130ad72101ff6a493b78bdf0738db0fe', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '00cee0e5c9bf4a919c7be37ac62df607ad106209', class: "s-toggle" }, index.h("input", { key: '5bdd4026041443e79ed95242aae0ae8f1c61cd28', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '7cb153f865d56a081448bf130d0dfd2bc1ede203', class: "s-toggle-switcher" }))))), index.h("div", { key: '5620b4facff1e9c674abc240ee2bf8b6237f1fbb', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'b4a692bae833373a3b6581418af8ffa00b7f73a7' }, index.h("div", { key: 'c6537db1d992c558c93b9c5af60989ebe3c63348', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '4bcf789ad42596769768d7e5ae5a88bdc9ee231b', innerHTML: Bullhorn })), index.h("div", { key: '976f8915e679d754948dd08a5ff7d8b0320b4da3', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '10f4d900aded91b3cb20fa5b035469a7fc450ad1', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'dd05f000aa1e957ac2e8af717a473823145ff5b4', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'a5aea06c99e51feaa830dc1ca8c3c3822ad65f53', class: "s-toggle" }, index.h("input", { key: '2dc941eff3db9c3e19dbfb37031b61dfc316411e', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '264de991096e020e35f76818478ccbc391aef974', class: "s-toggle-switcher" }))))), index.h("div", { key: '0f3d06196ee4834a23cced30a825c65302346216', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '24a610796c16ff56a669370f51bca809cbed4c71' }, index.h("div", { key: '5077fc40225254a6229809cf7c0cd189a09ce4f3', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '233ebdeadb3e334bde45ff13cfd44d969392d7c7', innerHTML: UserOff })), index.h("div", { key: '33a12b3922ad71198d165e1f8664bfe4a493ee94', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: 'e2a872d965bf1c549cb074d312e31e520ae1f093', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: '10b3e3fa5d708a2410d7dc59e408c2dde46a3b75', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'fd70ec26eb9c8ccd9091c525589cb2dd6ea54726', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'c44d0984c20285753fb24471ad96bd760442405c', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: 'd40430003d5a59367a3be7060452dfccfb96407f', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: 'e9222043b55fe1afe6d7a77b1b97f97b089c256d', class: "s-user-settings-confirmation" }, index.h("div", { key: '39142484741c00634eaf278fc31c65ece79f683a', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '3a251ff22553250d972b99a959a6fc8cca7e3566', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: 'c69bbdaacaaf144aeb75ff50c71859db3189a18c', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '38355dfb44f8639cc01e075ea5a9ef7acb68e55f', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
84
84
  }
85
85
  };
86
86
  SallaUserSettings.style = sallaUserSettingsCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.js');
7
7
  var mail = require('./mail-C9D8MHae.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-f6loD1zL.js');
6
+ var index = require('./index-CfrGmYJa.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