@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
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: '7b36da96585cfefe9aa96df6262be14f6a03c585', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '568ae1bc0aeae182bb32468b19601c0245e9617d', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: '363b803ca0428a575313a96b569ddab7f67b3703', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: 'bd1e4607e4753ef8b148a125b8d9bc60ca20dc72', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -383,7 +383,7 @@ const SallaSocialShare = /*@__PURE__*/ proxyCustomElement(class SallaSocialShare
383
383
  })));
384
384
  }
385
385
  render() {
386
- return (h("div", { key: 'cd2d10a50c7d07fb261471e7ca8e81891bc489e9', class: "s-social-share-wrapper" }, h("slot", { key: '94627cdb3aa11d3844c984d8890b13dc7e1f0e3c', name: "widget" }, h("salla-button", { key: '3b5ea25966484669a935e62ccbc3d383078337d8', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '3de3ea0b6f4843a24eeab1f7d6f0be3c8f85de41', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
386
+ return (h("div", { key: '4de560059da2e2dd232bbcd693cd8ad937da9c8e', class: "s-social-share-wrapper" }, h("slot", { key: '7ab0a6d03088e0c741c5f432c6c8991db1f0e7b8', name: "widget" }, h("salla-button", { key: '574fc864d8552114ead6061740581d72521fd38d', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'c8456382fec13bf8b9a429ca199780b242d7992e', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
387
387
  }
388
388
  get host() { return this; }
389
389
  static get watchers() { return {
@@ -56,7 +56,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
56
56
  }
57
57
  render() {
58
58
  const linksArray = this.getLinksArray();
59
- return (h(Host, { key: 'e7d69dbae46ef54588471875ada751103d14d393' }, h("ul", { key: 'ff4b15127e6664cca17fa7f6f49e4cda25829d74', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
+ return (h(Host, { key: 'd084cee5461e8e68ca735b86b6d453fe761280ad' }, h("ul", { key: 'e83912816c1b2f2ec1f00f1991b2ca1afd21ffe5', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
60
  .replace(/\{icon\}/g, this.iconsList[link.type])
61
61
  .replace(/\{type\}/g, link.type)
62
62
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: 'f5cfa9676bc8314149cb78e103b9ef580c0d7559', class: classes }, h("slot", { key: '1b86591377c09f1acb25cda20024b3af9c6a874d' })));
35
+ return (h("div", { key: '12884a255f05baac9d70e8b0d2144a369fdd3cfc', class: classes }, h("slot", { key: '331d86d51ec576614e69e7190ab3cd9c31ed9117' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: 'a9548ed2a74d30e6fcf365dbe26aa5f7fdab2468', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '547edd40aab5843c6035bd3c36a34d9449dc12d3' })),
61
+ h("div", { key: 'd9f961d47da1347b5b5f4677b3a3905f073b7b63', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '056593968bd13d806fa34a481e5ab773e23e8084' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: 'e9054cb114c2bd66940b6afa98d7c7c230353a74', class: "s-tabs" }, h("div", { key: 'd245f64aef9b7fd77c9c51eb1d86ddfd9202e5fb', class: "s-tabs-header" }, h("slot", { key: 'f1b9a982cd746d637db5d514cb691f188af0cb7e', name: "header" })), h("div", { key: '0ba8441707b087a8c4d068b1a72bf10c8efb41cc', class: "s-tabs-content-wrapper" }, h("slot", { key: 'afcee28724a5a9ce263fcc3a38d624a631069945', name: "content" })))
54
+ h("div", { key: '84647185ccebd52494bfff8cf9468a833dfda468', class: "s-tabs" }, h("div", { key: 'bfec0faae20e236920197fc9a518cb3fae7e820e', class: "s-tabs-header" }, h("slot", { key: '51c0297a5c75395e867e7621780fd030253393dc', name: "header" })), h("div", { key: 'b3c155ba7de23b62de2f23d0b3ac4232937f7a57', class: "s-tabs-content-wrapper" }, h("slot", { key: '2d1d90a7bed705c01efb05a8ab1ea5be543d71dc', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -144,7 +144,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
144
144
  }
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: '1b928e13a8d7784cba93a8a9295d5e2da59380ec', class: "s-tel-input" }, h("input", { key: '351a4e2ba8865b613a7c52127ef312f834116a59', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'cac78f5eede19008d46a126c8c96cd963947de1f', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '7aedcb3f86d491f4789226f12812c7023d749eba', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
147
+ return (h(Host, { key: '6e279f9a491d7ee129f4ccb7f64017c17bbb2229', class: "s-tel-input" }, h("input", { key: '5b0eabc113b9a766218be76e055d2cbc2f83365a', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'f609b8bf28bceb61d06f9eaf3d06c26a4cabcc4e', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '10bc24025a5932b85bfa5a1ede6e203e33dddb6f', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
148
148
  }
149
149
  componentDidLoad() {
150
150
  this.initPromise = this.initTelInput();
@@ -32,7 +32,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
32
32
  }
33
33
  render() {
34
34
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
35
- return (h("div", { key: '84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca', class: "s-tooltip-container" }, h("div", { key: '59d3bac320e20f99de1c4bf49531a61962190efc', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
35
+ return (h("div", { key: 'c2172752ccc5634d2223042d359571d4ba4e6816', class: "s-tooltip-container" }, h("div", { key: 'b37b92c725bdad1ff3fc10caedd2fe98b506f5e7', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
36
36
  }
37
37
  get el() { return this; }
38
38
  static get style() { return sallaTooltipCss; }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
5
 
6
- 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}";
6
+ 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}";
7
7
 
8
8
  const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadges extends HTMLElement {
9
9
  constructor() {
@@ -15,172 +15,14 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
15
15
  this.dark = false;
16
16
  this.commercialRegisterLabel = '';
17
17
  this.freelanceLabel = '';
18
- this.cachedChain = [];
19
- this.enforceVisibility = () => {
20
- const host = this.hostEl;
21
- if (!host || !host.isConnected)
22
- return;
23
- const badgeData = this.getBadgeData();
24
- if (!badgeData)
25
- return;
26
- if (this.isHostVisible(host))
27
- return;
28
- for (const el of this.getAncestorChain(host)) {
29
- const computed = getComputedStyle(el);
30
- if (computed.display === 'none') {
31
- el.style.setProperty('display', 'flex', 'important');
32
- }
33
- if (computed.visibility === 'hidden' || computed.visibility === 'collapse') {
34
- el.style.setProperty('visibility', 'visible', 'important');
35
- }
36
- if (parseFloat(computed.opacity) < SallaTrustBadges.OPACITY_THRESHOLD) {
37
- el.style.setProperty('opacity', '1', 'important');
38
- }
39
- if (computed.contentVisibility === 'hidden') {
40
- el.style.setProperty('content-visibility', 'visible', 'important');
41
- }
42
- }
43
- };
44
- this.runEnforce = () => {
45
- this.clearEnforceTimers();
46
- this.enforceVisibility();
47
- };
48
18
  }
49
19
  componentWillLoad() {
50
20
  this.initializeTranslations();
51
21
  }
52
- async componentDidLoad() {
53
- await salla.onReady();
54
- if (!this.isVisibilityEnforced())
55
- return;
56
- this.setupVisibilityGuard();
57
- this.scheduleEnforce();
58
- }
59
- componentDidRender() {
60
- this.scheduleEnforce();
61
- }
62
- disconnectedCallback() {
63
- this.attrObserver?.disconnect();
64
- this.attrObserver = undefined;
65
- this.moveObserver?.disconnect();
66
- this.moveObserver = undefined;
67
- this.cachedChain = [];
68
- this.clearEnforceTimers();
69
- }
70
- // Visibility enforcement is a KSA-only legal requirement.
22
+ // The badge image is a KSA-only legal requirement.
71
23
  isVisibilityEnforced() {
72
24
  return salla.config.get('store.store_country') === 'SA';
73
25
  }
74
- getAncestorChain(host) {
75
- const chain = [];
76
- let el = host;
77
- while (el) {
78
- chain.push(el);
79
- if (el === document.documentElement)
80
- break;
81
- el = el.parentElement;
82
- }
83
- return chain;
84
- }
85
- didChainChange(host) {
86
- const now = this.getAncestorChain(host);
87
- if (now.length !== this.cachedChain.length)
88
- return true;
89
- for (let i = 0; i < now.length; i++) {
90
- if (now[i] !== this.cachedChain[i])
91
- return true;
92
- }
93
- return false;
94
- }
95
- isHostVisible(host) {
96
- return typeof host.checkVisibility === 'function'
97
- ? host.checkVisibility({
98
- contentVisibilityAuto: true,
99
- opacityProperty: true,
100
- visibilityProperty: true,
101
- })
102
- : this.isVisibleFallback(host);
103
- }
104
- isVisibleFallback(host) {
105
- let el = host;
106
- while (el) {
107
- const cs = getComputedStyle(el);
108
- if (cs.display === 'none')
109
- return false;
110
- if (cs.visibility === 'hidden' || cs.visibility === 'collapse')
111
- return false;
112
- if (parseFloat(cs.opacity) < SallaTrustBadges.OPACITY_THRESHOLD)
113
- return false;
114
- if (cs.contentVisibility === 'hidden')
115
- return false;
116
- if (el === document.documentElement)
117
- break;
118
- el = el.parentElement;
119
- }
120
- return true;
121
- }
122
- clearEnforceTimers() {
123
- if (this.enforceTimer !== undefined) {
124
- clearTimeout(this.enforceTimer);
125
- this.enforceTimer = undefined;
126
- }
127
- if (this.maxWaitTimer !== undefined) {
128
- clearTimeout(this.maxWaitTimer);
129
- this.maxWaitTimer = undefined;
130
- }
131
- }
132
- scheduleEnforce() {
133
- if (!this.isVisibilityEnforced())
134
- return;
135
- // Debounce waits for an entrance animation to settle; maxWait bounds it so endless chain mutations can't starve the repair.
136
- if (this.enforceTimer !== undefined)
137
- clearTimeout(this.enforceTimer);
138
- this.enforceTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_DEBOUNCE_MS);
139
- if (this.maxWaitTimer === undefined) {
140
- this.maxWaitTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_MAX_WAIT_MS);
141
- }
142
- }
143
- setupVisibilityGuard() {
144
- const host = this.hostEl;
145
- if (!host || typeof MutationObserver === 'undefined')
146
- return;
147
- this.attrObserver?.disconnect();
148
- this.moveObserver?.disconnect();
149
- this.attrObserver = new MutationObserver(() => {
150
- const h = this.hostEl;
151
- if (!h || !h.isConnected)
152
- return;
153
- if (this.isHostVisible(h))
154
- return;
155
- this.scheduleEnforce();
156
- });
157
- this.attachAttrObserver(host);
158
- this.moveObserver = new MutationObserver(() => {
159
- const h = this.hostEl;
160
- if (!h || !h.isConnected)
161
- return;
162
- if (!this.didChainChange(h))
163
- return;
164
- this.attachAttrObserver(h);
165
- this.scheduleEnforce();
166
- });
167
- this.moveObserver.observe(document.documentElement, {
168
- childList: true,
169
- subtree: true,
170
- });
171
- }
172
- attachAttrObserver(host) {
173
- if (!this.attrObserver)
174
- return;
175
- this.attrObserver.disconnect();
176
- this.cachedChain = this.getAncestorChain(host);
177
- for (const el of this.cachedChain) {
178
- this.attrObserver.observe(el, {
179
- attributes: true,
180
- attributeFilter: ['style', 'class', 'hidden'],
181
- });
182
- }
183
- }
184
26
  initializeTranslations() {
185
27
  salla.lang.onLoaded(() => {
186
28
  // Set translations synchronously
@@ -228,16 +70,12 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
228
70
  }
229
71
  return (h(Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, this.isVisibilityEnforced() ? h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }) : null, h("div", { class: "s-trust-badges-content" }, h("p", { class: "s-trust-badges-label" }, badgeData.label), h("b", { class: "s-trust-badges-number" }, badgeData.number))));
230
72
  }
231
- get hostEl() { return this; }
232
73
  static get style() { return sallaTrustBadgesCss; }
233
74
  }, [0, "salla-trust-badges", {
234
75
  "dark": [4],
235
76
  "commercialRegisterLabel": [32],
236
77
  "freelanceLabel": [32]
237
78
  }]);
238
- SallaTrustBadges$1.OPACITY_THRESHOLD = 0.1;
239
- SallaTrustBadges$1.ENFORCE_DEBOUNCE_MS = 1500;
240
- SallaTrustBadges$1.ENFORCE_MAX_WAIT_MS = 3000;
241
79
  function defineCustomElement$1() {
242
80
  if (typeof customElements === "undefined") {
243
81
  return;
@@ -559,7 +559,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
559
559
  return (h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
560
560
  }
561
561
  render() {
562
- return (h(Host, { key: '8a30c7a63785447ce4b5a37233a851056489b7a0', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: 'df325aab1249e9c6fbae8c9218cebe44cf3c627a', class: "s-user-settings-section" }, h("salla-list-tile", { key: '00b155f3cbdb38b97baaebc81b2f3f8ae41926c9' }, h("div", { key: '79e8eaf77e59e8228bc8a68adb55975a1400aea0', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '98e985a057595b1e136d77c8bda2951fb82b1d3e', innerHTML: UserCancel })), h("div", { key: '9c05bf47eda1764880948705b1c78af50b973c94', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '4656a31e4818d1a0678400408c1082f5e738f764', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '636e6882149c8b692c01cb97ece48014bf284631', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '5633324ba6128911e955fbf53774f324a37ff136', class: "s-toggle" }, h("input", { key: 'cae5ee95e39ffc7ff3a1ecb86ca8cae9dc9583d9', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: 'd0cdd16ca6104f73f1653088cdf43d7a1d10da34', class: "s-toggle-switcher" })))))), h("div", { key: '781043a116e44c9e60c127faf121f59c010fad17', class: "s-user-settings-section" }, h("salla-list-tile", { key: '72784431a6acd24d12a2a66e9563c603900a1f4d' }, h("div", { key: '0f5ec3452bfb20918b44d99aad5146c2a8595286', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'cef5ba0f4cd4e64f995e654b0f566a11ed2e2f48', innerHTML: Bullhorn })), h("div", { key: '8632c4f75da95d01a2cbb8a89c415c3bdd6c10ff', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: 'd93b1336e6d09e32d620376083bc704e1edac337', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '7c4f5a8102521d98a230dec0b92ded0a37ff8eea', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '1b3419f9c933f1e20540fc70a79bdeba338e3dc6', class: "s-toggle" }, h("input", { key: '87ceb43f847b99552566579e2d0d878dbc8bf80a', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '15ddef5bcefe2b062983b0021cfaf03ad9f6cf95', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, h("span", { innerHTML: UserOff })), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (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' ? (h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { class: "s-user-settings-confirmation" }, h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { class: "s-user-settings-confirmation-actions" }, h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
562
+ return (h(Host, { key: 'ec31f48a8214240020804541d58e1745c429f2a5', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: '1a4fb3a3e47729891772838df0dca41f52e5d017', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'f965243eca4953d588ea6ef27a581f00839482ff' }, h("div", { key: 'd08fb75de39b78c02455b9ede326e0563a675762', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '4bacfb410376c98a14c7289968293a5c06520bbd', innerHTML: UserCancel })), h("div", { key: '61bbccd47940a87db9faee8a6a305aff0b5f0783', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '3b02ec766d677d37d09df8ae91fae883b3e8b35d', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'da7358399c5e1e8a94082585820f44e2de9d352d', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: 'f64e96e150cd78ed41b104d845774ae31187a33e', class: "s-toggle" }, h("input", { key: '69b07baebf7c0869c37b29a920851be99dbfddc8', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '94e8675dcb56084c0581fb26f96ce0122c8898e5', class: "s-toggle-switcher" })))))), h("div", { key: '940db4113264ca36dc5283d17597a85d85c4b5b4', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'f6c8e5cbebb295826be0bfac8ae427df9cf692bf' }, h("div", { key: 'c81a3c392df36b97777d74521482266a9444a79c', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '1a5a19818579890be2ecb12848e30cf034f8569b', innerHTML: Bullhorn })), h("div", { key: '5849731b90184af7225d120b5e1077e49301e379', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '3aeda4ebfa9715d81272dd4be1e5b223f43d79fe', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '60db45c279de365c10ae40ba486afd8609f5d2b2', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '1b855ffd24570fe90badbd18bbab2c8032f320b7', class: "s-toggle" }, h("input", { key: '9cdd0d736ed9baf0f5628803a9a4b93c5389cc51', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '35ba9556185bb4991fc91b343573e723cd888115', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, h("span", { innerHTML: UserOff })), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (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' ? (h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { class: "s-user-settings-confirmation" }, h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { class: "s-user-settings-confirmation-actions" }, h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
563
563
  }
564
564
  static get style() { return sallaUserSettingsCss; }
565
565
  }, [0, "salla-user-settings", {
@@ -320,7 +320,7 @@ const SallaWishlistActions$1 = /*@__PURE__*/ proxyCustomElement(class SallaWishl
320
320
  }
321
321
  }
322
322
  render() {
323
- return (h(Host, { key: '7987635ec115238927e9e24ec619beaa10a620e2' }, h("div", { key: 'f9379be51dee5e10f631750134af6b02a7461295', class: "s-wishlist-actions" }, h("div", { key: '1f336e2524dabf609fc65356ae4eeb668d375a6d', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: '1462f1ebc6849c4153bd6955e5d12ebcb60d8ca7', class: "s-wishlist-actions-dropdown relative" }, 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() }, h("div", { key: '6c38209e408858a00b8d8a6d103041d2f6b14f20', class: "flex flex-row justify-center items-center gap-2" }, 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' } }, 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, 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' } }, 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 && (h("ul", { key: '11897d1e87a4cff34da00cdeb977479970a3aa65', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: '814dbe73e5489013a75c7cf1101fabc7798ad8c2' }, h("button", { key: '969a4d65f6c82ff56aaad3533fce931d6766761b', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: '142c11ce52add508bcfcec5da6817670b9777d70' }, h("button", { key: 'cc68d65e7fbf2a7894d51c13bb479f2272adbd92', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: '1a5f6ace554045f0219b596ba94b67391fb6e58e', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: '70a2689d82a23f084fe4fc23585069b2b33338a8', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (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" }, h("label", { key: 'ff8e39fa812166ee319ccca7d65cfc0dc17eb04b', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, 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() }), h("span", { key: 'c77ff8c38230e424bba05bf4e7439020f65da903', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: 'bfb5d90f041f08da9828de70ecd73266adc9e9ce', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: 'cfbfc51124d6d3119a5491b6d2a684498f47e0c8', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), 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)))))));
323
+ return (h(Host, { key: 'f98d4568e05ea8ada4b2128764ece4b8ecf0e9b1' }, h("div", { key: '178e589f317fc00edfc2d96cb8d9b50313271061', class: "s-wishlist-actions" }, h("div", { key: 'be8dd06107f7771e665ae7bb5662a98ef6ed844f', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: '4b22a0f0b996013adc598b4b5c7a7e85f59ae9cb', class: "s-wishlist-actions-dropdown relative" }, 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() }, h("div", { key: '11a5a5f0817b073fd77f843eeaea7821fe39b603', class: "flex flex-row justify-center items-center gap-2" }, 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' } }, 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, 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' } }, 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 && (h("ul", { key: '168954288e17549aca31b030701b2527f3dfe29a', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: '233853081fe20fbe460c8a59cd986346bdf86a7e' }, h("button", { key: '51503bb20856bc0db7256fdad7e14782218c2d8b', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: '3de41498ab832ca59b13eb3ceacea085bd739c99' }, h("button", { key: '02f19350401c0cea15cf4fbfb40b9fd3201a775f', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: '5b50b216a0b3f26705bfb9d5fb08289171bfb9db', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: 'a0526c7a5a42b3d227e8ee60ccae567539a78b32', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (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" }, h("label", { key: 'ac840ff8d4097a8a8a88a7b2b69616a2774a34ca', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, 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() }), h("span", { key: 'f843c9b25131632ecd59b82848105dbc0d60e050', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: 'aebdee1c3b1128bde388ad3525ddb8b8e2224f6c', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: 'cc978cf0b71194497525e691da25809246bbf15e', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), 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)))))));
324
324
  }
325
325
  get host() { return this; }
326
326
  static get style() { return sallaWishlistActionsCss; }
@@ -1,13 +1,11 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- 'use strict';
5
-
6
- var PendingOrdersIcon = `<!-- Generated by IcoMoon.io -->
4
+ var Cart = `<!-- Generated by IcoMoon.io -->
7
5
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="32" viewBox="0 0 30 32">
8
6
  <title>cart</title>
9
7
  <path d="M15.426 28.084c0-1.412-0.85-2.684-2.156-3.226-1.305-0.54-2.807-0.241-3.805 0.758-0.999 0.998-1.298 2.5-0.758 3.805 0.54 1.303 1.815 2.155 3.226 2.155 1.928-0.003 3.49-1.564 3.492-3.492h0.001zM10.597 28.084h0.001c0-0.54 0.326-1.027 0.825-1.235 0.498-0.206 1.074-0.091 1.455 0.29 0.383 0.382 0.497 0.957 0.29 1.456-0.208 0.5-0.695 0.825-1.235 0.825-0.355 0-0.695-0.142-0.944-0.391-0.251-0.251-0.392-0.591-0.392-0.946h-0.001l0.001 0.001zM28.23 28.084c0-1.412-0.85-2.684-2.155-3.226-1.305-0.54-2.807-0.241-3.806 0.758s-1.297 2.5-0.756 3.805c0.54 1.303 1.813 2.155 3.226 2.155 1.927-0.003 3.49-1.564 3.491-3.492zM23.401 28.084c0-0.54 0.326-1.027 0.825-1.235 0.5-0.206 1.075-0.091 1.457 0.29s0.497 0.957 0.289 1.456c-0.206 0.5-0.693 0.825-1.233 0.825-0.738 0-1.337-0.599-1.337-1.337l-0.001 0.001zM1.953 0.234l-0.342-0.059c-0.29-0.064-0.594-0.004-0.839 0.166-0.247 0.169-0.414 0.436-0.463 0.734-0.050 0.3 0.023 0.607 0.201 0.85s0.444 0.402 0.738 0.44l0.341 0.059c1.825 0.324 3.248 1.794 3.548 3.662l1.981 12.369h-0.001c0.218 1.387 0.913 2.651 1.96 3.563s2.379 1.412 3.754 1.41h14.242c0.601 0 1.088-0.498 1.088-1.112s-0.487-1.112-1.088-1.112h-14.242c-1.679-0.001-3.139-1.183-3.525-2.854h11.463c1.614 0.004 3.188-0.518 4.493-1.49 1.305-0.973 2.271-2.346 2.762-3.918l1.298-4.136c0.145-0.455 0.065-0.953-0.213-1.336-0.278-0.385-0.72-0.608-1.187-0.602h-20.467l-0.181-1.141c-0.218-1.367-0.849-2.631-1.802-3.615-0.954-0.983-2.184-1.64-3.518-1.878h-0.001zM26.946 9.096l-0.993 3.169v-0.001c-0.353 1.122-1.044 2.101-1.975 2.796s-2.056 1.067-3.208 1.067h-11.833l-1.125-7.042 19.134 0.011z"></path>
10
8
  </svg>
11
9
  `;
12
10
 
13
- exports.PendingOrdersIcon = PendingOrdersIcon;
11
+ export { Cart as C };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BJmvvw9H.js';
4
+ import { d as getDefaultExportFromCjs } from './index-B6Lo-Jz2.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {