@salla.sa/twilight-components 2.14.575 → 2.14.577

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 (478) hide show
  1. package/dist/cjs/{filepond-NMq4bM2q.js → filepond-iflxa4A5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-TEelNjjG.js → filepond-plugin-file-poster-NZ84xlKh.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DRVxzFUc.js → filepond-plugin-file-validate-size-m8Z_JlZX.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-75J1mHEB.js → filepond-plugin-file-validate-type-BfF6LYAT.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CvC-CZjk.js → filepond-plugin-image-edit-DfRJ3iRj.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D7mJeHKx.js → filepond-plugin-image-exif-orientation-BZxYZai-.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-QxURSuZ4.js → filepond-plugin-image-preview-BQ7HvH2d.js} +1 -1
  8. package/dist/cjs/{helpers-Dm4BirHO.js → helpers-DBynEhOO.js} +0 -15
  9. package/dist/cjs/{index-Bt8A6pnr.js → index-CSe-ijAV.js} +2 -2
  10. package/dist/cjs/{intlTelInput-Dq8y3YHO.js → intlTelInput-DHfYz8vv.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +3 -3
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +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 +17 -17
  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 +179 -187
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +160 -7
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  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 +4 -4
  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 +2 -2
  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 +3 -3
  38. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gift-card-redeem.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  42. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  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 +2 -2
  46. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +15 -15
  49. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-map_3.cjs.entry.js +4 -4
  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 +4 -4
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-offer.cjs.entry.js +18 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +38 -13
  78. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  80. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  82. package/dist/cjs/salla-product-card.cjs.entry.js +6 -6
  83. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  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 +1 -1
  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-tooltip.cjs.entry.js +2 -2
  100. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  104. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  106. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  107. package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
  108. package/dist/cjs/twilight.cjs.js +2 -2
  109. package/dist/cjs/{vanilla-picker-BkJyQVMl.js → vanilla-picker-Brk9Mb54.js} +1 -1
  110. package/dist/collection/assets/svg/mini-map.svg +6 -30
  111. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  112. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +241 -238
  113. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +175 -146
  114. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.css +154 -92
  115. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +160 -5
  116. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  117. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  118. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  119. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  120. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  121. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  122. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  123. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  124. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  125. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  126. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  127. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  128. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  129. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  130. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  131. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  132. package/dist/collection/components/salla-loyalty-program/salla-loyalty-exchange-product-card.js +2 -2
  133. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  135. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  136. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  137. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  138. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +1 -1
  139. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  140. package/dist/collection/components/salla-map/salla-map.js +3 -3
  141. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  142. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  143. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  144. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  145. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  146. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  147. package/dist/collection/components/salla-offer/salla-offer.js +17 -1
  148. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  149. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  150. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  151. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  152. package/dist/collection/components/salla-orders/salla-orders.js +39 -12
  153. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  154. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  155. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  156. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  157. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  158. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  159. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  160. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  161. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  162. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  163. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.js +1 -1
  164. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  165. package/dist/collection/components/salla-search-product-card/salla-search-product-card.js +2 -2
  166. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  167. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  168. package/dist/collection/components/salla-social/salla-social.js +1 -1
  169. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  170. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  171. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  172. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  173. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  174. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  175. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  176. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  177. package/dist/components/helpers.js +1 -15
  178. package/dist/components/index.js +2 -2
  179. package/dist/components/salla-accordion-head2.js +2 -2
  180. package/dist/components/salla-bullet-delivery.js +175 -184
  181. package/dist/components/salla-cart-coupons.js +161 -6
  182. package/dist/components/salla-cart-summary.js +1 -1
  183. package/dist/components/salla-color-picker2.js +1 -1
  184. package/dist/components/salla-comment-form2.js +1 -1
  185. package/dist/components/salla-conditional-fields2.js +1 -1
  186. package/dist/components/salla-count-down2.js +1 -1
  187. package/dist/components/salla-datetime-picker2.js +1 -1
  188. package/dist/components/salla-delivery-promise.js +1 -1
  189. package/dist/components/salla-file-upload2.js +2 -2
  190. package/dist/components/salla-filters-widget2.js +2 -2
  191. package/dist/components/salla-filters.js +1 -1
  192. package/dist/components/salla-gifting.js +2 -2
  193. package/dist/components/salla-hook.js +1 -1
  194. package/dist/components/salla-list-tile2.js +1 -1
  195. package/dist/components/salla-loading2.js +1 -1
  196. package/dist/components/salla-localization-modal.js +1 -1
  197. package/dist/components/salla-loyalty-exchange-product-card2.js +2 -2
  198. package/dist/components/salla-loyalty-hero2.js +3 -3
  199. package/dist/components/salla-loyalty-point2.js +4 -4
  200. package/dist/components/salla-loyalty-points-history.js +1 -1
  201. package/dist/components/salla-loyalty-prize-item.js +1 -1
  202. package/dist/components/salla-loyalty-reward.js +2 -2
  203. package/dist/components/salla-maintenance-alert.js +1 -1
  204. package/dist/components/salla-map2.js +3 -3
  205. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  206. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  207. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  208. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  209. package/dist/components/salla-multiple-bundle-product.js +1 -1
  210. package/dist/components/salla-notification-item2.js +1 -1
  211. package/dist/components/salla-offer-modal.js +1 -1
  212. package/dist/components/salla-offer.js +17 -1
  213. package/dist/components/salla-order-details.js +1 -1
  214. package/dist/components/salla-order-edit-product-card.js +1 -1
  215. package/dist/components/salla-order-summary.js +1 -1
  216. package/dist/components/salla-orders.js +39 -12
  217. package/dist/components/salla-payments.js +2 -2
  218. package/dist/components/salla-placeholder2.js +1 -1
  219. package/dist/components/salla-price-range2.js +2 -2
  220. package/dist/components/salla-product-availability2.js +1 -1
  221. package/dist/components/salla-product-card-embed.js +1 -1
  222. package/dist/components/salla-product-card2.js +5 -5
  223. package/dist/components/salla-product-size-guide.js +2 -2
  224. package/dist/components/salla-quantity-input2.js +1 -1
  225. package/dist/components/salla-quick-buy2.js +1 -1
  226. package/dist/components/salla-review-card2.js +1 -1
  227. package/dist/components/salla-review-factors-tags2.js +1 -1
  228. package/dist/components/salla-reviews-page.js +1 -1
  229. package/dist/components/salla-reward-card2.js +1 -1
  230. package/dist/components/salla-reward-details2.js +3 -3
  231. package/dist/components/salla-reward-exchange2.js +1 -1
  232. package/dist/components/salla-search-product-card2.js +2 -2
  233. package/dist/components/salla-searchable-dropdown2.js +4 -4
  234. package/dist/components/salla-skeleton2.js +1 -1
  235. package/dist/components/salla-social-share2.js +1 -1
  236. package/dist/components/salla-social.js +1 -1
  237. package/dist/components/salla-tab-content2.js +1 -1
  238. package/dist/components/salla-tab-header2.js +1 -1
  239. package/dist/components/salla-tabs2.js +1 -1
  240. package/dist/components/salla-tel-input2.js +1 -1
  241. package/dist/components/salla-tooltip2.js +1 -1
  242. package/dist/components/salla-user-settings.js +1 -1
  243. package/dist/components/salla-wishlist-actions.js +1 -1
  244. package/dist/esm/{filepond-kmpJTY5p.js → filepond-Qm94dFPs.js} +1 -1
  245. package/dist/esm/{filepond-plugin-file-poster-8M0TsTUo.js → filepond-plugin-file-poster-CHpnwHYe.js} +1 -1
  246. package/dist/esm/{filepond-plugin-file-validate-size-CPVDzrMj.js → filepond-plugin-file-validate-size-BwHBxxMg.js} +1 -1
  247. package/dist/esm/{filepond-plugin-file-validate-type-D0qUdWNB.js → filepond-plugin-file-validate-type-BD-yTEPO.js} +1 -1
  248. package/dist/esm/{filepond-plugin-image-edit-K8nFORG9.js → filepond-plugin-image-edit-DKc0Yw10.js} +1 -1
  249. package/dist/esm/{filepond-plugin-image-exif-orientation-BSvnwKAw.js → filepond-plugin-image-exif-orientation-CepmNFGF.js} +1 -1
  250. package/dist/esm/{filepond-plugin-image-preview-hArDoD8N.js → filepond-plugin-image-preview-FhnzagMd.js} +1 -1
  251. package/dist/esm/{helpers-CV6uPJEJ.js → helpers-BJxBnTgv.js} +1 -15
  252. package/dist/esm/{index-a6lSRQK4.js → index-BAXTlrSC.js} +2 -2
  253. package/dist/esm/{intlTelInput-CC5xRRkd.js → intlTelInput-BJlOPJYY.js} +1 -1
  254. package/dist/esm/loader.js +3 -3
  255. package/dist/esm/salla-accordion-body_2.entry.js +3 -3
  256. package/dist/esm/salla-accordion_6.entry.js +2 -2
  257. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  258. package/dist/esm/salla-advertisement.entry.js +1 -1
  259. package/dist/esm/salla-alert_2.entry.js +1 -1
  260. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  261. package/dist/esm/salla-applied-filters.entry.js +1 -1
  262. package/dist/esm/salla-apps-icons.entry.js +1 -1
  263. package/dist/esm/salla-attachment-view_9.entry.js +17 -17
  264. package/dist/esm/salla-badge.entry.js +1 -1
  265. package/dist/esm/salla-basket-gap.entry.js +1 -1
  266. package/dist/esm/salla-bullet-delivery_3.entry.js +179 -187
  267. package/dist/esm/salla-cart-coupons.entry.js +160 -7
  268. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  269. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  270. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  271. package/dist/esm/salla-comment-factors.entry.js +1 -1
  272. package/dist/esm/salla-comment-form_9.entry.js +4 -4
  273. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  274. package/dist/esm/salla-contacts.entry.js +1 -1
  275. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  276. package/dist/esm/salla-count-down.entry.js +2 -2
  277. package/dist/esm/salla-custom-fields.entry.js +1 -1
  278. package/dist/esm/salla-delivery-promise.entry.js +2 -2
  279. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  280. package/dist/esm/salla-filters-widget.entry.js +3 -3
  281. package/dist/esm/salla-filters.entry.js +2 -2
  282. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  283. package/dist/esm/salla-gift-card-redeem.entry.js +1 -1
  284. package/dist/esm/salla-gifting.entry.js +3 -3
  285. package/dist/esm/salla-hook.entry.js +2 -2
  286. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  287. package/dist/esm/salla-installment.entry.js +1 -1
  288. package/dist/esm/salla-list-tile.entry.js +2 -2
  289. package/dist/esm/salla-localization-modal.entry.js +2 -2
  290. package/dist/esm/salla-login-modal.entry.js +1 -1
  291. package/dist/esm/salla-loyalty-banner_10.entry.js +15 -15
  292. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +3 -3
  293. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  294. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  295. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  296. package/dist/esm/salla-loyalty.entry.js +1 -1
  297. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  298. package/dist/esm/salla-map_3.entry.js +4 -4
  299. package/dist/esm/salla-menu.entry.js +1 -1
  300. package/dist/esm/salla-metadata.entry.js +1 -1
  301. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  302. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  303. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  304. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  305. package/dist/esm/salla-notification-item_2.entry.js +2 -2
  306. package/dist/esm/salla-offer-modal.entry.js +2 -2
  307. package/dist/esm/salla-offer.entry.js +18 -2
  308. package/dist/esm/salla-order-branch.entry.js +1 -1
  309. package/dist/esm/salla-order-cancel.entry.js +1 -1
  310. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  311. package/dist/esm/salla-order-details-options.entry.js +1 -1
  312. package/dist/esm/salla-order-details.entry.js +2 -2
  313. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  314. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  315. package/dist/esm/salla-order-edit.entry.js +1 -1
  316. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  317. package/dist/esm/salla-order-shipments.entry.js +1 -1
  318. package/dist/esm/salla-order-summary.entry.js +2 -2
  319. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  320. package/dist/esm/salla-orders.entry.js +38 -13
  321. package/dist/esm/salla-payments.entry.js +3 -3
  322. package/dist/esm/salla-placeholder.entry.js +2 -2
  323. package/dist/esm/salla-price-range.entry.js +3 -3
  324. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  325. package/dist/esm/salla-product-card.entry.js +6 -6
  326. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  327. package/dist/esm/salla-products-list.entry.js +1 -1
  328. package/dist/esm/salla-products-slider.entry.js +1 -1
  329. package/dist/esm/salla-quick-order.entry.js +1 -1
  330. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  331. package/dist/esm/salla-rating-modal.entry.js +1 -1
  332. package/dist/esm/salla-review-factors-tags.entry.js +2 -2
  333. package/dist/esm/salla-review-order-item.entry.js +1 -1
  334. package/dist/esm/salla-scopes.entry.js +1 -1
  335. package/dist/esm/salla-search-product-card.entry.js +3 -3
  336. package/dist/esm/salla-search.entry.js +1 -1
  337. package/dist/esm/salla-skeleton.entry.js +2 -2
  338. package/dist/esm/salla-social-share.entry.js +2 -2
  339. package/dist/esm/salla-social.entry.js +2 -2
  340. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  341. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  342. package/dist/esm/salla-tooltip.entry.js +2 -2
  343. package/dist/esm/salla-trust-badges.entry.js +1 -1
  344. package/dist/esm/salla-user-menu.entry.js +1 -1
  345. package/dist/esm/salla-user-profile.entry.js +1 -1
  346. package/dist/esm/salla-user-settings.entry.js +2 -2
  347. package/dist/esm/salla-verify.entry.js +1 -1
  348. package/dist/esm/salla-wallet.entry.js +1 -1
  349. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  350. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  351. package/dist/esm/twilight.js +3 -3
  352. package/dist/esm/{vanilla-picker-CDhGfTst.js → vanilla-picker-C_cY41gl.js} +1 -1
  353. package/dist/twilight/{p-cc15290b.entry.js → p-00a727c3.entry.js} +1 -1
  354. package/dist/twilight/{p-fc13e706.entry.js → p-0227316e.entry.js} +1 -1
  355. package/dist/twilight/{p-aee0c658.entry.js → p-03c959bb.entry.js} +1 -1
  356. package/dist/twilight/{p-a177b13f.entry.js → p-072ee78f.entry.js} +1 -1
  357. package/dist/twilight/{p-f2f6f502.entry.js → p-073e1363.entry.js} +1 -1
  358. package/dist/twilight/{p-4a60be6d.entry.js → p-0806da7e.entry.js} +1 -1
  359. package/dist/twilight/{p-5134aae8.entry.js → p-08cedab0.entry.js} +1 -1
  360. package/dist/twilight/{p-69594ced.entry.js → p-0bcca7f8.entry.js} +1 -1
  361. package/dist/twilight/{p-9b04ed7f.entry.js → p-10a68a21.entry.js} +1 -1
  362. package/dist/twilight/{p-00e68964.entry.js → p-13abf9ca.entry.js} +1 -1
  363. package/dist/twilight/{p-742f2c15.entry.js → p-13c35685.entry.js} +1 -1
  364. package/dist/twilight/{p-540138a1.entry.js → p-162fa48e.entry.js} +1 -1
  365. package/dist/twilight/{p-e0b5a06d.entry.js → p-1762fd86.entry.js} +1 -1
  366. package/dist/twilight/{p-2af75479.entry.js → p-18c41e9a.entry.js} +1 -1
  367. package/dist/twilight/{p-d6803c56.entry.js → p-1fbb0b22.entry.js} +1 -1
  368. package/dist/twilight/{p-109472c5.entry.js → p-1fd6a10e.entry.js} +1 -1
  369. package/dist/twilight/p-28cdaf6b.entry.js +4 -0
  370. package/dist/twilight/{p-ebd9a6c2.entry.js → p-292a0b4a.entry.js} +1 -1
  371. package/dist/twilight/{p-d0fce326.entry.js → p-2ba4956f.entry.js} +1 -1
  372. package/dist/twilight/{p-6f371a84.entry.js → p-2c543420.entry.js} +1 -1
  373. package/dist/twilight/{p-b7624eb6.entry.js → p-2e3a56de.entry.js} +1 -1
  374. package/dist/twilight/p-2e4064eb.entry.js +4 -0
  375. package/dist/twilight/{p-d56cb23a.entry.js → p-3153f560.entry.js} +1 -1
  376. package/dist/twilight/{p-977e3e76.entry.js → p-3a3815a2.entry.js} +1 -1
  377. package/dist/twilight/{p-0a38d353.entry.js → p-3cef6be2.entry.js} +1 -1
  378. package/dist/twilight/{p-3500065c.entry.js → p-3dd612a6.entry.js} +1 -1
  379. package/dist/twilight/{p-312e8678.entry.js → p-411c1ab0.entry.js} +1 -1
  380. package/dist/twilight/p-423d852d.entry.js +4 -0
  381. package/dist/twilight/{p-c500e5fe.entry.js → p-44a6598e.entry.js} +1 -1
  382. package/dist/twilight/{p-7f69cf5d.entry.js → p-51d83216.entry.js} +1 -1
  383. package/dist/twilight/{p-6a7eacbd.entry.js → p-51fb8841.entry.js} +1 -1
  384. package/dist/twilight/{p-2541db96.entry.js → p-56609a91.entry.js} +1 -1
  385. package/dist/twilight/{p-2591eead.entry.js → p-58c1bf51.entry.js} +1 -1
  386. package/dist/twilight/{p-6051a92c.entry.js → p-59a7ca2e.entry.js} +1 -1
  387. package/dist/twilight/{p-426acd77.entry.js → p-5a77257c.entry.js} +1 -1
  388. package/dist/twilight/{p-9e53d7a6.entry.js → p-5c4e2ed3.entry.js} +1 -1
  389. package/dist/twilight/{p-a0d39b81.entry.js → p-5f464161.entry.js} +1 -1
  390. package/dist/twilight/{p-d1a0bd97.entry.js → p-637670fa.entry.js} +1 -1
  391. package/dist/twilight/{p-81c88f97.entry.js → p-6605f258.entry.js} +1 -1
  392. package/dist/twilight/{p-3bd153c1.entry.js → p-665bc308.entry.js} +1 -1
  393. package/dist/twilight/{p-7cc8b82b.entry.js → p-6bfe12d5.entry.js} +1 -1
  394. package/dist/twilight/{p-cbcbc9f8.entry.js → p-6de608eb.entry.js} +1 -1
  395. package/dist/twilight/{p-e9d73e7d.entry.js → p-6f9bc285.entry.js} +1 -1
  396. package/dist/twilight/{p-6958e848.entry.js → p-70451662.entry.js} +1 -1
  397. package/dist/twilight/{p-45b97699.entry.js → p-7b0cf8a1.entry.js} +1 -1
  398. package/dist/twilight/{p-6f741b21.entry.js → p-7d08dcfb.entry.js} +1 -1
  399. package/dist/twilight/{p-01cae03e.entry.js → p-7d37b650.entry.js} +1 -1
  400. package/dist/twilight/{p-254e6e0c.entry.js → p-7f3e110c.entry.js} +1 -1
  401. package/dist/twilight/{p-5fe0908b.entry.js → p-80302c52.entry.js} +1 -1
  402. package/dist/twilight/{p-583a63e5.entry.js → p-806083b4.entry.js} +1 -1
  403. package/dist/twilight/{p-50816838.entry.js → p-84cff600.entry.js} +1 -1
  404. package/dist/twilight/{p-c9779211.entry.js → p-884104a3.entry.js} +1 -1
  405. package/dist/twilight/{p-34d33337.entry.js → p-898ce93b.entry.js} +1 -1
  406. package/dist/twilight/{p-dc86737c.entry.js → p-8a865d37.entry.js} +1 -1
  407. package/dist/twilight/{p-bc54fc8b.entry.js → p-8c750736.entry.js} +1 -1
  408. package/dist/twilight/{p-7f861ac0.entry.js → p-8fc2eb01.entry.js} +1 -1
  409. package/dist/twilight/{p-2af98444.entry.js → p-97fee81d.entry.js} +1 -1
  410. package/dist/twilight/{p-c9ba30cd.entry.js → p-9920bbad.entry.js} +1 -1
  411. package/dist/twilight/{p-24bd13b8.entry.js → p-99b9bf66.entry.js} +1 -1
  412. package/dist/twilight/{p-b0c86557.entry.js → p-9b4a0dd3.entry.js} +1 -1
  413. package/dist/twilight/{p-0f1981ee.entry.js → p-9e054110.entry.js} +1 -1
  414. package/dist/twilight/{p-a6lSRQK4.js → p-BAXTlrSC.js} +1 -1
  415. package/dist/twilight/p-BJxBnTgv.js +4 -0
  416. package/dist/twilight/{p-BokV7EHy.js → p-BWpg3MwW.js} +1 -1
  417. package/dist/twilight/{p-DNjWzZsK.js → p-C6WaobtY.js} +1 -1
  418. package/dist/twilight/{p-wx2L9ZB0.js → p-CvebbG3m.js} +1 -1
  419. package/dist/twilight/{p-CSuif4Xw.js → p-D5lNzFgl.js} +1 -1
  420. package/dist/twilight/{p-CfhebjBE.js → p-DGzNHmGp.js} +1 -1
  421. package/dist/twilight/{p-BG1dHHdm.js → p-DnrvXyI6.js} +1 -1
  422. package/dist/twilight/{p-DOF2UkI4.js → p-DpI1J-G1.js} +1 -1
  423. package/dist/twilight/{p-DWPp9ZjN.js → p-SguJQlDo.js} +1 -1
  424. package/dist/twilight/{p-DZHubgN5.js → p-_f6GlygH.js} +1 -1
  425. package/dist/twilight/{p-5d72b7d7.entry.js → p-a2d07dba.entry.js} +1 -1
  426. package/dist/twilight/{p-8271e127.entry.js → p-a73a785d.entry.js} +1 -1
  427. package/dist/twilight/{p-e155a1a6.entry.js → p-a79c04a2.entry.js} +1 -1
  428. package/dist/twilight/{p-3a113599.entry.js → p-a9fcdac5.entry.js} +1 -1
  429. package/dist/twilight/{p-f1a3cf9e.entry.js → p-ab3ad37f.entry.js} +1 -1
  430. package/dist/twilight/{p-10968d1c.entry.js → p-abc3e5d5.entry.js} +1 -1
  431. package/dist/twilight/{p-0f9bfeeb.entry.js → p-b356f3f6.entry.js} +1 -1
  432. package/dist/twilight/{p-2bf8f0ed.entry.js → p-b55fb51b.entry.js} +1 -1
  433. package/dist/twilight/{p-28875055.entry.js → p-bb35af04.entry.js} +1 -1
  434. package/dist/twilight/{p-3ff2b8b6.entry.js → p-bf845ea7.entry.js} +1 -1
  435. package/dist/twilight/{p-5b1a0560.entry.js → p-c2e871ae.entry.js} +1 -1
  436. package/dist/twilight/{p-004584f5.entry.js → p-c38fb150.entry.js} +1 -1
  437. package/dist/twilight/{p-7b373051.entry.js → p-c63ff8ef.entry.js} +1 -1
  438. package/dist/twilight/{p-63a315e1.entry.js → p-c90600b1.entry.js} +1 -1
  439. package/dist/twilight/{p-2c480419.entry.js → p-cc1b3318.entry.js} +1 -1
  440. package/dist/twilight/{p-44b8d453.entry.js → p-ce1d3ad9.entry.js} +1 -1
  441. package/dist/twilight/{p-ea1c06ab.entry.js → p-ce80fb8f.entry.js} +1 -1
  442. package/dist/twilight/{p-d7e5b860.entry.js → p-d3556d1f.entry.js} +1 -1
  443. package/dist/twilight/{p-ef037207.entry.js → p-d3cf9f8a.entry.js} +1 -1
  444. package/dist/twilight/{p-af99726d.entry.js → p-dd18ac5c.entry.js} +1 -1
  445. package/dist/twilight/p-dda4d231.entry.js +4 -0
  446. package/dist/twilight/{p-86ad5af2.entry.js → p-e0d834a7.entry.js} +1 -1
  447. package/dist/twilight/{p-71ecb477.entry.js → p-e4ff7a77.entry.js} +1 -1
  448. package/dist/twilight/{p-5ddd9aa0.entry.js → p-e66856c5.entry.js} +1 -1
  449. package/dist/twilight/{p-a47b910f.entry.js → p-e7c4d4cc.entry.js} +1 -1
  450. package/dist/twilight/{p-12ab7c1a.entry.js → p-e944f02a.entry.js} +1 -1
  451. package/dist/twilight/{p-21e6b2e7.entry.js → p-e95fd91e.entry.js} +1 -1
  452. package/dist/twilight/{p-55e0745e.entry.js → p-ea7846fd.entry.js} +1 -1
  453. package/dist/twilight/p-f0ca37fc.entry.js +4 -0
  454. package/dist/twilight/{p-96cac80e.entry.js → p-f2e13d28.entry.js} +1 -1
  455. package/dist/twilight/p-f514b9f5.entry.js +4 -0
  456. package/dist/twilight/p-fa6f2b27.entry.js +4 -0
  457. package/dist/twilight/{p-84599aa5.entry.js → p-faadae59.entry.js} +1 -1
  458. package/dist/twilight/{p-4bf58226.entry.js → p-fc500047.entry.js} +1 -1
  459. package/dist/twilight/p-fdc97278.entry.js +4 -0
  460. package/dist/twilight/twilight.esm.js +1 -1
  461. package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +6 -0
  462. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +25 -12
  463. package/dist/types/components/salla-cart-coupons/interfaces.d.ts +20 -0
  464. package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +49 -1
  465. package/dist/types/components/salla-offer/salla-offer.d.ts +10 -0
  466. package/dist/types/components/salla-orders/interface.d.ts +2 -0
  467. package/dist/types/components/salla-orders/salla-orders.d.ts +5 -1
  468. package/dist/types/components.d.ts +2 -2
  469. package/package.json +5 -5
  470. package/dist/twilight/p-127f0000.entry.js +0 -4
  471. package/dist/twilight/p-25a4633f.entry.js +0 -4
  472. package/dist/twilight/p-3357d33a.entry.js +0 -4
  473. package/dist/twilight/p-338f727b.entry.js +0 -4
  474. package/dist/twilight/p-7a19ef45.entry.js +0 -4
  475. package/dist/twilight/p-8d30dbac.entry.js +0 -4
  476. package/dist/twilight/p-CV6uPJEJ.js +0 -4
  477. package/dist/twilight/p-a391b31d.entry.js +0 -4
  478. package/dist/twilight/p-eb11b8be.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h } from './index-BAXTlrSC.js';
5
5
  import { H as Helper } from './Helper-ivBHT_nn.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -11,15 +11,20 @@ const sallaInfiniteScrollCss = "/*!twlt*/.s-button-btn{position:relative;display
11
11
 
12
12
  const FEEDBACK_STATUS_WAITING = 'waiting';
13
13
  const TAB_QUERY_PARAM = 'tab';
14
+ const SHOW_EXTERNAL_ORDERS_FEATURE = 'show-external-orders';
14
15
  function getFilterFromSearchParams() {
15
16
  const tab = new URLSearchParams(window.location.search).get(TAB_QUERY_PARAM);
16
- return tab === 'waiting' ? 'waiting' : 'all';
17
+ if (tab === 'waiting' || tab === 'archived')
18
+ return tab;
19
+ return 'all';
17
20
  }
18
21
  const LANG_DEFAULTS = {
19
22
  'pages.orders.filter_all': { ar: 'الكل', en: 'All' },
23
+ 'pages.orders.filter_archived': { ar: 'الطلبات المؤرشفة', en: 'Archived orders' },
20
24
  'pages.orders.filter_awaiting_review': { ar: 'بانتظار تقييمك', en: 'Awaiting your review' },
21
25
  'pages.orders.leave_review': { ar: 'أضف تقييمك', en: 'Add review' },
22
26
  'pages.orders.no_unrated_orders': { ar: 'لا توجد طلبات غير مقيَّمة', en: 'No unrated orders' },
27
+ 'pages.orders.no_archived_orders': { ar: 'لا توجد طلبات مؤرشفة', en: 'No archived orders' },
23
28
  'pages.orders.review_banner': {
24
29
  ar: 'لديك طلبات بانتظار تقييمك. شارك رأيك وساعدنا على تحسين تجربتك.',
25
30
  en: 'You have orders awaiting your review. Share your feedback and help us improve your experience.',
@@ -40,9 +45,11 @@ const SallaOrder = class {
40
45
  this.load_more_text_trans = salla.lang.get('common.elements.load_more');
41
46
  this.languageCode = salla.lang.locale;
42
47
  this.filterAllText = salla.lang.getWithDefault('pages.orders.filter_all', 'الكل');
48
+ this.filterArchivedText = salla.lang.getWithDefault('pages.orders.filter_archived', 'الطلبات المؤرشفة');
43
49
  this.filterAwaitingReviewText = salla.lang.getWithDefault('pages.orders.filter_awaiting_review', 'بانتظار تقييمك');
44
50
  this.leaveReviewText = salla.lang.getWithDefault('pages.orders.leave_review', 'شارك تقييمك');
45
51
  this.noUnratedOrdersText = salla.lang.getWithDefault('pages.orders.no_unrated_orders', 'لا توجد طلبات غير مقيَّمة');
52
+ this.noArchivedOrdersText = salla.lang.getWithDefault('pages.orders.no_archived_orders', 'لا توجد طلبات مؤرشفة');
46
53
  this.orders = [];
47
54
  this.nextPage = null;
48
55
  this.activeFilter = getFilterFromSearchParams();
@@ -51,6 +58,7 @@ const SallaOrder = class {
51
58
  this.isFetching = false;
52
59
  this.reviewPoints = 0;
53
60
  this.filterGeneration = 0;
61
+ this.showExternalOrders = false;
54
62
  salla.lang.onLoaded(() => {
55
63
  this.languageCode = salla.lang.locale;
56
64
  this.orderNumberText = salla.lang.get('pages.thank_you.order_id');
@@ -70,9 +78,11 @@ const SallaOrder = class {
70
78
  }
71
79
  refreshReviewLabels() {
72
80
  this.filterAllText = salla.lang.getWithDefault('pages.orders.filter_all', 'الكل');
81
+ this.filterArchivedText = salla.lang.getWithDefault('pages.orders.filter_archived', 'الطلبات المؤرشفة');
73
82
  this.filterAwaitingReviewText = salla.lang.getWithDefault('pages.orders.filter_awaiting_review', 'بانتظار تقييمك');
74
83
  this.leaveReviewText = salla.lang.getWithDefault('pages.orders.leave_review', 'شارك تقييمك');
75
84
  this.noUnratedOrdersText = salla.lang.getWithDefault('pages.orders.no_unrated_orders', 'لا توجد طلبات غير مقيَّمة');
85
+ this.noArchivedOrdersText = salla.lang.getWithDefault('pages.orders.no_archived_orders', 'لا توجد طلبات مؤرشفة');
76
86
  }
77
87
  setupLoyalty() {
78
88
  // ? Flags
@@ -217,11 +227,11 @@ const SallaOrder = class {
217
227
  return;
218
228
  this.setLoadMoreLoading(false);
219
229
  this.isFetching = true;
220
- // Rows are appended to the wrapper imperatively (outside Stencil's vdom), so
230
+ // Rows are appended to the table body imperatively (outside Stencil's vdom), so
221
231
  // switching the render branch to the skeleton table won't clear them on its
222
232
  // own — clear them explicitly or the old rows linger alongside the skeleton.
223
- if (this.wrapper) {
224
- this.wrapper.innerHTML = '';
233
+ if (this.ordersTableBody) {
234
+ this.ordersTableBody.innerHTML = '';
225
235
  }
226
236
  this.filterGeneration++;
227
237
  const feedbackStatus = filter === 'waiting' ? FEEDBACK_STATUS_WAITING : null;
@@ -231,6 +241,7 @@ const SallaOrder = class {
231
241
  format: 'light',
232
242
  types: [''],
233
243
  feedback_status: feedbackStatus,
244
+ ...(filter === 'archived' ? { external_orders: 1 } : {}),
234
245
  });
235
246
  this.orders = resp.data;
236
247
  this.hasInfiniteScroll = !!resp.pagination?.links.next;
@@ -244,8 +255,8 @@ const SallaOrder = class {
244
255
  }
245
256
  if (!this.orders.length) {
246
257
  this.setLoadMoreLoading(false);
247
- this.emptyFilterResult = filter === 'waiting';
248
- this.showPlaceholder = filter !== 'waiting';
258
+ this.emptyFilterResult = filter !== 'all';
259
+ this.showPlaceholder = filter === 'all';
249
260
  return;
250
261
  }
251
262
  this.showPlaceholder = false;
@@ -263,7 +274,9 @@ const SallaOrder = class {
263
274
  }
264
275
  }
265
276
  getSingleOrderItem(order) {
266
- const referenceId = order.reference_id ?? '';
277
+ const orderNumber = String((this.activeFilter === 'archived' ? order.external_order_id : order.reference_id) ?? '');
278
+ // ponytail: # only for pure digits; alphanumeric external ids stay bare
279
+ const orderNumberLabel = /^\d+$/.test(orderNumber) ? `#${orderNumber}` : orderNumber;
267
280
  const tr = document.createElement('tr');
268
281
  tr.classList.add('s-orders-table-tbody-tr', 's-orders-table-tbody-tr-shadow');
269
282
  const td1 = document.createElement('td');
@@ -275,7 +288,7 @@ const SallaOrder = class {
275
288
  span1.textContent = `${this.orderNumberText}:`;
276
289
  const span2 = document.createElement('span');
277
290
  span2.classList.add('s-orders-reference-id');
278
- span2.textContent = `#${referenceId}`;
291
+ span2.textContent = orderNumberLabel;
279
292
  div1.appendChild(span1);
280
293
  div1.appendChild(span2);
281
294
  if (order.source === 'buy_as_gift') {
@@ -293,7 +306,7 @@ const SallaOrder = class {
293
306
  sallaButton.classList.add('relative');
294
307
  sallaButton.setAttribute('color', 'dark');
295
308
  sallaButton.setAttribute('shape', 'link');
296
- sallaButton.dataset.content = String(referenceId);
309
+ sallaButton.dataset.content = orderNumber;
297
310
  sallaButton.addEventListener('click', event => {
298
311
  Helper.copyToClipboard(event);
299
312
  Helper.toggleElementClassIf(sallaButton, 'copied', 'code-to-copy', () => true);
@@ -302,7 +315,7 @@ const SallaOrder = class {
302
315
  }, 1000);
303
316
  });
304
317
  const span3 = document.createElement('span');
305
- span3.textContent = '#' + referenceId;
318
+ span3.textContent = orderNumberLabel;
306
319
  const copyIcon = document.createElement('i');
307
320
  copyIcon.classList.add('sicon-swap-stroke', 's-orders-copy-to-clipboard-button-icon');
308
321
  // Check the text direction
@@ -434,8 +447,13 @@ const SallaOrder = class {
434
447
  renderSkeletonRows(count = 5) {
435
448
  return Array.from({ length: count }, (_, index) => this.renderSkeletonRow(index));
436
449
  }
450
+ getEmptyFilterText() {
451
+ return this.activeFilter === 'archived'
452
+ ? this.noArchivedOrdersText
453
+ : this.noUnratedOrdersText;
454
+ }
437
455
  renderFilters() {
438
- return (h("div", { class: "s-orders-filters" }, h("salla-button", { size: "small", color: this.activeFilter === 'all' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('all'), enableLoader: false }, this.filterAllText), h("salla-button", { size: "small", color: this.activeFilter === 'waiting' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('waiting'), enableLoader: false }, this.filterAwaitingReviewText)));
456
+ return (h("div", { class: "s-orders-filters" }, h("salla-button", { size: "small", color: this.activeFilter === 'all' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('all'), enableLoader: false }, this.filterAllText), this.showExternalOrders && (h("salla-button", { size: "small", color: this.activeFilter === 'archived' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('archived'), enableLoader: false }, this.filterArchivedText)), h("salla-button", { size: "small", color: this.activeFilter === 'waiting' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('waiting'), enableLoader: false }, this.filterAwaitingReviewText)));
439
457
  }
440
458
  renderBanner() {
441
459
  if (!this.pendingReviewCount)
@@ -446,7 +464,7 @@ const SallaOrder = class {
446
464
  if (this.showPlaceholder) {
447
465
  return (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.noOrderText)));
448
466
  }
449
- return (h("div", { class: "s-orders-wrapper" }, this.renderBanner(), this.renderFilters(), h("div", { class: "s-orders-list-wrapper" }, this.isFetching ? (h("table", { class: "s-orders-table s-orders-table-skeleton" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody" }, this.renderSkeletonRows()))) : this.emptyFilterResult ? (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.noUnratedOrdersText))) : (h("table", { class: "s-orders-table" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody", ref: element => (this.ordersTableBody = element) })))), this.nextPage && !this.emptyFilterResult && (h("div", { class: "s-infinite-scroll-wrapper", ref: status => (this.status = status) }, h("button", { type: "button", onClick: () => this.loadMore(), class: "s-infinite-scroll-btn s-button-btn s-button-primary" }, h("span", { class: "s-button-text s-infinite-scroll-btn-text" }, this.loadMoreText ?? this.load_more_text_trans), h("span", { class: "s-button-loader s-button-loader-center s-infinite-scroll-btn-loader", ref: btnLoader => (this.btnLoader = btnLoader), style: { display: 'none' } })))), h("salla-rating-modal", { ref: el => (this.ratingModal = el) })));
467
+ return (h("div", { class: "s-orders-wrapper" }, this.renderBanner(), this.renderFilters(), h("div", { class: "s-orders-list-wrapper" }, this.isFetching ? (h("table", { class: "s-orders-table s-orders-table-skeleton" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody" }, this.renderSkeletonRows()))) : this.emptyFilterResult ? (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.getEmptyFilterText()))) : (h("table", { class: "s-orders-table" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody", ref: element => (this.ordersTableBody = element) })))), this.nextPage && !this.emptyFilterResult && (h("div", { class: "s-infinite-scroll-wrapper", ref: status => (this.status = status) }, h("button", { type: "button", onClick: () => this.loadMore(), class: "s-infinite-scroll-btn s-button-btn s-button-primary" }, h("span", { class: "s-button-text s-infinite-scroll-btn-text" }, this.loadMoreText ?? this.load_more_text_trans), h("span", { class: "s-button-loader s-button-loader-center s-infinite-scroll-btn-loader", ref: btnLoader => (this.btnLoader = btnLoader), style: { display: 'none' } })))), h("salla-rating-modal", { ref: el => (this.ratingModal = el) })));
450
468
  }
451
469
  componentDidRender() {
452
470
  this.populateOrdersTableIfEmpty();
@@ -458,6 +476,13 @@ const SallaOrder = class {
458
476
  });
459
477
  return salla.onReady().then(() => {
460
478
  this.setupLoyalty();
479
+ this.showExternalOrders = salla.config
480
+ .get('store.features', [])
481
+ .includes(SHOW_EXTERNAL_ORDERS_FEATURE);
482
+ if (this.activeFilter === 'archived' && !this.showExternalOrders) {
483
+ this.activeFilter = 'all';
484
+ this.syncFilterToSearchParams('all');
485
+ }
461
486
  const tasks = [this.fetchOrders(this.activeFilter)];
462
487
  // fetchOrders already resolves the pending count when the initial tab is "waiting"
463
488
  if (this.activeFilter !== 'waiting') {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
 
6
6
  const sallaPaymentsCss = "/*!twlt*/:host{display:block}.static{position:static}.hidden{display:none}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-payments-list{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:0.5rem}.s-payments-list:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-payments-list-item{display:flex;height:2rem;width:3rem;align-items:center;justify-content:center;border-radius:var(--s-radius, 0.25rem);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.25rem}.s-payments-list-item img{max-height:100%;object-fit:contain}.s-payments-sbc-image{height:1.5rem;border-radius:0.125rem;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-payments-sbc-image:hover{opacity:0.8}";
7
7
 
@@ -41,12 +41,12 @@ const SallaPayments = class {
41
41
  render() {
42
42
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
43
43
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
44
- return (h(Host, { key: '7b48366eb122743315532e53cfcf05ac31c5ad60', class: "s-payments-list-wrap" }, h("ul", { key: 'e278c90249fa655ede607689afd366e5dc538532', class: "s-payments-list" }, madeInKSA && h("li", { key: '6a2494479aaef3dbe8557feaf07b290b9a7fc3a9', class: "s-payments-list-item" }, h("img", { key: '386ee723fce881bf4206a3113ff8e611bf48c0c8', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.filter(payment => !this.exclude.includes(payment)).map((payment) => (payment == "cod" ?
44
+ return (h(Host, { key: '46c58d42a6e876a785bc4ee0b27dd91943e95932', class: "s-payments-list-wrap" }, h("ul", { key: '7745fe947414ce517400dc31d5d89cea413fd295', class: "s-payments-list" }, madeInKSA && h("li", { key: '4715de8ea395d318432cd13ee44e30b06c27f570', class: "s-payments-list-item" }, h("img", { key: '096e9b6168ba7b87bda69bca26af7525d846f152', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.filter(payment => !this.exclude.includes(payment)).map((payment) => (payment == "cod" ?
45
45
  h("div", { id: "cod-slot", innerHTML: this.codSlot
46
46
  .replace(/\{image\}/g, this.paymentLogo(`cod`)) }) :
47
47
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
48
48
  .replace(/\{image\}/g, this.paymentLogo(payment))
49
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '7a355da7a8f0ee873264807504d2d353739331bf', id: "sbc-slot", innerHTML: this.sbcSlot
49
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '850bc394f7bd0396b6f78b9f57fc8254baab0635', id: "sbc-slot", innerHTML: this.sbcSlot
50
50
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
51
51
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
52
52
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
 
6
6
  var Inbox = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -41,7 +41,7 @@ const SallaPlaceholder = class {
41
41
  };
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'bb1e87ff964770b00667e5ba934e025a184056fe', class: this.alignmentClass() }, h("div", { key: '6a75cef023d5f1a719ebb8d91a8b2181e1635161', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: 'cb68c4045df8dac84cd7c0626d9d8c322202e73d', class: "s-placeholder-title" }, h("slot", { key: '09f95446b63392eee020fa7d970e5387f83c4769', name: 'title' }, h("span", { key: 'b72e61aeabcc48fd5b3e14d76f4dcfab7c37703b' }, salla.lang.get('common.elements.no_options')))), h("div", { key: 'c9ba74e9a6dbe65c3e3d7994364182919bbbf3b0', class: "s-placeholder-description" }, h("slot", { key: '5441dc166551ead2f1386a58417d991fb62065f9', name: 'description' }, h("span", { key: 'd823d7f9bb6afa98df3307265b734ac06b3361ff' }, salla.lang.get('common.errors.empty_results'))))));
44
+ return (h(Host, { key: '7680e249ef9627c8c53c1fcbd02bb942d3f650a4', class: this.alignmentClass() }, h("div", { key: '17df509f27879794ea37172826489033ddb85045', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '117de24add832359f0a046a5e67b16748e25572d', class: "s-placeholder-title" }, h("slot", { key: '3bc517f00c6427a1103f859b58e9763f10851f4d', name: 'title' }, h("span", { key: '17615872d9b5e03d9b33d01fde5e1753f5f7a97e' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '962eafb62268b4ae3e25610a0dec6734ac58378a', class: "s-placeholder-description" }, h("slot", { key: '6326fdee550361c7cf6be95f1da2baf5616bd0f4', name: 'description' }, h("span", { key: '179fbe8c4352fad27a88b39baa6d858075006bfe' }, salla.lang.get('common.errors.empty_results'))))));
45
45
  }
46
46
  };
47
47
  SallaPlaceholder.style = sallaPlaceholderCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BAXTlrSC.js';
5
5
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
6
6
  import { a as arrowRight } from './arrow-right-B9q7ymSg.js';
7
7
 
@@ -151,9 +151,9 @@ const SallaPriceRange = class {
151
151
  this.maxPrice = value === undefined ? '' : value;
152
152
  }
153
153
  render() {
154
- return (h(Host, { key: 'b03ebb94bc24463935ff1ef49872ebc85343276f' }, this.filterValues.map((filterValue, index) => {
154
+ return (h(Host, { key: '582547be2a058bd2ab9c8567b5925f25711e1aff' }, this.filterValues.map((filterValue, index) => {
155
155
  return h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index}`, key: index }, h("input", { id: `${this.option.key}-${index}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), h("span", { innerHTML: this.getPriceLabel(filterValue) }));
156
- }), h("div", { key: '701869c55602ed0ef68d2a1495b76f2159cf8d9d', class: "flex justify-center items-center" }, h("div", { key: '956a0ca9ab38e364baa9c1e7427c428143de2d64', class: "relative max-w-xl w-full" }, h("div", { key: '454523dfd41c249bc3ee984d9ebc908e257da655', class: "s-price-range-inputs" }, h("div", { key: 'f0047855d712ce0c637da08e0b5087253a4fa2d4', class: "s-price-range-relative" }, h("div", { key: '79d5ca39cb0da6b31523ae69f2ea62a1d49f4eed', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '5caa99eb839a0bfb651b7080fc51f8a99102380d', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '8df49030aa912e646a82a16b75416f5b86a54735', class: "s-price-range-gray-text" }, " -"), h("div", { key: '9c7eaa41986246f5d1e0f42c8f917c83643abf83', class: "s-price-range-relative" }, h("div", { key: '79de4f4520d63e038a51153372b1aabf729aeaff', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '497d516b45de96f205021cace76604a04887aeb4', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '3179fd8523d7aabe0a61f496752294416a02edd5', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: 'd3a4660e76c1baef73e24ff23d79622535d80cfc', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
156
+ }), h("div", { key: '36dea18b1f8f9b9c11a235328d6019cdb0ea5d9d', class: "flex justify-center items-center" }, h("div", { key: '765c5a4eca4cb39b47cba341e8c8f7b7888f0072', class: "relative max-w-xl w-full" }, h("div", { key: '24c54bcec699865a391f198d701abcdcf40bd438', class: "s-price-range-inputs" }, h("div", { key: '962c157d0d7df4f096eed09b51618f3bdadaa347', class: "s-price-range-relative" }, h("div", { key: 'e39123015563b93553be0498673245311644f178', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '4dadf22dc8ad4a982a07acdbb5b62b28b46aa49a', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '1aea9954befb49f6c9f3f0b1d20ce04defa352b9', class: "s-price-range-gray-text" }, " -"), h("div", { key: 'c4ed3a532ab1c780e69bcadd96ed9581e0a69a85', class: "s-price-range-relative" }, h("div", { key: '3489752cc4de7fb82e758bf877959d7c34094d28', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '9f06151e1156553f0a45283c0db0af92c269c110', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '1496f0eb951492d3eaad51c90bc1234d746d748c', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '9efb20a46dae252c5e82bb52f0bcb57c8e030c99', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
157
157
  }
158
158
  componentDidLoad() {
159
159
  this.isReady = true;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
 
6
6
  const sallaProductCardEmbedCss = "/*!twlt*/@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}.visible{visibility:visible}.block{display:block}.flow-root{display:flow-root}.s-product-card-embed-card{display:block;max-width:12rem;shape-outside:margin-box}.s-product-card-embed-card custom-salla-product-card{--tw-shadow:0 0 28px 0px rgba(0 0 0 / .1);--tw-shadow-colored:0 0 28px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.s-product-card-embed-card-align-center{margin-left:auto;margin-right:auto}.s-product-card-embed-card-align-left{float:left;margin-right:1ch}.s-product-card-embed-card-align-right{float:right;margin-left:1ch}.s-product-card-embed-fallback{display:block}article:has(salla-product-card-embed)::after{clear:both;display:block;--tw-content:'';content:var(--tw-content)}";
7
7
 
@@ -98,7 +98,7 @@ const SallaProductCardEmbed = class {
98
98
  's-product-card-embed-card-align-right': this.align === 'right',
99
99
  's-product-card-embed-card-align-center': this.align === 'center',
100
100
  };
101
- return (h(Host, { key: 'd001e10a89c192004bfdfdcbeeb83d2d9c695d95' }, this.hasError && h("span", { key: '2c35003750483da3d17d6df0ee5add7a3aaf530b', class: "s-product-card-embed-fallback" }), h("div", { key: 'ff5743f1a26421488677a28503f448d410b49abb', class: cardClasses, ref: (el) => {
101
+ return (h(Host, { key: '56f42e6b733dc4101759a30182297af7313feebe' }, this.hasError && h("span", { key: 'abe5fefd824cdc8880a0afd8864f6283c957cab1', class: "s-product-card-embed-fallback" }), h("div", { key: '72ce12394216af508ba187e67331fa7862caa16a', class: cardClasses, ref: (el) => {
102
102
  this.cardContainer = el;
103
103
  } })));
104
104
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { H as Heart } from './heart-00vBRoH3.js';
6
6
  import { S as Star } from './star2-D4oPi1Ov.js';
7
7
  import { C as Cart } from './cart-gFG8By9O.js';
@@ -137,14 +137,14 @@ const SallaProductCard = class {
137
137
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
138
138
  };
139
139
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
140
- return (h(Host, { key: 'c93b5f53596bab6f80562dad7092b40f6dc999c4', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: 'dc5f9bd95352c0ce3d093167ead21e57b5b3e88f', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: 'd7d95bb97788b80eee08dc640a5c6829235fc3c7', ...hrefProp }, h("img", { key: '4859076d5f98264bde624783cc1c45c18c4fd7bd', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
140
+ return (h(Host, { key: '6e57fdf93d631d1770a88733be8ecd2fe4be7cb7', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '540e4afcc1784e56c6560fcbc53ca22fe7871a58', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '13173d79484e8922e6ca9edb7b5eaf5d24577b57', ...hrefProp }, h("img", { key: 'ff09e2558689d47cf091bb36e2201f5a257b3b7b', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
141
141
  ? 'contain'
142
142
  : this.fitImageHeight
143
143
  ? this.fitImageHeight
144
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '57a7f91ea104bab4727f17dd45e837b2521fdf8a', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
145
- h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '16e23d6cdd67e90a3b06238a32135885c280508d', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
144
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '5407cae4838f6cf35d8d3181e0de47ba1f7e4d66', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
145
+ h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '73a4f99505f4b3c1b7f34341a08f7c3957cc9216', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
146
146
  h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
147
- : '', h("div", { key: 'af150cdc2b9aa7cbe3cd6ffc32f5a11171a53dd1', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: 'fea0aa2c44be7439b103298e63947f8a2fbf149b', class: "s-product-card-content-title" }, h("a", { key: 'f32166bb5a42aab0253f5e0c0771958065ef34ab', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle && !this.minimal ?
147
+ : '', h("div", { key: 'b757815f1ee1873fcf5a7c76be1d6403f5862201', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '5e27e19508fcbc98fa1e5543768d3e93d9adccce', class: "s-product-card-content-title" }, h("a", { key: '78b6494ad4e08b8cebff2984b6a1e60878b356fa', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle && !this.minimal ?
148
148
  h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
149
149
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
150
150
  [h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -153,7 +153,7 @@ const SallaProductCard = class {
153
153
  this.addBtn.donatingAmount = e.target.value;
154
154
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
155
155
  : '')]
156
- : '', h("div", { key: '79cf3ef1127ac372c8f67fff2d549aa32656a6bb', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.showOutOfStockBesidePrice && this.productData?.is_out_of_stock ?
156
+ : '', h("div", { key: '148e979d2b36ed185e1bf5f8345096a442c94601', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.showOutOfStockBesidePrice && this.productData?.is_out_of_stock ?
157
157
  h("span", { class: "s-product-card-out-of-stock-label" }, this.outOfStock)
158
158
  : '', this.productData?.rating?.stars && !this.minimal ?
159
159
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BAXTlrSC.js';
5
5
 
6
6
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -51,11 +51,11 @@ const SallaProductSizeGuide = class {
51
51
  return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
52
52
  }
53
53
  render() {
54
- return (h("salla-modal", { key: '821a0f8c890f62c278f2c6fbb0081c58074134fa', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '54972cbc6899d788b3543f882d3f3cf0c6a50071', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '251eca54b49ccd504cec94371103d52db3dceae5', slot: "loading" }, h("div", { key: '65563fe5e6114cdc1958b6acfc23338f87629ee9', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '66c8da1a0ca4ff7bb48b7274135de2a79c08cf69', height: '15px', width: '25%' }), h("div", { key: '33f7ec9dc4d1749bebdd8d1765b63b04f13473f3', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '1f1e52c77826df60eae9c814d0db6dfa22976495', height: '40px' }), h("salla-skeleton", { key: '608fc344f8b06e23776fac615b49730f5934baec', height: '40px' }), h("salla-skeleton", { key: '876f24fb4e06b8bd094ca9bc18c55e196b388201', height: '40px' }), h("salla-skeleton", { key: 'd3f0c5baad4e0d940b3a30598353629dd199cd38', height: '40px' })), h("div", { key: 'f492afd9c329add253c60c8692173288437213d8', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '7246853ccd94c5de70dac399593cf3dd64ae85de', height: '15px', width: '25%' }), h("salla-skeleton", { key: '5b314c2a99a4437891a7fcaf4d01a29597a03422', height: '10px', width: '75%' }), h("salla-skeleton", { key: '4cde9368235a5f355d3ce4c28642cb3f29716880', height: '10px', width: '50%' }), h("salla-skeleton", { key: 'fb7be5927efc29a993049632dde462e5e329d74b', height: '10px', width: '75%' }), h("salla-skeleton", { key: '945f9901fdd6b681c28b80f3a7b9c253c5063424', height: '10px', width: '100%' }), h("salla-skeleton", { key: '991f7e304524d0acc6c8eab5dfef4be75eee7655', height: '10px', width: '25%' }), h("salla-skeleton", { key: '9d2c66c90b20abd0984ea2ef3ced2f9dbe3479c2', height: '10px', width: '60%' }), h("salla-skeleton", { key: '0943d7f53030e26034e01c89c8edf1cfd76a87ab', height: '10px', width: '45%' }), h("salla-skeleton", { key: '683502d6f44eb68fe7ba7f9b54df456b725bd126', height: '10px', width: '30%' })))), h("slot", { key: 'bf50073356c49df10842635491e2606321faaa50', name: "header" }), !this.hasError && !!this.guides ?
54
+ return (h("salla-modal", { key: 'eeb477f6cd7831f06fb2b716e2391d684ae4e93c', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '48f9e18ebfec9999dc856fe3c7bca7854e4f53b3', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '9fc445cfb72dfdd5d0d306419041aa9f3acafb66', slot: "loading" }, h("div", { key: 'f5dbfb1560940a691f891e7d41eca22977693d79', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: 'c6790017016fc8b471601bf093051f80183645c9', height: '15px', width: '25%' }), h("div", { key: 'ba72c67c7b26e62ed4548444ba9083f83816f59e', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '4fd934c7bf103bcd937028bacda524915a40f76a', height: '40px' }), h("salla-skeleton", { key: '3754ae6eca3938380261e221f6941b2ef2a381dd', height: '40px' }), h("salla-skeleton", { key: 'a2007afe625ce45713b3a2f64a62cf0da101c1e9', height: '40px' }), h("salla-skeleton", { key: '7ed982fa2c6c862bf724fa1b1dc059db2f5dbc41', height: '40px' })), h("div", { key: '3914b9dde80d2257a55b0aa156f61df5936f1bb5', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '51b96df249504517e4c3fe1098be2937cbaeef63', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'd5844e3c91eddc4821b97cc9991a2441dd0bb117', height: '10px', width: '75%' }), h("salla-skeleton", { key: '976e70a0aa160dd9b4dbe4d0f9f0675f5c3308ea', height: '10px', width: '50%' }), h("salla-skeleton", { key: '1baf5286915a708ea68850c9c82e7970c6521c86', height: '10px', width: '75%' }), h("salla-skeleton", { key: '8ecc89a3defd83637936023b0d0841c55c6799cd', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'eb90ea350d6947596688595bb898a8c3a8dcac39', height: '10px', width: '25%' }), h("salla-skeleton", { key: '282d747e764c2761aa4b68f145467371acd66f32', height: '10px', width: '60%' }), h("salla-skeleton", { key: '610491fa3769027ceebec2ab46e7166d0bfac9f2', height: '10px', width: '45%' }), h("salla-skeleton", { key: '8162ba3bec487efe6fa1c0adf2355bd175d8310a', height: '10px', width: '30%' })))), h("slot", { key: 'b55b29cfeb52e41c0c56a79bded075fda7f49fab', name: "header" }), !this.hasError && !!this.guides ?
55
55
  [
56
56
  h("salla-tabs", null, this.guides.map((guide) => h("salla-tab-header", { slot: "header", name: guide.name }, h("span", null, guide.name))), this.guides.map((guide) => h("salla-tab-content", { slot: "content", name: guide.name }, h("div", { innerHTML: guide.description }))))
57
57
  ]
58
- : this.showPlaceholder(), h("slot", { key: '2f357ddc66624cb7c05324ed9fb8c1164b39eda1', name: "footer" })));
58
+ : this.showPlaceholder(), h("slot", { key: '6e37eb73078f786ce5dda8cf9ed6bae16eb3acfc', name: "footer" })));
59
59
  }
60
60
  get host() { return getElement(this); }
61
61
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
7
7
  import { H as Helper } from './Helper-ivBHT_nn.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { H as Helper } from './Helper-ivBHT_nn.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { I as IphoneXIcon } from './iphone-x-Z7udRKSZ.js';
6
6
  import { M as MailIcon } from './mail-DmgxDvXL.js';
7
7
  import { C as Cancel } from './cancel-BsLF_HK7.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { S as ShippingFast, a as Star } from './star-cq6TcfoH.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { H as Helper } from './Helper-ivBHT_nn.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { I as ImageIcon } from './image-C-tzSDxw.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { f as fetchOrder, r as resolveReviewFactors } from './helpers-DqXpn47Z.js';
7
7
 
@@ -51,7 +51,7 @@ const SallaReviewFactorsTags = class {
51
51
  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: Star }), h("span", { class: "s-review-factors-tags-factor-rating" }, factor.rating || ''))))));
52
52
  }
53
53
  render() {
54
- return (h(Host, { key: '01d13a2113db33368eecbf8cc0d1700fa501607b', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
54
+ return (h(Host, { key: '8360dda7ca017f934d4e2c284b3d35be81dce9a3', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
55
55
  }
56
56
  static get watchers() { return {
57
57
  "factors": ["onPropsChange"],
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
  import { f as fetchOrder, g as getProductRatings } from './helpers-DqXpn47Z.js';
6
6
 
7
7
  const SallaReviewOrderItem = class {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
 
7
7
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { C as Cart } from './cart-gFG8By9O.js';
7
7
 
@@ -97,7 +97,7 @@ const SallaSearchProductCard = class {
97
97
  const hrefProp = this.productData?.url
98
98
  ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` }
99
99
  : {};
100
- return (h(Host, { key: 'b852b4074a0e916b5d4888845d36a7ca28b8bd37', id: `search-product-${this.productData?.id}`, class: classes }, h("div", { key: '28050055f2bb2ec3658908a450c25fb48a5ef1d2', class: "s-search-product-card-image" }, h("a", { key: 'fe473c0612caeeddb477d54d0fc78520a79d481e', ...hrefProp }, h("img", { key: '3909e217448696726fbbf9faacb6fdfc020565a6', 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: '1310054158a73bdee291fb484f6bac095cc37a8e', class: "s-search-product-card-content" }, h("div", { key: 'eab101d8529b449aaffe47698fb847c81ecff44c', class: "s-search-product-card-content-main" }, h("h3", { key: 'a7ecbfbc6fc415000ef3f3b44a4eadd3cf94b899', class: "s-search-product-card-content-title" }, h("a", { key: '52f89dd9d66a3a0e7aa66d3c834f8fa08aba4130', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : ('')), !!this.showDonationAmount && !!this.productData?.donation
100
+ return (h(Host, { key: '7d27bff6bbcbd9358f74a80e2508bf55e2a803f2', id: `search-product-${this.productData?.id}`, class: classes }, h("div", { key: 'c5b4779eb70efac08ef667a39a9d7e10c29ad06d', class: "s-search-product-card-image" }, h("a", { key: '743fa57c70e013dd06dffcd3fd08e647277ea691', ...hrefProp }, h("img", { key: 'ffd45205931e889f7720ec82facbaefb7b1ee6a7', 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: '0325f34877b04501982d37d5c5716e92b7bde4bd', class: "s-search-product-card-content" }, h("div", { key: '9fd59aca92bb6afadd203c3c43a41cc43a34ec6a', class: "s-search-product-card-content-main" }, h("h3", { key: '5d42d98468f76c41da5d6590894625228811eaf0', class: "s-search-product-card-content-title" }, h("a", { key: '9cf79321593a3609fae3eeef0f0af9e3d0aebfa5', ...hrefProp }, this.getDisplayTitle())), this.productData?.subtitle ? (h("p", { class: "s-search-product-card-content-subtitle" }, this.productData?.subtitle)) : ('')), !!this.showDonationAmount && !!this.productData?.donation
101
101
  ? [
102
102
  h("salla-progress-bar", { donation: this.productData?.donation }),
103
103
  h("div", { class: "s-search-product-card-donation-input" }, this.productData?.donation?.can_donate
@@ -112,7 +112,7 @@ const SallaSearchProductCard = class {
112
112
  ]
113
113
  : ''),
114
114
  ]
115
- : '', h("div", { key: '37ab723bf8d1c825a58ce0ca7303e5979de125d8', 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)) : (''), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))) : (''))), !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()))) : ('')));
115
+ : '', h("div", { key: 'd5b23f2572548e577576abe8dc0241f9823fd3ab', 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)) : (''), this.productData?.rating?.stars ? (h("div", { class: "s-search-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))) : (''))), !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()))) : ('')));
116
116
  }
117
117
  componentDidLoad() {
118
118
  document.lazyLoadInstance?.update(this.host?.querySelectorAll('.lazy'));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
  import { C as Cancel } from './cancel-BsLF_HK7.js';
7
7
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
 
6
6
  const sallaSkeletonCss = "/*!twlt*/:host{display:block}.s-loyalty-skeleton .s-loyalty-prize-item .s-skeleton-wrapper{margin-left:auto;margin-right:auto}.s-skeleton-wrapper{display:block}@keyframes pulse{50%{opacity:.5}}.s-skeleton-wrapper{animation:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite}.s-skeleton-item{height:100%;width:100%;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.s-skeleton-item:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.s-skeleton-item-circular{border-radius:9999px}";
7
7
 
@@ -26,7 +26,7 @@ const SallaSkeleton = class {
26
26
  's-skeleton-item': true,
27
27
  's-skeleton-item-circular': this.type == 'circle',
28
28
  };
29
- return (h(Host, { key: 'ce408ebbf729ec0b7a044d1146a007ce897a385a', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '8d9c37eb98c07cd82a3c334650c1220d7715e92e', class: classes }, "\u00A0")));
29
+ return (h(Host, { key: '5568fdecb56f5513ffbe8f9b82da106a525af6a8', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '0a69bf54dff8093adea503ec6dbcb3f07aba9e13', class: classes }, "\u00A0")));
30
30
  }
31
31
  };
32
32
  SallaSkeleton.style = sallaSkeletonCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
7
7
  import { M as MailIcon } from './mail-DmgxDvXL.js';
@@ -381,7 +381,7 @@ const SallaSocialShare = class {
381
381
  })));
382
382
  }
383
383
  render() {
384
- return (h("div", { key: '4ffa937b0951a4cb1a58a363cc7a1d7efd3dc450', class: "s-social-share-wrapper" }, h("slot", { key: '4adf482dacae63cbb824511940231ba88c342328', name: "widget" }, h("salla-button", { key: 'c2037e6e232b5091b67c8b4ee615f6a58865e73c', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'dcad9422daf9ffe88e5483f0293789b839aa345d', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
384
+ return (h("div", { key: '1aa2cfd0b97f66f68ba831908cfa208fac841acd', class: "s-social-share-wrapper" }, h("slot", { key: '570372d3e572314dc69642ee186ba4c09a836808', name: "widget" }, h("salla-button", { key: 'a06c19703990158f6c1897162ea0f814ed8b0d59', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'a1e19a318cb21c0c0a54d5df0c132e2c273d71c8', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
385
385
  }
386
386
  get host() { return getElement(this); }
387
387
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BAXTlrSC.js';
5
5
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
6
6
 
7
7
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -55,7 +55,7 @@ const SallaSocial = class {
55
55
  }
56
56
  render() {
57
57
  const linksArray = this.getLinksArray();
58
- return (h(Host, { key: '3a5a85186d4c972173bc846a34658cd72d13db8c' }, h("ul", { key: 'e6fae357974325efc7f03d09212b30ce9f596839', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
58
+ return (h(Host, { key: 'dfd63f034c588f6f6f08200d531187bd51e0b3b4' }, h("ul", { key: 'e4ec12ccb3c63a1dfdd64c5d3186734bed37db77', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
59
  .replace(/\{icon\}/g, this.iconsList[link.type])
60
60
  .replace(/\{type\}/g, link.type)
61
61
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, c as createEvent, a as getElement } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, c as createEvent, a as getElement } from './index-BAXTlrSC.js';
5
5
 
6
6
  const sallaTabContentCss = "";
7
7
 
@@ -31,7 +31,7 @@ const SallaTabContent = class {
31
31
  's-tabs-content': true,
32
32
  's-tabs-content-selected': this.isSelected
33
33
  };
34
- return (h("div", { key: '6e4cce860f67539cbcdd0992459cb1ff411d1c28', class: classes }, h("slot", { key: 'b78d73bded8b8f2f6914474a9212b36b3df238c7' })));
34
+ return (h("div", { key: 'f2deb9c1508aafe3aff5352094cccc97bdcd42ef', class: classes }, h("slot", { key: '460588864047444acdb06e757a7124d28935c24b' })));
35
35
  }
36
36
  };
37
37
  SallaTabContent.style = sallaTabContentCss;
@@ -90,7 +90,7 @@ const SallaTabHeader = class {
90
90
  's-tabs-active': this.isSelected,
91
91
  };
92
92
  return [
93
- h("div", { key: '777c0dfcf45cf1f891e0ea7f5de46a28f9d3bd50', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'ff553a9fdf4158c9a6f5ca94ade09aa75f2733cd' })),
93
+ h("div", { key: '153247ab5a7c73819ccc506a45e60b9c084c391c', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '417a3ae0c0aec8a965b5d3be9a4f917f290d2109' })),
94
94
  ];
95
95
  }
96
96
  };
@@ -143,7 +143,7 @@ const SallaTabs = class {
143
143
  }
144
144
  render() {
145
145
  return [
146
- h("div", { key: '57200f5c96819e44c3e62bf6a625c4d89ccb708b', class: "s-tabs" }, h("div", { key: '9f5b874cbe4cac9a6d9980f13b708deb9f69c1ea', class: "s-tabs-header" }, h("slot", { key: '2cbb90c9fee0457b76a542576f6ce4c07d08a28a', name: "header" })), h("div", { key: '9ab02e5b3dff4f87cb8b6468fb5063737d9695e8', class: "s-tabs-content-wrapper" }, h("slot", { key: 'dd9eb1088be3c88a835981b894b61f7eff7b4498', name: "content" })))
146
+ h("div", { key: 'ae50836f68ee92459720fa9bf00d73848d849627', class: "s-tabs" }, h("div", { key: '55e8186e80381902269f9bad5738d9a555f71d37', class: "s-tabs-header" }, h("slot", { key: '46ce3e1ea75f92165b3d5ee7c16f19f8693f6d31', name: "header" })), h("div", { key: '3669e643abb37ed2edca73fc0577822a3f7fbb90', class: "s-tabs-content-wrapper" }, h("slot", { key: '2cf8b79f44630e21103991325ceff2cd3a4019ba', name: "content" })))
147
147
  ];
148
148
  }
149
149
  get host() { return getElement(this); }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-a6lSRQK4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BAXTlrSC.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {