@salla.sa/twilight-components 2.14.521 → 2.14.523

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 (360) hide show
  1. package/dist/cjs/arrow-right-Cd6JoegH.js +13 -0
  2. package/dist/cjs/{filepond-BxIqz4X5.js → filepond-DCHVhc44.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-CgcL8KEM.js → filepond-plugin-file-poster-CfA-n2Oh.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-CE5D63gi.js → filepond-plugin-file-validate-size-DZQkwEKK.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-CTZlbHeg.js → filepond-plugin-file-validate-type-Dl8je2Fu.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-DwwaA0xD.js → filepond-plugin-image-edit-BzYslA6t.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-Ds2jzd-0.js → filepond-plugin-image-exif-orientation-D856YsXh.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-zMIkW3BA.js → filepond-plugin-image-preview-CYa8C4oD.js} +1 -1
  9. package/dist/cjs/{functions-kxrglIIV.js → functions-DG_jVKBR.js} +1 -1
  10. package/dist/cjs/{index-BqVQnSPs.js → index-D-YSscuC.js} +1 -1
  11. package/dist/cjs/{index-D9nhi8-6.js → index-EWm59_5l.js} +10 -10
  12. package/dist/cjs/loader.cjs.js +2 -2
  13. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-accordion_6.cjs.entry.js +18 -3
  15. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  23. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +7 -4
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down_2.cjs.entry.js +12 -7
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  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-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  51. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  55. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-price-range.cjs.entry.js +3 -9
  84. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-user-settings.cjs.entry.js +471 -34
  105. package/dist/cjs/salla-verify.cjs.entry.js +9 -1
  106. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  107. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  108. package/dist/cjs/{tracked-promise-I3cWE57r.js → tracked-promise-C2tbWLf_.js} +1 -1
  109. package/dist/cjs/twilight.cjs.js +2 -2
  110. package/dist/cjs/{vanilla-picker-BN2v2WSB.js → vanilla-picker-BXezTQQL.js} +1 -1
  111. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +6 -3
  112. package/dist/collection/components/salla-modal/salla-modal.css +12 -0
  113. package/dist/collection/components/salla-modal/salla-modal.js +50 -1
  114. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.js +11 -6
  115. package/dist/collection/components/salla-user-settings/salla-user-settings.css +137 -0
  116. package/dist/collection/components/salla-user-settings/salla-user-settings.js +497 -32
  117. package/dist/collection/components/salla-verify/salla-verify.js +8 -0
  118. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  119. package/dist/components/arrow-right.js +11 -0
  120. package/dist/components/index.js +2 -2
  121. package/dist/components/salla-bullet-delivery.js +6 -3
  122. package/dist/components/salla-login-modal2.js +7 -1
  123. package/dist/components/salla-loyalty-point2.js +8 -2
  124. package/dist/components/salla-modal2.js +25 -3
  125. package/dist/components/salla-order-options-modal2.js +11 -6
  126. package/dist/components/salla-price-range2.js +1 -7
  127. package/dist/components/salla-product-size-guide.js +7 -1
  128. package/dist/components/salla-user-menu.js +7 -1
  129. package/dist/components/salla-user-settings.js +498 -39
  130. package/dist/components/salla-verify.js +8 -0
  131. package/dist/components/salla-wishlist-actions.js +1 -1
  132. package/dist/esm/arrow-right-B9q7ymSg.js +11 -0
  133. package/dist/esm/{filepond-DiqSFaKJ.js → filepond-DQ6pHM8K.js} +1 -1
  134. package/dist/esm/{filepond-plugin-file-poster-CIhvZWr3.js → filepond-plugin-file-poster-Cin3Drv6.js} +1 -1
  135. package/dist/esm/{filepond-plugin-file-validate-size-Dh-rJsdI.js → filepond-plugin-file-validate-size-Bo-SgRcF.js} +1 -1
  136. package/dist/esm/{filepond-plugin-file-validate-type-I9XENo4v.js → filepond-plugin-file-validate-type-DvBZJiZ0.js} +1 -1
  137. package/dist/esm/{filepond-plugin-image-edit-D7HhgEBr.js → filepond-plugin-image-edit-DTVE32mN.js} +1 -1
  138. package/dist/esm/{filepond-plugin-image-exif-orientation-CJ6QNX7n.js → filepond-plugin-image-exif-orientation-W7UUFbyD.js} +1 -1
  139. package/dist/esm/{filepond-plugin-image-preview-ChlwE2Wy.js → filepond-plugin-image-preview-DGuRiudm.js} +1 -1
  140. package/dist/esm/{functions-DG90cyVT.js → functions-D7FvvD3w.js} +1 -1
  141. package/dist/esm/{index-BmH_SCLp.js → index-BM5d07q2.js} +10 -10
  142. package/dist/esm/{index-CceR4m1x.js → index-Bg8UYNC5.js} +1 -1
  143. package/dist/esm/loader.js +3 -3
  144. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  145. package/dist/esm/salla-accordion_6.entry.js +18 -3
  146. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  147. package/dist/esm/salla-advertisement.entry.js +1 -1
  148. package/dist/esm/salla-alert_2.entry.js +1 -1
  149. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  150. package/dist/esm/salla-apps-icons.entry.js +1 -1
  151. package/dist/esm/salla-badge.entry.js +1 -1
  152. package/dist/esm/salla-basket-gap.entry.js +1 -1
  153. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  154. package/dist/esm/salla-bullet-delivery_2.entry.js +7 -4
  155. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  156. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  157. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  158. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  159. package/dist/esm/salla-comment-factors.entry.js +1 -1
  160. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  161. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  162. package/dist/esm/salla-contacts.entry.js +1 -1
  163. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  164. package/dist/esm/salla-count-down_2.entry.js +12 -7
  165. package/dist/esm/salla-custom-fields.entry.js +1 -1
  166. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  167. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  168. package/dist/esm/salla-filters-widget.entry.js +1 -1
  169. package/dist/esm/salla-filters.entry.js +1 -1
  170. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  171. package/dist/esm/salla-gifting.entry.js +1 -1
  172. package/dist/esm/salla-hook.entry.js +1 -1
  173. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  174. package/dist/esm/salla-installment.entry.js +1 -1
  175. package/dist/esm/salla-list-tile.entry.js +1 -1
  176. package/dist/esm/salla-localization-modal.entry.js +1 -1
  177. package/dist/esm/salla-login-modal.entry.js +1 -1
  178. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  179. package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
  180. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  181. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  182. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  183. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  184. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  185. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  186. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  187. package/dist/esm/salla-loyalty.entry.js +1 -1
  188. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  189. package/dist/esm/salla-map_2.entry.js +1 -1
  190. package/dist/esm/salla-menu.entry.js +1 -1
  191. package/dist/esm/salla-metadata.entry.js +1 -1
  192. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  193. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  194. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  195. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  196. package/dist/esm/salla-notification-item.entry.js +1 -1
  197. package/dist/esm/salla-notifications.entry.js +1 -1
  198. package/dist/esm/salla-offer-modal.entry.js +1 -1
  199. package/dist/esm/salla-offer.entry.js +1 -1
  200. package/dist/esm/salla-order-branch.entry.js +1 -1
  201. package/dist/esm/salla-order-cancel.entry.js +1 -1
  202. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  203. package/dist/esm/salla-order-details-options.entry.js +1 -1
  204. package/dist/esm/salla-order-details.entry.js +1 -1
  205. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  206. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  207. package/dist/esm/salla-order-edit.entry.js +1 -1
  208. package/dist/esm/salla-order-shipments.entry.js +1 -1
  209. package/dist/esm/salla-order-summary.entry.js +1 -1
  210. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  211. package/dist/esm/salla-orders.entry.js +1 -1
  212. package/dist/esm/salla-payments.entry.js +1 -1
  213. package/dist/esm/salla-placeholder.entry.js +1 -1
  214. package/dist/esm/salla-price-range.entry.js +2 -8
  215. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  216. package/dist/esm/salla-product-card_2.entry.js +1 -1
  217. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  218. package/dist/esm/salla-products-list.entry.js +1 -1
  219. package/dist/esm/salla-quick-order.entry.js +1 -1
  220. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  221. package/dist/esm/salla-rating-modal.entry.js +1 -1
  222. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  223. package/dist/esm/salla-scopes.entry.js +1 -1
  224. package/dist/esm/salla-search.entry.js +1 -1
  225. package/dist/esm/salla-skeleton.entry.js +1 -1
  226. package/dist/esm/salla-slider.entry.js +1 -1
  227. package/dist/esm/salla-social-share.entry.js +1 -1
  228. package/dist/esm/salla-social.entry.js +1 -1
  229. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  230. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  231. package/dist/esm/salla-tooltip.entry.js +1 -1
  232. package/dist/esm/salla-trust-badges.entry.js +1 -1
  233. package/dist/esm/salla-user-menu.entry.js +1 -1
  234. package/dist/esm/salla-user-profile.entry.js +1 -1
  235. package/dist/esm/salla-user-settings.entry.js +471 -34
  236. package/dist/esm/salla-verify.entry.js +9 -1
  237. package/dist/esm/salla-wallet.entry.js +1 -1
  238. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  239. package/dist/esm/{tracked-promise-Ci6ut_FU.js → tracked-promise-C6Ob-qmO.js} +1 -1
  240. package/dist/esm/twilight.js +3 -3
  241. package/dist/esm/{vanilla-picker-vyxTZ0dX.js → vanilla-picker-DgInak8N.js} +1 -1
  242. package/dist/twilight/{p-849c72c4.entry.js → p-01f81bed.entry.js} +1 -1
  243. package/dist/twilight/{p-7dd7b06b.entry.js → p-04756108.entry.js} +1 -1
  244. package/dist/twilight/{p-8bc95f60.entry.js → p-0a1790b8.entry.js} +1 -1
  245. package/dist/twilight/{p-4db788b8.entry.js → p-0e4332c5.entry.js} +1 -1
  246. package/dist/twilight/{p-0bc95bea.entry.js → p-1062425d.entry.js} +1 -1
  247. package/dist/twilight/{p-00a79225.entry.js → p-1865bb17.entry.js} +1 -1
  248. package/dist/twilight/{p-6304507a.entry.js → p-1966d0ca.entry.js} +1 -1
  249. package/dist/twilight/{p-29d997c7.entry.js → p-1de72efd.entry.js} +1 -1
  250. package/dist/twilight/p-1eb9b42d.entry.js +4 -0
  251. package/dist/twilight/{p-2cb0a5c2.entry.js → p-23dc064a.entry.js} +1 -1
  252. package/dist/twilight/{p-cdd9e371.entry.js → p-2562e44b.entry.js} +1 -1
  253. package/dist/twilight/p-26cac2a2.entry.js +4 -0
  254. package/dist/twilight/{p-9fbf4a49.entry.js → p-29396bf6.entry.js} +1 -1
  255. package/dist/twilight/{p-772b2587.entry.js → p-2aa80a12.entry.js} +1 -1
  256. package/dist/twilight/{p-2bdf089c.entry.js → p-2ac41a04.entry.js} +1 -1
  257. package/dist/twilight/{p-5245c9fb.entry.js → p-30089930.entry.js} +1 -1
  258. package/dist/twilight/{p-3b4f6d09.entry.js → p-3c5c8040.entry.js} +1 -1
  259. package/dist/twilight/{p-1fa3928c.entry.js → p-3e3b4ace.entry.js} +1 -1
  260. package/dist/twilight/{p-719d5824.entry.js → p-3f1b74c4.entry.js} +1 -1
  261. package/dist/twilight/{p-d4b5c142.entry.js → p-3fb2daff.entry.js} +1 -1
  262. package/dist/twilight/{p-8dd3312e.entry.js → p-42551c8c.entry.js} +1 -1
  263. package/dist/twilight/{p-9c738246.entry.js → p-42fc5f2f.entry.js} +1 -1
  264. package/dist/twilight/{p-ae2071d6.entry.js → p-45729b8e.entry.js} +1 -1
  265. package/dist/twilight/{p-781d048b.entry.js → p-45f5fa27.entry.js} +1 -1
  266. package/dist/twilight/{p-0331b059.entry.js → p-55d1c6c9.entry.js} +1 -1
  267. package/dist/twilight/{p-c337127b.entry.js → p-5aa658d1.entry.js} +1 -1
  268. package/dist/twilight/{p-ad95d915.entry.js → p-5c5f6ad3.entry.js} +1 -1
  269. package/dist/twilight/{p-a025825a.entry.js → p-5ce9e4e4.entry.js} +1 -1
  270. package/dist/twilight/{p-3aa708ac.entry.js → p-62ff80dc.entry.js} +1 -1
  271. package/dist/twilight/{p-b41da249.entry.js → p-65dd99ed.entry.js} +1 -1
  272. package/dist/twilight/p-66312912.entry.js +4 -0
  273. package/dist/twilight/{p-b74d7a0c.entry.js → p-66714663.entry.js} +1 -1
  274. package/dist/twilight/{p-ff2cf3a4.entry.js → p-698f2e97.entry.js} +1 -1
  275. package/dist/twilight/{p-919d1d2f.entry.js → p-6dcd7b46.entry.js} +1 -1
  276. package/dist/twilight/{p-9329c9ae.entry.js → p-6f0215ec.entry.js} +1 -1
  277. package/dist/twilight/{p-e258f515.entry.js → p-70d1e905.entry.js} +1 -1
  278. package/dist/twilight/{p-f8b734e1.entry.js → p-719cd9a6.entry.js} +1 -1
  279. package/dist/twilight/{p-f7e468c7.entry.js → p-7741fc5c.entry.js} +1 -1
  280. package/dist/twilight/{p-5b98f12c.entry.js → p-78ed3c14.entry.js} +1 -1
  281. package/dist/twilight/{p-54b18586.entry.js → p-7b0fd2d3.entry.js} +1 -1
  282. package/dist/twilight/{p-dbd42678.entry.js → p-7cdfa2ed.entry.js} +1 -1
  283. package/dist/twilight/{p-93b9c55e.entry.js → p-7dd8a87f.entry.js} +1 -1
  284. package/dist/twilight/{p-314e1a7e.entry.js → p-80bdb370.entry.js} +1 -1
  285. package/dist/twilight/{p-5327d518.entry.js → p-82384661.entry.js} +1 -1
  286. package/dist/twilight/{p-bd5baa3a.entry.js → p-8b16e8b8.entry.js} +1 -1
  287. package/dist/twilight/{p-050f0c6a.entry.js → p-8bcbf94b.entry.js} +1 -1
  288. package/dist/twilight/{p-097f2555.entry.js → p-8db3e0c5.entry.js} +1 -1
  289. package/dist/twilight/{p-25a5a6e1.entry.js → p-90ea6647.entry.js} +1 -1
  290. package/dist/twilight/{p-2199c255.entry.js → p-9b28408b.entry.js} +1 -1
  291. package/dist/twilight/{p-edc7d892.entry.js → p-9c1e5214.entry.js} +1 -1
  292. package/dist/twilight/{p-2235f1f2.entry.js → p-9e1645b7.entry.js} +1 -1
  293. package/dist/twilight/{p-c9e00ab5.entry.js → p-9fb0a8ad.entry.js} +1 -1
  294. package/dist/twilight/{p-da16958f.entry.js → p-9fdbb0fe.entry.js} +1 -1
  295. package/dist/twilight/p-B9q7ymSg.js +4 -0
  296. package/dist/twilight/{p-BmH_SCLp.js → p-BM5d07q2.js} +2 -2
  297. package/dist/twilight/{p-3JgvsDKa.js → p-BbNEoGml.js} +2 -2
  298. package/dist/twilight/{p-CyJQdnNc.js → p-CHQutKQ7.js} +1 -1
  299. package/dist/twilight/{p-Jgd9UbQM.js → p-Cc9owUMd.js} +1 -1
  300. package/dist/twilight/{p-5h7fTMtR.js → p-Cvx2P5Pg.js} +1 -1
  301. package/dist/twilight/{p-Duga6KlO.js → p-CyUI27N5.js} +1 -1
  302. package/dist/twilight/{p-BFMG8k2g.js → p-DaCdMnag.js} +1 -1
  303. package/dist/twilight/{p-DNxVGDCc.js → p-DnmPgY_G.js} +1 -1
  304. package/dist/twilight/{p-DcFiC1dv.js → p-JQryHMzJ.js} +1 -1
  305. package/dist/twilight/{p-169ccb83.entry.js → p-a3aef8bb.entry.js} +1 -1
  306. package/dist/twilight/{p-f639f01e.entry.js → p-a43ce575.entry.js} +1 -1
  307. package/dist/twilight/{p-9eb20b1e.entry.js → p-a4d7223f.entry.js} +1 -1
  308. package/dist/twilight/{p-28f8858c.entry.js → p-a560ee5f.entry.js} +1 -1
  309. package/dist/twilight/{p-5659163f.entry.js → p-a6a1affc.entry.js} +1 -1
  310. package/dist/twilight/{p-761f03b0.entry.js → p-aba9e8c2.entry.js} +1 -1
  311. package/dist/twilight/{p-9e73018d.entry.js → p-abc35ead.entry.js} +1 -1
  312. package/dist/twilight/{p-7d6d2166.entry.js → p-abf4c948.entry.js} +1 -1
  313. package/dist/twilight/{p-c8fa6a7e.entry.js → p-ac6abf15.entry.js} +1 -1
  314. package/dist/twilight/{p-6481d82b.entry.js → p-ace9d8f0.entry.js} +1 -1
  315. package/dist/twilight/{p-5a17a1ea.entry.js → p-af6f8519.entry.js} +2 -2
  316. package/dist/twilight/{p-5aa54ac9.entry.js → p-afe2670a.entry.js} +1 -1
  317. package/dist/twilight/{p-0043e129.entry.js → p-afe7c1ba.entry.js} +1 -1
  318. package/dist/twilight/{p-f6644651.entry.js → p-b2a4ebbb.entry.js} +1 -1
  319. package/dist/twilight/{p-258ddfbb.entry.js → p-b3f60292.entry.js} +1 -1
  320. package/dist/twilight/{p-3b927d75.entry.js → p-b5203de2.entry.js} +1 -1
  321. package/dist/twilight/{p-42ab7e46.entry.js → p-b827f3d2.entry.js} +1 -1
  322. package/dist/twilight/{p-0c59cc4f.entry.js → p-b8e31d81.entry.js} +1 -1
  323. package/dist/twilight/{p-4dcb3f48.entry.js → p-bad00f10.entry.js} +1 -1
  324. package/dist/twilight/{p-7054391f.entry.js → p-bc0558d2.entry.js} +1 -1
  325. package/dist/twilight/{p-4afedde2.entry.js → p-beb0a808.entry.js} +1 -1
  326. package/dist/twilight/{p-88137e81.entry.js → p-bfc96cf2.entry.js} +1 -1
  327. package/dist/twilight/{p-eb06c23f.entry.js → p-c16c5ef5.entry.js} +1 -1
  328. package/dist/twilight/{p-c32a7b18.entry.js → p-c82feb7c.entry.js} +1 -1
  329. package/dist/twilight/{p-aa3de1af.entry.js → p-c98be632.entry.js} +1 -1
  330. package/dist/twilight/{p-fbbf8d50.entry.js → p-ce653f7c.entry.js} +1 -1
  331. package/dist/twilight/{p-a6f1ab9d.entry.js → p-d1b29d76.entry.js} +1 -1
  332. package/dist/twilight/{p-c8e712e4.entry.js → p-d23989f3.entry.js} +1 -1
  333. package/dist/twilight/{p-a54f3e4d.entry.js → p-d5d107ea.entry.js} +1 -1
  334. package/dist/twilight/p-d97d37ec.entry.js +4 -0
  335. package/dist/twilight/{p-4b425007.entry.js → p-dec7ad63.entry.js} +1 -1
  336. package/dist/twilight/{p-CVQzCtED.js → p-e-mxvhkF.js} +1 -1
  337. package/dist/twilight/{p-2e23d889.entry.js → p-e060ee6b.entry.js} +1 -1
  338. package/dist/twilight/{p-3977e18c.entry.js → p-e0a0653e.entry.js} +1 -1
  339. package/dist/twilight/{p-22b5b7c5.entry.js → p-e2e84b7e.entry.js} +1 -1
  340. package/dist/twilight/{p-9338485b.entry.js → p-e45ead59.entry.js} +1 -1
  341. package/dist/twilight/{p-22b1d1b5.entry.js → p-e9259ff2.entry.js} +1 -1
  342. package/dist/twilight/{p-86509218.entry.js → p-e99c1765.entry.js} +1 -1
  343. package/dist/twilight/p-ee69544b.entry.js +4 -0
  344. package/dist/twilight/{p-1afaa214.entry.js → p-f443ae10.entry.js} +1 -1
  345. package/dist/twilight/{p-e9fb7554.entry.js → p-f72a852a.entry.js} +1 -1
  346. package/dist/twilight/{p-8ee28c75.entry.js → p-fdfa010d.entry.js} +1 -1
  347. package/dist/twilight/{p-456c03b1.entry.js → p-ff5fc7fa.entry.js} +1 -1
  348. package/dist/twilight/{p-1HIaZAiz.js → p-kYkXTeTb.js} +1 -1
  349. package/dist/twilight/{p-D5XsQ4D9.js → p-lri6csDE.js} +1 -1
  350. package/dist/twilight/twilight.esm.js +1 -1
  351. package/dist/types/components/salla-modal/salla-modal.d.ts +10 -0
  352. package/dist/types/components/salla-order-options-modal/salla-order-options-modal.d.ts +5 -1
  353. package/dist/types/components/salla-user-settings/salla-user-settings.d.ts +84 -9
  354. package/dist/types/components.d.ts +15 -0
  355. package/package.json +5 -5
  356. package/dist/twilight/p-19173dca.entry.js +0 -4
  357. package/dist/twilight/p-26f2eea3.entry.js +0 -4
  358. package/dist/twilight/p-3d4ea448.entry.js +0 -4
  359. package/dist/twilight/p-6ce962f1.entry.js +0 -4
  360. package/dist/twilight/p-ec66b2a0.entry.js +0 -4
@@ -5203,13 +5203,16 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
5203
5203
  getIntentCountryId(savedIntent) != null &&
5204
5204
  getIntentCityId(savedIntent) != null;
5205
5205
  // Set default tab first so we can lazy-load tab-specific data.
5206
- if (this.supportsPickup &&
5206
+ if (this.supportsPickup && !this.isSupportsDelivery) {
5207
+ this.activeTab = 'branch';
5208
+ }
5209
+ else if (this.supportsPickup &&
5207
5210
  savedIntent?.type &&
5208
- (savedIntent.type === "address" || savedIntent.type === "branch")) {
5211
+ (savedIntent.type === 'address' || savedIntent.type === 'branch')) {
5209
5212
  this.activeTab = savedIntent.type;
5210
5213
  }
5211
5214
  else {
5212
- this.activeTab = "address";
5215
+ this.activeTab = 'address';
5213
5216
  }
5214
5217
  // Fetch address token for map (fire-and-forget, non-blocking)
5215
5218
  this.fetchAddressToken();
@@ -2,6 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
5
+ import { d as defineCustomElement$3 } from './salla-button2.js';
5
6
  import { d as defineCustomElement$2 } from './salla-loading2.js';
6
7
  import { d as defineCustomElement$1 } from './salla-modal2.js';
7
8
 
@@ -374,13 +375,18 @@ function defineCustomElement() {
374
375
  if (typeof customElements === "undefined") {
375
376
  return;
376
377
  }
377
- const components = ["salla-login-modal", "salla-loading", "salla-modal"];
378
+ const components = ["salla-login-modal", "salla-button", "salla-loading", "salla-modal"];
378
379
  components.forEach(tagName => { switch (tagName) {
379
380
  case "salla-login-modal":
380
381
  if (!customElements.get(tagName)) {
381
382
  customElements.define(tagName, SallaLoginModal);
382
383
  }
383
384
  break;
385
+ case "salla-button":
386
+ if (!customElements.get(tagName)) {
387
+ defineCustomElement$3();
388
+ }
389
+ break;
384
390
  case "salla-loading":
385
391
  if (!customElements.get(tagName)) {
386
392
  defineCustomElement$2();
@@ -11,7 +11,8 @@ import { S as SICalendar } from './calendar.js';
11
11
  import { I as IphoneXIcon } from './iphone-x.js';
12
12
  import { S as SILocation } from './location.js';
13
13
  import { S as SIShipping } from './shipping.js';
14
- import { d as defineCustomElement$3 } from './salla-badge2.js';
14
+ import { d as defineCustomElement$4 } from './salla-badge2.js';
15
+ import { d as defineCustomElement$3 } from './salla-button2.js';
15
16
  import { d as defineCustomElement$2 } from './salla-loading2.js';
16
17
  import { d as defineCustomElement$1 } from './salla-modal2.js';
17
18
 
@@ -246,7 +247,7 @@ function defineCustomElement() {
246
247
  if (typeof customElements === "undefined") {
247
248
  return;
248
249
  }
249
- const components = ["salla-loyalty-point", "salla-badge", "salla-loading", "salla-modal"];
250
+ const components = ["salla-loyalty-point", "salla-badge", "salla-button", "salla-loading", "salla-modal"];
250
251
  components.forEach(tagName => { switch (tagName) {
251
252
  case "salla-loyalty-point":
252
253
  if (!customElements.get(tagName)) {
@@ -254,6 +255,11 @@ function defineCustomElement() {
254
255
  }
255
256
  break;
256
257
  case "salla-badge":
258
+ if (!customElements.get(tagName)) {
259
+ defineCustomElement$4();
260
+ }
261
+ break;
262
+ case "salla-button":
257
263
  if (!customElements.get(tagName)) {
258
264
  defineCustomElement$3();
259
265
  }
@@ -4,16 +4,20 @@
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
5
  import { C as Cancel } from './cancel.js';
6
6
  import { A as AlertEngineIcon, C as CheckCircle2 } from './check-circle2.js';
7
+ import { I as IconArrowLeft } from './arrow-left.js';
8
+ import { a as arrowRight } from './arrow-right.js';
7
9
  import { H as Helper } from './Helper.js';
10
+ import { d as defineCustomElement$2 } from './salla-button2.js';
8
11
  import { d as defineCustomElement$1 } from './salla-loading2.js';
9
12
 
10
- const sallaModalCss = "@media screen and (max-width: 470px){.modal-is-open{position:fixed;width:100%}}";
13
+ const sallaModalCss = "@media screen and (max-width: 470px){.modal-is-open{position:fixed;width:100%}}.s-modal-back{position:absolute;top:0.35rem;inset-inline-start:0.35rem;z-index:1;margin:0 !important;line-height:0}.s-modal-back .s-button-element,.s-modal-back .s-button-icon{margin:0 !important}";
11
14
 
12
15
  const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTMLElement {
13
16
  constructor() {
14
17
  super();
15
18
  this.__registerHost();
16
19
  this.modalVisibilityChanged = createEvent(this, "modalVisibilityChanged", 7);
20
+ this.modalBack = createEvent(this, "modalBack", 7);
17
21
  /**
18
22
  * Sets the modal to be closable. Defaults to `true`
19
23
  */
@@ -58,6 +62,10 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
58
62
  * Set the style of the header icon.
59
63
  */
60
64
  this.iconStyle = undefined;
65
+ /**
66
+ * Show a back button in the header corner. Defaults to `false`
67
+ */
68
+ this.showBack = false;
61
69
  salla.event.on('modal::open', target => target == this.host.id && this.open());
62
70
  salla.event.on('modal::close', target => target == this.host.id && this.close());
63
71
  this.modalTitle = this.host.getAttribute('modal-title');
@@ -139,6 +147,9 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
139
147
  salla.event.dispatch('modal::close', { reason });
140
148
  this.host.removeAttribute('visible');
141
149
  }
150
+ handleBack() {
151
+ this.modalBack.emit();
152
+ }
142
153
  iconBlockClasses() {
143
154
  return {
144
155
  's-modal-icon': true,
@@ -151,13 +162,18 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
151
162
  getWidth() {
152
163
  return this.isLoading ? (this.hasSkeleton ? 'md' : 'xs') : this.width;
153
164
  }
165
+ getBackIcon() {
166
+ return document.documentElement.getAttribute('dir') === 'rtl' ? arrowRight : IconArrowLeft;
167
+ }
154
168
  //todo:: pref for each modal
155
169
  render() {
156
170
  this.host.id = this.host.id || 'salla-modal';
157
171
  if (this.isLoading) {
158
172
  return (h(Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog", onKeyUp: e => this.handleKeyUp(e) }, h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal("backdropClick") }), h("div", { class: "s-modal-wrapper" }, h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, h("slot", { name: "loading" }, h("salla-loading", null)), h("div", { class: "s-hidden" }, h("slot", null))))));
159
173
  }
160
- return (h(Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal("backdropClick") }), h("div", { class: "s-modal-wrapper" }, h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, h("div", { class: { 's-modal-header': true, 's-modal-is-center': this.centered } }, this.isClosable ?
174
+ return (h(Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal("backdropClick") }), h("div", { class: "s-modal-wrapper" }, h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding') }, h("div", { class: { 's-modal-header': true, 's-modal-is-center': this.centered } }, this.showBack ?
175
+ h("salla-button", { class: "s-modal-back", shape: "icon", color: "light", size: "medium", "aria-label": "Back", onClick: () => this.handleBack() }, h("span", { innerHTML: this.getBackIcon() }))
176
+ : '', this.isClosable ?
161
177
  h("button", { class: "s-modal-close", onClick: () => this.closeModal("closeButtonClick"), type: "button" }, h("span", { innerHTML: Cancel }))
162
178
  : '', this.modalTitle || this.subTitle ?
163
179
  h("div", { class: "s-modal-header-inner" }, h("slot", { name: 'icon' }, !!this.iconStyle ?
@@ -186,6 +202,7 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
186
202
  "subTitle": [1, "sub-title"],
187
203
  "centered": [4],
188
204
  "iconStyle": [1, "icon-style"],
205
+ "showBack": [516, "show-back"],
189
206
  "modalTitle": [32],
190
207
  "open": [64],
191
208
  "close": [64],
@@ -199,13 +216,18 @@ function defineCustomElement() {
199
216
  if (typeof customElements === "undefined") {
200
217
  return;
201
218
  }
202
- const components = ["salla-modal", "salla-loading"];
219
+ const components = ["salla-modal", "salla-button", "salla-loading"];
203
220
  components.forEach(tagName => { switch (tagName) {
204
221
  case "salla-modal":
205
222
  if (!customElements.get(tagName)) {
206
223
  customElements.define(tagName, SallaModal);
207
224
  }
208
225
  break;
226
+ case "salla-button":
227
+ if (!customElements.get(tagName)) {
228
+ defineCustomElement$2();
229
+ }
230
+ break;
209
231
  case "salla-loading":
210
232
  if (!customElements.get(tagName)) {
211
233
  defineCustomElement$1();
@@ -130,13 +130,17 @@ const SallaOrderOptionsModal = /*@__PURE__*/ proxyCustomElement(class SallaOrder
130
130
  }
131
131
  return pass;
132
132
  }
133
- /** Sum the additional_price of any pre-selected details. */
133
+ /**
134
+ * Sum the per-quantity fee (total_price = additional_price × qty) of any pre-selected details.
135
+ * Uses total_price so the total scales with product quantity; falls back to the per-unit
136
+ * additional_price only when total_price is absent. (CHOD-13172)
137
+ */
134
138
  seedOptionsPrice(orderOptions) {
135
139
  let sum = 0;
136
140
  orderOptions.forEach((opt) => {
137
141
  (opt.details || []).forEach((d) => {
138
142
  if (d.is_selected)
139
- sum += Number(d.additional_price) || 0;
143
+ sum += Number(d.total_price ?? d.additional_price) || 0;
140
144
  });
141
145
  });
142
146
  return sum;
@@ -162,7 +166,8 @@ const SallaOrderOptionsModal = /*@__PURE__*/ proxyCustomElement(class SallaOrder
162
166
  ? await el.getSelectedOptions()
163
167
  : [];
164
168
  (selected || []).forEach((s) => {
165
- selectedPrice += Number(s.additional_price) || 0;
169
+ // total_price already includes the product-quantity multiplier (CHOD-13172).
170
+ selectedPrice += Number(s.total_price ?? s.additional_price) || 0;
166
171
  });
167
172
  }
168
173
  this.liveTotal = this.basePrice + selectedPrice;
@@ -202,16 +207,16 @@ const SallaOrderOptionsModal = /*@__PURE__*/ proxyCustomElement(class SallaOrder
202
207
  // salla.money returns HTML (sicon-sar icon) → render via innerHTML. Round
203
208
  // first so floating-point sum doesn't show as 1174.3799999999999.
204
209
  const totalHtml = salla.money(Math.round(this.liveTotal * 100) / 100);
205
- return (h("salla-modal", { key: 'a7b7c31da2f5fd9f5f3ee601052f84e512368cee', ref: el => (this.modal = el), class: "s-order-options-modal-host", width: "md", "modal-title": this.title, onModalVisibilityChanged: (e) => {
210
+ return (h("salla-modal", { key: 'e84a40e1a27447d58ca5651a7ed76cbcf886495c', ref: el => (this.modal = el), class: "s-order-options-modal-host", width: "md", "modal-title": this.title, onModalVisibilityChanged: (e) => {
206
211
  if (!e.detail)
207
212
  this.handleClose();
208
- } }, h("div", { key: '9a44c4dcec6f0e49a65217b1e1e2cd19ccc80c76', class: "s-order-options-modal-body" }, h("p", { key: '66c41a32e2130db4dc1aa402a31cfd6d519544b3', class: "s-order-options-modal-subtitle" }, this.subtitle), h("div", { key: 'fffe868427973b6426b8a2f8f33f48c017dfb7fb', class: "s-order-options-modal-fields" }, this.orderOptions.length > 0 && (h("salla-product-options", { key: this.sessionId, ref: el => {
213
+ } }, h("div", { key: 'fafa3cdeb22787d4a02f3fc8afb70770e1c3b4b5', class: "s-order-options-modal-body" }, h("p", { key: 'c563c24e1b8744f3248328ec16a18c5a668e7949', class: "s-order-options-modal-subtitle" }, this.subtitle), h("div", { key: '475599cc47435b077d2321573328321888e60aa6', class: "s-order-options-modal-fields" }, this.orderOptions.length > 0 && (h("salla-product-options", { key: this.sessionId, ref: el => {
209
214
  if (!el)
210
215
  return;
211
216
  this.optionsRefs.set('order-options', el);
212
217
  // Without seeding, first multi-select toggle wipes pre-selected defaults.
213
218
  el.seedSelectedOptions?.();
214
- }, "product-id": `order-options-${this.orderOptions[0]?.id}`, "unique-key": "order-options", options: JSON.stringify(this.orderOptions), "hide-out-label": "1", "no-padding": true })))), h("div", { key: '36f3a18380f05a8420d4bc32fa643bf596ac16fb', slot: "footer", class: "s-order-options-modal-footer" }, this.paymentMode === 'apple-pay' ? (h("div", { class: "s-order-options-modal-apple-pay-wrap" }, h("div", { class: "s-order-options-modal-apple-pay-total" }, h("span", { class: "s-order-options-modal-apple-pay-label" }, this.totalLabel), h("span", { class: "s-order-options-modal-apple-pay-amount", innerHTML: totalHtml })), h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', buttonstyle: "black", type: "buy", class: "s-order-options-modal-apple-pay", onClick: () => this.handleSubmit() }))) : (h("salla-button", { type: "button", color: "primary", fill: "solid", width: "wide", loading: this.isSubmitting, onClick: () => this.handleSubmit() }, h("span", { class: "s-order-options-modal-cta-content" }, h("span", { class: "s-order-options-modal-cta-text" }, this.submitLabel), h("span", { class: "s-order-options-modal-cta-total", innerHTML: totalHtml })))))));
219
+ }, "product-id": `order-options-${this.orderOptions[0]?.id}`, "unique-key": "order-options", options: JSON.stringify(this.orderOptions), "hide-out-label": "1", "no-padding": true })))), h("div", { key: 'e00641853937f745c8cc798c7f9e15b389faf540', slot: "footer", class: "s-order-options-modal-footer" }, this.paymentMode === 'apple-pay' ? (h("div", { class: "s-order-options-modal-apple-pay-wrap" }, h("div", { class: "s-order-options-modal-apple-pay-total" }, h("span", { class: "s-order-options-modal-apple-pay-label" }, this.totalLabel), h("span", { class: "s-order-options-modal-apple-pay-amount", innerHTML: totalHtml })), h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', buttonstyle: "black", type: "buy", class: "s-order-options-modal-apple-pay", onClick: () => this.handleSubmit() }))) : (h("salla-button", { type: "button", color: "primary", fill: "solid", width: "wide", loading: this.isSubmitting, onClick: () => this.handleSubmit() }, h("span", { class: "s-order-options-modal-cta-content" }, h("span", { class: "s-order-options-modal-cta-text" }, this.submitLabel), h("span", { class: "s-order-options-modal-cta-total", innerHTML: totalHtml })))))));
215
220
  }
216
221
  get host() { return this; }
217
222
  static get style() { return sallaOrderOptionsModalCss; }
@@ -3,15 +3,9 @@
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
5
5
  import { I as IconArrowLeft } from './arrow-left.js';
6
+ import { a as arrowRight } from './arrow-right.js';
6
7
  import { d as defineCustomElement$1 } from './salla-button2.js';
7
8
 
8
- var arrowRight = `<!-- Generated by IcoMoon.io -->
9
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
10
- <title>arrow-right</title>
11
- <path d="M29.217 15.465c-0.019-0.044-0.056-0.077-0.080-0.119-0.067-0.116-0.139-0.227-0.236-0.317-0.011-0.009-0.013-0.024-0.024-0.033l-10.667-9.333c-0.553-0.484-1.396-0.429-1.881 0.125-0.484 0.555-0.428 1.396 0.127 1.881l7.996 6.997h-20.452c-0.737 0-1.333 0.597-1.333 1.333s0.596 1.333 1.333 1.333h20.452l-7.996 6.997c-0.555 0.485-0.611 1.327-0.127 1.881 0.264 0.3 0.633 0.455 1.004 0.455 0.312 0 0.625-0.109 0.877-0.331l10.667-9.333c0.011-0.009 0.015-0.024 0.024-0.033 0.097-0.091 0.169-0.201 0.236-0.317 0.024-0.041 0.060-0.075 0.080-0.119 0.073-0.163 0.116-0.343 0.116-0.533s-0.043-0.371-0.116-0.535z"></path>
12
- </svg>
13
- `;
14
-
15
9
  const sallaPriceRangeCss = ":host{display:block}.rtl .rtl-range-slider,[dir=rtl] .rtl-range-slider{transform:rotateY(180deg)}.rtl .rtl-range-numbers,[dir=rtl] .rtl-range-numbers{flex-direction:row-reverse}.rtl .form-select,.rtl select,[dir=rtl] .form-select,[dir=rtl] select{background-position:left 0.5rem center;padding-right:12px}.rtl .menu-divide li:not(:last-child):after,[dir=rtl] .menu-divide li:not(:last-child):after{left:0;right:auto}input[type=range]::-webkit-slider-thumb{pointer-events:all;width:24px;height:24px;-webkit-appearance:none}[type=checkbox]:checked{background-size:80%}";
16
10
 
17
11
  const SallaPriceRange = /*@__PURE__*/ proxyCustomElement(class SallaPriceRange extends HTMLElement {
@@ -2,6 +2,7 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
5
+ import { d as defineCustomElement$9 } from './salla-button2.js';
5
6
  import { d as defineCustomElement$8 } from './salla-loading2.js';
6
7
  import { d as defineCustomElement$7 } from './salla-modal2.js';
7
8
  import { d as defineCustomElement$6 } from './salla-placeholder2.js';
@@ -81,13 +82,18 @@ function defineCustomElement$1() {
81
82
  if (typeof customElements === "undefined") {
82
83
  return;
83
84
  }
84
- const components = ["salla-product-size-guide", "salla-loading", "salla-modal", "salla-placeholder", "salla-skeleton", "salla-tab-content", "salla-tab-header", "salla-tabs"];
85
+ const components = ["salla-product-size-guide", "salla-button", "salla-loading", "salla-modal", "salla-placeholder", "salla-skeleton", "salla-tab-content", "salla-tab-header", "salla-tabs"];
85
86
  components.forEach(tagName => { switch (tagName) {
86
87
  case "salla-product-size-guide":
87
88
  if (!customElements.get(tagName)) {
88
89
  customElements.define(tagName, SallaProductSizeGuide$1);
89
90
  }
90
91
  break;
92
+ case "salla-button":
93
+ if (!customElements.get(tagName)) {
94
+ defineCustomElement$9();
95
+ }
96
+ break;
91
97
  case "salla-loading":
92
98
  if (!customElements.get(tagName)) {
93
99
  defineCustomElement$8();
@@ -9,6 +9,7 @@ import { W as WishListIcon } from './star.js';
9
9
  import { C as Cancel } from './cancel.js';
10
10
  import { R as Rate } from './star2.js';
11
11
  import { l as loyaltyProgramIcon } from './gift.js';
12
+ import { d as defineCustomElement$5 } from './salla-button2.js';
12
13
  import { d as defineCustomElement$4 } from './salla-loading2.js';
13
14
  import { d as defineCustomElement$3 } from './salla-login-modal2.js';
14
15
  import { d as defineCustomElement$2 } from './salla-modal2.js';
@@ -350,13 +351,18 @@ function defineCustomElement$1() {
350
351
  if (typeof customElements === "undefined") {
351
352
  return;
352
353
  }
353
- const components = ["salla-user-menu", "salla-loading", "salla-login-modal", "salla-modal"];
354
+ const components = ["salla-user-menu", "salla-button", "salla-loading", "salla-login-modal", "salla-modal"];
354
355
  components.forEach(tagName => { switch (tagName) {
355
356
  case "salla-user-menu":
356
357
  if (!customElements.get(tagName)) {
357
358
  customElements.define(tagName, SallaUserMenu$1);
358
359
  }
359
360
  break;
361
+ case "salla-button":
362
+ if (!customElements.get(tagName)) {
363
+ defineCustomElement$5();
364
+ }
365
+ break;
360
366
  case "salla-loading":
361
367
  if (!customElements.get(tagName)) {
362
368
  defineCustomElement$4();