@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
@@ -109,6 +109,14 @@ const SallaCountDown = /*@__PURE__*/ proxyCustomElement(class SallaCountDown ext
109
109
  const dd = String(day).padStart(2, '0');
110
110
  return `${year}-${mm}-${dd}`;
111
111
  }
112
+ // Zero-pad "YYYY-M-D" shapes since V8's ISO parser rejects unpadded month/day.
113
+ const isoLooseMatch = date.match(/^(\d{4})-(\d{1,2})-(\d{1,2})(?:[ T](\d{1,2}:\d{2}:\d{2}))?$/);
114
+ if (isoLooseMatch) {
115
+ const [, year, month, day, time] = isoLooseMatch;
116
+ const mm = String(month).padStart(2, '0');
117
+ const dd = String(day).padStart(2, '0');
118
+ return time ? `${year}-${mm}-${dd} ${time}` : `${year}-${mm}-${dd}`;
119
+ }
112
120
  return date;
113
121
  }
114
122
  isValidDate(date) {
@@ -226,7 +234,7 @@ const SallaCountDown = /*@__PURE__*/ proxyCustomElement(class SallaCountDown ext
226
234
  return this.renderCountDown();
227
235
  }
228
236
  render() {
229
- 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()));
237
+ 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()));
230
238
  }
231
239
  static get style() { return sallaCountDownCss; }
232
240
  }, [0, "salla-count-down", {
@@ -143,19 +143,28 @@ const SallaOrderEdit$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderEdit e
143
143
  this.navigateToOrder();
144
144
  }
145
145
  }
146
- cancel() {
147
- this.navigateToOrder();
146
+ async cancelEditSession() {
147
+ try {
148
+ await salla.order.api.cancelEditSession(this.orderId);
149
+ this.navigateToOrder();
150
+ }
151
+ catch (error) {
152
+ const message = error?.response?.data?.error?.message || error?.response?.data?.message;
153
+ if (message) {
154
+ salla.notify.error(message);
155
+ }
156
+ }
148
157
  }
149
158
  renderSaveModal() {
150
159
  const preview = this.editPreview;
151
160
  const hasRemainingAmount = preview?.totals?.remaining_amount?.amount > 0;
152
161
  const hasRefundAmount = preview?.totals?.refund_amount?.amount > 0;
153
162
  const taxAmount = preview?.totals?.tax?.amount?.amount;
154
- return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", onModalVisibilityChanged: (e) => {
163
+ return (h("salla-modal", { ref: modal => (this.saveModal = modal), width: "md", onModalVisibilityChanged: async (e) => {
155
164
  if (!e.detail) {
156
165
  this.editPreview = null;
157
166
  if (!this.confirming) {
158
- this.navigateToOrder();
167
+ await this.cancelEditSession();
159
168
  }
160
169
  this.confirming = false;
161
170
  }
@@ -185,7 +194,7 @@ const SallaOrderEdit$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderEdit e
185
194
  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) => [
186
195
  h("salla-order-edit-item", { key: item.id, item: item, orderId: this.orderId }),
187
196
  index < this.order.items.length - 1 ? (h("div", { class: "s-order-edit-items-divider" })) : null,
188
- ])) : (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()));
197
+ ])) : (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()));
189
198
  }
190
199
  get host() { return this; }
191
200
  static get style() { return sallaOrderEditCss; }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.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-C-E3J9C4.js';
4
+ import { d as getDefaultExportFromCjs } from './index-NBDrHfxi.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {