@salla.sa/twilight-components 2.14.485 → 2.14.487

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 (340) hide show
  1. package/dist/cjs/{Helper-DvyEpCgx.js → Helper-B2B-kxAI.js} +7 -2
  2. package/dist/cjs/{filepond-B1h9ltVJ.js → filepond-D8YNIT7U.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-B4zD4xns.js → filepond-plugin-file-poster-DSZGbtH3.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-CIX5-X21.js → filepond-plugin-file-validate-size-CDPCt-vD.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-D1NcjxUw.js → filepond-plugin-file-validate-type-PPR9wk_f.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-Bb7P11BN.js → filepond-plugin-image-edit-CbzNxXz5.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-C4HNrnSA.js → filepond-plugin-image-exif-orientation-CHOCkxIA.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-DeMAP_C9.js → filepond-plugin-image-preview-DPzPSwHT.js} +1 -1
  9. package/dist/cjs/{functions-COuh9Ohq.js → functions-BJ567SZR.js} +1 -1
  10. package/dist/cjs/{index-jbrJkd9L.js → index-AuVRM2C2.js} +1 -1
  11. package/dist/cjs/{index-8pwFZzoL.js → index-KEg0BIuu.js} +6 -2
  12. package/dist/cjs/loader.cjs.js +2 -2
  13. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  15. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
  16. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
  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 +349 -0
  26. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-form_8.cjs.entry.js +2 -2
  28. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-filters-widget.cjs.entry.js +15 -8
  36. package/dist/cjs/salla-filters.cjs.entry.js +101 -13
  37. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-gifting.cjs.entry.js +21 -5
  39. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  48. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  52. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-notifications.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +2 -2
  74. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-orders.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-list.cjs.entry.js +21 -9
  83. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  86. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-search.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  102. package/dist/cjs/{tracked-promise-BOMQ9hTv.js → tracked-promise-DFl5fI3j.js} +1 -1
  103. package/dist/cjs/twilight.cjs.js +2 -2
  104. package/dist/cjs/{vanilla-picker-DM7x_-2X.js → vanilla-picker-CUpM_-PS.js} +1 -1
  105. package/dist/collection/Helpers/Helper.js +7 -2
  106. package/dist/collection/collection-manifest.json +1 -0
  107. package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +401 -0
  108. package/dist/collection/components/salla-filters/salla-filters.css +5 -0
  109. package/dist/collection/components/salla-filters/salla-filters.js +101 -11
  110. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +13 -6
  111. package/dist/collection/components/salla-gifting/salla-gifting.js +21 -4
  112. package/dist/collection/components/salla-products-list/salla-products-list.js +19 -7
  113. package/dist/components/Helper.js +7 -2
  114. package/dist/components/index.js +2 -2
  115. package/dist/components/salla-cart-summary-card.d.ts +11 -0
  116. package/dist/components/salla-cart-summary-card.js +404 -0
  117. package/dist/components/salla-filters-widget2.js +13 -6
  118. package/dist/components/salla-filters.js +101 -11
  119. package/dist/components/salla-gifting.js +21 -4
  120. package/dist/components/salla-products-list2.js +19 -7
  121. package/dist/esm/{Helper-CD8d-Brd.js → Helper-BQ9mvrt9.js} +7 -2
  122. package/dist/esm/{filepond-DHzuRfQN.js → filepond-BsLighF8.js} +1 -1
  123. package/dist/esm/{filepond-plugin-file-poster-BxdBxR7d.js → filepond-plugin-file-poster-Bm-5APBo.js} +1 -1
  124. package/dist/esm/{filepond-plugin-file-validate-size-C-0L9g1L.js → filepond-plugin-file-validate-size-DkYobKMY.js} +1 -1
  125. package/dist/esm/{filepond-plugin-file-validate-type-OyHjZUCW.js → filepond-plugin-file-validate-type-BXKbNDGH.js} +1 -1
  126. package/dist/esm/{filepond-plugin-image-edit-BIfGCYQ5.js → filepond-plugin-image-edit-B64dqBYZ.js} +1 -1
  127. package/dist/esm/{filepond-plugin-image-exif-orientation-DJlKxr63.js → filepond-plugin-image-exif-orientation-BelOzBrj.js} +1 -1
  128. package/dist/esm/{filepond-plugin-image-preview-B2DpOs_r.js → filepond-plugin-image-preview-X67Ek3oE.js} +1 -1
  129. package/dist/esm/{functions-DT-OwuY-.js → functions-DobdGlrA.js} +1 -1
  130. package/dist/esm/{index-DJPd6DKq.js → index-DBMDFsFH.js} +6 -2
  131. package/dist/esm/{index-D449pxDB.js → index-yDeCyY3S.js} +1 -1
  132. package/dist/esm/loader.js +3 -3
  133. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  134. package/dist/esm/salla-accordion_6.entry.js +2 -2
  135. package/dist/esm/salla-add-product-button_5.entry.js +2 -2
  136. package/dist/esm/salla-advertisement.entry.js +1 -1
  137. package/dist/esm/salla-alert_2.entry.js +1 -1
  138. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  139. package/dist/esm/salla-apps-icons.entry.js +1 -1
  140. package/dist/esm/salla-badge.entry.js +1 -1
  141. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  142. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  143. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  144. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  145. package/dist/esm/salla-cart-summary-card.entry.js +347 -0
  146. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  147. package/dist/esm/salla-comment-form_8.entry.js +2 -2
  148. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  149. package/dist/esm/salla-contacts.entry.js +1 -1
  150. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  151. package/dist/esm/salla-count-down.entry.js +1 -1
  152. package/dist/esm/salla-custom-fields.entry.js +1 -1
  153. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  154. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  155. package/dist/esm/salla-filters-widget.entry.js +15 -8
  156. package/dist/esm/salla-filters.entry.js +101 -13
  157. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  158. package/dist/esm/salla-gifting.entry.js +21 -5
  159. package/dist/esm/salla-hook.entry.js +1 -1
  160. package/dist/esm/salla-infinite-scroll.entry.js +2 -2
  161. package/dist/esm/salla-installment.entry.js +1 -1
  162. package/dist/esm/salla-list-tile.entry.js +1 -1
  163. package/dist/esm/salla-localization-modal.entry.js +1 -1
  164. package/dist/esm/salla-login-modal.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  166. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  167. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  168. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  169. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  170. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  171. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  172. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  173. package/dist/esm/salla-loyalty.entry.js +1 -1
  174. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  175. package/dist/esm/salla-map_2.entry.js +1 -1
  176. package/dist/esm/salla-menu.entry.js +1 -1
  177. package/dist/esm/salla-metadata.entry.js +1 -1
  178. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  179. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  180. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  181. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  182. package/dist/esm/salla-notification-item.entry.js +1 -1
  183. package/dist/esm/salla-notifications.entry.js +2 -2
  184. package/dist/esm/salla-offer-modal.entry.js +1 -1
  185. package/dist/esm/salla-offer.entry.js +1 -1
  186. package/dist/esm/salla-order-branch.entry.js +1 -1
  187. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  188. package/dist/esm/salla-order-details-options.entry.js +1 -1
  189. package/dist/esm/salla-order-details.entry.js +1 -1
  190. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  191. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  192. package/dist/esm/salla-order-edit.entry.js +1 -1
  193. package/dist/esm/salla-order-options-modal_3.entry.js +2 -2
  194. package/dist/esm/salla-order-summary.entry.js +1 -1
  195. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  196. package/dist/esm/salla-orders.entry.js +2 -2
  197. package/dist/esm/salla-payments.entry.js +1 -1
  198. package/dist/esm/salla-placeholder.entry.js +1 -1
  199. package/dist/esm/salla-price-range.entry.js +1 -1
  200. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  201. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  202. package/dist/esm/salla-products-list.entry.js +21 -9
  203. package/dist/esm/salla-quick-order.entry.js +1 -1
  204. package/dist/esm/salla-rating-modal.entry.js +2 -2
  205. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  206. package/dist/esm/salla-scopes.entry.js +1 -1
  207. package/dist/esm/salla-search.entry.js +2 -2
  208. package/dist/esm/salla-skeleton.entry.js +1 -1
  209. package/dist/esm/salla-slider.entry.js +1 -1
  210. package/dist/esm/salla-social-share.entry.js +1 -1
  211. package/dist/esm/salla-social.entry.js +1 -1
  212. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  213. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  214. package/dist/esm/salla-tooltip.entry.js +1 -1
  215. package/dist/esm/salla-trust-badges.entry.js +1 -1
  216. package/dist/esm/salla-user-menu.entry.js +1 -1
  217. package/dist/esm/salla-user-profile.entry.js +1 -1
  218. package/dist/esm/salla-user-settings.entry.js +1 -1
  219. package/dist/esm/salla-verify.entry.js +1 -1
  220. package/dist/esm/salla-wallet.entry.js +1 -1
  221. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  222. package/dist/esm/{tracked-promise-CNnq4c_E.js → tracked-promise-6uJz7V9Q.js} +1 -1
  223. package/dist/esm/twilight.js +3 -3
  224. package/dist/esm/{vanilla-picker-DQDhWp1B.js → vanilla-picker-Bw2Vk5YA.js} +1 -1
  225. package/dist/twilight/{p-07e93d60.entry.js → p-000022be.entry.js} +1 -1
  226. package/dist/twilight/{p-800e069d.entry.js → p-00fcfe8e.entry.js} +1 -1
  227. package/dist/twilight/{p-309914e6.entry.js → p-0412fe67.entry.js} +1 -1
  228. package/dist/twilight/{p-5cd703c2.entry.js → p-08dfa3c5.entry.js} +1 -1
  229. package/dist/twilight/{p-67ac0915.entry.js → p-0c219cad.entry.js} +1 -1
  230. package/dist/twilight/{p-2e1cf59c.entry.js → p-11f843fd.entry.js} +1 -1
  231. package/dist/twilight/p-130633cc.entry.js +4 -0
  232. package/dist/twilight/{p-3a103253.entry.js → p-1450bf80.entry.js} +1 -1
  233. package/dist/twilight/{p-1fc50a13.entry.js → p-14e936b0.entry.js} +1 -1
  234. package/dist/twilight/{p-e492ab39.entry.js → p-1547f282.entry.js} +1 -1
  235. package/dist/twilight/p-18efb27e.entry.js +4 -0
  236. package/dist/twilight/{p-2566c361.entry.js → p-18f264f9.entry.js} +1 -1
  237. package/dist/twilight/{p-78854c4a.entry.js → p-1b4fd0db.entry.js} +1 -1
  238. package/dist/twilight/{p-cbb75c0b.entry.js → p-1bb06699.entry.js} +1 -1
  239. package/dist/twilight/{p-74ba62ad.entry.js → p-1e418b8f.entry.js} +1 -1
  240. package/dist/twilight/p-24d268c7.entry.js +4 -0
  241. package/dist/twilight/{p-f60e5ac2.entry.js → p-29620c50.entry.js} +1 -1
  242. package/dist/twilight/{p-329f2f11.entry.js → p-2f48e8e1.entry.js} +1 -1
  243. package/dist/twilight/{p-7547a8c3.entry.js → p-37ced7ab.entry.js} +1 -1
  244. package/dist/twilight/{p-c88eb0de.entry.js → p-39a49ae9.entry.js} +1 -1
  245. package/dist/twilight/{p-dafb763f.entry.js → p-3a7f5c6e.entry.js} +1 -1
  246. package/dist/twilight/{p-b94fe237.entry.js → p-3f153e79.entry.js} +1 -1
  247. package/dist/twilight/{p-9f003164.entry.js → p-4336dce1.entry.js} +1 -1
  248. package/dist/twilight/{p-fe9451ac.entry.js → p-44f67d40.entry.js} +1 -1
  249. package/dist/twilight/{p-d21bdb22.entry.js → p-46294bef.entry.js} +1 -1
  250. package/dist/twilight/{p-7afc3b39.entry.js → p-4836c3eb.entry.js} +1 -1
  251. package/dist/twilight/{p-7dedb31c.entry.js → p-49275f85.entry.js} +1 -1
  252. package/dist/twilight/{p-ca0fa22b.entry.js → p-4a3ccff2.entry.js} +1 -1
  253. package/dist/twilight/{p-859f2c19.entry.js → p-4f8ec3a6.entry.js} +1 -1
  254. package/dist/twilight/{p-01fd381b.entry.js → p-5119fe5d.entry.js} +1 -1
  255. package/dist/twilight/{p-566bae1e.entry.js → p-519551ab.entry.js} +1 -1
  256. package/dist/twilight/{p-17f9907e.entry.js → p-51fbf1bb.entry.js} +1 -1
  257. package/dist/twilight/{p-1b9272d4.entry.js → p-52cab4a6.entry.js} +1 -1
  258. package/dist/twilight/{p-1620eaa3.entry.js → p-546b31a3.entry.js} +1 -1
  259. package/dist/twilight/{p-2794a82d.entry.js → p-57785b92.entry.js} +1 -1
  260. package/dist/twilight/{p-40256161.entry.js → p-5dfb7601.entry.js} +1 -1
  261. package/dist/twilight/{p-2270652d.entry.js → p-5e14fbf5.entry.js} +1 -1
  262. package/dist/twilight/{p-23a8870b.entry.js → p-60545378.entry.js} +1 -1
  263. package/dist/twilight/{p-adb4eed7.entry.js → p-61332673.entry.js} +1 -1
  264. package/dist/twilight/{p-5c7dd67e.entry.js → p-636e6994.entry.js} +1 -1
  265. package/dist/twilight/{p-f8eb9db2.entry.js → p-67ce35b0.entry.js} +1 -1
  266. package/dist/twilight/{p-9c52e63b.entry.js → p-6bdcd67d.entry.js} +1 -1
  267. package/dist/twilight/{p-6181acb5.entry.js → p-6e2b2072.entry.js} +1 -1
  268. package/dist/twilight/{p-d886da88.entry.js → p-76672fe3.entry.js} +1 -1
  269. package/dist/twilight/{p-26603c81.entry.js → p-79bff80a.entry.js} +1 -1
  270. package/dist/twilight/{p-445b3e07.entry.js → p-7a5894fb.entry.js} +1 -1
  271. package/dist/twilight/{p-74abfefb.entry.js → p-7b0f537a.entry.js} +1 -1
  272. package/dist/twilight/{p-a92549f6.entry.js → p-7bd7baa5.entry.js} +1 -1
  273. package/dist/twilight/{p-6e8a0f83.entry.js → p-8336df51.entry.js} +1 -1
  274. package/dist/twilight/{p-91884639.entry.js → p-8a7f48ce.entry.js} +1 -1
  275. package/dist/twilight/{p-005c08fe.entry.js → p-96779a0c.entry.js} +1 -1
  276. package/dist/twilight/{p-4a31a4dd.entry.js → p-967d356e.entry.js} +1 -1
  277. package/dist/twilight/{p-a20d0254.entry.js → p-9ab52d09.entry.js} +1 -1
  278. package/dist/twilight/{p-BG50tuBF.js → p-BR9zeoCF.js} +1 -1
  279. package/dist/twilight/{p-Cve96fFs.js → p-BTYXaopE.js} +1 -1
  280. package/dist/twilight/{p-tC9eMgA8.js → p-CDTIhPDr.js} +1 -1
  281. package/dist/twilight/{p-2xUZDJ04.js → p-CMW3pjiL.js} +1 -1
  282. package/dist/twilight/{p-DXqzsbXl.js → p-C_htBBK4.js} +1 -1
  283. package/dist/twilight/{p-BL8emH6B.js → p-C_vo3xPL.js} +1 -1
  284. package/dist/twilight/{p-BG-PTfCd.js → p-CcfoPQKG.js} +1 -1
  285. package/dist/twilight/{p-DJPd6DKq.js → p-DBMDFsFH.js} +1 -1
  286. package/dist/twilight/{p-C4k3wAWB.js → p-Dwu1e7SR.js} +1 -1
  287. package/dist/twilight/p-XnA1YTjA.js +4 -0
  288. package/dist/twilight/{p-af769e0a.entry.js → p-a767d9fe.entry.js} +1 -1
  289. package/dist/twilight/{p-7baf04d3.entry.js → p-ab404907.entry.js} +1 -1
  290. package/dist/twilight/{p-3c4b0b05.entry.js → p-acd8aa32.entry.js} +1 -1
  291. package/dist/twilight/{p-bff68f44.entry.js → p-ad1d3cdf.entry.js} +1 -1
  292. package/dist/twilight/{p-c06f0822.entry.js → p-b3b050e7.entry.js} +1 -1
  293. package/dist/twilight/{p-93e3a6b1.entry.js → p-b3b78bf5.entry.js} +1 -1
  294. package/dist/twilight/p-b3f26711.entry.js +4 -0
  295. package/dist/twilight/{p-985f8781.entry.js → p-b4f4e0b7.entry.js} +1 -1
  296. package/dist/twilight/{p-e056c218.entry.js → p-b7da726a.entry.js} +1 -1
  297. package/dist/twilight/{p-f13b397a.entry.js → p-b835777d.entry.js} +1 -1
  298. package/dist/twilight/{p-dac3e978.entry.js → p-c253f69c.entry.js} +1 -1
  299. package/dist/twilight/{p-2646c71c.entry.js → p-c46cf468.entry.js} +1 -1
  300. package/dist/twilight/{p-32eea65f.entry.js → p-c9608410.entry.js} +1 -1
  301. package/dist/twilight/{p-58e39fe9.entry.js → p-cc75ae11.entry.js} +1 -1
  302. package/dist/twilight/{p-48b68862.entry.js → p-ce0685d1.entry.js} +1 -1
  303. package/dist/twilight/{p-1b506134.entry.js → p-ce1bc4b0.entry.js} +1 -1
  304. package/dist/twilight/{p-302bc68d.entry.js → p-cf1b9798.entry.js} +1 -1
  305. package/dist/twilight/{p-17b0b92b.entry.js → p-cf96947a.entry.js} +1 -1
  306. package/dist/twilight/{p-0ade8936.entry.js → p-d01178f0.entry.js} +1 -1
  307. package/dist/twilight/{p-32ef12bb.entry.js → p-d3d2a114.entry.js} +1 -1
  308. package/dist/twilight/{p-69926ae5.entry.js → p-d8fb7f9a.entry.js} +1 -1
  309. package/dist/twilight/{p-5e39f770.entry.js → p-da827143.entry.js} +1 -1
  310. package/dist/twilight/{p-1dc4ab57.entry.js → p-ddd22625.entry.js} +1 -1
  311. package/dist/twilight/{p-cf17ece0.entry.js → p-de41e9b5.entry.js} +1 -1
  312. package/dist/twilight/p-e21a23d2.entry.js +4 -0
  313. package/dist/twilight/{p-6466fd9c.entry.js → p-e5022e8f.entry.js} +1 -1
  314. package/dist/twilight/{p-9248a9b8.entry.js → p-e84f7790.entry.js} +1 -1
  315. package/dist/twilight/{p-c2284ac3.entry.js → p-ef06457d.entry.js} +1 -1
  316. package/dist/twilight/{p-431b9986.entry.js → p-f12670a1.entry.js} +1 -1
  317. package/dist/twilight/{p-e625c6a1.entry.js → p-f267ac72.entry.js} +1 -1
  318. package/dist/twilight/{p-c1aa61bc.entry.js → p-f5d229a7.entry.js} +1 -1
  319. package/dist/twilight/{p-da010601.entry.js → p-f856fe4d.entry.js} +1 -1
  320. package/dist/twilight/{p-2d6f9f9e.entry.js → p-fa900f26.entry.js} +1 -1
  321. package/dist/twilight/{p-029c7342.entry.js → p-fd99de6e.entry.js} +1 -1
  322. package/dist/twilight/p-fdb0f6cc.entry.js +4 -0
  323. package/dist/twilight/{p-c31600a9.entry.js → p-ffd6ad27.entry.js} +1 -1
  324. package/dist/twilight/{p-Ce51TrKH.js → p-lQbFKmnv.js} +1 -1
  325. package/dist/twilight/{p-Bnff9Ut3.js → p-qj0-UBFk.js} +1 -1
  326. package/dist/twilight/{p-aMw12tPb.js → p-uiIu01tD.js} +1 -1
  327. package/dist/twilight/twilight.esm.js +1 -1
  328. package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +67 -0
  329. package/dist/types/components/salla-filters/salla-filters.d.ts +14 -0
  330. package/dist/types/components/salla-gifting/gift-schema.d.ts +2 -0
  331. package/dist/types/components/salla-gifting/salla-gifting.d.ts +8 -0
  332. package/dist/types/components/salla-products-list/salla-products-list.d.ts +1 -0
  333. package/dist/types/components.d.ts +37 -0
  334. package/package.json +5 -5
  335. package/dist/twilight/p-7f788909.entry.js +0 -4
  336. package/dist/twilight/p-80fc1a7b.entry.js +0 -4
  337. package/dist/twilight/p-83b8d7cf.entry.js +0 -4
  338. package/dist/twilight/p-8f672cef.entry.js +0 -4
  339. package/dist/twilight/p-C-3GuKNW.js +0 -4
  340. package/dist/twilight/p-f8ccc247.entry.js +0 -4
@@ -144,6 +144,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
144
144
  this.selectCity = salla.lang.get('pages.checkout.select_city');
145
145
  this.selectCountry = salla.lang.get('pages.checkout.select_country');
146
146
  this.selectCityInfo = salla.lang.get('blocks.buy_as_gift.city_info');
147
+ this.cityChangeNotice = salla.lang.get('blocks.buy_as_gift.city_change_notice');
147
148
  this.receiverCityFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_city');
148
149
  this.receiverRegionFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_region') || salla.lang.get('pages.checkout.region');
149
150
  this.selectRegion = salla.lang.get('pages.checkout.select_region');
@@ -163,6 +164,21 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
163
164
  isPhysical() {
164
165
  return this.physicalProducts || this.physical;
165
166
  }
167
+ /**
168
+ * Resolves the city notice text shown in the physical-product gift step:
169
+ * - recipient can't change address -> default city info notice
170
+ * - recipient can change, fixed shipping cost -> city-change notice
171
+ * - recipient can change, any shipping cost -> no notice
172
+ */
173
+ cityNoticeText() {
174
+ if (!this.gift?.recipient_can_change_address) {
175
+ return this.selectCityInfo;
176
+ }
177
+ if (!this.gift?.allows_different_shipping_cost) {
178
+ return this.cityChangeNotice;
179
+ }
180
+ return null;
181
+ }
166
182
  componentDidLoad() {
167
183
  salla.event.product.onPriceUpdated(() => {
168
184
  const quantityInput = document.querySelector(`.s-quantity-input-input`);
@@ -754,7 +770,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
754
770
  }
755
771
  render() {
756
772
  return [
757
- h("div", { key: 'a2798e968c7311c99560db0710559f8f518031fa' }, h("salla-list-tile", { key: '5621984db45065e919fc647bf973b5fdb42e7c3f', class: this.generateClass() }, h("div", { key: '3fea9220af764f5675b17005169ec5398fb0a1d3', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '6984f88fa5675edfddbc67d87fa69ee26ee40b98' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '64cb13fac30d6613af2c278593e45d59f2f8e791', slot: "subtitle" }, h("div", { key: '578f47b7cc8242bbf6872cc670c37beeb7197c0e' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '54e56e74fcc1e3266395ad003369e47ea0b0c27b', slot: "action" }, h("salla-button", { key: '7687a680041c1e5b431eb56d94262fb2defe0664', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9e466071aa0bf882962931f029e32d567390d9f2', name: "widget-btn-content" }, h("div", { key: 'f5b8a796dc3b7bb4e1094a7741944673e1ec6477', class: "s-gifting-widget-action-content" }, h("span", { key: '037ea375a6904bf51d15c8d76f8b650031526a59', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '490dceeaf5a7e0ec38dabd49182f74d4ea07d597' }, this.sectionBtnText)))))), h("salla-modal", { key: '2914d9a5a0ae7fe555a73f993553165e4fb91b02', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '6d70fa91062f55adb3d0a6371ccb8afc271e949e', slot: "loading" }, h("div", { key: '82a690b756eb1179c325416a33f66b9d726eb336', class: "s-gifting-skeleton" }, h("div", { key: '8cedf269ee0caf39cbd9f39ab80e7dd3d65b7fde', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '7cb2bfb3198c3096efa147348b2a6cdec21eb3d3', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '36cb724cfe2f39a7eb94b779a67520a3bff75389', class: "s-gifting-modal-title" }, h("div", { key: '2ef3bcb26f31cdc34725e9a87849a426bd9dfc72', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '66f4148f367bc687982a06975e41c6865a530e88', height: '15px', width: '150px' })))), h("div", { key: 'fda2fdc549cc6dfcb5f4cc9bfafe5dc686464e4c', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'f0f64ab8b9d467c2cbe4707154a21bb952f45831', height: '10px', width: '150px' }), h("salla-skeleton", { key: '1b1950d9d333b4249aab267fdbb90ac380ac6175', height: '230px' }), h("salla-skeleton", { key: '3b3a2472851e63754804ceb68401bb56a9900061', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'd3f9ace5c8b12061ac94d929d926e8458fb66411', height: '30px' }), h("salla-skeleton", { key: 'd0be03fc578e2559c0a5251875bac01519beb18f', height: '40px' })))), h("slot", { key: '86757c4d648dd818857aaee41c6df568724cbd1b', name: "header" }), !!this.hasError ?
773
+ h("div", { key: '416981417bec78c8c3fda43e6f80745f4d735154' }, h("salla-list-tile", { key: '495255205e1c226669a14a94e50442aabd9818da', class: this.generateClass() }, h("div", { key: 'f2dbdc4ea0dc76d806f18563739a116e15cbbe08', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '9ed4f1d995eaf2341a9ec237ebfb486ed3db988e' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'b5d5512fcb2513177eaa1e25eacce9092f7d845f', slot: "subtitle" }, h("div", { key: '0a8223b41973b72d942ce91c5f478a3edaa5dfd3' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'a6d5a077131117c6854ffc2b39e506be7953051e', slot: "action" }, h("salla-button", { key: '99b14364789884b0010e50941c27cbcfe7445785', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '27f6be7b07084f48da83af6240933d619407307f', name: "widget-btn-content" }, h("div", { key: 'ee5d04e96dd1e3849a33813b3737b476b5470497', class: "s-gifting-widget-action-content" }, h("span", { key: 'd02bb1f6cd4dff335eeca1341da2c86d2976b4fc', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '98a3594e6d01133c4f448d8e5df22ba2984cf09e' }, this.sectionBtnText)))))), h("salla-modal", { key: '0be87b9d369e92a71b68f570b9bf19a0ddb7dd6b', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '978995d399506ff82ac0f2385a1f85a808c7da3e', slot: "loading" }, h("div", { key: '7d1f141fd9131d35edb81326062e8f7cadfa2cab', class: "s-gifting-skeleton" }, h("div", { key: 'b33cfd58381c7c1b545ffedf6739e42fdb75c8de', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'e03a505ad3720c25077ca91c7eec2843cdaee225', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '6f630d2582c96fc71406ef4557143c6e9dbd4a88', class: "s-gifting-modal-title" }, h("div", { key: '8d1a3540993c9b40e705f2145bf0514754c36dab', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: 'd965c353f19cf785a13eba6332b715eed9748836', height: '15px', width: '150px' })))), h("div", { key: 'abacc03d1e30075d3d24dfd577dc9a60f7b52810', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '03db84cfccc546602a6f521b015d0c12b93caa6f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'e8e2d4e70d208055baaae44a8d7da8aa5c6a33da', height: '230px' }), h("salla-skeleton", { key: '2c90d91fb63551685b2041f2bc51fdb5219cbbb7', height: '10px', width: '150px' }), h("salla-skeleton", { key: '8962bc17f43cb04563caa02db3df585189579f8f', height: '30px' }), h("salla-skeleton", { key: '73730453aa6f8d0ec2a653b4711b80b32a18b916', height: '40px' })))), h("slot", { key: '4bcf5a6d53485c461c35f53ce7e265bcf770989e', name: "header" }), !!this.hasError ?
758
774
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
759
775
  :
760
776
  [
@@ -775,9 +791,9 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
775
791
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-region` }, this.receiverRegionFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectRegion, items: this.regions ?? [], selectedItem: this.selectedRegion, loading: this.loadingRegions, disabled: this.loadingRegions || !this.regions?.length, required: true, inputId: `${this.hostId}-region`, searchable: false, keepParentScroll: true, onItemSelected: (e) => this.handleRegionSelected(e.detail), onDropdownClosed: () => this.handleRegionDropdownClosed() }), this.errors && this.errors['receiver.region'] ?
776
792
  h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
777
793
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
778
- h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
779
- h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
780
- ], h("slot", { key: '052bb080776d8d874da570b643345b95a40cd985', name: "footer" })))
794
+ h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() && this.cityNoticeText() &&
795
+ h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.cityNoticeText())), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
796
+ ], h("slot", { key: 'a4d37b893e4a0867c044817434ade65b16fbe89a', name: "footer" })))
781
797
  ];
782
798
  }
783
799
  static get style() { return sallaGiftingCss; }
@@ -809,6 +825,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
809
825
  "selectCountry": [32],
810
826
  "selectCity": [32],
811
827
  "selectCityInfo": [32],
828
+ "cityChangeNotice": [32],
812
829
  "receiverCityFieldLabel": [32],
813
830
  "receiverRegionFieldLabel": [32],
814
831
  "selectRegion": [32],
@@ -141,10 +141,11 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
141
141
  window.scrollTo({ top: 0, behavior: 'smooth' });
142
142
  // Create a deep copy of the filters object to avoid mutating the original object
143
143
  this.parsedFilters = JSON.parse(JSON.stringify(filters));
144
- if (this.currentPage?.slug == 'product.index' &&
145
- this.parsedFilters &&
146
- this.parsedFilters.category_id) {
147
- this.currentCategoryIdFilter = [this.parsedFilters.category_id];
144
+ if (this.currentPage?.slug == 'product.index') {
145
+ // clear when category_id disappears, otherwise getSourceValue() keeps filtering by the removed category
146
+ this.currentCategoryIdFilter = this.parsedFilters?.category_id
147
+ ? this.toCategoryIdFilter(this.parsedFilters.category_id)
148
+ : null;
148
149
  }
149
150
  return this.reload();
150
151
  }
@@ -607,6 +608,14 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
607
608
  isAuxiliaryProductsListSource() {
608
609
  return ['json', 'selected', 'related', 'landing-page', 'recently'].includes(this.getSource());
609
610
  }
611
+ // Normalize a category_id filter (array, legacy {0:,1:} object, or scalar) into a flat list of ids
612
+ toCategoryIdFilter(catId) {
613
+ if (Array.isArray(catId))
614
+ return catId;
615
+ if (catId && typeof catId === 'object')
616
+ return Object.values(catId);
617
+ return [catId];
618
+ }
610
619
  getSourceValue() {
611
620
  if (this.getSource() === 'wishlist') {
612
621
  const searchParams = new URLSearchParams(window.location.search);
@@ -911,7 +920,7 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
911
920
  this.sortBy = this.sortBy || searchParams.get('sort') || searchParams.get('by');
912
921
  this.parsedFilters = Helper.extractFiltersFromUrl(searchParams);
913
922
  if (this.parsedFilters && this.parsedFilters.category_id) {
914
- this.currentCategoryIdFilter = [this.parsedFilters.category_id];
923
+ this.currentCategoryIdFilter = this.toCategoryIdFilter(this.parsedFilters.category_id);
915
924
  }
916
925
  }
917
926
  catch (e) {
@@ -1032,12 +1041,15 @@ const SallaProductsList = /*@__PURE__*/ proxyCustomElement(class SallaProductsLi
1032
1041
  title = salla.lang.get('common.elements.search_about', { word: this.getSourceValue() });
1033
1042
  }
1034
1043
  else if (!title) {
1035
- let catId = this.parsedFilters.category_id || this.getSourceValue()[0];
1044
+ // with user-applied filters a category name in the title is misleading — show count only;
1045
+ // the unfiltered base state keeps the page category's name
1046
+ let catId = Object.keys(this.parsedFilters || {}).length ? null : this.getSourceValue()[0];
1036
1047
  // get the first filter that its key is category_id, then get the value when filter.value.*.key==catId
1037
1048
  title =
1038
1049
  response.filters
1039
1050
  ?.find(filter => filter.key === 'category_id')
1040
- ?.values?.find(cat => cat.key === catId)?.value ?? '';
1051
+ // loose == : catId may be a number (auto-appended page.id) while API keys are strings
1052
+ ?.values?.find(cat => cat.key == catId)?.value ?? '';
1041
1053
  }
1042
1054
  title +=
1043
1055
  (title ? ' - ' : '') +
@@ -114,8 +114,13 @@ class Helper {
114
114
  if (matchesNested) {
115
115
  const filterName = matchesNested[1];
116
116
  const nestedKey = matchesNested[3];
117
- if (nestedKey) {
118
- // Handle nested object
117
+ if (nestedKey === '' || /^\d+$/.test(nestedKey)) {
118
+ // Handle array (OR within a group), e.g. filters[brand_id][] or filters[brand_id][0]
119
+ filters[filterName] = Array.isArray(filters[filterName]) ? filters[filterName] : [];
120
+ filters[filterName].push(value);
121
+ }
122
+ else if (nestedKey) {
123
+ // Handle nested object, e.g. filters[price][min]
119
124
  filters[filterName] = filters[filterName] || {};
120
125
  filters[filterName][nestedKey] = value;
121
126
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DJPd6DKq.js';
4
+ import { d as getDefaultExportFromCjs } from './index-DBMDFsFH.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h } from './index-DJPd6DKq.js';
4
+ import { h } from './index-DBMDFsFH.js';
5
5
 
6
6
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
7
7
  return number < multipleOf ? number : number - (number % multipleOf);