@salla.sa/twilight-components 2.14.440 → 2.14.442

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 (310) hide show
  1. package/dist/cjs/{filepond-DOOLwTpX.js → filepond-ChNXH_CM.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D7nMzJ2p.js → filepond-plugin-file-poster-CmFwQi0o.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DpCJ71im.js → filepond-plugin-file-validate-size-C5y99Z3t.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CDZ5OaBc.js → filepond-plugin-file-validate-type-CqRGD1AJ.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BzGZimte.js → filepond-plugin-image-edit-s3z0z0Mh.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D1fPPBi_.js → filepond-plugin-image-exif-orientation-D13PJ6Ei.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CEhIwZKp.js → filepond-plugin-image-preview-DQiPJFdf.js} +1 -1
  8. package/dist/cjs/{functions-CdVaIsQM.js → functions-9qsVe_zH.js} +1 -1
  9. package/dist/cjs/{index-oqqfD8M2.js → index-CjhZ1IEy.js} +6 -6
  10. package/dist/cjs/{index-E66k07Rj.js → index-DEgF9StN.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  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 +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  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 +41 -35
  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 +1 -1
  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-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  83. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  98. package/dist/cjs/{tracked-promise-DV0VuqZL.js → tracked-promise-CT8ZsEnF.js} +1 -1
  99. package/dist/cjs/twilight.cjs.js +2 -2
  100. package/dist/cjs/{vanilla-picker-DvOQTQXG.js → vanilla-picker-IsJbIaW6.js} +1 -1
  101. package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +4 -3
  102. package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +38 -25
  103. package/dist/components/index.js +2 -2
  104. package/dist/components/salla-delivery-promise.js +54 -42
  105. package/dist/esm/{filepond-Crf00c7G.js → filepond--H5Je975.js} +1 -1
  106. package/dist/esm/{filepond-plugin-file-poster-B3uKBJe-.js → filepond-plugin-file-poster-C7qRk6qw.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-validate-size-CWVDRdsV.js → filepond-plugin-file-validate-size-DFV1VUlm.js} +1 -1
  108. package/dist/esm/{filepond-plugin-file-validate-type-VQGNZwF9.js → filepond-plugin-file-validate-type-7MrehGt0.js} +1 -1
  109. package/dist/esm/{filepond-plugin-image-edit-DOhXVk8j.js → filepond-plugin-image-edit-BACaZzDG.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-exif-orientation-Co8jzTVW.js → filepond-plugin-image-exif-orientation-Ckgi2RjT.js} +1 -1
  111. package/dist/esm/{filepond-plugin-image-preview-gQWAQlCp.js → filepond-plugin-image-preview-CXxZ1JZ2.js} +1 -1
  112. package/dist/esm/{functions-D8zpoRMj.js → functions-le7E3Z-D.js} +1 -1
  113. package/dist/esm/{index-DX6k_dv6.js → index-C-JheRmw.js} +1 -1
  114. package/dist/esm/{index-XEcnGv2r.js → index-CU41HKIU.js} +6 -6
  115. package/dist/esm/loader.js +3 -3
  116. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  117. package/dist/esm/salla-accordion_6.entry.js +1 -1
  118. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  119. package/dist/esm/salla-advertisement.entry.js +1 -1
  120. package/dist/esm/salla-alert_2.entry.js +1 -1
  121. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  122. package/dist/esm/salla-apps-icons.entry.js +1 -1
  123. package/dist/esm/salla-badge.entry.js +1 -1
  124. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  125. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  126. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  127. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  128. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  129. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  130. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  131. package/dist/esm/salla-contacts.entry.js +1 -1
  132. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  133. package/dist/esm/salla-count-down.entry.js +1 -1
  134. package/dist/esm/salla-custom-fields.entry.js +1 -1
  135. package/dist/esm/salla-delivery-promise.entry.js +41 -35
  136. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  137. package/dist/esm/salla-filters-widget.entry.js +1 -1
  138. package/dist/esm/salla-filters.entry.js +1 -1
  139. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  140. package/dist/esm/salla-gifting.entry.js +1 -1
  141. package/dist/esm/salla-hook.entry.js +1 -1
  142. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  143. package/dist/esm/salla-installment.entry.js +1 -1
  144. package/dist/esm/salla-list-tile.entry.js +1 -1
  145. package/dist/esm/salla-localization-modal.entry.js +1 -1
  146. package/dist/esm/salla-login-modal.entry.js +1 -1
  147. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  148. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  149. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  150. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  151. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  152. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  153. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  154. package/dist/esm/salla-loyalty.entry.js +1 -1
  155. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  156. package/dist/esm/salla-map.entry.js +1 -1
  157. package/dist/esm/salla-menu.entry.js +1 -1
  158. package/dist/esm/salla-metadata.entry.js +1 -1
  159. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  160. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  161. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  162. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  163. package/dist/esm/salla-notification-item.entry.js +1 -1
  164. package/dist/esm/salla-notifications.entry.js +1 -1
  165. package/dist/esm/salla-offer-modal.entry.js +1 -1
  166. package/dist/esm/salla-offer.entry.js +1 -1
  167. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  168. package/dist/esm/salla-order-details-options.entry.js +1 -1
  169. package/dist/esm/salla-order-details.entry.js +1 -1
  170. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  171. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  172. package/dist/esm/salla-order-edit.entry.js +1 -1
  173. package/dist/esm/salla-order-summary.entry.js +1 -1
  174. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  175. package/dist/esm/salla-orders.entry.js +1 -1
  176. package/dist/esm/salla-payments.entry.js +1 -1
  177. package/dist/esm/salla-placeholder.entry.js +1 -1
  178. package/dist/esm/salla-price-range.entry.js +1 -1
  179. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  180. package/dist/esm/salla-product-card_2.entry.js +1 -1
  181. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  182. package/dist/esm/salla-products-list.entry.js +1 -1
  183. package/dist/esm/salla-progress-bar.entry.js +1 -1
  184. package/dist/esm/salla-quick-order.entry.js +1 -1
  185. package/dist/esm/salla-rating-modal.entry.js +1 -1
  186. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  187. package/dist/esm/salla-scopes.entry.js +1 -1
  188. package/dist/esm/salla-search.entry.js +1 -1
  189. package/dist/esm/salla-skeleton.entry.js +1 -1
  190. package/dist/esm/salla-slider.entry.js +1 -1
  191. package/dist/esm/salla-social-share.entry.js +1 -1
  192. package/dist/esm/salla-social.entry.js +1 -1
  193. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  194. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  195. package/dist/esm/salla-tooltip.entry.js +1 -1
  196. package/dist/esm/salla-trust-badges.entry.js +1 -1
  197. package/dist/esm/salla-user-menu.entry.js +1 -1
  198. package/dist/esm/salla-user-profile.entry.js +1 -1
  199. package/dist/esm/salla-user-settings.entry.js +1 -1
  200. package/dist/esm/salla-verify.entry.js +1 -1
  201. package/dist/esm/salla-wallet.entry.js +1 -1
  202. package/dist/esm/{tracked-promise-DhOWivzL.js → tracked-promise-8v-XqyN8.js} +1 -1
  203. package/dist/esm/twilight.js +3 -3
  204. package/dist/esm/{vanilla-picker-C0njJzZd.js → vanilla-picker-CIUD0MUE.js} +1 -1
  205. package/dist/twilight/{p-DXDm8GqM.js → p-0Jokuna_.js} +1 -1
  206. package/dist/twilight/{p-f1bed530.entry.js → p-0a037636.entry.js} +1 -1
  207. package/dist/twilight/{p-aaf3736b.entry.js → p-0a69eb23.entry.js} +1 -1
  208. package/dist/twilight/{p-9c3d5fdc.entry.js → p-10bf54e3.entry.js} +1 -1
  209. package/dist/twilight/{p-d1808642.entry.js → p-17306014.entry.js} +1 -1
  210. package/dist/twilight/{p-0c342e2d.entry.js → p-1a2a68b4.entry.js} +1 -1
  211. package/dist/twilight/{p-924555bd.entry.js → p-1bd8edcd.entry.js} +1 -1
  212. package/dist/twilight/{p-925690e3.entry.js → p-1ea81716.entry.js} +1 -1
  213. package/dist/twilight/{p-c55b672d.entry.js → p-2291b892.entry.js} +1 -1
  214. package/dist/twilight/{p-07f973b1.entry.js → p-24883adf.entry.js} +1 -1
  215. package/dist/twilight/{p-93e060da.entry.js → p-26dd390f.entry.js} +1 -1
  216. package/dist/twilight/{p-5c972b65.entry.js → p-2a718fa7.entry.js} +1 -1
  217. package/dist/twilight/{p-203d6ae6.entry.js → p-2c0db1f5.entry.js} +1 -1
  218. package/dist/twilight/{p-bea56108.entry.js → p-2c7f026e.entry.js} +1 -1
  219. package/dist/twilight/{p-f668e5dd.entry.js → p-2d366936.entry.js} +1 -1
  220. package/dist/twilight/{p-d1bfd0bc.entry.js → p-2dd96a61.entry.js} +1 -1
  221. package/dist/twilight/{p-07d26676.entry.js → p-3045811f.entry.js} +1 -1
  222. package/dist/twilight/{p-2cae7b1c.entry.js → p-30e73901.entry.js} +1 -1
  223. package/dist/twilight/{p-00b633b2.entry.js → p-37ebae38.entry.js} +1 -1
  224. package/dist/twilight/{p-d473010e.entry.js → p-3a6bb586.entry.js} +1 -1
  225. package/dist/twilight/{p-60d7a5e2.entry.js → p-3d98fdd8.entry.js} +1 -1
  226. package/dist/twilight/{p-c999abc3.entry.js → p-457a4d82.entry.js} +1 -1
  227. package/dist/twilight/{p-c5250fca.entry.js → p-45dd0756.entry.js} +1 -1
  228. package/dist/twilight/{p-d34f2a6c.entry.js → p-46fc246d.entry.js} +1 -1
  229. package/dist/twilight/{p-2eddcffd.entry.js → p-4716f425.entry.js} +1 -1
  230. package/dist/twilight/{p-CMvDceec.js → p-4HuspMnD.js} +1 -1
  231. package/dist/twilight/{p-6c63e8a6.entry.js → p-4afd5f4d.entry.js} +1 -1
  232. package/dist/twilight/{p-4a3b5eca.entry.js → p-4c6b1394.entry.js} +1 -1
  233. package/dist/twilight/{p-d0b10f8b.entry.js → p-4eae9786.entry.js} +1 -1
  234. package/dist/twilight/{p-aeeec3d8.entry.js → p-4f499c9f.entry.js} +1 -1
  235. package/dist/twilight/{p-476c4acb.entry.js → p-53c581d9.entry.js} +1 -1
  236. package/dist/twilight/{p-c612ad0b.entry.js → p-5bbfbf2d.entry.js} +1 -1
  237. package/dist/twilight/{p-1d8eb252.entry.js → p-5e56607d.entry.js} +1 -1
  238. package/dist/twilight/{p-6d35b20c.entry.js → p-5fd93ca6.entry.js} +1 -1
  239. package/dist/twilight/{p-4e52fd6c.entry.js → p-61cc072b.entry.js} +1 -1
  240. package/dist/twilight/{p-3ba87443.entry.js → p-675fc44c.entry.js} +1 -1
  241. package/dist/twilight/{p-ed55bd99.entry.js → p-69507fcc.entry.js} +1 -1
  242. package/dist/twilight/{p-461cd74c.entry.js → p-6de1e1ec.entry.js} +1 -1
  243. package/dist/twilight/{p-b3859adb.entry.js → p-6ffecf89.entry.js} +1 -1
  244. package/dist/twilight/{p-eab889dc.entry.js → p-70c4bf7e.entry.js} +1 -1
  245. package/dist/twilight/{p-31b06705.entry.js → p-756b5f8c.entry.js} +1 -1
  246. package/dist/twilight/{p-deaebd7b.entry.js → p-7a16b35e.entry.js} +1 -1
  247. package/dist/twilight/{p-5e643edb.entry.js → p-7b5b8acf.entry.js} +1 -1
  248. package/dist/twilight/{p-6ab3e94b.entry.js → p-7d6b9967.entry.js} +1 -1
  249. package/dist/twilight/{p-a2fa4306.entry.js → p-857f0932.entry.js} +1 -1
  250. package/dist/twilight/{p-94b31962.entry.js → p-8a004a6d.entry.js} +1 -1
  251. package/dist/twilight/{p-8c34fab2.entry.js → p-8c0420fa.entry.js} +1 -1
  252. package/dist/twilight/{p-56bd83f4.entry.js → p-96c88b66.entry.js} +1 -1
  253. package/dist/twilight/{p-55dfaddd.entry.js → p-977b5c24.entry.js} +1 -1
  254. package/dist/twilight/{p-b7e4542c.entry.js → p-987384b6.entry.js} +1 -1
  255. package/dist/twilight/{p-05ae76f4.entry.js → p-99156981.entry.js} +1 -1
  256. package/dist/twilight/{p-9c2942c3.entry.js → p-9da20408.entry.js} +1 -1
  257. package/dist/twilight/{p-78be4e2c.entry.js → p-9db73e14.entry.js} +1 -1
  258. package/dist/twilight/{p-925869b3.entry.js → p-9e85d4ce.entry.js} +1 -1
  259. package/dist/twilight/{p-DrCHWc9_.js → p-B6oEXetm.js} +1 -1
  260. package/dist/twilight/{p-DvOajQJL.js → p-BlupF8Lq.js} +1 -1
  261. package/dist/twilight/{p-B2jZw8NF.js → p-Br_oy0wM.js} +1 -1
  262. package/dist/twilight/{p-Cw0D47mx.js → p-C5Dg1GRn.js} +1 -1
  263. package/dist/twilight/{p-XEcnGv2r.js → p-CU41HKIU.js} +1 -1
  264. package/dist/twilight/p-DGwOPCLT.js +9 -0
  265. package/dist/twilight/{p-DWyUFC7G.js → p-Dr7vWDR0.js} +1 -1
  266. package/dist/twilight/{p-Dar-Px4H.js → p-DtsEFBDg.js} +1 -1
  267. package/dist/twilight/{p-B5kt5KrJ.js → p-S7MHEIjD.js} +1 -1
  268. package/dist/twilight/p-a1628685.entry.js +4 -0
  269. package/dist/twilight/{p-06f77f81.entry.js → p-a1ad5903.entry.js} +1 -1
  270. package/dist/twilight/{p-9731d50b.entry.js → p-a2c79057.entry.js} +1 -1
  271. package/dist/twilight/{p-ed770165.entry.js → p-a7af7fe2.entry.js} +1 -1
  272. package/dist/twilight/{p-3edb7319.entry.js → p-a9fc0655.entry.js} +1 -1
  273. package/dist/twilight/{p-cd5722c4.entry.js → p-bc9b1447.entry.js} +1 -1
  274. package/dist/twilight/p-bd8b04c3.entry.js +4 -0
  275. package/dist/twilight/{p-33362e8b.entry.js → p-be04ef65.entry.js} +1 -1
  276. package/dist/twilight/{p-5fd650c4.entry.js → p-c1003e80.entry.js} +1 -1
  277. package/dist/twilight/{p-a49d9c6e.entry.js → p-c2bf5b8a.entry.js} +1 -1
  278. package/dist/twilight/{p-e50b4426.entry.js → p-c3b2afd8.entry.js} +1 -1
  279. package/dist/twilight/{p-3e054be0.entry.js → p-c7042b0f.entry.js} +1 -1
  280. package/dist/twilight/{p-8a4da11a.entry.js → p-c7f37130.entry.js} +1 -1
  281. package/dist/twilight/{p-854eb825.entry.js → p-cdf5d86d.entry.js} +1 -1
  282. package/dist/twilight/{p-f8d7196e.entry.js → p-cf6ec931.entry.js} +1 -1
  283. package/dist/twilight/{p-b1f79652.entry.js → p-d2dae9ab.entry.js} +1 -1
  284. package/dist/twilight/{p-f34ea06b.entry.js → p-d60ecfc3.entry.js} +1 -1
  285. package/dist/twilight/{p-c12ff95c.entry.js → p-d6408462.entry.js} +1 -1
  286. package/dist/twilight/{p-6fed57e8.entry.js → p-d785b662.entry.js} +1 -1
  287. package/dist/twilight/{p-d1e67236.entry.js → p-dc29bb5d.entry.js} +1 -1
  288. package/dist/twilight/{p-2dce17b0.entry.js → p-dc6f9843.entry.js} +1 -1
  289. package/dist/twilight/{p-9b2ba1e6.entry.js → p-dddfea5d.entry.js} +1 -1
  290. package/dist/twilight/{p-8207fb6f.entry.js → p-e0c1c0ee.entry.js} +1 -1
  291. package/dist/twilight/{p-11da2f39.entry.js → p-e1703718.entry.js} +1 -1
  292. package/dist/twilight/{p-f5207897.entry.js → p-e39304ef.entry.js} +1 -1
  293. package/dist/twilight/{p-6ff38910.entry.js → p-e501c31a.entry.js} +1 -1
  294. package/dist/twilight/{p-a14b7bb6.entry.js → p-e7ceabbf.entry.js} +1 -1
  295. package/dist/twilight/{p-c0162a6e.entry.js → p-f074ecfe.entry.js} +1 -1
  296. package/dist/twilight/{p-f076d705.entry.js → p-f1255077.entry.js} +1 -1
  297. package/dist/twilight/{p-0238a9dd.entry.js → p-f71c8240.entry.js} +1 -1
  298. package/dist/twilight/p-f86d1059.entry.js +4 -0
  299. package/dist/twilight/{p-5df17c20.entry.js → p-fc1ab34a.entry.js} +1 -1
  300. package/dist/twilight/{p-c3432589.entry.js → p-fc7877b8.entry.js} +1 -1
  301. package/dist/twilight/{p-57a9293b.entry.js → p-fe2ca187.entry.js} +1 -1
  302. package/dist/twilight/{p-DL6eUQYK.js → p-moLp9ne-.js} +1 -1
  303. package/dist/twilight/twilight.esm.js +1 -1
  304. package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +1 -1
  305. package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +6 -5
  306. package/package.json +5 -5
  307. package/dist/twilight/p-39498902.entry.js +0 -4
  308. package/dist/twilight/p-YUFLgZi3.js +0 -9
  309. package/dist/twilight/p-b352e237.entry.js +0 -4
  310. package/dist/twilight/p-cff61b58.entry.js +0 -4
@@ -2,9 +2,10 @@
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
- import { d as defineCustomElement$5 } from './salla-button2.js';
6
- import { d as defineCustomElement$4 } from './salla-loading2.js';
7
- import { d as defineCustomElement$3 } from './salla-modal2.js';
5
+ import { d as defineCustomElement$6 } from './salla-button2.js';
6
+ import { d as defineCustomElement$5 } from './salla-loading2.js';
7
+ import { d as defineCustomElement$4 } from './salla-modal2.js';
8
+ import { d as defineCustomElement$3 } from './salla-searchable-dropdown2.js';
8
9
  import { d as defineCustomElement$2 } from './salla-skeleton2.js';
9
10
 
10
11
  const DEBUG_KEY = 'salla-delivery-promise-debug';
@@ -14,9 +15,10 @@ function log(message, data) {
14
15
  }
15
16
  }
16
17
  /** Fetch available cities for a product's delivery promises. */
17
- async function fetchCities(productId) {
18
- log('fetchCities start', { productId });
19
- const response = await salla.api.request(salla.url.api(`products/${productId}/delivery-promises/cities`));
18
+ async function fetchCities(productId, keyword) {
19
+ log('fetchCities start', { productId, keyword });
20
+ const queryString = keyword != null ? `?keyword=${encodeURIComponent(keyword)}` : '';
21
+ const response = await salla.api.request(salla.url.api(`products/${productId}/delivery-promises/cities${queryString}`));
20
22
  if (!response.success || !Array.isArray(response.data) || response.data.length === 0) {
21
23
  log('fetchCities: no data', { response });
22
24
  return { cities: [] };
@@ -44,15 +46,6 @@ async function fetchDeliveryMessage(productId, id, optionType, isLoginCycleEnabl
44
46
  return message || null;
45
47
  }
46
48
 
47
- /** Filters cities by Arabic/English name (used inside the city-change modal). */
48
- function filterCitiesForModal(cities, query) {
49
- const q = query.trim().toLowerCase();
50
- if (!q) {
51
- return [...cities];
52
- }
53
- return cities.filter(city => city.name.toLowerCase().includes(q) || (city.name_en || '').toLowerCase().includes(q));
54
- }
55
-
56
49
  const INTENT_KEY = 'bullet_delivery_intent';
57
50
  function getIntentStorage() {
58
51
  const rememberLastSession = Boolean(salla.config.get('store.settings.bullet_delivery.settings.remember_last_session'));
@@ -167,21 +160,24 @@ const SallaDeliveryPromise$1 = /*@__PURE__*/ proxyCustomElement(class SallaDeliv
167
160
  this.selectedCity = null;
168
161
  this.isLoadingCities = false;
169
162
  // ── City-change modal state (non–login-cycle) ─────────────────────────
170
- this.modalSearchQuery = '';
171
163
  this.cityPendingSelection = null;
172
- this.isCityPopoverOpen = false;
164
+ this.modalCities = [];
165
+ this.isSearchingCities = false;
166
+ this.citySearchCounter = 0;
173
167
  // ═══════════════════════════════════════════════════════════════════════
174
168
  // Login-cycle (bullet delivery) integration
175
169
  // ═══════════════════════════════════════════════════════════════════════
176
170
  this.onBulletDeliveryConfirmed = () => {
177
171
  this.applyBulletIntent();
178
172
  };
179
- this.handleModalSearchInput = (event) => {
180
- this.modalSearchQuery = event.target.value;
181
- this.isCityPopoverOpen = true;
182
- };
183
- this.handleModalComboboxActivate = () => {
184
- this.isCityPopoverOpen = true;
173
+ this.handleCitySearch = (keyword) => {
174
+ clearTimeout(this.citySearchTimer);
175
+ if (!keyword.trim()) {
176
+ this.modalCities = [...this.cities];
177
+ this.isSearchingCities = false;
178
+ return;
179
+ }
180
+ this.citySearchTimer = setTimeout(() => this.searchCitiesRemote(keyword), 300);
185
181
  };
186
182
  // ═══════════════════════════════════════════════════════════════════════
187
183
  // Header click (dispatches to correct flow)
@@ -290,7 +286,6 @@ const SallaDeliveryPromise$1 = /*@__PURE__*/ proxyCustomElement(class SallaDeliv
290
286
  if (autoCity) {
291
287
  log("delivery promise standard flow autoCity found", autoCity);
292
288
  this.selectedCity = autoCity;
293
- this.modalSearchQuery = getCityDisplayName(autoCity);
294
289
  }
295
290
  await this.loadDeliveryMessage(cityId, 'city');
296
291
  }
@@ -329,14 +324,29 @@ const SallaDeliveryPromise$1 = /*@__PURE__*/ proxyCustomElement(class SallaDeliv
329
324
  if (!this.cityModalRef)
330
325
  return;
331
326
  this.cityPendingSelection = null;
332
- this.isCityPopoverOpen = false;
327
+ this.modalCities = [...this.cities];
333
328
  await this.cityModalRef.setTitle(this.labels.changeCityTitle);
334
329
  await this.cityModalRef.open();
335
330
  }
336
- handleModalSelectCity(city) {
337
- this.cityPendingSelection = city;
338
- this.modalSearchQuery = getCityDisplayName(city);
339
- this.isCityPopoverOpen = false;
331
+ async searchCitiesRemote(keyword) {
332
+ const requestId = ++this.citySearchCounter;
333
+ this.isSearchingCities = true;
334
+ try {
335
+ const { cities } = await fetchCities(this.productId, keyword);
336
+ if (requestId !== this.citySearchCounter)
337
+ return;
338
+ this.modalCities = cities;
339
+ }
340
+ catch {
341
+ if (requestId !== this.citySearchCounter)
342
+ return;
343
+ this.modalCities = [];
344
+ }
345
+ finally {
346
+ if (requestId === this.citySearchCounter) {
347
+ this.isSearchingCities = false;
348
+ }
349
+ }
340
350
  }
341
351
  async handleConfirmCityModal() {
342
352
  if (!this.cityPendingSelection) {
@@ -364,14 +374,11 @@ const SallaDeliveryPromise$1 = /*@__PURE__*/ proxyCustomElement(class SallaDeliv
364
374
  return h("div", { class: "s-delivery-promise-message" }, this.deliveryMessage);
365
375
  }
366
376
  renderCityModalBody() {
367
- const filtered = filterCitiesForModal(this.cities, this.modalSearchQuery);
368
- return (h("div", { class: "s-delivery-promise-modal-body" }, h("label", { class: "s-delivery-promise-modal-field-label", htmlFor: "s-delivery-promise-modal-search" }, this.labels.cityFieldLabel, h("span", { class: "s-delivery-promise-required", "aria-hidden": "true" }, " *")), h("div", { class: "s-delivery-promise-modal-combobox" }, h("div", { class: "s-delivery-promise-modal-search", onClick: this.handleModalComboboxActivate }, h("i", { class: "sicon-search", "aria-hidden": "true" }), h("input", { id: "s-delivery-promise-modal-search", type: "text", class: "form-input", placeholder: this.labels.modalSearchPlaceholder, value: this.modalSearchQuery, onInput: this.handleModalSearchInput, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isCityPopoverOpen ? 'true' : 'false', "aria-controls": "s-delivery-promise-modal-listbox" })), h("div", { id: "s-delivery-promise-modal-listbox", class: "s-delivery-promise-modal-popover", role: "listbox", hidden: !this.isCityPopoverOpen }, h("div", { class: "s-delivery-promise-modal-list s-scrollbar" }, filtered.length === 0 ? (h("div", { class: "s-delivery-promise-modal-empty" }, this.labels.noResults)) : (filtered.map(city => (h("button", { key: city.id, type: "button", role: "option", class: {
369
- 's-delivery-promise-modal-item': true,
370
- 's-delivery-promise-modal-item--selected': this.cityPendingSelection?.id === city.id,
371
- }, "aria-selected": this.cityPendingSelection?.id === city.id ? 'true' : 'false', onClick: e => {
372
- e.stopPropagation();
373
- this.handleModalSelectCity(city);
374
- } }, h("span", { class: "s-delivery-promise-modal-item-name" }, city.name), this.cityPendingSelection?.id === city.id ? h("i", { class: "sicon-check", "aria-hidden": "true" }) : null)))))))));
377
+ return (h("div", { class: "s-delivery-promise-modal-body" }, h("salla-searchable-dropdown", { label: this.labels.cityFieldLabel, placeholder: this.labels.modalSearchPlaceholder, items: this.modalCities, selectedItem: this.cityPendingSelection, searching: this.isSearchingCities, required: true, noResultsText: this.labels.noResults, inputId: "s-delivery-promise-modal-search", onItemSelected: (e) => {
378
+ this.cityPendingSelection = e.detail;
379
+ }, onSearchInput: (e) => {
380
+ this.handleCitySearch(e.detail);
381
+ } })));
375
382
  }
376
383
  renderCityChangeModal() {
377
384
  if (this.isLoginCycleEnabled)
@@ -406,15 +413,15 @@ const SallaDeliveryPromise$1 = /*@__PURE__*/ proxyCustomElement(class SallaDeliv
406
413
  "cities": [32],
407
414
  "selectedCity": [32],
408
415
  "isLoadingCities": [32],
409
- "modalSearchQuery": [32],
410
416
  "cityPendingSelection": [32],
411
- "isCityPopoverOpen": [32]
417
+ "modalCities": [32],
418
+ "isSearchingCities": [32]
412
419
  }]);
413
420
  function defineCustomElement$1() {
414
421
  if (typeof customElements === "undefined") {
415
422
  return;
416
423
  }
417
- const components = ["salla-delivery-promise", "salla-button", "salla-loading", "salla-modal", "salla-skeleton"];
424
+ const components = ["salla-delivery-promise", "salla-button", "salla-loading", "salla-modal", "salla-searchable-dropdown", "salla-skeleton"];
418
425
  components.forEach(tagName => { switch (tagName) {
419
426
  case "salla-delivery-promise":
420
427
  if (!customElements.get(tagName)) {
@@ -423,15 +430,20 @@ function defineCustomElement$1() {
423
430
  break;
424
431
  case "salla-button":
425
432
  if (!customElements.get(tagName)) {
426
- defineCustomElement$5();
433
+ defineCustomElement$6();
427
434
  }
428
435
  break;
429
436
  case "salla-loading":
430
437
  if (!customElements.get(tagName)) {
431
- defineCustomElement$4();
438
+ defineCustomElement$5();
432
439
  }
433
440
  break;
434
441
  case "salla-modal":
442
+ if (!customElements.get(tagName)) {
443
+ defineCustomElement$4();
444
+ }
445
+ break;
446
+ case "salla-searchable-dropdown":
435
447
  if (!customElements.get(tagName)) {
436
448
  defineCustomElement$3();
437
449
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.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-XEcnGv2r.js';
4
+ import { h } from './index-CU41HKIU.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);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-XEcnGv2r.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CU41HKIU.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {