@salla.sa/twilight-components 2.14.380 → 2.14.382

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 (292) hide show
  1. package/dist/cjs/{filepond-OhCwnn9l.js → filepond-g22JhArE.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BjJJ863B.js → filepond-plugin-file-poster-BLHE3V1F.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-D5nJzX3z.js → filepond-plugin-file-validate-size-Cv69mp4T.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-D13Iiqqr.js → filepond-plugin-file-validate-type-UlN6zKxS.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-ClQqTYlQ.js → filepond-plugin-image-edit-V6CWtRrp.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BTOdKQOQ.js → filepond-plugin-image-exif-orientation-Bdel8-Be.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-Dsci6Rtb.js → filepond-plugin-image-preview-BbyhVd2-.js} +1 -1
  8. package/dist/cjs/{index-CHRvLWS8.js → index-CgOy8iIV.js} +2 -2
  9. package/dist/cjs/{index-DH1vX5Bt.js → index-D6_fzuPF.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +4 -2
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +5 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +8 -2
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-comment-form_8.cjs.entry.js +2 -2
  22. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-custom-fields.cjs.entry.js +5 -1
  27. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-hook.cjs.entry.js +6 -2
  31. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-localization-modal.cjs.entry.js +144 -43
  35. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +6 -4
  43. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +10 -6
  44. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-rating-modal.cjs.entry.js +5 -3
  64. package/dist/cjs/salla-scopes.cjs.entry.js +5 -1
  65. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-menu.cjs.entry.js +4 -4
  75. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  79. package/dist/cjs/twilight.cjs.js +2 -2
  80. package/dist/cjs/{vanilla-picker-BZ7Tbldp.js → vanilla-picker-CBkQi6yD.js} +1 -1
  81. package/dist/collection/components/salla-accordion/salla-accordion.js +5 -3
  82. package/dist/collection/components/salla-advertisement/salla-advertisement.js +4 -0
  83. package/dist/collection/components/salla-app-install-alert/salla-app-install-alert.js +7 -1
  84. package/dist/collection/components/salla-custom-fields/salla-custom-fields.js +12 -8
  85. package/dist/collection/components/salla-hook/salla-hook.js +12 -5
  86. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +165 -47
  87. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +3 -2
  88. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +4 -3
  89. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +12 -9
  90. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +7 -6
  91. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +2 -2
  92. package/dist/collection/components/salla-order-details/salla-order-details.js +2 -2
  93. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +4 -2
  94. package/dist/collection/components/salla-review-card/salla-review-card.js +2 -2
  95. package/dist/collection/components/salla-scopes/salla-scopes.js +4 -0
  96. package/dist/collection/components/salla-user-menu/salla-user-menu.js +7 -7
  97. package/dist/components/index.js +2 -2
  98. package/dist/components/salla-accordion2.js +3 -1
  99. package/dist/components/salla-advertisement.js +4 -0
  100. package/dist/components/salla-app-install-alert.js +7 -1
  101. package/dist/components/salla-custom-fields.js +4 -0
  102. package/dist/components/salla-hook.js +5 -1
  103. package/dist/components/salla-localization-modal.js +144 -43
  104. package/dist/components/salla-multiple-bundle-product-cart2.js +2 -1
  105. package/dist/components/salla-multiple-bundle-product-details2.js +3 -2
  106. package/dist/components/salla-multiple-bundle-product-options-modal2.js +7 -4
  107. package/dist/components/salla-multiple-bundle-product-slider2.js +2 -1
  108. package/dist/components/salla-multiple-bundle-product.js +1 -1
  109. package/dist/components/salla-order-details.js +1 -1
  110. package/dist/components/salla-rating-modal.js +4 -2
  111. package/dist/components/salla-review-card2.js +1 -1
  112. package/dist/components/salla-scopes.js +4 -0
  113. package/dist/components/salla-user-menu.js +4 -4
  114. package/dist/esm/{filepond-BgLkbAlS.js → filepond-R6QOZ4Ng.js} +1 -1
  115. package/dist/esm/{filepond-plugin-file-poster-s4m5zTQ5.js → filepond-plugin-file-poster-CgZsOj29.js} +1 -1
  116. package/dist/esm/{filepond-plugin-file-validate-size-EfVTIVeK.js → filepond-plugin-file-validate-size-CYlCC1qn.js} +1 -1
  117. package/dist/esm/{filepond-plugin-file-validate-type-Chg0gvtx.js → filepond-plugin-file-validate-type-D-twSapC.js} +1 -1
  118. package/dist/esm/{filepond-plugin-image-edit-DvIjoDsi.js → filepond-plugin-image-edit-C0lS-TeI.js} +1 -1
  119. package/dist/esm/{filepond-plugin-image-exif-orientation-kE8T9OkA.js → filepond-plugin-image-exif-orientation-g6QLr9rh.js} +1 -1
  120. package/dist/esm/{filepond-plugin-image-preview-BJAUCA1P.js → filepond-plugin-image-preview-dugWUsPI.js} +1 -1
  121. package/dist/esm/{index-eEimxoFN.js → index-B-fHbvwg.js} +2 -2
  122. package/dist/esm/{index-BAJAa57P.js → index-CTaou2hZ.js} +1 -1
  123. package/dist/esm/loader.js +3 -3
  124. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  125. package/dist/esm/salla-accordion_6.entry.js +4 -2
  126. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  127. package/dist/esm/salla-advertisement.entry.js +5 -1
  128. package/dist/esm/salla-alert_2.entry.js +1 -1
  129. package/dist/esm/salla-app-install-alert.entry.js +8 -2
  130. package/dist/esm/salla-apps-icons.entry.js +1 -1
  131. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  132. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  133. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  134. package/dist/esm/salla-comment-form_8.entry.js +2 -2
  135. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  136. package/dist/esm/salla-contacts.entry.js +1 -1
  137. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  138. package/dist/esm/salla-count-down_2.entry.js +1 -1
  139. package/dist/esm/salla-custom-fields.entry.js +5 -1
  140. package/dist/esm/salla-filters-widget.entry.js +1 -1
  141. package/dist/esm/salla-filters.entry.js +1 -1
  142. package/dist/esm/salla-gifting.entry.js +1 -1
  143. package/dist/esm/salla-hook.entry.js +6 -2
  144. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  145. package/dist/esm/salla-installment.entry.js +1 -1
  146. package/dist/esm/salla-list-tile.entry.js +1 -1
  147. package/dist/esm/salla-localization-modal.entry.js +144 -43
  148. package/dist/esm/salla-login-modal.entry.js +1 -1
  149. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  150. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  151. package/dist/esm/salla-loyalty.entry.js +1 -1
  152. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  153. package/dist/esm/salla-menu.entry.js +1 -1
  154. package/dist/esm/salla-metadata.entry.js +1 -1
  155. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +6 -4
  156. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +10 -6
  157. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  158. package/dist/esm/salla-notification-item.entry.js +1 -1
  159. package/dist/esm/salla-notifications.entry.js +1 -1
  160. package/dist/esm/salla-offer-modal.entry.js +1 -1
  161. package/dist/esm/salla-offer.entry.js +1 -1
  162. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  163. package/dist/esm/salla-order-details-options.entry.js +1 -1
  164. package/dist/esm/salla-order-details.entry.js +2 -2
  165. package/dist/esm/salla-order-summary.entry.js +1 -1
  166. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  167. package/dist/esm/salla-orders.entry.js +1 -1
  168. package/dist/esm/salla-payments.entry.js +1 -1
  169. package/dist/esm/salla-placeholder.entry.js +1 -1
  170. package/dist/esm/salla-price-range.entry.js +1 -1
  171. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  172. package/dist/esm/salla-products-list.entry.js +1 -1
  173. package/dist/esm/salla-products-slider.entry.js +1 -1
  174. package/dist/esm/salla-progress-bar.entry.js +1 -1
  175. package/dist/esm/salla-quick-order.entry.js +1 -1
  176. package/dist/esm/salla-rating-modal.entry.js +5 -3
  177. package/dist/esm/salla-scopes.entry.js +5 -1
  178. package/dist/esm/salla-search.entry.js +1 -1
  179. package/dist/esm/salla-skeleton.entry.js +1 -1
  180. package/dist/esm/salla-slider.entry.js +1 -1
  181. package/dist/esm/salla-social-share.entry.js +1 -1
  182. package/dist/esm/salla-social.entry.js +1 -1
  183. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  184. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  185. package/dist/esm/salla-tooltip.entry.js +1 -1
  186. package/dist/esm/salla-trust-badges.entry.js +1 -1
  187. package/dist/esm/salla-user-menu.entry.js +4 -4
  188. package/dist/esm/salla-user-profile.entry.js +1 -1
  189. package/dist/esm/salla-user-settings.entry.js +1 -1
  190. package/dist/esm/salla-verify.entry.js +1 -1
  191. package/dist/esm/salla-wallet.entry.js +1 -1
  192. package/dist/esm/twilight.js +3 -3
  193. package/dist/esm/{vanilla-picker-CQfoqkgB.js → vanilla-picker-Duw3dTDS.js} +1 -1
  194. package/dist/twilight/{p-4b18c6b6.entry.js → p-06f96f06.entry.js} +1 -1
  195. package/dist/twilight/p-0c08df8f.entry.js +4 -0
  196. package/dist/twilight/{p-c4a32c32.entry.js → p-14142359.entry.js} +1 -1
  197. package/dist/twilight/{p-dd194e28.entry.js → p-19f147de.entry.js} +1 -1
  198. package/dist/twilight/{p-174f26e3.entry.js → p-1af81775.entry.js} +1 -1
  199. package/dist/twilight/{p-a5f45964.entry.js → p-1c2d5328.entry.js} +1 -1
  200. package/dist/twilight/{p-4a09432e.entry.js → p-1f52af03.entry.js} +1 -1
  201. package/dist/twilight/{p-d9ea5bc0.entry.js → p-2418ce98.entry.js} +1 -1
  202. package/dist/twilight/{p-3e3ef749.entry.js → p-2a66eb4d.entry.js} +1 -1
  203. package/dist/twilight/{p-b318a0ba.entry.js → p-2af6a330.entry.js} +1 -1
  204. package/dist/twilight/{p-b8c8437b.entry.js → p-2b2fe14f.entry.js} +1 -1
  205. package/dist/twilight/{p-8a50b0ec.entry.js → p-2bc915b6.entry.js} +1 -1
  206. package/dist/twilight/{p-4429147a.entry.js → p-365c44c2.entry.js} +1 -1
  207. package/dist/twilight/{p-34f54667.entry.js → p-389cd70d.entry.js} +1 -1
  208. package/dist/twilight/{p-7f2a4dc0.entry.js → p-3a5f3ce7.entry.js} +1 -1
  209. package/dist/twilight/{p-0eb5078d.entry.js → p-3a9331bc.entry.js} +1 -1
  210. package/dist/twilight/{p-1cc494ac.entry.js → p-421937b6.entry.js} +1 -1
  211. package/dist/twilight/{p-0af1c84b.entry.js → p-4aae95f0.entry.js} +1 -1
  212. package/dist/twilight/{p-14e34d12.entry.js → p-4b294540.entry.js} +1 -1
  213. package/dist/twilight/{p-1cc348bd.entry.js → p-53d39d70.entry.js} +1 -1
  214. package/dist/twilight/{p-6fca74f4.entry.js → p-5579022f.entry.js} +1 -1
  215. package/dist/twilight/{p-38577abd.entry.js → p-55a8aed2.entry.js} +1 -1
  216. package/dist/twilight/{p-d1d96039.entry.js → p-58a7329c.entry.js} +1 -1
  217. package/dist/twilight/{p-0edc4cd6.entry.js → p-58f7fea9.entry.js} +1 -1
  218. package/dist/twilight/{p-ca322deb.entry.js → p-5d39792e.entry.js} +1 -1
  219. package/dist/twilight/p-5e825370.entry.js +4 -0
  220. package/dist/twilight/p-5f5d4e1c.entry.js +4 -0
  221. package/dist/twilight/{p-50b948f1.entry.js → p-60aeb2ce.entry.js} +1 -1
  222. package/dist/twilight/{p-2553c102.entry.js → p-60c2abb3.entry.js} +1 -1
  223. package/dist/twilight/{p-8c083d22.entry.js → p-66831f23.entry.js} +1 -1
  224. package/dist/twilight/p-6ef9195a.entry.js +4 -0
  225. package/dist/twilight/{p-eb426d96.entry.js → p-6f81c83d.entry.js} +1 -1
  226. package/dist/twilight/{p-645edb0f.entry.js → p-723a816b.entry.js} +1 -1
  227. package/dist/twilight/{p-2169fb7d.entry.js → p-77332e8d.entry.js} +1 -1
  228. package/dist/twilight/{p-f7811b2e.entry.js → p-7c0c0b78.entry.js} +1 -1
  229. package/dist/twilight/{p-8948444e.entry.js → p-88084123.entry.js} +1 -1
  230. package/dist/twilight/{p-309b6cfe.entry.js → p-8ac939dc.entry.js} +1 -1
  231. package/dist/twilight/{p-c3015089.entry.js → p-905174a5.entry.js} +1 -1
  232. package/dist/twilight/{p-52404ae1.entry.js → p-95a539e9.entry.js} +1 -1
  233. package/dist/twilight/{p-d042041b.entry.js → p-95c952d0.entry.js} +1 -1
  234. package/dist/twilight/{p-d595175e.entry.js → p-972f9d4f.entry.js} +1 -1
  235. package/dist/twilight/{p-642dbfd9.entry.js → p-9b1f66de.entry.js} +1 -1
  236. package/dist/twilight/{p-424d54df.entry.js → p-9ec325af.entry.js} +1 -1
  237. package/dist/twilight/{p-8cdc7360.entry.js → p-9fa0db12.entry.js} +1 -1
  238. package/dist/twilight/{p-eEimxoFN.js → p-B-fHbvwg.js} +1 -1
  239. package/dist/twilight/{p-CNaIwBPC.js → p-B2Gco6bY.js} +1 -1
  240. package/dist/twilight/{p-C1cZE4BE.js → p-B7yaZRKc.js} +1 -1
  241. package/dist/twilight/{p-BA4uXDey.js → p-BX5ozk-b.js} +1 -1
  242. package/dist/twilight/p-BZ25IjRt.js +9 -0
  243. package/dist/twilight/{p-s1UoXHVX.js → p-D-4ztIM-.js} +1 -1
  244. package/dist/twilight/{p-DA2DReRj.js → p-DE1V8UWA.js} +1 -1
  245. package/dist/twilight/{p-CeE1UK0j.js → p-Dl6-KoXs.js} +1 -1
  246. package/dist/twilight/{p-_Nybob4I.js → p-_Gk6BpnQ.js} +1 -1
  247. package/dist/twilight/{p-a8be9bd2.entry.js → p-a3ad0b94.entry.js} +1 -1
  248. package/dist/twilight/{p-2ca7ed43.entry.js → p-a543b807.entry.js} +1 -1
  249. package/dist/twilight/{p-4937d0bd.entry.js → p-a5e3ef61.entry.js} +1 -1
  250. package/dist/twilight/{p-62713df9.entry.js → p-aa6f8402.entry.js} +1 -1
  251. package/dist/twilight/{p-f3b11c5e.entry.js → p-b053a827.entry.js} +1 -1
  252. package/dist/twilight/{p-1b414a65.entry.js → p-b673072d.entry.js} +1 -1
  253. package/dist/twilight/{p-1062e8b0.entry.js → p-bf17e59a.entry.js} +1 -1
  254. package/dist/twilight/{p-f65b1cc4.entry.js → p-c6282352.entry.js} +1 -1
  255. package/dist/twilight/{p-73a0f916.entry.js → p-c74196cf.entry.js} +1 -1
  256. package/dist/twilight/{p-537ea6c4.entry.js → p-c77ccff5.entry.js} +1 -1
  257. package/dist/twilight/{p-914fe9d5.entry.js → p-c7e947ae.entry.js} +1 -1
  258. package/dist/twilight/{p-1f256c22.entry.js → p-cbc1251e.entry.js} +1 -1
  259. package/dist/twilight/{p-ba843446.entry.js → p-cfaf32ba.entry.js} +1 -1
  260. package/dist/twilight/{p-e137375c.entry.js → p-d4213eae.entry.js} +1 -1
  261. package/dist/twilight/{p-f9e74b2d.entry.js → p-d761cf9b.entry.js} +1 -1
  262. package/dist/twilight/{p-0d0e9cc5.entry.js → p-db583811.entry.js} +1 -1
  263. package/dist/twilight/{p-8a40fabd.entry.js → p-dc29cded.entry.js} +1 -1
  264. package/dist/twilight/{p-6d33240d.entry.js → p-e09f5066.entry.js} +1 -1
  265. package/dist/twilight/{p-90a2dde9.entry.js → p-e1ed451f.entry.js} +1 -1
  266. package/dist/twilight/{p-6a0d5bf0.entry.js → p-e3ef352f.entry.js} +1 -1
  267. package/dist/twilight/{p-4b8f5897.entry.js → p-e936f726.entry.js} +1 -1
  268. package/dist/twilight/{p-80956964.entry.js → p-ec62577e.entry.js} +1 -1
  269. package/dist/twilight/{p-e1091287.entry.js → p-fb21368b.entry.js} +1 -1
  270. package/dist/twilight/{p-e3685dec.entry.js → p-fb9e9a71.entry.js} +1 -1
  271. package/dist/twilight/{p-CBclGOrf.js → p-vNDBdK6G.js} +1 -1
  272. package/dist/twilight/twilight.esm.js +1 -1
  273. package/dist/types/components/salla-accordion/salla-accordion.d.ts +2 -0
  274. package/dist/types/components/salla-app-install-alert/salla-app-install-alert.d.ts +1 -0
  275. package/dist/types/components/salla-custom-fields/salla-custom-fields.d.ts +8 -0
  276. package/dist/types/components/salla-hook/salla-hook.d.ts +5 -0
  277. package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +14 -3
  278. package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.d.ts +1 -0
  279. package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.d.ts +1 -0
  280. package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.d.ts +5 -0
  281. package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.d.ts +5 -0
  282. package/dist/types/components/salla-multiple-bundle-product/salla-multiple-bundle-product.d.ts +1 -0
  283. package/dist/types/components/salla-order-details/salla-order-details.d.ts +1 -0
  284. package/dist/types/components/salla-review-card/salla-review-card.d.ts +1 -0
  285. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +2 -2
  286. package/dist/types/components.d.ts +120 -14
  287. package/package.json +5 -5
  288. package/dist/twilight/p-7ae2abce.entry.js +0 -4
  289. package/dist/twilight/p-C0SN1Hu2.js +0 -9
  290. package/dist/twilight/p-c5b3b222.entry.js +0 -4
  291. package/dist/twilight/p-f1c55b22.entry.js +0 -4
  292. package/dist/twilight/p-f820bb24.entry.js +0 -4
@@ -32,6 +32,7 @@ export class SallaMultipleBundleProductOptionsModal {
32
32
  this.validationErrors = [];
33
33
  this.hasUnsavedChanges = false;
34
34
  }
35
+ /** Opens the modal manually. */
35
36
  async open() {
36
37
  if (!this.modal) {
37
38
  requestAnimationFrame(() => this.open());
@@ -56,11 +57,13 @@ export class SallaMultipleBundleProductOptionsModal {
56
57
  this.isLoading = false;
57
58
  }, 300);
58
59
  }
60
+ /** Closes the modal manually. */
59
61
  async close() {
60
62
  if (this.modal) {
61
63
  this.modal.close();
62
64
  }
63
65
  }
66
+ /** Refreshes the internal options tracking state manually. */
64
67
  async refreshOptionsState() {
65
68
  // Force re-render by updating the component state
66
69
  this.selectedOptions = { ...this.selectedOptions };
@@ -455,7 +458,7 @@ export class SallaMultipleBundleProductOptionsModal {
455
458
  const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
456
459
  const resetToken = this.optionsResetTokens[cacheKey] || 0;
457
460
  const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
458
- return (h(Host, { key: 'd5a4e884d29cd964b27042ca0d0c664cbf6bc511' }, h("salla-modal", { key: '674c32ce9a987aac09d192c10692947c16464072', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: 'ab3a01faa218da40362c75f25d051938db784e35', slot: "loading" }, h("salla-skeleton", { key: '25c625ef2090e6cdb556e494b29670091ef1fa9e', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '1d1962bba5311141a83dadd51536b7fb7bac2b70', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
461
+ return (h(Host, { key: '357005ce9302183eeeec3238ebde74b99c5f7d88' }, h("salla-modal", { key: '95e4f37061229e8359a269b031942d507a43ea25', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: 'b1525824f938c5af85a9ca043d2acf86e8773e6a', slot: "loading" }, h("salla-skeleton", { key: '7e71698646e7ec119afbed2fca9dab79c4fe2991', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: 'cd9042d00b0a237afd8dfe7ad4ed7032e298eb39', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
459
462
  centeredSlides: true,
460
463
  centeredSlidesBounds: true,
461
464
  slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
@@ -463,13 +466,13 @@ export class SallaMultipleBundleProductOptionsModal {
463
466
  watchSlidesProgress: true,
464
467
  direction: 'vertical',
465
468
  spaceBetween: 10,
466
- } }, h("div", { key: 'e6ca00bd18b6c0a911c00dad57e0ac4fd5f0a769', slot: "items" }, this.product?.images &&
469
+ } }, h("div", { key: '81773392ee6167f0daf780637e15bef9b7b2f2c7', slot: "items" }, this.product?.images &&
467
470
  this.product?.images.map((image, index) => (h("div", { key: index, class: "swiper-slide" }, h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index + 1}`, loading: "lazy", onError: e => {
468
471
  e.target.style.display = 'none';
469
- } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '08481d15b20bb0b522a619e0d223019ff9ee76ac', slot: "thumbs" }, this.product?.images &&
472
+ } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '2942ab32e0e28e6213b2a1d177e36c84136beaef', slot: "thumbs" }, this.product?.images &&
470
473
  this.product?.images.map((image, index) => (h("div", { key: index, "data-caption": `${this.product?.name} - Image ${index + 1}` }, h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index + 1}`, alt: image.alt || `${this.product?.name} - ${index + 1}`, onError: e => {
471
474
  e.target.style.display = 'none';
472
- } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '8aa9b8173e758821960f37093555227024b3190f', slot: "footer" }, h("div", { key: '7324d3b90689871d779ae0a95a8a4ce4e5c18fe7', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: '2205ab886613aaa5426f117efb56b7e1ae103049', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
475
+ } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: 'e3658d39d7462e1ba8c2099625d9a659541f6b2a', slot: "footer" }, h("div", { key: '8e03e9230c55b9ac6143e37629946e66daf47835', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: 'feca5790f828f7b29de3cba4e3a54d772a7a94c5', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
473
476
  ? salla.lang.get('common.elements.saving')
474
477
  : salla.lang.get('common.elements.save')))))));
475
478
  }
@@ -507,7 +510,7 @@ export class SallaMultipleBundleProductOptionsModal {
507
510
  "composed": true,
508
511
  "docs": {
509
512
  "tags": [],
510
- "text": ""
513
+ "text": "Emitted when product options are successfully saved."
511
514
  },
512
515
  "complexType": {
513
516
  "original": "{\n productId: number;\n selectedOptions: SelectedOption[];\n sectionId?: string | number | null;\n productIndex?: number | null;\n }",
@@ -528,7 +531,7 @@ export class SallaMultipleBundleProductOptionsModal {
528
531
  "composed": true,
529
532
  "docs": {
530
533
  "tags": [],
531
- "text": ""
534
+ "text": "Emitted when a product is selected or modified via the modal."
532
535
  },
533
536
  "complexType": {
534
537
  "original": "{\n productId: number;\n sectionId: string | number;\n product?: BundleProduct;\n fromModal?: boolean;\n }",
@@ -558,7 +561,7 @@ export class SallaMultipleBundleProductOptionsModal {
558
561
  "return": "Promise<void>"
559
562
  },
560
563
  "docs": {
561
- "text": "",
564
+ "text": "Opens the modal manually.",
562
565
  "tags": []
563
566
  }
564
567
  },
@@ -575,7 +578,7 @@ export class SallaMultipleBundleProductOptionsModal {
575
578
  "return": "Promise<void>"
576
579
  },
577
580
  "docs": {
578
- "text": "",
581
+ "text": "Closes the modal manually.",
579
582
  "tags": []
580
583
  }
581
584
  },
@@ -592,7 +595,7 @@ export class SallaMultipleBundleProductOptionsModal {
592
595
  "return": "Promise<void>"
593
596
  },
594
597
  "docs": {
595
- "text": "",
598
+ "text": "Refreshes the internal options tracking state manually.",
596
599
  "tags": []
597
600
  }
598
601
  }
@@ -6,6 +6,7 @@ import KeyBoardArrowLeftIcon from "../../../assets/svg/keyboard_arrow_left.svg";
6
6
  import KeyBoardArrowRightIcon from "../../../assets/svg/keyboard_arrow_right.svg";
7
7
  export class SallaMultipleBundleProductSlider {
8
8
  constructor() {
9
+ /** A dictionary tracking which product IDs are currently selected per section. */
9
10
  this.selectedProducts = {};
10
11
  this.savedOptionsByInstance = {};
11
12
  this.handleProductClick = (product, productIndex) => {
@@ -86,7 +87,7 @@ export class SallaMultipleBundleProductSlider {
86
87
  return `bundle[${sectionId}][${productIndex}][id]`;
87
88
  }
88
89
  render() {
89
- return (h(Host, { key: '07af0a15e38a4c00450bf132a7f91c647dc7ba04' }, h("salla-slider", { key: '6a34d8659c90d6ed485149f96ad7c706122f4949', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '2aef73459325f4be492791d045b67520d210ddf7', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
90
+ return (h(Host, { key: '336a3bcf504a178ee207b40b3b7fac5d26e00f91' }, h("salla-slider", { key: '004d1c3f644bfd015efe2ffc21a78e912c5d0647', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: 'fda4544764b9bf2eb95d408179c1abc252f50243', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
90
91
  const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
91
92
  const hasSavedOptions = this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id, productIndex)];
92
93
  const optionsButtonLabel = hasSavedOptions
@@ -132,7 +133,7 @@ export class SallaMultipleBundleProductSlider {
132
133
  "optional": false,
133
134
  "docs": {
134
135
  "tags": [],
135
- "text": ""
136
+ "text": "The data for the current bundle section being rendered in this slider."
136
137
  },
137
138
  "getter": false,
138
139
  "setter": false
@@ -150,7 +151,7 @@ export class SallaMultipleBundleProductSlider {
150
151
  "optional": false,
151
152
  "docs": {
152
153
  "tags": [],
153
- "text": ""
154
+ "text": "The zero-based index of this section within the overall bundle."
154
155
  },
155
156
  "getter": false,
156
157
  "setter": false,
@@ -174,7 +175,7 @@ export class SallaMultipleBundleProductSlider {
174
175
  "optional": false,
175
176
  "docs": {
176
177
  "tags": [],
177
- "text": ""
178
+ "text": "A dictionary tracking which product IDs are currently selected per section."
178
179
  },
179
180
  "getter": false,
180
181
  "setter": false,
@@ -196,7 +197,7 @@ export class SallaMultipleBundleProductSlider {
196
197
  "composed": true,
197
198
  "docs": {
198
199
  "tags": [],
199
- "text": ""
200
+ "text": "Emitted when a product is clicked/toggled within the slider."
200
201
  },
201
202
  "complexType": {
202
203
  "original": "{ product: BundleProduct; sectionId: string | number }",
@@ -217,7 +218,7 @@ export class SallaMultipleBundleProductSlider {
217
218
  "composed": true,
218
219
  "docs": {
219
220
  "tags": [],
220
- "text": ""
221
+ "text": "Emitted when the user clicks the \"options\" button on a product card."
221
222
  },
222
223
  "complexType": {
223
224
  "original": "{\n product: BundleProduct;\n sectionId: string | number;\n }",
@@ -82,7 +82,7 @@ export class SallaMultipleBundleProduct {
82
82
  this.parseProducts(this.bundleSections);
83
83
  }
84
84
  render() {
85
- return (h(Host, { key: '05c5e7d3b7d18f23e66f3d95a04f16ab266e99a1', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
85
+ return (h(Host, { key: '2a4510d1ccd3dc840d25a288cb0788a7dd23672c', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
86
86
  }
87
87
  static get is() { return "salla-multiple-bundle-product"; }
88
88
  static get originalStyleUrls() {
@@ -110,7 +110,7 @@ export class SallaMultipleBundleProduct {
110
110
  "optional": false,
111
111
  "docs": {
112
112
  "tags": [],
113
- "text": ""
113
+ "text": "The bundled sections data, given as a JSON string or parsed object."
114
114
  },
115
115
  "getter": false,
116
116
  "setter": false,
@@ -36,7 +36,7 @@ export class SallaOrderDetails {
36
36
  ];
37
37
  }
38
38
  render() {
39
- return h(Host, { key: '7cfbdb28ff84c96aadda4992eb99ae54cd211937', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
39
+ return h(Host, { key: 'a32d03172c884c8431e592b35b3f6560e3055555', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
40
40
  }
41
41
  static get is() { return "salla-order-details"; }
42
42
  static get originalStyleUrls() {
@@ -70,7 +70,7 @@ export class SallaOrderDetails {
70
70
  "optional": false,
71
71
  "docs": {
72
72
  "tags": [],
73
- "text": ""
73
+ "text": "The payload containing order data, stringified JSON or literal object."
74
74
  },
75
75
  "getter": false,
76
76
  "setter": false,
@@ -315,8 +315,10 @@ export class SallaRatingModal {
315
315
  }
316
316
  data.order_id = this.orderId;
317
317
  data.type = this.currentTab.dataset.type;
318
- this.submitted.push(this.currentIndex);
319
- return salla.rating.api[this.currentTab.dataset.type](data);
318
+ return salla.rating.api[this.currentTab.dataset.type](data).then((res) => {
319
+ this.submitted.push(this.currentIndex);
320
+ return res;
321
+ });
320
322
  }
321
323
  showThankYou() {
322
324
  let seconds = 10;
@@ -158,7 +158,7 @@ export class SallaReviewCard {
158
158
  return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
159
159
  }
160
160
  render() {
161
- return h("div", { key: 'dc04f5504270de8eec6f4f20930b5ad8b19bfa1e', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'f2c82854952afa8f1c32ca3cdc9548aa04d4920a', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '555f4e598c753d38736642e9a4c8913035552159', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
161
+ return h("div", { key: '48e1eb2b71e5ee6e66def2aac42e9b6255935a17', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '0b24ea13f1f31224fff7e73d5db6c428adef0bd9', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '44501e61b5eed711820bece91053534a2baacbde', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
162
162
  }
163
163
  static get is() { return "salla-review-card"; }
164
164
  static get originalStyleUrls() {
@@ -196,7 +196,7 @@ export class SallaReviewCard {
196
196
  "optional": false,
197
197
  "docs": {
198
198
  "tags": [],
199
- "text": ""
199
+ "text": "The review object to render, containing review text, stars, product info, and images."
200
200
  },
201
201
  "getter": false,
202
202
  "setter": false
@@ -157,6 +157,10 @@ export class SallaScopees {
157
157
  }
158
158
  async componentDidLoad() {
159
159
  await Salla.hooks.registerComponent('salla-scopes', this);
160
+ // * Note: Do not auto open scopes modal in mobile app
161
+ const isMobileApp = salla.config.isMobileApp();
162
+ if (isMobileApp)
163
+ return;
160
164
  if (!this.isOpenedBefore && this.selection == 'mandatory') {
161
165
  this.open();
162
166
  }
@@ -62,9 +62,9 @@ export class SallaUserMenu {
62
62
  */
63
63
  this.relativeDropdown = false;
64
64
  /**
65
- * To auto mount the login modal or not
65
+ * To show the trigger button or not
66
66
  */
67
- this.autoMount = false;
67
+ this.showTrigger = false;
68
68
  this.onClickOutside = () => {
69
69
  this.opened = false;
70
70
  };
@@ -149,7 +149,7 @@ export class SallaUserMenu {
149
149
  });
150
150
  }
151
151
  autoMountLoginModal() {
152
- if (!this.autoMount) {
152
+ if (!this.showTrigger) {
153
153
  return;
154
154
  }
155
155
  if (document.querySelector('salla-login-modal')) {
@@ -341,10 +341,10 @@ export class SallaUserMenu {
341
341
  "reflect": true,
342
342
  "defaultValue": "false"
343
343
  },
344
- "autoMount": {
344
+ "showTrigger": {
345
345
  "type": "boolean",
346
- "attribute": "auto-mount",
347
- "mutable": false,
346
+ "attribute": "show-trigger",
347
+ "mutable": true,
348
348
  "complexType": {
349
349
  "original": "boolean",
350
350
  "resolved": "boolean",
@@ -354,7 +354,7 @@ export class SallaUserMenu {
354
354
  "optional": false,
355
355
  "docs": {
356
356
  "tags": [],
357
- "text": "To auto mount the login modal or not"
357
+ "text": "To show the trigger button or not"
358
358
  },
359
359
  "getter": false,
360
360
  "setter": false,