@salla.sa/twilight-components 2.14.530 → 2.14.532

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 (336) hide show
  1. package/dist/cjs/{filepond-Bd2b0TUO.js → filepond-Cfnkphgf.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BDfv1EcT.js → filepond-plugin-file-poster-BnkEzCdH.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-C3LU3mUR.js → filepond-plugin-file-validate-size-D_cChIaE.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DzIoXqlc.js → filepond-plugin-file-validate-type-D2D3XQNz.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BvFYqWxq.js → filepond-plugin-image-edit-DAjg74dY.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-htwYir_X.js → filepond-plugin-image-exif-orientation-Dod6TVTA.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BLWvufJP.js → filepond-plugin-image-preview-Cz0kcJ_Y.js} +1 -1
  8. package/dist/cjs/{functions-BZFldBWY.js → functions-2F46gcY-.js} +1 -1
  9. package/dist/cjs/{index-DoeUejGO.js → index-CszB9KsF.js} +2 -2
  10. package/dist/cjs/{intlTelInput-CLsY_KYY.js → intlTelInput-C45VpyYk.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-basket-gap.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  22. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-login-modal.cjs.entry.js +20 -11
  46. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
  48. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  54. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  106. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  107. package/dist/cjs/{tracked-promise-Bu-SJtOc.js → tracked-promise-nLRqcDSM.js} +1 -1
  108. package/dist/cjs/twilight.cjs.js +1 -1
  109. package/dist/cjs/{vanilla-picker-Dp0CdYec.js → vanilla-picker-ChAV5Ekl.js} +1 -1
  110. package/dist/collection/components/salla-login-modal/salla-login-modal.js +19 -10
  111. package/dist/components/index.js +2 -2
  112. package/dist/components/salla-login-modal2.js +19 -10
  113. package/dist/esm/{filepond-BhcEQik8.js → filepond-DqGVnPQu.js} +1 -1
  114. package/dist/esm/{filepond-plugin-file-poster-BjUbtLR0.js → filepond-plugin-file-poster-DrfLs6lq.js} +1 -1
  115. package/dist/esm/{filepond-plugin-file-validate-size-Df1X5HDA.js → filepond-plugin-file-validate-size-TqpnbFnI.js} +1 -1
  116. package/dist/esm/{filepond-plugin-file-validate-type-t4wZIymI.js → filepond-plugin-file-validate-type-DARyV1O9.js} +1 -1
  117. package/dist/esm/{filepond-plugin-image-edit-CbAJ8pgc.js → filepond-plugin-image-edit-abY4rfUk.js} +1 -1
  118. package/dist/esm/{filepond-plugin-image-exif-orientation-CwjX8tf2.js → filepond-plugin-image-exif-orientation-D2gswt1w.js} +1 -1
  119. package/dist/esm/{filepond-plugin-image-preview-DLhYozbg.js → filepond-plugin-image-preview-BErWkFqI.js} +1 -1
  120. package/dist/esm/{functions-BfquoN1d.js → functions-TknST1bA.js} +1 -1
  121. package/dist/esm/{index-CksK_d7C.js → index-BvlunXLp.js} +2 -2
  122. package/dist/esm/{intlTelInput--I3pFsst.js → intlTelInput-CumqxnGc.js} +1 -1
  123. package/dist/esm/loader.js +2 -2
  124. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  125. package/dist/esm/salla-accordion_6.entry.js +1 -1
  126. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  127. package/dist/esm/salla-advertisement.entry.js +1 -1
  128. package/dist/esm/salla-alert_2.entry.js +1 -1
  129. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  130. package/dist/esm/salla-apps-icons.entry.js +1 -1
  131. package/dist/esm/salla-badge.entry.js +1 -1
  132. package/dist/esm/salla-basket-gap.entry.js +1 -1
  133. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  134. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  135. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  136. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  137. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  138. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  139. package/dist/esm/salla-comment-factors.entry.js +1 -1
  140. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  141. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  142. package/dist/esm/salla-contacts.entry.js +1 -1
  143. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  144. package/dist/esm/salla-count-down_2.entry.js +1 -1
  145. package/dist/esm/salla-custom-fields.entry.js +1 -1
  146. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  147. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  148. package/dist/esm/salla-filters-widget.entry.js +1 -1
  149. package/dist/esm/salla-filters.entry.js +1 -1
  150. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  151. package/dist/esm/salla-gifting.entry.js +1 -1
  152. package/dist/esm/salla-hook.entry.js +1 -1
  153. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  154. package/dist/esm/salla-installment.entry.js +1 -1
  155. package/dist/esm/salla-list-tile.entry.js +1 -1
  156. package/dist/esm/salla-localization-modal.entry.js +1 -1
  157. package/dist/esm/salla-login-modal.entry.js +20 -11
  158. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  159. package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
  160. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  161. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  162. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  163. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  164. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  166. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  167. package/dist/esm/salla-loyalty.entry.js +1 -1
  168. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  169. package/dist/esm/salla-map_2.entry.js +1 -1
  170. package/dist/esm/salla-menu.entry.js +1 -1
  171. package/dist/esm/salla-metadata.entry.js +1 -1
  172. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  173. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  174. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  175. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  176. package/dist/esm/salla-notification-item.entry.js +1 -1
  177. package/dist/esm/salla-notifications.entry.js +1 -1
  178. package/dist/esm/salla-offer-modal.entry.js +1 -1
  179. package/dist/esm/salla-offer.entry.js +1 -1
  180. package/dist/esm/salla-order-branch.entry.js +1 -1
  181. package/dist/esm/salla-order-cancel.entry.js +1 -1
  182. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  183. package/dist/esm/salla-order-details-options.entry.js +1 -1
  184. package/dist/esm/salla-order-details.entry.js +1 -1
  185. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  186. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  187. package/dist/esm/salla-order-edit.entry.js +1 -1
  188. package/dist/esm/salla-order-shipments.entry.js +1 -1
  189. package/dist/esm/salla-order-summary.entry.js +1 -1
  190. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  191. package/dist/esm/salla-orders.entry.js +1 -1
  192. package/dist/esm/salla-payments.entry.js +1 -1
  193. package/dist/esm/salla-placeholder.entry.js +1 -1
  194. package/dist/esm/salla-price-range.entry.js +1 -1
  195. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  196. package/dist/esm/salla-product-card_2.entry.js +1 -1
  197. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  198. package/dist/esm/salla-products-list.entry.js +1 -1
  199. package/dist/esm/salla-quick-order.entry.js +1 -1
  200. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  201. package/dist/esm/salla-rating-modal.entry.js +1 -1
  202. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  203. package/dist/esm/salla-scopes.entry.js +1 -1
  204. package/dist/esm/salla-search.entry.js +1 -1
  205. package/dist/esm/salla-skeleton.entry.js +1 -1
  206. package/dist/esm/salla-slider.entry.js +1 -1
  207. package/dist/esm/salla-social-share.entry.js +1 -1
  208. package/dist/esm/salla-social.entry.js +1 -1
  209. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  210. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  211. package/dist/esm/salla-tooltip.entry.js +1 -1
  212. package/dist/esm/salla-trust-badges.entry.js +1 -1
  213. package/dist/esm/salla-user-menu.entry.js +1 -1
  214. package/dist/esm/salla-user-profile.entry.js +1 -1
  215. package/dist/esm/salla-user-settings.entry.js +1 -1
  216. package/dist/esm/salla-verify.entry.js +1 -1
  217. package/dist/esm/salla-wallet.entry.js +1 -1
  218. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  219. package/dist/esm/{tracked-promise-BMJ1xMWd.js → tracked-promise-DIi-qkxy.js} +1 -1
  220. package/dist/esm/twilight.js +2 -2
  221. package/dist/esm/{vanilla-picker-CBkGmEsR.js → vanilla-picker-Blj3XS7P.js} +1 -1
  222. package/dist/twilight/{p-e76ee1cd.entry.js → p-020c6071.entry.js} +1 -1
  223. package/dist/twilight/{p-b2a56f30.entry.js → p-0300e9b8.entry.js} +1 -1
  224. package/dist/twilight/{p-2086f996.entry.js → p-0353f67a.entry.js} +1 -1
  225. package/dist/twilight/p-04d27fcd.entry.js +4 -0
  226. package/dist/twilight/{p-c1be432a.entry.js → p-0e58c761.entry.js} +1 -1
  227. package/dist/twilight/{p-ed8ba34d.entry.js → p-0ff37324.entry.js} +1 -1
  228. package/dist/twilight/{p-c86089dd.entry.js → p-10eff577.entry.js} +1 -1
  229. package/dist/twilight/{p-d723d8fb.entry.js → p-1538e84c.entry.js} +1 -1
  230. package/dist/twilight/{p-13e7f198.entry.js → p-1703b797.entry.js} +1 -1
  231. package/dist/twilight/{p-7c29370b.entry.js → p-18f17453.entry.js} +1 -1
  232. package/dist/twilight/{p-6084db8c.entry.js → p-1f5620e3.entry.js} +1 -1
  233. package/dist/twilight/{p-a1113a67.entry.js → p-1f840d1b.entry.js} +1 -1
  234. package/dist/twilight/{p-d94432ab.entry.js → p-1f8b8993.entry.js} +1 -1
  235. package/dist/twilight/{p-cbd00bed.entry.js → p-2354a5ac.entry.js} +1 -1
  236. package/dist/twilight/p-23ad200f.entry.js +4 -0
  237. package/dist/twilight/{p-b00ce097.entry.js → p-27f9230c.entry.js} +1 -1
  238. package/dist/twilight/{p-a016b2cf.entry.js → p-2968c411.entry.js} +1 -1
  239. package/dist/twilight/{p-a4afc97c.entry.js → p-29e0895a.entry.js} +1 -1
  240. package/dist/twilight/{p-48b3f636.entry.js → p-2a29c19a.entry.js} +1 -1
  241. package/dist/twilight/{p-5da6d665.entry.js → p-2a51d04f.entry.js} +1 -1
  242. package/dist/twilight/{p-da729585.entry.js → p-2e82f19f.entry.js} +1 -1
  243. package/dist/twilight/{p-0bdcea10.entry.js → p-2f6b1508.entry.js} +1 -1
  244. package/dist/twilight/{p-5ad814a7.entry.js → p-3124f6d4.entry.js} +1 -1
  245. package/dist/twilight/{p-1b3b09fc.entry.js → p-330299ce.entry.js} +1 -1
  246. package/dist/twilight/{p-005ded51.entry.js → p-37c8dd96.entry.js} +1 -1
  247. package/dist/twilight/{p-83c7e14a.entry.js → p-3899b7cd.entry.js} +1 -1
  248. package/dist/twilight/{p-ce579f58.entry.js → p-38b94838.entry.js} +1 -1
  249. package/dist/twilight/{p-ba594f46.entry.js → p-3df74ef7.entry.js} +1 -1
  250. package/dist/twilight/{p-961fb689.entry.js → p-429a02e9.entry.js} +1 -1
  251. package/dist/twilight/{p-a7055072.entry.js → p-4620449c.entry.js} +1 -1
  252. package/dist/twilight/{p-4bcd17d7.entry.js → p-47a7e43d.entry.js} +1 -1
  253. package/dist/twilight/{p-cd14f341.entry.js → p-47aa7dff.entry.js} +1 -1
  254. package/dist/twilight/{p-6f6cc855.entry.js → p-4c14be40.entry.js} +1 -1
  255. package/dist/twilight/{p-a6f38df9.entry.js → p-501b737f.entry.js} +1 -1
  256. package/dist/twilight/{p-cc65dc0b.entry.js → p-51cbbd8c.entry.js} +1 -1
  257. package/dist/twilight/{p-cfcb427b.entry.js → p-531275cf.entry.js} +1 -1
  258. package/dist/twilight/{p-bbc53ce6.entry.js → p-568cdae2.entry.js} +1 -1
  259. package/dist/twilight/{p-97dfda0b.entry.js → p-59dced38.entry.js} +1 -1
  260. package/dist/twilight/{p-dda1b58c.entry.js → p-5a3d06b6.entry.js} +1 -1
  261. package/dist/twilight/{p-4d1e9e92.entry.js → p-5b59f494.entry.js} +1 -1
  262. package/dist/twilight/{p-21c0c7d1.entry.js → p-5f5721b9.entry.js} +1 -1
  263. package/dist/twilight/{p-f23d3664.entry.js → p-6064c79b.entry.js} +1 -1
  264. package/dist/twilight/{p-a4390bd7.entry.js → p-6125ebad.entry.js} +1 -1
  265. package/dist/twilight/{p-90e6987e.entry.js → p-647f323e.entry.js} +1 -1
  266. package/dist/twilight/{p-e2ab1f53.entry.js → p-66f90d29.entry.js} +1 -1
  267. package/dist/twilight/{p-b654b4bd.entry.js → p-6799f206.entry.js} +1 -1
  268. package/dist/twilight/{p-fda57a44.entry.js → p-6d76c986.entry.js} +1 -1
  269. package/dist/twilight/{p-17710593.entry.js → p-714d566e.entry.js} +1 -1
  270. package/dist/twilight/{p-98a2958b.entry.js → p-7527980c.entry.js} +1 -1
  271. package/dist/twilight/{p-b8919cda.entry.js → p-75f70262.entry.js} +1 -1
  272. package/dist/twilight/{p-02436f05.entry.js → p-7fb58abf.entry.js} +1 -1
  273. package/dist/twilight/{p-1a6cf376.entry.js → p-804dc8cd.entry.js} +1 -1
  274. package/dist/twilight/{p-06ada839.entry.js → p-85d49193.entry.js} +1 -1
  275. package/dist/twilight/{p-a278b0a8.entry.js → p-861815cc.entry.js} +1 -1
  276. package/dist/twilight/{p-9b054704.entry.js → p-861a0a6f.entry.js} +1 -1
  277. package/dist/twilight/{p-b00fd1c9.entry.js → p-886c37c1.entry.js} +1 -1
  278. package/dist/twilight/{p-e384e17e.entry.js → p-89695a76.entry.js} +1 -1
  279. package/dist/twilight/{p-7cb9e4b8.entry.js → p-8b001c0d.entry.js} +1 -1
  280. package/dist/twilight/{p-bc3a282f.entry.js → p-8b5b0cbd.entry.js} +1 -1
  281. package/dist/twilight/{p-e2e2d747.entry.js → p-94e1bcad.entry.js} +1 -1
  282. package/dist/twilight/{p-4192fd73.entry.js → p-9694c0f9.entry.js} +1 -1
  283. package/dist/twilight/{p-ccb688e4.entry.js → p-97590279.entry.js} +1 -1
  284. package/dist/twilight/{p-8478d6f7.entry.js → p-9a012ae8.entry.js} +1 -1
  285. package/dist/twilight/{p-1c996dca.entry.js → p-9d3b6faa.entry.js} +1 -1
  286. package/dist/twilight/{p-f2963249.entry.js → p-9e952887.entry.js} +1 -1
  287. package/dist/twilight/{p-Cb4ILCAb.js → p-BBSuIYfX.js} +1 -1
  288. package/dist/twilight/{p-DFgZ9xD1.js → p-BQc5TtjZ.js} +1 -1
  289. package/dist/twilight/{p-Ae_fbWG8.js → p-BgGZe3HA.js} +1 -1
  290. package/dist/twilight/{p-CpMYnmze.js → p-BoNOn-M6.js} +1 -1
  291. package/dist/twilight/{p-D58EyIUt.js → p-BuGEDh8h.js} +1 -1
  292. package/dist/twilight/{p-CksK_d7C.js → p-BvlunXLp.js} +1 -1
  293. package/dist/twilight/{p-B4Sc7qwh.js → p-CcOj09VG.js} +1 -1
  294. package/dist/twilight/{p-BhNf5CzJ.js → p-CvRR43C8.js} +1 -1
  295. package/dist/twilight/{p-BFJ82pAY.js → p-DL6KXYlY.js} +1 -1
  296. package/dist/twilight/p-DPSHS4us.js +9 -0
  297. package/dist/twilight/{p-Db9MG9Xh.js → p-EHgbokU1.js} +2 -2
  298. package/dist/twilight/{p-C5LJQJIi.js → p-SIES7YCO.js} +1 -1
  299. package/dist/twilight/{p-b0370408.entry.js → p-a11c65a1.entry.js} +1 -1
  300. package/dist/twilight/{p-d078f31f.entry.js → p-a194b10c.entry.js} +1 -1
  301. package/dist/twilight/{p-e22170ea.entry.js → p-a815c8cc.entry.js} +1 -1
  302. package/dist/twilight/{p-acafd7c7.entry.js → p-a825fe53.entry.js} +1 -1
  303. package/dist/twilight/{p-e4219b8f.entry.js → p-a9050bcc.entry.js} +1 -1
  304. package/dist/twilight/{p-d7889f5d.entry.js → p-aa9da503.entry.js} +1 -1
  305. package/dist/twilight/{p-9581d64d.entry.js → p-b0ae1512.entry.js} +1 -1
  306. package/dist/twilight/{p-37be3521.entry.js → p-b20726bf.entry.js} +1 -1
  307. package/dist/twilight/{p-832cc844.entry.js → p-b225a14b.entry.js} +1 -1
  308. package/dist/twilight/{p-dcd182ae.entry.js → p-b7ebff98.entry.js} +1 -1
  309. package/dist/twilight/{p-f8f3ee7a.entry.js → p-b838639a.entry.js} +1 -1
  310. package/dist/twilight/{p-4afd4ff5.entry.js → p-bac8c044.entry.js} +1 -1
  311. package/dist/twilight/{p-41691338.entry.js → p-c211b351.entry.js} +1 -1
  312. package/dist/twilight/{p-26b3ea94.entry.js → p-c71d5e9b.entry.js} +1 -1
  313. package/dist/twilight/{p-95e3dec2.entry.js → p-c79595e3.entry.js} +1 -1
  314. package/dist/twilight/{p-b9353511.entry.js → p-cd5dcb07.entry.js} +1 -1
  315. package/dist/twilight/{p-c145264f.entry.js → p-cd675753.entry.js} +1 -1
  316. package/dist/twilight/{p-e44334f2.entry.js → p-d37a20b7.entry.js} +1 -1
  317. package/dist/twilight/{p-3566ca42.entry.js → p-d442a219.entry.js} +1 -1
  318. package/dist/twilight/{p-a1e4446c.entry.js → p-d66c3d01.entry.js} +1 -1
  319. package/dist/twilight/{p-4f9bca4c.entry.js → p-da428fc8.entry.js} +1 -1
  320. package/dist/twilight/{p-ff6bcfab.entry.js → p-e220b889.entry.js} +1 -1
  321. package/dist/twilight/{p-c8125192.entry.js → p-ebe9556a.entry.js} +1 -1
  322. package/dist/twilight/p-f05778c8.entry.js +4 -0
  323. package/dist/twilight/{p-95c223f3.entry.js → p-f568a9c7.entry.js} +1 -1
  324. package/dist/twilight/{p-a6853bd2.entry.js → p-f8fbdeb7.entry.js} +1 -1
  325. package/dist/twilight/{p-da6ffaea.entry.js → p-f94e6742.entry.js} +1 -1
  326. package/dist/twilight/{p-e3cfe661.entry.js → p-fac1e84e.entry.js} +1 -1
  327. package/dist/twilight/p-fd5eb6e1.entry.js +4 -0
  328. package/dist/twilight/{p-9de50850.entry.js → p-fe6e7460.entry.js} +1 -1
  329. package/dist/twilight/twilight.esm.js +1 -1
  330. package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +7 -0
  331. package/package.json +5 -5
  332. package/dist/twilight/p-34618cfb.entry.js +0 -4
  333. package/dist/twilight/p-7215b975.entry.js +0 -4
  334. package/dist/twilight/p-87a4fd3d.entry.js +0 -4
  335. package/dist/twilight/p-BnadfqyM.js +0 -9
  336. package/dist/twilight/p-c2a4cc50.entry.js +0 -4
@@ -1,5 +1,12 @@
1
1
  export declare class SallaLoginModal {
2
2
  constructor();
3
+ /**
4
+ * `login::open` handler. Newer non-SPA native apps (>= 5.0.38) open their OWN native login
5
+ * screen — the mobile bridge emits `mobile::login.open` — so keep the web modal closed to avoid
6
+ * stacking two logins. Extracted from the constructor so it is unit-testable via the prototype
7
+ * (the constructor-based spec suite is quarantined; see salla-login-modal.spec.ts).
8
+ */
9
+ onLoginOpen(data: any): void;
3
10
  host: HTMLElement;
4
11
  /**
5
12
  * Does the merchant allow to login using email
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-components",
3
- "version": "2.14.530",
3
+ "version": "2.14.532",
4
4
  "license": "GPL-3.0",
5
5
  "author": "Salla Team <support@salla.dev> (https://salla.dev)",
6
6
  "bugs": {
@@ -81,9 +81,9 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@googlemaps/markerclusterer": "2.6.2",
84
- "@salla.sa/applepay": "2.14.530",
85
- "@salla.sa/twilight": "2.14.530",
86
- "@salla.sa/twilight-tailwind-theme": "2.14.530",
84
+ "@salla.sa/applepay": "2.14.532",
85
+ "@salla.sa/twilight": "2.14.532",
86
+ "@salla.sa/twilight-tailwind-theme": "2.14.532",
87
87
  "@salla.sa/ui-address-autocomplete-widget": "1.2.1",
88
88
  "@salla.sa/ui-google-map-render": "1.2.1",
89
89
  "@types/node": "^20.4.8",
@@ -104,5 +104,5 @@
104
104
  "vanilla-lazyload": "^17.8.5",
105
105
  "vanilla-picker": "^2.12.2"
106
106
  },
107
- "gitHead": "fe3e7b945c0df4ee801e712b4818793b6518247b"
107
+ "gitHead": "97ac10c8dc2bb41f1419748c849269ad8d7d7316"
108
108
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r as e,c as d,h as t,H as r}from"./p-CksK_d7C.js";const c=class{constructor(t){e(this,t),this.orderEditProductSelected=d(this,"orderEditProductSelected")}get productData(){if(!this.product)return{};if("object"==typeof this.product)return this.product;try{return JSON.parse(this.product)}catch(e){return{}}}handleSelectProduct(){this.orderEditProductSelected.emit({product:this.productData})}render(){const e=this.productData,d=e?.name||salla.lang.getWithDefault("common.elements.product","منتج"),c=e?.price;return t(r,{key:"7669432a4756da446e16d9a3093a067767c5dd9d"},t("button",{key:"d998dde2a1dc4eae7444fd398910c3a0699730f8",type:"button",class:"s-order-edit-product-card",onClick:()=>this.handleSelectProduct()},t("div",{key:"6a0e6eec84de332598d94be87b49564eeb2cfbc2",class:"s-order-edit-product-card-media"},e?.image?.url?t("img",{src:e.image.url,alt:e.image.alt||d,class:"s-order-edit-product-card-image"}):t("div",{class:"s-order-edit-product-card-placeholder"},t("i",{class:"sicon-shopping-bag"}))),t("div",{key:"4eeb9f7430c19f8e792b0f6856fb86a2f265eb95",class:"s-order-edit-product-card-content"},t("h3",{key:"840ae549097a53f1f297673d69e3155792a4097e",class:"s-order-edit-product-card-title"},d),null!=c&&t("p",{key:"32732854ca599fe446d0b47883b892ac17d90cae",class:"s-order-edit-product-card-price",innerHTML:salla.money(c)}))))}};c.style=":host{display:block;min-width:0}";export{c as salla_order_edit_product_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r,h as e}from"./p-CksK_d7C.js";function s(r){var e,t,a="";if("string"==typeof r||"number"==typeof r)a+=r;else if("object"==typeof r)if(Array.isArray(r))for(e=0;e<r.length;e++)r[e]&&(t=s(r[e]))&&(a&&(a+=" "),a+=t);else for(e in r)r[e]&&(a&&(a+=" "),a+=e);return a}const t=r=>"boolean"==typeof r?"".concat(r):0===r?"0":r,a=function(){for(var r,e,t=0,a="";t<arguments.length;)(r=arguments[t++])&&(e=s(r))&&(a&&(a+=" "),a+=e);return a},l=(n="s-badge-base",i={variants:{size:{xs:"s-badge-xs",sm:"s-badge-sm",md:"s-badge-md"},bg:{transparent:"s-badge-transparent",light:"s-badge-light","primary-100":"s-badge-primary-100"},color:{black:"s-badge-black","primary-900":"s-badge-color-primary-900"}}},r=>{var e;if(null==(null==i?void 0:i.variants))return a(n,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:s,defaultVariants:l}=i,o=Object.keys(s).map((e=>{const a=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===a)return null;const i=t(a)||t(n);return s[e][i]})),d=r&&Object.entries(r).reduce(((r,e)=>{let[s,t]=e;return void 0===t||(r[s]=t),r}),{}),b=null==i||null===(e=i.compoundVariants)||void 0===e?void 0:e.reduce(((r,e)=>{let{class:s,className:t,...a}=e;return Object.entries(a).every((r=>{let[e,s]=r;return Array.isArray(s)?s.includes({...l,...d}[e]):{...l,...d}[e]===s}))?[...r,s,t]:r}),[]);return a(n,o,b,null==r?void 0:r.class,null==r?void 0:r.className)});var n,i;const o=class{constructor(e){r(this,e),this.size="sm",this.color="black",this.bg="light"}render(){return e("div",{key:"54d35eb76a59251edb581786e5e89a83b6f8fbf0",class:l({size:this.size,bg:this.bg,color:this.color})},e("slot",{key:"4641cb434a2c0a6d7c004e3384848a200cb79dff"}))}};o.style="";export{o as salla_badge}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r as t,h as a,F as s,a as e}from"./p-CksK_d7C.js";const i=class{constructor(a){t(this,a),this.isMobileAllowed=!0,this.isEmailRequired=!1,this.supportWebAuth=!0,this.withoutReload=!1,this.source="",this.htmlElement=document.documentElement,this.messages=[],this.isClosable=!0,this.iframeLoaded=!1,this.scrolling="no",this.direction=document.dir,this.canRenderIframe=!1,salla.event.on("login::open",(t=>{this.isEmailAllowed||this.isMobileAllowed?(this.source=t?.source??!1,this.withoutReload=t?.withoutReload??this.withoutReload,this.open(t),this.openModal()):salla.logger.warn("Please enable atleast one login type to use this component.")})),salla.event.on("modal::close",(t=>{this.iframe&&this.sendMessageToIframe({source:"login",type:"modal_closed",data:t})})),salla.onReady((()=>{this.api=salla.config.get("store.api"),this.storeId=salla.config.get("store.id")}))}componentDidLoad(){window.addEventListener("message",(t=>{if(!this.isTrustedMessage(t)||"login"!=t.data?.source)return;if(!this.inline&&!this.canRenderIframe)return;salla.log("salla-account:: recived an event",t.data);let a=t.data?.type?.replace("iframe::",""),s=t.data.message;if("ready"==a)return s.isPasskeyPage?void this.createPassKey.postMessage({source:"login",type:"init_passkey_page",data:{token:salla.storage.get("token"),store_id:salla.config.get("store.id"),locale:salla.config.get("user.language_code"),redirect:salla.config.get("store.url")}},salla.config.get("login.url")):void this.handleIframeReadyAction();if("height"==a)return this.iframe.height=s?.height+"px";if("storage"==a)return this.handleIframeStorageAction(s);if("scrolling"==a)return this.scrolling=s,void(this.isClosable=!1);if("direction"==a)return document.dir=this.direction=s?"rtl":"ltr";if("notify"==a)return salla.notify[s.type](s.message);if("authenticated"==a||"authenticated_web_auth"==a)return!s?.withoutClose&&this.close(),salla.auth.api.handlAfterAuthenticatedResponse(s,this.supportWebAuth).then((()=>!(s?.withoutReload||this.withoutReload)&&setTimeout((()=>window.location.reload()),1e3)));if("dispatchEvent"!=a||"auth::verified"!=s.event){if("dispatchEvent"==a)return salla.event.emit(s.event,...s.payload);if("reload"==a)return s?.withClose&&this.modal.close(),window.location.reload();if("open_page"===a){if(!this.isSafeUrl(s?.url))return;return window.location.href=s.url}if("open_passkey_page"!==a)return"guest-checkout"===a?this.handleGuestCheckout():void("close"==a&&this.close());this.createPassKey=window.open(`${salla.config.get("login.url")}/create-passkey`)}else salla.log("Ignored dispatchEvent `auth::verified` from iframe")})),this.observeDarkModeChanges(),setTimeout((()=>Salla.event.emit("salla-login::ready")),1)}async open(t=null){return Salla.config.isGuest()?this.modal.open():this.withoutReload?void 0:location.reload()}close(){Salla.event.emit("salla-login::closing"),this.modal.close(),this.iframeLoaded=!1,this.canRenderIframe=!1,this.host.dispatchEvent(new CustomEvent("salla-login:closed",{cancelable:!0,bubbles:!0,detail:null})),Salla.event.emit("salla-login::closed")}handleIframeReadyAction(){this.sendInitMessage(),this.sendMessageToIframe({source:"login",type:"width",data:document.body.clientWidth})}observeDarkModeChanges(){new MutationObserver((t=>{t.forEach((t=>{"class"===t.attributeName&&this.sendMessageToIframe({source:"login",type:"darkMode",data:{isDark:!!this.htmlElement.classList.contains("dark")}})}))})).observe(this.htmlElement,{attributes:!0})}async handleIframeStorageAction(t){let a,s=salla.storage.get("cart.user_id"),e=!1;if(Object.entries(t).filter((t=>!Salla.storage.get(t[0]))).forEach((([t,i])=>{salla.log("Shared storage from accounts domain",t,i);let l="string"==typeof i?i?.replace(/^"|"$/g,""):i;salla.storage.set(t,l),"token"===t&&(a=l),"user"===t&&s&&l.id!==s&&(e=!0)})),a){this.modal.close(),Salla.auth.event.tokenFetched(a);try{await Salla.api.cart.assign()}catch(t){Salla.log("Error on assign after handle iframe",t)}e&&Salla.cart.reset();try{!Salla.auth.api.isSessionless()&&await Salla.auth.api.request("auth/jwt"),Salla.auth.api.canRedirect()?setTimeout((()=>window.location.reload()),100):await Salla.auth.event.loggedIn({data:{token:a}}).then((()=>Salla.auth.api.afterUserLogin()))}catch(t){this.modal.open(),Salla.log("Error on request auth/jwt after handle iframe",t)}}else e&&Salla.cart.reset()}isTrustedMessage(t){if(!(this.iframe&&t.source===this.iframe.contentWindow||this.createPassKey&&t.source===this.createPassKey))return!1;let a;try{a=new URL(salla.config.get("login.url","https://accounts.salla.com")).origin}catch(t){a="https://accounts.salla.com"}return t.origin===a}isSafeUrl(t){if("string"!=typeof t||!t)return!1;try{const{protocol:a}=new URL(t,location.href);return"https:"===a||"http:"===a}catch(t){return!1}}sendMessageToIframe(t){if(this.iframe)return this.iframe.contentWindow.postMessage(t,"*")}sendInitMessage(){let t=this.headers;try{t="string"==typeof t?JSON.parse(t):t}catch(a){console.error("Failed to parse headers!",this.headers,a),t=void 0}const a={user:salla.storage.get("user"),s_translations:salla.storage.get("s_translations"),token:salla.storage.get("token")};a.user||delete a.user,a.s_translations||delete a.s_translations,a.token||delete a.token,this.sendMessageToIframe({source:"login",type:"init",data:{id:this.storeId,lang:salla.lang.locale,isDark:!!this.htmlElement.classList.contains("dark"),apiUrl:this.api?.replace(/\/+$/,""),supportWebAuth:this.supportWebAuth,withoutReload:this.withoutReload,inline:this.inline,settings:salla.config.all(),headers:t,storage:a}})}async handleGuestCheckout(){if(this.modal.close(),salla.config.isGuest())return salla.cart.submit(!1,!0)}openModal(){this.canRenderIframe||(this.canRenderIframe=!0),this.modal.open()}render(){if(!Salla.config.isUser())return this.inline?this.getLoginDom():a("salla-modal",{class:"s-login-modal",ref:t=>this.modal=t,width:"xs"},this.getLoginDom())}getLoginDom(){if(this.canRenderIframe)return a(s,null,a("iframe",{src:`${salla.config.get("login.url","https://accounts.salla.com")}?src=${this.source}&version=${salla.config.get("login.version","0.1.78")}`,title:"Salla Login",class:"hide-scroll",loading:"lazy",ref:t=>{this.iframe=t},allow:"publickey-credentials-get; publickey-credentials-create",scrolling:this.scrolling,frameborder:"0",width:"100%"}))}get host(){return e(this)}};i.style="iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";export{i as salla_login_modal}
@@ -1,9 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{d as e}from"./p-CksK_d7C.js";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n,i,E={exports:{}},r=n?E.exports:(n=1,E.exports=(i=function(e){var t=e.addFilter,n=e.utils,i=n.Type,E=n.isString,r=n.replaceInString,T=n.guesstimateMimeType,u=n.getExtensionFromFilename,_=n.getFilenameFromURL,o=function(e,t){return e.some((function(e){return/\*$/.test(e)?(n=e,(/^[^/]+/.exec(t)||[]).pop()===n.slice(0,-2)):e===t;var n}))},a=function(e,t,n){if(0===t.length)return!0;var i=function(e){var t="";if(E(e)){var n=_(e),i=u(n);i&&(t=T(i))}else t=e.type;return t}(e);return n?new Promise((function(E,r){n(e,i).then((function(e){o(t,e)?E():r()})).catch(r)})):o(t,i)};return t("SET_ATTRIBUTE_TO_OPTION_MAP",(function(e){return Object.assign(e,{accept:"acceptedFileTypes"})})),t("ALLOW_HOPPER_ITEM",(function(e,t){var n=t.query;return!n("GET_ALLOW_FILE_TYPE_VALIDATION")||a(e,n("GET_ACCEPTED_FILE_TYPES"))})),t("LOAD_FILE",(function(e,t){var n=t.query;return new Promise((function(t,i){if(n("GET_ALLOW_FILE_TYPE_VALIDATION")){var E=n("GET_ACCEPTED_FILE_TYPES"),T=n("GET_FILE_VALIDATE_TYPE_DETECT_TYPE"),u=a(e,E,T),_=function(){var e,t=E.map((e=n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES_MAP"),function(t){return null!==e[t]&&(e[t]||t)})).filter((function(e){return!1!==e})),T=t.filter((function(e,n){return t.indexOf(e)===n}));i({status:{main:n("GET_LABEL_FILE_TYPE_NOT_ALLOWED"),sub:r(n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES"),{allTypes:T.join(", "),allButLastType:T.slice(0,-1).join(", "),lastType:T[T.length-1]})}})};if("boolean"==typeof u)return u?t(e):_();u.then((function(){t(e)})).catch(_)}else t(e)}))})),{options:{allowFileTypeValidation:[!0,i.BOOLEAN],acceptedFileTypes:[[],i.ARRAY],labelFileTypeNotAllowed:["File is of invalid type",i.STRING],fileValidateTypeLabelExpectedTypes:["Expects {allButLastType} or {lastType}",i.STRING],fileValidateTypeLabelExpectedTypesMap:[{},i.OBJECT],fileValidateTypeDetectType:[null,i.FUNCTION]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:i})),i)),T=t({__proto__:null,default:e(r)},[r]);
5
- /*!
6
- * FilePondPluginFileValidateType 1.2.9
7
- * Licensed under MIT, https://opensource.org/licenses/MIT/
8
- * Please visit https://pqina.nl/filepond/ for details.
9
- */export{T as f}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r as t,h as s,H as e}from"./p-CksK_d7C.js";const r=class{constructor(s){t(this,s),this.parsedSections=[]}parseProducts(t){let s=[];if("string"==typeof t)try{const e=JSON.parse(t);s=this.extractSections(e)}catch(e){console.error("Invalid JSON passed to bundleSections prop:",t),s=[]}else t&&(s=this.extractSections(t));this.parsedSections=s}extractSections(t){return t.bundle&&t.bundle.sections&&Array.isArray(t.bundle.sections)?t.bundle.sections:Array.isArray(t)?t:t.sections&&Array.isArray(t.sections)?t.sections:(console.warn("No valid sections found in data:",t),[])}isCartPage(){return salla.url.is_page("cart")}renderCartPage(){return s("salla-multiple-bundle-product-cart",{sections:this.parsedSections})}renderDetailsPage(){return s("salla-multiple-bundle-product-details",{sections:this.parsedSections})}componentWillLoad(){this.parseProducts(this.bundleSections)}render(){return s(e,{key:"db7efe81ce29dd1bc45cc5f1dbd45b6b03e31de8",class:"s-multiple-bundle-product-wrapper"},this.isCartPage()?this.renderCartPage():this.renderDetailsPage())}static get watchers(){return{bundleSections:["parseProducts"]}}};r.style=":host{display:block}";export{r as salla_multiple_bundle_product}