@salla.sa/twilight-components 2.14.389 → 2.14.390

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 (286) hide show
  1. package/dist/cjs/{filepond-D-Sm5mfd.js → filepond-DFct_qpx.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D_Q9tOzh.js → filepond-plugin-file-poster-B_Lr4Ulx.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-jE8i9yLT.js → filepond-plugin-file-validate-size-BqkoO_hr.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-ClNK2GsY.js → filepond-plugin-file-validate-type-DyTH8eH0.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BtI2loP1.js → filepond-plugin-image-edit-Cxg-WjCl.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DFksd-cT.js → filepond-plugin-image-exif-orientation-BSVkpMNu.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-B6iy7dvj.js → filepond-plugin-image-preview-DNcmQwuK.js} +1 -1
  8. package/dist/cjs/{index-CZzG9P8m.js → index-B8vh41va.js} +26 -10
  9. package/dist/cjs/{index-PbcABX0l.js → index-DnQaQgSB.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +63 -0
  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 +196 -0
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-gifting.cjs.entry.js +91 -16
  31. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  41. package/dist/cjs/{salla-accordion-body_3.cjs.entry.js → salla-map.cjs.entry.js} +1 -57
  42. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-order-edit-item.cjs.entry.js +95 -0
  55. package/dist/cjs/salla-order-edit.cjs.entry.js +181 -0
  56. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  62. package/dist/cjs/{salla-count-down_2.cjs.entry.js → salla-product-card.cjs.entry.js} +1 -160
  63. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  84. package/dist/cjs/twilight.cjs.js +2 -2
  85. package/dist/cjs/{vanilla-picker-BP4lqf-K.js → vanilla-picker-BZ48aiBi.js} +1 -1
  86. package/dist/collection/collection-manifest.json +2 -0
  87. package/dist/collection/components/salla-count-down/salla-count-down.css +4 -0
  88. package/dist/collection/components/salla-count-down/salla-count-down.js +122 -13
  89. package/dist/collection/components/salla-gifting/salla-gifting.js +96 -15
  90. package/dist/collection/components/salla-order-edit/interfaces.js +1 -0
  91. package/dist/collection/components/salla-order-edit/salla-order-edit-item.css +0 -0
  92. package/dist/collection/components/salla-order-edit/salla-order-edit-item.js +185 -0
  93. package/dist/collection/components/salla-order-edit/salla-order-edit.css +0 -0
  94. package/dist/collection/components/salla-order-edit/salla-order-edit.js +256 -0
  95. package/dist/components/index.js +2 -2
  96. package/dist/components/salla-count-down2.js +49 -13
  97. package/dist/components/salla-gifting.js +96 -15
  98. package/dist/components/salla-order-edit-item.d.ts +11 -0
  99. package/dist/components/salla-order-edit-item.js +9 -0
  100. package/dist/components/salla-order-edit-item2.js +184 -0
  101. package/dist/components/salla-order-edit.d.ts +11 -0
  102. package/dist/components/salla-order-edit.js +291 -0
  103. package/dist/components/salla-quantity-input.js +1 -125
  104. package/dist/components/salla-quantity-input2.js +130 -0
  105. package/dist/esm/{filepond-PPWykQxI.js → filepond-C9FlNeRD.js} +1 -1
  106. package/dist/esm/{filepond-plugin-file-poster-BRSyNznG.js → filepond-plugin-file-poster-BfX4exY0.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-validate-size-BKa_IBRc.js → filepond-plugin-file-validate-size-B5-cSfmI.js} +1 -1
  108. package/dist/esm/{filepond-plugin-file-validate-type-B2Gqcysx.js → filepond-plugin-file-validate-type-DKvNhI35.js} +1 -1
  109. package/dist/esm/{filepond-plugin-image-edit-C0UvZ9iA.js → filepond-plugin-image-edit-DV1-ZICm.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-exif-orientation-Dmzu9ZJy.js → filepond-plugin-image-exif-orientation-idrSYwAk.js} +1 -1
  111. package/dist/esm/{filepond-plugin-image-preview-CaZ36U6e.js → filepond-plugin-image-preview-os8BCUOs.js} +1 -1
  112. package/dist/esm/{index-CyfZeaV2.js → index-BcMtCVX0.js} +26 -10
  113. package/dist/esm/{index-C3w2qMi0.js → index-DQCZHaDc.js} +1 -1
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/esm/salla-accordion-body_2.entry.js +60 -0
  116. package/dist/esm/salla-accordion_6.entry.js +1 -1
  117. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  118. package/dist/esm/salla-advertisement.entry.js +1 -1
  119. package/dist/esm/salla-alert_2.entry.js +1 -1
  120. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  121. package/dist/esm/salla-apps-icons.entry.js +1 -1
  122. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  123. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  124. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  125. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  126. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  127. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  128. package/dist/esm/salla-contacts.entry.js +1 -1
  129. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  130. package/dist/esm/salla-count-down.entry.js +194 -0
  131. package/dist/esm/salla-custom-fields.entry.js +1 -1
  132. package/dist/esm/salla-filters-widget.entry.js +1 -1
  133. package/dist/esm/salla-filters.entry.js +1 -1
  134. package/dist/esm/salla-gifting.entry.js +91 -16
  135. package/dist/esm/salla-hook.entry.js +1 -1
  136. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  137. package/dist/esm/salla-installment.entry.js +1 -1
  138. package/dist/esm/salla-list-tile.entry.js +1 -1
  139. package/dist/esm/salla-localization-modal.entry.js +1 -1
  140. package/dist/esm/salla-login-modal.entry.js +1 -1
  141. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  142. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  143. package/dist/esm/salla-loyalty.entry.js +1 -1
  144. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  145. package/dist/esm/{salla-accordion-body_3.entry.js → salla-map.entry.js} +2 -56
  146. package/dist/esm/salla-menu.entry.js +1 -1
  147. package/dist/esm/salla-metadata.entry.js +1 -1
  148. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  149. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  150. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  151. package/dist/esm/salla-notification-item.entry.js +1 -1
  152. package/dist/esm/salla-notifications.entry.js +1 -1
  153. package/dist/esm/salla-offer-modal.entry.js +1 -1
  154. package/dist/esm/salla-offer.entry.js +1 -1
  155. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  156. package/dist/esm/salla-order-details-options.entry.js +1 -1
  157. package/dist/esm/salla-order-details.entry.js +1 -1
  158. package/dist/esm/salla-order-edit-item.entry.js +93 -0
  159. package/dist/esm/salla-order-edit.entry.js +179 -0
  160. package/dist/esm/salla-order-summary.entry.js +1 -1
  161. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  162. package/dist/esm/salla-orders.entry.js +1 -1
  163. package/dist/esm/salla-payments.entry.js +1 -1
  164. package/dist/esm/salla-placeholder.entry.js +1 -1
  165. package/dist/esm/salla-price-range.entry.js +1 -1
  166. package/dist/esm/{salla-count-down_2.entry.js → salla-product-card.entry.js} +2 -160
  167. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  168. package/dist/esm/salla-products-list.entry.js +1 -1
  169. package/dist/esm/salla-products-slider.entry.js +1 -1
  170. package/dist/esm/salla-progress-bar.entry.js +1 -1
  171. package/dist/esm/salla-quick-order.entry.js +1 -1
  172. package/dist/esm/salla-rating-modal.entry.js +1 -1
  173. package/dist/esm/salla-scopes.entry.js +1 -1
  174. package/dist/esm/salla-search.entry.js +1 -1
  175. package/dist/esm/salla-skeleton.entry.js +1 -1
  176. package/dist/esm/salla-slider.entry.js +1 -1
  177. package/dist/esm/salla-social-share.entry.js +1 -1
  178. package/dist/esm/salla-social.entry.js +1 -1
  179. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  180. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  181. package/dist/esm/salla-tooltip.entry.js +1 -1
  182. package/dist/esm/salla-trust-badges.entry.js +1 -1
  183. package/dist/esm/salla-user-menu.entry.js +1 -1
  184. package/dist/esm/salla-user-profile.entry.js +1 -1
  185. package/dist/esm/salla-user-settings.entry.js +1 -1
  186. package/dist/esm/salla-verify.entry.js +1 -1
  187. package/dist/esm/salla-wallet.entry.js +1 -1
  188. package/dist/esm/twilight.js +3 -3
  189. package/dist/esm/{vanilla-picker-BnLjo9lg.js → vanilla-picker-BBEKwYz7.js} +1 -1
  190. package/dist/twilight/{p-49178d13.entry.js → p-00a2d261.entry.js} +1 -1
  191. package/dist/twilight/{p-0dcadf17.entry.js → p-0b27ca19.entry.js} +1 -1
  192. package/dist/twilight/{p-52249b73.entry.js → p-0d0ca330.entry.js} +1 -1
  193. package/dist/twilight/{p-749f87cc.entry.js → p-1054b66c.entry.js} +1 -1
  194. package/dist/twilight/{p-9dace77f.entry.js → p-129d6c0c.entry.js} +1 -1
  195. package/dist/twilight/{p-d0d9eaa7.entry.js → p-15a052c7.entry.js} +1 -1
  196. package/dist/twilight/{p-7367264c.entry.js → p-207950ad.entry.js} +1 -1
  197. package/dist/twilight/{p-4a0248ab.entry.js → p-2548fa30.entry.js} +1 -1
  198. package/dist/twilight/{p-77a89284.entry.js → p-26cb1fdf.entry.js} +1 -1
  199. package/dist/twilight/{p-313e016b.entry.js → p-2b74eb03.entry.js} +1 -1
  200. package/dist/twilight/{p-71199938.entry.js → p-359b2de3.entry.js} +1 -1
  201. package/dist/twilight/{p-3424772f.entry.js → p-35a2ea22.entry.js} +1 -1
  202. package/dist/twilight/{p-92aa6f9c.entry.js → p-3653ad70.entry.js} +1 -1
  203. package/dist/twilight/{p-0e064e79.entry.js → p-374057f7.entry.js} +1 -1
  204. package/dist/twilight/p-374c63c7.entry.js +4 -0
  205. package/dist/twilight/{p-3490e1f2.entry.js → p-412643eb.entry.js} +1 -1
  206. package/dist/twilight/{p-981aa6b2.entry.js → p-47cd7ceb.entry.js} +1 -1
  207. package/dist/twilight/{p-5db4f7be.entry.js → p-47d1003b.entry.js} +1 -1
  208. package/dist/twilight/{p-b6d4d88f.entry.js → p-48353d62.entry.js} +1 -1
  209. package/dist/twilight/{p-833e8364.entry.js → p-4866439f.entry.js} +1 -1
  210. package/dist/twilight/{p-549d8385.entry.js → p-4f3964d8.entry.js} +1 -1
  211. package/dist/twilight/{p-f8b53b4a.entry.js → p-4fefd2df.entry.js} +1 -1
  212. package/dist/twilight/{p-de4fc6d3.entry.js → p-5174aa32.entry.js} +1 -1
  213. package/dist/twilight/{p-6b642ef5.entry.js → p-58c66b0d.entry.js} +1 -1
  214. package/dist/twilight/{p-7b3e9e94.entry.js → p-58fa3856.entry.js} +1 -1
  215. package/dist/twilight/{p-6f230886.entry.js → p-596525f9.entry.js} +1 -1
  216. package/dist/twilight/p-5a629abd.entry.js +4 -0
  217. package/dist/twilight/{p-f713d4c1.entry.js → p-5d2ebf97.entry.js} +1 -1
  218. package/dist/twilight/{p-016b3b19.entry.js → p-65df6042.entry.js} +1 -1
  219. package/dist/twilight/{p-7eebae69.entry.js → p-67bc002a.entry.js} +1 -1
  220. package/dist/twilight/{p-b85269f0.entry.js → p-67cf0723.entry.js} +1 -1
  221. package/dist/twilight/{p-1a9b64ea.entry.js → p-687a597a.entry.js} +1 -1
  222. package/dist/twilight/{p-75744403.entry.js → p-689701b4.entry.js} +1 -1
  223. package/dist/twilight/{p-646ac137.entry.js → p-70e478a6.entry.js} +1 -1
  224. package/dist/twilight/{p-a3479656.entry.js → p-74472650.entry.js} +1 -1
  225. package/dist/twilight/{p-5a3fbfcc.entry.js → p-7855ae93.entry.js} +1 -1
  226. package/dist/twilight/p-8c86ba24.entry.js +4 -0
  227. package/dist/twilight/{p-9b03dc5f.entry.js → p-8d4d4a0e.entry.js} +1 -1
  228. package/dist/twilight/{p-85e08789.entry.js → p-8fbd92a2.entry.js} +1 -1
  229. package/dist/twilight/{p-f2a021d2.entry.js → p-983f9f1e.entry.js} +1 -1
  230. package/dist/twilight/{p-f9b6a945.entry.js → p-998a3b5f.entry.js} +1 -1
  231. package/dist/twilight/{p-56f20bf9.entry.js → p-9bf0a7df.entry.js} +1 -1
  232. package/dist/twilight/{p-414f399b.entry.js → p-9ff1a4dc.entry.js} +1 -1
  233. package/dist/twilight/{p-C11T4TVo.js → p-B21QGKK8.js} +1 -1
  234. package/dist/twilight/{p-DaXFe_AG.js → p-Bc2ExcVy.js} +1 -1
  235. package/dist/twilight/{p-CyfZeaV2.js → p-BcMtCVX0.js} +2 -2
  236. package/dist/twilight/{p-DV84B4Zf.js → p-C3Z9uRGX.js} +1 -1
  237. package/dist/twilight/{p-CKAWVE2E.js → p-DIeaJrGb.js} +1 -1
  238. package/dist/twilight/{p-CJnMMMxb.js → p-DbdyybJU.js} +1 -1
  239. package/dist/twilight/{p-oPo_An7U.js → p-UFbwqsEd.js} +1 -1
  240. package/dist/twilight/{p-9af46409.entry.js → p-a39a0eb8.entry.js} +1 -1
  241. package/dist/twilight/{p-6c5ab45f.entry.js → p-a54364a3.entry.js} +1 -1
  242. package/dist/twilight/{p-68e1946b.entry.js → p-a6bb162e.entry.js} +1 -1
  243. package/dist/twilight/{p-dccaabbe.entry.js → p-a6cbb4f5.entry.js} +1 -1
  244. package/dist/twilight/{p-b6924b12.entry.js → p-a8fd427d.entry.js} +1 -1
  245. package/dist/twilight/{p-9ae66ab7.entry.js → p-a909028d.entry.js} +1 -1
  246. package/dist/twilight/{p-fdb99998.entry.js → p-acd70c2f.entry.js} +1 -1
  247. package/dist/twilight/{p-8538541b.entry.js → p-ae1e338f.entry.js} +1 -1
  248. package/dist/twilight/{p-ccc3689d.entry.js → p-b19ace8d.entry.js} +1 -1
  249. package/dist/twilight/p-b697172b.entry.js +4 -0
  250. package/dist/twilight/{p-c48e2a05.entry.js → p-bb98a631.entry.js} +1 -1
  251. package/dist/twilight/{p-8c1f6ff5.entry.js → p-c18179ed.entry.js} +1 -1
  252. package/dist/twilight/{p-8c918f58.entry.js → p-c2d74b3d.entry.js} +1 -1
  253. package/dist/twilight/{p-83bb3e08.entry.js → p-c45f2128.entry.js} +1 -1
  254. package/dist/twilight/p-c5522363.entry.js +4 -0
  255. package/dist/twilight/{p-a5215f9c.entry.js → p-c6e7b06f.entry.js} +1 -1
  256. package/dist/twilight/{p-d224ad78.entry.js → p-cc6c624c.entry.js} +1 -1
  257. package/dist/twilight/{p-B5sTdzgA.js → p-ctIqN5Fo.js} +1 -1
  258. package/dist/twilight/{p-71e9036c.entry.js → p-d607bfd3.entry.js} +1 -1
  259. package/dist/twilight/{p-2d3c3fc0.entry.js → p-d862646f.entry.js} +1 -1
  260. package/dist/twilight/{p-e4984da6.entry.js → p-dbcc0a7f.entry.js} +1 -1
  261. package/dist/twilight/p-dc6f4d54.entry.js +4 -0
  262. package/dist/twilight/{p-28691a37.entry.js → p-deb74e2e.entry.js} +1 -1
  263. package/dist/twilight/{p-e51abff8.entry.js → p-dfa729d4.entry.js} +1 -1
  264. package/dist/twilight/p-e7671432.entry.js +4 -0
  265. package/dist/twilight/{p-1fa74395.entry.js → p-e7932d3d.entry.js} +1 -1
  266. package/dist/twilight/{p-46715ed4.entry.js → p-e879fb84.entry.js} +1 -1
  267. package/dist/twilight/p-e9c7f99a.entry.js +4 -0
  268. package/dist/twilight/{p-c782ba90.entry.js → p-f100cc25.entry.js} +1 -1
  269. package/dist/twilight/{p-fca12e58.entry.js → p-f63999f8.entry.js} +1 -1
  270. package/dist/twilight/{p-nDM6sAQW.js → p-fbLtV-T9.js} +1 -1
  271. package/dist/twilight/{p-282b2717.entry.js → p-fd22cd01.entry.js} +1 -1
  272. package/dist/twilight/{p-DgRZXtp7.js → p-ukob-enB.js} +2 -2
  273. package/dist/twilight/twilight.esm.js +1 -1
  274. package/dist/types/components/salla-count-down/salla-count-down.d.ts +24 -0
  275. package/dist/types/components/salla-gifting/gift-schema.d.ts +4 -0
  276. package/dist/types/components/salla-gifting/intefaces.d.ts +1 -0
  277. package/dist/types/components/salla-gifting/salla-gifting.d.ts +10 -1
  278. package/dist/types/components/salla-order-edit/interfaces.d.ts +114 -0
  279. package/dist/types/components/salla-order-edit/salla-order-edit-item.d.ts +35 -0
  280. package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +42 -0
  281. package/dist/types/components.d.ts +170 -0
  282. package/package.json +5 -5
  283. package/dist/twilight/p-1048b469.entry.js +0 -4
  284. package/dist/twilight/p-69ae622f.entry.js +0 -4
  285. package/dist/twilight/p-d33f3c58.entry.js +0 -4
  286. package/dist/twilight/p-fbcc194e.entry.js +0 -4
@@ -1,167 +1,9 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
 
7
- const sallaCountDownCss = "";
8
-
9
- const SallaCountDown = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- /**
13
- * The size of the count down
14
- * */
15
- this.size = 'md';
16
- /**
17
- * The color of the count down
18
- * */
19
- this.color = 'dark';
20
- /**
21
- * The digits lang to show in the count down
22
- * */
23
- this.digits = 'auto';
24
- this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
25
- this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
26
- this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
27
- this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
28
- this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
29
- this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
30
- this.offerEnded = false;
31
- this.days = this.number(0);
32
- this.hours = this.number(0);
33
- this.minutes = this.number(0);
34
- this.seconds = this.number(0);
35
- salla.lang.onLoaded(() => {
36
- this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
37
- this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
38
- this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
39
- this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
40
- this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
41
- this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
42
- });
43
- if (this.date && this.isValidDate(this.date)) {
44
- this.startCountDown();
45
- }
46
- }
47
- /**
48
- * End the count down
49
- * */
50
- async endCountDown() {
51
- clearInterval(this.countInterval);
52
- this.offerEnded = true;
53
- this.days = this.number(0);
54
- this.hours = this.number(0);
55
- this.minutes = this.number(0);
56
- this.seconds = this.number(0);
57
- }
58
- componentWillLoad() {
59
- if (typeof this.preOrder === 'string') {
60
- try {
61
- this.normalizedPreOrder = JSON.parse(this.preOrder);
62
- }
63
- catch {
64
- this.normalizedPreOrder = undefined;
65
- }
66
- }
67
- else {
68
- this.normalizedPreOrder = this.preOrder;
69
- }
70
- if (this.normalizedPreOrder?.end_date) {
71
- this.date = this.normalizedPreOrder.end_date;
72
- if (this.date && this.isValidDate(this.date)) {
73
- this.startCountDown();
74
- }
75
- }
76
- }
77
- isValidDate(date) {
78
- let dateHasDashes = date.includes('-'), dateParts = date.split(' '), testedDate;
79
- if (dateHasDashes) {
80
- testedDate = dateParts[0].replace(/-/g, '/');
81
- }
82
- else {
83
- testedDate = dateParts[0];
84
- }
85
- return !isNaN(Date.parse(testedDate));
86
- }
87
- number(digit) {
88
- return salla.helpers.number(digit, this.digits === 'en');
89
- }
90
- startCountDown() {
91
- let countDownDate = new Date(this.date.replace(/-/g, '/'));
92
- if (this.endOfDay || this.date.split(' ').length === 1) {
93
- countDownDate.setHours(23, 59, 59, 999);
94
- }
95
- let countDownTime = countDownDate.getTime();
96
- this.countInterval = setInterval(() => {
97
- let now = new Date().getTime();
98
- let distance = countDownTime - now;
99
- this.days = this.number(Math.floor(distance / (1000 * 60 * 60 * 24)));
100
- this.hours = this.number(Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)));
101
- this.minutes = this.number(Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)));
102
- this.seconds = this.number(Math.floor((distance % (1000 * 60)) / 1000));
103
- if (distance < 0) {
104
- this.endCountDown();
105
- }
106
- }, 1000);
107
- }
108
- renderCountDown() {
109
- return (h("ul", { class: `s-count-down-list ${this.boxed ? 's-count-down-boxed' : ''} ${this.offerEnded ? 's-count-down-ended' : ''} s-count-down-${this.size} s-count-down-${this.color}` }, h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.seconds), this.labeled && h("div", { class: "s-count-down-item-label" }, this.secondsLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.minutes), this.labeled && h("div", { class: "s-count-down-item-label" }, this.minutesLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.hours), this.labeled && h("div", { class: "s-count-down-item-label" }, this.hoursLabel)), h("li", { class: "s-count-down-item" }, h("div", { class: "s-count-down-item-value" }, this.days), this.labeled && h("div", { class: "s-count-down-item-label" }, this.daysLabel))));
110
- }
111
- renderInvalidDate() {
112
- return h("div", { class: "s-count-down-text-center" }, this.invalidDate);
113
- }
114
- renderOfferEnded() {
115
- return h("div", { class: "s-count-down-end-text" }, !!this.endText ? this.endText : this.endLabel);
116
- }
117
- renderPreOrderToBeAvailableOn() {
118
- if (!this.normalizedPreOrder?.availability_date ||
119
- !this.isValidDate(this.normalizedPreOrder?.availability_date))
120
- return null;
121
- return (h("div", { class: "s-count-down-info-message" }, h("i", { class: "sicon-info" }), h("span", null, salla.lang.getWithDefault('pages.products.expected_to_be', 'متوقَّع توفُّره بتاريخ:')), h("span", null, new Date(this.normalizedPreOrder?.availability_date).toLocaleDateString(salla.lang.locale, {
122
- weekday: 'long',
123
- year: 'numeric',
124
- month: 'long',
125
- day: 'numeric',
126
- }))));
127
- }
128
- renderPreOrderCountDown() {
129
- if (!this.normalizedPreOrder?.activate_countdown)
130
- return null;
131
- return (h("div", { class: "s-count-down-pre-order-container" }, h("p", { class: "text-sm " }, salla.lang.getWithDefault('pages.products.pre_order_ends_in', 'ينتهي الطلب المسبق خلال:')), this.renderCountDown()));
132
- }
133
- renderPreOrder() {
134
- return (h("div", null, typeof this.normalizedPreOrder === 'object' &&
135
- this.normalizedPreOrder?.availability_date &&
136
- this.renderPreOrderToBeAvailableOn(), this.renderPreOrderCountDown()));
137
- }
138
- renderPrefixText() {
139
- if (!this.prefixText)
140
- return null;
141
- return h("span", { class: "s-count-down-prefix-text" }, this.prefixText);
142
- }
143
- renderButton() {
144
- if (!this.withButton || !this.buttonText)
145
- return null;
146
- return h("salla-button", { color: "primary", size: "medium", href: this.buttonHref }, this.buttonIcon ? h("i", { class: this.buttonIcon }) : null, h("span", null, this.buttonText));
147
- }
148
- renderContent() {
149
- if (!this.date)
150
- return null;
151
- if (!this.isValidDate(this.date)) {
152
- return this.renderInvalidDate();
153
- }
154
- if (this.preOrder) {
155
- return this.renderPreOrder();
156
- }
157
- return this.renderCountDown();
158
- }
159
- render() {
160
- return (h(Host, { key: '0cfdbb009d256be108123cabf3cb4311866bdc17', 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.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
161
- }
162
- };
163
- SallaCountDown.style = sallaCountDownCss;
164
-
165
7
  var Heart = `<!-- Generated by IcoMoon.io -->
166
8
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
167
9
  <title>heart</title>
@@ -312,4 +154,4 @@ const SallaProductCard = class {
312
154
  };
313
155
  SallaProductCard.style = sallaProductCardCss;
314
156
 
315
- export { SallaCountDown as salla_count_down, SallaProductCard as salla_product_card };
157
+ export { SallaProductCard as salla_product_card };
@@ -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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
5
5
 
6
6
  var PencilRuler = `<!-- 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, c as createEvent, h, H as Host, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.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, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.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 } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaProgressBarCss = "";
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-CyfZeaV2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { M as MailIcon } from './mail-DmgxDvXL.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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { W as WishListIcon } from './star-ZT7ehBBk.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
 
7
7
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { S as Search } from './search-BscTeWDc.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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaSkeletonCss = ":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-CyfZeaV2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
7
7
  import { M as MailIcon } from './mail-DmgxDvXL.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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
6
6
 
7
7
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, c as createEvent, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h, c as createEvent, a as getElement } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaTabContentCss = "";
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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.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, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaTrustBadgesCss = "";
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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
6
6
  import { B as BellRing } from './bell-ring-D3mWkc-3.js';
7
7
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, h } from './index-BcMtCVX0.js';
5
5
  import { G as Genders } from './interfaces-OF8QcbMM.js';
6
6
 
7
7
  const sallaUserProfileCss = ":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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
5
5
 
6
6
  var Bullhorn = `<!-- 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, c as createEvent, h, H as Host, a as getElement } from './index-CyfZeaV2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BcMtCVX0.js';
5
5
  import { M as MailIcon } from './mail-DmgxDvXL.js';
6
6
 
7
7
  var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
@@ -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-CyfZeaV2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BcMtCVX0.js';
5
5
 
6
6
  const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
7
7