@salla.sa/twilight-components 2.14.398 → 2.14.400

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 (271) hide show
  1. package/dist/cjs/{filepond-D6evTn7d.js → filepond-8oBYaby8.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D0vznOH1.js → filepond-plugin-file-poster-C9_FxKYE.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-97CRY1wF.js → filepond-plugin-file-validate-size-DH5y0nbW.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CLx6QUF6.js → filepond-plugin-file-validate-type-CeUAOvr1.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BeK8pChe.js → filepond-plugin-image-edit-BBY0rrW9.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B0jee7fw.js → filepond-plugin-image-exif-orientation-CFHoWFvz.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-7GdmfopF.js → filepond-plugin-image-preview-CUvopkJW.js} +1 -1
  8. package/dist/cjs/{index-s4nApfs8.js → index-CTlqP1j4.js} +2 -2
  9. package/dist/cjs/{index-Bxfgg1H6.js → index-CXnvDEKA.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-count-down.cjs.entry.js +10 -2
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-order-edit.cjs.entry.js +15 -6
  58. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  86. package/dist/cjs/twilight.cjs.js +1 -1
  87. package/dist/cjs/{vanilla-picker-C_OrMjYl.js → vanilla-picker-DIOht-QE.js} +1 -1
  88. package/dist/collection/components/salla-count-down/salla-count-down.js +10 -2
  89. package/dist/collection/components/salla-order-edit/salla-order-edit.js +14 -5
  90. package/dist/components/index.js +2 -2
  91. package/dist/components/salla-count-down2.js +9 -1
  92. package/dist/components/salla-order-edit.js +14 -5
  93. package/dist/esm/{filepond-BeIH1Ut4.js → filepond-C3JoxS5H.js} +1 -1
  94. package/dist/esm/{filepond-plugin-file-poster-DWt07uFg.js → filepond-plugin-file-poster-BtPqGW1l.js} +1 -1
  95. package/dist/esm/{filepond-plugin-file-validate-size-CPvhrS1P.js → filepond-plugin-file-validate-size-CzU4paDx.js} +1 -1
  96. package/dist/esm/{filepond-plugin-file-validate-type-C-Bc6V2n.js → filepond-plugin-file-validate-type-vDW3qAnV.js} +1 -1
  97. package/dist/esm/{filepond-plugin-image-edit-D1WmeuFv.js → filepond-plugin-image-edit-D7B65tS9.js} +1 -1
  98. package/dist/esm/{filepond-plugin-image-exif-orientation-C5VnM3kS.js → filepond-plugin-image-exif-orientation-CG2VBxZQ.js} +1 -1
  99. package/dist/esm/{filepond-plugin-image-preview-BzWoVBdT.js → filepond-plugin-image-preview-D3kctuA5.js} +1 -1
  100. package/dist/esm/{index-D6SiODuz.js → index-CEMIzZOC.js} +1 -1
  101. package/dist/esm/{index-C-E3J9C4.js → index-NBDrHfxi.js} +2 -2
  102. package/dist/esm/loader.js +2 -2
  103. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  104. package/dist/esm/salla-accordion_6.entry.js +1 -1
  105. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  106. package/dist/esm/salla-advertisement.entry.js +1 -1
  107. package/dist/esm/salla-alert_2.entry.js +1 -1
  108. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  109. package/dist/esm/salla-apps-icons.entry.js +1 -1
  110. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  111. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  112. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  113. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  114. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  115. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  116. package/dist/esm/salla-contacts.entry.js +1 -1
  117. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  118. package/dist/esm/salla-count-down.entry.js +10 -2
  119. package/dist/esm/salla-custom-fields.entry.js +1 -1
  120. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  121. package/dist/esm/salla-filters-widget.entry.js +1 -1
  122. package/dist/esm/salla-filters.entry.js +1 -1
  123. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  124. package/dist/esm/salla-gifting.entry.js +1 -1
  125. package/dist/esm/salla-hook.entry.js +1 -1
  126. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  127. package/dist/esm/salla-installment.entry.js +1 -1
  128. package/dist/esm/salla-list-tile.entry.js +1 -1
  129. package/dist/esm/salla-localization-modal.entry.js +1 -1
  130. package/dist/esm/salla-login-modal.entry.js +1 -1
  131. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  132. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  133. package/dist/esm/salla-loyalty.entry.js +1 -1
  134. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  135. package/dist/esm/salla-map.entry.js +1 -1
  136. package/dist/esm/salla-menu.entry.js +1 -1
  137. package/dist/esm/salla-metadata.entry.js +1 -1
  138. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  139. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  140. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  141. package/dist/esm/salla-notification-item.entry.js +1 -1
  142. package/dist/esm/salla-notifications.entry.js +1 -1
  143. package/dist/esm/salla-offer-modal.entry.js +1 -1
  144. package/dist/esm/salla-offer.entry.js +1 -1
  145. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  146. package/dist/esm/salla-order-details-options.entry.js +1 -1
  147. package/dist/esm/salla-order-details.entry.js +1 -1
  148. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  149. package/dist/esm/salla-order-edit.entry.js +15 -6
  150. package/dist/esm/salla-order-summary.entry.js +1 -1
  151. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  152. package/dist/esm/salla-orders.entry.js +1 -1
  153. package/dist/esm/salla-payments.entry.js +1 -1
  154. package/dist/esm/salla-placeholder.entry.js +1 -1
  155. package/dist/esm/salla-price-range.entry.js +1 -1
  156. package/dist/esm/salla-product-card.entry.js +1 -1
  157. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  158. package/dist/esm/salla-products-list.entry.js +1 -1
  159. package/dist/esm/salla-products-slider.entry.js +1 -1
  160. package/dist/esm/salla-progress-bar.entry.js +1 -1
  161. package/dist/esm/salla-quick-order.entry.js +1 -1
  162. package/dist/esm/salla-rating-modal.entry.js +1 -1
  163. package/dist/esm/salla-scopes.entry.js +1 -1
  164. package/dist/esm/salla-search.entry.js +1 -1
  165. package/dist/esm/salla-skeleton.entry.js +1 -1
  166. package/dist/esm/salla-slider.entry.js +1 -1
  167. package/dist/esm/salla-social-share.entry.js +1 -1
  168. package/dist/esm/salla-social.entry.js +1 -1
  169. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  170. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  171. package/dist/esm/salla-tooltip.entry.js +1 -1
  172. package/dist/esm/salla-trust-badges.entry.js +1 -1
  173. package/dist/esm/salla-user-menu.entry.js +1 -1
  174. package/dist/esm/salla-user-profile.entry.js +1 -1
  175. package/dist/esm/salla-user-settings.entry.js +1 -1
  176. package/dist/esm/salla-verify.entry.js +1 -1
  177. package/dist/esm/salla-wallet.entry.js +1 -1
  178. package/dist/esm/twilight.js +2 -2
  179. package/dist/esm/{vanilla-picker-my-WfAgm.js → vanilla-picker-DBbYurWw.js} +1 -1
  180. package/dist/twilight/{p-77cb590d.entry.js → p-0483d511.entry.js} +1 -1
  181. package/dist/twilight/{p-bd013a67.entry.js → p-0765013e.entry.js} +1 -1
  182. package/dist/twilight/{p-b5ad3e9e.entry.js → p-1308876f.entry.js} +1 -1
  183. package/dist/twilight/{p-7063010f.entry.js → p-1422dc91.entry.js} +1 -1
  184. package/dist/twilight/{p-353f59b2.entry.js → p-150d9ac5.entry.js} +1 -1
  185. package/dist/twilight/{p-18325320.entry.js → p-17f5e992.entry.js} +1 -1
  186. package/dist/twilight/{p-8cc72d8f.entry.js → p-2137a11f.entry.js} +1 -1
  187. package/dist/twilight/{p-f3a9ad1a.entry.js → p-247ea302.entry.js} +1 -1
  188. package/dist/twilight/{p-4eb1d821.entry.js → p-281511b7.entry.js} +1 -1
  189. package/dist/twilight/{p-d5aa8d62.entry.js → p-2da209d8.entry.js} +1 -1
  190. package/dist/twilight/{p-7e736f58.entry.js → p-30ea3256.entry.js} +1 -1
  191. package/dist/twilight/{p-f5340479.entry.js → p-316c06ab.entry.js} +1 -1
  192. package/dist/twilight/{p-9889e65a.entry.js → p-3e0c6da6.entry.js} +1 -1
  193. package/dist/twilight/{p-2a186ed6.entry.js → p-4269d1ab.entry.js} +1 -1
  194. package/dist/twilight/{p-e13007af.entry.js → p-47609dd0.entry.js} +1 -1
  195. package/dist/twilight/{p-3497bf2f.entry.js → p-48fb61ee.entry.js} +1 -1
  196. package/dist/twilight/{p-134a177f.entry.js → p-49da4d80.entry.js} +1 -1
  197. package/dist/twilight/{p-cce5e7b1.entry.js → p-4adfbc23.entry.js} +1 -1
  198. package/dist/twilight/{p-57ec6837.entry.js → p-4b36ece0.entry.js} +1 -1
  199. package/dist/twilight/{p-bb519a59.entry.js → p-4b466145.entry.js} +1 -1
  200. package/dist/twilight/{p-f24aea00.entry.js → p-4c5165f2.entry.js} +1 -1
  201. package/dist/twilight/{p-cc90b728.entry.js → p-56be56e1.entry.js} +1 -1
  202. package/dist/twilight/{p-65102c4f.entry.js → p-5a35d33a.entry.js} +1 -1
  203. package/dist/twilight/{p-522c3cd9.entry.js → p-628f6c31.entry.js} +1 -1
  204. package/dist/twilight/{p-86246223.entry.js → p-651bf6b4.entry.js} +1 -1
  205. package/dist/twilight/{p-ad74c855.entry.js → p-677f58c6.entry.js} +1 -1
  206. package/dist/twilight/{p-b2d79753.entry.js → p-68437972.entry.js} +1 -1
  207. package/dist/twilight/{p-c204d69d.entry.js → p-6a4489da.entry.js} +1 -1
  208. package/dist/twilight/{p-410fbc40.entry.js → p-6b255e44.entry.js} +1 -1
  209. package/dist/twilight/{p-00c787ee.entry.js → p-6c963eef.entry.js} +1 -1
  210. package/dist/twilight/{p-ca616c27.entry.js → p-6fcec199.entry.js} +1 -1
  211. package/dist/twilight/{p-016b3c17.entry.js → p-71fea388.entry.js} +1 -1
  212. package/dist/twilight/{p-352ecd35.entry.js → p-7488ee16.entry.js} +1 -1
  213. package/dist/twilight/{p-a204a0e9.entry.js → p-76657623.entry.js} +1 -1
  214. package/dist/twilight/{p-1f26a474.entry.js → p-7a545ff1.entry.js} +1 -1
  215. package/dist/twilight/{p-021ead4e.entry.js → p-7db1d294.entry.js} +1 -1
  216. package/dist/twilight/{p-86ba4758.entry.js → p-7f55a45e.entry.js} +1 -1
  217. package/dist/twilight/{p-2d943645.entry.js → p-8312c50c.entry.js} +1 -1
  218. package/dist/twilight/{p-e529a4a2.entry.js → p-83cc5e65.entry.js} +1 -1
  219. package/dist/twilight/p-845757fa.entry.js +4 -0
  220. package/dist/twilight/{p-aecbe626.entry.js → p-849a530e.entry.js} +1 -1
  221. package/dist/twilight/{p-52852ef6.entry.js → p-85bbede4.entry.js} +1 -1
  222. package/dist/twilight/p-88b8dbb0.entry.js +4 -0
  223. package/dist/twilight/{p-d0280d84.entry.js → p-8fb92a3e.entry.js} +1 -1
  224. package/dist/twilight/{p-202e852f.entry.js → p-909f8055.entry.js} +1 -1
  225. package/dist/twilight/{p-386275cd.entry.js → p-95c5460a.entry.js} +1 -1
  226. package/dist/twilight/{p-c339fea6.entry.js → p-95e85f05.entry.js} +1 -1
  227. package/dist/twilight/{p-eb0184a3.entry.js → p-97be11f8.entry.js} +1 -1
  228. package/dist/twilight/{p-8c90f30e.entry.js → p-99320491.entry.js} +1 -1
  229. package/dist/twilight/{p-f04c9971.entry.js → p-9cdacf0b.entry.js} +1 -1
  230. package/dist/twilight/{p-DOqzRPJO.js → p-BGX5s3RM.js} +1 -1
  231. package/dist/twilight/{p-BsrBbPHz.js → p-BYvYgYyR.js} +1 -1
  232. package/dist/twilight/{p-DzeW_j_u.js → p-CGCKtSMz.js} +1 -1
  233. package/dist/twilight/{p-BVl6j5LD.js → p-D-4mkc7-.js} +1 -1
  234. package/dist/twilight/{p-DaqOwAm6.js → p-DBURTRIs.js} +1 -1
  235. package/dist/twilight/{p-oaeiWL7_.js → p-Dsmct0bT.js} +1 -1
  236. package/dist/twilight/{p-DLdNKfUI.js → p-J_Xt7993.js} +1 -1
  237. package/dist/twilight/{p-C-E3J9C4.js → p-NBDrHfxi.js} +2 -2
  238. package/dist/twilight/{p-1de5f042.entry.js → p-a15e729f.entry.js} +1 -1
  239. package/dist/twilight/{p-269e6faf.entry.js → p-a184090f.entry.js} +1 -1
  240. package/dist/twilight/{p-10abfdfc.entry.js → p-a446e236.entry.js} +1 -1
  241. package/dist/twilight/{p-2c9c3c11.entry.js → p-a870f6da.entry.js} +1 -1
  242. package/dist/twilight/{p-2026d692.entry.js → p-a8ae86e2.entry.js} +1 -1
  243. package/dist/twilight/{p-c9cd8f05.entry.js → p-aa3fff4a.entry.js} +1 -1
  244. package/dist/twilight/{p-b13f7eec.entry.js → p-af018a37.entry.js} +1 -1
  245. package/dist/twilight/{p-2ec515d6.entry.js → p-b01d79c5.entry.js} +1 -1
  246. package/dist/twilight/{p-f5beb7b4.entry.js → p-b3981d77.entry.js} +1 -1
  247. package/dist/twilight/{p-87b0a407.entry.js → p-b68bee1a.entry.js} +1 -1
  248. package/dist/twilight/{p-f1874993.entry.js → p-c1e6c417.entry.js} +1 -1
  249. package/dist/twilight/{p-f29d385d.entry.js → p-cd3b5f80.entry.js} +1 -1
  250. package/dist/twilight/{p-e6febfb8.entry.js → p-ce6c7675.entry.js} +1 -1
  251. package/dist/twilight/{p-19c66129.entry.js → p-cef3ce10.entry.js} +1 -1
  252. package/dist/twilight/{p-37fef43a.entry.js → p-d2680a8c.entry.js} +1 -1
  253. package/dist/twilight/{p-6782f748.entry.js → p-d48fb649.entry.js} +1 -1
  254. package/dist/twilight/{p-ec4ac514.entry.js → p-d72ca3c9.entry.js} +1 -1
  255. package/dist/twilight/{p-5831e292.entry.js → p-d8031f07.entry.js} +1 -1
  256. package/dist/twilight/{p-cf17e7a0.entry.js → p-d88ba652.entry.js} +1 -1
  257. package/dist/twilight/{p-27dd1541.entry.js → p-da07cf74.entry.js} +1 -1
  258. package/dist/twilight/{p-95f60300.entry.js → p-dfd9ad83.entry.js} +1 -1
  259. package/dist/twilight/{p-d202e585.entry.js → p-e0fdbe87.entry.js} +1 -1
  260. package/dist/twilight/{p-9042c1f7.entry.js → p-e7a55f86.entry.js} +1 -1
  261. package/dist/twilight/{p-ef33d7a7.entry.js → p-eb8a1a26.entry.js} +1 -1
  262. package/dist/twilight/{p-c1d29503.entry.js → p-f94df09f.entry.js} +1 -1
  263. package/dist/twilight/{p-RcZ40OwB.js → p-sc0K09yT.js} +1 -1
  264. package/dist/twilight/{p-B1wxFk13.js → p-zDAub2oK.js} +1 -1
  265. package/dist/twilight/twilight.esm.js +1 -1
  266. package/dist/types/components/salla-count-down/salla-count-down.d.ts +2 -1
  267. package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +1 -1
  268. package/dist/types/components.d.ts +2 -2
  269. package/package.json +5 -5
  270. package/dist/twilight/p-0621b936.entry.js +0 -4
  271. package/dist/twilight/p-bb9db712.entry.js +0 -4
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { g as globalScripts, b as bootstrapLazy } from './index-C-E3J9C4.js';
5
- export { s as setNonce } from './index-C-E3J9C4.js';
4
+ import { g as globalScripts, b as bootstrapLazy } from './index-NBDrHfxi.js';
5
+ export { s as setNonce } from './index-NBDrHfxi.js';
6
6
 
7
7
  const defineCustomElements = async (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
6
6
 
7
7
  const sallaAccordionBodyCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-NBDrHfxi.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
  import { C as Cancel } from './cancel-BsLF_HK7.js';
7
7
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, e as axios } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, e as axios } from './index-NBDrHfxi.js';
5
5
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import { B as BellRing } from './bell-ring-D3mWkc-3.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
 
7
7
  const sallaAdvertisementCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
6
6
  import { I as ImageIcon } from './image-C-tzSDxw.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaAppInstallAlertCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaAppsIconsCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
6
6
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -364,7 +364,7 @@ const SallaColorPicker = class {
364
364
  }
365
365
  }
366
366
  initColorPicker() {
367
- this.pickerReady = import('./vanilla-picker-my-WfAgm.js').then(function (n) { return n.v; }).then(mod => {
367
+ this.pickerReady = import('./vanilla-picker-DBbYurWw.js').then(function (n) { return n.v; }).then(mod => {
368
368
  const Picker = mod.default;
369
369
  const picker = new Picker({
370
370
  parent: this.host,
@@ -812,13 +812,13 @@ const SallaFileUpload = class {
812
812
  return;
813
813
  try {
814
814
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
815
- import('./filepond-BeIH1Ut4.js').then(function (n) { return n.f; }),
816
- import('./filepond-plugin-file-validate-size-CPvhrS1P.js').then(function (n) { return n.f; }),
817
- import('./filepond-plugin-image-exif-orientation-C5VnM3kS.js').then(function (n) { return n.f; }),
818
- import('./filepond-plugin-image-preview-BzWoVBdT.js').then(function (n) { return n.f; }),
819
- import('./filepond-plugin-image-edit-D1WmeuFv.js').then(function (n) { return n.f; }),
820
- import('./filepond-plugin-file-validate-type-C-Bc6V2n.js').then(function (n) { return n.f; }),
821
- import('./filepond-plugin-file-poster-DWt07uFg.js').then(function (n) { return n.f; })
815
+ import('./filepond-C3JoxS5H.js').then(function (n) { return n.f; }),
816
+ import('./filepond-plugin-file-validate-size-CzU4paDx.js').then(function (n) { return n.f; }),
817
+ import('./filepond-plugin-image-exif-orientation-CG2VBxZQ.js').then(function (n) { return n.f; }),
818
+ import('./filepond-plugin-image-preview-D3kctuA5.js').then(function (n) { return n.f; }),
819
+ import('./filepond-plugin-image-edit-D7B65tS9.js').then(function (n) { return n.f; }),
820
+ import('./filepond-plugin-file-validate-type-vDW3qAnV.js').then(function (n) { return n.f; }),
821
+ import('./filepond-plugin-file-poster-BtPqGW1l.js').then(function (n) { return n.f; })
822
822
  ]);
823
823
  this.FilePond = FilePondModule;
824
824
  // Register plugins
@@ -1413,7 +1413,7 @@ const SallaTelInput = class {
1413
1413
  if (this.TelInput)
1414
1414
  return;
1415
1415
  try {
1416
- const telInputModule = await import('./index-D6SiODuz.js').then(function (n) { return n.i; });
1416
+ const telInputModule = await import('./index-CEMIzZOC.js').then(function (n) { return n.i; });
1417
1417
  this.TelInput = telInputModule.default;
1418
1418
  }
1419
1419
  catch (error) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-NBDrHfxi.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
  import { L as Location } from './location-BO5AoBAP.js';
7
7
  import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaCartCouponsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { l as loyaltyProgramIcon } from './gift-BChI23pG.js';
7
7
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, f as require_root, i as requireIsObject, j as requireIsSymbol, d as getDefaultExportFromCjs } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, f as require_root, i as requireIsObject, j as requireIsSymbol, d as getDefaultExportFromCjs } from './index-NBDrHfxi.js';
5
5
  import { i as iconCheck } from './check-BsXh13x8.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { M as MailIcon } from './mail-DmgxDvXL.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
7
7
 
@@ -107,6 +107,14 @@ const SallaCountDown = class {
107
107
  const dd = String(day).padStart(2, '0');
108
108
  return `${year}-${mm}-${dd}`;
109
109
  }
110
+ // Zero-pad "YYYY-M-D" shapes since V8's ISO parser rejects unpadded month/day.
111
+ const isoLooseMatch = date.match(/^(\d{4})-(\d{1,2})-(\d{1,2})(?:[ T](\d{1,2}:\d{2}:\d{2}))?$/);
112
+ if (isoLooseMatch) {
113
+ const [, year, month, day, time] = isoLooseMatch;
114
+ const mm = String(month).padStart(2, '0');
115
+ const dd = String(day).padStart(2, '0');
116
+ return time ? `${year}-${mm}-${dd} ${time}` : `${year}-${mm}-${dd}`;
117
+ }
110
118
  return date;
111
119
  }
112
120
  isValidDate(date) {
@@ -224,7 +232,7 @@ const SallaCountDown = class {
224
232
  return this.renderCountDown();
225
233
  }
226
234
  render() {
227
- return (h(Host, { key: '9922798f1c6e0ddbdedd2529e0e5d24a74ebf3d8', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
235
+ return (h(Host, { key: '5061e1fab03966fc62e46d4529c4ee07ed01df35', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
228
236
  }
229
237
  };
230
238
  SallaCountDown.style = sallaCountDownCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-NBDrHfxi.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const SallaDeliveryPromise = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h } from './index-NBDrHfxi.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { C as Cancel } from './cancel-BsLF_HK7.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaLoginModalCss = "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%}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
  import { l as loyaltyProgramIcon } from './gift-BChI23pG.js';
6
6
 
7
7
  const sallaLoyaltyProgramCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h } from './index-NBDrHfxi.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { C as Cancel } from './cancel-BsLF_HK7.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { C as Cancel } from './cancel-BsLF_HK7.js';
6
6
 
7
7
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
 
7
7
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaMetadataCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-NBDrHfxi.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
 
7
7
  var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaOrderDetailsMultipleBundleProductCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  var copyIcon = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaOrderEditItemCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-NBDrHfxi.js';
5
5
 
6
6
  const sallaOrderEditCss = "";
7
7
 
@@ -128,19 +128,28 @@ const SallaOrderEdit = class {
128
128
  this.navigateToOrder();
129
129
  }
130
130
  }
131
- cancel() {
132
- this.navigateToOrder();
131
+ async cancelEditSession() {
132
+ try {
133
+ await salla.order.api.cancelEditSession(this.orderId);
134
+ this.navigateToOrder();
135
+ }
136
+ catch (error) {
137
+ const message = error?.response?.data?.error?.message || error?.response?.data?.message;
138
+ if (message) {
139
+ salla.notify.error(message);
140
+ }
141
+ }
133
142
  }
134
143
  renderSaveModal() {
135
144
  const preview = this.editPreview;
136
145
  const hasRemainingAmount = preview?.totals?.remaining_amount?.amount > 0;
137
146
  const hasRefundAmount = preview?.totals?.refund_amount?.amount > 0;
138
147
  const taxAmount = preview?.totals?.tax?.amount?.amount;
139
- return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", onModalVisibilityChanged: (e) => {
148
+ return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", onModalVisibilityChanged: async (e) => {
140
149
  if (!e.detail) {
141
150
  this.editPreview = null;
142
151
  if (!this.confirming) {
143
- this.navigateToOrder();
152
+ await this.cancelEditSession();
144
153
  }
145
154
  this.confirming = false;
146
155
  }
@@ -170,7 +179,7 @@ const SallaOrderEdit = class {
170
179
  return (h(Host, null, endsAt && (h("div", { class: "s-order-edit-timer-wrapper" }, h("salla-count-down", { prefixText: salla.lang.getWithDefault('pages.orders.edit_within', 'يمكنك التعديل خلال'), date: endsAt, horizontal: true, withButton: true, autoSegments: true, labeled: false, size: "sm", color: "primary" }))), h("div", { class: "s-order-edit-items-wrapper" }, h("h2", { class: "s-order-edit-items-title" }, salla.lang.getWithDefault('pages.orders.order_products', 'منتجات الطلب')), hasItems ? (this.order.items.map((item, index) => [
171
180
  h("salla-order-edit-item", { key: item.id, item: item, orderId: this.orderId }),
172
181
  index < this.order.items.length - 1 ? (h("div", { class: "s-order-edit-items-divider" })) : null,
173
- ])) : (h("div", { class: "no-content-placeholder" }, h("i", { class: "sicon-shopping-bag icon" }), h("p", null, salla.lang.getWithDefault('common.elements.no_items', 'لا توجد عناصر'))))), h("div", { class: "s-order-edit-actions" }, h("salla-button", { onClick: () => this.saveOrder(), loading: this.saveLoading, disabled: !this.hasChanges }, salla.lang.getWithDefault('pages.orders.save_changes', 'حفظ التعديلات')), h("salla-button", { color: "gray", fill: "outline", onClick: () => this.cancel() }, salla.lang.getWithDefault('common.elements.cancel', 'الغاء'))), this.renderSaveModal()));
182
+ ])) : (h("div", { class: "no-content-placeholder" }, h("i", { class: "sicon-shopping-bag icon" }), h("p", null, salla.lang.getWithDefault('common.elements.no_items', 'لا توجد عناصر'))))), h("div", { class: "s-order-edit-actions" }, h("salla-button", { onClick: () => this.saveOrder(), loading: this.saveLoading, disabled: !this.hasChanges }, salla.lang.getWithDefault('pages.orders.save_changes', 'حفظ التعديلات')), h("salla-button", { color: "gray", fill: "outline", onClick: () => this.cancelEditSession() }, salla.lang.getWithDefault('common.elements.cancel', 'الغاء'))), this.renderSaveModal()));
174
183
  }
175
184
  get host() { return getElement(this); }
176
185
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-C-E3J9C4.js';
4
+ import { r as registerInstance, h } from './index-NBDrHfxi.js';
5
5
  import { i as iconCheck } from './check-BsXh13x8.js';
6
6
 
7
7
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->