@salla.sa/twilight-components 2.14.556 → 2.14.558

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 (384) hide show
  1. package/dist/{esm/cart-DY4LZmNP.js → cjs/cart-DSvlJXCH.js} +4 -2
  2. package/dist/cjs/{filepond-t0Yy69qV.js → filepond-LS8ytqmE.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-DNZM6Czl.js → filepond-plugin-file-poster-DexU9y97.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-BPMIodJt.js → filepond-plugin-file-validate-size-BJJ_spY7.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-DgYmyGCI.js → filepond-plugin-file-validate-type-BYz_biwv.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-B4itf01h.js → filepond-plugin-image-edit-C3R9xG9P.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-Dj43xu10.js → filepond-plugin-image-exif-orientation-DC7e2K9l.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-C6Gm9i9o.js → filepond-plugin-image-preview-DLbo1P7r.js} +1 -1
  9. package/dist/cjs/{index-DyL5Ypj3.js → index-BkcJlC9S.js} +14 -14
  10. package/dist/cjs/{intlTelInput-BTUy-aYK.js → intlTelInput-DvZz7cvU.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 +21 -6
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +3 -3
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +5 -5
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +3 -3
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_9.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map_3.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-orders.cjs.entry.js +224 -46
  76. package/dist/cjs/salla-payments.cjs.entry.js +76 -2
  77. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card.cjs.entry.js +48 -13
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-products-slider.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 +33 -4
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -2
  87. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +279 -33
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  92. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  95. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-trust-badges.cjs.entry.js +3 -165
  98. package/dist/cjs/salla-user-menu.cjs.entry.js +3 -3
  99. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  101. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  104. package/dist/cjs/twilight.cjs.js +2 -2
  105. package/dist/cjs/{vanilla-picker-C_t8j4f7.js → vanilla-picker-COagKVR0.js} +1 -1
  106. package/dist/collection/components/salla-button/salla-button.js +32 -2
  107. package/dist/collection/components/salla-modal/salla-modal.css +34 -16
  108. package/dist/collection/components/salla-modal/salla-modal.js +27 -2
  109. package/dist/collection/components/salla-orders/salla-orders.css +122 -0
  110. package/dist/collection/components/salla-orders/salla-orders.js +231 -45
  111. package/dist/collection/components/salla-payments/salla-payments.css +3 -0
  112. package/dist/collection/components/salla-payments/salla-payments.js +74 -0
  113. package/dist/collection/components/salla-product-card/salla-product-card.css +22 -2
  114. package/dist/collection/components/salla-product-card/salla-product-card.js +106 -11
  115. package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +32 -3
  116. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +2 -1
  117. package/dist/collection/components/salla-search/interfaces.js +1 -0
  118. package/dist/collection/components/salla-search/salla-search.css +324 -14
  119. package/dist/collection/components/salla-search/salla-search.js +179 -32
  120. package/dist/collection/components/salla-search/utils.js +111 -0
  121. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  122. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  123. package/dist/collection/components/salla-social/salla-social.js +1 -1
  124. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  125. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  126. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  127. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  128. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  129. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  130. package/dist/collection/components/salla-trust-badges/salla-trust-badges.css +1 -16
  131. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -163
  132. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  133. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  134. package/dist/components/index.js +2 -2
  135. package/dist/components/salla-button2.js +13 -2
  136. package/dist/components/salla-modal2.js +9 -3
  137. package/dist/components/salla-orders.js +294 -48
  138. package/dist/components/salla-payments.js +75 -1
  139. package/dist/components/salla-product-card2.js +50 -12
  140. package/dist/components/salla-rating-modal-v22.js +32 -3
  141. package/dist/components/salla-rating-modal2.js +2 -1
  142. package/dist/components/salla-search.js +392 -39
  143. package/dist/components/salla-searchable-dropdown2.js +4 -4
  144. package/dist/components/salla-skeleton2.js +1 -1
  145. package/dist/components/salla-social-share2.js +1 -1
  146. package/dist/components/salla-social.js +1 -1
  147. package/dist/components/salla-tab-content2.js +1 -1
  148. package/dist/components/salla-tab-header2.js +1 -1
  149. package/dist/components/salla-tabs2.js +1 -1
  150. package/dist/components/salla-tel-input2.js +1 -1
  151. package/dist/components/salla-tooltip2.js +1 -1
  152. package/dist/components/salla-trust-badges.js +2 -164
  153. package/dist/components/salla-user-settings.js +1 -1
  154. package/dist/components/salla-wishlist-actions.js +1 -1
  155. package/dist/{cjs/cart-s-x1Fshk.js → esm/cart-gFG8By9O.js} +2 -4
  156. package/dist/esm/{filepond-Dl-e9LIA.js → filepond-D5Fnwsco.js} +1 -1
  157. package/dist/esm/{filepond-plugin-file-poster-B44qzFr7.js → filepond-plugin-file-poster-BfePPO64.js} +1 -1
  158. package/dist/esm/{filepond-plugin-file-validate-size-DeewGi6D.js → filepond-plugin-file-validate-size-CVpLCDVB.js} +1 -1
  159. package/dist/esm/{filepond-plugin-file-validate-type-DquQHM9K.js → filepond-plugin-file-validate-type-BhzMnQfH.js} +1 -1
  160. package/dist/esm/{filepond-plugin-image-edit-DPSC2V4u.js → filepond-plugin-image-edit-Bvj3qwXE.js} +1 -1
  161. package/dist/esm/{filepond-plugin-image-exif-orientation-A-4MC3po.js → filepond-plugin-image-exif-orientation-NlBBLgPL.js} +1 -1
  162. package/dist/esm/{filepond-plugin-image-preview-vvc3KNls.js → filepond-plugin-image-preview-CA1k8ex-.js} +1 -1
  163. package/dist/esm/{index-BJmvvw9H.js → index-B6Lo-Jz2.js} +14 -14
  164. package/dist/esm/{intlTelInput-DFX9QeWQ.js → intlTelInput-nu7FH85H.js} +1 -1
  165. package/dist/esm/loader.js +3 -3
  166. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  167. package/dist/esm/salla-accordion_6.entry.js +21 -6
  168. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  169. package/dist/esm/salla-advertisement.entry.js +1 -1
  170. package/dist/esm/salla-alert_2.entry.js +3 -3
  171. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  172. package/dist/esm/salla-applied-filters.entry.js +1 -1
  173. package/dist/esm/salla-apps-icons.entry.js +1 -1
  174. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  175. package/dist/esm/salla-badge.entry.js +1 -1
  176. package/dist/esm/salla-basket-gap.entry.js +1 -1
  177. package/dist/esm/salla-bullet-delivery_3.entry.js +5 -5
  178. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  179. package/dist/esm/salla-cart-item-offers_2.entry.js +3 -3
  180. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  181. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  182. package/dist/esm/salla-comment-factors.entry.js +1 -1
  183. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  184. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  185. package/dist/esm/salla-contacts.entry.js +1 -1
  186. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  187. package/dist/esm/salla-count-down_2.entry.js +1 -1
  188. package/dist/esm/salla-custom-fields.entry.js +1 -1
  189. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  190. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  191. package/dist/esm/salla-filters-widget.entry.js +1 -1
  192. package/dist/esm/salla-filters.entry.js +1 -1
  193. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  194. package/dist/esm/salla-gifting.entry.js +1 -1
  195. package/dist/esm/salla-hook.entry.js +1 -1
  196. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  197. package/dist/esm/salla-installment.entry.js +1 -1
  198. package/dist/esm/salla-list-tile.entry.js +1 -1
  199. package/dist/esm/salla-localization-modal.entry.js +1 -1
  200. package/dist/esm/salla-login-modal.entry.js +1 -1
  201. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  202. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  203. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  204. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  205. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  206. package/dist/esm/salla-loyalty.entry.js +1 -1
  207. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  208. package/dist/esm/salla-map_3.entry.js +1 -1
  209. package/dist/esm/salla-menu.entry.js +1 -1
  210. package/dist/esm/salla-metadata.entry.js +1 -1
  211. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  212. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  213. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  214. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  215. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  216. package/dist/esm/salla-offer-modal.entry.js +1 -1
  217. package/dist/esm/salla-offer.entry.js +1 -1
  218. package/dist/esm/salla-order-branch.entry.js +1 -1
  219. package/dist/esm/salla-order-cancel.entry.js +1 -1
  220. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  221. package/dist/esm/salla-order-details-options.entry.js +1 -1
  222. package/dist/esm/salla-order-details.entry.js +1 -1
  223. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  224. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  225. package/dist/esm/salla-order-edit.entry.js +1 -1
  226. package/dist/esm/salla-order-shipments.entry.js +1 -1
  227. package/dist/esm/salla-order-summary.entry.js +1 -1
  228. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  229. package/dist/esm/salla-orders.entry.js +224 -46
  230. package/dist/esm/salla-payments.entry.js +76 -2
  231. package/dist/esm/salla-placeholder.entry.js +1 -1
  232. package/dist/esm/salla-price-range.entry.js +1 -1
  233. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  234. package/dist/esm/salla-product-card.entry.js +48 -13
  235. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  236. package/dist/esm/salla-products-list.entry.js +1 -1
  237. package/dist/esm/salla-products-slider.entry.js +1 -1
  238. package/dist/esm/salla-quick-order.entry.js +1 -1
  239. package/dist/esm/salla-rating-modal-v2.entry.js +33 -4
  240. package/dist/esm/salla-rating-modal.entry.js +3 -2
  241. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  242. package/dist/esm/salla-review-order-item.entry.js +1 -1
  243. package/dist/esm/salla-scopes.entry.js +1 -1
  244. package/dist/esm/salla-search.entry.js +279 -33
  245. package/dist/esm/salla-skeleton.entry.js +2 -2
  246. package/dist/esm/salla-social-share.entry.js +2 -2
  247. package/dist/esm/salla-social.entry.js +2 -2
  248. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  249. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  250. package/dist/esm/salla-tooltip.entry.js +2 -2
  251. package/dist/esm/salla-trust-badges.entry.js +3 -165
  252. package/dist/esm/salla-user-menu.entry.js +3 -3
  253. package/dist/esm/salla-user-profile.entry.js +1 -1
  254. package/dist/esm/salla-user-settings.entry.js +2 -2
  255. package/dist/esm/salla-verify.entry.js +1 -1
  256. package/dist/esm/salla-wallet.entry.js +1 -1
  257. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  258. package/dist/esm/twilight.js +3 -3
  259. package/dist/esm/{vanilla-picker-Ld2F0WbU.js → vanilla-picker-Dn7Q0By-.js} +1 -1
  260. package/dist/twilight/{p-f0c19b59.entry.js → p-00f3dc2a.entry.js} +1 -1
  261. package/dist/twilight/{p-cc3c48b4.entry.js → p-051740db.entry.js} +1 -1
  262. package/dist/twilight/{p-95b8806a.entry.js → p-05f65278.entry.js} +1 -1
  263. package/dist/twilight/{p-3ec284fd.entry.js → p-0e9845d3.entry.js} +1 -1
  264. package/dist/twilight/{p-5391291e.entry.js → p-0ea66288.entry.js} +1 -1
  265. package/dist/twilight/{p-6b3e668c.entry.js → p-0f9d25c2.entry.js} +1 -1
  266. package/dist/twilight/{p-f6e44ad6.entry.js → p-100cb969.entry.js} +1 -1
  267. package/dist/twilight/{p-b654ffbd.entry.js → p-11234d66.entry.js} +1 -1
  268. package/dist/twilight/{p-54b4dec6.entry.js → p-1546f64d.entry.js} +1 -1
  269. package/dist/twilight/{p-bd68067a.entry.js → p-191b4fa6.entry.js} +1 -1
  270. package/dist/twilight/p-19607f60.entry.js +4 -0
  271. package/dist/twilight/p-1d1bbac7.entry.js +4 -0
  272. package/dist/twilight/{p-7e7f0849.entry.js → p-1d220636.entry.js} +1 -1
  273. package/dist/twilight/{p-7d0e8486.entry.js → p-1d9aa36c.entry.js} +1 -1
  274. package/dist/twilight/{p-1b97e436.entry.js → p-257717f5.entry.js} +1 -1
  275. package/dist/twilight/{p-ec27e0f4.entry.js → p-289574f0.entry.js} +1 -1
  276. package/dist/twilight/{p-d4263617.entry.js → p-28aeea5d.entry.js} +1 -1
  277. package/dist/twilight/{p-4df9ca99.entry.js → p-29a9ff44.entry.js} +1 -1
  278. package/dist/twilight/{p-1882e5b9.entry.js → p-2cb160a8.entry.js} +1 -1
  279. package/dist/twilight/{p-d8808de5.entry.js → p-2dc5f115.entry.js} +1 -1
  280. package/dist/twilight/{p-75e126cc.entry.js → p-2de7945d.entry.js} +1 -1
  281. package/dist/twilight/{p-a1ce8d6d.entry.js → p-2ebe428c.entry.js} +1 -1
  282. package/dist/twilight/{p-45b85a45.entry.js → p-31c017ae.entry.js} +1 -1
  283. package/dist/twilight/{p-8a640353.entry.js → p-344e7a53.entry.js} +1 -1
  284. package/dist/twilight/{p-4023d48a.entry.js → p-3661b790.entry.js} +1 -1
  285. package/dist/twilight/{p-55c89592.entry.js → p-3c312812.entry.js} +1 -1
  286. package/dist/twilight/{p-e209addd.entry.js → p-3f12a3a2.entry.js} +1 -1
  287. package/dist/twilight/{p-d16a17d2.entry.js → p-400c631e.entry.js} +1 -1
  288. package/dist/twilight/{p-d9e98286.entry.js → p-44f20e64.entry.js} +1 -1
  289. package/dist/twilight/{p-5af2868f.entry.js → p-4604590c.entry.js} +1 -1
  290. package/dist/twilight/{p-5b148ad4.entry.js → p-4c422a3d.entry.js} +1 -1
  291. package/dist/twilight/{p-d5a486bb.entry.js → p-4f645457.entry.js} +1 -1
  292. package/dist/twilight/{p-5ab257bf.entry.js → p-529a60e2.entry.js} +1 -1
  293. package/dist/twilight/{p-f37147c7.entry.js → p-5a2150e8.entry.js} +1 -1
  294. package/dist/twilight/{p-e0f7a4e1.entry.js → p-5d6db148.entry.js} +1 -1
  295. package/dist/twilight/{p-4ca525cb.entry.js → p-5d6f9c3e.entry.js} +1 -1
  296. package/dist/twilight/{p-2f59ef9c.entry.js → p-5dcf8a71.entry.js} +1 -1
  297. package/dist/twilight/{p-c266feb3.entry.js → p-5f4331f0.entry.js} +1 -1
  298. package/dist/twilight/{p-91351958.entry.js → p-5ffdb544.entry.js} +1 -1
  299. package/dist/twilight/{p-c4582e2b.entry.js → p-63b48fb1.entry.js} +1 -1
  300. package/dist/twilight/{p-291d6f2b.entry.js → p-647a1b63.entry.js} +1 -1
  301. package/dist/twilight/{p-92992a1e.entry.js → p-6840449d.entry.js} +1 -1
  302. package/dist/twilight/{p-99af9a68.entry.js → p-747fdf8c.entry.js} +1 -1
  303. package/dist/twilight/{p-918eb4b7.entry.js → p-7512638e.entry.js} +1 -1
  304. package/dist/twilight/{p-6d7629ee.entry.js → p-75ba562a.entry.js} +1 -1
  305. package/dist/twilight/{p-3bba916f.entry.js → p-7639c5a8.entry.js} +1 -1
  306. package/dist/twilight/{p-e64ad9de.entry.js → p-778f38ce.entry.js} +1 -1
  307. package/dist/twilight/{p-275b49b7.entry.js → p-785ac87d.entry.js} +1 -1
  308. package/dist/twilight/{p-90d5e633.entry.js → p-78cba566.entry.js} +1 -1
  309. package/dist/twilight/{p-e0e614d1.entry.js → p-7a78cbcd.entry.js} +1 -1
  310. package/dist/twilight/{p-3eb18438.entry.js → p-7b286e8d.entry.js} +1 -1
  311. package/dist/twilight/{p-2f2956d9.entry.js → p-8284d68b.entry.js} +1 -1
  312. package/dist/twilight/{p-4af910f1.entry.js → p-86622485.entry.js} +1 -1
  313. package/dist/twilight/{p-67efee3a.entry.js → p-8ca39b58.entry.js} +1 -1
  314. package/dist/twilight/{p-12a43d43.entry.js → p-8e10a9a9.entry.js} +1 -1
  315. package/dist/twilight/{p-dff3411a.entry.js → p-8ee698cc.entry.js} +1 -1
  316. package/dist/twilight/{p-89a82ff5.entry.js → p-8f11c556.entry.js} +1 -1
  317. package/dist/twilight/p-91ab3a03.entry.js +4 -0
  318. package/dist/twilight/{p-Ye-NG0xO.js → p-9L0Aq4PZ.js} +1 -1
  319. package/dist/twilight/{p-BJmvvw9H.js → p-B6Lo-Jz2.js} +1 -1
  320. package/dist/twilight/{p-BUfrGdXG.js → p-Ble2-eBI.js} +1 -1
  321. package/dist/twilight/{p-pCB_h2Xn.js → p-BopTxsQ2.js} +1 -1
  322. package/dist/twilight/{p-SDB-lCJg.js → p-CMHD60jb.js} +1 -1
  323. package/dist/twilight/{p-DXzyepGb.js → p-CUuXQJdT.js} +1 -1
  324. package/dist/twilight/{p-DpFFhlK6.js → p-CvrBhStg.js} +1 -1
  325. package/dist/twilight/{p-BscSw0sZ.js → p-DexDAAf1.js} +1 -1
  326. package/dist/twilight/{p-CLEHV1kt.js → p-Dgq6RHqV.js} +1 -1
  327. package/dist/twilight/{p-VDJLgJLw.js → p-VJGJYEfb.js} +1 -1
  328. package/dist/twilight/p-a1035984.entry.js +4 -0
  329. package/dist/twilight/{p-74f730e1.entry.js → p-a50073b5.entry.js} +1 -1
  330. package/dist/twilight/{p-4fdc296f.entry.js → p-a82db499.entry.js} +1 -1
  331. package/dist/twilight/{p-99702306.entry.js → p-a8d3ae7e.entry.js} +1 -1
  332. package/dist/twilight/p-a8d90638.entry.js +4 -0
  333. package/dist/twilight/{p-bfb82c90.entry.js → p-abce7e02.entry.js} +1 -1
  334. package/dist/twilight/{p-ba5546ab.entry.js → p-ad12ab8c.entry.js} +1 -1
  335. package/dist/twilight/{p-427d38a0.entry.js → p-adb31a76.entry.js} +1 -1
  336. package/dist/twilight/{p-601013e8.entry.js → p-b5a68a1a.entry.js} +1 -1
  337. package/dist/twilight/{p-fdc36d7c.entry.js → p-b695db2e.entry.js} +1 -1
  338. package/dist/twilight/{p-e1cca558.entry.js → p-ba941354.entry.js} +1 -1
  339. package/dist/twilight/{p-fa1900ec.entry.js → p-bb94c4e4.entry.js} +1 -1
  340. package/dist/twilight/{p-fc0304bf.entry.js → p-bbfaf5ac.entry.js} +1 -1
  341. package/dist/twilight/{p-2815c25a.entry.js → p-be292e0b.entry.js} +1 -1
  342. package/dist/twilight/{p-cb892619.entry.js → p-be34bd30.entry.js} +1 -1
  343. package/dist/twilight/{p-cddd3975.entry.js → p-bf2f2a36.entry.js} +1 -1
  344. package/dist/twilight/p-bfa7a257.entry.js +4 -0
  345. package/dist/twilight/{p-17522796.entry.js → p-c39c8112.entry.js} +1 -1
  346. package/dist/twilight/{p-3a1fd71a.entry.js → p-c56e1aa1.entry.js} +1 -1
  347. package/dist/twilight/{p-91f9f647.entry.js → p-c8c09f5c.entry.js} +1 -1
  348. package/dist/twilight/{p-a893e7e3.entry.js → p-c8c34286.entry.js} +1 -1
  349. package/dist/twilight/{p-88045527.entry.js → p-d41903f9.entry.js} +1 -1
  350. package/dist/twilight/{p-13011571.entry.js → p-d55b86b5.entry.js} +1 -1
  351. package/dist/twilight/{p-2fddb802.entry.js → p-d72e0350.entry.js} +1 -1
  352. package/dist/twilight/{p-95918a1a.entry.js → p-d96bc0c1.entry.js} +1 -1
  353. package/dist/twilight/{p-62dfd479.entry.js → p-db9f8104.entry.js} +2 -2
  354. package/dist/twilight/p-dd734bcb.entry.js +4 -0
  355. package/dist/twilight/p-df9d5f85.entry.js +4 -0
  356. package/dist/twilight/{p-8d7bfcf6.entry.js → p-e3a45456.entry.js} +1 -1
  357. package/dist/twilight/{p-6e08f950.entry.js → p-e5169250.entry.js} +1 -1
  358. package/dist/twilight/{p-a1738bf0.entry.js → p-ea606acc.entry.js} +1 -1
  359. package/dist/twilight/{p-2ce0c4ca.entry.js → p-effc8ceb.entry.js} +1 -1
  360. package/dist/twilight/{p-0d3be88f.entry.js → p-f2fb1121.entry.js} +1 -1
  361. package/dist/twilight/{p-5527801b.entry.js → p-fa7c358f.entry.js} +1 -1
  362. package/dist/twilight/{p-DY4LZmNP.js → p-gFG8By9O.js} +1 -1
  363. package/dist/twilight/twilight.esm.js +1 -1
  364. package/dist/types/components/salla-button/salla-button.d.ts +6 -0
  365. package/dist/types/components/salla-modal/salla-modal.d.ts +5 -0
  366. package/dist/types/components/salla-orders/interface.d.ts +1 -0
  367. package/dist/types/components/salla-orders/salla-orders.d.ts +29 -2
  368. package/dist/types/components/salla-payments/salla-payments.d.ts +4 -0
  369. package/dist/types/components/salla-product-card/salla-product-card.d.ts +18 -0
  370. package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +7 -0
  371. package/dist/types/components/salla-search/interfaces.d.ts +21 -0
  372. package/dist/types/components/salla-search/salla-search.d.ts +40 -2
  373. package/dist/types/components/salla-search/utils.d.ts +19 -0
  374. package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +0 -22
  375. package/dist/types/components.d.ts +50 -0
  376. package/package.json +5 -5
  377. package/dist/twilight/p-08fa9f0b.entry.js +0 -4
  378. package/dist/twilight/p-1066a05c.entry.js +0 -4
  379. package/dist/twilight/p-11afb8be.entry.js +0 -4
  380. package/dist/twilight/p-164cb0d8.entry.js +0 -4
  381. package/dist/twilight/p-5ecc99df.entry.js +0 -4
  382. package/dist/twilight/p-acc63da6.entry.js +0 -4
  383. package/dist/twilight/p-bb082b47.entry.js +0 -4
  384. package/dist/twilight/p-f3eab493.entry.js +0 -4
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.js');
7
7
 
8
- const sallaTrustBadgesCss = "/*!twlt*/.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.flex{display:flex}.hidden{display:none}.s-trust-badges-wrapper{display:flex;align-items:center}.s-trust-badges-wrapper>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}.s-trust-badges-wrapper:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-trust-badges-label{margin-bottom:0.25rem;font-size:0.875rem;line-height:1.25rem}.s-trust-badges-number{font-size:0.875rem;line-height:1.25rem}";
8
+ const sallaTrustBadgesCss = "/*!twlt*/.s-trust-badges-wrapper{display:flex;align-items:center}.s-trust-badges-wrapper>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}.s-trust-badges-wrapper:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-trust-badges-label{margin-bottom:0.25rem;font-size:0.875rem;line-height:1.25rem}.s-trust-badges-number{font-size:0.875rem;line-height:1.25rem}";
9
9
 
10
10
  const SallaTrustBadges = class {
11
11
  constructor(hostRef) {
@@ -16,172 +16,14 @@ const SallaTrustBadges = class {
16
16
  this.dark = false;
17
17
  this.commercialRegisterLabel = '';
18
18
  this.freelanceLabel = '';
19
- this.cachedChain = [];
20
- this.enforceVisibility = () => {
21
- const host = this.hostEl;
22
- if (!host || !host.isConnected)
23
- return;
24
- const badgeData = this.getBadgeData();
25
- if (!badgeData)
26
- return;
27
- if (this.isHostVisible(host))
28
- return;
29
- for (const el of this.getAncestorChain(host)) {
30
- const computed = getComputedStyle(el);
31
- if (computed.display === 'none') {
32
- el.style.setProperty('display', 'flex', 'important');
33
- }
34
- if (computed.visibility === 'hidden' || computed.visibility === 'collapse') {
35
- el.style.setProperty('visibility', 'visible', 'important');
36
- }
37
- if (parseFloat(computed.opacity) < SallaTrustBadges.OPACITY_THRESHOLD) {
38
- el.style.setProperty('opacity', '1', 'important');
39
- }
40
- if (computed.contentVisibility === 'hidden') {
41
- el.style.setProperty('content-visibility', 'visible', 'important');
42
- }
43
- }
44
- };
45
- this.runEnforce = () => {
46
- this.clearEnforceTimers();
47
- this.enforceVisibility();
48
- };
49
19
  }
50
20
  componentWillLoad() {
51
21
  this.initializeTranslations();
52
22
  }
53
- async componentDidLoad() {
54
- await salla.onReady();
55
- if (!this.isVisibilityEnforced())
56
- return;
57
- this.setupVisibilityGuard();
58
- this.scheduleEnforce();
59
- }
60
- componentDidRender() {
61
- this.scheduleEnforce();
62
- }
63
- disconnectedCallback() {
64
- this.attrObserver?.disconnect();
65
- this.attrObserver = undefined;
66
- this.moveObserver?.disconnect();
67
- this.moveObserver = undefined;
68
- this.cachedChain = [];
69
- this.clearEnforceTimers();
70
- }
71
- // Visibility enforcement is a KSA-only legal requirement.
23
+ // The badge image is a KSA-only legal requirement.
72
24
  isVisibilityEnforced() {
73
25
  return salla.config.get('store.store_country') === 'SA';
74
26
  }
75
- getAncestorChain(host) {
76
- const chain = [];
77
- let el = host;
78
- while (el) {
79
- chain.push(el);
80
- if (el === document.documentElement)
81
- break;
82
- el = el.parentElement;
83
- }
84
- return chain;
85
- }
86
- didChainChange(host) {
87
- const now = this.getAncestorChain(host);
88
- if (now.length !== this.cachedChain.length)
89
- return true;
90
- for (let i = 0; i < now.length; i++) {
91
- if (now[i] !== this.cachedChain[i])
92
- return true;
93
- }
94
- return false;
95
- }
96
- isHostVisible(host) {
97
- return typeof host.checkVisibility === 'function'
98
- ? host.checkVisibility({
99
- contentVisibilityAuto: true,
100
- opacityProperty: true,
101
- visibilityProperty: true,
102
- })
103
- : this.isVisibleFallback(host);
104
- }
105
- isVisibleFallback(host) {
106
- let el = host;
107
- while (el) {
108
- const cs = getComputedStyle(el);
109
- if (cs.display === 'none')
110
- return false;
111
- if (cs.visibility === 'hidden' || cs.visibility === 'collapse')
112
- return false;
113
- if (parseFloat(cs.opacity) < SallaTrustBadges.OPACITY_THRESHOLD)
114
- return false;
115
- if (cs.contentVisibility === 'hidden')
116
- return false;
117
- if (el === document.documentElement)
118
- break;
119
- el = el.parentElement;
120
- }
121
- return true;
122
- }
123
- clearEnforceTimers() {
124
- if (this.enforceTimer !== undefined) {
125
- clearTimeout(this.enforceTimer);
126
- this.enforceTimer = undefined;
127
- }
128
- if (this.maxWaitTimer !== undefined) {
129
- clearTimeout(this.maxWaitTimer);
130
- this.maxWaitTimer = undefined;
131
- }
132
- }
133
- scheduleEnforce() {
134
- if (!this.isVisibilityEnforced())
135
- return;
136
- // Debounce waits for an entrance animation to settle; maxWait bounds it so endless chain mutations can't starve the repair.
137
- if (this.enforceTimer !== undefined)
138
- clearTimeout(this.enforceTimer);
139
- this.enforceTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_DEBOUNCE_MS);
140
- if (this.maxWaitTimer === undefined) {
141
- this.maxWaitTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_MAX_WAIT_MS);
142
- }
143
- }
144
- setupVisibilityGuard() {
145
- const host = this.hostEl;
146
- if (!host || typeof MutationObserver === 'undefined')
147
- return;
148
- this.attrObserver?.disconnect();
149
- this.moveObserver?.disconnect();
150
- this.attrObserver = new MutationObserver(() => {
151
- const h = this.hostEl;
152
- if (!h || !h.isConnected)
153
- return;
154
- if (this.isHostVisible(h))
155
- return;
156
- this.scheduleEnforce();
157
- });
158
- this.attachAttrObserver(host);
159
- this.moveObserver = new MutationObserver(() => {
160
- const h = this.hostEl;
161
- if (!h || !h.isConnected)
162
- return;
163
- if (!this.didChainChange(h))
164
- return;
165
- this.attachAttrObserver(h);
166
- this.scheduleEnforce();
167
- });
168
- this.moveObserver.observe(document.documentElement, {
169
- childList: true,
170
- subtree: true,
171
- });
172
- }
173
- attachAttrObserver(host) {
174
- if (!this.attrObserver)
175
- return;
176
- this.attrObserver.disconnect();
177
- this.cachedChain = this.getAncestorChain(host);
178
- for (const el of this.cachedChain) {
179
- this.attrObserver.observe(el, {
180
- attributes: true,
181
- attributeFilter: ['style', 'class', 'hidden'],
182
- });
183
- }
184
- }
185
27
  initializeTranslations() {
186
28
  salla.lang.onLoaded(() => {
187
29
  // Set translations synchronously
@@ -229,11 +71,7 @@ const SallaTrustBadges = class {
229
71
  }
230
72
  return (index.h(index.Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, this.isVisibilityEnforced() ? index.h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }) : null, index.h("div", { class: "s-trust-badges-content" }, index.h("p", { class: "s-trust-badges-label" }, badgeData.label), index.h("b", { class: "s-trust-badges-number" }, badgeData.number))));
231
73
  }
232
- get hostEl() { return index.getElement(this); }
233
74
  };
234
- SallaTrustBadges.OPACITY_THRESHOLD = 0.1;
235
- SallaTrustBadges.ENFORCE_DEBOUNCE_MS = 1500;
236
- SallaTrustBadges.ENFORCE_MAX_WAIT_MS = 3000;
237
75
  SallaTrustBadges.style = sallaTrustBadgesCss;
238
76
 
239
77
  exports.salla_trust_badges = SallaTrustBadges;
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.js');
7
7
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
8
8
  var bellRing = require('./bell-ring-BfKPinNo.js');
9
- var cart = require('./cart-s-x1Fshk.js');
9
+ var cart = require('./cart-DSvlJXCH.js');
10
10
  var star = require('./star-DMzrN05M.js');
11
11
  var cancel = require('./cancel-De6vslRA.js');
12
12
  var star2 = require('./star2-R146a27p.js');
@@ -108,7 +108,7 @@ const SallaUserMenu = class {
108
108
  this.items = {
109
109
  notifications: bellRing.BellRing,
110
110
  orders: OrderIcon,
111
- pending_orders: cart.PendingOrdersIcon,
111
+ pending_orders: cart.Cart,
112
112
  wishlist: star.Star,
113
113
  wallet: WalletIcon,
114
114
  loyalty_points: gift.loyaltyProgramIcon,
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.js');
7
7
  var interfaces = require('./interfaces-CRqrf5RX.js');
8
8
 
9
9
  const sallaUserProfileCss = "/*!twlt*/:host{display:block}.form-input{height:2.5rem;width:100%;border-radius:0.375rem;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.form-input:focus{border-color:var(--color-primary);--tw-ring-color:transparent}.form-input:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.form-input:focus:is(.dark *){border-color:var(--color-primary)}@media (min-width: 640px){.form-input{font-size:0.875rem;line-height:1.25rem}}.s-user-profile-wrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:1.5rem}@media (min-width: 640px){.s-user-profile-wrapper{grid-template-columns:repeat(2, minmax(0, 1fr));gap:2rem}}.s-user-profile-field-label{margin-bottom:0.5rem;display:block;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-user-profile-field-error{--tw-text-opacity:1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.s-user-profile-submit{margin-top:1.5rem;width:100%}.s-user-profile-filepond-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}.s-user-profile-filepond-placeholder-icon{margin-bottom:0.25rem}.s-user-profile-filepond-placeholder-icon svg{height:1.5rem;width:1.5rem;fill:#7c8082}.s-user-profile-skeleton-wrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:repeat(3, minmax(0, 1fr));gap:3rem}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.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">
@@ -556,7 +556,7 @@ const SallaUserSettings = class {
556
556
  return (index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
557
557
  }
558
558
  render() {
559
- return (index.h(index.Host, { key: '8a30c7a63785447ce4b5a37233a851056489b7a0', class: "s-user-settings-wrapper" }, this.canHideName && (index.h("div", { key: 'df325aab1249e9c6fbae8c9218cebe44cf3c627a', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '00b155f3cbdb38b97baaebc81b2f3f8ae41926c9' }, index.h("div", { key: '79e8eaf77e59e8228bc8a68adb55975a1400aea0', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '98e985a057595b1e136d77c8bda2951fb82b1d3e', innerHTML: UserCancel })), index.h("div", { key: '9c05bf47eda1764880948705b1c78af50b973c94', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '4656a31e4818d1a0678400408c1082f5e738f764', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '636e6882149c8b692c01cb97ece48014bf284631', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: '5633324ba6128911e955fbf53774f324a37ff136', class: "s-toggle" }, index.h("input", { key: 'cae5ee95e39ffc7ff3a1ecb86ca8cae9dc9583d9', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: 'd0cdd16ca6104f73f1653088cdf43d7a1d10da34', class: "s-toggle-switcher" })))))), index.h("div", { key: '781043a116e44c9e60c127faf121f59c010fad17', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '72784431a6acd24d12a2a66e9563c603900a1f4d' }, index.h("div", { key: '0f5ec3452bfb20918b44d99aad5146c2a8595286', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'cef5ba0f4cd4e64f995e654b0f566a11ed2e2f48', innerHTML: Bullhorn })), index.h("div", { key: '8632c4f75da95d01a2cbb8a89c415c3bdd6c10ff', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: 'd93b1336e6d09e32d620376083bc704e1edac337', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '7c4f5a8102521d98a230dec0b92ded0a37ff8eea', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: '1b3419f9c933f1e20540fc70a79bdeba338e3dc6', class: "s-toggle" }, index.h("input", { key: '87ceb43f847b99552566579e2d0d878dbc8bf80a', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '15ddef5bcefe2b062983b0021cfaf03ad9f6cf95', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (index.h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (index.h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { innerHTML: UserOff })), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (index.h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (index.h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, index.h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (index.h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, index.h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { class: "s-user-settings-confirmation" }, index.h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
559
+ return (index.h(index.Host, { key: 'ec31f48a8214240020804541d58e1745c429f2a5', class: "s-user-settings-wrapper" }, this.canHideName && (index.h("div", { key: '1a4fb3a3e47729891772838df0dca41f52e5d017', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'f965243eca4953d588ea6ef27a581f00839482ff' }, index.h("div", { key: 'd08fb75de39b78c02455b9ede326e0563a675762', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '4bacfb410376c98a14c7289968293a5c06520bbd', innerHTML: UserCancel })), index.h("div", { key: '61bbccd47940a87db9faee8a6a305aff0b5f0783', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '3b02ec766d677d37d09df8ae91fae883b3e8b35d', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: 'da7358399c5e1e8a94082585820f44e2de9d352d', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: 'f64e96e150cd78ed41b104d845774ae31187a33e', class: "s-toggle" }, index.h("input", { key: '69b07baebf7c0869c37b29a920851be99dbfddc8', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '94e8675dcb56084c0581fb26f96ce0122c8898e5', class: "s-toggle-switcher" })))))), index.h("div", { key: '940db4113264ca36dc5283d17597a85d85c4b5b4', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'f6c8e5cbebb295826be0bfac8ae427df9cf692bf' }, index.h("div", { key: 'c81a3c392df36b97777d74521482266a9444a79c', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '1a5a19818579890be2ecb12848e30cf034f8569b', innerHTML: Bullhorn })), index.h("div", { key: '5849731b90184af7225d120b5e1077e49301e379', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '3aeda4ebfa9715d81272dd4be1e5b223f43d79fe', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '60db45c279de365c10ae40ba486afd8609f5d2b2', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: '1b855ffd24570fe90badbd18bbab2c8032f320b7', class: "s-toggle" }, index.h("input", { key: '9cdd0d736ed9baf0f5628803a9a4b93c5389cc51', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '35ba9556185bb4991fc91b343573e723cd888115', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (index.h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (index.h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { innerHTML: UserOff })), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (index.h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (index.h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, index.h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (index.h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, index.h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { class: "s-user-settings-confirmation" }, index.h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
560
560
  }
561
561
  };
562
562
  SallaUserSettings.style = sallaUserSettingsCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.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-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.js');
7
7
 
8
8
  const sallaWalletCss = "/*!twlt*/.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}.absolute{position:absolute}.relative{position:relative}.flex{display:flex}.table{display:table}.hidden{display:none}.items-center{align-items:center}.p-3{padding:0.75rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.625rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}}.s-wallet-mobile-title{display:inline-block;width:8rem;font-weight:400;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.s-wallet-mobile-title{display:none}}.s-wallet-reference-id{display:none}@media (min-width: 768px){.s-wallet-reference-id{display:inline-block}}.s-wallet-buy-as-gift-icon{margin-left:0.25rem;margin-right:0.25rem;display:inline-block;color:var(--color-primary)}.s-wallet-copy-to-clipboard-button{display:flex;align-items:center}@media (min-width: 768px){.s-wallet-copy-to-clipboard-button{display:none}}.s-wallet-copy-to-clipboard-button salla-button{position:relative}.s-wallet-copy-to-clipboard-button-icon{pointer-events:none;font-size:0.75rem;line-height:1rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:0.25rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:0.25rem}@media (min-width: 768px){.s-wallet-status-container{margin-left:0px;margin-right:0px}}.s-wallet-status-container:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.s-wallet-status-container:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}.s-wallet-status-container i{margin-top:0.25rem}.s-wallet-status-container i:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0.25rem}.s-wallet-status-container i:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0.25rem}.s-wallet-rated-text{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.s-wallet-unrated-text{--tw-text-opacity:1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.s-wallet-no-content{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding-top:2.5rem;padding-bottom:5rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-no-content .icon{margin-bottom:1rem;display:flex;height:8rem;width:8rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));font-size:3rem;line-height:1;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-wallet-no-content p{margin-bottom:1rem;font-size:1rem;line-height:1.5rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-wallet-table{min-width:100%;border-collapse:separate}@media (min-width: 768px){.s-wallet-table{margin-bottom:-0.75rem;--tw-border-spacing-y:1.25rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}}.s-wallet-table-head{margin-bottom:1.25rem;display:none;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}@media (min-width: 768px){.s-wallet-table-head{display:table-header-group}}.s-wallet-table-head-tr-th{padding-left:1.5rem;padding-right:1.5rem;text-align:start;font-size:0.875rem;line-height:1.25rem;font-weight:500;text-transform:uppercase;letter-spacing:0.05em}.s-wallet-table-head-tr-th:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:left}.s-wallet-table-head-tr-th:last-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:right}.s-wallet-table-head-tr-th:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}.s-wallet-table-head-tr-th:last-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:left}.s-wallet-table-tbody-tr{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden;border-radius:var(--s-radius, 0.25rem);border-bottom-width:8px;border-top-width:8px;--tw-border-opacity:1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.5rem;transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:500ms}@media (min-width: 768px){.s-wallet-table-tbody-tr{display:table-row;flex-direction:row;flex-wrap:nowrap;padding:0px}}.s-wallet-table-tbody-tr-td{width:100%;white-space:nowrap;font-size:0.875rem;line-height:1.25rem}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}@media (min-width: 768px){.s-wallet-table-tbody-tr-td{height:5rem;width:auto}.s-wallet-table-tbody-tr-td:last-child{text-align:end}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){border-top-left-radius:0.375rem;border-bottom-left-radius:0.375rem}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){border-top-right-radius:0.375rem;border-bottom-right-radius:0.375rem}}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}.s-wallet-table-tbody-tr-td-content{position:relative;display:flex;align-items:center;justify-content:space-between;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.25rem;padding-bottom:0.25rem;font-size:0.75rem;line-height:1rem}@media (min-width: 768px){.s-wallet-table-tbody-tr-td-content{padding-left:1.5rem;padding-right:1.5rem;padding-top:1.5rem;padding-bottom:1.5rem}}.s-wallet-table-tbody-tr-td-content:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-right:0.5rem}.s-wallet-table-tbody-tr-td-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:0.5rem}.s-wallet-table-tbody-tr a{position:absolute;top:0px;bottom:0px;display:block;width:100%}.s-wallet-table-tbody-tr a:where([dir=\"ltr\"],[dir=\"ltr\"] *){left:0px}.s-wallet-table-tbody-tr a:where([dir=\"rtl\"],[dir=\"rtl\"] *){right:0px}@media (min-width: 768px){.md\\:mx-0{margin-left:0px;margin-right:0px}.md\\:inline-block{display:inline-block}.md\\:hidden{display:none}}.ltr\\:ml-auto:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.ltr\\:mr-4:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:1rem}.rtl\\:ml-4:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:1rem}.rtl\\:mr-auto:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DyL5Ypj3.js');
6
+ var index = require('./index-BkcJlC9S.js');
7
7
 
8
8
  const sallaWishlistActionsCss = "/*!twlt*/:host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}.static{position:static}.absolute{position:absolute}.relative{position:relative}.z-20{z-index:20}.mb-3{margin-bottom:0.75rem}.mt-1{margin-top:0.25rem}.mt-3{margin-top:0.75rem}.flex{display:flex}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.gap-3{gap:0.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:0.5rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-4{padding:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}";
9
9
 
@@ -319,7 +319,7 @@ const SallaWishlistActions = class {
319
319
  }
320
320
  }
321
321
  render() {
322
- return (index.h(index.Host, { key: '7987635ec115238927e9e24ec619beaa10a620e2' }, index.h("div", { key: 'f9379be51dee5e10f631750134af6b02a7461295', class: "s-wishlist-actions" }, index.h("div", { key: '1f336e2524dabf609fc65356ae4eeb668d375a6d', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, index.h("div", { key: '1462f1ebc6849c4153bd6955e5d12ebcb60d8ca7', class: "s-wishlist-actions-dropdown relative" }, index.h("salla-button", { key: '79bd2853a3b93f2b346427b0540f3f597b6b4d8d', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, index.h("div", { key: '6c38209e408858a00b8d8a6d103041d2f6b14f20', class: "flex flex-row justify-center items-center gap-2" }, index.h("svg", { key: '0e33ffa3d17779ac49b691619038fbfb0f104d4b', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'db0eddec152f4e9b58424391f76617af3a180f50', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-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.667zM26.667 29.333c-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" })), this.shareLabel, index.h("svg", { key: '39a8994a5264fade475e2aaf85c370ea62afb19f', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: '9640320e0151200f147fd15f9b9de72c373fe51e', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (index.h("ul", { key: '11897d1e87a4cff34da00cdeb977479970a3aa65', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, index.h("li", { key: '814dbe73e5489013a75c7cf1101fabc7798ad8c2' }, index.h("button", { key: '969a4d65f6c82ff56aaad3533fce931d6766761b', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), index.h("li", { key: '142c11ce52add508bcfcec5da6817670b9777d70' }, index.h("button", { key: 'cc68d65e7fbf2a7894d51c13bb479f2272adbd92', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), index.h("salla-social-share", { key: '1a5f6ace554045f0219b596ba94b67391fb6e58e', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, index.h("span", { key: '70a2689d82a23f084fe4fc23585069b2b33338a8', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (index.h("div", { key: '4644716c98903805f2450ad82d64812937228563', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, index.h("label", { key: 'ff8e39fa812166ee319ccca7d65cfc0dc17eb04b', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, index.h("input", { key: 'e0454096dc9ef378e66ac316c775b453628ebfb4', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), index.h("span", { key: 'c77ff8c38230e424bba05bf4e7439020f65da903', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), index.h("div", { key: 'bfb5d90f041f08da9828de70ecd73266adc9e9ce', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, index.h("salla-button", { key: 'cfbfc51124d6d3119a5491b6d2a684498f47e0c8', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), index.h("salla-button", { key: '1f692ded66974de621d949382044d65145175730', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
322
+ return (index.h(index.Host, { key: 'f98d4568e05ea8ada4b2128764ece4b8ecf0e9b1' }, index.h("div", { key: '178e589f317fc00edfc2d96cb8d9b50313271061', class: "s-wishlist-actions" }, index.h("div", { key: 'be8dd06107f7771e665ae7bb5662a98ef6ed844f', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, index.h("div", { key: '4b22a0f0b996013adc598b4b5c7a7e85f59ae9cb', class: "s-wishlist-actions-dropdown relative" }, index.h("salla-button", { key: 'beb6be8e267af9b64fb8986a00cbe582d3089bca', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, index.h("div", { key: '11a5a5f0817b073fd77f843eeaea7821fe39b603', class: "flex flex-row justify-center items-center gap-2" }, index.h("svg", { key: '5b7bbbcc99d112e2fc8c22370c086cc07096f671', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'df1dfe257dab464c24bf4c30ed40013fbf9bb6bb', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-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.667zM26.667 29.333c-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" })), this.shareLabel, index.h("svg", { key: '288e753722bd5001240cb9a20b766268343a1a2b', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'c3b23ff2f73fb4d8dda9ecf7e66c672db22af1f1', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (index.h("ul", { key: '168954288e17549aca31b030701b2527f3dfe29a', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, index.h("li", { key: '233853081fe20fbe460c8a59cd986346bdf86a7e' }, index.h("button", { key: '51503bb20856bc0db7256fdad7e14782218c2d8b', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), index.h("li", { key: '3de41498ab832ca59b13eb3ceacea085bd739c99' }, index.h("button", { key: '02f19350401c0cea15cf4fbfb40b9fd3201a775f', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), index.h("salla-social-share", { key: '5b50b216a0b3f26705bfb9d5fb08289171bfb9db', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, index.h("span", { key: 'a0526c7a5a42b3d227e8ee60ccae567539a78b32', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (index.h("div", { key: 'a4674671b6ebb3f24a89175094c179e28edd5356', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, index.h("label", { key: 'ac840ff8d4097a8a8a88a7b2b69616a2774a34ca', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, index.h("input", { key: 'e237aad2710b60f89a063851c5073973bcfcde16', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), index.h("span", { key: 'f843c9b25131632ecd59b82848105dbc0d60e050', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), index.h("div", { key: 'aebdee1c3b1128bde388ad3525ddb8b8e2224f6c', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, index.h("salla-button", { key: 'cc978cf0b71194497525e691da25809246bbf15e', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), index.h("salla-button", { key: '06693bd6ecea8b470bf63c7de4f5e0ffad4dd96b', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
323
323
  }
324
324
  get host() { return index.getElement(this); }
325
325
  };