@salla.sa/twilight-components 2.14.555 → 2.14.557

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 (347) hide show
  1. package/dist/cjs/{filepond-V64-M5Vo.js → filepond-B0WltAUU.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-B7aoDNhd.js → filepond-plugin-file-poster-CY6apY0i.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CqXpFD_V.js → filepond-plugin-file-validate-size-D4ROC-Be.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DscY_V_T.js → filepond-plugin-file-validate-type-6lBH-fIm.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CCSCHmYX.js → filepond-plugin-image-edit-zEOX3Sjw.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BukXu8El.js → filepond-plugin-image-exif-orientation-y0OgGNND.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-FxqKQGsC.js → filepond-plugin-image-preview-C-amHd3H.js} +1 -1
  8. package/dist/cjs/{index-JqDmtj3h.js → index-CyKUnNvM.js} +18 -14
  9. package/dist/cjs/{intlTelInput-BE60HZ-g.js → intlTelInput-CTwMzcpE.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +13 -3
  13. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +10 -10
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-form_9.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-map_2.cjs.entry.js +835 -0
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +224 -46
  75. package/dist/cjs/salla-payments.cjs.entry.js +76 -2
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +33 -4
  85. package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -2
  86. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  91. package/dist/cjs/{salla-map_3.cjs.entry.js → salla-slider.cjs.entry.js} +13 -837
  92. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-trust-badges.cjs.entry.js +3 -165
  98. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  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 +1 -1
  104. package/dist/cjs/twilight.cjs.js +2 -2
  105. package/dist/cjs/{vanilla-picker-C6UDkt2D.js → vanilla-picker-B_r1mvJW.js} +1 -1
  106. package/dist/collection/components/salla-button/salla-button.js +32 -2
  107. package/dist/collection/components/salla-orders/salla-orders.css +122 -0
  108. package/dist/collection/components/salla-orders/salla-orders.js +231 -45
  109. package/dist/collection/components/salla-payments/salla-payments.css +3 -0
  110. package/dist/collection/components/salla-payments/salla-payments.js +74 -0
  111. package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +32 -3
  112. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +2 -1
  113. package/dist/collection/components/salla-slider/salla-slider.js +12 -8
  114. package/dist/collection/components/salla-trust-badges/salla-trust-badges.css +1 -16
  115. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -163
  116. package/dist/components/index.js +2 -2
  117. package/dist/components/salla-button2.js +13 -2
  118. package/dist/components/salla-orders.js +294 -48
  119. package/dist/components/salla-payments.js +75 -1
  120. package/dist/components/salla-rating-modal-v22.js +32 -3
  121. package/dist/components/salla-rating-modal2.js +2 -1
  122. package/dist/components/salla-slider2.js +12 -8
  123. package/dist/components/salla-trust-badges.js +2 -164
  124. package/dist/esm/{filepond-BbwWCoUz.js → filepond-B9wUqRiS.js} +1 -1
  125. package/dist/esm/{filepond-plugin-file-poster-CZ8FMKd0.js → filepond-plugin-file-poster-Cms0jrkz.js} +1 -1
  126. package/dist/esm/{filepond-plugin-file-validate-size-CuxiDUA-.js → filepond-plugin-file-validate-size-B2gy-nn6.js} +1 -1
  127. package/dist/esm/{filepond-plugin-file-validate-type-DQeyRMJ1.js → filepond-plugin-file-validate-type-D_AqfbaS.js} +1 -1
  128. package/dist/esm/{filepond-plugin-image-edit-BbEOhu0E.js → filepond-plugin-image-edit-ChS3tv_T.js} +1 -1
  129. package/dist/esm/{filepond-plugin-image-exif-orientation-BtSlyB35.js → filepond-plugin-image-exif-orientation-iLQFxzEc.js} +1 -1
  130. package/dist/esm/{filepond-plugin-image-preview-C-ekUjUD.js → filepond-plugin-image-preview-Dm1gYrYZ.js} +1 -1
  131. package/dist/esm/{index-v673k1ze.js → index-BLzx0e6P.js} +18 -14
  132. package/dist/esm/{intlTelInput-C_t3NVhh.js → intlTelInput-BTOzA2B4.js} +1 -1
  133. package/dist/esm/loader.js +3 -3
  134. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  135. package/dist/esm/salla-accordion_6.entry.js +13 -3
  136. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  137. package/dist/esm/salla-advertisement.entry.js +1 -1
  138. package/dist/esm/salla-alert_2.entry.js +1 -1
  139. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  140. package/dist/esm/salla-applied-filters.entry.js +1 -1
  141. package/dist/esm/salla-apps-icons.entry.js +1 -1
  142. package/dist/esm/salla-attachment-view_9.entry.js +10 -10
  143. package/dist/esm/salla-badge.entry.js +1 -1
  144. package/dist/esm/salla-basket-gap.entry.js +1 -1
  145. package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
  146. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  147. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  148. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  149. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  150. package/dist/esm/salla-comment-factors.entry.js +1 -1
  151. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  152. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  153. package/dist/esm/salla-contacts.entry.js +1 -1
  154. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  155. package/dist/esm/salla-count-down_2.entry.js +1 -1
  156. package/dist/esm/salla-custom-fields.entry.js +1 -1
  157. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  158. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  159. package/dist/esm/salla-filters-widget.entry.js +1 -1
  160. package/dist/esm/salla-filters.entry.js +1 -1
  161. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  162. package/dist/esm/salla-gifting.entry.js +1 -1
  163. package/dist/esm/salla-hook.entry.js +1 -1
  164. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  165. package/dist/esm/salla-installment.entry.js +1 -1
  166. package/dist/esm/salla-list-tile.entry.js +1 -1
  167. package/dist/esm/salla-localization-modal.entry.js +1 -1
  168. package/dist/esm/salla-login-modal.entry.js +1 -1
  169. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  170. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  171. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  172. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  173. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  174. package/dist/esm/salla-loyalty.entry.js +1 -1
  175. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  176. package/dist/esm/salla-map_2.entry.js +832 -0
  177. package/dist/esm/salla-menu.entry.js +1 -1
  178. package/dist/esm/salla-metadata.entry.js +1 -1
  179. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  180. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  181. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  182. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  183. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  184. package/dist/esm/salla-offer-modal.entry.js +1 -1
  185. package/dist/esm/salla-offer.entry.js +1 -1
  186. package/dist/esm/salla-order-branch.entry.js +1 -1
  187. package/dist/esm/salla-order-cancel.entry.js +1 -1
  188. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  189. package/dist/esm/salla-order-details-options.entry.js +1 -1
  190. package/dist/esm/salla-order-details.entry.js +1 -1
  191. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  192. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  193. package/dist/esm/salla-order-edit.entry.js +1 -1
  194. package/dist/esm/salla-order-shipments.entry.js +1 -1
  195. package/dist/esm/salla-order-summary.entry.js +1 -1
  196. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  197. package/dist/esm/salla-orders.entry.js +224 -46
  198. package/dist/esm/salla-payments.entry.js +76 -2
  199. package/dist/esm/salla-placeholder.entry.js +1 -1
  200. package/dist/esm/salla-price-range.entry.js +1 -1
  201. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  202. package/dist/esm/salla-product-card.entry.js +1 -1
  203. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  204. package/dist/esm/salla-products-list.entry.js +1 -1
  205. package/dist/esm/salla-products-slider.entry.js +1 -1
  206. package/dist/esm/salla-quick-order.entry.js +1 -1
  207. package/dist/esm/salla-rating-modal-v2.entry.js +33 -4
  208. package/dist/esm/salla-rating-modal.entry.js +3 -2
  209. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  210. package/dist/esm/salla-review-order-item.entry.js +1 -1
  211. package/dist/esm/salla-scopes.entry.js +1 -1
  212. package/dist/esm/salla-search.entry.js +1 -1
  213. package/dist/esm/salla-skeleton.entry.js +1 -1
  214. package/dist/esm/{salla-map_3.entry.js → salla-slider.entry.js} +14 -836
  215. package/dist/esm/salla-social-share.entry.js +1 -1
  216. package/dist/esm/salla-social.entry.js +1 -1
  217. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  218. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  219. package/dist/esm/salla-tooltip.entry.js +1 -1
  220. package/dist/esm/salla-trust-badges.entry.js +3 -165
  221. package/dist/esm/salla-user-menu.entry.js +1 -1
  222. package/dist/esm/salla-user-profile.entry.js +1 -1
  223. package/dist/esm/salla-user-settings.entry.js +1 -1
  224. package/dist/esm/salla-verify.entry.js +1 -1
  225. package/dist/esm/salla-wallet.entry.js +1 -1
  226. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  227. package/dist/esm/twilight.js +3 -3
  228. package/dist/esm/{vanilla-picker-De2ilLoG.js → vanilla-picker-CbIzx8P3.js} +1 -1
  229. package/dist/twilight/{p-f98409d5.entry.js → p-0416a2a8.entry.js} +1 -1
  230. package/dist/twilight/{p-5b5c0c17.entry.js → p-05490b44.entry.js} +1 -1
  231. package/dist/twilight/{p-53da4e3c.entry.js → p-05b66ce1.entry.js} +1 -1
  232. package/dist/twilight/{p-cd311823.entry.js → p-06c1c936.entry.js} +1 -1
  233. package/dist/twilight/{p-36c48ad0.entry.js → p-07b67ef6.entry.js} +1 -1
  234. package/dist/twilight/{p-29058912.entry.js → p-0c80fbcf.entry.js} +1 -1
  235. package/dist/twilight/{p-b4a60b8a.entry.js → p-1420e962.entry.js} +1 -1
  236. package/dist/twilight/p-18d0c69f.entry.js +4 -0
  237. package/dist/twilight/{p-fac7ca25.entry.js → p-1bfb9675.entry.js} +1 -1
  238. package/dist/twilight/{p-96d5d862.entry.js → p-210095ee.entry.js} +1 -1
  239. package/dist/twilight/{p-332b2ecc.entry.js → p-2a5b180a.entry.js} +1 -1
  240. package/dist/twilight/p-2b7ca018.entry.js +4 -0
  241. package/dist/twilight/{p-d47dddea.entry.js → p-2bd06384.entry.js} +1 -1
  242. package/dist/twilight/{p-adbb84d6.entry.js → p-2c0870cb.entry.js} +1 -1
  243. package/dist/twilight/{p-6c18776d.entry.js → p-33e0d7b8.entry.js} +1 -1
  244. package/dist/twilight/{p-3c20da9e.entry.js → p-34f2d378.entry.js} +1 -1
  245. package/dist/twilight/{p-916ab646.entry.js → p-365745de.entry.js} +1 -1
  246. package/dist/twilight/{p-fc571372.entry.js → p-3a97face.entry.js} +1 -1
  247. package/dist/twilight/{p-781ca3b5.entry.js → p-3b4b1f29.entry.js} +1 -1
  248. package/dist/twilight/{p-c61ca934.entry.js → p-3ba22519.entry.js} +1 -1
  249. package/dist/twilight/{p-c5e95ee3.entry.js → p-3cc1a9b8.entry.js} +1 -1
  250. package/dist/twilight/{p-2e79124b.entry.js → p-407a73f4.entry.js} +1 -1
  251. package/dist/twilight/p-45706908.entry.js +4 -0
  252. package/dist/twilight/{p-1e94e0a2.entry.js → p-46ba098a.entry.js} +1 -1
  253. package/dist/twilight/{p-47aa2c89.entry.js → p-47597499.entry.js} +1 -1
  254. package/dist/twilight/{p-f0e72376.entry.js → p-4cabeff6.entry.js} +1 -1
  255. package/dist/twilight/{p-7f7347b7.entry.js → p-53285f66.entry.js} +1 -1
  256. package/dist/twilight/{p-e4b6668f.entry.js → p-56b2f8d7.entry.js} +1 -1
  257. package/dist/twilight/{p-58e3105b.entry.js → p-595bfef8.entry.js} +1 -1
  258. package/dist/twilight/{p-3403bec0.entry.js → p-59ccfd64.entry.js} +1 -1
  259. package/dist/twilight/{p-faa82f0b.entry.js → p-5bb8c263.entry.js} +1 -1
  260. package/dist/twilight/p-5cbd36fb.entry.js +4 -0
  261. package/dist/twilight/{p-fd27e4ca.entry.js → p-5cc80969.entry.js} +1 -1
  262. package/dist/twilight/{p-49f29350.entry.js → p-5f6c10d6.entry.js} +1 -1
  263. package/dist/twilight/{p-7144699e.entry.js → p-61b6c754.entry.js} +1 -1
  264. package/dist/twilight/{p-c0be9473.entry.js → p-67caf54b.entry.js} +1 -1
  265. package/dist/twilight/{p-0f5de1bf.entry.js → p-6866b3d6.entry.js} +1 -1
  266. package/dist/twilight/{p-3b67ea7c.entry.js → p-6af36173.entry.js} +1 -1
  267. package/dist/twilight/{p-7596f1d9.entry.js → p-6d8b0678.entry.js} +1 -1
  268. package/dist/twilight/{p-2f9a2bce.entry.js → p-6ea62f2b.entry.js} +1 -1
  269. package/dist/twilight/{p-c341612e.entry.js → p-738ec366.entry.js} +1 -1
  270. package/dist/twilight/{p-a94e10cf.entry.js → p-7767f3a7.entry.js} +1 -1
  271. package/dist/twilight/{p-87be4526.entry.js → p-7a19cb93.entry.js} +1 -1
  272. package/dist/twilight/{p-1c963977.entry.js → p-7c859f0c.entry.js} +1 -1
  273. package/dist/twilight/{p-a7175222.entry.js → p-7d86bc77.entry.js} +1 -1
  274. package/dist/twilight/{p-98655456.entry.js → p-7f077279.entry.js} +1 -1
  275. package/dist/twilight/{p-01bee709.entry.js → p-7ffa452c.entry.js} +1 -1
  276. package/dist/twilight/{p-29c6b1d7.entry.js → p-809a0076.entry.js} +1 -1
  277. package/dist/twilight/{p-441d35f3.entry.js → p-81f8537a.entry.js} +1 -1
  278. package/dist/twilight/{p-763fcce6.entry.js → p-86cd2898.entry.js} +1 -1
  279. package/dist/twilight/{p-5b12104d.entry.js → p-894fdcdd.entry.js} +1 -1
  280. package/dist/twilight/p-8a7bb785.entry.js +4 -0
  281. package/dist/twilight/{p-a1866532.entry.js → p-8b81811b.entry.js} +1 -1
  282. package/dist/twilight/{p-1a53b7ba.entry.js → p-8d8c84d8.entry.js} +1 -1
  283. package/dist/twilight/{p-4de30125.entry.js → p-8e2f52b2.entry.js} +1 -1
  284. package/dist/twilight/{p-22a82c83.entry.js → p-932e3bff.entry.js} +1 -1
  285. package/dist/twilight/{p-0459fa04.entry.js → p-96a13e17.entry.js} +1 -1
  286. package/dist/twilight/{p-6a884697.entry.js → p-96ded4cf.entry.js} +1 -1
  287. package/dist/twilight/{p-aa86e779.entry.js → p-98e83214.entry.js} +1 -1
  288. package/dist/twilight/{p-787696da.entry.js → p-99a757ac.entry.js} +1 -1
  289. package/dist/twilight/{p-f3c1b249.entry.js → p-9ddcdf20.entry.js} +1 -1
  290. package/dist/twilight/{p-1881142d.entry.js → p-9ef91e6b.entry.js} +1 -1
  291. package/dist/twilight/{p-CrhT4X_0.js → p-BBCmWsAH.js} +1 -1
  292. package/dist/twilight/{p-v673k1ze.js → p-BLzx0e6P.js} +1 -1
  293. package/dist/twilight/{p-Dl5Cti4G.js → p-BQGQ9tVS.js} +1 -1
  294. package/dist/twilight/{p-DkLse5IZ.js → p-BTjFfROl.js} +1 -1
  295. package/dist/twilight/{p-i4DEtsKA.js → p-Bi7BjntU.js} +1 -1
  296. package/dist/twilight/{p-ClQurXJY.js → p-BqaOIJsE.js} +1 -1
  297. package/dist/twilight/{p-BoK_yrzl.js → p-CBW4kczX.js} +1 -1
  298. package/dist/twilight/{p-C38aqYcA.js → p-C_G6bYCk.js} +1 -1
  299. package/dist/twilight/{p-c43d0713.entry.js → p-a0c97ac9.entry.js} +1 -1
  300. package/dist/twilight/{p-93bbb768.entry.js → p-a4175383.entry.js} +1 -1
  301. package/dist/twilight/{p-48404719.entry.js → p-a4b7ee47.entry.js} +1 -1
  302. package/dist/twilight/{p-b1bfe620.entry.js → p-a51931ba.entry.js} +1 -1
  303. package/dist/twilight/{p-ccd1d170.entry.js → p-a7801576.entry.js} +1 -1
  304. package/dist/twilight/p-a8b41edc.entry.js +4 -0
  305. package/dist/twilight/{p-99347a4b.entry.js → p-ada5f9db.entry.js} +1 -1
  306. package/dist/twilight/{p-6a88ecbb.entry.js → p-b36ca739.entry.js} +1 -1
  307. package/dist/twilight/{p-854cf6b2.entry.js → p-bba884dc.entry.js} +1 -1
  308. package/dist/twilight/p-bc0bc63f.entry.js +4 -0
  309. package/dist/twilight/{p-7830f9cc.entry.js → p-be424137.entry.js} +1 -1
  310. package/dist/twilight/{p-3a557186.entry.js → p-c0fc7756.entry.js} +1 -1
  311. package/dist/twilight/{p-3322b527.entry.js → p-c428c44b.entry.js} +1 -1
  312. package/dist/twilight/{p-f8947c55.entry.js → p-c4f963ea.entry.js} +1 -1
  313. package/dist/twilight/{p-ac8e107d.entry.js → p-c69e0669.entry.js} +1 -1
  314. package/dist/twilight/{p-a1459207.entry.js → p-c9d10c9f.entry.js} +1 -1
  315. package/dist/twilight/{p-e10eaa53.entry.js → p-cb7bc39f.entry.js} +1 -1
  316. package/dist/twilight/{p-b12c9ac8.entry.js → p-cd86c231.entry.js} +1 -1
  317. package/dist/twilight/{p-22833fa3.entry.js → p-d1ba8e6e.entry.js} +1 -1
  318. package/dist/twilight/{p-cf910c80.entry.js → p-d84a11b8.entry.js} +1 -1
  319. package/dist/twilight/{p-fc7abb9d.entry.js → p-de3b3e41.entry.js} +1 -1
  320. package/dist/twilight/{p-057a429d.entry.js → p-eb10186c.entry.js} +1 -1
  321. package/dist/twilight/{p-7f2a8357.entry.js → p-eb9fca37.entry.js} +1 -1
  322. package/dist/twilight/{p-223dcdd5.entry.js → p-ed3fc3bb.entry.js} +1 -1
  323. package/dist/twilight/p-ee463cf9.entry.js +4 -0
  324. package/dist/twilight/{p-dc59eba5.entry.js → p-f276a319.entry.js} +1 -1
  325. package/dist/twilight/{p-b7e01562.entry.js → p-f602c556.entry.js} +1 -1
  326. package/dist/twilight/{p-1e5e139c.entry.js → p-f87ba34e.entry.js} +1 -1
  327. package/dist/twilight/{p-a8907480.entry.js → p-fa459971.entry.js} +1 -1
  328. package/dist/twilight/{p-1f29f0d9.entry.js → p-fa7966bd.entry.js} +1 -1
  329. package/dist/twilight/{p-00e7a638.entry.js → p-fad4aa22.entry.js} +1 -1
  330. package/dist/twilight/{p-FzJa0xDL.js → p-iB9dUe00.js} +1 -1
  331. package/dist/twilight/{p-BktQ3gNi.js → p-oVUukCva.js} +1 -1
  332. package/dist/twilight/twilight.esm.js +1 -1
  333. package/dist/types/components/salla-button/salla-button.d.ts +6 -0
  334. package/dist/types/components/salla-orders/interface.d.ts +1 -0
  335. package/dist/types/components/salla-orders/salla-orders.d.ts +29 -2
  336. package/dist/types/components/salla-payments/salla-payments.d.ts +4 -0
  337. package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +7 -0
  338. package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +0 -22
  339. package/dist/types/components.d.ts +10 -0
  340. package/package.json +5 -5
  341. package/dist/twilight/p-07ef3ff3.entry.js +0 -4
  342. package/dist/twilight/p-2f19a192.entry.js +0 -4
  343. package/dist/twilight/p-64da04fc.entry.js +0 -4
  344. package/dist/twilight/p-7e0a47e2.entry.js +0 -4
  345. package/dist/twilight/p-ab142dda.entry.js +0 -4
  346. package/dist/twilight/p-b9c2c39b.entry.js +0 -4
  347. package/dist/twilight/p-d43ae452.entry.js +0 -4
@@ -150,6 +150,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
150
150
  this.confirmDeleteBtn = salla.lang.get('common.elements.confirm_delete');
151
151
  this.updatedSuccessfullyLabel = salla.lang.get('pages.rating.review_updated_successfully');
152
152
  this.deletedSuccessfullyLabel = salla.lang.get('pages.rating.review_deleted_successfully');
153
+ this.nothingToRateLabel = salla.lang.get('pages.rating.nothing_to_rate');
153
154
  this.contactUsLabel = salla.lang.get('blocks.footer.social');
154
155
  this.requiredFactorsLabel = salla.lang.get('pages.rating.rate_required_factors');
155
156
  this.rateTheFollowingLabel = salla.lang.get('pages.rating.rate_the_following_factors');
@@ -371,6 +372,23 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
371
372
  return this.getOrderProducts(order).filter(item => !this.hasRatingFeedback(item?.feedback) &&
372
373
  (!this.productId || String(item.product.id) === String(this.productId)));
373
374
  }
375
+ /**
376
+ * True when the order never had anything ratable to begin with (as opposed to
377
+ * everything already being rated). Distinguishes a genuinely broken/empty
378
+ * order-feedback response from the legitimate "all done, thank you" state.
379
+ */
380
+ hasNothingToRate(order = this.order) {
381
+ if (!order) {
382
+ return true;
383
+ }
384
+ const testimonialsEverPossible = order.testimonials_enabled !== false &&
385
+ (order.testimonials_enabled === true || !!order.allowed_ratings?.testimonials_enabled);
386
+ const shippingEverPossible = !!order.shipping?.company &&
387
+ order.shipping_enabled !== false &&
388
+ (order.shipping_enabled === true || !!order.allowed_ratings?.shipping_enabled);
389
+ const productsEverPossible = order.products_enabled !== false && this.getOrderProducts(order).length > 0;
390
+ return !testimonialsEverPossible && !shippingEverPossible && !productsEverPossible;
391
+ }
374
392
  getStepsCount(order = this.order) {
375
393
  if (!order) {
376
394
  return 0;
@@ -450,15 +468,16 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
450
468
  this.defaultMode = true;
451
469
  this.currentIndex = 0;
452
470
  this.submitted = [];
471
+ const requestedOrderId = this.getRatingOrderId();
453
472
  return new Promise(resolve => {
454
473
  setTimeout(() => {
455
474
  this.modal
456
475
  ?.open()
457
- .then(() => this.order ||
476
+ .then(() => (this.order && this.order.id === requestedOrderId) ||
458
477
  (this.isUnverifiedReview()
459
478
  ? this.loadUnverifiedProductOrder()
460
479
  : salla.api
461
- .withoutNotifier(() => salla.rating.api.order(this.getRatingOrderId()))
480
+ .withoutNotifier(() => salla.rating.api.order(requestedOrderId))
462
481
  .then(async (res) => {
463
482
  this.order = res.data;
464
483
  this.productReviewFactors = await this.fetchAllProductReviewFactors(res.data);
@@ -604,6 +623,11 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
604
623
  this.steps = this.modal?.querySelectorAll('.s-rating-modal-step');
605
624
  this.dots = this.modal?.querySelectorAll('.s-rating-modal-step-dot');
606
625
  if (this.stepsCount === 0) {
626
+ if (this.hasNothingToRate()) {
627
+ this.hasError = true;
628
+ this.errorMessage = this.nothingToRateLabel;
629
+ return;
630
+ }
607
631
  this.showThankYou();
608
632
  return;
609
633
  }
@@ -1422,7 +1446,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
1422
1446
  if (el)
1423
1447
  this.nextBtn = el;
1424
1448
  }, onClick: () => this.submit() }, salla.lang.get('common.elements.next'))),
1425
- ]) : (h("salla-placeholder", { alignment: "center" })))));
1449
+ ]) : (h("div", { class: "s-rating-modal-wrapper" }, h("salla-placeholder", { alignment: "center" }, this.errorMessage ? (h("span", { slot: "description" }, this.errorMessage)) : null))))));
1426
1450
  }
1427
1451
  }
1428
1452
  async componentWillLoad() {
@@ -1506,6 +1530,10 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
1506
1530
  ar: 'شاركنا صورة مع تقييمك للطلب واكسب :points نقطة ولاء',
1507
1531
  en: 'Share a photo with your order review and earn :points loyalty points',
1508
1532
  },
1533
+ 'pages.rating.nothing_to_rate': {
1534
+ ar: 'لا يوجد شيء متاح للتقييم في هذا الطلب حاليًا.',
1535
+ en: 'There is nothing available to rate for this order right now.',
1536
+ },
1509
1537
  });
1510
1538
  this.contactUsLabel = salla.lang.get('blocks.footer.social');
1511
1539
  this.dragAndDropFilesLabel = salla.lang.get('common.uploader.drag_and_drop_files');
@@ -1518,6 +1546,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
1518
1546
  this.cancelLabel = salla.lang.get('common.elements.cancel');
1519
1547
  this.updatedSuccessfullyLabel = salla.lang.get('pages.rating.review_updated_successfully');
1520
1548
  this.deletedSuccessfullyLabel = salla.lang.get('pages.rating.review_deleted_successfully');
1549
+ this.nothingToRateLabel = salla.lang.get('pages.rating.nothing_to_rate');
1521
1550
  this.confirmDeleteBtn = salla.lang.get('common.elements.confirm_delete');
1522
1551
  this.requiredFactorsLabel = salla.lang.get('pages.rating.rate_required_factors');
1523
1552
  this.rateTheFollowingLabel = salla.lang.get('pages.rating.rate_the_following_factors');
@@ -181,9 +181,10 @@ const SallaRatingModal = /*@__PURE__*/ proxyCustomElement(class SallaRatingModal
181
181
  return this.getV2Ref()?.open();
182
182
  }
183
183
  this.defaultMode = true;
184
+ const requestedOrderId = this.orderId ? this.orderId : salla.config.get('page.id');
184
185
  return new Promise((resolve) => {
185
186
  setTimeout(() => {
186
- this.modal.open().then(() => this.order || salla.api.withoutNotifier(() => salla.rating.api.order(this.orderId ? this.orderId : salla.config.get('page.id'))).then(res => this.order = res.data))
187
+ this.modal.open().then(() => (this.order && this.order.id === requestedOrderId) || salla.api.withoutNotifier(() => salla.rating.api.order(requestedOrderId)).then(res => this.order = res.data))
187
188
  .then(() => this.readyUpLoyaltyPoints())
188
189
  .then(() => this.modal.setTitle(`${salla.lang.get('pages.rating.rate_order')} <span class="unicode">(#${this.order.id})</span>`))
189
190
  .then(() => {
@@ -10140,16 +10140,20 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10140
10140
  this.hasThumbSlot = !!this.host.querySelector('[slot="thumbs"]');
10141
10141
  if (this.listenToThumbnailsOption) {
10142
10142
  salla.event.on('product-options::change', data => {
10143
- const isSupportedOptionType = ['thumbnail', 'color'].includes(data?.option?.type);
10144
- const optionImageId = data?.detail?.option_value;
10145
- if (!isSupportedOptionType || !optionImageId) {
10143
+ if (!['thumbnail', 'color'].includes(data?.option?.type)) {
10146
10144
  return;
10147
10145
  }
10148
- const slideIndex = this.sliderWrapper
10149
- ?.querySelector(`[data-img-id="${optionImageId}"]`)
10150
- ?.getAttribute('data-slid-index');
10151
- if (slideIndex) {
10152
- this.slideTo(parseInt(slideIndex), 300, false);
10146
+ // Options with their own uploaded thumbnail carry the gallery image id in `color`.
10147
+ const imageIds = [data?.detail?.option_value, data?.detail?.color]
10148
+ .filter(value => value != null && /^\d+$/.test(String(value)));
10149
+ for (const imageId of imageIds) {
10150
+ const slideIndex = this.sliderWrapper
10151
+ ?.querySelector(`[data-img-id="${CSS.escape(String(imageId))}"]`)
10152
+ ?.getAttribute('data-slid-index');
10153
+ if (slideIndex != null) {
10154
+ this.slideTo(parseInt(slideIndex, 10), 300, false);
10155
+ return;
10156
+ }
10153
10157
  }
10154
10158
  });
10155
10159
  }
@@ -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;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.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-v673k1ze.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BLzx0e6P.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {