@salla.sa/twilight-components 2.14.591 → 2.14.592

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 (374) hide show
  1. package/dist/cjs/{filepond-DkObEO32.js → filepond-YeXzkn77.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-wXgeY5cU.js → filepond-plugin-file-poster-BEU99tEc.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CWleid1C.js → filepond-plugin-file-validate-size-BSsf6VIk.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CJLl2hbe.js → filepond-plugin-file-validate-type-BkxQQF1Y.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-Bp6AxXM9.js → filepond-plugin-image-edit-h9C4LxoR.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-abWKSX9-.js → filepond-plugin-image-exif-orientation-nDfSwZEM.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DxprNycS.js → filepond-plugin-image-preview-C-FDU_4k.js} +1 -1
  8. package/dist/cjs/{helpers-DBynEhOO.js → helpers-DSseNQ1K.js} +1 -1
  9. package/dist/cjs/{index-DBN0LueR.js → index-DI5yx1uj.js} +3 -3
  10. package/dist/cjs/{intlTelInput-B6H18Td2.js → intlTelInput-AgidDx18.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +37 -4
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-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 +45 -34
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  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 +3 -3
  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.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 +2 -2
  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-gift-card-redeem_2.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-map_3.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search-product-card.cjs.entry.js +3 -3
  93. package/dist/cjs/salla-search.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  96. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  98. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  103. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  106. package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
  107. package/dist/cjs/twilight.cjs.js +1 -1
  108. package/dist/cjs/{vanilla-picker-Cm71HMBs.js → vanilla-picker-DLfPr_3c.js} +1 -1
  109. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +4 -1
  110. package/dist/collection/components/salla-bullet-delivery/helpers.js +1 -1
  111. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +39 -28
  112. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +17 -4
  113. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  114. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.js +1 -1
  115. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  116. package/dist/collection/components/salla-search/salla-search.js +1 -1
  117. package/dist/collection/components/salla-search-product-card/salla-search-product-card.js +2 -2
  118. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  119. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  120. package/dist/collection/components/salla-social/salla-social.js +1 -1
  121. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  122. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  123. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  124. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  125. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  126. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  127. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  128. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  129. package/dist/components/helpers.js +2 -2
  130. package/dist/components/index.js +3 -3
  131. package/dist/components/salla-add-product-button2.js +4 -1
  132. package/dist/components/salla-bullet-delivery.js +40 -29
  133. package/dist/components/salla-delivery-promise.js +1 -1
  134. package/dist/components/salla-quick-buy2.js +34 -4
  135. package/dist/components/salla-review-card2.js +1 -1
  136. package/dist/components/salla-review-factors-tags2.js +1 -1
  137. package/dist/components/salla-reviews-page.js +1 -1
  138. package/dist/components/salla-search-product-card2.js +2 -2
  139. package/dist/components/salla-search.js +1 -1
  140. package/dist/components/salla-searchable-dropdown2.js +4 -4
  141. package/dist/components/salla-skeleton2.js +1 -1
  142. package/dist/components/salla-social-share2.js +1 -1
  143. package/dist/components/salla-social.js +1 -1
  144. package/dist/components/salla-tab-content2.js +1 -1
  145. package/dist/components/salla-tab-header2.js +1 -1
  146. package/dist/components/salla-tabs2.js +1 -1
  147. package/dist/components/salla-tel-input2.js +1 -1
  148. package/dist/components/salla-tooltip2.js +1 -1
  149. package/dist/components/salla-user-settings.js +1 -1
  150. package/dist/components/salla-wishlist-actions.js +1 -1
  151. package/dist/docs.json +1 -1
  152. package/dist/esm/{filepond-Cstf5r6K.js → filepond-C3uLKJlo.js} +1 -1
  153. package/dist/esm/{filepond-plugin-file-poster-GibBgGHW.js → filepond-plugin-file-poster-BNO8nuwN.js} +1 -1
  154. package/dist/esm/{filepond-plugin-file-validate-size-CLc6zco6.js → filepond-plugin-file-validate-size-CMMYF-rL.js} +1 -1
  155. package/dist/esm/{filepond-plugin-file-validate-type-Ca3dc8p0.js → filepond-plugin-file-validate-type-DSYhKJ7B.js} +1 -1
  156. package/dist/esm/{filepond-plugin-image-edit-CNGBLi7d.js → filepond-plugin-image-edit-lJgRMQAo.js} +1 -1
  157. package/dist/esm/{filepond-plugin-image-exif-orientation-Dmmu9-UQ.js → filepond-plugin-image-exif-orientation-B0tYK1GE.js} +1 -1
  158. package/dist/esm/{filepond-plugin-image-preview-KX15tx60.js → filepond-plugin-image-preview-kWmnxhXu.js} +1 -1
  159. package/dist/esm/{helpers-BJxBnTgv.js → helpers-DgRxTSyJ.js} +2 -2
  160. package/dist/esm/{index-UnmOIma5.js → index-Bk24FlDL.js} +3 -3
  161. package/dist/esm/{intlTelInput-C-F-rxZ3.js → intlTelInput-nODQyuq0.js} +1 -1
  162. package/dist/esm/loader.js +2 -2
  163. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  164. package/dist/esm/salla-accordion_6.entry.js +1 -1
  165. package/dist/esm/salla-add-product-button_5.entry.js +37 -4
  166. package/dist/esm/salla-advertisement.entry.js +1 -1
  167. package/dist/esm/salla-alert_2.entry.js +1 -1
  168. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  169. package/dist/esm/salla-applied-filters.entry.js +1 -1
  170. package/dist/esm/salla-apps-icons.entry.js +1 -1
  171. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  172. package/dist/esm/salla-badge.entry.js +1 -1
  173. package/dist/esm/salla-basket-gap.entry.js +1 -1
  174. package/dist/esm/salla-bullet-delivery_3.entry.js +45 -34
  175. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  176. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  177. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  178. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  179. package/dist/esm/salla-comment-factors.entry.js +1 -1
  180. package/dist/esm/salla-comment-form_9.entry.js +3 -3
  181. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  182. package/dist/esm/salla-contacts.entry.js +1 -1
  183. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  184. package/dist/esm/salla-count-down.entry.js +1 -1
  185. package/dist/esm/salla-custom-fields.entry.js +1 -1
  186. package/dist/esm/salla-delivery-promise.entry.js +2 -2
  187. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  188. package/dist/esm/salla-filters-widget.entry.js +1 -1
  189. package/dist/esm/salla-filters.entry.js +1 -1
  190. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  191. package/dist/esm/salla-gift-card-redeem_2.entry.js +2 -2
  192. package/dist/esm/salla-gifting.entry.js +1 -1
  193. package/dist/esm/salla-hook.entry.js +1 -1
  194. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  195. package/dist/esm/salla-installment.entry.js +1 -1
  196. package/dist/esm/salla-list-tile.entry.js +1 -1
  197. package/dist/esm/salla-localization-modal.entry.js +1 -1
  198. package/dist/esm/salla-login-modal.entry.js +1 -1
  199. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  200. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  201. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  202. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  203. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  204. package/dist/esm/salla-loyalty.entry.js +1 -1
  205. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  206. package/dist/esm/salla-map_3.entry.js +1 -1
  207. package/dist/esm/salla-menu.entry.js +1 -1
  208. package/dist/esm/salla-metadata.entry.js +1 -1
  209. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  210. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  211. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  212. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  213. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  214. package/dist/esm/salla-offer-modal.entry.js +1 -1
  215. package/dist/esm/salla-offer.entry.js +1 -1
  216. package/dist/esm/salla-order-branch.entry.js +1 -1
  217. package/dist/esm/salla-order-cancel.entry.js +1 -1
  218. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  219. package/dist/esm/salla-order-details-options.entry.js +1 -1
  220. package/dist/esm/salla-order-details.entry.js +1 -1
  221. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  222. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  223. package/dist/esm/salla-order-edit.entry.js +1 -1
  224. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  225. package/dist/esm/salla-order-shipments.entry.js +1 -1
  226. package/dist/esm/salla-order-summary.entry.js +1 -1
  227. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  228. package/dist/esm/salla-orders.entry.js +1 -1
  229. package/dist/esm/salla-payments.entry.js +1 -1
  230. package/dist/esm/salla-placeholder.entry.js +1 -1
  231. package/dist/esm/salla-price-range.entry.js +1 -1
  232. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  233. package/dist/esm/salla-product-card.entry.js +1 -1
  234. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  235. package/dist/esm/salla-products-list.entry.js +1 -1
  236. package/dist/esm/salla-products-slider.entry.js +1 -1
  237. package/dist/esm/salla-quick-order.entry.js +1 -1
  238. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  239. package/dist/esm/salla-rating-modal.entry.js +1 -1
  240. package/dist/esm/salla-review-factors-tags.entry.js +2 -2
  241. package/dist/esm/salla-review-order-item.entry.js +1 -1
  242. package/dist/esm/salla-scopes.entry.js +1 -1
  243. package/dist/esm/salla-search-product-card.entry.js +3 -3
  244. package/dist/esm/salla-search.entry.js +2 -2
  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-trust-badges.entry.js +1 -1
  251. package/dist/esm/salla-user-menu.entry.js +1 -1
  252. package/dist/esm/salla-user-profile.entry.js +1 -1
  253. package/dist/esm/salla-user-settings.entry.js +2 -2
  254. package/dist/esm/salla-verify.entry.js +1 -1
  255. package/dist/esm/salla-wallet.entry.js +1 -1
  256. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  257. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  258. package/dist/esm/twilight.js +2 -2
  259. package/dist/esm/{vanilla-picker-DMAcm04D.js → vanilla-picker-B1bTUgHP.js} +1 -1
  260. package/dist/twilight/{p-da14ac3f.entry.js → p-02202feb.entry.js} +1 -1
  261. package/dist/twilight/{p-fa3c4bcf.entry.js → p-03dffb99.entry.js} +1 -1
  262. package/dist/twilight/{p-2f1c8e60.entry.js → p-06643011.entry.js} +1 -1
  263. package/dist/twilight/p-07174244.entry.js +4 -0
  264. package/dist/twilight/{p-efb9f953.entry.js → p-08256e67.entry.js} +1 -1
  265. package/dist/twilight/{p-2308e70c.entry.js → p-0dc90c55.entry.js} +1 -1
  266. package/dist/twilight/{p-426ac7ab.entry.js → p-0e122915.entry.js} +1 -1
  267. package/dist/twilight/{p-a192abb7.entry.js → p-1b1bebf6.entry.js} +1 -1
  268. package/dist/twilight/{p-a0e1d5f7.entry.js → p-1d05ff72.entry.js} +1 -1
  269. package/dist/twilight/{p-f7b65338.entry.js → p-21802082.entry.js} +1 -1
  270. package/dist/twilight/{p-a1d251d4.entry.js → p-2191d792.entry.js} +1 -1
  271. package/dist/twilight/{p-e34ff202.entry.js → p-21b3877b.entry.js} +1 -1
  272. package/dist/twilight/{p-21358994.entry.js → p-22135b7c.entry.js} +1 -1
  273. package/dist/twilight/{p-18b786f4.entry.js → p-250262a9.entry.js} +1 -1
  274. package/dist/twilight/{p-f5605df6.entry.js → p-2fc68bfd.entry.js} +1 -1
  275. package/dist/twilight/{p-49f2ad4a.entry.js → p-320d6b04.entry.js} +1 -1
  276. package/dist/twilight/{p-9d0658a0.entry.js → p-377642ea.entry.js} +1 -1
  277. package/dist/twilight/{p-52b99743.entry.js → p-38418821.entry.js} +1 -1
  278. package/dist/twilight/{p-1aaed68f.entry.js → p-3bf37615.entry.js} +1 -1
  279. package/dist/twilight/{p-caec4a90.entry.js → p-3e6f2bf8.entry.js} +1 -1
  280. package/dist/twilight/{p-a5c693c1.entry.js → p-42150f97.entry.js} +1 -1
  281. package/dist/twilight/{p-1dc68727.entry.js → p-42e02411.entry.js} +1 -1
  282. package/dist/twilight/{p-36ac5a06.entry.js → p-43c5ec34.entry.js} +1 -1
  283. package/dist/twilight/{p-e3066c95.entry.js → p-43ca88d0.entry.js} +1 -1
  284. package/dist/twilight/{p-b70cdf88.entry.js → p-45035389.entry.js} +1 -1
  285. package/dist/twilight/{p-3d535509.entry.js → p-46721e68.entry.js} +1 -1
  286. package/dist/twilight/{p-47e519e4.entry.js → p-4f76e9e2.entry.js} +1 -1
  287. package/dist/twilight/p-4fd73440.entry.js +4 -0
  288. package/dist/twilight/{p-0bee12ba.entry.js → p-523f9816.entry.js} +1 -1
  289. package/dist/twilight/{p-e0ce5d4c.entry.js → p-540029a5.entry.js} +1 -1
  290. package/dist/twilight/{p-7f93ea69.entry.js → p-5435dbcd.entry.js} +1 -1
  291. package/dist/twilight/{p-328e352d.entry.js → p-5f6a5a4b.entry.js} +1 -1
  292. package/dist/twilight/{p-2e204cbc.entry.js → p-5fc75260.entry.js} +1 -1
  293. package/dist/twilight/{p-ea07afaa.entry.js → p-612b6d87.entry.js} +1 -1
  294. package/dist/twilight/{p-81294230.entry.js → p-658de43b.entry.js} +1 -1
  295. package/dist/twilight/{p-b7399739.entry.js → p-6673a16f.entry.js} +1 -1
  296. package/dist/twilight/{p-f92f10c7.entry.js → p-6760ec19.entry.js} +1 -1
  297. package/dist/twilight/{p-ce0c6667.entry.js → p-68411931.entry.js} +1 -1
  298. package/dist/twilight/{p-7f23b98d.entry.js → p-6a76acd8.entry.js} +1 -1
  299. package/dist/twilight/{p-a1d0c650.entry.js → p-7038e1af.entry.js} +1 -1
  300. package/dist/twilight/{p-27366663.entry.js → p-75f32b91.entry.js} +1 -1
  301. package/dist/twilight/{p-833fb416.entry.js → p-7750be26.entry.js} +1 -1
  302. package/dist/twilight/{p-a32fb61e.entry.js → p-79676f24.entry.js} +1 -1
  303. package/dist/twilight/{p-8ec3b9f0.entry.js → p-7b4a8237.entry.js} +1 -1
  304. package/dist/twilight/{p-4b175320.entry.js → p-7ff0c546.entry.js} +1 -1
  305. package/dist/twilight/{p-42d6eb6b.entry.js → p-813a40cc.entry.js} +1 -1
  306. package/dist/twilight/{p-700cf9fc.entry.js → p-83ccddd5.entry.js} +1 -1
  307. package/dist/twilight/{p-06268aeb.entry.js → p-872d6d68.entry.js} +1 -1
  308. package/dist/twilight/{p-ff65be76.entry.js → p-9048520b.entry.js} +1 -1
  309. package/dist/twilight/{p-48f9cd45.entry.js → p-91a1baf1.entry.js} +1 -1
  310. package/dist/twilight/{p-62842639.entry.js → p-9e6f4ec4.entry.js} +1 -1
  311. package/dist/twilight/{p-CtQLzZ1X.js → p-B-LS1xDz.js} +1 -1
  312. package/dist/twilight/p-Bk24FlDL.js +5 -0
  313. package/dist/twilight/p-BnmP7F4y.js +9 -0
  314. package/dist/twilight/{p-CjeoBv5q.js → p-BvUmZYa9.js} +1 -1
  315. package/dist/twilight/{p-C3HaKgMG.js → p-CHqh7vb6.js} +1 -1
  316. package/dist/twilight/{p-Dq91sWJh.js → p-CXo-IH2o.js} +1 -1
  317. package/dist/twilight/{p-BOWrmsKT.js → p-CcGfWKIx.js} +1 -1
  318. package/dist/twilight/{p-xX3a9YdQ.js → p-Ct18qgaq.js} +1 -1
  319. package/dist/twilight/{p-D_C0F9n5.js → p-DBjpz_eG.js} +1 -1
  320. package/dist/twilight/{p-BJxBnTgv.js → p-DgRxTSyJ.js} +1 -1
  321. package/dist/twilight/{p-DVatlmKV.js → p-DvlAEiaH.js} +1 -1
  322. package/dist/twilight/{p-6e7a12dd.entry.js → p-a057f532.entry.js} +1 -1
  323. package/dist/twilight/{p-ce7450a9.entry.js → p-a0f1b867.entry.js} +1 -1
  324. package/dist/twilight/{p-6a68c551.entry.js → p-a75680ae.entry.js} +1 -1
  325. package/dist/twilight/{p-398e864d.entry.js → p-ad52dcf7.entry.js} +1 -1
  326. package/dist/twilight/{p-6b277129.entry.js → p-b009d316.entry.js} +1 -1
  327. package/dist/twilight/{p-c1eaf8c3.entry.js → p-b1b096d7.entry.js} +1 -1
  328. package/dist/twilight/{p-35163279.entry.js → p-b1b345d6.entry.js} +1 -1
  329. package/dist/twilight/{p-9b01e5c2.entry.js → p-b2c41e36.entry.js} +1 -1
  330. package/dist/twilight/{p-46ef2b4e.entry.js → p-b37ae926.entry.js} +1 -1
  331. package/dist/twilight/{p-acd9c538.entry.js → p-b5e774db.entry.js} +1 -1
  332. package/dist/twilight/{p-bb4a95d9.entry.js → p-b6dc3e12.entry.js} +1 -1
  333. package/dist/twilight/{p-5c313f74.entry.js → p-b95a6e20.entry.js} +1 -1
  334. package/dist/twilight/{p-2059ac26.entry.js → p-bb152b39.entry.js} +1 -1
  335. package/dist/twilight/{p-f08ff103.entry.js → p-be729ca2.entry.js} +1 -1
  336. package/dist/twilight/{p-540992c1.entry.js → p-becb6580.entry.js} +1 -1
  337. package/dist/twilight/{p-3d7fdd11.entry.js → p-c1d18b73.entry.js} +1 -1
  338. package/dist/twilight/{p-e6de2f79.entry.js → p-c1d815c9.entry.js} +1 -1
  339. package/dist/twilight/{p-51d7a9f2.entry.js → p-c313bd11.entry.js} +1 -1
  340. package/dist/twilight/{p-8e938bfa.entry.js → p-c3a2696b.entry.js} +1 -1
  341. package/dist/twilight/{p-e3c46eea.entry.js → p-c9ebe466.entry.js} +1 -1
  342. package/dist/twilight/{p-ca47204f.entry.js → p-cc74d38b.entry.js} +1 -1
  343. package/dist/twilight/{p-d11b211f.entry.js → p-cd432c49.entry.js} +1 -1
  344. package/dist/twilight/{p-fb8395de.entry.js → p-ce6c709b.entry.js} +1 -1
  345. package/dist/twilight/{p-6dcfc119.entry.js → p-ced74b88.entry.js} +1 -1
  346. package/dist/twilight/{p-9d680306.entry.js → p-d601977e.entry.js} +1 -1
  347. package/dist/twilight/{p-1a7bee69.entry.js → p-d73307c7.entry.js} +1 -1
  348. package/dist/twilight/{p-d62c6529.entry.js → p-d9ccdd8f.entry.js} +1 -1
  349. package/dist/twilight/{p-78d1e145.entry.js → p-dc51993c.entry.js} +1 -1
  350. package/dist/twilight/{p-e1d59b7e.entry.js → p-dfd212d5.entry.js} +1 -1
  351. package/dist/twilight/{p-71372771.entry.js → p-e2aa0e72.entry.js} +1 -1
  352. package/dist/twilight/{p-f69a3e84.entry.js → p-e58b7ef9.entry.js} +1 -1
  353. package/dist/twilight/{p-40a7f8c6.entry.js → p-e7127704.entry.js} +1 -1
  354. package/dist/twilight/{p-2d983198.entry.js → p-e7ca6d06.entry.js} +1 -1
  355. package/dist/twilight/{p-13215fa2.entry.js → p-eaae379c.entry.js} +1 -1
  356. package/dist/twilight/{p-9c284764.entry.js → p-ed6ea140.entry.js} +1 -1
  357. package/dist/twilight/{p-170a29db.entry.js → p-f263bba9.entry.js} +1 -1
  358. package/dist/twilight/p-f3ffe84f.entry.js +4 -0
  359. package/dist/twilight/{p-4b135194.entry.js → p-f4f7ed38.entry.js} +1 -1
  360. package/dist/twilight/{p-635cf0ae.entry.js → p-f5c9e513.entry.js} +1 -1
  361. package/dist/twilight/{p-c1eab306.entry.js → p-f74ccae4.entry.js} +1 -1
  362. package/dist/twilight/{p-efb67446.entry.js → p-f7ee4910.entry.js} +1 -1
  363. package/dist/twilight/{p-2e971549.entry.js → p-f8f9c563.entry.js} +1 -1
  364. package/dist/twilight/{p-1762cfe3.entry.js → p-f9f0a5ee.entry.js} +1 -1
  365. package/dist/twilight/{p-adfc54e4.entry.js → p-fbee9e50.entry.js} +1 -1
  366. package/dist/twilight/twilight.esm.js +1 -1
  367. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +12 -0
  368. package/dist/types/components/salla-search/search-response.d.ts +1 -0
  369. package/package.json +5 -5
  370. package/dist/twilight/p-3845541d.entry.js +0 -4
  371. package/dist/twilight/p-38956156.entry.js +0 -4
  372. package/dist/twilight/p-UnmOIma5.js +0 -5
  373. package/dist/twilight/p-b5d6ddd7.entry.js +0 -4
  374. package/dist/twilight/p-iC3SM6Ji.js +0 -9
@@ -4,7 +4,7 @@
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
5
  import { P as PendingOrdersIcon } from './cart.js';
6
6
  import { H as Helper } from './Helper.js';
7
- import { i as injectFreeProductsIntoPayload, d as defineCustomElement$3, c as canCompleteApplePay } from './salla-quick-buy2.js';
7
+ import { i as injectFreeProductsIntoPayload, d as defineCustomElement$3, c as canCompleteApplePay, a as isApplePayHostedRedirect } from './salla-quick-buy2.js';
8
8
  import { d as defineCustomElement$h } from './salla-attachment-view2.js';
9
9
  import { d as defineCustomElement$g } from './salla-booking-field2.js';
10
10
  import { d as defineCustomElement$f } from './salla-button2.js';
@@ -432,8 +432,11 @@ const SallaAddProductButton = /*@__PURE__*/ proxyCustomElement(class SallaAddPro
432
432
  && this.productType !== 'booking';
433
433
  // Cross-browser Apple Pay: native (Safari) OR the Payment Request API
434
434
  // (non-Safari browsers / non-Apple devices via the QR-code fallback).
435
+ // Hosted (MyFatoorah, S2S off) Apple Pay has no native sheet and no buy-now redirect
436
+ // path, so the quick-buy button below must not render for it either.
435
437
  this.isApplePayActive = salla.config.get('store.settings.payments')?.includes('apple_pay')
436
438
  && salla.config.get('store.settings.is_salla_gateway', false)
439
+ && !isApplePayHostedRedirect()
437
440
  && await canCompleteApplePay();
438
441
  this.passedLabel = this.host.innerHTML.replace('<!---->', '').trim();
439
442
  if (!!this.passedLabel && this.isDesktopViewport) {
@@ -2,7 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
- import { i as isSaudiArabia, b as bulletDeliveryAPI, r as requireRegionAndDistrictForSA, g as getIntentLatitude, a as getIntentLongitude, h as hasSessionAddressIntent, c as getIntentCityId, d as getIntentCountryId, e as getIntentRegionId, f as getIntentDistrictId, j as filterBranches, k as findNearestBranch, l as getGeolocationErrorMessage, m as clearApiCache, n as getIntentSubtitle, o as getIntentBranchId, p as isMapOriginIntent, q as isBranchSelectable, s as getIntentCountryCode } from './helpers.js';
5
+ import { i as isSaudiArabia, b as bulletDeliveryAPI, r as requireRegionAndDistrictForSA, g as getIntentLatitude, a as getIntentLongitude, h as hasSessionAddressIntent, c as getIntentCityId, d as getIntentCountryId, e as getIntentRegionId, f as getIntentDistrictId, j as isBranchSelectable, k as filterBranches, l as getIntentBranchId, m as findNearestBranch, n as getGeolocationErrorMessage, o as clearApiCache, p as getIntentSubtitle, q as isMapOriginIntent, s as getIntentCountryCode } from './helpers.js';
6
6
  import { S as SILocation } from './location.js';
7
7
  import { S as Search } from './search.js';
8
8
  import { d as defineCustomElement$7 } from './salla-button2.js';
@@ -500,10 +500,7 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
500
500
  }
501
501
  // Auto-select preselected branch if provided
502
502
  if (this.preselectedBranchId) {
503
- const branch = this.branches.find((b) => b.id === this.preselectedBranchId);
504
- if (branch) {
505
- this.selectedBranch = branch;
506
- }
503
+ this.preselectBranch(this.preselectedBranchId);
507
504
  }
508
505
  }
509
506
  // Prefill form data from session storage
@@ -954,15 +951,30 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
954
951
  async loadBranches() {
955
952
  this.loadingBranches = true;
956
953
  try {
957
- this.branches = await bulletDeliveryAPI.getBranches({
954
+ this.applyLoadedBranches(await bulletDeliveryAPI.getBranches({
958
955
  country_id: this.selectedCountry?.id,
959
- });
960
- this.filterBranches();
956
+ }));
961
957
  }
962
958
  finally {
963
959
  this.loadingBranches = false;
964
960
  }
965
961
  }
962
+ /**
963
+ * Store a freshly fetched branch list and reconcile the current selection with it.
964
+ * `selectedBranch` is a snapshot from selection time: when the refreshed list carries the
965
+ * same branch, swap in the fresh copy, and drop it if it is no longer selectable (INV-1407).
966
+ * A selection missing from the list (e.g. filtered out by a search) is left untouched.
967
+ */
968
+ applyLoadedBranches(branches) {
969
+ this.branches = branches;
970
+ if (this.selectedBranch) {
971
+ const fresh = branches.find((b) => b.id === this.selectedBranch?.id);
972
+ if (fresh) {
973
+ this.selectedBranch = isBranchSelectable(fresh) ? fresh : null;
974
+ }
975
+ }
976
+ this.filterBranches();
977
+ }
966
978
  filterBranches() {
967
979
  this.filteredBranches = filterBranches(this.branches, this.branchSearchQuery);
968
980
  }
@@ -989,13 +1001,7 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
989
1001
  if (country) {
990
1002
  this.selectedCountry = country;
991
1003
  this.updateNewAddressForm({ country_id: Number(country.id) });
992
- const branchId = getIntentBranchId(intent);
993
- if (branchId != null && this.branches.length > 0) {
994
- const branch = this.branches.find((b) => b.id === branchId);
995
- if (branch) {
996
- this.selectedBranch = branch;
997
- }
998
- }
1004
+ this.preselectBranch(getIntentBranchId(intent));
999
1005
  }
1000
1006
  }
1001
1007
  }
@@ -1159,11 +1165,10 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1159
1165
  return;
1160
1166
  this.loadingBranches = true;
1161
1167
  try {
1162
- this.branches = await bulletDeliveryAPI.getBranches({
1168
+ this.applyLoadedBranches(await bulletDeliveryAPI.getBranches({
1163
1169
  country_id: this.selectedCountry?.id,
1164
1170
  query,
1165
- });
1166
- this.filterBranches();
1171
+ }));
1167
1172
  }
1168
1173
  finally {
1169
1174
  this.loadingBranches = false;
@@ -1196,12 +1201,11 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1196
1201
  async loadBranchesWithLocation(lat, lng) {
1197
1202
  this.loadingBranches = true;
1198
1203
  try {
1199
- this.branches = await bulletDeliveryAPI.getBranches({
1204
+ this.applyLoadedBranches(await bulletDeliveryAPI.getBranches({
1200
1205
  country_id: this.selectedCountry?.id,
1201
1206
  lat,
1202
1207
  lng,
1203
- });
1204
- this.filterBranches();
1208
+ }));
1205
1209
  // Auto-select country from first branch if no country is selected
1206
1210
  if (!this.selectedCountry && this.branches.length > 0) {
1207
1211
  const firstBranch = this.branches[0];
@@ -1258,6 +1262,18 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1258
1262
  this.selectedBranch = branch;
1259
1263
  this.allocationOutOfCoverageMessage = null;
1260
1264
  }
1265
+ /**
1266
+ * Restore a remembered / event-provided branch — but only one the list renders as selectable,
1267
+ * so a branch that has closed since it was remembered is never silently preselected (INV-1407).
1268
+ */
1269
+ preselectBranch(branchId) {
1270
+ if (branchId == null)
1271
+ return;
1272
+ const branch = this.branches.find((b) => b.id === branchId);
1273
+ if (branch && isBranchSelectable(branch)) {
1274
+ this.selectedBranch = branch;
1275
+ }
1276
+ }
1261
1277
  handleSavedAddressSelect(address) {
1262
1278
  if (address.is_in_coverage === false) {
1263
1279
  // Show toast notification for out of coverage address
@@ -1497,13 +1513,7 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1497
1513
  await this.loadBranches();
1498
1514
  }
1499
1515
  // Preselect branch from session storage if available
1500
- const branchId = getIntentBranchId(savedIntent);
1501
- if (branchId != null && this.branches.length > 0) {
1502
- const branch = this.branches.find((b) => b.id === branchId);
1503
- if (branch) {
1504
- this.selectedBranch = branch;
1505
- }
1506
- }
1516
+ this.preselectBranch(getIntentBranchId(savedIntent));
1507
1517
  }
1508
1518
  else if (tab === "address") {
1509
1519
  // Lazy-load saved addresses when switching to address tab (if not loaded yet).
@@ -1532,7 +1542,8 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
1532
1542
  }
1533
1543
  isConfirmDisabled() {
1534
1544
  if (this.activeTab === "branch") {
1535
- return !this.selectedBranch;
1545
+ // Backstop for any selection path: the allocation API rejects non-selectable branches (INV-1407).
1546
+ return !isBranchSelectable(this.selectedBranch);
1536
1547
  }
1537
1548
  if (this.activeTab === "address") {
1538
1549
  if (this.isLoggedIn && this.selectedSessionAddress) {
@@ -2,7 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
- import { p as isMapOriginIntent } from './helpers.js';
5
+ import { q as isMapOriginIntent } from './helpers.js';
6
6
  import { d as defineCustomElement$6 } from './salla-button2.js';
7
7
  import { d as defineCustomElement$5 } from './salla-loading2.js';
8
8
  import { d as defineCustomElement$4 } from './salla-modal2.js';
@@ -51,6 +51,23 @@ function applePayMerchantId() {
51
51
  return salla?.config?.get?.('store.settings.buy_now.merchant_identifier') || null;
52
52
  }
53
53
 
54
+ /**
55
+ * Whether the store's Apple Pay is a hosted redirect rather than a native sheet.
56
+ *
57
+ * MyFatoorah Apple Pay without S2S has no native flow: the checkout page hands off as a
58
+ * credit_card redirect to MyFatoorah's hosted page. The buy-now surfaces (PDP, sticky bar)
59
+ * have no redirect path, so they must not offer an Apple Pay button at all.
60
+ *
61
+ * The backend publishes this as a single boolean (`ApplePayFeature::isHostedRedirect`).
62
+ * Compared with `=== true` on purpose: against a backend that predates the field the key is
63
+ * absent, so this returns false and every surface keeps its current behaviour. That is what
64
+ * makes the storefront half safe to ship independently of the backend half.
65
+ * @returns {boolean}
66
+ */
67
+ function isApplePayHostedRedirect() {
68
+ return salla?.config?.get?.('store.settings.buy_now.hostedRedirect') === true;
69
+ }
70
+
54
71
  /**
55
72
  * Build the W3C Payment Request `methodData` for the Apple Pay method. Callers
56
73
  * supply the values (the probe reads them from config; the live session reads
@@ -2107,9 +2124,12 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2107
2124
  const canMakePayments = typeof window !== 'undefined' && !!window.ApplePaySession?.canMakePayments?.();
2108
2125
  const storeHasApplePay = salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? true;
2109
2126
  const isSallaGateway = salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? true;
2127
+ // Hosted (MyFatoorah, S2S off) Apple Pay has no native sheet and buy-now has no redirect
2128
+ // path, so there is nothing this button could do — don't offer it.
2129
+ const isHostedRedirect = isApplePayHostedRedirect();
2110
2130
  // No networks means nothing to charge with, so don't show the button — canMakePayments()
2111
2131
  // alone would light it up on Safari.
2112
- this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway
2132
+ this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway && !isHostedRedirect
2113
2133
  && !!this.resolveSupportedNetworks().length;
2114
2134
  const runInit = async () => {
2115
2135
  if (!this.productId && salla?.config?.get && salla.url?.is_page) {
@@ -2138,7 +2158,8 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2138
2158
  salla.product.event.onPriceUpdated(response => { this.applyBaseCurrencyPrice(response?.data); });
2139
2159
  }
2140
2160
  const storeAllowsApplePay = (salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? storeHasApplePay)
2141
- && (salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? isSallaGateway);
2161
+ && (salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? isSallaGateway)
2162
+ && !isApplePayHostedRedirect();
2142
2163
  // Preload Apple's JS SDK so the rendered <apple-pay-button> upgrades on
2143
2164
  // every flow (native Safari + QR). Fire-and-forget: the element upgrades
2144
2165
  // retroactively once the script defines it.
@@ -2162,7 +2183,16 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
2162
2183
  });
2163
2184
  }
2164
2185
  render() {
2165
- return h(Host, { key: '8d1d37acada1f9cdbe6913d01a97fe881facc7af' }, this.quickBuyButton());
2186
+ // Hosted (MyFatoorah, S2S off) Apple Pay has no native sheet and buy-now has no
2187
+ // redirect path, so render nothing rather than an Apple Pay button that cannot
2188
+ // do Apple Pay. Scoped to the hosted case on purpose: when a store simply has no
2189
+ // Apple Pay, `isApplePayActive` is false too, but there the button is a deliberate
2190
+ // generic buy-now that falls back to `checkout/mini` (see quickBuyHandler), and
2191
+ // direct consumers rely on that.
2192
+ if (isApplePayHostedRedirect()) {
2193
+ return h(Host, null);
2194
+ }
2195
+ return h(Host, null, this.quickBuyButton());
2166
2196
  }
2167
2197
  quickBuyButton() {
2168
2198
  return h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -2274,4 +2304,4 @@ function defineCustomElement() {
2274
2304
  }
2275
2305
  defineCustomElement();
2276
2306
 
2277
- export { SallaQuickBuy as S, canCompleteApplePay as c, defineCustomElement as d, injectFreeProductsIntoPayload as i };
2307
+ export { SallaQuickBuy as S, isApplePayHostedRedirect as a, canCompleteApplePay as c, defineCustomElement as d, injectFreeProductsIntoPayload as i };
@@ -172,7 +172,7 @@ const SallaReviewCard = /*@__PURE__*/ proxyCustomElement(class SallaReviewCard e
172
172
  return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
173
173
  }
174
174
  render() {
175
- return h("div", { key: '7e833e08405a9153759b958e9c6979fd83c5aec1', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '85e33a2160a62e2fb3e376f6e20d223d53ced8fe', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '8b21485de56e57dceb9facb044bd6bad1ad866f3', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
175
+ return h("div", { key: '44589734c0a8ab8211a50e89e306de7dd53ad679', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '14e57255f40beab2e4b92724f26f171cdaaf69f4', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '8f27f7f13b5611a71164dba288f53e53e10e67f0', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
176
176
  }
177
177
  get el() { return this; }
178
178
  static get style() { return sallaReviewCardCss; }
@@ -132,7 +132,7 @@ const SallaReviewFactorsTags = /*@__PURE__*/ proxyCustomElement(class SallaRevie
132
132
  return (h("div", { class: "s-review-factors-tags-factors" }, factors.map(factor => (h("div", { class: "s-review-factors-tags-factor-tag" }, h("span", { class: "s-review-factors-tags-factor-name" }, factor.name), h("span", { class: "s-review-factors-tags-factor-star", innerHTML: Rate }), h("span", { class: "s-review-factors-tags-factor-rating" }, factor.rating || ''))))));
133
133
  }
134
134
  render() {
135
- return (h(Host, { key: '766916fb7639bd23e8fa070c53cb19a32e9fe8aa', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
135
+ return (h(Host, { key: 'f4347eb019e8af95cfa053389887afaa73300f40', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
136
136
  }
137
137
  static get watchers() { return {
138
138
  "factors": ["onPropsChange"],
@@ -685,7 +685,7 @@ const SallaReviewsPage$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviewsPa
685
685
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
686
686
  }
687
687
  render() {
688
- return (h("host", { key: '96f61882e9ff5d63084b474e887f18852664cee1' }, h("div", { key: '4ed5c60cad490df10f749b1f9c5c85be4b4694a9', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'b010c63dc5c5b75b62f51ad629f1e3aa92aee545', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '5d878bce5aeadaebbe9af6ecfdeb13492554155a', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '86946adf82cc42d2b0950da6b787f445f701f707', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '61a02b3c57c025f33f8316410ecc3a21a9c93600', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '04e135e9ec5bbcd4ce52aea7ef002385108b0606', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
688
+ return (h("host", { key: '9d393d47dde31817178d398dacf0be9d1961f487' }, h("div", { key: '2109c18f3cf9ebb5769291ee88dc733e2b96759f', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'f9259ac0832ea3041a517ee3dd8dccb41a3bd903', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'f49098ca0e3f911669c610a310dbf331922e9b8a', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '739397b8f7389cfab453d435868b20be49871d6d', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '92bd0f40b758f394ca3c1604ba207653e2263bac', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'a2b42e0c18c9192a3ff33f61ca21e50355655ed4', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
689
689
  this.wrapper = el;
690
690
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
691
691
  : h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
@@ -121,7 +121,7 @@ const SallaSearchProductCard = /*@__PURE__*/ proxyCustomElement(class SallaSearc
121
121
  // 's-search-product-card-out-of-stock': this.productData?.is_out_of_stock,
122
122
  };
123
123
  const hrefProp = this.productData?.url ? { href: this.productData.url } : {};
124
- return (h(Host, { key: '96d5601bdfaf30f7455567d1b749882a1bacca89', id: `search-product-${this.productData?.id}`, class: classes }, this.productData?.url ? (h("a", { class: "s-search-product-card-overlay-link", "aria-label": this.productData?.name, ...hrefProp })) : null, h("div", { key: '3fe75c253a2658366445b9e8f49f8d1fefbbb203', class: "s-search-product-card-image" }, h("img", { key: '916d235df1545379d39c5645dd552dd9280d36ba', class: `s-search-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url) ? 'contain' : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), this.getProductBadge()), h("div", { key: 'e473015b3d9f5efe0aeffb304811e29c5c9cd4e6', class: "s-search-product-card-content" }, h("div", { key: 'f0c30273f378ba36d5e7a9c407b44112c7bcc132', class: "s-search-product-card-content-main" }, h("h3", { key: '747a97b3c73bee3cd301d4bd1e6904f3aef6f5fb', class: "s-search-product-card-content-title" }, this.getDisplayTitle()), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : null), !!this.showDonationAmount && !!this.productData?.donation
124
+ return (h(Host, { key: '68ea949b11eefd54cdc6f98efdfca9b88118618d', id: `search-product-${this.productData?.id}`, class: classes }, this.productData?.url ? (h("a", { class: "s-search-product-card-overlay-link", "aria-label": this.productData?.name, ...hrefProp })) : null, h("div", { key: 'b6edf8d163728c4bf676ff762156206b12c3e412', class: "s-search-product-card-image" }, h("img", { key: '49d70e57178065d4cd82ab9969ef1024e17da13f', class: `s-search-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url) ? 'contain' : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), this.getProductBadge()), h("div", { key: '1828cfa687675c9e0db05f52790e14e47fc62276', class: "s-search-product-card-content" }, h("div", { key: '4def9eb945cbbf9392a11ab917652f32b40e855d', class: "s-search-product-card-content-main" }, h("h3", { key: 'fac38036cd00252f8b2625b51b45edcb0f8f386e', class: "s-search-product-card-content-title" }, this.getDisplayTitle()), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : null), !!this.showDonationAmount && !!this.productData?.donation
125
125
  ? [
126
126
  h("salla-progress-bar", { donation: this.productData?.donation }),
127
127
  h("div", { class: "s-search-product-card-donation-input" }, this.productData?.donation?.can_donate
@@ -136,7 +136,7 @@ const SallaSearchProductCard = /*@__PURE__*/ proxyCustomElement(class SallaSearc
136
136
  ]
137
137
  : null),
138
138
  ]
139
- : null, h("div", { key: '87970771b9c073248e115e55d9d0848d7e319ec2', class: "s-search-product-card-content-sub" }, this.getProductPrice(), this.productData?.is_out_of_stock ? (h("span", { class: "s-search-product-card-out-of-stock-label" }, this.outOfStock)) : null), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Rate }), h("span", null, this.productData.rating.stars))) : null), !this.hideAddBtn ? (h("div", { class: "s-search-product-card-content-footer" }, h("salla-add-product-button", { ref: el => (this.addBtn = el), "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type, class: "s-add-product-button-compact" }, this.renderAddToCartLabel()))) : null));
139
+ : null, h("div", { key: '8a6b30d272e21ec90223437c9e47ae416aa2299b', class: "s-search-product-card-content-sub" }, this.getProductPrice(), this.productData?.is_out_of_stock ? (h("span", { class: "s-search-product-card-out-of-stock-label" }, this.outOfStock)) : null), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Rate }), h("span", null, this.productData.rating.stars))) : null), !this.hideAddBtn ? (h("div", { class: "s-search-product-card-content-footer" }, h("salla-add-product-button", { ref: el => (this.addBtn = el), "product-id": this.productData.id, "product-status": this.productData.status, "product-type": this.productData.type, class: "s-add-product-button-compact" }, this.renderAddToCartLabel()))) : null));
140
140
  }
141
141
  componentDidLoad() {
142
142
  document.lazyLoadInstance?.update(this.host?.querySelectorAll('.lazy'));
@@ -362,7 +362,7 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
362
362
  .fetch({ source: 'search', source_value: val })
363
363
  .then(response => {
364
364
  this.results = response;
365
- salla.event.emit('Products Searched', { query: val, total: response.data?.length });
365
+ salla.event.emit('Products Searched', { query: val, total: response.data?.length, metadata: response.metadata });
366
366
  })
367
367
  .catch(err => (err !== 'Query is same as previous one!' ? (this.results = undefined) : null))
368
368
  .finally(() => this.afterSearching());
@@ -197,18 +197,18 @@ const SallaSearchableDropdown = /*@__PURE__*/ proxyCustomElement(class SallaSear
197
197
  render() {
198
198
  const hasSelection = this.selectedItem != null;
199
199
  const listboxId = `${this.inputId}-listbox`;
200
- return (h(Host, { key: 'fc53e02e434040f760889983d900670231a40e48', class: "s-searchable-dropdown" }, h("div", { key: '86e6866e107164130b3db2ec1771bc88d0b97278', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: 'a3c11751fd38c9ac88ecec24e2ac610a9c22d485', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '793e54f5dad4e402cfbaf9eb86302d524ef8c3f0', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'ba6be33f8cf0361868f38e03298a6f7ca65a014d', class: {
200
+ return (h(Host, { key: '9b8ac693952ae27f7fecb0f848ef60f5778f0e75', class: "s-searchable-dropdown" }, h("div", { key: '2f10ce4a1aca3ff7299d8561a6dffc05b241b6b1', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: 'bf4f834506b01c388f961e71675dcff60fcab9d9', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'ccc2919fd2897f6f88009763c10e7e6b04818f5d', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '4b3796c45068749c9ad6fcd7cd82289971abd6cb', class: {
201
201
  's-searchable-dropdown-trigger': true,
202
202
  's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
203
203
  's-searchable-dropdown-trigger--open': this.isOpen,
204
- }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'ee33669d9dceb59ba57a4ab884bd4bd361482fef', class: {
204
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '0f00911d4b31a3bc5607b3d80c75fa9161e57450', class: {
205
205
  'sicon-keyboard_arrow_down': true,
206
206
  's-searchable-dropdown-trigger-icon': true,
207
207
  's-searchable-dropdown-trigger-icon--open': this.isOpen,
208
- }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '53beca7bfb0cb44612cbfead759c0681a77a0853', class: {
208
+ }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: 'e9d3ee8e3ce449038c9c24f664da1fd44cb140c9', class: {
209
209
  's-searchable-dropdown-panel': true,
210
210
  's-searchable-dropdown-panel--up': this.dropUp,
211
- }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: 'b301dbd407c1128bc9baaed95bc5059d06047c09', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '3cb244ca449a075cbaa70e79a3ce5366eef2f570', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '7fe5017de091ad8a4453d3a67c5200411f55a660', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '05180ea74c8bbb95c9f19c3346b01c46f2faaa1e', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
211
+ }, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '21d3d0f542271255a57c7ae1171a2245f21db148', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '32b23853dce56095394b0f3f32a62aa05e803af2', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: 'c50548c034ed3e4ff395fb009e545c78c2dc712e', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: 'c89233e8d294fe583d9fb8c11c7bb26af5307ce3', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
212
212
  }
213
213
  renderListContent() {
214
214
  if (this.searching || this.loading) {
@@ -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: '085e0afda0f8804a7365d56c84a59dc6ac97f942', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: 'a83a649343db0f91c18b6815c6c4d40254902aa9', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: 'b6ea2f9ba293c4c5922a5abf48f05845d02a8590', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '8fa3bed8b7aa80e01742d6c2496bc0578aabe7f1', 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: '5034ca70b89748c6bba5ede29e52f2d75d2f5565', class: "s-social-share-wrapper" }, h("slot", { key: '8a40e07046e2cab0032ce0e6927266c5d621a0a8', name: "widget" }, h("salla-button", { key: '120f97de2259ead0f48281a26fae5d32e7ac7ab7', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '4abea4fffcb76c64e9a0caffd5bffc3ad4676fd0', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
386
+ return (h("div", { key: 'e54e51701050bfe02aa33824a5870294618ca22c', class: "s-social-share-wrapper" }, h("slot", { key: '692691792083ae58a23c4a273019e09c74366805', name: "widget" }, h("salla-button", { key: 'a27f7bfd1d2fde734f1d89aa5dc83a59b3803b23', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '30cde6555a83a7362c2739e018fe994ee6dc25cf', 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: 'd62bc20c62af5bcea93835bc1ec2436f65f7e427' }, h("ul", { key: '33b410148ef6c60dd09237c7ec38f82aa3e9973d', 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: '4b8d92800f475d314d5637e290c1fa95c78335f5' }, h("ul", { key: 'b6134f221891e28484155c55d3bcf0182bcb967a', 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: '88c4bbda1dc7e40ba888ca1345d0727c91a83250', class: classes }, h("slot", { key: '1d2a205130b90702aa4a8f4a8d801bfce486cfe8' })));
35
+ return (h("div", { key: '3107faffd358504438b464be5000682d403e1b22', class: classes }, h("slot", { key: 'e6fc9e480389b54f9e6e20a7c8ccdb880a4ee6d4' })));
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: '39c79315b0099749cdbc425e3810d003fe3d8bd0', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '60bba7ace2e4bcd8a8a44d0f5e4d6d2731954d51' })),
61
+ h("div", { key: '04bb51760a3e43aed1645cf724b90e21ee2631bf', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'c9d5fc5dbc0a45712c9aa5e03becc613590011ea' })),
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: '6d2a815bfe8a75d43da4d1708696b5d6ec95e8c2', class: "s-tabs" }, h("div", { key: 'ea65e1291c1356e06071eaed0b851ac7e91e079b', class: "s-tabs-header" }, h("slot", { key: '2e1e61be1e7ed54023d30b9dd288fb65b5cfb22a', name: "header" })), h("div", { key: '57382fa798d7b902bef9732ddaf9dedae138af24', class: "s-tabs-content-wrapper" }, h("slot", { key: 'a8fa63931304c16a82ce8cd44132f0e5d751fa76', name: "content" })))
54
+ h("div", { key: 'de6455b0d68cb3e174771ad7be1bc95141d61df1', class: "s-tabs" }, h("div", { key: '57c21f00a709723fa0be789f388b3defb391bcb2', class: "s-tabs-header" }, h("slot", { key: 'b5107fab289f9d7c661ddd7c4cfea4795eb7bb19', name: "header" })), h("div", { key: '344d142adc8f6adbc70baf4009e2d594fdbaea06', class: "s-tabs-content-wrapper" }, h("slot", { key: 'acd41f2ebb7120a2c043d17740e5fd4d2db95276', 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: '49a93bc12f1f33f07e1ab6e859c6ae7b9e902eaa', class: "s-tel-input" }, h("input", { key: '041b007715f41d89c55762f2c31eca2be83dc5a7', 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: 'a44f133dc52d8ff2e8bc32286fde1492bf1706f8', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'f2518dc05cc82c3d01bae282a552665bf1dfcf37', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
147
+ return (h(Host, { key: 'd03d6361922175ab55e0f58fd54cbbc09f89e5e6', class: "s-tel-input" }, h("input", { key: '69a1fea1c843d4d36d6b0dd59131fa82f0cb62b6', 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: 'd627bceaf3d7e812a8bc727a12359495350d51b8', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '013c643d29f51c5ff35cd94ab62e4fcffbb8df0c', 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: '4027073cb58fa70679f54f6009ed1ca95fd3f3d0', class: "s-tooltip-container" }, h("div", { key: 'ea50ad74b456fa3c89cfef2b69b2c9d5630d63bd', 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: 'd689900a8fdad37c6396eb55d8140b48f3eda8b8', class: "s-tooltip-container" }, h("div", { key: '0ae14c42d03c5f81ce4f19fa90b0260a21ac1c1e', 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; }
@@ -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: '5af97017b32c6b8789b60e8a2e30a15ba4d8477d', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: '835038947364b40e7efcf0c7c059235655a8d1c8', class: "s-user-settings-section" }, h("salla-list-tile", { key: '303eb0f1b1624c488ecda6550e64e0221aaf0727' }, h("div", { key: '7b3d9cd8967c4139529d60fbffea08037c852d23', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '968433f7a41307f38c5ea4cd05264731cceedbd2', innerHTML: UserCancel })), h("div", { key: 'd5466cbe2245d66b5f019433999390e4cec62ce9', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '6d5663c3611e7b021f2d408932898b17ffd3d98f', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'cb64527fa93d77a52b39553a65e54b10f82d1bad', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '3c037a26665521c4f0f7a6c8c20755b8dc722b0d', class: "s-toggle" }, h("input", { key: '8a3454fb2daad2c329b2b619800a123768eb9fab', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '76777c45a35cf3917f3e9c6d2a4a15b1261cd785', class: "s-toggle-switcher" })))))), h("div", { key: '15427b60443b04774cd70421fd37a671f0765e73', class: "s-user-settings-section" }, h("salla-list-tile", { key: '9bafd59734c5e9141d6b2abb776641cafbe3ddbd' }, h("div", { key: '2235eafe07811ca7d3b9a9b2399db2ff21342f06', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '72df8d5640a9a9cffb9eab797ab4cda77e175d85', innerHTML: Bullhorn })), h("div", { key: 'afd7c492733050578a306e939b689832cf98ae59', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '5a6183f46e951ec89210fea99b9bc4016e223cb0', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'f0e2144728aa006c1dd778f28dd0dfb60cdb92d1', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '32930f9fc4a23fe80bfe8815672a590993622796', class: "s-toggle" }, h("input", { key: '3489e6c33afe5613f806841151c057692809fb76', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'e7b329ba0465670b9a5611864e0f4ef5a0a120ae', 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: '830b118e5ceabea1a2b14298d4aba796a040ec23', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: '3cf9e816c9757a8b60d6529091fe14df5ea32e4e', class: "s-user-settings-section" }, h("salla-list-tile", { key: '0ffb3e8f97d6b0af34fd57721f9430cc48cc67d2' }, h("div", { key: '702c5826f7f2fe9b4dcfe358f66cef306bafb5ab', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'e4ed4d6b03f1df675900b6a9ea6ea53b222414de', innerHTML: UserCancel })), h("div", { key: '4f6d392cdd4080ddff359381dfaf21847fdfba13', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'e786b26d5547e83bcab8df6dfa0c1697a1dc5727', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'a875a59062a1ff9e600b3b2cac9e1265467d45d6', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '450801ab871d8603fc79b05a0b5b8bc4d7ce4457', class: "s-toggle" }, h("input", { key: '9b79c1e08008b3c839ffe2492bf160b0e51c30d8', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: 'ca0807167186af65c389afd1f6db8487c61aa7cf', class: "s-toggle-switcher" })))))), h("div", { key: '57b71f67259053faad864b1c81a496b4cb0792f6', class: "s-user-settings-section" }, h("salla-list-tile", { key: '5f59cf890492310d734e3e3de92f5866280993c1' }, h("div", { key: 'a3d39ee7bc01fb41060e8447d566a721f0638673', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'ebe6f58818f3954091ec278f7dd0d5b947e6bf01', innerHTML: Bullhorn })), h("div", { key: '68f3f48970a343238d9a221cb5581584db5695a8', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '2b3edd4333a7730eae644023a021d49a57112fb9', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '0f406c80ed900ab42b5eaa4148b27e3db6222a0a', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: 'e0b42fd7b6df963de51ca8e9ddd06a1710589760', class: "s-toggle" }, h("input", { key: 'e67b1189631ea46e58fa12228b4d357a621f4cc6', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '52620a74be33301cbcb31d60d80919d99e342b2f', 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: '61c6a2e14015d947090f2c2c848977df899417fb' }, h("div", { key: '96af391ef77ddf0c4b477ed9e3dc272267dbf0ab', class: "s-wishlist-actions" }, h("div", { key: 'cecf6a71e609ef57cb255a9a1538550d036b76b3', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: 'e1b8aeb3f396a3125772f368245d2b384e5c13a0', class: "s-wishlist-actions-dropdown relative" }, h("salla-button", { key: '99104aa4f4c392a95b781c008cd192981f6477d3', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, h("div", { key: '306baf236e5b70406a1507f55a137944319d233f', class: "flex flex-row justify-center items-center gap-2" }, h("svg", { key: '22b2f5bcedbf93547aaf8071e6b8f406c075e57d', 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: 'fa0322e898cfbe8125b8fc2a74dc8b620b76c37a', 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: 'f4f9106b4c43287de0eef8f2a135a1ceb1551776', 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: '3b42d3b19bfc1fd4c85f41fd832d81fdda649536', 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: 'a32f7df4a58647fed593d2c0806e0f10f36f9a8d', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: '58f6ad4c35ccedcee83d8517a6a549c6861306ab' }, h("button", { key: '1d2f7ea94db7eb8cf675ee8bdc9bdb04aa65ea27', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: 'd48456d10a95533bd0c3c6426f3ef412694aca50' }, h("button", { key: '145f23f0d740b51a82e5c8e206742d7c5d055c80', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: 'df8e17259b4401a3e3272ef3c934dff72ea4a440', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: '2db4523127fe580cbf77a12038b841019aeea35e', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (h("div", { key: 'b0f6283a55c38780098b99c131a9cfcd26519bbf', 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: '776667fa68873ab872bf7995b5f452c1b6727491', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, h("input", { key: 'c381c9b7f400a863b2287aabbf7292476e5a3ff4', 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: '3692e38fc5cda70722624ade0ce63ad33856980e', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: '89463fcaa83f4d16499f2b8ae5e4bcd6e61ba15b', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: 'a51008ff77697dd851998b19f860b13e295b3256', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), h("salla-button", { key: '5b57eb53be2cecef981492cf00af3ea7b43b9da9', 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: '555b93b058b7d1e02d850b4d6ab318be5cb6b69f' }, h("div", { key: 'b9110b59c759b08113ad876c21210f84ff1634cf', class: "s-wishlist-actions" }, h("div", { key: '7017fcaa2c202322476bb57a92aa0f67990b2366', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, h("div", { key: '2f2074ac227e33de8880339c64b8ac4db9936c33', class: "s-wishlist-actions-dropdown relative" }, h("salla-button", { key: '65197f13ea06c1f6ef41c5b229005160f1ce6fb6', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, h("div", { key: 'dc98a952df9bd96f98aa755529332929609f6238', class: "flex flex-row justify-center items-center gap-2" }, h("svg", { key: '165a00da1a16ebda3ca67a312e2e818e90e50b59', 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: 'b8d5e91620b46af1e583e1c729a62fc575ac6f79', 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: '804d7e2251bec8e7e224aff212c56038b6e578a4', 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: 'a72392c9ed7ed88a6bddb52ad521ea299b3521db', 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: 'f92af33b6f93b242bb5e31ca7493cbe98da954bf', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, h("li", { key: '1a890bceb2b1f818714aa8588f3cbac8dcd58bb1' }, h("button", { key: 'dea5ebfbbb21a915218495ba4c753058daa8673e', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), h("li", { key: 'bef2909444be2d83245e684c24647939d6efb0a6' }, h("button", { key: 'f3acc3228c9056c4a65df2c7461444a2cf5105bc', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), h("salla-social-share", { key: 'aef87f10208a46d1bbe5cb09c4ed23175d0c8e05', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, h("span", { key: 'bc89fba2ab1178515ddd557dda51bf1bcb41a1e8', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (h("div", { key: 'a46e2c665a46fe2d9fc7bc1084223d24cdfe9706', 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: '28eada8514684c55699bb22f390f48d129c9d1c6', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, h("input", { key: '9db31a9fcec824cfde62545fa402c5a7a97c6f81', 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: '38b2e97d3185cf1483d49c26ff9b2746b4b08aaa', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), h("div", { key: '3f4d117cf6745fd3490c1196c1ae6f42e3185ae6', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, h("salla-button", { key: 'daf79a258a9bca9eda2a1f103daec21e8cbb0609', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), h("salla-button", { key: '34ee6ad51826802310a4f8a055211914da55747c', 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; }
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-11T07:00:34",
2
+ "timestamp": "2026-10-11T09:08:11",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.1",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.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-UnmOIma5.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bk24FlDL.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {