@salla.sa/twilight-components 2.14.395 → 2.14.396

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 (267) hide show
  1. package/dist/cjs/{filepond-DhDK6X-K.js → filepond--eaDMl7y.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-By0OGSbr.js → filepond-plugin-file-poster-Bzu6Vt-X.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-C5OjLfMZ.js → filepond-plugin-file-validate-size-Ub_sOKAF.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DAtZkzcc.js → filepond-plugin-file-validate-type-3DherKXx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BSqtSAWo.js → filepond-plugin-image-edit-BdtV1wyD.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BLuNiU8R.js → filepond-plugin-image-exif-orientation-C5dSiQ0v.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DE9EBkNn.js → filepond-plugin-image-preview-CazMN__p.js} +1 -1
  8. package/dist/cjs/{index-BMeldHxT.js → index-D53_q3EG.js} +1 -1
  9. package/dist/cjs/{index-BGJUbcXt.js → index-DjB1fbHm.js} +2 -2
  10. package/dist/cjs/loader.cjs.js +2 -2
  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 +27 -13
  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 +1 -1
  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 +2 -2
  87. package/dist/cjs/{vanilla-picker-BJmFb-7a.js → vanilla-picker-B6SlFf8N.js} +1 -1
  88. package/dist/collection/components/salla-count-down/salla-count-down.js +28 -13
  89. package/dist/components/index.js +2 -2
  90. package/dist/components/salla-count-down2.js +27 -12
  91. package/dist/esm/{filepond-B5O4Ep7g.js → filepond-B0f66JOy.js} +1 -1
  92. package/dist/esm/{filepond-plugin-file-poster-CXl-thGg.js → filepond-plugin-file-poster-CMK74s0v.js} +1 -1
  93. package/dist/esm/{filepond-plugin-file-validate-size-9IDBrVOZ.js → filepond-plugin-file-validate-size-DHAPxF9Y.js} +1 -1
  94. package/dist/esm/{filepond-plugin-file-validate-type-DcoiRIvo.js → filepond-plugin-file-validate-type-2OXNr5nG.js} +1 -1
  95. package/dist/esm/{filepond-plugin-image-edit-DDAVgEhK.js → filepond-plugin-image-edit-DQo2yk4F.js} +1 -1
  96. package/dist/esm/{filepond-plugin-image-exif-orientation-BEr9NdP5.js → filepond-plugin-image-exif-orientation-BoHI8HuD.js} +1 -1
  97. package/dist/esm/{filepond-plugin-image-preview-AxYFTZHo.js → filepond-plugin-image-preview-CasnSUaE.js} +1 -1
  98. package/dist/esm/{index-B08XlOeq.js → index-5Ukk6AXG.js} +2 -2
  99. package/dist/esm/{index-CT1GcrKO.js → index-CoEnP6re.js} +1 -1
  100. package/dist/esm/loader.js +3 -3
  101. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  102. package/dist/esm/salla-accordion_6.entry.js +1 -1
  103. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  104. package/dist/esm/salla-advertisement.entry.js +1 -1
  105. package/dist/esm/salla-alert_2.entry.js +1 -1
  106. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  107. package/dist/esm/salla-apps-icons.entry.js +1 -1
  108. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  109. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  110. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  111. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  112. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  113. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  114. package/dist/esm/salla-contacts.entry.js +1 -1
  115. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  116. package/dist/esm/salla-count-down.entry.js +27 -13
  117. package/dist/esm/salla-custom-fields.entry.js +1 -1
  118. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  119. package/dist/esm/salla-filters-widget.entry.js +1 -1
  120. package/dist/esm/salla-filters.entry.js +1 -1
  121. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  122. package/dist/esm/salla-gifting.entry.js +1 -1
  123. package/dist/esm/salla-hook.entry.js +1 -1
  124. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  125. package/dist/esm/salla-installment.entry.js +1 -1
  126. package/dist/esm/salla-list-tile.entry.js +1 -1
  127. package/dist/esm/salla-localization-modal.entry.js +1 -1
  128. package/dist/esm/salla-login-modal.entry.js +1 -1
  129. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  130. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  131. package/dist/esm/salla-loyalty.entry.js +1 -1
  132. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  133. package/dist/esm/salla-map.entry.js +1 -1
  134. package/dist/esm/salla-menu.entry.js +1 -1
  135. package/dist/esm/salla-metadata.entry.js +1 -1
  136. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  137. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  138. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  139. package/dist/esm/salla-notification-item.entry.js +1 -1
  140. package/dist/esm/salla-notifications.entry.js +1 -1
  141. package/dist/esm/salla-offer-modal.entry.js +1 -1
  142. package/dist/esm/salla-offer.entry.js +1 -1
  143. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  144. package/dist/esm/salla-order-details-options.entry.js +1 -1
  145. package/dist/esm/salla-order-details.entry.js +1 -1
  146. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  147. package/dist/esm/salla-order-edit.entry.js +1 -1
  148. package/dist/esm/salla-order-summary.entry.js +1 -1
  149. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  150. package/dist/esm/salla-orders.entry.js +1 -1
  151. package/dist/esm/salla-payments.entry.js +1 -1
  152. package/dist/esm/salla-placeholder.entry.js +1 -1
  153. package/dist/esm/salla-price-range.entry.js +1 -1
  154. package/dist/esm/salla-product-card.entry.js +1 -1
  155. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  156. package/dist/esm/salla-products-list.entry.js +1 -1
  157. package/dist/esm/salla-products-slider.entry.js +1 -1
  158. package/dist/esm/salla-progress-bar.entry.js +1 -1
  159. package/dist/esm/salla-quick-order.entry.js +1 -1
  160. package/dist/esm/salla-rating-modal.entry.js +1 -1
  161. package/dist/esm/salla-scopes.entry.js +1 -1
  162. package/dist/esm/salla-search.entry.js +1 -1
  163. package/dist/esm/salla-skeleton.entry.js +1 -1
  164. package/dist/esm/salla-slider.entry.js +1 -1
  165. package/dist/esm/salla-social-share.entry.js +1 -1
  166. package/dist/esm/salla-social.entry.js +1 -1
  167. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  168. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  169. package/dist/esm/salla-tooltip.entry.js +1 -1
  170. package/dist/esm/salla-trust-badges.entry.js +1 -1
  171. package/dist/esm/salla-user-menu.entry.js +1 -1
  172. package/dist/esm/salla-user-profile.entry.js +1 -1
  173. package/dist/esm/salla-user-settings.entry.js +1 -1
  174. package/dist/esm/salla-verify.entry.js +1 -1
  175. package/dist/esm/salla-wallet.entry.js +1 -1
  176. package/dist/esm/twilight.js +3 -3
  177. package/dist/esm/{vanilla-picker-BHoeSGTe.js → vanilla-picker-Dsyxt_RC.js} +1 -1
  178. package/dist/twilight/{p-82373ce1.entry.js → p-016aab09.entry.js} +1 -1
  179. package/dist/twilight/{p-ace93243.entry.js → p-01a7c6fa.entry.js} +1 -1
  180. package/dist/twilight/{p-706205de.entry.js → p-086ca2d0.entry.js} +1 -1
  181. package/dist/twilight/{p-95058bbc.entry.js → p-0c9809e0.entry.js} +1 -1
  182. package/dist/twilight/{p-ca8718f8.entry.js → p-122ba5b4.entry.js} +1 -1
  183. package/dist/twilight/{p-89a0e4a2.entry.js → p-18292248.entry.js} +1 -1
  184. package/dist/twilight/{p-d8b1d590.entry.js → p-19296437.entry.js} +1 -1
  185. package/dist/twilight/{p-b3a120ea.entry.js → p-1cbebced.entry.js} +1 -1
  186. package/dist/twilight/{p-75c9c0d9.entry.js → p-20de7349.entry.js} +1 -1
  187. package/dist/twilight/{p-014fb8d0.entry.js → p-24515d59.entry.js} +1 -1
  188. package/dist/twilight/{p-a45b7450.entry.js → p-2a052235.entry.js} +1 -1
  189. package/dist/twilight/{p-1303d9d7.entry.js → p-2a2c1934.entry.js} +1 -1
  190. package/dist/twilight/{p-1dd74467.entry.js → p-34191f21.entry.js} +1 -1
  191. package/dist/twilight/{p-0c90006b.entry.js → p-3658e24b.entry.js} +1 -1
  192. package/dist/twilight/{p-00ff16e1.entry.js → p-3d468a50.entry.js} +1 -1
  193. package/dist/twilight/{p-b7abf14c.entry.js → p-3f82e437.entry.js} +1 -1
  194. package/dist/twilight/{p-ea6aa784.entry.js → p-416c7036.entry.js} +1 -1
  195. package/dist/twilight/{p-431a16ce.entry.js → p-49d2f954.entry.js} +1 -1
  196. package/dist/twilight/{p-af1efb90.entry.js → p-4c05b868.entry.js} +1 -1
  197. package/dist/twilight/{p-99b45fc0.entry.js → p-50190eac.entry.js} +1 -1
  198. package/dist/twilight/{p-2c192362.entry.js → p-59d15a66.entry.js} +1 -1
  199. package/dist/twilight/{p-B08XlOeq.js → p-5Ukk6AXG.js} +1 -1
  200. package/dist/twilight/{p-94846672.entry.js → p-5ee0ea47.entry.js} +1 -1
  201. package/dist/twilight/{p-b14b4ab3.entry.js → p-63e52e23.entry.js} +1 -1
  202. package/dist/twilight/{p-736dd3ae.entry.js → p-6befa92d.entry.js} +1 -1
  203. package/dist/twilight/{p-cb414a45.entry.js → p-6cab5fe3.entry.js} +1 -1
  204. package/dist/twilight/{p-822f2337.entry.js → p-6d183e79.entry.js} +1 -1
  205. package/dist/twilight/{p-464bc8d5.entry.js → p-75dc285c.entry.js} +1 -1
  206. package/dist/twilight/{p-1df75ff6.entry.js → p-77462b4c.entry.js} +1 -1
  207. package/dist/twilight/p-78dcf931.entry.js +4 -0
  208. package/dist/twilight/{p-bca6dd48.entry.js → p-79cb488c.entry.js} +1 -1
  209. package/dist/twilight/{p-85c67570.entry.js → p-7aae8fcd.entry.js} +1 -1
  210. package/dist/twilight/{p-f1401804.entry.js → p-7c90baa3.entry.js} +1 -1
  211. package/dist/twilight/{p-b604eb49.entry.js → p-80fa5afb.entry.js} +1 -1
  212. package/dist/twilight/{p-77854672.entry.js → p-85321251.entry.js} +1 -1
  213. package/dist/twilight/{p-5f23edd8.entry.js → p-86a5cbf5.entry.js} +1 -1
  214. package/dist/twilight/{p-55fc519c.entry.js → p-89f9e09a.entry.js} +1 -1
  215. package/dist/twilight/{p-7dceb44c.entry.js → p-8b27904b.entry.js} +1 -1
  216. package/dist/twilight/{p-e1a37066.entry.js → p-8dedeeac.entry.js} +1 -1
  217. package/dist/twilight/{p-e51efb7b.entry.js → p-927ba1c4.entry.js} +1 -1
  218. package/dist/twilight/{p-b392c814.entry.js → p-93a47224.entry.js} +1 -1
  219. package/dist/twilight/{p-0d8ec747.entry.js → p-94937926.entry.js} +1 -1
  220. package/dist/twilight/{p-CqsSEVeE.js → p-A3tHV2wb.js} +1 -1
  221. package/dist/twilight/{p-DH6oNmKl.js → p-B0PVo-WB.js} +1 -1
  222. package/dist/twilight/{p-BaawQYdd.js → p-B62srIHZ.js} +1 -1
  223. package/dist/twilight/{p-BJ1KNlpk.js → p-BLMOqwWX.js} +1 -1
  224. package/dist/twilight/{p-B4GW5rQA.js → p-BgqCVS-Q.js} +1 -1
  225. package/dist/twilight/{p-D5tTqDmK.js → p-BioPQy2X.js} +1 -1
  226. package/dist/twilight/{p-bLx9-3Hz.js → p-BlPAvwSA.js} +1 -1
  227. package/dist/twilight/{p-DaNAdDbS.js → p-C4e80CBy.js} +1 -1
  228. package/dist/twilight/{p-m8Xtdgy2.js → p-K7wyZucF.js} +1 -1
  229. package/dist/twilight/{p-9131dcc3.entry.js → p-a454d0f3.entry.js} +1 -1
  230. package/dist/twilight/{p-6f510269.entry.js → p-a639aa86.entry.js} +1 -1
  231. package/dist/twilight/{p-211a0d89.entry.js → p-a91f49f1.entry.js} +1 -1
  232. package/dist/twilight/{p-b5ccdde0.entry.js → p-ae06a21d.entry.js} +1 -1
  233. package/dist/twilight/{p-9f29e169.entry.js → p-ae2b376f.entry.js} +1 -1
  234. package/dist/twilight/{p-e857e666.entry.js → p-b7c385e4.entry.js} +1 -1
  235. package/dist/twilight/{p-8d3692dd.entry.js → p-be608838.entry.js} +1 -1
  236. package/dist/twilight/{p-1cc45c37.entry.js → p-bf164ff3.entry.js} +1 -1
  237. package/dist/twilight/{p-cfe885f4.entry.js → p-c17eb48a.entry.js} +1 -1
  238. package/dist/twilight/{p-8dad41ec.entry.js → p-c67bb2a5.entry.js} +1 -1
  239. package/dist/twilight/{p-c325358a.entry.js → p-cb0eeb02.entry.js} +1 -1
  240. package/dist/twilight/{p-5ceae537.entry.js → p-cec496a9.entry.js} +1 -1
  241. package/dist/twilight/{p-6456c5b0.entry.js → p-cff91454.entry.js} +1 -1
  242. package/dist/twilight/{p-053408d8.entry.js → p-d015fcf5.entry.js} +1 -1
  243. package/dist/twilight/{p-33d101c0.entry.js → p-d0c32e76.entry.js} +1 -1
  244. package/dist/twilight/{p-1150cf28.entry.js → p-d69811b1.entry.js} +1 -1
  245. package/dist/twilight/{p-daa42168.entry.js → p-dccd5f21.entry.js} +1 -1
  246. package/dist/twilight/{p-52ac8f65.entry.js → p-dd311ef0.entry.js} +1 -1
  247. package/dist/twilight/{p-8f6fd451.entry.js → p-dfa6ff37.entry.js} +1 -1
  248. package/dist/twilight/{p-71752a0e.entry.js → p-dfc95a89.entry.js} +1 -1
  249. package/dist/twilight/{p-5f35500e.entry.js → p-e0851059.entry.js} +1 -1
  250. package/dist/twilight/{p-9b17680f.entry.js → p-e10079a8.entry.js} +1 -1
  251. package/dist/twilight/{p-1dfe9e7e.entry.js → p-e2d02f50.entry.js} +1 -1
  252. package/dist/twilight/{p-09d16254.entry.js → p-e655ab37.entry.js} +1 -1
  253. package/dist/twilight/{p-d698ba2c.entry.js → p-e74e77b8.entry.js} +1 -1
  254. package/dist/twilight/{p-d2c4946f.entry.js → p-e7f24388.entry.js} +1 -1
  255. package/dist/twilight/{p-af26e966.entry.js → p-ea1d2cb2.entry.js} +1 -1
  256. package/dist/twilight/{p-0253cf3c.entry.js → p-ec4ebce6.entry.js} +1 -1
  257. package/dist/twilight/{p-61211f13.entry.js → p-ef657fcb.entry.js} +1 -1
  258. package/dist/twilight/{p-d4c3dabd.entry.js → p-f2923bb7.entry.js} +1 -1
  259. package/dist/twilight/{p-14068508.entry.js → p-f6a74c33.entry.js} +1 -1
  260. package/dist/twilight/{p-f7e41ac3.entry.js → p-f8ec12b9.entry.js} +1 -1
  261. package/dist/twilight/{p-66240512.entry.js → p-fe526213.entry.js} +1 -1
  262. package/dist/twilight/{p-9f159167.entry.js → p-ffab1808.entry.js} +1 -1
  263. package/dist/twilight/twilight.esm.js +1 -1
  264. package/dist/types/components/salla-count-down/salla-count-down.d.ts +18 -5
  265. package/dist/types/components.d.ts +2 -2
  266. package/package.json +5 -5
  267. package/dist/twilight/p-c2d42f04.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as e,h as a,H as t}from"./p-B08XlOeq.js";const s=class{constructor(a){e(this,a),this.href=void 0,this.target="_self"}generateClass(){return{"s-list-tile-item":!0,"s-list-tile-item-href":!!this.href}}render(){return a(t,{key:"e1528afcea1eda05a5ce206e95791e7611d24dd0"},a("a",{key:"749a73c76d68ad36f1a6609ada69778662d56566",class:this.generateClass(),href:this.href||"#",target:this.target,"aria-label":"List Tile Link"},a("div",{key:"7bfd448f86790b2afe0b7a5b8a5460c3b2be66ee",class:"s-list-tile-item-icon"},a("slot",{key:"383e28a8832483e8ecc61e4f48a3ff1fe5db1038",name:"icon"})),a("div",{key:"c42bf126a9ff4014a4e2d85ff12b41d1a88a0e03",class:"s-list-tile-item-content"},a("div",{key:"18a4a9ebd39e3a710f70dc33554d24e3c2850e53",class:"s-list-tile-item-title"},a("slot",{key:"7211d627511bf2448cf161f40cc82b1822dd1e7a",name:"title"})),a("div",{key:"044a7d76e05841f484387c7ed299107f33c9bc21",class:"s-list-tile-item-subtitle"},a("slot",{key:"df131034f1c5434722543e25552caed142794d55",name:"subtitle"}))),a("div",{key:"37abe0abab720da11cd55660578ec256c062e763",class:"s-list-tile-item-action"},a("slot",{key:"fcac02da17981ef4c6fa3cea50c551e3010352d9",name:"action"}))))}};s.style="";export{s as salla_list_tile}
4
+ import{r as e,h as a,H as t}from"./p-5Ukk6AXG.js";const s=class{constructor(a){e(this,a),this.href=void 0,this.target="_self"}generateClass(){return{"s-list-tile-item":!0,"s-list-tile-item-href":!!this.href}}render(){return a(t,{key:"e1528afcea1eda05a5ce206e95791e7611d24dd0"},a("a",{key:"749a73c76d68ad36f1a6609ada69778662d56566",class:this.generateClass(),href:this.href||"#",target:this.target,"aria-label":"List Tile Link"},a("div",{key:"7bfd448f86790b2afe0b7a5b8a5460c3b2be66ee",class:"s-list-tile-item-icon"},a("slot",{key:"383e28a8832483e8ecc61e4f48a3ff1fe5db1038",name:"icon"})),a("div",{key:"c42bf126a9ff4014a4e2d85ff12b41d1a88a0e03",class:"s-list-tile-item-content"},a("div",{key:"18a4a9ebd39e3a710f70dc33554d24e3c2850e53",class:"s-list-tile-item-title"},a("slot",{key:"7211d627511bf2448cf161f40cc82b1822dd1e7a",name:"title"})),a("div",{key:"044a7d76e05841f484387c7ed299107f33c9bc21",class:"s-list-tile-item-subtitle"},a("slot",{key:"df131034f1c5434722543e25552caed142794d55",name:"subtitle"}))),a("div",{key:"37abe0abab720da11cd55660578ec256c062e763",class:"s-list-tile-item-action"},a("slot",{key:"fcac02da17981ef4c6fa3cea50c551e3010352d9",name:"action"}))))}};s.style="";export{s as salla_list_tile}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,c as s,h as e,H as i,a}from"./p-B08XlOeq.js";import{F as l}from"./p-DL4h2bc3.js";import{H as r}from"./p-CHf8XdiS.js";import"./p-CgtvEd63.js";const o=class{constructor(e){t(this,e),this.changed=s(this,"changed"),this.isReady=!1,this.filtersData={},salla.event.on("filters::hidden",(()=>this.host.style.display="none")),salla.lang.onLoaded((()=>{this.apply=salla.lang.get("pages.checkout.apply"),this.reset=salla.lang.get("pages.categories.filters_reset")})),salla.event.on("filters::fetched",(({filters:t})=>{this.host.style.display="";let s={};this.filters=t.map((t=>{if(t.label={category_id:salla.lang.get("common.titles.categories"),brand_id:salla.lang.get("common.titles.brands"),rating:salla.lang.get("pages.categories.filter_rating"),price:salla.lang.get("pages.categories.filter_price")}[t.key]||t.label,"rating"==t.key){t.type=l.VALUES;let{max:s,min:e}=t.values;t.values=[5,4,3,2,1].filter((t=>t>=e||t<=s))}this.filtersData.variants&&t.type==l.VARIANTS&&(s.variants=this.filtersData.variants),this.filtersData[t.key]&&t.type!==l.VARIANTS&&(s[t.key]=this.filtersData[t.key]);let e=new URLSearchParams(window.location.search),i=!1;for(let t of e.keys())if(t.includes("filters")){i=!0;break}if("product.index"==salla.config.get("page.slug")&&0==Object.keys(s).length&&!i){let t=window.location.href,e=salla.config.get("page.id"),i=-1!==t.indexOf("?")?"&":"?",a=t+i+"filters[category_id]="+e;s.category_id=e,window.history.pushState({path:a},"",a)}return t})),this.filtersData=s,this.host.childNodes.forEach((async t=>t.setWidgetHeight&&await t.setWidgetHeight()))}))}async componentWillLoad(){try{const t=new URLSearchParams(window.location.search);this.filtersData=await r.extractFiltersFromUrl(t)}catch(t){console.warn("failed to get filters from URL",t.message)}}async getFilters(){return this.filtersData}async applyFilters(){if(!this.isReady)return;let t=Object.keys(this.filtersData).length>0;setTimeout((()=>{if(t){let t=new URL(window.location.href);for(const[s]of t.searchParams.entries())s.startsWith("filters")&&t.searchParams.delete(s);let s=this.encodeFilters(this.filtersData),e=t.search.split("&").filter((t=>!t.includes("filters"))).join("&");t.search=e?t.search.split("&filters")[0]+"&"+s:`?${s}`,window.history.pushState({},"",t.href)}else{let t=new URL(window.location.href);t.searchParams?.delete("filters"),window.history.pushState({},"",t.toString())}salla.event.emit("salla-filters::changed",this.filtersData),this.changed.emit(this.filtersData)}),300)}encodeFilters(t,s="filters"){const e=[];for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const a=t[i],l=s?`${s}[${i}]`:i;if(Array.isArray(a))for(let t=0;t<a.length;t++)e.push(`${l}[${t}]=${a[t]}`);else e.push("object"==typeof a&&null!==a?this.encodeFilters(a,l):`${l}=${a}`)}return e.join("&")}async resetFilters(){return this.removeFiltersQueryParams(),this.filtersData={},this.host.childNodes.forEach((t=>t.reset&&t.reset())),salla.event.emit("salla-filters::reset"),this.applyFilters()}removeFiltersQueryParams(){const t=new URLSearchParams(window.location.search),s=Array.from(t.keys()).filter((t=>!t.startsWith("filters["))).map((s=>`${encodeURIComponent(s)}=${encodeURIComponent(t.get(s))}`)).join("&"),e=s?`${window.location.pathname}?${s}`:window.location.pathname;window.history.pushState({},"",e)}handleOptionChange(t,s,e){s.type===l.RANGE&&(this.filtersData[s.key]=e);let i=t.target.checked;s.type===l.VARIANTS?(this.filtersData.variants=this.filtersData.variants||{},i&&(this.filtersData.variants[s.key]=e),i||delete this.filtersData.variants[s.key]):"radio"==t.target.type?(i&&(this.filtersData[s.key]=e),i||delete this.filtersData[s.key]):"checkbox"==t.target.type&&(this.filtersData[s.key]=this.filtersData[s.key]||[],i&&this.filtersData[s.key].push(e),this.filtersData[s.key]=this.filtersData[s.key].filter((t=>t!=e))),this.applyFilters()}render(){return e(i,{key:"f3c454fc20472dca6fe646c9121028a2c045808f"},this.filters?.map((t=>e("salla-filters-widget",{option:t,filtersData:this.filtersData,onChanged:({detail:{event:t,option:s,value:e}})=>{this.handleOptionChange(t,s,e)}}))),this.filters?.length?e("div",{class:"s-filters-footer"},e("salla-button",{color:"gray",fill:"outline",onClick:()=>this.resetFilters()},this.reset)):"")}componentDidLoad(){this.isReady=!0}get host(){return a(this)}};o.style=":host{display:block}.s-rating-stars-small{line-height:12px}.s-filters-radio{background-image:none !important}";export{o as salla_filters}
4
+ import{r as t,c as s,h as i,H as e,a}from"./p-5Ukk6AXG.js";import{F as l}from"./p-DL4h2bc3.js";import{H as r}from"./p-CHf8XdiS.js";import"./p-CgtvEd63.js";const o=class{constructor(i){t(this,i),this.changed=s(this,"changed"),this.isReady=!1,this.filtersData={},salla.event.on("filters::hidden",(()=>this.host.style.display="none")),salla.lang.onLoaded((()=>{this.apply=salla.lang.get("pages.checkout.apply"),this.reset=salla.lang.get("pages.categories.filters_reset")})),salla.event.on("filters::fetched",(({filters:t})=>{this.host.style.display="";let s={};this.filters=t.map((t=>{if(t.label={category_id:salla.lang.get("common.titles.categories"),brand_id:salla.lang.get("common.titles.brands"),rating:salla.lang.get("pages.categories.filter_rating"),price:salla.lang.get("pages.categories.filter_price")}[t.key]||t.label,"rating"==t.key){t.type=l.VALUES;let{max:s,min:i}=t.values;t.values=[5,4,3,2,1].filter((t=>t>=i||t<=s))}this.filtersData.variants&&t.type==l.VARIANTS&&(s.variants=this.filtersData.variants),this.filtersData[t.key]&&t.type!==l.VARIANTS&&(s[t.key]=this.filtersData[t.key]);let i=new URLSearchParams(window.location.search),e=!1;for(let t of i.keys())if(t.includes("filters")){e=!0;break}if("product.index"==salla.config.get("page.slug")&&0==Object.keys(s).length&&!e){let t=window.location.href,i=salla.config.get("page.id"),e=-1!==t.indexOf("?")?"&":"?",a=t+e+"filters[category_id]="+i;s.category_id=i,window.history.pushState({path:a},"",a)}return t})),this.filtersData=s,this.host.childNodes.forEach((async t=>t.setWidgetHeight&&await t.setWidgetHeight()))}))}async componentWillLoad(){try{const t=new URLSearchParams(window.location.search);this.filtersData=await r.extractFiltersFromUrl(t)}catch(t){console.warn("failed to get filters from URL",t.message)}}async getFilters(){return this.filtersData}async applyFilters(){if(!this.isReady)return;let t=Object.keys(this.filtersData).length>0;setTimeout((()=>{if(t){let t=new URL(window.location.href);for(const[s]of t.searchParams.entries())s.startsWith("filters")&&t.searchParams.delete(s);let s=this.encodeFilters(this.filtersData),i=t.search.split("&").filter((t=>!t.includes("filters"))).join("&");t.search=i?t.search.split("&filters")[0]+"&"+s:`?${s}`,window.history.pushState({},"",t.href)}else{let t=new URL(window.location.href);t.searchParams?.delete("filters"),window.history.pushState({},"",t.toString())}salla.event.emit("salla-filters::changed",this.filtersData),this.changed.emit(this.filtersData)}),300)}encodeFilters(t,s="filters"){const i=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const a=t[e],l=s?`${s}[${e}]`:e;if(Array.isArray(a))for(let t=0;t<a.length;t++)i.push(`${l}[${t}]=${a[t]}`);else i.push("object"==typeof a&&null!==a?this.encodeFilters(a,l):`${l}=${a}`)}return i.join("&")}async resetFilters(){return this.removeFiltersQueryParams(),this.filtersData={},this.host.childNodes.forEach((t=>t.reset&&t.reset())),salla.event.emit("salla-filters::reset"),this.applyFilters()}removeFiltersQueryParams(){const t=new URLSearchParams(window.location.search),s=Array.from(t.keys()).filter((t=>!t.startsWith("filters["))).map((s=>`${encodeURIComponent(s)}=${encodeURIComponent(t.get(s))}`)).join("&"),i=s?`${window.location.pathname}?${s}`:window.location.pathname;window.history.pushState({},"",i)}handleOptionChange(t,s,i){s.type===l.RANGE&&(this.filtersData[s.key]=i);let e=t.target.checked;s.type===l.VARIANTS?(this.filtersData.variants=this.filtersData.variants||{},e&&(this.filtersData.variants[s.key]=i),e||delete this.filtersData.variants[s.key]):"radio"==t.target.type?(e&&(this.filtersData[s.key]=i),e||delete this.filtersData[s.key]):"checkbox"==t.target.type&&(this.filtersData[s.key]=this.filtersData[s.key]||[],e&&this.filtersData[s.key].push(i),this.filtersData[s.key]=this.filtersData[s.key].filter((t=>t!=i))),this.applyFilters()}render(){return i(e,{key:"f3c454fc20472dca6fe646c9121028a2c045808f"},this.filters?.map((t=>i("salla-filters-widget",{option:t,filtersData:this.filtersData,onChanged:({detail:{event:t,option:s,value:i}})=>{this.handleOptionChange(t,s,i)}}))),this.filters?.length?i("div",{class:"s-filters-footer"},i("salla-button",{color:"gray",fill:"outline",onClick:()=>this.resetFilters()},this.reset)):"")}componentDidLoad(){this.isReady=!0}get host(){return a(this)}};o.style=":host{display:block}.s-rating-stars-small{line-height:12px}.s-filters-radio{background-image:none !important}";export{o as salla_filters}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as s,h as t,H as i,a as n}from"./p-B08XlOeq.js";import{H as l}from"./p-CHf8XdiS.js";import"./p-CgtvEd63.js";const e=class{constructor(t){s(this,t),this.nextPage="",this.autoload=!1,this.container="salla-infinite-scroll",this.item="salla-infinite-scroll > *",this.status=document.createElement("div"),this.status.className="s-infinite-scroll-wrapper",this.status.innerHTML=`<div class="s-infinite-scroll-status" style="display:none">\n <p class="s-infinite-scroll-last infinite-scroll-last"></p>\n <p class="s-infinite-scroll-error infinite-scroll-error"></p>\n </div>\n <a href="${this.nextPage}" class="s-infinite-scroll-btn s-button-btn s-button-primary">\n <span class="s-button-text s-infinite-scroll-btn-text">${this.loadMoreText?this.loadMoreText:salla.lang.get("common.elements.load_more")}</span>\n <span class="s-button-loader s-button-loader-center s-infinite-scroll-btn-loader" style="display: none"></span>\n </a>`,this.btnLoader=this.status.querySelector(".s-button-loader"),salla.lang.onLoaded((()=>{this.status.querySelector(".s-button-text").innerHTML=this.loadMoreText?this.loadMoreText:salla.lang.get("common.elements.load_more"),this.status.querySelector(".s-infinite-scroll-last").innerHTML=salla.lang.get("common.elements.end_of_content"),this.status.querySelector(".s-infinite-scroll-error").innerHTML=salla.lang.get("common.elements.failed_to_load_more")}))}loading(s=!0){let t=this.status.querySelector(".s-button-text");l.toggleElementClassIf(t,"s-button-hide","s-button-show",(()=>s)),this.btnLoader.style.display=s?"inherit":"none"}render(){return this.nextPage.length>1?t(i,{class:"s-infinite-scroll-container"},t("slot",null)):""}componentDidLoad(){if(0===this.nextPage.length)return;this.host.insertAdjacentElement("afterend",this.status);let s=this,t=salla.infiniteScroll.initiate(this.container,{history:!!this.autoload&&"push",scrollThreshold:!!this.autoload&&400,nextPage:this.nextPage,checkLastPage:'salla-infinite-scroll[next-page*=":"],salla-infinite-scroll[next-page*="."]',status:".s-infinite-scroll-status",button:this.status.querySelector(".s-button-btn"),append:this.item,path:function(){return s.nextPage.replace(/page\=(\d)/g,"page="+(this.loadCount+2))}}).on("request",(()=>this.loading())).on("load",(()=>{this.loading(!1),2==t.pageIndex&&t.option({loadOnScroll:!1}),3==t.pageIndex&&t.option({loadOnScroll:!0})})).on("error",(()=>this.loading(!1)))}get host(){return n(this)}};e.style="";export{e as salla_infinite_scroll}
4
+ import{r as s,h as t,H as i,a as n}from"./p-5Ukk6AXG.js";import{H as l}from"./p-CHf8XdiS.js";import"./p-CgtvEd63.js";const e=class{constructor(t){s(this,t),this.nextPage="",this.autoload=!1,this.container="salla-infinite-scroll",this.item="salla-infinite-scroll > *",this.status=document.createElement("div"),this.status.className="s-infinite-scroll-wrapper",this.status.innerHTML=`<div class="s-infinite-scroll-status" style="display:none">\n <p class="s-infinite-scroll-last infinite-scroll-last"></p>\n <p class="s-infinite-scroll-error infinite-scroll-error"></p>\n </div>\n <a href="${this.nextPage}" class="s-infinite-scroll-btn s-button-btn s-button-primary">\n <span class="s-button-text s-infinite-scroll-btn-text">${this.loadMoreText?this.loadMoreText:salla.lang.get("common.elements.load_more")}</span>\n <span class="s-button-loader s-button-loader-center s-infinite-scroll-btn-loader" style="display: none"></span>\n </a>`,this.btnLoader=this.status.querySelector(".s-button-loader"),salla.lang.onLoaded((()=>{this.status.querySelector(".s-button-text").innerHTML=this.loadMoreText?this.loadMoreText:salla.lang.get("common.elements.load_more"),this.status.querySelector(".s-infinite-scroll-last").innerHTML=salla.lang.get("common.elements.end_of_content"),this.status.querySelector(".s-infinite-scroll-error").innerHTML=salla.lang.get("common.elements.failed_to_load_more")}))}loading(s=!0){let t=this.status.querySelector(".s-button-text");l.toggleElementClassIf(t,"s-button-hide","s-button-show",(()=>s)),this.btnLoader.style.display=s?"inherit":"none"}render(){return this.nextPage.length>1?t(i,{class:"s-infinite-scroll-container"},t("slot",null)):""}componentDidLoad(){if(0===this.nextPage.length)return;this.host.insertAdjacentElement("afterend",this.status);let s=this,t=salla.infiniteScroll.initiate(this.container,{history:!!this.autoload&&"push",scrollThreshold:!!this.autoload&&400,nextPage:this.nextPage,checkLastPage:'salla-infinite-scroll[next-page*=":"],salla-infinite-scroll[next-page*="."]',status:".s-infinite-scroll-status",button:this.status.querySelector(".s-button-btn"),append:this.item,path:function(){return s.nextPage.replace(/page\=(\d)/g,"page="+(this.loadCount+2))}}).on("request",(()=>this.loading())).on("load",(()=>{this.loading(!1),2==t.pageIndex&&t.option({loadOnScroll:!1}),3==t.pageIndex&&t.option({loadOnScroll:!0})})).on("error",(()=>this.loading(!1)))}get host(){return n(this)}};e.style="";export{e as salla_infinite_scroll}