@salla.sa/twilight-components 2.14.426 → 2.14.428

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 (443) hide show
  1. package/dist/cjs/{filepond-510sQtuo.js → filepond-D_s3HvDq.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-z-1MNuz4.js → filepond-plugin-file-poster-C4iOlG0w.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-EWd1gmbO.js → filepond-plugin-file-validate-size-tdAA3isk.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BCBt19mU.js → filepond-plugin-file-validate-type-D9weHJX2.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-iNAVaPwf.js → filepond-plugin-image-edit-Cue4gd69.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DiM84jbH.js → filepond-plugin-image-exif-orientation-DtvYPP0B.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-sigbMp9v.js → filepond-plugin-image-preview-CCEpCBgC.js} +1 -1
  8. package/dist/cjs/{functions-B5bzFKvW.js → functions-DXx6pLur.js} +1 -1
  9. package/dist/cjs/{index-Caamiwh6.js → index-CJ1hA4la.js} +6 -6
  10. package/dist/cjs/{index-Lg5EBRS3.js → index-Dotxdipd.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +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-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
  21. package/dist/cjs/{salla-bullet-delivery.cjs.entry.js → salla-bullet-delivery_2.cjs.entry.js} +635 -140
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +43 -17
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +4 -2
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-DMAN9eMT.js → tracked-promise-CXsGcQwa.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-JE6Ow90L.js → vanilla-picker-BSVxRBEK.js} +1 -1
  98. package/dist/collection/collection-manifest.json +7 -0
  99. package/dist/collection/components/salla-bullet-delivery/api-service.js +80 -13
  100. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +5 -0
  101. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +344 -120
  102. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  104. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  105. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  106. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  107. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  108. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  109. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  110. package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +4 -5
  111. package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +40 -12
  112. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  113. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  114. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  115. package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +1 -1
  116. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  117. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  118. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  119. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  120. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  121. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  122. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  123. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  124. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  125. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  126. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  127. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  128. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  129. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  130. package/dist/collection/components/salla-map/salla-map.js +3 -3
  131. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  132. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  133. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  134. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  135. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  136. package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.js +3 -1
  137. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  138. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  139. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  140. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  141. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  142. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  143. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  144. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  145. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  146. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  147. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  148. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  149. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  150. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  151. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  152. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  153. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  154. package/dist/collection/components/salla-search/salla-search.js +5 -5
  155. package/dist/collection/components/salla-searchable-dropdown/interfaces.js +1 -0
  156. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +566 -0
  157. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  158. package/dist/collection/components/salla-social/salla-social.js +1 -1
  159. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  160. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  161. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  162. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  163. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  164. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  165. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  166. package/dist/components/index.js +2 -2
  167. package/dist/components/salla-bullet-delivery.js +445 -148
  168. package/dist/components/salla-cart-coupons.js +1 -1
  169. package/dist/components/salla-cart-summary.js +1 -1
  170. package/dist/components/salla-color-picker2.js +1 -1
  171. package/dist/components/salla-comment-form2.js +1 -1
  172. package/dist/components/salla-comment-item2.js +3 -3
  173. package/dist/components/salla-conditional-fields2.js +1 -1
  174. package/dist/components/salla-count-down2.js +1 -1
  175. package/dist/components/salla-datetime-picker2.js +1 -1
  176. package/dist/components/salla-delivery-promise.js +42 -16
  177. package/dist/components/salla-file-upload2.js +2 -2
  178. package/dist/components/salla-filters-widget2.js +2 -2
  179. package/dist/components/salla-filters.js +1 -1
  180. package/dist/components/salla-fulfillment-methods.js +1 -1
  181. package/dist/components/salla-gifting.js +2 -2
  182. package/dist/components/salla-hook.js +1 -1
  183. package/dist/components/salla-list-tile2.js +1 -1
  184. package/dist/components/salla-loading2.js +1 -1
  185. package/dist/components/salla-localization-modal.js +1 -1
  186. package/dist/components/salla-loyalty-hero2.js +3 -3
  187. package/dist/components/salla-loyalty-point2.js +3 -3
  188. package/dist/components/salla-loyalty-prize-item.js +1 -1
  189. package/dist/components/salla-loyalty-reward.js +2 -2
  190. package/dist/components/salla-maintenance-alert.js +1 -1
  191. package/dist/components/salla-map2.js +3 -3
  192. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  193. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  194. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  195. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  196. package/dist/components/salla-multiple-bundle-product.js +1 -1
  197. package/dist/components/salla-next-order-coupon.js +3 -1
  198. package/dist/components/salla-notification-item2.js +1 -1
  199. package/dist/components/salla-offer-modal.js +1 -1
  200. package/dist/components/salla-order-details.js +1 -1
  201. package/dist/components/salla-order-edit-product-card.js +1 -1
  202. package/dist/components/salla-order-summary.js +1 -1
  203. package/dist/components/salla-payments.js +2 -2
  204. package/dist/components/salla-placeholder2.js +1 -1
  205. package/dist/components/salla-price-range2.js +2 -2
  206. package/dist/components/salla-product-availability2.js +1 -1
  207. package/dist/components/salla-product-card2.js +5 -5
  208. package/dist/components/salla-product-size-guide.js +2 -2
  209. package/dist/components/salla-quantity-input2.js +1 -1
  210. package/dist/components/salla-quick-buy2.js +1 -1
  211. package/dist/components/salla-review-card2.js +1 -1
  212. package/dist/components/salla-reviews-page.js +1 -1
  213. package/dist/components/salla-reviews.js +1 -1
  214. package/dist/components/salla-reward-action2.js +1 -1
  215. package/dist/components/salla-reward-card2.js +1 -1
  216. package/dist/components/salla-reward-details2.js +3 -3
  217. package/dist/components/salla-reward-exchange2.js +3 -3
  218. package/dist/components/salla-scopes.js +1 -1
  219. package/dist/components/salla-search.js +5 -5
  220. package/dist/components/salla-searchable-dropdown.d.ts +11 -0
  221. package/dist/components/salla-searchable-dropdown.js +9 -0
  222. package/dist/components/salla-searchable-dropdown2.js +255 -0
  223. package/dist/components/salla-skeleton2.js +1 -1
  224. package/dist/components/salla-social-share.js +1 -1
  225. package/dist/components/salla-social.js +1 -1
  226. package/dist/components/salla-tab-content2.js +1 -1
  227. package/dist/components/salla-tab-header2.js +1 -1
  228. package/dist/components/salla-tabs2.js +1 -1
  229. package/dist/components/salla-tel-input2.js +1 -1
  230. package/dist/components/salla-tooltip2.js +1 -1
  231. package/dist/components/salla-user-settings.js +1 -1
  232. package/dist/esm/{filepond-Dsmh37s8.js → filepond-EbHhfQ2h.js} +1 -1
  233. package/dist/esm/{filepond-plugin-file-poster-D_DbNtTu.js → filepond-plugin-file-poster-NI3abP58.js} +1 -1
  234. package/dist/esm/{filepond-plugin-file-validate-size-TmlZBEB7.js → filepond-plugin-file-validate-size-B6y95YaS.js} +1 -1
  235. package/dist/esm/{filepond-plugin-file-validate-type-CsP3KOU8.js → filepond-plugin-file-validate-type-DFmkHdVr.js} +1 -1
  236. package/dist/esm/{filepond-plugin-image-edit-CUu5Zp6h.js → filepond-plugin-image-edit-pwPBfksJ.js} +1 -1
  237. package/dist/esm/{filepond-plugin-image-exif-orientation-BOQOVJ6l.js → filepond-plugin-image-exif-orientation-jJpoA9Lm.js} +1 -1
  238. package/dist/esm/{filepond-plugin-image-preview-DHbbDW9K.js → filepond-plugin-image-preview-ClEFsrPa.js} +1 -1
  239. package/dist/esm/{functions-DcLenERt.js → functions-CGUgaH8t.js} +1 -1
  240. package/dist/esm/{index-BO4PufG1.js → index-D36ugbw7.js} +6 -6
  241. package/dist/esm/{index-D2X1w3bP.js → index-zaYTVmuU.js} +1 -1
  242. package/dist/esm/loader.js +3 -3
  243. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  244. package/dist/esm/salla-accordion_6.entry.js +2 -2
  245. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  246. package/dist/esm/salla-advertisement.entry.js +1 -1
  247. package/dist/esm/salla-alert_2.entry.js +1 -1
  248. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  249. package/dist/esm/salla-apps-icons.entry.js +1 -1
  250. package/dist/esm/salla-badge.entry.js +1 -1
  251. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  252. package/dist/esm/{salla-bullet-delivery.entry.js → salla-bullet-delivery_2.entry.js} +635 -141
  253. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  254. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  255. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  256. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  257. package/dist/esm/salla-contacts.entry.js +1 -1
  258. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  259. package/dist/esm/salla-count-down.entry.js +2 -2
  260. package/dist/esm/salla-custom-fields.entry.js +1 -1
  261. package/dist/esm/salla-delivery-promise.entry.js +43 -17
  262. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  263. package/dist/esm/salla-filters-widget.entry.js +3 -3
  264. package/dist/esm/salla-filters.entry.js +2 -2
  265. package/dist/esm/salla-fulfillment-methods.entry.js +2 -2
  266. package/dist/esm/salla-gifting.entry.js +3 -3
  267. package/dist/esm/salla-hook.entry.js +2 -2
  268. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  269. package/dist/esm/salla-installment.entry.js +1 -1
  270. package/dist/esm/salla-list-tile.entry.js +2 -2
  271. package/dist/esm/salla-localization-modal.entry.js +2 -2
  272. package/dist/esm/salla-login-modal.entry.js +1 -1
  273. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  274. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  275. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  276. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  277. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  278. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  279. package/dist/esm/salla-loyalty.entry.js +1 -1
  280. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  281. package/dist/esm/salla-map.entry.js +4 -4
  282. package/dist/esm/salla-menu.entry.js +1 -1
  283. package/dist/esm/salla-metadata.entry.js +1 -1
  284. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  285. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  286. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  287. package/dist/esm/salla-next-order-coupon.entry.js +4 -2
  288. package/dist/esm/salla-notification-item.entry.js +2 -2
  289. package/dist/esm/salla-notifications.entry.js +1 -1
  290. package/dist/esm/salla-offer-modal.entry.js +2 -2
  291. package/dist/esm/salla-offer.entry.js +1 -1
  292. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  293. package/dist/esm/salla-order-details-options.entry.js +1 -1
  294. package/dist/esm/salla-order-details.entry.js +2 -2
  295. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  296. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  297. package/dist/esm/salla-order-edit.entry.js +1 -1
  298. package/dist/esm/salla-order-summary.entry.js +2 -2
  299. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  300. package/dist/esm/salla-orders.entry.js +1 -1
  301. package/dist/esm/salla-payments.entry.js +3 -3
  302. package/dist/esm/salla-placeholder.entry.js +2 -2
  303. package/dist/esm/salla-price-range.entry.js +3 -3
  304. package/dist/esm/salla-product-card_2.entry.js +6 -6
  305. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  306. package/dist/esm/salla-products-list.entry.js +1 -1
  307. package/dist/esm/salla-progress-bar.entry.js +1 -1
  308. package/dist/esm/salla-quick-order.entry.js +1 -1
  309. package/dist/esm/salla-rating-modal.entry.js +1 -1
  310. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  311. package/dist/esm/salla-scopes.entry.js +2 -2
  312. package/dist/esm/salla-search.entry.js +6 -6
  313. package/dist/esm/salla-skeleton.entry.js +2 -2
  314. package/dist/esm/salla-slider.entry.js +1 -1
  315. package/dist/esm/salla-social-share.entry.js +2 -2
  316. package/dist/esm/salla-social.entry.js +2 -2
  317. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  318. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  319. package/dist/esm/salla-tooltip.entry.js +2 -2
  320. package/dist/esm/salla-trust-badges.entry.js +1 -1
  321. package/dist/esm/salla-user-menu.entry.js +1 -1
  322. package/dist/esm/salla-user-profile.entry.js +1 -1
  323. package/dist/esm/salla-user-settings.entry.js +2 -2
  324. package/dist/esm/salla-verify.entry.js +1 -1
  325. package/dist/esm/salla-wallet.entry.js +1 -1
  326. package/dist/esm/{tracked-promise-lbX3p7Ew.js → tracked-promise-27t68d0-.js} +1 -1
  327. package/dist/esm/twilight.js +3 -3
  328. package/dist/esm/{vanilla-picker-Cv5WcsNp.js → vanilla-picker-9f5m-cXz.js} +1 -1
  329. package/dist/twilight/{p-707cbf67.entry.js → p-00d6d5a7.entry.js} +1 -1
  330. package/dist/twilight/{p-0590b074.entry.js → p-06cc942b.entry.js} +1 -1
  331. package/dist/twilight/{p-3b116cce.entry.js → p-09428ac3.entry.js} +1 -1
  332. package/dist/twilight/p-09f1e7a3.entry.js +4 -0
  333. package/dist/twilight/{p-130f9860.entry.js → p-0e95604c.entry.js} +1 -1
  334. package/dist/twilight/{p-01af13c0.entry.js → p-11e4f88a.entry.js} +1 -1
  335. package/dist/twilight/{p-bb3be480.entry.js → p-1485beda.entry.js} +1 -1
  336. package/dist/twilight/{p-b18ef799.entry.js → p-18200aa4.entry.js} +1 -1
  337. package/dist/twilight/{p-235fe9c8.entry.js → p-19d93cc0.entry.js} +1 -1
  338. package/dist/twilight/{p-f99e1d01.entry.js → p-1ce63a18.entry.js} +1 -1
  339. package/dist/twilight/{p-dbaf2730.entry.js → p-1e06982a.entry.js} +1 -1
  340. package/dist/twilight/{p-e3b22019.entry.js → p-1f81ad02.entry.js} +1 -1
  341. package/dist/twilight/{p-e7c672a0.entry.js → p-204c0e9d.entry.js} +1 -1
  342. package/dist/twilight/{p-cd7fe259.entry.js → p-2286b9bd.entry.js} +1 -1
  343. package/dist/twilight/{p-b809a1c4.entry.js → p-2da26159.entry.js} +1 -1
  344. package/dist/twilight/{p-2cadcc9c.entry.js → p-2eac3905.entry.js} +1 -1
  345. package/dist/twilight/{p-98667c47.entry.js → p-338919cf.entry.js} +1 -1
  346. package/dist/twilight/{p-1ffac611.entry.js → p-38fb52dd.entry.js} +1 -1
  347. package/dist/twilight/{p-53fb98d5.entry.js → p-406d9fb5.entry.js} +1 -1
  348. package/dist/twilight/{p-7f12b845.entry.js → p-40a195c9.entry.js} +1 -1
  349. package/dist/twilight/p-41cd57e8.entry.js +4 -0
  350. package/dist/twilight/{p-bd1b9a48.entry.js → p-430c9160.entry.js} +1 -1
  351. package/dist/twilight/{p-a8ab7c46.entry.js → p-434aac8a.entry.js} +1 -1
  352. package/dist/twilight/{p-0a3e12b2.entry.js → p-4383e32a.entry.js} +1 -1
  353. package/dist/twilight/{p-05dc2f10.entry.js → p-45594bda.entry.js} +1 -1
  354. package/dist/twilight/p-49df1e46.entry.js +4 -0
  355. package/dist/twilight/{p-53d1424f.entry.js → p-4b7bba26.entry.js} +1 -1
  356. package/dist/twilight/{p-33708f2c.entry.js → p-4f7f6ada.entry.js} +1 -1
  357. package/dist/twilight/p-502acc91.entry.js +4 -0
  358. package/dist/twilight/{p-39280ec0.entry.js → p-54343a8e.entry.js} +1 -1
  359. package/dist/twilight/{p-a679c3b3.entry.js → p-5a6a4e59.entry.js} +1 -1
  360. package/dist/twilight/{p-448d8f41.entry.js → p-5bfa1bb7.entry.js} +1 -1
  361. package/dist/twilight/{p-6f08afa5.entry.js → p-5de03536.entry.js} +1 -1
  362. package/dist/twilight/{p-d9a7a0f6.entry.js → p-5dede492.entry.js} +1 -1
  363. package/dist/twilight/{p-cc629d48.entry.js → p-67218c7a.entry.js} +1 -1
  364. package/dist/twilight/{p-cf1789e5.entry.js → p-6a3e7c04.entry.js} +1 -1
  365. package/dist/twilight/{p-0e8d9d0f.entry.js → p-6da10576.entry.js} +1 -1
  366. package/dist/twilight/{p-e5bb3294.entry.js → p-6e1cdc82.entry.js} +1 -1
  367. package/dist/twilight/{p-BvUtr46H.js → p-7ETNA5wV.js} +1 -1
  368. package/dist/twilight/{p-b5663539.entry.js → p-7b663a9e.entry.js} +1 -1
  369. package/dist/twilight/p-7c620aae.entry.js +4 -0
  370. package/dist/twilight/p-7ef82df0.entry.js +4 -0
  371. package/dist/twilight/{p-c01fad3c.entry.js → p-7f19448e.entry.js} +1 -1
  372. package/dist/twilight/p-845c79a1.entry.js +4 -0
  373. package/dist/twilight/{p-a4e30480.entry.js → p-88c5737c.entry.js} +1 -1
  374. package/dist/twilight/{p-c04393ca.entry.js → p-895d6644.entry.js} +1 -1
  375. package/dist/twilight/{p-3582127a.entry.js → p-897d98b8.entry.js} +1 -1
  376. package/dist/twilight/{p-6e296143.entry.js → p-8fd38f8d.entry.js} +1 -1
  377. package/dist/twilight/{p-14903d46.entry.js → p-92d2ddb2.entry.js} +1 -1
  378. package/dist/twilight/{p-8ef579f8.entry.js → p-946b77c0.entry.js} +1 -1
  379. package/dist/twilight/{p-c1317994.entry.js → p-96292e66.entry.js} +1 -1
  380. package/dist/twilight/{p-890c1a92.entry.js → p-9a404557.entry.js} +1 -1
  381. package/dist/twilight/{p-80804925.entry.js → p-9a5f0f9d.entry.js} +1 -1
  382. package/dist/twilight/{p-46971762.entry.js → p-9a860c81.entry.js} +1 -1
  383. package/dist/twilight/{p-c37b818b.entry.js → p-9cc9e423.entry.js} +1 -1
  384. package/dist/twilight/{p-DDuo_I0r.js → p-BB7A2YQb.js} +1 -1
  385. package/dist/twilight/{p-D2dA64xR.js → p-BQPueUNn.js} +1 -1
  386. package/dist/twilight/{p-DjuY9Jnz.js → p-Bt0u20rl.js} +1 -1
  387. package/dist/twilight/{p-B86BGqoz.js → p-CFB0tgem.js} +1 -1
  388. package/dist/twilight/{p-LERSCyEP.js → p-CgXDyb0S.js} +1 -1
  389. package/dist/twilight/{p-BO4PufG1.js → p-D36ugbw7.js} +1 -1
  390. package/dist/twilight/{p-qKfSvDcI.js → p-DB4vHa_X.js} +1 -1
  391. package/dist/twilight/{p-2wfOtzjM.js → p-DLc4JI_x.js} +1 -1
  392. package/dist/twilight/{p-BspFf4Kn.js → p-DTXdHzRd.js} +1 -1
  393. package/dist/twilight/{p-ff880134.entry.js → p-a5d068e0.entry.js} +1 -1
  394. package/dist/twilight/{p-918ff81e.entry.js → p-a61cb79d.entry.js} +1 -1
  395. package/dist/twilight/p-a7c808b6.entry.js +4 -0
  396. package/dist/twilight/{p-d78e892c.entry.js → p-a9b9d4db.entry.js} +1 -1
  397. package/dist/twilight/p-abe816ab.entry.js +4 -0
  398. package/dist/twilight/{p-b7a8d181.entry.js → p-acc58cef.entry.js} +1 -1
  399. package/dist/twilight/{p-f793dbbd.entry.js → p-ad77def2.entry.js} +1 -1
  400. package/dist/twilight/{p-4ea85ab2.entry.js → p-aeaefc51.entry.js} +1 -1
  401. package/dist/twilight/{p-4d13a6df.entry.js → p-b0d6e0dd.entry.js} +1 -1
  402. package/dist/twilight/{p-39373cca.entry.js → p-b582862d.entry.js} +1 -1
  403. package/dist/twilight/{p-fb227bbc.entry.js → p-b7e1dedf.entry.js} +1 -1
  404. package/dist/twilight/p-b852909a.entry.js +4 -0
  405. package/dist/twilight/{p-41d1f2e9.entry.js → p-bf91ba77.entry.js} +1 -1
  406. package/dist/twilight/{p-3c8180cd.entry.js → p-d4fd8316.entry.js} +1 -1
  407. package/dist/twilight/{p-03c6a8bb.entry.js → p-d7b03f6f.entry.js} +1 -1
  408. package/dist/twilight/{p-50062444.entry.js → p-d8fdf8ab.entry.js} +1 -1
  409. package/dist/twilight/{p-870f473c.entry.js → p-dfaa2d2f.entry.js} +1 -1
  410. package/dist/twilight/{p-0e185c70.entry.js → p-e416b6e5.entry.js} +1 -1
  411. package/dist/twilight/{p-227164b2.entry.js → p-e51d3f9d.entry.js} +1 -1
  412. package/dist/twilight/{p-a7350994.entry.js → p-e5605bd2.entry.js} +1 -1
  413. package/dist/twilight/{p-bd318fd3.entry.js → p-e5695c64.entry.js} +1 -1
  414. package/dist/twilight/{p-ab401a6c.entry.js → p-e73ab17f.entry.js} +1 -1
  415. package/dist/twilight/p-e78c99c3.entry.js +4 -0
  416. package/dist/twilight/{p-86fb7a69.entry.js → p-eca295a4.entry.js} +1 -1
  417. package/dist/twilight/{p-abce7f63.entry.js → p-edbd5f07.entry.js} +1 -1
  418. package/dist/twilight/{p-a5d5b2d7.entry.js → p-f6058fee.entry.js} +1 -1
  419. package/dist/twilight/{p-315a4d3b.entry.js → p-f74ac87f.entry.js} +1 -1
  420. package/dist/twilight/{p-19251e7b.entry.js → p-f97d12f4.entry.js} +1 -1
  421. package/dist/twilight/{p-0b0b6963.entry.js → p-fd75e7df.entry.js} +1 -1
  422. package/dist/twilight/{p-BNErtjcV.js → p-mGTS4AOS.js} +1 -1
  423. package/dist/twilight/{p-jl56eEwg.js → p-puXyXCsy.js} +1 -1
  424. package/dist/twilight/twilight.esm.js +1 -1
  425. package/dist/types/components/salla-bullet-delivery/api-service.d.ts +6 -5
  426. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +38 -6
  427. package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +1 -1
  428. package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +2 -0
  429. package/dist/types/components/salla-searchable-dropdown/interfaces.d.ts +5 -0
  430. package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +47 -0
  431. package/dist/types/components.d.ts +135 -0
  432. package/package.json +5 -5
  433. package/dist/twilight/p-06a2c350.entry.js +0 -4
  434. package/dist/twilight/p-3823e4e9.entry.js +0 -4
  435. package/dist/twilight/p-40156b58.entry.js +0 -4
  436. package/dist/twilight/p-572ef0b9.entry.js +0 -4
  437. package/dist/twilight/p-7f6f712b.entry.js +0 -4
  438. package/dist/twilight/p-8a8ebb7a.entry.js +0 -4
  439. package/dist/twilight/p-93b869f8.entry.js +0 -4
  440. package/dist/twilight/p-b7146f11.entry.js +0 -4
  441. package/dist/twilight/p-cb254a12.entry.js +0 -4
  442. package/dist/twilight/p-e6b3b54f.entry.js +0 -4
  443. package/dist/twilight/p-feb4e5ed.entry.js +0 -4
@@ -0,0 +1,255 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
+
6
+ const SallaSearchableDropdown = /*@__PURE__*/ proxyCustomElement(class SallaSearchableDropdown extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.itemSelected = createEvent(this, "itemSelected", 7);
11
+ this.searchInput = createEvent(this, "searchInput", 7);
12
+ this.dropdownOpened = createEvent(this, "dropdownOpened", 7);
13
+ this.dropdownClosed = createEvent(this, "dropdownClosed", 7);
14
+ this.placeholder = '';
15
+ this.items = [];
16
+ this.selectedItem = null;
17
+ this.loading = false;
18
+ this.searching = false;
19
+ this.disabled = false;
20
+ this.required = false;
21
+ this.noResultsText = '';
22
+ this.inputId = '';
23
+ this.searchQuery = '';
24
+ this.clientSearch = false;
25
+ this.dropUp = false;
26
+ this.isOpen = false;
27
+ this.focusedIndex = -1;
28
+ this.clientSearchQuery = '';
29
+ this.scrollableAncestor = null;
30
+ this.handleTriggerClick = () => {
31
+ if (this.isOpen) {
32
+ this.close();
33
+ }
34
+ else {
35
+ this.open();
36
+ }
37
+ };
38
+ this.handleTriggerKeyDown = (e) => {
39
+ if (e.key === 'Enter' || e.key === ' ' || e.key === 'ArrowDown') {
40
+ e.preventDefault();
41
+ if (!this.isOpen)
42
+ this.open();
43
+ }
44
+ else if (e.key === 'Escape') {
45
+ this.close();
46
+ }
47
+ };
48
+ this.handleSearchInputChange = (e) => {
49
+ const value = e.target.value;
50
+ if (this.clientSearch) {
51
+ this.clientSearchQuery = value;
52
+ }
53
+ this.searchInput.emit(value);
54
+ this.focusedIndex = -1;
55
+ };
56
+ this.handleSearchKeyDown = (e) => {
57
+ const visibleItems = this.filteredItems;
58
+ const itemCount = visibleItems.length;
59
+ switch (e.key) {
60
+ case 'ArrowDown':
61
+ e.preventDefault();
62
+ this.focusedIndex = itemCount > 0
63
+ ? (this.focusedIndex + 1) % itemCount
64
+ : -1;
65
+ this.scrollFocusedIntoView();
66
+ break;
67
+ case 'ArrowUp':
68
+ e.preventDefault();
69
+ this.focusedIndex = itemCount > 0
70
+ ? (this.focusedIndex - 1 + itemCount) % itemCount
71
+ : -1;
72
+ this.scrollFocusedIntoView();
73
+ break;
74
+ case 'Enter':
75
+ e.preventDefault();
76
+ if (this.focusedIndex >= 0 && this.focusedIndex < itemCount) {
77
+ this.selectItem(visibleItems[this.focusedIndex]);
78
+ }
79
+ break;
80
+ case 'Escape':
81
+ e.preventDefault();
82
+ this.close();
83
+ break;
84
+ }
85
+ };
86
+ }
87
+ connectedCallback() {
88
+ this.boundHandleClickOutside = this.handleClickOutside.bind(this);
89
+ document.addEventListener('mousedown', this.boundHandleClickOutside);
90
+ }
91
+ disconnectedCallback() {
92
+ document.removeEventListener('mousedown', this.boundHandleClickOutside);
93
+ if (this.scrollableAncestor) {
94
+ this.scrollableAncestor.style.overflow = '';
95
+ this.scrollableAncestor = null;
96
+ }
97
+ }
98
+ onItemsChange() {
99
+ this.focusedIndex = -1;
100
+ }
101
+ normalizeArabic(text) {
102
+ return text.replace(/[أإآا]/g, 'ا');
103
+ }
104
+ get filteredItems() {
105
+ if (!this.clientSearch || !this.clientSearchQuery.trim()) {
106
+ return this.items;
107
+ }
108
+ const query = this.normalizeArabic(this.clientSearchQuery.trim().toLowerCase());
109
+ return this.items.filter(item => {
110
+ const normalizedName = this.normalizeArabic(item.name.toLowerCase());
111
+ const normalizedNameEn = item.name_en ? item.name_en.toLowerCase() : '';
112
+ return normalizedName.includes(query) || normalizedNameEn.includes(query);
113
+ });
114
+ }
115
+ getDisplayName(item) {
116
+ const lang = salla?.config?.get('user.language_code');
117
+ if (lang && lang !== 'ar' && item.name_en?.trim()) {
118
+ return item.name_en.trim();
119
+ }
120
+ return item.name;
121
+ }
122
+ handleClickOutside(e) {
123
+ if (!this.isOpen)
124
+ return;
125
+ const target = e.target;
126
+ if (!this.host.contains(target)) {
127
+ this.close();
128
+ }
129
+ }
130
+ findScrollableAncestor() {
131
+ let el = this.host.parentElement;
132
+ while (el) {
133
+ const style = getComputedStyle(el);
134
+ const overflowY = style.overflowY;
135
+ if (overflowY === 'auto' || overflowY === 'scroll' || overflowY === 'hidden' || style.overflow === 'clip') {
136
+ return el;
137
+ }
138
+ el = el.parentElement;
139
+ }
140
+ return null;
141
+ }
142
+ open() {
143
+ if (this.disabled || this.loading)
144
+ return;
145
+ this.isOpen = true;
146
+ this.focusedIndex = -1;
147
+ this.scrollableAncestor = this.findScrollableAncestor();
148
+ if (this.scrollableAncestor) {
149
+ this.scrollableAncestor.style.overflow = 'visible';
150
+ }
151
+ this.dropdownOpened.emit();
152
+ requestAnimationFrame(() => this.searchInputRef?.focus());
153
+ }
154
+ close() {
155
+ if (!this.isOpen)
156
+ return;
157
+ this.isOpen = false;
158
+ this.focusedIndex = -1;
159
+ this.clientSearchQuery = '';
160
+ if (this.scrollableAncestor) {
161
+ this.scrollableAncestor.style.overflow = '';
162
+ this.scrollableAncestor = null;
163
+ }
164
+ this.dropdownClosed.emit();
165
+ }
166
+ scrollFocusedIntoView() {
167
+ if (this.focusedIndex < 0)
168
+ return;
169
+ requestAnimationFrame(() => {
170
+ const listEl = this.panelRef?.querySelector('.s-searchable-dropdown-list');
171
+ const focused = listEl?.children[this.focusedIndex];
172
+ focused?.scrollIntoView({ block: 'nearest' });
173
+ });
174
+ }
175
+ selectItem(item) {
176
+ this.itemSelected.emit(item);
177
+ this.close();
178
+ }
179
+ render() {
180
+ const hasSelection = this.selectedItem != null;
181
+ const listboxId = `${this.inputId}-listbox`;
182
+ return (h(Host, { key: '1e413d4391362f274223724ab37f5842a196f936', class: "s-searchable-dropdown" }, h("div", { key: 'c1c0b595a458db8918bc7c72b949cd514d764613', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '576831e0383f561d5512792cb52d1c6d40156015', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '290e1edb52971f5af6c6555f82ad595e97c9994d', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'e3c9aaea5697839e67aab1b91d07cb825ee76c7b', class: {
183
+ 's-searchable-dropdown-trigger': true,
184
+ 's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
185
+ 's-searchable-dropdown-trigger--open': this.isOpen,
186
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'f1e95e38ebffc358a9045f0fd38dd205eb2a14bb', class: {
187
+ 'sicon-keyboard_arrow_down': true,
188
+ 's-searchable-dropdown-trigger-icon': true,
189
+ 's-searchable-dropdown-trigger-icon--open': this.isOpen,
190
+ }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: 'a5c6b4650d8de5467c1d53e67700168a0795ff0b', class: {
191
+ 's-searchable-dropdown-panel': true,
192
+ 's-searchable-dropdown-panel--up': this.dropUp,
193
+ }, ref: (el) => (this.panelRef = el) }, h("div", { key: '5ddf73d6d8cb96881ac6f94ef25a9f58b883a6c0', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: 'ec52897c25962c6d1e84986f25bdac2dd8ecdac0', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: 'e14dd7a0dae605dd37782cdd8c235e875105fcc9', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), h("div", { key: '80daad72643001e400a9ff43444bbad5077ffa2d', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
194
+ }
195
+ renderListContent() {
196
+ if (this.searching || this.loading) {
197
+ return (h("div", { class: "s-searchable-dropdown-loading" }, h("svg", { class: "s-searchable-dropdown-spinner", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", opacity: "0.25" }), h("path", { d: "M12 2a10 10 0 0 1 10 10", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round" }))));
198
+ }
199
+ const visibleItems = this.filteredItems;
200
+ if (visibleItems.length === 0) {
201
+ return (h("div", { class: "s-searchable-dropdown-empty" }, this.noResultsText || salla?.lang?.get('common.elements.no_options') || 'No results found'));
202
+ }
203
+ return visibleItems.map((item, index) => {
204
+ const isSelected = this.selectedItem?.id === item.id;
205
+ const isFocused = this.focusedIndex === index;
206
+ return (h("button", { key: item.id, type: "button", role: "option", class: {
207
+ 's-searchable-dropdown-item': true,
208
+ 's-searchable-dropdown-item--selected': isSelected,
209
+ 's-searchable-dropdown-item--focused': isFocused && !isSelected,
210
+ }, "aria-selected": isSelected ? 'true' : 'false', onClick: () => this.selectItem(item) }, h("span", { class: {
211
+ 's-searchable-dropdown-item-name': true,
212
+ 's-searchable-dropdown-item-name--selected': isSelected,
213
+ } }, this.getDisplayName(item)), isSelected && (h("i", { class: "sicon-check s-searchable-dropdown-item-check", "aria-hidden": "true" }))));
214
+ });
215
+ }
216
+ get host() { return this; }
217
+ static get watchers() { return {
218
+ "items": ["onItemsChange"]
219
+ }; }
220
+ }, [0, "salla-searchable-dropdown", {
221
+ "label": [1],
222
+ "placeholder": [1],
223
+ "items": [16],
224
+ "selectedItem": [16, "selected-item"],
225
+ "loading": [4],
226
+ "searching": [4],
227
+ "disabled": [4],
228
+ "required": [4],
229
+ "noResultsText": [1, "no-results-text"],
230
+ "inputId": [1, "input-id"],
231
+ "searchQuery": [1, "search-query"],
232
+ "clientSearch": [4, "client-search"],
233
+ "dropUp": [4, "drop-up"],
234
+ "isOpen": [32],
235
+ "focusedIndex": [32],
236
+ "clientSearchQuery": [32]
237
+ }, undefined, {
238
+ "items": ["onItemsChange"]
239
+ }]);
240
+ function defineCustomElement() {
241
+ if (typeof customElements === "undefined") {
242
+ return;
243
+ }
244
+ const components = ["salla-searchable-dropdown"];
245
+ components.forEach(tagName => { switch (tagName) {
246
+ case "salla-searchable-dropdown":
247
+ if (!customElements.get(tagName)) {
248
+ customElements.define(tagName, SallaSearchableDropdown);
249
+ }
250
+ break;
251
+ } });
252
+ }
253
+ defineCustomElement();
254
+
255
+ export { SallaSearchableDropdown as S, defineCustomElement as d };
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: '9f9448d939ba69f60eca8dc6ea2ff98a047d6770', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '3b43bb472316b5541a90081a5f3cb6ef91558212', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: '2e14c27cb5a5403df46898ec1ae460fdd92f651f', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '771d8d0c6640486cab15a70e47e8418edc77863e', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -150,7 +150,7 @@ const SallaSocialShare$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocialSha
150
150
  window.a2a?.init('page');
151
151
  }
152
152
  render() {
153
- return (h("div", { key: 'b3e61354de13c16f9bce1dd4cd397375d9a42da9', class: "s-social-share-wrapper" }, h("slot", { key: 'ef44d8cda6967977a59a0fe85777add8a73ffa59', name: 'widget' }, h("salla-button", { key: '243916c3a241c9dceb11a406faabe033c71820d2', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'a6fd2be4e2990f285960308cfd985d37e464d205', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: '27fa3a6ae2306cb61d97e71bb6591dd3614b5977', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
153
+ return (h("div", { key: 'e8585bb94b5e8c8b3136fa242bccdbf5406b350e', class: "s-social-share-wrapper" }, h("slot", { key: '15e2187a3df06ccb32b505d5437ebcf9241046a4', name: 'widget' }, h("salla-button", { key: '99467cafadf06a67b087e6ba13709d0d1a612ecc', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '2b6538e88a074cd769af24b72f2629e21dff45a5', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'dc42096ad383c9e7504c5e132e8fe65f25192748', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
154
154
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
155
155
  if (icon.name === platform) {
156
156
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -56,7 +56,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
56
56
  }
57
57
  render() {
58
58
  const linksArray = this.getLinksArray();
59
- return (h(Host, { key: '27639596a37f52686c1ac4b1a825fa143747216c' }, h("ul", { key: '9f6a6c96fe124fda09d2b879e3825ef73ec29c2c', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
+ return (h(Host, { key: '921a2e9387ec6d8c450f222ecbb36f81be06cb30' }, h("ul", { key: 'b65fa02b40dcd077ec89076aea55f9cc664eb92e', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
60
  .replace(/\{icon\}/g, this.iconsList[link.type])
61
61
  .replace(/\{type\}/g, link.type)
62
62
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: '8678e860af6640f0ff1a92593fbe624416412b49', class: classes }, h("slot", { key: '10951e5230f9c5fbfbd5959d3773d44b66e85315' })));
35
+ return (h("div", { key: '32762c93a41db3a20cd9fa98db182af388ecb084', class: classes }, h("slot", { key: '40caefc56a772c6f3f9a41650aec01a72e9e899b' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: '02bd540222ec3bd4adac0dd08132c366e29c6d9d', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '9e6de884cb209d499e4bbd055e40c525680a7c37' })),
61
+ h("div", { key: 'ac33877e26aac4d67f1d0f1dfdd6f34197739d8f', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'bc8b9b519b480f0df2203b06bde1b82086f48a1e' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: 'ecbcdc11af92d35afe933b11676bcf4769d19162', class: "s-tabs" }, h("div", { key: 'fa4fdecbc995dded92e3d64bf770d6375ad53fd2', class: "s-tabs-header" }, h("slot", { key: '730c1a278e95b7fa98da29956fee23dcd06e641d', name: "header" })), h("div", { key: '9721096ba8e1236500855a80f569e6ea8a4c1c32', class: "s-tabs-content-wrapper" }, h("slot", { key: 'ce82c43fd21bd1f28a7658b927646d0ff6052ea7', name: "content" })))
54
+ h("div", { key: 'b9b534860c70c17b22cad198696b80a5fae10d90', class: "s-tabs" }, h("div", { key: '7285d740077583bf211e7744d2db22e361989778', class: "s-tabs-header" }, h("slot", { key: '951159808cd26ce4994cbf69a3b0bed6100929dd', name: "header" })), h("div", { key: 'db550a026743862e8056b1a0f361da06cb78b4a3', class: "s-tabs-content-wrapper" }, h("slot", { key: '3b5dacf111e5e911c1f821e38bcbf578699cae33', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -129,7 +129,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
129
129
  }
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: '0ed711498e5b2987a4299bd36bebb6963a5082ea', class: "s-tel-input" }, h("input", { key: '8beb06377cefe6b4e02ca82f04941025949ea304', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '90295738a19bae3c61f4cb149c162ae8e3e1b08c', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'a15b9f99bbae0be5af7bd00335a4174e9609d507', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
132
+ return (h(Host, { key: 'b7c80fe9322f6f0ddd519042387ded7f7be3b33e', class: "s-tel-input" }, h("input", { key: '839b34b164c5dca31c917f514fe3fabd6bc4dfa3', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '81be950bd3b0dffc5637b02687c9b4318485757f', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '4f6a8e7888bf8e28d8029fd12851bb77286893a1', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
133
133
  }
134
134
  componentDidLoad() {
135
135
  this.initTelInput();
@@ -32,7 +32,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
32
32
  }
33
33
  render() {
34
34
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
35
- return (h("div", { key: '789e7e8e0653d68b5387b2199e05f287c8b91c92', class: "s-tooltip-container" }, h("div", { key: '0342a96fa7c3d316cfc9f5435dc7321920044a12', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
35
+ return (h("div", { key: 'e88949e9f1d97170bc61a0ab37e221863b9bc79f', class: "s-tooltip-container" }, h("div", { key: '1e65ce349cab58449512ba02ab11028de7fd6aa4', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
36
36
  }
37
37
  get el() { return this; }
38
38
  static get style() { return sallaTooltipCss; }
@@ -83,7 +83,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
83
83
  await salla.profile.delete().finally(() => this.confirmationModal.close());
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: '09c239e885ba9e52e21ce17706c9296f99518c80', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: 'ae1d8057c8bc4a1d355300f4be87b8a33091f694', class: "s-user-settings-section" }, h("salla-list-tile", { key: '93a7aec26398f466f350defd6f1878b89dc85351' }, h("div", { key: '2e89f6967972d7b95fe43ad735a2180409d234dd', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '622a59eff6171b5b1bb86d8482142df673cbf794', innerHTML: UserCancel })), h("div", { key: 'ce73e774974ea08605635a8443d068c73fd20129', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '000e5e933e8d6a1f1d4742b0441d86c8403d6cb5', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '498fc6ec63be3a7bc0a78b208a48a824af5c38df', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '707181396eddd29d85826a48fb74a7119cfed2d6', class: "s-toggle" }, h("input", { key: 'a2188b266c8abe95a94affb128611074f8889405', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '1d50965f07763ba23f1675736f7d676a2e3300b9', class: "s-toggle-switcher" }))))), h("div", { key: '303f5388b3cb3954dc574dd8ac2c5f3981e870ce', class: "s-user-settings-section" }, h("salla-list-tile", { key: '6c751eafd2a3547fa7adaaf165230857c22820d4' }, h("div", { key: 'aaf770f0e43798c73d6fb7c5e0a71b7e03f812b8', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '3e5bbc36ed00b1c99816557314d82a5c51ceefac', innerHTML: Bullhorn })), h("div", { key: '9dce63894704b419536b9f7afec474b90bf047a8', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: 'd1df5e80e9ee8b8512cfe334b3032d64a61b9dc2', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'a57e08a44055a8859b4f3f2fd4ee8e7d3abf8e46', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '6289b221064d45fd944bbed843350f4183d32e7e', class: "s-toggle" }, h("input", { key: '545e32938c4f1da231486b20be8f220108c20019', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'efa1680c2fbbdcc280330ffa3d83379e96b0e755', class: "s-toggle-switcher" }))))), h("div", { key: '86e21a0171941aa0f1ddf008f479101a707c7e00', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '55f0b6d0b72ff1f91ff4ba09d28e8962e7f445b3' }, h("div", { key: '2d8ff66a76c3c8bf6a3c0e5222c142c0402b1c75', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'e59a4224af4f355679e2e163ca97c0f03b121ac7', innerHTML: UserOff })), h("div", { key: '59d4a4d841ab40f782f5a6a258c5e91211376d22', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'b51a3eedf67d2635ebbf15eb7e39289866b92481', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '0871a013df31afcacad1f3e3f2a37a80668fffa0', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'c42688b4aa87c5cbeb2145246327271cbc7561b5', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'eaf3dbc98dc2483d2251fa5858bf77d698d24d66', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: 'e7403e420404a68db65c1efa8edfa7ce8095ed82', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '1625698c6e2d8058177b51b5565adcf3fb92115f', class: "s-user-settings-confirmation" }, h("div", { key: '97a28f55f8dd76f15caa25148021501fe6447ddc', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '8454d3da817db426934ff49b535f82e9e0711eb9', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '9227e5eb5854e0415c0280c752340a526c2d19fb', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '3788d8ebbfe73e4bd085c942a9a651e22e4585e1', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: 'c130220b738d80f14cd4000b9eb4dd20df77980f', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '2bf49761f3437963ac75a6407d7ec98592417b3a', class: "s-user-settings-section" }, h("salla-list-tile", { key: '8a3c57c305433e0172175118b72e36901ca43fda' }, h("div", { key: '126853187b1c957f5a7bd81c0341bae24e8d87ea', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '0796752200d217095580a0855b8cb3c275b025ec', innerHTML: UserCancel })), h("div", { key: '6a2fb48adf9a08f2853f641f88d5744f1e5e79fd', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '57d60c74311b8e556008ab1bfefc3dbc7fe14d26', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '670446bf37f6aa476810e890d4f79904e39f5e72', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'aea20b164e6b47d3b23b55fd9d8ee445dc0515fe', class: "s-toggle" }, h("input", { key: '9fc592118faa754525faa49023909b6b1c62823a', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '485fb4402cb435fa55fd44b139bacc4502c9dd27', class: "s-toggle-switcher" }))))), h("div", { key: '2437e14c095e28e1cc626cb1cbf71dbd8337d954', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'cec0fbe6bbfe56eff1054869f300b905c515bd4c' }, h("div", { key: '3c3a370d9eac62dc871eebad8329e75e6395d3fa', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '70d16c4a2bc42eac766273ca05f67d176c6d4374', innerHTML: Bullhorn })), h("div", { key: 'c341c8ad97cd2fffce8e3af294bfae434314a2e4', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '54bd0cc88488863f55a9104d04a9df78f3eb6bd7', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'f5efcfb1466f3df26ff8820ccdd85a73d6395fef', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '8f1eaf0951abad13e01a0027a7975e50ad831094', class: "s-toggle" }, h("input", { key: '39ce354fc1d64e1540710fa06230e527c0bb0234', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'a40a9bbc22a3fd7a49a66fb4808abe79ad2d792e', class: "s-toggle-switcher" }))))), h("div", { key: '1ae760df718ca439c7cb1010c778b1b8f61f1b8f', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'da1fbd3e37d9ab35b4dac164801acfb55650e054' }, h("div", { key: '59f89006b21a2ff7bdcf63d16e5f67256877ce1d', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '53711d6f97340b6a1e3a430dbda8430adbcb00d0', innerHTML: UserOff })), h("div", { key: '485ddc81c283c70b948a9acab40c97e4dde8795b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '10624a62c0b9bf822a2087d36f4d4ce77548c6dd', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'f023d0193586f778860fda0b567eac30b9e913f5', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'ffb0af3f744c8ae24a1143d577e2b8a065bad7d1', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'ab93ecef93e4b79bcdade007ecfaea01631045bd', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '50764fa29f599b2163f81ee110f98e41900e6d82', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '8c32d8c06fd1a86b1b585b648e4c66d8af89b2db', class: "s-user-settings-confirmation" }, h("div", { key: 'd5207ec65164615618977308a9a73a604fa5f122', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '7c1c4070c63620f995a14103426d54bbdf4cc4c5', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '6ec7b830b1efd9d0acbe17a013d3ce3be2f0532b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '17929fee163ae7088656ee54698444ef477b8e41', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
87
87
  }
88
88
  static get style() { return sallaUserSettingsCss; }
89
89
  }, [0, "salla-user-settings", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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-BO4PufG1.js';
4
+ import { d as getDefaultExportFromCjs } from './index-D36ugbw7.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 { h } from './index-BO4PufG1.js';
4
+ import { h } from './index-D36ugbw7.js';
5
5
 
6
6
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
7
7
  return number < multipleOf ? number : number - (number % multipleOf);