@salla.sa/twilight-components 2.14.353 → 2.14.355

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 (341) hide show
  1. package/dist/cjs/bell-ring-BfKPinNo.js +13 -0
  2. package/dist/cjs/{interfaces-CX9-6aLf.js → camera-DytepEoK.js} +0 -11
  3. package/dist/cjs/cancel-De6vslRA.js +13 -0
  4. package/dist/cjs/cart-s-x1Fshk.js +13 -0
  5. package/dist/cjs/check-circle2-BDvlT4_n.js +13 -0
  6. package/dist/cjs/{check-CLRvuniI.js → check-x3w3-gpj.js} +2 -2
  7. package/dist/cjs/{filepond-7SxqaoXb.js → filepond-D0WqQOsJ.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-file-poster-DwIv84hN.js → filepond-plugin-file-poster-ZuSz5Sia.js} +1 -1
  9. package/dist/cjs/{filepond-plugin-file-validate-size-NUNnIo4Q.js → filepond-plugin-file-validate-size-C3-G9fQU.js} +1 -1
  10. package/dist/cjs/{filepond-plugin-file-validate-type-CXI-hfww.js → filepond-plugin-file-validate-type-pC6E-hQQ.js} +1 -1
  11. package/dist/cjs/{filepond-plugin-image-edit-fBeBGIBb.js → filepond-plugin-image-edit-B6RJ-sf_.js} +1 -1
  12. package/dist/cjs/{filepond-plugin-image-exif-orientation-BmLTdQ6d.js → filepond-plugin-image-exif-orientation-BAKA7TOr.js} +1 -1
  13. package/dist/cjs/{filepond-plugin-image-preview-CssKRM6n.js → filepond-plugin-image-preview-C_5JV3u4.js} +1 -1
  14. package/dist/{esm/gift-C0JNGIpa.js → cjs/gift-CJ-3Yw_x.js} +4 -2
  15. package/dist/cjs/image-BoZ6Hums.js +13 -0
  16. package/dist/cjs/{index-B9TEdQDE.js → index-DdedaQQE.js} +1 -1
  17. package/dist/cjs/{index-B5soIVRX.js → index-DgOViweO.js} +136 -12
  18. package/dist/cjs/interfaces-CRqrf5RX.js +15 -0
  19. package/dist/cjs/keyboard_arrow_down-DHJ3FFZq.js +13 -0
  20. package/dist/cjs/keyboard_arrow_right-BayM_Il2.js +21 -0
  21. package/dist/cjs/loader.cjs.js +2 -2
  22. package/dist/cjs/minus-CCryh1qf.js +21 -0
  23. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +775 -0
  24. package/dist/cjs/salla-accordion_6.cjs.entry.js +768 -0
  25. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +2389 -0
  26. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-alert_2.cjs.entry.js +194 -0
  28. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-apps-icons.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-booking-field_7.cjs.entry.js +1565 -0
  31. package/dist/cjs/{salla-cart-item-offers.cjs.entry.js → salla-cart-item-offers_2.cjs.entry.js} +104 -5
  32. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1661 -0
  33. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
  35. package/dist/cjs/salla-count-down_2.cjs.entry.js +302 -0
  36. package/dist/cjs/salla-custom-fields.cjs.entry.js +4 -3
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-gifting.cjs.entry.js +488 -0
  40. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +91 -0
  42. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-list-tile.cjs.entry.js +34 -0
  44. package/dist/cjs/salla-localization-modal.cjs.entry.js +137 -0
  45. package/dist/cjs/salla-login-modal.cjs.entry.js +320 -0
  46. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +211 -0
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +40 -0
  50. package/dist/cjs/salla-menu.cjs.entry.js +139 -0
  51. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +220 -0
  53. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +598 -0
  54. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +69 -0
  55. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-offer-modal.cjs.entry.js +206 -0
  58. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-summary.cjs.entry.js +3 -3
  63. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-payments.cjs.entry.js +6 -18
  66. package/dist/cjs/salla-placeholder.cjs.entry.js +51 -0
  67. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-product-size-guide.cjs.entry.js +66 -0
  69. package/dist/cjs/salla-products-list.cjs.entry.js +762 -0
  70. package/dist/cjs/salla-products-slider.cjs.entry.js +115 -0
  71. package/dist/cjs/salla-progress-bar.cjs.entry.js +73 -0
  72. package/dist/cjs/salla-quick-order.cjs.entry.js +239 -0
  73. package/dist/cjs/salla-rating-modal.cjs.entry.js +453 -0
  74. package/dist/cjs/salla-scopes.cjs.entry.js +180 -0
  75. package/dist/cjs/salla-search.cjs.entry.js +153 -0
  76. package/dist/cjs/salla-skeleton.cjs.entry.js +36 -0
  77. package/dist/cjs/salla-slider.cjs.entry.js +10428 -0
  78. package/dist/cjs/salla-social-share.cjs.entry.js +165 -0
  79. package/dist/cjs/salla-social.cjs.entry.js +4 -4
  80. package/dist/cjs/salla-tab-content_3.cjs.entry.js +157 -0
  81. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-user-menu.cjs.entry.js +275 -0
  85. package/dist/cjs/salla-user-profile.cjs.entry.js +145 -0
  86. package/dist/cjs/salla-user-settings.cjs.entry.js +88 -0
  87. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  89. package/dist/cjs/search-c7Aa7lM9.js +13 -0
  90. package/dist/cjs/{special-discount-OVG_9Kf9.js → special-discount-DC2oXurL.js} +0 -8
  91. package/dist/cjs/star-DGcH7Yso.js +13 -0
  92. package/dist/cjs/star2-R146a27p.js +13 -0
  93. package/dist/cjs/twilight.cjs.js +2 -2
  94. package/dist/cjs/{vanilla-picker-C6fk8_TR.js → vanilla-picker-Cd4v7i9t.js} +1 -1
  95. package/dist/cjs/{whatsapp2-D7Sbg8Ey.js → whatsapp2-BdMd5Gx1.js} +2 -2
  96. package/dist/collection/collection-manifest.json +56 -2
  97. package/dist/collection/components/salla-apps-icons/salla-apps-icons.js +1 -1
  98. package/dist/collection/components/salla-payments/salla-payments.js +5 -17
  99. package/dist/collection/components/salla-product-options/salla-product-options.js +36 -3
  100. package/dist/collection/components/salla-products-slider/salla-products-slider.js +32 -1
  101. package/dist/collection/components/salla-slider/salla-slider.js +89 -29
  102. package/dist/collection/components/salla-social/salla-social.js +1 -1
  103. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  104. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  105. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  106. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  107. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  108. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  109. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  110. package/dist/components/index.js +2 -2
  111. package/dist/components/salla-apps-icons.js +1 -1
  112. package/dist/components/salla-payments.js +5 -17
  113. package/dist/components/salla-product-options2.js +19 -2
  114. package/dist/components/salla-products-slider2.js +2 -1
  115. package/dist/components/salla-slider2.js +69 -28
  116. package/dist/components/salla-social-share.js +1 -1
  117. package/dist/components/salla-social.js +1 -1
  118. package/dist/components/salla-tab-content2.js +1 -1
  119. package/dist/components/salla-tab-header2.js +1 -1
  120. package/dist/components/salla-tabs2.js +1 -1
  121. package/dist/components/salla-tel-input2.js +1 -1
  122. package/dist/components/salla-tooltip2.js +1 -1
  123. package/dist/components/salla-user-settings.js +1 -1
  124. package/dist/esm/bell-ring-D3mWkc-3.js +11 -0
  125. package/dist/esm/{interfaces-CBT_Nxny.js → camera-C6jIkM-X.js} +1 -12
  126. package/dist/esm/cancel-BsLF_HK7.js +11 -0
  127. package/dist/esm/cart-DY4LZmNP.js +11 -0
  128. package/dist/esm/{check-uTyAzPSy.js → check-BsXh13x8.js} +2 -2
  129. package/dist/esm/check-circle2-BV4kqbdL.js +11 -0
  130. package/dist/esm/{filepond-Cuqyleyy.js → filepond-YrJ-JCRn.js} +1 -1
  131. package/dist/esm/{filepond-plugin-file-poster-C6Wara8q.js → filepond-plugin-file-poster-UWiXxhAl.js} +1 -1
  132. package/dist/esm/{filepond-plugin-file-validate-size-D-M3KSxo.js → filepond-plugin-file-validate-size-CuFnfvIq.js} +1 -1
  133. package/dist/esm/{filepond-plugin-file-validate-type-DzAl1VI8.js → filepond-plugin-file-validate-type-BgYsHZEQ.js} +1 -1
  134. package/dist/esm/{filepond-plugin-image-edit-flutfc9I.js → filepond-plugin-image-edit-BQtZWl9D.js} +1 -1
  135. package/dist/esm/{filepond-plugin-image-exif-orientation-B2UkG6iE.js → filepond-plugin-image-exif-orientation-Dp7a5KRi.js} +1 -1
  136. package/dist/esm/{filepond-plugin-image-preview-B4u8N2nE.js → filepond-plugin-image-preview-DvWrR7vg.js} +1 -1
  137. package/dist/{cjs/gift-BPDUPIY_.js → esm/gift-BChI23pG.js} +2 -4
  138. package/dist/esm/image-C-tzSDxw.js +11 -0
  139. package/dist/esm/{index-xWIb6INF.js → index-DwU5NnFF.js} +1 -1
  140. package/dist/esm/{index-6mr785rH.js → index-PHxPq4LJ.js} +137 -13
  141. package/dist/esm/interfaces-OF8QcbMM.js +15 -0
  142. package/dist/esm/keyboard_arrow_down-DCZbpt2a.js +11 -0
  143. package/dist/esm/keyboard_arrow_right-Vqpj4CWE.js +18 -0
  144. package/dist/esm/loader.js +3 -3
  145. package/dist/esm/minus-DfeagqF1.js +18 -0
  146. package/dist/esm/salla-accordion-body_3.entry.js +771 -0
  147. package/dist/esm/salla-accordion_6.entry.js +761 -0
  148. package/dist/esm/salla-add-product-button_4.entry.js +2384 -0
  149. package/dist/esm/salla-advertisement.entry.js +1 -1
  150. package/dist/esm/salla-alert_2.entry.js +191 -0
  151. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  152. package/dist/esm/salla-apps-icons.entry.js +2 -2
  153. package/dist/esm/salla-booking-field_7.entry.js +1539 -0
  154. package/dist/esm/{salla-cart-item-offers.entry.js → salla-cart-item-offers_2.entry.js} +104 -6
  155. package/dist/esm/salla-comment-form_8.entry.js +1652 -0
  156. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  157. package/dist/esm/salla-contacts.entry.js +3 -3
  158. package/dist/esm/salla-count-down_2.entry.js +299 -0
  159. package/dist/esm/salla-custom-fields.entry.js +3 -2
  160. package/dist/esm/salla-filters-widget.entry.js +1 -1
  161. package/dist/esm/salla-filters.entry.js +1 -1
  162. package/dist/esm/salla-gifting.entry.js +486 -0
  163. package/dist/esm/salla-hook.entry.js +1 -1
  164. package/dist/esm/salla-infinite-scroll.entry.js +89 -0
  165. package/dist/esm/salla-installment.entry.js +1 -1
  166. package/dist/esm/salla-list-tile.entry.js +32 -0
  167. package/dist/esm/salla-localization-modal.entry.js +135 -0
  168. package/dist/esm/salla-login-modal.entry.js +318 -0
  169. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  170. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  171. package/dist/esm/salla-loyalty.entry.js +209 -0
  172. package/dist/esm/salla-maintenance-alert.entry.js +38 -0
  173. package/dist/esm/salla-menu.entry.js +137 -0
  174. package/dist/esm/salla-metadata.entry.js +1 -1
  175. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +217 -0
  176. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +595 -0
  177. package/dist/esm/salla-multiple-bundle-product.entry.js +67 -0
  178. package/dist/esm/salla-notification-item.entry.js +1 -1
  179. package/dist/esm/salla-notifications.entry.js +1 -1
  180. package/dist/esm/salla-offer-modal.entry.js +204 -0
  181. package/dist/esm/salla-offer.entry.js +1 -1
  182. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  183. package/dist/esm/salla-order-details-options.entry.js +1 -1
  184. package/dist/esm/salla-order-details.entry.js +1 -1
  185. package/dist/esm/salla-order-summary.entry.js +3 -3
  186. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  187. package/dist/esm/salla-orders.entry.js +1 -1
  188. package/dist/esm/salla-payments.entry.js +6 -18
  189. package/dist/esm/salla-placeholder.entry.js +49 -0
  190. package/dist/esm/salla-price-range.entry.js +1 -1
  191. package/dist/esm/salla-product-size-guide.entry.js +64 -0
  192. package/dist/esm/salla-products-list.entry.js +760 -0
  193. package/dist/esm/salla-products-slider.entry.js +113 -0
  194. package/dist/esm/salla-progress-bar.entry.js +71 -0
  195. package/dist/esm/salla-quick-order.entry.js +237 -0
  196. package/dist/esm/salla-rating-modal.entry.js +451 -0
  197. package/dist/esm/salla-scopes.entry.js +178 -0
  198. package/dist/esm/salla-search.entry.js +151 -0
  199. package/dist/esm/salla-skeleton.entry.js +34 -0
  200. package/dist/esm/salla-slider.entry.js +10426 -0
  201. package/dist/esm/salla-social-share.entry.js +163 -0
  202. package/dist/esm/salla-social.entry.js +3 -3
  203. package/dist/esm/salla-tab-content_3.entry.js +153 -0
  204. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  205. package/dist/esm/salla-tooltip.entry.js +2 -2
  206. package/dist/esm/salla-trust-badges.entry.js +1 -1
  207. package/dist/esm/salla-user-menu.entry.js +273 -0
  208. package/dist/esm/salla-user-profile.entry.js +143 -0
  209. package/dist/esm/salla-user-settings.entry.js +86 -0
  210. package/dist/esm/salla-verify.entry.js +1 -1
  211. package/dist/esm/salla-wallet.entry.js +1 -1
  212. package/dist/esm/search-BscTeWDc.js +11 -0
  213. package/dist/esm/{special-discount-yRO-ZESF.js → special-discount-Ctkfc4K-.js} +1 -8
  214. package/dist/esm/star-ZT7ehBBk.js +11 -0
  215. package/dist/esm/star2-D4oPi1Ov.js +11 -0
  216. package/dist/esm/twilight.js +3 -3
  217. package/dist/esm/{vanilla-picker-B4PKRAhm.js → vanilla-picker-fpTcpsmb.js} +1 -1
  218. package/dist/esm/{whatsapp2-DWksgowB.js → whatsapp2-CgR-T_ZS.js} +2 -2
  219. package/dist/twilight/p-009d1b75.entry.js +4 -0
  220. package/dist/twilight/{p-16b8d78c.entry.js → p-04e21492.entry.js} +1 -1
  221. package/dist/twilight/{p-ac6fc286.entry.js → p-0cc07ad0.entry.js} +1 -1
  222. package/dist/twilight/p-0f45b27f.entry.js +4 -0
  223. package/dist/twilight/p-112b4c91.entry.js +4 -0
  224. package/dist/twilight/p-14749ab0.entry.js +4 -0
  225. package/dist/twilight/{p-0c87ef6c.entry.js → p-1c66e567.entry.js} +1 -1
  226. package/dist/twilight/p-1e405d4e.entry.js +4 -0
  227. package/dist/twilight/{p-33ea3141.entry.js → p-1eb76272.entry.js} +1 -1
  228. package/dist/twilight/p-2322e6fc.entry.js +4 -0
  229. package/dist/twilight/{p-7e39343d.entry.js → p-2626b358.entry.js} +1 -1
  230. package/dist/twilight/{p-18ebec2c.entry.js → p-29e92637.entry.js} +1 -1
  231. package/dist/twilight/p-2ca5a8af.entry.js +4 -0
  232. package/dist/twilight/{p-4253fc44.entry.js → p-2cb04fa6.entry.js} +1 -1
  233. package/dist/twilight/{p-19e07b9e.entry.js → p-2e97a6cd.entry.js} +1 -1
  234. package/dist/twilight/{p-zHj-W7EE.js → p-2tEKDOI-.js} +1 -1
  235. package/dist/twilight/p-30b58124.entry.js +4 -0
  236. package/dist/twilight/{p-8c7b7712.entry.js → p-333171ce.entry.js} +1 -1
  237. package/dist/twilight/p-33cd8edb.entry.js +4 -0
  238. package/dist/twilight/p-3774fa61.entry.js +4 -0
  239. package/dist/twilight/{p-5067322a.entry.js → p-37aa131b.entry.js} +1 -1
  240. package/dist/twilight/{p-dde21f4b.entry.js → p-3c76e2d4.entry.js} +1 -1
  241. package/dist/twilight/{p-2d209f96.entry.js → p-3cbbd625.entry.js} +1 -1
  242. package/dist/twilight/{p-6f5d02c6.entry.js → p-3db132b8.entry.js} +1 -1
  243. package/dist/twilight/p-3eff2372.entry.js +4 -0
  244. package/dist/twilight/p-428fe4e6.entry.js +4 -0
  245. package/dist/twilight/p-475a61f8.entry.js +4 -0
  246. package/dist/twilight/{p-BijadG7g.js → p-4D4VVK4U.js} +1 -1
  247. package/dist/twilight/p-4c31b81f.entry.js +4 -0
  248. package/dist/twilight/{p-c096e336.entry.js → p-52ffcaba.entry.js} +1 -1
  249. package/dist/twilight/p-534be529.entry.js +4 -0
  250. package/dist/twilight/p-59697c9b.entry.js +4 -0
  251. package/dist/twilight/p-5c5aba15.entry.js +4 -0
  252. package/dist/twilight/p-666bea2d.entry.js +4 -0
  253. package/dist/twilight/p-6a934903.entry.js +4 -0
  254. package/dist/twilight/{p-6f576591.entry.js → p-6e89154f.entry.js} +1 -1
  255. package/dist/twilight/p-6f69cfa5.entry.js +4 -0
  256. package/dist/twilight/{p-d4aaeef4.entry.js → p-76ce3ec0.entry.js} +1 -1
  257. package/dist/twilight/p-781f1219.entry.js +4 -0
  258. package/dist/twilight/p-78e33f77.entry.js +4 -0
  259. package/dist/twilight/p-79aa2c2f.entry.js +4 -0
  260. package/dist/twilight/p-7a2bd261.entry.js +4 -0
  261. package/dist/twilight/p-7a769233.entry.js +4 -0
  262. package/dist/twilight/{p-6472200c.entry.js → p-7eef10c9.entry.js} +1 -1
  263. package/dist/twilight/{p-2a26c1d6.entry.js → p-8606c783.entry.js} +1 -1
  264. package/dist/twilight/p-8719301a.entry.js +4 -0
  265. package/dist/twilight/p-8ad78dfa.entry.js +4 -0
  266. package/dist/twilight/{p-300624bb.entry.js → p-9bea43d6.entry.js} +1 -1
  267. package/dist/twilight/{p-8b018d82.entry.js → p-9c01357f.entry.js} +1 -1
  268. package/dist/twilight/{p-C0JNGIpa.js → p-BChI23pG.js} +1 -1
  269. package/dist/twilight/{p-Cuxsz9f-.js → p-BPRHuBhm.js} +1 -1
  270. package/dist/twilight/{p-B2SkkGH8.js → p-BRh_eoK1.js} +1 -1
  271. package/dist/twilight/p-BV4kqbdL.js +4 -0
  272. package/dist/twilight/{p-tFBCbVoG.js → p-BitILwJ_.js} +1 -1
  273. package/dist/twilight/p-BsLF_HK7.js +4 -0
  274. package/dist/twilight/{p-uTyAzPSy.js → p-BsXh13x8.js} +1 -1
  275. package/dist/twilight/p-BscTeWDc.js +4 -0
  276. package/dist/twilight/{p-ChfiVIJv.js → p-Bx_UY06u.js} +1 -1
  277. package/dist/twilight/p-C-tzSDxw.js +4 -0
  278. package/dist/twilight/{p-Bp_xKTyn.js → p-C6S8Hr36.js} +1 -1
  279. package/dist/twilight/p-C6jIkM-X.js +4 -0
  280. package/dist/twilight/p-CO-PeZ27.js +4 -0
  281. package/dist/twilight/{p-DWksgowB.js → p-CgR-T_ZS.js} +1 -1
  282. package/dist/twilight/p-Ctkfc4K-.js +4 -0
  283. package/dist/twilight/p-D3mWkc-3.js +4 -0
  284. package/dist/twilight/p-D4oPi1Ov.js +4 -0
  285. package/dist/twilight/p-DCZbpt2a.js +4 -0
  286. package/dist/twilight/p-DY4LZmNP.js +4 -0
  287. package/dist/twilight/p-DfeagqF1.js +4 -0
  288. package/dist/twilight/{p-DnELO4MH.js → p-DtkaGJwR.js} +1 -1
  289. package/dist/twilight/p-OF8QcbMM.js +4 -0
  290. package/dist/twilight/{p-6mr785rH.js → p-PHxPq4LJ.js} +2 -2
  291. package/dist/twilight/p-Vqpj4CWE.js +4 -0
  292. package/dist/twilight/p-ZT7ehBBk.js +4 -0
  293. package/dist/twilight/p-a5bb66a3.entry.js +4 -0
  294. package/dist/twilight/p-ad9c9773.entry.js +4 -0
  295. package/dist/twilight/p-b502e876.entry.js +4 -0
  296. package/dist/twilight/{p-e909d28b.entry.js → p-b8d8175a.entry.js} +1 -1
  297. package/dist/twilight/p-ba5fc67a.entry.js +4 -0
  298. package/dist/twilight/p-c3750eaa.entry.js +4 -0
  299. package/dist/twilight/p-d7037864.entry.js +4 -0
  300. package/dist/twilight/p-d9880694.entry.js +4 -0
  301. package/dist/twilight/p-db0b3ed2.entry.js +4 -0
  302. package/dist/twilight/{p-81702ecb.entry.js → p-dbb4ede5.entry.js} +1 -1
  303. package/dist/twilight/{p-28900b2e.entry.js → p-e017e403.entry.js} +1 -1
  304. package/dist/twilight/p-e31177e7.entry.js +4 -0
  305. package/dist/twilight/p-e5b90edd.entry.js +4 -0
  306. package/dist/twilight/{p-b60db6c8.entry.js → p-ec3f15ee.entry.js} +1 -1
  307. package/dist/twilight/p-edc41bbc.entry.js +4 -0
  308. package/dist/twilight/p-f2c23e42.entry.js +4 -0
  309. package/dist/twilight/p-f34f5a30.entry.js +4 -0
  310. package/dist/twilight/{p-4bc98557.entry.js → p-f578dea7.entry.js} +1 -1
  311. package/dist/twilight/{p-9946fa76.entry.js → p-ffbd5949.entry.js} +1 -1
  312. package/dist/twilight/{p-C_h1JDCU.js → p-fq0HEcD_.js} +1 -1
  313. package/dist/twilight/twilight.esm.js +1 -1
  314. package/dist/types/components/salla-payments/salla-payments.d.ts +0 -2
  315. package/dist/types/components/salla-product-options/salla-product-options.d.ts +8 -1
  316. package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +8 -0
  317. package/dist/types/components/salla-slider/salla-slider.d.ts +20 -2
  318. package/dist/types/components.d.ts +26 -0
  319. package/package.json +5 -5
  320. package/dist/cjs/salla-accordion_62.cjs.entry.js +0 -22470
  321. package/dist/cjs/salla-review-card.cjs.entry.js +0 -183
  322. package/dist/cjs/salla-reviews-page.cjs.entry.js +0 -695
  323. package/dist/cjs/salla-reviews.cjs.entry.js +0 -106
  324. package/dist/esm/salla-accordion_62.entry.js +0 -22389
  325. package/dist/esm/salla-review-card.entry.js +0 -181
  326. package/dist/esm/salla-reviews-page.entry.js +0 -693
  327. package/dist/esm/salla-reviews.entry.js +0 -104
  328. package/dist/twilight/p-12e49031.entry.js +0 -4
  329. package/dist/twilight/p-5bf05092.entry.js +0 -4
  330. package/dist/twilight/p-67830f2a.entry.js +0 -4
  331. package/dist/twilight/p-751dddd4.entry.js +0 -4
  332. package/dist/twilight/p-9b22a7eb.entry.js +0 -4
  333. package/dist/twilight/p-CBT_Nxny.js +0 -4
  334. package/dist/twilight/p-Dz7o69vX.js +0 -4
  335. package/dist/twilight/p-a515a8cc.entry.js +0 -4
  336. package/dist/twilight/p-c4821f8b.entry.js +0 -4
  337. package/dist/twilight/p-de807340.entry.js +0 -4
  338. package/dist/twilight/p-fa585081.entry.js +0 -4
  339. package/dist/twilight/p-yRO-ZESF.js +0 -4
  340. package/dist/cjs/{twitter-pOrUNjXi.js → facebook-DbXua6B9.js} +2 -2
  341. package/dist/esm/{twitter-Dz7o69vX.js → facebook-CO-PeZ27.js} +2 -2
@@ -10,7 +10,7 @@ const SallaAppsIcons$1 = /*@__PURE__*/ proxyCustomElement(class SallaAppsIcons e
10
10
  super();
11
11
  this.__registerHost();
12
12
  this.apps = salla.config.get('store.apps');
13
- this.appSlot = this.host.querySelector('[slot="app"]')?.innerHTML || `<img alt={name} src={icon} width="135" height="40" />`;
13
+ this.appSlot = this.host.querySelector('[slot="app"]')?.innerHTML || `<img alt="{name}" src="{icon}" width="135" height="40" decoding="async" loading="lazy" />`;
14
14
  salla.onReady(() => {
15
15
  this.apps = salla.config.get('store.apps');
16
16
  });
@@ -26,36 +26,24 @@ const SallaPayments$1 = /*@__PURE__*/ proxyCustomElement(class SallaPayments ext
26
26
  this.exclude = [];
27
27
  }
28
28
  }
29
- this.placeholderImage = salla.url.cdn(`images/s-empty.png`);
30
- this.paymentSlot = this.host.querySelector('[slot="payment"]')?.innerHTML || `<li class="s-payments-list-item"><img class="lazy" width="100%" height="100%" src="${this.placeholderImage}" data-src="{image}" alt={payment} /><li>`;
31
- this.sbcSlot = this.host.querySelector('[slot="sbc"]')?.innerHTML || `<li class="s-payments-list-item"><a target="_blank" href="{link}"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy s-payments-sbc-image" alt="SBC"/></a><li>`;
32
- this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy" alt="COD"/><li>`;
29
+ this.paymentSlot = this.host.querySelector('[slot="payment"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="{payment}" /></li>`;
30
+ this.sbcSlot = this.host.querySelector('[slot="sbc"]')?.innerHTML || `<li class="s-payments-list-item"><a target="_blank" href="{link}"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" class="s-payments-sbc-image" alt="SBC" /></a></li>`;
31
+ this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="COD" /></li>`;
33
32
  this.payments = salla.config.get('store.settings.payments');
34
33
  });
35
34
  }
36
35
  render() {
37
36
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
38
37
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
39
- return (h(Host, { key: '171f3100fd67a51ad678cfdf648ff69c64c2a3a1', class: "s-payments-list-wrap" }, h("ul", { key: 'e6f55f5a6b1670d1f2c270cf4316c90ff5353a08', class: "s-payments-list" }, madeInKSA && h("li", { key: '42bd30418212c78184ccc22a449d724cc82df46b', class: "s-payments-list-item" }, h("img", { key: '8affc4db8a1fd708197a00dceba7f31759b7febd', class: "lazy", width: "100%", height: "100%", decoding: "async", loading: "lazy", "data-src": salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
38
+ return (h(Host, { key: 'd93c9cfafd67203e3d85f78296b6256dbdfd8d78', class: "s-payments-list-wrap" }, h("ul", { key: '9520b4979082d6e733edb3ec5d6defe97beec6de', class: "s-payments-list" }, madeInKSA && h("li", { key: '93ba9c342f5809d6b75ab00f99126a351c18ccc5', class: "s-payments-list-item" }, h("img", { key: '8e62415523f4a1ccf839d394d5089ee49e0873c4', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
40
39
  h("div", { id: "cod-slot", innerHTML: this.codSlot
41
40
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
42
41
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
43
42
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
44
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'a0b88ee6a9c0378bc2946ab5506747ba0ff4ff12', id: "sbc-slot", innerHTML: this.sbcSlot
43
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '0acb0d8a0f4c4c53c9e439127418081684cd2bd1', id: "sbc-slot", innerHTML: this.sbcSlot
45
44
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
46
45
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
47
46
  }
48
- componentDidLoad() {
49
- //todo:: double check about the following workaround, it looks not normal
50
- document.lazyLoadInstance?.update(this.host.querySelectorAll('.lazy'));
51
- // fix lazy loaded images that have 100% width and height
52
- this.host.querySelectorAll('.lazy').forEach((img) => {
53
- img.addEventListener('load', () => {
54
- img.setAttribute('width', "100%");
55
- img.setAttribute('height', "100%");
56
- });
57
- });
58
- }
59
47
  componentDidRender() {
60
48
  //todo:: double check about the following workaround to reduce the dom length, it looks unusal
61
49
  this.host.querySelectorAll('#payment-slot').forEach(el => el.replaceWith(el.firstChild));
@@ -76,6 +76,7 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
76
76
  this.disableCardValue = true;
77
77
  this.availableDigitalCardValues = [];
78
78
  this.userInitiatedValidation = false;
79
+ this.isCartMode = false;
79
80
  this.outSkus = [];
80
81
  /**
81
82
  * Avoid selection of previous default or selected card value option
@@ -557,10 +558,12 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
557
558
  return acc.concat(mappedDetails);
558
559
  }, []);
559
560
  }
560
- componentDidLoad() {
561
+ async componentDidLoad() {
561
562
  if (!this.optionsData?.length) {
562
563
  return;
563
564
  }
565
+ // Register for hooks — theme can call enterCartMode() here
566
+ await Salla.hooks.registerComponent('salla-product-options', this);
564
567
  // Handle donation options
565
568
  const selectedDonationOption = this.optionsData.find(option => option.type === DisplayType.DONATION)?.details?.find(detail => detail.is_selected);
566
569
  if (selectedDonationOption) {
@@ -572,8 +575,9 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
572
575
  }, 1000);
573
576
  }
574
577
  // Handle pre-selected options on product page
578
+ // Skip if in cart mode (enterCartMode called by hook) or on cart page
575
579
  // Call salla.product.getPrice() directly to avoid triggering form validation which causes unwanted scroll
576
- if (!salla.url.is_page("cart")) {
580
+ if (!salla.url.is_page("cart") && !this.isCartMode) {
577
581
  const pricingOptionTypes = [
578
582
  DisplayType.SINGLE_OPTION,
579
583
  DisplayType.MULTIPLE_OPTIONS,
@@ -606,6 +610,17 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
606
610
  }
607
611
  }
608
612
  }
613
+ /**
614
+ * Switch the component to cart-item mode: fill selected options,
615
+ * enable disabled-out-of-stock, and skip product price updates.
616
+ * Used by themes when treating a product page as a cart item editor.
617
+ */
618
+ async enterCartMode() {
619
+ this.isCartMode = true;
620
+ this.disableCardValue = false;
621
+ this.canDisabled = true;
622
+ this.fillSelectedOptions();
623
+ }
609
624
  /**
610
625
  * Enable user-initiated validation mode so invalid fields will scroll into view
611
626
  */
@@ -871,12 +886,14 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
871
886
  "disableCardValue": [32],
872
887
  "availableDigitalCardValues": [32],
873
888
  "userInitiatedValidation": [32],
889
+ "isCartMode": [32],
874
890
  "setOptionsData": [64],
875
891
  "getSelectedOptionsData": [64],
876
892
  "reportValidity": [64],
877
893
  "hasOutOfStockOption": [64],
878
894
  "getSelectedOptions": [64],
879
895
  "getOption": [64],
896
+ "enterCartMode": [64],
880
897
  "enableUserInitiatedValidation": [64],
881
898
  "validateAndScroll": [64]
882
899
  }]);
@@ -115,7 +115,7 @@ const SallaProductsSlider = /*@__PURE__*/ proxyCustomElement(class SallaProducts
115
115
  if (!this.canRender()) {
116
116
  return;
117
117
  }
118
- return (h(Host, { class: "s-products-slider-wrapper" }, h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
118
+ return (h(Host, { class: "s-products-slider-wrapper" }, h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, ...(this.sliderProps || {}), "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
119
119
  }
120
120
  get host() { return this; }
121
121
  static get style() { return sallaProductsSliderCss; }
@@ -129,6 +129,7 @@ const SallaProductsSlider = /*@__PURE__*/ proxyCustomElement(class SallaProducts
129
129
  "sourceValue": [1, "source-value"],
130
130
  "limit": [1026],
131
131
  "sliderConfig": [520, "slider-config"],
132
+ "sliderProps": [16, "slider-props"],
132
133
  "productCardComponent": [1, "product-card-component"],
133
134
  "includes": [1040],
134
135
  "productsData": [32],
@@ -9858,6 +9858,11 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9858
9858
  * Show/hide thumbs slider arrows
9859
9859
  */
9860
9860
  this.showThumbsControls = true;
9861
+ /**
9862
+ * When enabled and there is exactly one slide in the `items` slot,
9863
+ * render without initializing Swiper (single slide mode).
9864
+ */
9865
+ this.enableSingleSlideMode = false;
9861
9866
  /**
9862
9867
  * Enable autoplay - working with `type="carousel" only`
9863
9868
  */
@@ -9889,6 +9894,9 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9889
9894
  this.isBeginning = true;
9890
9895
  /** Use matchMedia instead of window.innerWidth to avoid forced reflow (Lighthouse recommended) */
9891
9896
  this.isDesktopViewport = typeof window !== 'undefined' ? window.matchMedia('(min-width: 768px)').matches : true;
9897
+ /** When true, only one slide is present; we render without Swiper for performance. */
9898
+ this.singleSlideMode = false;
9899
+ this._rafId = null;
9892
9900
  this.viewportMediaQuery = null;
9893
9901
  this.hasThumbSlot = false;
9894
9902
  this.pre_defined_config = {
@@ -9944,7 +9952,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9944
9952
  * @returns The Swiper slider instance
9945
9953
  */
9946
9954
  async sliderInstance() {
9947
- return this.slider;
9955
+ return this.singleSlideMode ? undefined : this.slider;
9948
9956
  }
9949
9957
  /**
9950
9958
  * Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
@@ -9954,6 +9962,8 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9954
9962
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9955
9963
  * **/
9956
9964
  async slideTo(index, speed, runCallbacks) {
9965
+ if (!this.slider)
9966
+ return;
9957
9967
  return this.slider.slideTo(index, speed, runCallbacks);
9958
9968
  }
9959
9969
  /**
@@ -9981,7 +9991,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9981
9991
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9982
9992
  * **/
9983
9993
  async slideToLoop(index, speed, runCallbacks) {
9984
- this.slider.slideToLoop(index, speed, runCallbacks);
9994
+ this.slider?.slideToLoop(index, speed, runCallbacks);
9985
9995
  }
9986
9996
  /**
9987
9997
  * Does the same as .slideNext but for the case when used with enabled loop. So this method will slide to next slide with realIndex matching to next index
@@ -9990,7 +10000,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9990
10000
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9991
10001
  * **/
9992
10002
  async slideNextLoop(speed, runCallbacks) {
9993
- this.slider.slideNextLoop(speed, runCallbacks);
10003
+ this.slider?.slideNextLoop(speed, runCallbacks);
9994
10004
  }
9995
10005
  /**
9996
10006
  * Does the same as .slidePrev but for the case when used with enabled loop. So this method will slide to previous slide with realIndex matching to previous index
@@ -9999,7 +10009,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
9999
10009
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10000
10010
  * **/
10001
10011
  async slidePrevLoop(speed, runCallbacks) {
10002
- this.slider.slidePrevLoop(speed, runCallbacks);
10012
+ this.slider?.slidePrevLoop(speed, runCallbacks);
10003
10013
  }
10004
10014
  /**
10005
10015
  * Reset slider position to currently active slide for the duration equal to 'speed' parameter.
@@ -10008,7 +10018,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10008
10018
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10009
10019
  * **/
10010
10020
  async slideReset(speed, runCallbacks) {
10011
- this.slider.slideReset(speed, runCallbacks);
10021
+ this.slider?.slideReset(speed, runCallbacks);
10012
10022
  }
10013
10023
  /**
10014
10024
  * Reset slider position to closest slide/snap point for the duration equal to 'speed' parameter.
@@ -10016,56 +10026,56 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10016
10026
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10017
10027
  * **/
10018
10028
  async slideToClosest(speed, runCallbacks) {
10019
- this.slider.slideToClosest(speed, runCallbacks);
10029
+ this.slider?.slideToClosest(speed, runCallbacks);
10020
10030
  }
10021
10031
  /**
10022
10032
  * You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Swiper This method also includes subcall of the following methods which you can use separately:
10023
10033
  * **/
10024
10034
  async update() {
10025
- this.slider.update();
10035
+ this.slider?.update();
10026
10036
  }
10027
10037
  /**
10028
10038
  * Force slider to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
10029
10039
  * @param {number} speed - Transition duration (in ms).
10030
10040
  * **/
10031
10041
  async updateAutoHeight(speed) {
10032
- this.slider.updateAutoHeight(speed);
10042
+ this.slider?.updateAutoHeight(speed);
10033
10043
  }
10034
10044
  /**
10035
10045
  * recalculate number of slides and their offsets. Useful after you add/remove slides with JavaScript
10036
10046
  * **/
10037
10047
  async updateSlides() {
10038
- this.slider.updateSlides();
10048
+ this.slider?.updateSlides();
10039
10049
  }
10040
10050
  /**
10041
10051
  * recalculate slider progress
10042
10052
  * **/
10043
10053
  async updateProgress() {
10044
- this.slider.updateProgress();
10054
+ this.slider?.updateProgress();
10045
10055
  }
10046
10056
  /**
10047
10057
  * update active/prev/next classes on slides and bullets
10048
10058
  * **/
10049
10059
  async updateSlidesClasses() {
10050
- this.slider.updateSlidesClasses();
10060
+ this.slider?.updateSlidesClasses();
10051
10061
  }
10052
10062
  /**
10053
10063
  * Get slider slides
10054
10064
  * **/
10055
10065
  async getSlides() {
10056
- return await this.slider?.slides;
10066
+ return this.singleSlideMode ? undefined : await this.slider?.slides;
10057
10067
  }
10058
10068
  /**
10059
10069
  * Get slider slides
10060
10070
  * **/
10061
10071
  async updateSize() {
10062
- return await this.slider.updateSize();
10072
+ return await this.slider?.updateSize();
10063
10073
  }
10064
10074
  /**
10065
10075
  * Get thumbs slider update
10066
10076
  * **/
10067
10077
  async sliderInit() {
10068
- return await this.slider.init();
10078
+ return await this.slider?.init();
10069
10079
  }
10070
10080
  /**
10071
10081
  * Get thumbs slider slides
@@ -10104,6 +10114,8 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10104
10114
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10105
10115
  * **/
10106
10116
  async thumbsSlideTo(index, speed, runCallbacks) {
10117
+ if (!this.thumbsSlider)
10118
+ return;
10107
10119
  return this.thumbsSlider.slideTo(index, speed, runCallbacks);
10108
10120
  }
10109
10121
  /**
@@ -10291,7 +10303,16 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10291
10303
  classes += this.verticalThumbs ? ' s-slider-vertical ' : ' s-slider-horizontal ';
10292
10304
  classes += this.arrowsCentered ? ' s-slider-v-centered ' : '';
10293
10305
  classes += this.gridThumbs ? ' s-slider-with-grid-thumbs ' : '';
10294
- return (h(Host, { key: '44f6baf2ec3a6421cd8d8ce6779c6ce781cecc7f', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
10306
+ if (this.singleSlideMode) {
10307
+ return (h(Host, { class: 's-slider-wrapper s-slider-single-mode ' + classes }, this.blockTitle || this.displayAllUrl ?
10308
+ h("div", { class: "s-slider-block__title" }, this.blockTitle ?
10309
+ h("div", { class: "s-slider-block__title-right" }, h("h2", null, this.blockTitle), this.blockSubtitle ? h("p", { innerHTML: this.blockSubtitle }) : '')
10310
+ : '', this.displayAllUrl ?
10311
+ h("div", { class: "s-slider-block__title-left" }, h("a", { href: this.displayAllUrl, class: "s-slider-block__display-all" }, this.displayAllTitle))
10312
+ : '')
10313
+ : '', h("div", { class: "swiper s-slider-container s-slider-single", dir: this.vertical ? "ltr" : this.direction }, h("slot", null), h("div", { class: "swiper-wrapper s-slider-swiper-wrapper" }, h("slot", { name: 'items' })))));
10314
+ }
10315
+ return (h(Host, { class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
10295
10316
  h("div", { class: "s-slider-block__title" }, this.blockTitle ?
10296
10317
  h("div", { class: "s-slider-block__title-right" }, h("h2", null, this.blockTitle), this.blockSubtitle ? h("p", { innerHTML: this.blockSubtitle }) : '')
10297
10318
  : '', h("div", { class: "s-slider-block__title-left" }, this.displayAllUrl ?
@@ -10299,7 +10320,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10299
10320
  : '', this.showControls ?
10300
10321
  h("div", { class: "s-slider-block__title-nav", dir: "rtl" }, h("button", { "aria-label": "Previous Slide", class: "s-slider-prev s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? KeyBoardArrowRightIcon : KeyBoardArrowLeftIcon })), h("button", { "aria-label": "Next Slide", class: "s-slider-next s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? KeyBoardArrowLeftIcon : KeyBoardArrowRightIcon })))
10301
10322
  : ''))
10302
- : '', h("div", { key: '384d3224e9e2f9ad08d71093ee4c6f907232c07e', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, h("slot", { key: '578756df5b652d9b7e86d3f0424e4ec886b7a75f' }), h("div", { key: '7966a00ec720374a3dac1533d72fdfeb31db8105', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, h("slot", { key: '39f9656cabb053dc4878ae1f2bd94a6efc19f975', name: 'items' })), this.pagination ? h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? h("div", { class: "s-slider-thumbs" }, h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, h("slot", { name: "thumbs" })), this.showThumbsControls ?
10323
+ : '', h("div", { class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, h("slot", null), h("div", { class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, h("slot", { name: 'items' })), this.pagination ? h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? h("div", { class: "s-slider-thumbs" }, h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, h("slot", { name: "thumbs" })), this.showThumbsControls ?
10303
10324
  h("div", { class: "s-slider-thumbs-nav", dir: "rtl" }, h("button", { "aria-label": "Previous Slide", class: "s-slider-thumbs-prev s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? KeyBoardArrowRightIcon : KeyBoardArrowLeftIcon })), h("button", { "aria-label": "Next Slide", class: "s-slider-thumbs-next s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? KeyBoardArrowLeftIcon : KeyBoardArrowRightIcon })))
10304
10325
  : null))
10305
10326
  : null));
@@ -10358,25 +10379,43 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10358
10379
  }
10359
10380
  this.lazyObserver.observe(el);
10360
10381
  }
10361
- /** Keep only element nodes so Swiper never sees text nodes (getAttribute would throw). */
10362
- flattenSlotToElements(container, slotSelector) {
10363
- const slotEl = container?.querySelector(slotSelector);
10364
- if (!slotEl)
10365
- return;
10366
- const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
10367
- if (elements.length)
10368
- slotEl.replaceWith(...elements);
10369
- }
10370
10382
  componentDidLoad() {
10371
- this.flattenSlotToElements(this.sliderWrapper, 'div[slot="items"]');
10383
+ // 1. Batch Reads (Get all elements first without modifying DOM)
10384
+ const tasks = [];
10385
+ let _singleSlideMode = false;
10386
+ const prepareFlatten = (container, slotSelector) => {
10387
+ const slotEl = container?.querySelector(slotSelector);
10388
+ if (!slotEl)
10389
+ return;
10390
+ const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
10391
+ if (elements.length) {
10392
+ // Queue the Write operation
10393
+ tasks.push(() => slotEl.replaceWith(...elements));
10394
+ if (elements.length === 1 && this.enableSingleSlideMode) {
10395
+ _singleSlideMode = true;
10396
+ elements[0].classList.add('swiper-slide');
10397
+ }
10398
+ }
10399
+ };
10400
+ prepareFlatten(this.sliderWrapper, 'div[slot="items"]');
10372
10401
  if (this.type == 'thumbs' && this.hasThumbSlot) {
10373
- this.flattenSlotToElements(this.thumbsSliderWrapper, 'div[slot="thumbs"]');
10402
+ prepareFlatten(this.thumbsSliderWrapper, 'div[slot="thumbs"]');
10374
10403
  }
10375
- this.initSlider();
10404
+ // 2. Batch Writes (Execute all DOM modifications together)
10405
+ tasks.forEach(task => task());
10406
+ // 3. Init Swiper inside rAF
10407
+ this._rafId = requestAnimationFrame(() => {
10408
+ this.singleSlideMode = _singleSlideMode;
10409
+ if (!_singleSlideMode) {
10410
+ this.initSlider();
10411
+ }
10412
+ });
10376
10413
  this.viewportMediaQuery = window.matchMedia('(min-width: 768px)');
10377
10414
  this.viewportMediaQuery.addEventListener('change', this.onViewportChange);
10378
10415
  }
10379
10416
  disconnectedCallback() {
10417
+ if (this._rafId)
10418
+ cancelAnimationFrame(this._rafId);
10380
10419
  this.viewportMediaQuery?.removeEventListener('change', this.onViewportChange);
10381
10420
  this.lazyObserver?.disconnect();
10382
10421
  this.lazyImageObserver?.disconnect();
@@ -10396,6 +10435,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10396
10435
  "showControls": [516, "show-controls"],
10397
10436
  "controlsOuter": [516, "controls-outer"],
10398
10437
  "showThumbsControls": [4, "show-thumbs-controls"],
10438
+ "enableSingleSlideMode": [516, "enable-single-slide-mode"],
10399
10439
  "autoPlay": [4, "auto-play"],
10400
10440
  "slidesPerView": [1, "slides-per-view"],
10401
10441
  "pagination": [4],
@@ -10410,6 +10450,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
10410
10450
  "isBeginning": [32],
10411
10451
  "displayAllTitle": [32],
10412
10452
  "isDesktopViewport": [32],
10453
+ "singleSlideMode": [32],
10413
10454
  "sliderInstance": [64],
10414
10455
  "slideTo": [64],
10415
10456
  "slideNext": [64],
@@ -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: 'c4ac8faea4a8ec8aa5ba9f4e744710d508387d78', class: "s-social-share-wrapper" }, h("slot", { key: '6c6b54513f67be8818a9a042570286d09b7115f8', name: 'widget' }, h("salla-button", { key: '8a57650940dad634cf3576dada4cc35687ed447c', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '207f2fb0e2f89e7057775153ffcc68eebb069824', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'fd9b25a483a93efa10994c2a7a876b6741d976c2', 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: '05350f69911825a04716569eaac5769c67b07e24', class: "s-social-share-wrapper" }, h("slot", { key: 'c9bb03b5907e8d211d1a2bc7d36b0924dd2fa00b', name: 'widget' }, h("salla-button", { key: '3120d746deabb24bc2b3994a1088a42e355c2796', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '7874b8c8aceb1372d061d0142405a3f07e3c0ba3', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'deaa966a6ae4a91a350361f44316d749f8459cec', 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: 'a0bcd60fddd2fd8e86f32cd71d484ec76d02cf49' }, h("ul", { key: 'b595d8de59199de5081370b9440c8a46cb8c751f', 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: '20f01d2027bf9ac9fa635c2e814bf9778c5abf8c' }, h("ul", { key: '016fc5a496d6efd36cf15dc805dd83ee4d6a9845', 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: '6b11ec3a839c759e64e1766de55f9ac1be18931e', class: classes }, h("slot", { key: '17300d7a52e068428ea956b2c5d5be6d0ab69fca' })));
35
+ return (h("div", { key: 'dd7c68e402701af152ab5d3d5afb2565f9b4a5cb', class: classes }, h("slot", { key: 'f7599dd3d56d04dd06d9d8cce105d0c7b73b6195' })));
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: '08c51c1ad15c6b0efbeb165c89fc7d73748467d0', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'ba5045dab7c254eb4533dc64630ab0c1f561701b' })),
61
+ h("div", { key: '70daa4821b240da5f44591c427999d34556a0fed', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '002eb0a0e48f3a31f272a393bf4fce94bcd0c841' })),
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: '3195e8954179d52867093b5e861b3c0caa6d7af6', class: "s-tabs" }, h("div", { key: 'cf75a77b6cc9b9cd288e963ee56acf19e177029a', class: "s-tabs-header" }, h("slot", { key: 'fa345597be2fbb8ff4f1cb420a030c5ec821bc8b', name: "header" })), h("div", { key: 'f7fd939608e5341b6d9c1d75e7d9dc909a4d8912', class: "s-tabs-content-wrapper" }, h("slot", { key: '86ce2c9bcb3be06264e75369a6be81b2e1361619', name: "content" })))
54
+ h("div", { key: '485e1ff4ea6a556dfdd8a2e7f8166c9e3d721c7d', class: "s-tabs" }, h("div", { key: 'a2825df331fdfc01de63eea7800ad62e4814205b', class: "s-tabs-header" }, h("slot", { key: 'd9d3c9bdbce261daccd480c0245fd06930b03602', name: "header" })), h("div", { key: '9e02ff1a53ffd068f1b1da6cbe5fec7adbc38492', class: "s-tabs-content-wrapper" }, h("slot", { key: '222b612d9ef34d936b3ccb1a883a42c135f67661', 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: '362e48d1b39b0715c10df0c15c730ca21793a46b', class: "s-tel-input" }, h("input", { key: '07dcb2fcf639c2d7b95c250079bd24a80441e0ca', 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: 'c50f81a50debf37dc92f81fc61c3ddd3e622031f', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '2217131b313a32c5b62dcce6132a4914f30dc005', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
132
+ return (h(Host, { key: '686fca532ab7d1e665aeef0f402c1112182ff198', class: "s-tel-input" }, h("input", { key: '5fc71e100bedb49cd0a37b75167e0b5eb654b7b2', 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: '1b28cb0c192b9999177859c4c35c77f64d48317d', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '6d8d987f074dda360784d7121f8fed730f42772a', 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();
@@ -27,7 +27,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
27
27
  this.targetElement = document.getElementById(this.targetId);
28
28
  }
29
29
  render() {
30
- return (h("div", { key: 'f2a52de43a80ec8fe2f7f2120c8ba38c7228183f', class: "s-tooltip-container" }, h("slot", { key: 'dc6ac92e0b894fa4f6c01c2aa0fad39a195a8047' }), this.show && h("div", { key: '8d4f57501bbcdb423781f6711a4af7610b89faf7', class: "s-tooltip-item" }, this.text)));
30
+ return (h("div", { key: 'fed457c496e7926ded53c47e1f6f7783eb9da5a0', class: "s-tooltip-container" }, h("slot", { key: 'd061264ee544bb9f4ca7ec3aa03f54b84c8af1fd' }), this.show && h("div", { key: '5d4a158dce0b562cb6e3c9bc732f47dcb96c182a', class: "s-tooltip-item" }, this.text)));
31
31
  }
32
32
  get el() { return this; }
33
33
  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: 'e47b5c39666443b29de9d54ec8f05cb97950ace1', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '54b3098aa736c43d6d3ef53f6a49710dc039a16d', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'dd1d06cd2ad3e0696c76cfd3f4c8b342e774b679' }, h("div", { key: '2e8b8fb48d36ce6f183698cb60a856ee0b74c639', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '0f7158ae21c5a93c5458c38388c79fb7cfa1e88d', innerHTML: UserCancel })), h("div", { key: 'f3f648e8f55f5998362107654d3a3c438bec2999', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'eddfaf2a9faf242123db36f1aa5a87fc242f6ccc', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '1112ebcb125325688758d57de115ed36d965752d', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '4bacd7e71a3f9ccef749d091d70be45b0184d195', class: "s-toggle" }, h("input", { key: '64db5795f938f72a5c0710c03c46f84bb0248b68', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: 'b1e178372d37f63992ba81ee6d5645fb17f5ce33', class: "s-toggle-switcher" }))))), h("div", { key: 'a11d585e1b5fe0430ca00757394e5c9a085192f9', class: "s-user-settings-section" }, h("salla-list-tile", { key: '61ad291644bc8314b443eec5d3a32abccc9c46ba' }, h("div", { key: 'e54526b5f18ce365d68efb9292af2d67ae20b77b', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'e2bb0f2b30ac57d6336785485ef99279acf09617', innerHTML: Bullhorn })), h("div", { key: '2f6ec0835993e79b1923778bfe0d6442d71809f0', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '6ad65576302c12e2298abd3de70fd5edd54aa542', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '05f00c6ed5511bd6a21b3e01a54a01549c758940', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '5c3520e04e57205dfe2e7f441e45c46682a56ad4', class: "s-toggle" }, h("input", { key: '8f7f59433b3685acbc0d35c6ceca93a9a6a4ebbf', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'a92abe23b596360bfb3e516ffb0789b53abaabd0', class: "s-toggle-switcher" }))))), h("div", { key: '0996cc090ab85a67e763b5acd19cc87db11c090d', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'f6b43aa4a618d75981fed8844ed1f4ebc3947239' }, h("div", { key: '3027e7c901c1ec214a9effdbd36e1c25d96cdb75', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '11468d7a54fa406e697e07b2ff2fe5c945a28746', innerHTML: UserOff })), h("div", { key: 'c2fd73f5d313daaba740c89ad2654144f6f54bb1', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'e2bad2737f3ca8e30bbb375ad7691d607366551c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'df155e019df0514ed77faaeef107845ce144ca08', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'e7bd07fcbc49ba9e991adf52854b35c9ca8d0344', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '730df3b04afb89a1eba96651899cf84818d49b6b', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '5254b44fac993e1e1454da4eae346afc5ad7211c', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '9c07be490266024dee72ca4a244c8dd4ffdd9d71', class: "s-user-settings-confirmation" }, h("div", { key: 'd42ac2fa9cc0030778b444b21958992677667cc3', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: 'b3cd6b31255244c469571beaf05a0f266eb431af', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: 'aadfefcd7e2561542adb10c416bac0ff14b25fef', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '12693adf31b54a4ca993632fb527dac91ec810b2', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: '1a6622794c68aa483d9a2526d7c9568619145168', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '4188aabfd44edb57365f5a2d1c0910f5ec3cd447', class: "s-user-settings-section" }, h("salla-list-tile", { key: '9f9ccbb08d666a13bf19895349a17f84fbdd3fc1' }, h("div", { key: '85426ad3140db951064c29c988badc23447a238d', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'd1a386387320cf907e4645240cace32ac27a1e5b', innerHTML: UserCancel })), h("div", { key: '1310d3547da0c2dd23e254eaf1b22f1b54956ef2', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '639ef8121549e9c119def1c8012b42647249df2c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'aa8d60ad8c61d682e2114471e6168609bb4e9cb0', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '9d8d52ec4bdfb2032649ae37823070ea0902cb9d', class: "s-toggle" }, h("input", { key: 'f263da0f32ee2682bf442253980fe68da933cb06', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '058e908fcb2a61a239ff5ae67adaa290553feb0a', class: "s-toggle-switcher" }))))), h("div", { key: '2e314b366093f06ebc8e583c17d3f2f2125cd2e7', class: "s-user-settings-section" }, h("salla-list-tile", { key: '5e2fb8520042ccbd4301b20046369f65fb292a49' }, h("div", { key: '25918c6b5402504a0683f2f6931b58e3663ba4eb', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '0d24d9ecb8f7d48d1dba9eaebaad8093210f0a57', innerHTML: Bullhorn })), h("div", { key: 'e212afc7b1ad19e0c4976e5686bc51a847e94d61', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '3f4f72fe869f7cd6f4b4df870e6af8bd1cc32088', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '6929527d156f6da1f9ca61be60b756621b7fb321', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '1f3f3c77b25f602f3a4f461da321df2bcee2a956', class: "s-toggle" }, h("input", { key: 'afd4616efa19cdf04e32fd785af72a6c96ef980c', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'ef55c0480c58c3a77b4c28980c34b89197e2c84c', class: "s-toggle-switcher" }))))), h("div", { key: '7fc42b2d9ee0c58fd210b6704f96de07cf58c703', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '35bc4e485e78f57cce3fa9d324578997bf5b5346' }, h("div", { key: 'd2643402a5f414beb388622d96352600a58e7788', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '90a634d2ff464a26f7a09df39cf0cce6f7a1ce87', innerHTML: UserOff })), h("div", { key: '3376df9d4baee75e502df2b8265328910f692708', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '1452beb1f275f905b7a1ecb7e76a4223700f7d03', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '28bc808fbd51274f587abee141f67242100aea03', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'c54e8db52d35e9ab62e2616a0dfb3a10417fcb80', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'a1d52fd66ed991f8411ca17b16e37d21893a2f06', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '9119095941bd2a579b27c18db025238ca652bd6b', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '3194c2236470a7da32bc065218162da80ea7713c', class: "s-user-settings-confirmation" }, h("div", { key: '718f43edf4e6a22ed23e0edaccee07fd3fa46e13', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: 'a87fcd03f6d97afc26f8410faacfcbbbc81cd8bb', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '366186ea98a351d1f0a1f6b3dc2eeddc18e46a33', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: 'f42dc54f7903f3e48ab8c3ac8af0d57039753cf6', 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", {
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ var BellRing = `<!-- Generated by IcoMoon.io -->
5
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
6
+ <title>bell-ring</title>
7
+ <path d="M2.667 13.333v-4c0-2.592 0.748-5.107 2.161-7.271 0.404-0.616 0.231-1.443-0.387-1.845-0.616-0.401-1.443-0.228-1.845 0.388-1.699 2.599-2.596 5.617-2.596 8.728v4c0 0.736 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333zM25.333 15.647v-6.313c0-5.147-4.188-9.333-9.333-9.333s-9.333 4.187-9.333 9.333v6.312l-5.157 9.027c-0.236 0.413-0.235 0.92 0.004 1.331 0.239 0.412 0.679 0.664 1.153 0.664h8c0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333h8c0.475 0 0.915-0.252 1.153-0.664 0.239-0.411 0.24-0.917 0.004-1.331zM16 29.333c-1.471 0-2.667-1.196-2.667-2.667h5.333c0 1.472-1.196 2.667-2.667 2.667zM4.965 24l4.193-7.339c0.113-0.2 0.175-0.429 0.175-0.661v-6.667c0-3.676 2.991-6.667 6.667-6.667s6.667 2.991 6.667 6.667v6.667c0 0.232 0.061 0.46 0.176 0.661l4.192 7.339zM29.403 0.603c-0.403-0.616-1.232-0.789-1.845-0.387-0.617 0.403-0.791 1.229-0.387 1.845 1.415 2.165 2.163 4.68 2.163 7.272v4c0 0.736 0.596 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-4c0-3.112-0.899-6.132-2.597-8.731z"></path>
8
+ </svg>
9
+ `;
10
+
11
+ export { BellRing as B };
@@ -8,15 +8,4 @@ var CameraIcon = `<!-- Generated by IcoMoon.io -->
8
8
  </svg>
9
9
  `;
10
10
 
11
- var Genders;
12
- (function (Genders) {
13
- Genders["Female"] = "female";
14
- Genders["Male"] = "male";
15
- })(Genders || (Genders = {}));
16
- var FormFieldTypes;
17
- (function (FormFieldTypes) {
18
- FormFieldTypes["Photo"] = "photo";
19
- FormFieldTypes["Text"] = "Text";
20
- })(FormFieldTypes || (FormFieldTypes = {}));
21
-
22
- export { CameraIcon as C, FormFieldTypes as F, Genders as G };
11
+ export { CameraIcon as C };
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ var Cancel = `<!-- Generated by IcoMoon.io -->
5
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
6
+ <title>cancel</title>
7
+ <path d="M17.885 16l7.057-7.057c0.521-0.521 0.521-1.364 0-1.885s-1.364-0.521-1.885 0l-7.057 7.057-7.057-7.057c-0.521-0.521-1.364-0.521-1.885 0s-0.521 1.364 0 1.885l7.057 7.057-7.057 7.057c-0.521 0.521-0.521 1.364 0 1.885 0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391l7.057-7.057 7.057 7.057c0.26 0.26 0.601 0.391 0.943 0.391s0.683-0.131 0.943-0.391c0.521-0.521 0.521-1.364 0-1.885z"></path>
8
+ </svg>
9
+ `;
10
+
11
+ export { Cancel as C };
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ var PendingOrdersIcon = `<!-- Generated by IcoMoon.io -->
5
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="32" viewBox="0 0 30 32">
6
+ <title>cart</title>
7
+ <path d="M15.426 28.084c0-1.412-0.85-2.684-2.156-3.226-1.305-0.54-2.807-0.241-3.805 0.758-0.999 0.998-1.298 2.5-0.758 3.805 0.54 1.303 1.815 2.155 3.226 2.155 1.928-0.003 3.49-1.564 3.492-3.492h0.001zM10.597 28.084h0.001c0-0.54 0.326-1.027 0.825-1.235 0.498-0.206 1.074-0.091 1.455 0.29 0.383 0.382 0.497 0.957 0.29 1.456-0.208 0.5-0.695 0.825-1.235 0.825-0.355 0-0.695-0.142-0.944-0.391-0.251-0.251-0.392-0.591-0.392-0.946h-0.001l0.001 0.001zM28.23 28.084c0-1.412-0.85-2.684-2.155-3.226-1.305-0.54-2.807-0.241-3.806 0.758s-1.297 2.5-0.756 3.805c0.54 1.303 1.813 2.155 3.226 2.155 1.927-0.003 3.49-1.564 3.491-3.492zM23.401 28.084c0-0.54 0.326-1.027 0.825-1.235 0.5-0.206 1.075-0.091 1.457 0.29s0.497 0.957 0.289 1.456c-0.206 0.5-0.693 0.825-1.233 0.825-0.738 0-1.337-0.599-1.337-1.337l-0.001 0.001zM1.953 0.234l-0.342-0.059c-0.29-0.064-0.594-0.004-0.839 0.166-0.247 0.169-0.414 0.436-0.463 0.734-0.050 0.3 0.023 0.607 0.201 0.85s0.444 0.402 0.738 0.44l0.341 0.059c1.825 0.324 3.248 1.794 3.548 3.662l1.981 12.369h-0.001c0.218 1.387 0.913 2.651 1.96 3.563s2.379 1.412 3.754 1.41h14.242c0.601 0 1.088-0.498 1.088-1.112s-0.487-1.112-1.088-1.112h-14.242c-1.679-0.001-3.139-1.183-3.525-2.854h11.463c1.614 0.004 3.188-0.518 4.493-1.49 1.305-0.973 2.271-2.346 2.762-3.918l1.298-4.136c0.145-0.455 0.065-0.953-0.213-1.336-0.278-0.385-0.72-0.608-1.187-0.602h-20.467l-0.181-1.141c-0.218-1.367-0.849-2.631-1.802-3.615-0.954-0.983-2.184-1.64-3.518-1.878h-0.001zM26.946 9.096l-0.993 3.169v-0.001c-0.353 1.122-1.044 2.101-1.975 2.796s-2.056 1.067-3.208 1.067h-11.833l-1.125-7.042 19.134 0.011z"></path>
8
+ </svg>
9
+ `;
10
+
11
+ export { PendingOrdersIcon as P };
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- var IconVerified = `<!-- Generated by IcoMoon.io -->
4
+ var iconCheck = `<!-- Generated by IcoMoon.io -->
5
5
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
6
6
  <title>check</title>
7
7
  <path d="M27.521 6.976c-0.569-0.472-1.407-0.393-1.879 0.171l-12.567 15.080-7.003-4.668c-0.615-0.411-1.441-0.244-1.849 0.369-0.409 0.612-0.244 1.441 0.369 1.849l8 5.333c0.227 0.149 0.484 0.223 0.739 0.223 0.384 0 0.763-0.165 1.027-0.48l13.333-16c0.471-0.565 0.393-1.407-0.171-1.877z"></path>
8
8
  </svg>
9
9
  `;
10
10
 
11
- export { IconVerified as I };
11
+ export { iconCheck as i };
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ var CheckCircle2 = `<!-- Generated by IcoMoon.io -->
5
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
6
+ <title>check-circle2</title>
7
+ <path d="M29.333 14.133c-0.8 0-1.333 0.533-1.333 1.333v1.2c0 6.667-5.333 12-12 12 0 0 0 0 0 0-6.667 0-12-5.333-12-12s5.333-12 12-12c0 0 0 0 0 0 1.733 0 3.333 0.4 4.933 1.067 0.667 0.267 1.467 0 1.733-0.667s0-1.467-0.667-1.733c-1.867-0.8-3.867-1.333-6-1.333 0 0 0 0 0 0-8.133 0-14.667 6.533-14.667 14.667s6.533 14.667 14.667 14.667c0 0 0 0 0 0 8.133 0 14.667-6.533 14.667-14.667v-1.2c0-0.8-0.533-1.333-1.333-1.333zM12.933 14.4c-0.533-0.533-1.333-0.533-1.867 0s-0.533 1.333 0 1.867l4 4c0.267 0.267 0.533 0.4 0.933 0.4s0.667-0.133 0.933-0.4l13.333-13.333c0.533-0.533 0.533-1.333 0-1.867s-1.333-0.533-1.867 0l-12.4 12.4-3.067-3.067z"></path>
8
+ </svg>
9
+ `;
10
+
11
+ export { CheckCircle2 as C };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-6mr785rH.js';
4
+ import { d as getDefaultExportFromCjs } from './index-PHxPq4LJ.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-6mr785rH.js';
4
+ import { d as getDefaultExportFromCjs } from './index-PHxPq4LJ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {