@salla.sa/twilight-components 2.14.475 → 2.14.476

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 (347) hide show
  1. package/dist/cjs/{filepond-CCDcLMJG.js → filepond-CJ-ohhaG.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-Dv1iTut9.js → filepond-plugin-file-poster-DEg147-W.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CvGFV0Fy.js → filepond-plugin-file-validate-size-Cd9ZtF22.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BA7LgQgR.js → filepond-plugin-file-validate-type-Kse5TjAn.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-COOD9fMI.js → filepond-plugin-image-edit-DRgtgiQH.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-CoTDjMfx.js → filepond-plugin-image-exif-orientation-B6a2oJcX.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-w1azXYdm.js → filepond-plugin-image-preview-UbYGoPcJ.js} +1 -1
  8. package/dist/cjs/{functions-EwUKSxdM.js → functions-lMzyaZ1L.js} +1 -1
  9. package/dist/cjs/{index-Ct9HgIyS.js → index-CvkzTFUU.js} +2 -2
  10. package/dist/cjs/{index-b6aVLc9i.js → index-DbSdIHzI.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +18 -2
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +19 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-scopes.cjs.entry.js +25 -6
  85. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  100. package/dist/cjs/{tracked-promise-C4Tvqvi9.js → tracked-promise-ChTKDERU.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +1 -1
  102. package/dist/cjs/{vanilla-picker-2UXFqn4t.js → vanilla-picker-ClhLWTOR.js} +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +17 -1
  104. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +18 -1
  105. package/dist/collection/components/salla-scopes/salla-scopes.js +24 -5
  106. package/dist/collection/components/salla-search/salla-search.js +5 -5
  107. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  108. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  109. package/dist/collection/components/salla-social/salla-social.js +1 -1
  110. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  111. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  112. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  113. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  114. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  115. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  116. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -1
  117. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  118. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  119. package/dist/components/index.js +2 -2
  120. package/dist/components/salla-cart-summary.js +17 -1
  121. package/dist/components/salla-localization-modal.js +18 -1
  122. package/dist/components/salla-scopes.js +24 -5
  123. package/dist/components/salla-search.js +5 -5
  124. package/dist/components/salla-searchable-dropdown2.js +4 -4
  125. package/dist/components/salla-skeleton2.js +1 -1
  126. package/dist/components/salla-social-share2.js +1 -1
  127. package/dist/components/salla-social.js +1 -1
  128. package/dist/components/salla-tab-content2.js +1 -1
  129. package/dist/components/salla-tab-header2.js +1 -1
  130. package/dist/components/salla-tabs2.js +1 -1
  131. package/dist/components/salla-tel-input2.js +1 -1
  132. package/dist/components/salla-tooltip2.js +1 -1
  133. package/dist/components/salla-trust-badges.js +1 -1
  134. package/dist/components/salla-user-settings.js +1 -1
  135. package/dist/components/salla-wishlist-actions.js +1 -1
  136. package/dist/esm/{filepond-Dkgdn6NP.js → filepond-CI5IhawK.js} +1 -1
  137. package/dist/esm/{filepond-plugin-file-poster-H_Uehrm-.js → filepond-plugin-file-poster-Br3XP08y.js} +1 -1
  138. package/dist/esm/{filepond-plugin-file-validate-size-DGahL5WO.js → filepond-plugin-file-validate-size-evoB_lus.js} +1 -1
  139. package/dist/esm/{filepond-plugin-file-validate-type-BXAhWg72.js → filepond-plugin-file-validate-type-DINMO_PM.js} +1 -1
  140. package/dist/esm/{filepond-plugin-image-edit-CTk7VerB.js → filepond-plugin-image-edit-BezFD6qn.js} +1 -1
  141. package/dist/esm/{filepond-plugin-image-exif-orientation-DDs-wuhx.js → filepond-plugin-image-exif-orientation-DpQFMoWn.js} +1 -1
  142. package/dist/esm/{filepond-plugin-image-preview-DGDPjluB.js → filepond-plugin-image-preview-COAzYcXw.js} +1 -1
  143. package/dist/esm/{functions-CWE4HPyq.js → functions-DRBXCFuf.js} +1 -1
  144. package/dist/esm/{index-D-UuXsoI.js → index-CCmkpaUr.js} +2 -2
  145. package/dist/esm/{index-Ct8EQ1Xr.js → index-Cbv5qmRi.js} +1 -1
  146. package/dist/esm/loader.js +2 -2
  147. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  148. package/dist/esm/salla-accordion_6.entry.js +1 -1
  149. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  150. package/dist/esm/salla-advertisement.entry.js +1 -1
  151. package/dist/esm/salla-alert_2.entry.js +1 -1
  152. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  153. package/dist/esm/salla-apps-icons.entry.js +1 -1
  154. package/dist/esm/salla-badge.entry.js +1 -1
  155. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  156. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  157. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  158. package/dist/esm/salla-cart-item-offers_2.entry.js +18 -2
  159. package/dist/esm/salla-cashback-banner.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.entry.js +1 -1
  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 +19 -2
  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-hero_2.entry.js +2 -2
  180. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  181. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  182. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  183. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  184. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  185. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  186. package/dist/esm/salla-loyalty.entry.js +1 -1
  187. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  188. package/dist/esm/salla-map_2.entry.js +1 -1
  189. package/dist/esm/salla-menu.entry.js +1 -1
  190. package/dist/esm/salla-metadata.entry.js +1 -1
  191. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  192. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  193. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  194. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  195. package/dist/esm/salla-notification-item.entry.js +1 -1
  196. package/dist/esm/salla-notifications.entry.js +1 -1
  197. package/dist/esm/salla-offer-modal.entry.js +1 -1
  198. package/dist/esm/salla-offer.entry.js +1 -1
  199. package/dist/esm/salla-order-branch.entry.js +1 -1
  200. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  201. package/dist/esm/salla-order-details-options.entry.js +1 -1
  202. package/dist/esm/salla-order-details.entry.js +1 -1
  203. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  204. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  205. package/dist/esm/salla-order-edit.entry.js +1 -1
  206. package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
  207. package/dist/esm/salla-order-summary.entry.js +1 -1
  208. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  209. package/dist/esm/salla-orders.entry.js +1 -1
  210. package/dist/esm/salla-payments.entry.js +1 -1
  211. package/dist/esm/salla-placeholder.entry.js +1 -1
  212. package/dist/esm/salla-price-range.entry.js +1 -1
  213. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  214. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  215. package/dist/esm/salla-products-list.entry.js +1 -1
  216. package/dist/esm/salla-quick-order.entry.js +1 -1
  217. package/dist/esm/salla-rating-modal.entry.js +1 -1
  218. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  219. package/dist/esm/salla-scopes.entry.js +25 -6
  220. package/dist/esm/salla-search.entry.js +6 -6
  221. package/dist/esm/salla-skeleton.entry.js +2 -2
  222. package/dist/esm/salla-slider.entry.js +1 -1
  223. package/dist/esm/salla-social-share.entry.js +2 -2
  224. package/dist/esm/salla-social.entry.js +2 -2
  225. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  226. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  227. package/dist/esm/salla-tooltip.entry.js +2 -2
  228. package/dist/esm/salla-trust-badges.entry.js +2 -2
  229. package/dist/esm/salla-user-menu.entry.js +1 -1
  230. package/dist/esm/salla-user-profile.entry.js +1 -1
  231. package/dist/esm/salla-user-settings.entry.js +2 -2
  232. package/dist/esm/salla-verify.entry.js +1 -1
  233. package/dist/esm/salla-wallet.entry.js +1 -1
  234. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  235. package/dist/esm/{tracked-promise-r7OIxu9g.js → tracked-promise-BeB1W9ZQ.js} +1 -1
  236. package/dist/esm/twilight.js +2 -2
  237. package/dist/esm/{vanilla-picker-eIDpMDr5.js → vanilla-picker-Bs4N6Pj2.js} +1 -1
  238. package/dist/twilight/{p-8e191abf.entry.js → p-039eadab.entry.js} +1 -1
  239. package/dist/twilight/{p-993ff2a4.entry.js → p-07a45122.entry.js} +1 -1
  240. package/dist/twilight/{p-9f1629cf.entry.js → p-0cffb95f.entry.js} +1 -1
  241. package/dist/twilight/{p-4aa2ac31.entry.js → p-101a336e.entry.js} +1 -1
  242. package/dist/twilight/{p-c1f47188.entry.js → p-1777e8cf.entry.js} +1 -1
  243. package/dist/twilight/p-181cac59.entry.js +4 -0
  244. package/dist/twilight/{p-bd202079.entry.js → p-1e189138.entry.js} +1 -1
  245. package/dist/twilight/{p-e32206b6.entry.js → p-20b5e26a.entry.js} +1 -1
  246. package/dist/twilight/{p-0a2e2520.entry.js → p-21d8849a.entry.js} +1 -1
  247. package/dist/twilight/{p-2dc58d76.entry.js → p-240c246f.entry.js} +1 -1
  248. package/dist/twilight/{p-c437bb1f.entry.js → p-26146e88.entry.js} +1 -1
  249. package/dist/twilight/{p-1cacc3b5.entry.js → p-2ba4c828.entry.js} +1 -1
  250. package/dist/twilight/{p-156750a1.entry.js → p-2bb4bb3f.entry.js} +1 -1
  251. package/dist/twilight/{p-f7a929a4.entry.js → p-2ebb5fd5.entry.js} +1 -1
  252. package/dist/twilight/{p-f2ec2e13.entry.js → p-2ed22900.entry.js} +1 -1
  253. package/dist/twilight/{p-ecf0a71c.entry.js → p-33bd4967.entry.js} +1 -1
  254. package/dist/twilight/{p-a61a86e1.entry.js → p-34665b64.entry.js} +1 -1
  255. package/dist/twilight/{p-68dec776.entry.js → p-394ffd54.entry.js} +1 -1
  256. package/dist/twilight/{p-dabf811b.entry.js → p-43265b28.entry.js} +1 -1
  257. package/dist/twilight/{p-61841a17.entry.js → p-49ff092f.entry.js} +1 -1
  258. package/dist/twilight/{p-dfae005d.entry.js → p-4b1603e1.entry.js} +1 -1
  259. package/dist/twilight/{p-d876ad8f.entry.js → p-4ba215e9.entry.js} +1 -1
  260. package/dist/twilight/{p-8409b888.entry.js → p-4c5cebdc.entry.js} +1 -1
  261. package/dist/twilight/{p-1623ffb3.entry.js → p-5280ac1a.entry.js} +1 -1
  262. package/dist/twilight/{p-4d8f6357.entry.js → p-52f364c5.entry.js} +1 -1
  263. package/dist/twilight/{p-e2d4ce2b.entry.js → p-53e247f7.entry.js} +1 -1
  264. package/dist/twilight/{p-fd22a89d.entry.js → p-575f3be3.entry.js} +1 -1
  265. package/dist/twilight/{p-f7a8baa1.entry.js → p-5d0bf892.entry.js} +1 -1
  266. package/dist/twilight/{p-baf7bed1.entry.js → p-5d15dc88.entry.js} +1 -1
  267. package/dist/twilight/{p-76f87b81.entry.js → p-5d2d2f9c.entry.js} +1 -1
  268. package/dist/twilight/{p-4720206a.entry.js → p-5ee85309.entry.js} +1 -1
  269. package/dist/twilight/{p-60aac9a8.entry.js → p-639e4dcc.entry.js} +1 -1
  270. package/dist/twilight/{p-55179340.entry.js → p-63cbc37e.entry.js} +1 -1
  271. package/dist/twilight/{p-95aeb406.entry.js → p-64d12607.entry.js} +1 -1
  272. package/dist/twilight/{p-d0db9122.entry.js → p-64f43db0.entry.js} +1 -1
  273. package/dist/twilight/{p-7e2911c0.entry.js → p-67391111.entry.js} +1 -1
  274. package/dist/twilight/{p-bcd8b556.entry.js → p-67ca7c30.entry.js} +1 -1
  275. package/dist/twilight/{p-4281df04.entry.js → p-6e0c8680.entry.js} +1 -1
  276. package/dist/twilight/{p-e94a4136.entry.js → p-75b6878c.entry.js} +1 -1
  277. package/dist/twilight/p-762336bc.entry.js +4 -0
  278. package/dist/twilight/{p-b1f04f5f.entry.js → p-79392bfc.entry.js} +1 -1
  279. package/dist/twilight/{p-98cc5c65.entry.js → p-80961ab7.entry.js} +1 -1
  280. package/dist/twilight/{p-ad491d49.entry.js → p-828ef579.entry.js} +1 -1
  281. package/dist/twilight/{p-acedd224.entry.js → p-8503018c.entry.js} +1 -1
  282. package/dist/twilight/{p-d298dad8.entry.js → p-85e1e3a0.entry.js} +1 -1
  283. package/dist/twilight/{p-ffe1ffca.entry.js → p-8ea37098.entry.js} +1 -1
  284. package/dist/twilight/p-9070f24e.entry.js +4 -0
  285. package/dist/twilight/{p-1c5fe5a0.entry.js → p-91048b10.entry.js} +1 -1
  286. package/dist/twilight/{p-d473f745.entry.js → p-93063769.entry.js} +1 -1
  287. package/dist/twilight/{p-4a011968.entry.js → p-935eaeee.entry.js} +1 -1
  288. package/dist/twilight/{p-d3f2e0fe.entry.js → p-958c0578.entry.js} +1 -1
  289. package/dist/twilight/{p-498c5eb6.entry.js → p-990afbbd.entry.js} +1 -1
  290. package/dist/twilight/{p-876d87c3.entry.js → p-9b137fc1.entry.js} +1 -1
  291. package/dist/twilight/{p-fe66a432.entry.js → p-9f924f46.entry.js} +1 -1
  292. package/dist/twilight/{p-2uzvdhCR.js → p-BRd7Uttn.js} +1 -1
  293. package/dist/twilight/{p-BWmPIvBR.js → p-BpTzhiML.js} +1 -1
  294. package/dist/twilight/{p-BFVxMN0g.js → p-CCIAKfEz.js} +1 -1
  295. package/dist/twilight/{p-D-UuXsoI.js → p-CCmkpaUr.js} +1 -1
  296. package/dist/twilight/{p-DLb1HLym.js → p-CRXgfxZz.js} +1 -1
  297. package/dist/twilight/{p-BWwfPF82.js → p-CbUMLp_K.js} +1 -1
  298. package/dist/twilight/{p-oqlVgxRO.js → p-D2k9qKuv.js} +1 -1
  299. package/dist/twilight/{p-uqeFRSpe.js → p-Dn4aj2-G.js} +1 -1
  300. package/dist/twilight/{p-DSm41XCS.js → p-Dn4zZcaL.js} +1 -1
  301. package/dist/twilight/{p-D0K_8IHl.js → p-DqwP04u2.js} +1 -1
  302. package/dist/twilight/{p-CWXc9uPh.js → p-XVDeaVNt.js} +1 -1
  303. package/dist/twilight/{p-87bf9020.entry.js → p-a3f43f0c.entry.js} +1 -1
  304. package/dist/twilight/{p-049a6d23.entry.js → p-ac4d2fda.entry.js} +1 -1
  305. package/dist/twilight/{p-0e6aa1ae.entry.js → p-b12bb5de.entry.js} +1 -1
  306. package/dist/twilight/{p-694f01bc.entry.js → p-b4769ff3.entry.js} +1 -1
  307. package/dist/twilight/{p-586e7206.entry.js → p-b7225165.entry.js} +1 -1
  308. package/dist/twilight/{p-ec3c0f42.entry.js → p-b7ef118c.entry.js} +2 -2
  309. package/dist/twilight/{p-cb2245f8.entry.js → p-b8b84400.entry.js} +1 -1
  310. package/dist/twilight/{p-9d094e8b.entry.js → p-be1143ce.entry.js} +1 -1
  311. package/dist/twilight/{p-db1b868f.entry.js → p-bf8b1264.entry.js} +1 -1
  312. package/dist/twilight/{p-c38628d5.entry.js → p-c4548a08.entry.js} +1 -1
  313. package/dist/twilight/{p-45feb58a.entry.js → p-c598e4ad.entry.js} +1 -1
  314. package/dist/twilight/{p-14926610.entry.js → p-c6b00d42.entry.js} +1 -1
  315. package/dist/twilight/{p-39ea942a.entry.js → p-c726eb0c.entry.js} +1 -1
  316. package/dist/twilight/{p-b39326c4.entry.js → p-cb13109f.entry.js} +1 -1
  317. package/dist/twilight/{p-6be36db2.entry.js → p-cd43186a.entry.js} +1 -1
  318. package/dist/twilight/{p-8a80c206.entry.js → p-ce96edb8.entry.js} +1 -1
  319. package/dist/twilight/{p-71b5eae7.entry.js → p-d8e62777.entry.js} +1 -1
  320. package/dist/twilight/{p-6e420513.entry.js → p-db1a17f6.entry.js} +1 -1
  321. package/dist/twilight/{p-3bf8c0b9.entry.js → p-df6bb4de.entry.js} +1 -1
  322. package/dist/twilight/{p-28031c0a.entry.js → p-e0b35b22.entry.js} +1 -1
  323. package/dist/twilight/{p-88fa51f9.entry.js → p-e21d39fe.entry.js} +1 -1
  324. package/dist/twilight/{p-9b2a7c8b.entry.js → p-e61c518b.entry.js} +1 -1
  325. package/dist/twilight/{p-c6bf6315.entry.js → p-e8ba458c.entry.js} +1 -1
  326. package/dist/twilight/{p-a1484116.entry.js → p-ec0cf9b1.entry.js} +1 -1
  327. package/dist/twilight/{p-a9c38076.entry.js → p-ec55b19d.entry.js} +1 -1
  328. package/dist/twilight/{p-b8c2cd7f.entry.js → p-f1f8b22c.entry.js} +1 -1
  329. package/dist/twilight/{p-796ab099.entry.js → p-f512d962.entry.js} +1 -1
  330. package/dist/twilight/p-f6bdf794.entry.js +4 -0
  331. package/dist/twilight/{p-75b68774.entry.js → p-fceb9538.entry.js} +1 -1
  332. package/dist/twilight/p-fd08f948.entry.js +4 -0
  333. package/dist/twilight/{p-7610c9ee.entry.js → p-fd434f3d.entry.js} +1 -1
  334. package/dist/twilight/{p-a68f29d9.entry.js → p-fdeb9fff.entry.js} +1 -1
  335. package/dist/twilight/{p-7b9a7ad1.entry.js → p-fe06c38a.entry.js} +1 -1
  336. package/dist/twilight/{p-572bc95c.entry.js → p-fecf9d4d.entry.js} +1 -1
  337. package/dist/twilight/{p-CqyL_YYQ.js → p-nN-08mtR.js} +1 -1
  338. package/dist/twilight/twilight.esm.js +1 -1
  339. package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +8 -0
  340. package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +6 -0
  341. package/dist/types/components/salla-scopes/salla-scopes.d.ts +8 -0
  342. package/package.json +5 -5
  343. package/dist/twilight/p-46cf2273.entry.js +0 -4
  344. package/dist/twilight/p-869657bf.entry.js +0 -4
  345. package/dist/twilight/p-8dd0efeb.entry.js +0 -4
  346. package/dist/twilight/p-c49052d7.entry.js +0 -4
  347. package/dist/twilight/p-c6bd4bde.entry.js +0 -4
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
7
- var functions = require('./functions-EwUKSxdM.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
+ var functions = require('./functions-lMzyaZ1L.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
 
10
10
  const sallaLoyaltyProgramCss = "";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var cancel = require('./cancel-B5SbMYEk.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var cancel = require('./cancel-B5SbMYEk.js');
8
8
 
9
9
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var location = require('./location-DIyESLuI.js');
8
8
 
9
9
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaMenuCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaMetadataCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaMultipleBundleProductCartCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaMultipleBundleProductCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var tagMoney = require('./tag-money-Cuohw_4j.js');
8
8
  var swapStroke = require('./swap-stroke-CYGxjKIS.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaNotificationsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var Helper = require('./Helper-CgGR9Qf8.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
8
  var tag = require('./tag-D-PcUR33.js');
9
9
  var cart2 = require('./cart2-B98PSAFN.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  var PageType;
9
9
  (function (PageType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  function parseMaybeJson(value, fallback) {
9
9
  if (typeof value !== 'string') {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaOrderDetailsMultipleBundleProductCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  var copyIcon = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaOrderDetailsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var helpers = require('./helpers-BJ2rnhxz.js');
8
8
  require('./interfaces-Bh7W0bEU.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var helpers = require('./helpers-BJ2rnhxz.js');
8
8
  require('./interfaces-Bh7W0bEU.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var Helper = require('./Helper-CgGR9Qf8.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var swapStroke = require('./swap-stroke-CYGxjKIS.js');
8
8
  var check = require('./check-BnVBPQNp.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaOrderTotalsCardCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var Helper = require('./Helper-CgGR9Qf8.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaPaymentsCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  var Inbox = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
9
  var Helper = require('./Helper-CgGR9Qf8.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var iphoneX = require('./iphone-x-qC21wCLj.js');
8
8
  var mail = require('./mail-C9D8MHae.js');
9
9
  var cancel = require('./cancel-B5SbMYEk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var star = require('./star-DGcH7Yso.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var Helper = require('./Helper-CgGR9Qf8.js');
@@ -3,13 +3,13 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
7
- var functions = require('./functions-EwUKSxdM.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
+ var functions = require('./functions-lMzyaZ1L.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
  var tag = require('./tag-D-PcUR33.js');
10
10
  var check = require('./check-BnVBPQNp.js');
11
11
  var cancel = require('./cancel-B5SbMYEk.js');
12
- var trackedPromise = require('./tracked-promise-C4Tvqvi9.js');
12
+ var trackedPromise = require('./tracked-promise-ChTKDERU.js');
13
13
 
14
14
  const sallaLoyaltyProgramCss$3 = "";
15
15
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
 
9
9
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -55,13 +55,23 @@ const SallaScopees = class {
55
55
  }
56
56
  return salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
57
57
  };
58
- salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
58
+ salla.event.on('scopes::open', ({ mode = null, product_id = null } = {}) => {
59
59
  this.open(mode, product_id);
60
60
  });
61
61
  salla.lang.onLoaded(() => {
62
62
  this.translationLoaded = true;
63
63
  });
64
64
  }
65
+ /**
66
+ * Whether to hand scope selection to the native app instead of rendering the web modal.
67
+ * NEW, opt-in override gated on `theme.is_spa_webview`: only the SPA webview delegates the scope
68
+ * sheet to native — existing mobile apps keep the web modal, so this is not a breaking change.
69
+ * Still require the bridge to be live so a shell that can't handle it degrades gracefully to the
70
+ * web modal rather than leaving scope selection with no UI at all.
71
+ */
72
+ get isNativeApp() {
73
+ return !!salla.config.get('theme.is_spa_webview') && !!salla.mobile?.isEnabled?.();
74
+ }
65
75
  /**
66
76
  * Closes the scope modal.
67
77
  */
@@ -72,6 +82,12 @@ const SallaScopees = class {
72
82
  * Opens the scope modal.
73
83
  */
74
84
  async open(mode = ModeType.DEFAULT, product_id = null) {
85
+ // Inside a native app the shell owns the scope sheet: hand off to it and skip the web modal entirely.
86
+ if (this.isNativeApp) {
87
+ salla.log('SallaScope:: delegated open to native app');
88
+ salla.mobile?.openScopes?.();
89
+ return;
90
+ }
75
91
  this.hasError = false;
76
92
  this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
77
93
  this.loading = !this.loadedScopes[this.mode];
@@ -160,7 +176,10 @@ const SallaScopees = class {
160
176
  return salla.onReady();
161
177
  }
162
178
  render() {
163
- return (index.h(index.Host, { key: 'a7571c852749d4449b42e2c12d5597f6aded1f7f' }, index.h("salla-modal", { key: '48846fbac890e05c0deabe74138ad929a14796fb', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
179
+ // Native app renders its own scope sheet; keep the web component out of the DOM.
180
+ if (this.isNativeApp)
181
+ return null;
182
+ return (index.h(index.Host, null, index.h("salla-modal", { ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
164
183
  index.h("div", { slot: "loading" }, index.h("div", { class: "s-scopes-skeleton" }, index.h("salla-list-tile", { class: "s-scopes-header" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon" }, index.h("salla-skeleton", { type: "circle" })), index.h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, index.h("salla-skeleton", { height: '15px', width: '50%' })), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, index.h("salla-skeleton", { height: '10px' }), index.h("salla-skeleton", { height: '10px', width: '75%' }))), index.h("div", { class: "s-scopes-skeleton-search" }, index.h("salla-skeleton", { height: '10px', width: '50%' }), index.h("salla-skeleton", { height: '30px', width: '100%' })), index.h("div", { class: "s-scopes-skeleton-scopes" }, index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' })), index.h("div", { class: "s-scopes-skeleton-btn" }, index.h("salla-skeleton", { height: '40px', width: '100%' }))))
165
184
  :
166
185
  [index.h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), index.h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), index.h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && index.h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
@@ -171,9 +190,9 @@ const SallaScopees = class {
171
190
  }
172
191
  async componentDidLoad() {
173
192
  await Salla.hooks.registerComponent('salla-scopes', this);
174
- // * Note: Do not auto open scopes modal in mobile app
175
- const isMobileApp = salla.config.isMobileApp();
176
- if (isMobileApp)
193
+ // * Note: don't auto-pop the web modal in any native context — the modern shell owns the
194
+ // sheet (isNativeApp), and legacy shells (isMobileApp, no bridge) historically suppressed it too.
195
+ if (salla.config.isMobileApp() || this.isNativeApp)
177
196
  return;
178
197
  if (!this.isOpenedBefore && this.selection == 'mandatory') {
179
198
  this.open();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
  var Helper = require('./Helper-CgGR9Qf8.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -131,10 +131,10 @@ const SallaSearch = class {
131
131
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
132
132
  }
133
133
  render() {
134
- const searchContent = (index.h("div", { key: 'd7668846b013b4e8c9617193cd7457a585733960', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: '7850ee638ab8dbe416be4fa7bd5601d821802776', class: "s-search-input-wrapper" }, index.h("span", { key: '09bfde1658f27487458076cb91954e530f91c8be', class: "s-search-icon-wrap" }, index.h("span", { key: '547eb4e1efba4bc1e46ce9a28816f4d39b26f638', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.h("input", { key: '2be7d24d980cbb37ee50c389ab03e8fa67eb3973', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
134
+ const searchContent = (index.h("div", { key: 'ca8dec5eb90cd0893a1a3364df34ba0ee4d60891', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: '212f8180ecca220a8b89231311dec6cdf3ef0b06', class: "s-search-input-wrapper" }, index.h("span", { key: '51fb0f9a2e342afd35eb82b57f55471aa9e1519f', class: "s-search-icon-wrap" }, index.h("span", { key: 'e75117068c51c6d200e8e20fa0f00ca02ed0c61d', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.h("input", { key: '442b1704b75a33e8c9e02da8200151a1d8e8db72', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
135
135
  height: this.height + 'px',
136
136
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
137
- } }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: 'fb09f6adaf9c4d9b798a6c10e45c446c306f0d37', class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
137
+ } }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: 'f3b40ce4ec24678f6d8421f3da8ac9e1bd631c3a', class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
138
138
  's-search-product': true,
139
139
  's-search-product-not-available': !product.is_available,
140
140
  }, innerHTML: this.productSlot
@@ -143,9 +143,9 @@ const SallaSearch = class {
143
143
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
144
144
  ? salla.money(product.regular_price)
145
145
  : '')
146
- .replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: '7f81403f86aeddca49b39ca84750a7f148416e51', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
147
- const modalContent = (index.h("salla-modal", { key: '75909547a855ed368527746c0d342309b6b1b656', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
148
- const placeholderContent = (index.h("div", { key: '480110779039e31eb43a5cfb321ca3a53d36d986', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: 'ef5e5f05279cb5324f9981e6a73a926f36a28317', class: "s-search-input-wrapper" }, index.h("span", { key: 'def894edb583c66b66abde7b54602da821fe10ee', class: "s-search-icon-wrap" }, index.h("span", { key: '6d38ace3c0cc4bc98d9a87b0b558187ba82f57e3', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: 'ff4ebaeb0eb6315121cd5927784783f34ee174fc', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
146
+ .replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: 'fdbb21061c599a59c6d828eec80e8d591a708cca', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
147
+ const modalContent = (index.h("salla-modal", { key: 'ca90aea3fb92d1ba7d8270c26e2ecd82d5018784', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
148
+ const placeholderContent = (index.h("div", { key: '73333ce51cabadc4963a9fe9d1372bb7d63925c8', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: '77a66e9bba504557160c8c50d91f1216cc68f253', class: "s-search-input-wrapper" }, index.h("span", { key: '18fb5ce6e3e72874e76dd1ef2c6db8718a68f778', class: "s-search-icon-wrap" }, index.h("span", { key: '63b9e9af1c51647df734cc4d5cf7a825b922ce38', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: 'b70169ed2d80ec2ad6b09952ad104824610212df', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
149
149
  height: this.height + 'px',
150
150
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
151
151
  } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaSkeletonCss = ":host{display:block}";
9
9
 
@@ -28,7 +28,7 @@ const SallaSkeleton = class {
28
28
  's-skeleton-item': true,
29
29
  's-skeleton-item-circular': this.type == 'circle',
30
30
  };
31
- return (index.h(index.Host, { key: '9f9448d939ba69f60eca8dc6ea2ff98a047d6770', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '3b43bb472316b5541a90081a5f3cb6ef91558212', class: classes }, "\u00A0")));
31
+ return (index.h(index.Host, { key: '7b36da96585cfefe9aa96df6262be14f6a03c585', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '568ae1bc0aeae182bb32468b19601c0245e9617d', class: classes }, "\u00A0")));
32
32
  }
33
33
  };
34
34
  SallaSkeleton.style = sallaSkeletonCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  /**
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var facebook = require('./facebook-DbXua6B9.js');
9
9
  var mail = require('./mail-C9D8MHae.js');
@@ -373,7 +373,7 @@ const SallaSocialShare = class {
373
373
  })));
374
374
  }
375
375
  render() {
376
- return (index.h("div", { key: '3efc177a91c23e62773bb6548494df7a774676c6', class: "s-social-share-wrapper" }, index.h("slot", { key: 'b02b4ddb6b04289ef2a8e73db50ea95a5256cf62', name: "widget" }, index.h("salla-button", { key: '397c35a10d593bdc6cda6a655b4a1eec93c77c63', "aria-label": "Share", onClick: () => this.toggle(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '959e6d599cc3bd5c1a77943153317fe5a1ece5f2', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
376
+ return (index.h("div", { key: 'e934ffb94fea491d445e62f26fcf98914ff0a399', class: "s-social-share-wrapper" }, index.h("slot", { key: '8dbf4a0c3fb6fb17a0a7c32ace57b357708c0678', name: "widget" }, index.h("salla-button", { key: 'eb6459bc99d4587bbfc6c0399003a2860d6992b0', "aria-label": "Share", onClick: () => this.toggle(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '3394f64755bd0bc07839b1a513f5459c8258f096', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
377
377
  }
378
378
  get host() { return index.getElement(this); }
379
379
  static get watchers() { return {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -57,7 +57,7 @@ const SallaSocial = class {
57
57
  }
58
58
  render() {
59
59
  const linksArray = this.getLinksArray();
60
- return (index.h(index.Host, { key: '27639596a37f52686c1ac4b1a825fa143747216c' }, index.h("ul", { key: '9f6a6c96fe124fda09d2b879e3825ef73ec29c2c', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
60
+ return (index.h(index.Host, { key: 'e7d69dbae46ef54588471875ada751103d14d393' }, index.h("ul", { key: 'ff4b15127e6664cca17fa7f6f49e4cda25829d74', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
61
61
  .replace(/\{icon\}/g, this.iconsList[link.type])
62
62
  .replace(/\{type\}/g, link.type)
63
63
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -33,7 +33,7 @@ const SallaTabContent = class {
33
33
  's-tabs-content': true,
34
34
  's-tabs-content-selected': this.isSelected
35
35
  };
36
- return (index.h("div", { key: 'ef2a7a6b75062126dbac4fc53105ca6dc5ab4728', class: classes }, index.h("slot", { key: '89a592a2842153c6f55b33b3316d89a05cc3a0a3' })));
36
+ return (index.h("div", { key: 'f5cfa9676bc8314149cb78e103b9ef580c0d7559', class: classes }, index.h("slot", { key: '1b86591377c09f1acb25cda20024b3af9c6a874d' })));
37
37
  }
38
38
  };
39
39
  SallaTabContent.style = sallaTabContentCss;
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
92
92
  's-tabs-active': this.isSelected,
93
93
  };
94
94
  return [
95
- index.h("div", { key: 'b4dcb10997ec9ed5ff1bbbdac8bca1a3ad444c58', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: 'a559305d89f33a69ea46037f07bb4ac0c4ba9ea0' })),
95
+ index.h("div", { key: 'a9548ed2a74d30e6fcf365dbe26aa5f7fdab2468', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '547edd40aab5843c6035bd3c36a34d9449dc12d3' })),
96
96
  ];
97
97
  }
98
98
  };
@@ -145,7 +145,7 @@ const SallaTabs = class {
145
145
  }
146
146
  render() {
147
147
  return [
148
- index.h("div", { key: 'd737bf1fc954f100895a60c1792af417b5f9cfeb', class: "s-tabs" }, index.h("div", { key: '6c0eb84f5729076d71704ab0163705c890925c1d', class: "s-tabs-header" }, index.h("slot", { key: 'cee0bf016128d3fb81c0fe495dfe0f1efaa38eb9', name: "header" })), index.h("div", { key: 'f9c85830bbddfa7ca1ac4c99cdc6428636c25020', class: "s-tabs-content-wrapper" }, index.h("slot", { key: 'd4c9c98cc5510619c0b13acc95518cd4bd647372', name: "content" })))
148
+ index.h("div", { key: 'e9054cb114c2bd66940b6afa98d7c7c230353a74', class: "s-tabs" }, index.h("div", { key: 'd245f64aef9b7fd77c9c51eb1d86ddfd9202e5fb', class: "s-tabs-header" }, index.h("slot", { key: 'f1b9a982cd746d637db5d514cb691f188af0cb7e', name: "header" })), index.h("div", { key: '0ba8441707b087a8c4d068b1a72bf10c8efb41cc', class: "s-tabs-content-wrapper" }, index.h("slot", { key: 'afcee28724a5a9ce263fcc3a38d624a631069945', name: "content" })))
149
149
  ];
150
150
  }
151
151
  get host() { return index.getElement(this); }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ct9HgIyS.js');
6
+ var index = require('./index-CvkzTFUU.js');
7
7
 
8
8
  const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
9
9
 
@@ -33,7 +33,7 @@ const SallaTooltip = class {
33
33
  }
34
34
  render() {
35
35
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
36
- return (index.h("div", { key: '8d1ca64f3e7debdf91b568db90a6f9232d52bb67', class: "s-tooltip-container" }, index.h("div", { key: 'e9a5c89186a60da8e7b60dbcec798a6cbc5abfe2', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
36
+ return (index.h("div", { key: '84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca', class: "s-tooltip-container" }, index.h("div", { key: '59d3bac320e20f99de1c4bf49531a61962190efc', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
37
37
  }
38
38
  get el() { return index.getElement(this); }
39
39
  };