@salla.sa/twilight-components 2.14.402 → 2.14.403

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 (521) hide show
  1. package/dist/cjs/calendar-D-PUoCDH.js +13 -0
  2. package/dist/cjs/{cancel-De6vslRA.js → cancel-B5SbMYEk.js} +2 -2
  3. package/dist/cjs/cart2-B98PSAFN.js +13 -0
  4. package/dist/cjs/{check-x3w3-gpj.js → check-BnVBPQNp.js} +2 -2
  5. package/dist/cjs/{filepond-PWJcd3M3.js → filepond-CHgj_x6Q.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-file-poster-Bt4qeA2f.js → filepond-plugin-file-poster-BM8akyHG.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-file-validate-size-C-9PDDsS.js → filepond-plugin-file-validate-size-COf4Mbms.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-file-validate-type-tA2SP9JO.js → filepond-plugin-file-validate-type-Mc6-vU_9.js} +1 -1
  9. package/dist/cjs/{filepond-plugin-image-edit-jcfxLe8v.js → filepond-plugin-image-edit-Cegsph-w.js} +1 -1
  10. package/dist/cjs/{filepond-plugin-image-exif-orientation-DVDjcytZ.js → filepond-plugin-image-exif-orientation-Ca7MqBpy.js} +1 -1
  11. package/dist/cjs/{filepond-plugin-image-preview-CenIamTW.js → filepond-plugin-image-preview-C58SPQ5e.js} +1 -1
  12. package/dist/cjs/functions-DyPV5TVV.js +74 -0
  13. package/dist/{esm/gift-BChI23pG.js → cjs/gift-DbNivqYO.js} +4 -2
  14. package/dist/cjs/gift-sharing-BE0uszUm.js +13 -0
  15. package/dist/cjs/{index-ZlRhYmjA.js → index-DagepTOF.js} +1 -1
  16. package/dist/cjs/{index-Cuq57q32.js → index-DdhkQnYm.js} +61 -26
  17. package/dist/cjs/iphone-x-qC21wCLj.js +13 -0
  18. package/dist/cjs/loader.cjs.js +2 -2
  19. package/dist/cjs/{mail-CO8cFZH7.js → mail-Bgvt2hc9.js} +2 -2
  20. package/dist/cjs/percentage-Fs83gq6Q.js +21 -0
  21. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-accordion_6.cjs.entry.js +5 -5
  23. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +5 -5
  24. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-alert_2.cjs.entry.js +3 -3
  26. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-badge.cjs.entry.js +95 -0
  29. package/dist/cjs/salla-booking-field_7.cjs.entry.js +20 -26
  30. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +2 -2
  31. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  32. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +4 -4
  33. package/dist/cjs/salla-comment-form_8.cjs.entry.js +11 -11
  34. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-edit-order-button.cjs.entry.js +65 -0
  41. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  42. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-gifting.cjs.entry.js +7 -13
  45. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +69 -0
  52. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +239 -0
  53. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +103 -0
  54. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-loyalty-program.cjs.entry.js +108 -64
  56. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +54 -0
  57. package/dist/cjs/salla-loyalty.cjs.entry.js +3 -3
  58. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +3 -3
  59. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  60. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  63. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  64. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  65. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-offer-modal.cjs.entry.js +5 -16
  68. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-summary.cjs.entry.js +4 -4
  75. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  78. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  79. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  80. package/dist/cjs/{salla-product-card.cjs.entry.js → salla-product-card_2.cjs.entry.js} +120 -6
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  82. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-quick-order.cjs.entry.js +6 -12
  85. package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -3
  86. package/dist/cjs/salla-reward-action_4.cjs.entry.js +243 -0
  87. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  89. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-social-share.cjs.entry.js +5 -5
  92. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  94. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  96. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-menu.cjs.entry.js +5 -5
  98. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  100. package/dist/cjs/salla-verify.cjs.entry.js +3 -3
  101. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  102. package/dist/cjs/shipping-CPYcgyCL.js +13 -0
  103. package/dist/cjs/tag-D-PcUR33.js +12 -0
  104. package/dist/cjs/tracked-promise-6pAeDi6L.js +31 -0
  105. package/dist/cjs/translations-DMwpLvqi.js +294 -0
  106. package/dist/cjs/twilight.cjs.js +2 -2
  107. package/dist/cjs/user-add-BCGrddZS.js +13 -0
  108. package/dist/cjs/{vanilla-picker-C8OtoDdM.js → vanilla-picker-BMBx7QVh.js} +1 -1
  109. package/dist/collection/assets/images/prize-image.svg +1 -0
  110. package/dist/collection/collection-manifest.json +11 -0
  111. package/dist/collection/components/salla-badge/salla-badge.css +0 -0
  112. package/dist/collection/components/salla-badge/salla-badge.js +117 -0
  113. package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
  114. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
  115. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +1 -1
  116. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  117. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  118. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  119. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  120. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  121. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  122. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  123. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  124. package/dist/collection/components/salla-edit-order-button/salla-edit-order-button.css +3 -0
  125. package/dist/collection/components/salla-edit-order-button/salla-edit-order-button.js +99 -0
  126. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  127. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  128. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  129. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  130. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  131. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  132. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  133. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  134. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  135. package/dist/collection/components/salla-loyalty-program/functions.js +53 -0
  136. package/dist/collection/components/salla-loyalty-program/interfaces.js +8 -1
  137. package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +69 -0
  138. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +87 -0
  139. package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +171 -0
  140. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +219 -0
  141. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +104 -65
  142. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +166 -0
  143. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +93 -0
  144. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +92 -0
  145. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +206 -0
  146. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +109 -0
  147. package/dist/collection/components/salla-loyalty-program/translations.js +290 -0
  148. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  149. package/dist/collection/components/salla-map/salla-map.js +3 -3
  150. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  151. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  152. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  153. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  154. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  155. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  156. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  157. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  158. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  159. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  160. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  161. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  162. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  163. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  164. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  165. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  166. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  167. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  168. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  169. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  170. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  171. package/dist/collection/components/salla-search/salla-search.js +5 -5
  172. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  173. package/dist/collection/components/salla-social/salla-social.js +1 -1
  174. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  175. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  176. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  177. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  178. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  179. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  180. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  181. package/dist/components/calendar.js +11 -0
  182. package/dist/components/cart2.js +11 -0
  183. package/dist/components/functions.js +68 -0
  184. package/dist/components/gift-sharing.js +11 -0
  185. package/dist/components/index.js +2 -2
  186. package/dist/components/iphone-x.js +11 -0
  187. package/dist/components/percentage.js +18 -0
  188. package/dist/components/salla-badge.d.ts +11 -0
  189. package/dist/components/salla-badge.js +9 -0
  190. package/dist/components/salla-badge2.js +112 -0
  191. package/dist/components/salla-booking-field2.js +3 -9
  192. package/dist/components/salla-bottom-alert.js +2 -2
  193. package/dist/components/salla-bullet-delivery.js +1 -1
  194. package/dist/components/salla-cart-coupons.js +1 -1
  195. package/dist/components/salla-cart-summary.js +1 -1
  196. package/dist/components/salla-color-picker2.js +1 -1
  197. package/dist/components/salla-comment-form2.js +1 -1
  198. package/dist/components/salla-comment-item2.js +3 -3
  199. package/dist/components/salla-conditional-fields2.js +1 -1
  200. package/dist/components/salla-count-down2.js +1 -1
  201. package/dist/components/salla-datetime-picker2.js +1 -1
  202. package/dist/components/salla-edit-order-button.d.ts +11 -0
  203. package/dist/components/salla-edit-order-button.js +99 -0
  204. package/dist/components/salla-file-upload2.js +2 -2
  205. package/dist/components/salla-filters-widget2.js +2 -2
  206. package/dist/components/salla-filters.js +1 -1
  207. package/dist/components/salla-gifting.js +4 -10
  208. package/dist/components/salla-hook.js +1 -1
  209. package/dist/components/salla-list-tile2.js +1 -1
  210. package/dist/components/salla-loading2.js +1 -1
  211. package/dist/components/salla-localization-modal.js +1 -1
  212. package/dist/components/salla-loyalty-banner.d.ts +11 -0
  213. package/dist/components/salla-loyalty-banner.js +103 -0
  214. package/dist/components/salla-loyalty-hero.d.ts +11 -0
  215. package/dist/components/salla-loyalty-hero.js +9 -0
  216. package/dist/components/salla-loyalty-hero2.js +43 -0
  217. package/dist/components/salla-loyalty-panel.d.ts +11 -0
  218. package/dist/components/salla-loyalty-panel.js +250 -0
  219. package/dist/components/salla-loyalty-point.d.ts +11 -0
  220. package/dist/components/salla-loyalty-point.js +9 -0
  221. package/dist/components/salla-loyalty-point2.js +259 -0
  222. package/dist/components/salla-loyalty-prize-item.js +1 -1
  223. package/dist/components/salla-loyalty-program.js +233 -70
  224. package/dist/components/salla-loyalty-reward.d.ts +11 -0
  225. package/dist/components/salla-loyalty-reward.js +80 -0
  226. package/dist/components/salla-maintenance-alert.js +1 -1
  227. package/dist/components/salla-map2.js +3 -3
  228. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  229. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  230. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  231. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  232. package/dist/components/salla-multiple-bundle-product.js +1 -1
  233. package/dist/components/salla-notification-item2.js +1 -1
  234. package/dist/components/salla-offer-modal.js +3 -14
  235. package/dist/components/salla-order-details.js +1 -1
  236. package/dist/components/salla-order-summary.js +1 -1
  237. package/dist/components/salla-payments.js +2 -2
  238. package/dist/components/salla-placeholder2.js +1 -1
  239. package/dist/components/salla-price-range2.js +2 -2
  240. package/dist/components/salla-product-availability2.js +1 -1
  241. package/dist/components/salla-product-card2.js +5 -5
  242. package/dist/components/salla-product-size-guide.js +2 -2
  243. package/dist/components/salla-quantity-input2.js +1 -1
  244. package/dist/components/salla-quick-buy2.js +1 -1
  245. package/dist/components/salla-quick-order.js +1 -7
  246. package/dist/components/salla-review-card2.js +1 -1
  247. package/dist/components/salla-reviews-page.js +1 -1
  248. package/dist/components/salla-reviews.js +1 -1
  249. package/dist/components/salla-reward-action.d.ts +11 -0
  250. package/dist/components/salla-reward-action.js +9 -0
  251. package/dist/components/salla-reward-action2.js +56 -0
  252. package/dist/components/salla-reward-card.d.ts +11 -0
  253. package/dist/components/salla-reward-card.js +9 -0
  254. package/dist/components/salla-reward-card2.js +44 -0
  255. package/dist/components/salla-reward-details.d.ts +11 -0
  256. package/dist/components/salla-reward-details.js +9 -0
  257. package/dist/components/salla-reward-details2.js +266 -0
  258. package/dist/components/salla-reward-exchange.d.ts +11 -0
  259. package/dist/components/salla-reward-exchange.js +9 -0
  260. package/dist/components/salla-reward-exchange2.js +81 -0
  261. package/dist/components/salla-scopes.js +1 -1
  262. package/dist/components/salla-search.js +5 -5
  263. package/dist/components/salla-skeleton2.js +1 -1
  264. package/dist/components/salla-social-share.js +1 -1
  265. package/dist/components/salla-social.js +1 -1
  266. package/dist/components/salla-tab-content2.js +1 -1
  267. package/dist/components/salla-tab-header2.js +1 -1
  268. package/dist/components/salla-tabs2.js +1 -1
  269. package/dist/components/salla-tel-input2.js +1 -1
  270. package/dist/components/salla-tooltip2.js +1 -1
  271. package/dist/components/salla-user-settings.js +1 -1
  272. package/dist/components/shipping.js +11 -0
  273. package/dist/components/tag.js +10 -0
  274. package/dist/components/tracked-promise.js +29 -0
  275. package/dist/components/translations.js +292 -0
  276. package/dist/esm/calendar-BkmanTR_.js +11 -0
  277. package/dist/esm/{cancel-BsLF_HK7.js → cancel-8Tsmrwno.js} +2 -2
  278. package/dist/esm/cart2-D1s2kXqL.js +11 -0
  279. package/dist/esm/{check-BsXh13x8.js → check-BZp0rKEO.js} +2 -2
  280. package/dist/esm/{filepond-kua7JWt0.js → filepond-DSnpVe64.js} +1 -1
  281. package/dist/esm/{filepond-plugin-file-poster-D9ZjwPcg.js → filepond-plugin-file-poster-CIjT2DkD.js} +1 -1
  282. package/dist/esm/{filepond-plugin-file-validate-size-BVMhUXTI.js → filepond-plugin-file-validate-size-DfnQ9yTM.js} +1 -1
  283. package/dist/esm/{filepond-plugin-file-validate-type-CkwmRCJd.js → filepond-plugin-file-validate-type-BFqVzf03.js} +1 -1
  284. package/dist/esm/{filepond-plugin-image-edit-YEt9I2Ff.js → filepond-plugin-image-edit-CFSURdY1.js} +1 -1
  285. package/dist/esm/{filepond-plugin-image-exif-orientation-B5Q7AlDn.js → filepond-plugin-image-exif-orientation-Df4vxbTN.js} +1 -1
  286. package/dist/esm/{filepond-plugin-image-preview-B3J-p8BK.js → filepond-plugin-image-preview-BP5v9jJo.js} +1 -1
  287. package/dist/esm/functions-B0QFNVX_.js +68 -0
  288. package/dist/{cjs/gift-CJ-3Yw_x.js → esm/gift-CXRKXFgT.js} +2 -4
  289. package/dist/esm/gift-sharing-0-eTJXSD.js +11 -0
  290. package/dist/esm/{index-BYCfehfD.js → index-Noi8jmqR.js} +61 -27
  291. package/dist/esm/{index-Qfjn4tFb.js → index-dal1uM4i.js} +1 -1
  292. package/dist/esm/iphone-x-CciN5Q_x.js +11 -0
  293. package/dist/esm/loader.js +3 -3
  294. package/dist/esm/{mail-DmgxDvXL.js → mail-DLNIOD9t.js} +2 -2
  295. package/dist/esm/percentage-Bs6JxDkg.js +18 -0
  296. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  297. package/dist/esm/salla-accordion_6.entry.js +5 -5
  298. package/dist/esm/salla-add-product-button_4.entry.js +5 -5
  299. package/dist/esm/salla-advertisement.entry.js +1 -1
  300. package/dist/esm/salla-alert_2.entry.js +3 -3
  301. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  302. package/dist/esm/salla-apps-icons.entry.js +1 -1
  303. package/dist/esm/salla-badge.entry.js +93 -0
  304. package/dist/esm/salla-booking-field_7.entry.js +20 -26
  305. package/dist/esm/salla-bullet-delivery.entry.js +2 -2
  306. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  307. package/dist/esm/salla-cart-item-offers_2.entry.js +4 -4
  308. package/dist/esm/salla-comment-form_8.entry.js +11 -11
  309. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  310. package/dist/esm/salla-contacts.entry.js +3 -3
  311. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  312. package/dist/esm/salla-count-down.entry.js +2 -2
  313. package/dist/esm/salla-custom-fields.entry.js +1 -1
  314. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  315. package/dist/esm/salla-edit-order-button.entry.js +63 -0
  316. package/dist/esm/salla-filters-widget.entry.js +3 -3
  317. package/dist/esm/salla-filters.entry.js +2 -2
  318. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  319. package/dist/esm/salla-gifting.entry.js +7 -13
  320. package/dist/esm/salla-hook.entry.js +2 -2
  321. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  322. package/dist/esm/salla-installment.entry.js +1 -1
  323. package/dist/esm/salla-list-tile.entry.js +2 -2
  324. package/dist/esm/salla-localization-modal.entry.js +2 -2
  325. package/dist/esm/salla-login-modal.entry.js +1 -1
  326. package/dist/esm/salla-loyalty-banner.entry.js +67 -0
  327. package/dist/esm/salla-loyalty-hero_2.entry.js +236 -0
  328. package/dist/esm/salla-loyalty-panel.entry.js +101 -0
  329. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  330. package/dist/esm/salla-loyalty-program.entry.js +108 -64
  331. package/dist/esm/salla-loyalty-reward.entry.js +52 -0
  332. package/dist/esm/salla-loyalty.entry.js +3 -3
  333. package/dist/esm/salla-maintenance-alert.entry.js +3 -3
  334. package/dist/esm/salla-map.entry.js +4 -4
  335. package/dist/esm/salla-menu.entry.js +1 -1
  336. package/dist/esm/salla-metadata.entry.js +1 -1
  337. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  338. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  339. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  340. package/dist/esm/salla-notification-item.entry.js +2 -2
  341. package/dist/esm/salla-notifications.entry.js +1 -1
  342. package/dist/esm/salla-offer-modal.entry.js +5 -16
  343. package/dist/esm/salla-offer.entry.js +1 -1
  344. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  345. package/dist/esm/salla-order-details-options.entry.js +1 -1
  346. package/dist/esm/salla-order-details.entry.js +2 -2
  347. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  348. package/dist/esm/salla-order-edit.entry.js +1 -1
  349. package/dist/esm/salla-order-summary.entry.js +4 -4
  350. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  351. package/dist/esm/salla-orders.entry.js +1 -1
  352. package/dist/esm/salla-payments.entry.js +3 -3
  353. package/dist/esm/salla-placeholder.entry.js +2 -2
  354. package/dist/esm/salla-price-range.entry.js +3 -3
  355. package/dist/esm/{salla-product-card.entry.js → salla-product-card_2.entry.js} +120 -7
  356. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  357. package/dist/esm/salla-products-list.entry.js +1 -1
  358. package/dist/esm/salla-progress-bar.entry.js +1 -1
  359. package/dist/esm/salla-quick-order.entry.js +6 -12
  360. package/dist/esm/salla-rating-modal.entry.js +3 -3
  361. package/dist/esm/salla-reward-action_4.entry.js +238 -0
  362. package/dist/esm/salla-scopes.entry.js +2 -2
  363. package/dist/esm/salla-search.entry.js +6 -6
  364. package/dist/esm/salla-skeleton.entry.js +2 -2
  365. package/dist/esm/salla-slider.entry.js +1 -1
  366. package/dist/esm/salla-social-share.entry.js +5 -5
  367. package/dist/esm/salla-social.entry.js +2 -2
  368. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  369. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  370. package/dist/esm/salla-tooltip.entry.js +2 -2
  371. package/dist/esm/salla-trust-badges.entry.js +1 -1
  372. package/dist/esm/salla-user-menu.entry.js +5 -5
  373. package/dist/esm/salla-user-profile.entry.js +1 -1
  374. package/dist/esm/salla-user-settings.entry.js +2 -2
  375. package/dist/esm/salla-verify.entry.js +3 -3
  376. package/dist/esm/salla-wallet.entry.js +1 -1
  377. package/dist/esm/shipping-CZRcMGA9.js +11 -0
  378. package/dist/esm/tag-cgSL_BIo.js +10 -0
  379. package/dist/esm/tracked-promise-CjeRn_A-.js +29 -0
  380. package/dist/esm/translations-B-Rj6b9M.js +292 -0
  381. package/dist/esm/twilight.js +3 -3
  382. package/dist/esm/user-add-QpH8MU22.js +11 -0
  383. package/dist/esm/{vanilla-picker-B4glVCCp.js → vanilla-picker-DRn4hnB9.js} +1 -1
  384. package/dist/twilight/p-0-eTJXSD.js +4 -0
  385. package/dist/twilight/{p-5fe6bb62.entry.js → p-024459e9.entry.js} +1 -1
  386. package/dist/twilight/{p-2edec63c.entry.js → p-04d8a7e5.entry.js} +1 -1
  387. package/dist/twilight/p-0a91929a.entry.js +4 -0
  388. package/dist/twilight/{p-24b86104.entry.js → p-0ad91621.entry.js} +1 -1
  389. package/dist/twilight/{p-1819894b.entry.js → p-0dce57b2.entry.js} +1 -1
  390. package/dist/twilight/{p-28fba512.entry.js → p-145858ca.entry.js} +1 -1
  391. package/dist/twilight/p-1613629f.entry.js +4 -0
  392. package/dist/twilight/{p-ec873193.entry.js → p-1762cd5c.entry.js} +1 -1
  393. package/dist/twilight/p-246bb9c3.entry.js +4 -0
  394. package/dist/twilight/{p-97aad44a.entry.js → p-2502deb6.entry.js} +1 -1
  395. package/dist/twilight/{p-3df24aaf.entry.js → p-256bd7e3.entry.js} +1 -1
  396. package/dist/twilight/{p-65928570.entry.js → p-2f27a79c.entry.js} +1 -1
  397. package/dist/twilight/{p-64fe6c2f.entry.js → p-301bdc8d.entry.js} +1 -1
  398. package/dist/twilight/{p-5871fc28.entry.js → p-3317da8e.entry.js} +1 -1
  399. package/dist/twilight/{p-15d44ede.entry.js → p-36e2d55f.entry.js} +1 -1
  400. package/dist/twilight/{p-2a19f553.entry.js → p-394e59f9.entry.js} +1 -1
  401. package/dist/twilight/{p-e5ccdc1d.entry.js → p-39595f4a.entry.js} +1 -1
  402. package/dist/twilight/{p-09fcfe8f.entry.js → p-3f6e4760.entry.js} +1 -1
  403. package/dist/twilight/{p-156660b7.entry.js → p-40936925.entry.js} +1 -1
  404. package/dist/twilight/{p-887c9a29.entry.js → p-40ac70b9.entry.js} +1 -1
  405. package/dist/twilight/{p-5ca700cd.entry.js → p-425ca86a.entry.js} +1 -1
  406. package/dist/twilight/p-426919ba.entry.js +4 -0
  407. package/dist/twilight/p-46e0817d.entry.js +4 -0
  408. package/dist/twilight/{p-4797dab5.entry.js → p-4886611c.entry.js} +1 -1
  409. package/dist/twilight/p-4bacc97f.entry.js +4 -0
  410. package/dist/twilight/{p-90045f50.entry.js → p-503a7446.entry.js} +1 -1
  411. package/dist/twilight/{p-ba128435.entry.js → p-55585695.entry.js} +1 -1
  412. package/dist/twilight/{p-60aa25f0.entry.js → p-56b2316e.entry.js} +1 -1
  413. package/dist/twilight/p-57fc6135.entry.js +4 -0
  414. package/dist/twilight/p-589db188.entry.js +4 -0
  415. package/dist/twilight/{p-62b949f1.entry.js → p-594a2cfc.entry.js} +1 -1
  416. package/dist/twilight/p-5b134612.entry.js +4 -0
  417. package/dist/twilight/{p-cd9f175a.entry.js → p-5d101927.entry.js} +1 -1
  418. package/dist/twilight/{p-b80c87f3.entry.js → p-5f05afcf.entry.js} +1 -1
  419. package/dist/twilight/{p-ee14a23d.entry.js → p-6b402aa3.entry.js} +1 -1
  420. package/dist/twilight/{p-3ed67200.entry.js → p-6ec4bce3.entry.js} +1 -1
  421. package/dist/twilight/{p-2f060d69.entry.js → p-779aaac4.entry.js} +1 -1
  422. package/dist/twilight/p-78a7f098.entry.js +4 -0
  423. package/dist/twilight/{p-140f5001.entry.js → p-78cc7185.entry.js} +1 -1
  424. package/dist/twilight/{p-f8183098.entry.js → p-79db938f.entry.js} +1 -1
  425. package/dist/twilight/{p-955aab42.entry.js → p-7cff302c.entry.js} +1 -1
  426. package/dist/twilight/{p-f8527980.entry.js → p-7f1e3e62.entry.js} +1 -1
  427. package/dist/twilight/{p-8d9b1865.entry.js → p-82785312.entry.js} +1 -1
  428. package/dist/twilight/{p-af6a34af.entry.js → p-83d63cf3.entry.js} +1 -1
  429. package/dist/twilight/{p-e23cc9c1.entry.js → p-8740d9b0.entry.js} +1 -1
  430. package/dist/twilight/{p-BsLF_HK7.js → p-8Tsmrwno.js} +1 -1
  431. package/dist/twilight/{p-72487957.entry.js → p-8bef56d7.entry.js} +1 -1
  432. package/dist/twilight/{p-d93e90fb.entry.js → p-8c95bcba.entry.js} +1 -1
  433. package/dist/twilight/{p-0cfd333a.entry.js → p-91005fdc.entry.js} +1 -1
  434. package/dist/twilight/{p-67f20b74.entry.js → p-96e09525.entry.js} +1 -1
  435. package/dist/twilight/{p-6cf0e5f0.entry.js → p-9a1dbe0b.entry.js} +1 -1
  436. package/dist/twilight/p-9ab9e4fe.entry.js +4 -0
  437. package/dist/twilight/{p-f4c6434f.entry.js → p-9ff6dbba.entry.js} +1 -1
  438. package/dist/twilight/p-B-Rj6b9M.js +4 -0
  439. package/dist/twilight/{p-D2bKqo2L.js → p-BCRhp4ZP.js} +1 -1
  440. package/dist/twilight/{p-DPak7cFa.js → p-BOikoFVU.js} +1 -1
  441. package/dist/twilight/{p-Wts3eSQu.js → p-BVmlhqyN.js} +1 -1
  442. package/dist/twilight/p-BX5898Au.js +4 -0
  443. package/dist/twilight/{p-BsXh13x8.js → p-BZp0rKEO.js} +1 -1
  444. package/dist/twilight/{p-DtXQ785R.js → p-Bdj8c3JN.js} +1 -1
  445. package/dist/twilight/p-BkmanTR_.js +4 -0
  446. package/dist/twilight/{p-a8mIwFp8.js → p-BlpVxOSF.js} +1 -1
  447. package/dist/twilight/p-Bs6JxDkg.js +4 -0
  448. package/dist/twilight/{p-BChI23pG.js → p-CXRKXFgT.js} +1 -1
  449. package/dist/twilight/p-CZRcMGA9.js +4 -0
  450. package/dist/twilight/p-CciN5Q_x.js +4 -0
  451. package/dist/twilight/p-D1s2kXqL.js +4 -0
  452. package/dist/twilight/{p-C45ROGL4.js → p-DIVFpxqq.js} +1 -1
  453. package/dist/twilight/{p-DmgxDvXL.js → p-DLNIOD9t.js} +1 -1
  454. package/dist/twilight/{p-Dx9FGzIq.js → p-D_bFmrB0.js} +1 -1
  455. package/dist/twilight/{p-CVG84YNJ.js → p-DbwYqKTo.js} +1 -1
  456. package/dist/twilight/p-DnvK1zqm.js +4 -0
  457. package/dist/twilight/{p-BYCfehfD.js → p-Noi8jmqR.js} +2 -2
  458. package/dist/twilight/p-QpH8MU22.js +4 -0
  459. package/dist/twilight/p-a139776f.entry.js +4 -0
  460. package/dist/twilight/p-a23e6051.entry.js +4 -0
  461. package/dist/twilight/p-a34a0037.entry.js +4 -0
  462. package/dist/twilight/{p-4e941f6a.entry.js → p-b9bc75ad.entry.js} +1 -1
  463. package/dist/twilight/{p-32a21d3e.entry.js → p-bb02c0fd.entry.js} +1 -1
  464. package/dist/twilight/{p-d112b260.entry.js → p-c3418320.entry.js} +1 -1
  465. package/dist/twilight/{p-011ff091.entry.js → p-c5214df3.entry.js} +1 -1
  466. package/dist/twilight/{p-5381a86d.entry.js → p-cc8b8f84.entry.js} +1 -1
  467. package/dist/twilight/p-cgSL_BIo.js +4 -0
  468. package/dist/twilight/p-d4a62692.entry.js +4 -0
  469. package/dist/twilight/{p-d130f149.entry.js → p-d6d0a9b8.entry.js} +1 -1
  470. package/dist/twilight/{p-ebb782d3.entry.js → p-d8389555.entry.js} +1 -1
  471. package/dist/twilight/{p-63778992.entry.js → p-d8d5d1f4.entry.js} +1 -1
  472. package/dist/twilight/{p-7c78c1a5.entry.js → p-da642a9a.entry.js} +1 -1
  473. package/dist/twilight/{p-f68e2787.entry.js → p-dce9ced4.entry.js} +1 -1
  474. package/dist/twilight/{p-f136e41b.entry.js → p-df8e08af.entry.js} +1 -1
  475. package/dist/twilight/{p-30695c34.entry.js → p-e0619a5d.entry.js} +1 -1
  476. package/dist/twilight/p-e25aaae6.entry.js +4 -0
  477. package/dist/twilight/{p-99aa0a59.entry.js → p-e270154b.entry.js} +1 -1
  478. package/dist/twilight/{p-f4060b10.entry.js → p-e3da6c85.entry.js} +1 -1
  479. package/dist/twilight/{p-ea0c19be.entry.js → p-e5a47190.entry.js} +1 -1
  480. package/dist/twilight/{p-6f0a262a.entry.js → p-ec5b3bd6.entry.js} +1 -1
  481. package/dist/twilight/p-f294b1e5.entry.js +4 -0
  482. package/dist/twilight/p-f2ed8e2a.entry.js +4 -0
  483. package/dist/twilight/{p-c5ab5c1b.entry.js → p-f4c1f034.entry.js} +1 -1
  484. package/dist/twilight/{p-0b265c17.entry.js → p-fbfe1cf4.entry.js} +1 -1
  485. package/dist/twilight/{p-ac973857.entry.js → p-fe4d55ce.entry.js} +1 -1
  486. package/dist/twilight/{p-c5a12dde.entry.js → p-feacde76.entry.js} +1 -1
  487. package/dist/twilight/{p-d9b8aa69.entry.js → p-ff3ae289.entry.js} +1 -1
  488. package/dist/twilight/{p-164ae46f.entry.js → p-ff47b12d.entry.js} +1 -1
  489. package/dist/twilight/{p-9XUl8eNt.js → p-iornn-Hi.js} +1 -1
  490. package/dist/twilight/twilight.esm.js +1 -1
  491. package/dist/types/components/salla-badge/salla-badge.d.ts +15 -0
  492. package/dist/types/components/salla-edit-order-button/salla-edit-order-button.d.ts +25 -0
  493. package/dist/types/components/salla-loyalty-program/functions.d.ts +67 -0
  494. package/dist/types/components/salla-loyalty-program/interfaces.d.ts +125 -0
  495. package/dist/types/components/salla-loyalty-program/salla-loyalty-banner.d.ts +20 -0
  496. package/dist/types/components/salla-loyalty-program/salla-loyalty-hero.d.ts +15 -0
  497. package/dist/types/components/salla-loyalty-program/salla-loyalty-panel.d.ts +45 -0
  498. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +11 -0
  499. package/dist/types/components/salla-loyalty-program/salla-loyalty-program.d.ts +25 -8
  500. package/dist/types/components/salla-loyalty-program/salla-loyalty-reward.d.ts +13 -0
  501. package/dist/types/components/salla-loyalty-program/salla-reward-action.d.ts +9 -0
  502. package/dist/types/components/salla-loyalty-program/salla-reward-card.d.ts +17 -0
  503. package/dist/types/components/salla-loyalty-program/salla-reward-details.d.ts +22 -0
  504. package/dist/types/components/salla-loyalty-program/salla-reward-exchange.d.ts +11 -0
  505. package/dist/types/components/salla-loyalty-program/translations.d.ts +1 -0
  506. package/dist/types/components.d.ts +341 -0
  507. package/package.json +6 -5
  508. package/dist/cjs/salla-products-slider.cjs.entry.js +0 -121
  509. package/dist/esm/salla-products-slider.entry.js +0 -119
  510. package/dist/twilight/p-078c884b.entry.js +0 -4
  511. package/dist/twilight/p-336f0f06.entry.js +0 -4
  512. package/dist/twilight/p-39ad489e.entry.js +0 -4
  513. package/dist/twilight/p-470433cb.entry.js +0 -4
  514. package/dist/twilight/p-52192d08.entry.js +0 -4
  515. package/dist/twilight/p-54c7e570.entry.js +0 -4
  516. package/dist/twilight/p-a0171740.entry.js +0 -4
  517. package/dist/twilight/p-c65832b1.entry.js +0 -4
  518. package/dist/twilight/p-d3a119aa.entry.js +0 -4
  519. package/dist/twilight/p-d4f3797c.entry.js +0 -4
  520. package/dist/twilight/p-fa3ceb7c.entry.js +0 -4
  521. package/dist/twilight/p-fa44f874.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaNotificationsCss = "";
9
9
 
@@ -12,7 +12,7 @@ const SallaNotificationItem = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return index.h("a", { key: 'c568ebb15db1854f8f32ffa406f4751b16e67e4d', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, index.h("span", { key: 'af8ce6607fb53b0459673aec66d4e4453fa13f94', class: "s-notifications-item-icon" }, index.h("i", { key: '9a55f3c72eb6bef64f58e24395bab8f787c084ed', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), index.h("div", { key: '20559c46d9087d602c83f82f409c5fa43966a8de', class: "s-notifications-item-content" }, index.h("div", { key: '22a21adb2253a0db5d9d404ba196fe1a2094c7ff', class: "s-notifications-item-content-leading" }, index.h("h4", { key: '3a07031fe0e697a4c818dece184623bd13249f30' }, this.notification.title), index.h("p", { key: 'a481734126292bbb2b22f4a326d7a489131a0828' }, this.notification.sub_title)), index.h("span", { key: 'adad90fe0b72bd92363d53c8ffcc39602da00399', class: "s-notifications-item-content-trailing" }, index.h("i", { key: '65401a987fd64c6647f1cabc4d802f6c835f0e61', class: "sicon-time s-notifications-item-content-trailing-icon" }), index.h("span", { key: '1c73bdb085cb3e5c3ecaea7352d3112b9facdf38' }, this.notification.date))));
15
+ return index.h("a", { key: 'c134f5fc8901762ed8fa4a53aed5fd5ec62df689', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, index.h("span", { key: '78fbafd1dd2998dba7e3a1ad8b34cbeb9e962cf2', class: "s-notifications-item-icon" }, index.h("i", { key: '61357a8087938b3ffae36387a6d8b79979704dba', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), index.h("div", { key: '67c85332e868f4dbb2099524e441d64211d1ba1f', class: "s-notifications-item-content" }, index.h("div", { key: 'c7f79cb902edd54f171b8e3c089aa0f6795ca2a2', class: "s-notifications-item-content-leading" }, index.h("h4", { key: '078d34e4cc8093ded2dc3c948100337acfe0101e' }, this.notification.title), index.h("p", { key: '30c20f5308761bcd4011052b2fc8c6f87698a8f9' }, this.notification.sub_title)), index.h("span", { key: 'db1f387f53c747bccb3836cf8622f9f67af3a654', class: "s-notifications-item-content-trailing" }, index.h("i", { key: '2f662b2dbff1487831681586c15d17c1a2e68eaa', class: "sicon-time s-notifications-item-content-trailing-icon" }), index.h("span", { key: '119e37704dc78372f3340fc33df69e20b666a7c5' }, this.notification.date))));
16
16
  }
17
17
  };
18
18
  SallaNotificationItem.style = sallaNotificationsCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,21 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
-
9
- var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
10
- <title>tag</title>
11
- <path d="M28 0h-9.344c-1.059 0-2.056 0.411-2.809 1.153l-14.673 14.456c-1.56 1.56-1.561 4.097-0.001 5.657l9.56 9.56c0.755 0.755 1.76 1.172 2.828 1.173h0.003c1.068 0 2.072-0.416 2.833-1.179l14.451-14.668c0.743-0.753 1.153-1.751 1.153-2.809v-9.344c0-2.205-1.795-4-4-4zM29.333 13.344c0 0.353-0.137 0.685-0.385 0.937l-14.444 14.661c-0.252 0.252-0.587 0.391-0.941 0.391-0.001 0-0.001 0-0.001 0-0.356-0.001-0.691-0.139-0.943-0.392l-9.561-9.56c-0.52-0.52-0.52-1.365-0.005-1.88l14.667-14.449c0.253-0.248 0.585-0.385 0.937-0.385h9.344c0.736 0 1.333 0.597 1.333 1.333zM24 6.673c-0.737 0-1.333 0.604-1.333 1.341s0.596 1.333 1.333 1.333 1.333-0.596 1.333-1.333v-0.015c0-0.737-0.596-1.327-1.333-1.327z"></path>
12
- </svg>
13
- `;
14
-
15
- var Cart2 = `<!-- Generated by IcoMoon.io -->
16
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
17
- <title>cart2</title>
18
- <path d="M6.845 5.333l-1.905-5.333h-3.607c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333v0h1.727l5.72 16.012c0.569 1.56 2.039 2.654 3.765 2.655h12.133c0.001 0 0.002 0 0.003 0 1.825 0 3.364-1.222 3.845-2.892l0.007-0.028 3.161-13.080zM25.96 17.716c-0.167 0.554-0.672 0.951-1.27 0.951-0.002 0-0.005 0-0.007-0h-12.133c-0.575-0-1.065-0.364-1.252-0.875l-0.003-0.009-3.497-9.783h20.508zM13.333 24c-2.209 0-4 1.791-4 4s1.791 4 4 4c2.209 0 4-1.791 4-4v0c0-2.209-1.791-4-4-4v0zM13.333 29.333c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.736-0.597 1.333-1.333 1.333v0zM24 24c-2.209 0-4 1.791-4 4s1.791 4 4 4c2.209 0 4-1.791 4-4v0c0-2.209-1.791-4-4-4v0zM24 29.333c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.736-0.597 1.333-1.333 1.333v0z"></path>
19
- </svg>
20
- `;
8
+ var tag = require('./tag-D-PcUR33.js');
9
+ var cart2 = require('./cart2-B98PSAFN.js');
21
10
 
22
11
  const sallaOfferModalCss = ".s-offer-modal-type-products .s-modal-body{min-height:690px;position:relative}";
23
12
 
@@ -187,7 +176,7 @@ const SallaOfferModal = class {
187
176
  }
188
177
  else if (this.offer.get.categories?.length) {
189
178
  return index.h("salla-slider", { type: "carousel", class: { "s-offer-modal-slider-centered": this.offer.get.categories?.length <= 2, "s-offer-modal-slider": true }, id: "offer-modal-slider", "controls-outer": true, "show-controls": this.offer.get.categories?.length <= 2 ? 'false' : 'true' }, index.h("div", { slot: 'items' }, this.offer.get.categories.map(category => index.h("a", { href: category.urls.customer, class: "s-offer-modal-badge s-offer-modal-slider-item s-offer-modal-cat-item", innerHTML: this.categorySlot
190
- .replace(/\{tagIcon\}/g, Tag)
179
+ .replace(/\{tagIcon\}/g, tag.SITag)
191
180
  .replace(/\{name\}/g, category.name)
192
181
  .replace(/\{url\}/g, category.urls.customer) }))));
193
182
  }
@@ -211,7 +200,7 @@ const SallaOfferModal = class {
211
200
  // '</div>';
212
201
  // }
213
202
  render() {
214
- return index.h("salla-modal", { key: '897f81ff7d0b0415075cd0a5d546b1dccb67916f', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: '3b6909ea6be039e857ec72e1b58e92296fa7112a', slot: 'loading' }, index.h("div", { key: '297819c01b8aa686ea23aa2a3c7b652329e53831', class: "s-offer-modal-skeleton" }, index.h("div", { key: '28445bb4ee235498777153083e9538646ac9090a', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: '1e1b263a489b431cf72fcccd7ce9b104ee1c14b5', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: 'e0741d35d28615f4a24988a1896239ee46a574a7', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'ff6bbd049888bf003fce59045df80df81f65df73', height: '10px', width: '30%' })), index.h("div", { key: 'ef5a6f218efacf3534828a7612a01ff9fcf13589', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: '2eda217eeb9c8e1b3019f3cee8790b56ed57e245', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: 'eb05f2002be23602919b118d7b8f3c0d355fadec', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '7350610c6b4b48b5bb8de0d674555c3001b14909', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
203
+ return index.h("salla-modal", { key: '8be68e5882a9cbb1f4286f765f5db3ce88689c16', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: '570bcafe6a1a00534b26ee25aa154e46594cb662', slot: 'loading' }, index.h("div", { key: 'baee23d1ad4429e8663fcf043004bf0747fe47de', class: "s-offer-modal-skeleton" }, index.h("div", { key: '1c6967ecfb17092c48247c17c2ce86b8ca048c77', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: 'a6ce5a415d4e6350c2467d7d3c070fddaeccd074', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: '2d65ed027b9fff7eae7ecbb372f9e584a0334cf5', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '247706c9ddf7d2b9f96c7ea2deac960de3449017', height: '10px', width: '30%' })), index.h("div", { key: 'b5c9fec6565313706e2d6b73e2f060e4b216ffbc', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: cart2.SICart2 }))))), index.h("div", { key: '58e2d38061e8e4434113b1fc16f3601969e342da', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: 'c388e246236e4849e5d97592ea6a803e6409083f', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '4ccd783b15647cf62f1b5b4d760f3e7feead7bfb', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
215
204
  ? [index.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: specialDiscount.SpecialDiscountIcon }), this.getOfferContent(), index.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
216
205
  index.h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
217
206
  : '', index.h("label", { class: "s-offer-modal-remember-label" }, index.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  var PageType;
9
9
  (function (PageType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaOrderDetailsMultipleBundleProductCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  var copyIcon = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaOrderDetailsCss = "";
9
9
 
@@ -39,7 +39,7 @@ const SallaOrderDetails = class {
39
39
  ];
40
40
  }
41
41
  render() {
42
- return index.h(index.Host, { key: '880b4567c82b94af07c1bcb0303c64516fb0791b', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
42
+ return index.h(index.Host, { key: '41599687bddf4d4b9eda3572ce39b93a0d8f596d', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
43
43
  }
44
44
  static get watchers() { return {
45
45
  "orderDetails": ["parseOrderDetailsData"]
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaOrderEditItemCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaOrderEditCss = "";
9
9
 
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
7
- var check = require('./check-x3w3-gpj.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
+ var check = require('./check-BnVBPQNp.js');
8
8
 
9
9
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->
10
10
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -92,8 +92,8 @@ const SallaOrderSummary = class {
92
92
  this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
93
93
  }
94
94
  render() {
95
- return (index.h("ul", { key: 'bb16ccab71851d8853fae1b08b66c9c3bb590766', class: "s-order-summary-wrapper" }, this.noItemFound ? index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" })) :
96
- this.order_items.map((item) => (this.isDigitalCard(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (index.h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, index.h("p", null, index.h("span", { innerHTML: iconCreditCard }), index.h("span", null, code.code)), index.h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, index.h("span", { innerHTML: this.codeCopied === code.code ? check.iconCheck : iconCopy }), index.h("span", null, this.copy_text))))))) :
95
+ return (index.h("ul", { key: 'bb8c8e2c3a44f0922012789efc9a73d71fd213d5', class: "s-order-summary-wrapper" }, this.noItemFound ? index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" })) :
96
+ this.order_items.map((item) => (this.isDigitalCard(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (index.h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, index.h("p", null, index.h("span", { innerHTML: iconCreditCard }), index.h("span", null, code.code)), index.h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, index.h("span", { innerHTML: this.codeCopied === code.code ? check.SICheck : iconCopy }), index.h("span", null, this.copy_text))))))) :
97
97
  this.isDigitalProduct(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), index.h("ul", null, item.files.map((file) => (index.h("li", { class: "s-order-summary-digital-item-wrapper" }, index.h("div", null, index.h("span", { innerHTML: iconFileArchive }), index.h("span", null, file.name)), index.h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, index.h("span", { innerHTML: iconDownload }), index.h("span", null, this.download_text)))))))) : null))));
98
98
  }
99
99
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaOrderTotalsCardCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaPaymentsCss = ":host{display:block}";
9
9
 
@@ -36,12 +36,12 @@ const SallaPayments = class {
36
36
  render() {
37
37
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
38
38
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
39
- return (index.h(index.Host, { key: '6afc19aa3f0a72847228c7de6c783c3ba9f38ee9', class: "s-payments-list-wrap" }, index.h("ul", { key: '8311e5bc5aa86535d77ccad64b56c5ddb3028f87', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '5b8769a8c89273363e835905de1cd9f02fec1df6', class: "s-payments-list-item" }, index.h("img", { key: '7b42b4a0a14f4bdab3138e79c37ad62e74247732', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
39
+ return (index.h(index.Host, { key: '3e44396c845375f9147a4dd036fe63f299787a6f', class: "s-payments-list-wrap" }, index.h("ul", { key: '476cc234749bb57898769d1089d718995da9ae12', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '2bbe346520331ca8bff96a5fb8f4628093422e61', class: "s-payments-list-item" }, index.h("img", { key: 'a281cc6e6bf4cdfc8fa4948c86a9b1b024bca8b8', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
40
40
  index.h("div", { id: "cod-slot", innerHTML: this.codSlot
41
41
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
42
42
  index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
43
43
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
44
- .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '253ef6d5520979a22c48f1e63c53eab3fd5e21ad', id: "sbc-slot", innerHTML: this.sbcSlot
44
+ .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: 'ef5bbf9934a50015e2eb588f41ec9b5f86341dea', id: "sbc-slot", innerHTML: this.sbcSlot
45
45
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
46
46
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
47
47
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  var Inbox = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -43,7 +43,7 @@ const SallaPlaceholder = class {
43
43
  };
44
44
  }
45
45
  render() {
46
- return (index.h(index.Host, { key: '5b47d9b6a9428741dfb434aeb60e648c416978e8', class: this.alignmentClass() }, index.h("div", { key: 'e9b7adc6596ac9d237dd6902f880885851a3f357', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '7ccee11d11b9f0e7c10fedb316c1b92b1977d0c9', class: "s-placeholder-title" }, index.h("slot", { key: '4ebd518a89fdbb490b50fb5ce255bbddd467844a', name: 'title' }, index.h("span", { key: 'c4d27cffdfb98c33ec1ccfe375e0540be2ac7b63' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '967b688ef6d2aae128c21edf496b42d1fd804afa', class: "s-placeholder-description" }, index.h("slot", { key: '2e5bb58b4ed6ebafd18b12e291bc90fba7296965', name: 'description' }, index.h("span", { key: '83f78b4924b97cec60dd1d6e25f4ddf0eefb324a' }, salla.lang.get('common.errors.empty_results'))))));
46
+ return (index.h(index.Host, { key: '85a52f39cc2012ca1a3c6d143d06b81981d761aa', class: this.alignmentClass() }, index.h("div", { key: '35be844bc3883f3451344bbeedb4b24f9c218f7a', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '58152da7774e79fdb09465087b741212a3982cf2', class: "s-placeholder-title" }, index.h("slot", { key: 'f9953085b498043920fd03ae44a082e0fb1a02d2', name: 'title' }, index.h("span", { key: '989633e3165d187c6d3b36e0cdfa2cb10466c6da' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: 'bfbcbb5a2f9561292e5a6850eb43f5bfea8bd040', class: "s-placeholder-description" }, index.h("slot", { key: '4592587daaaa41c67cd7670eea7d5e7e3d8635d7', name: 'description' }, index.h("span", { key: '4b1e3c4a453b8dbc5139b40ebddb94d8c2d1c465' }, salla.lang.get('common.errors.empty_results'))))));
47
47
  }
48
48
  };
49
49
  SallaPlaceholder.style = sallaPlaceholderCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -159,9 +159,9 @@ const SallaPriceRange = class {
159
159
  this.maxPrice = value === undefined ? '' : value;
160
160
  }
161
161
  render() {
162
- return (index.h(index.Host, { key: '01971028ddbcb6dd89aec0e1552f4c724c32e76f' }, this.filterValues.map((filterValue, index$1) => {
162
+ return (index.h(index.Host, { key: '996f527f5a36ea273b0d8c195e35dc3efbdf62f2' }, this.filterValues.map((filterValue, index$1) => {
163
163
  return index.h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index$1}`, key: index$1 }, index.h("input", { id: `${this.option.key}-${index$1}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), index.h("span", { innerHTML: this.getPriceLabel(filterValue) }));
164
- }), index.h("div", { key: '0961c02c062e2cad89f35fd51cdcbb379965f31c', class: "flex justify-center items-center" }, index.h("div", { key: 'f503bbb2b490dc6908b06c5f1353a6577466cd66', class: "relative max-w-xl w-full" }, index.h("div", { key: '6149d29228345ecd88d2c3e1c4622fd91dba52a2', class: "s-price-range-inputs" }, index.h("div", { key: '8e45f9e8728de535671809d6b71fda57a8c9f763', class: "s-price-range-relative" }, index.h("div", { key: '8cf8df2c549ab8f9bf6bc3fcb89a4155c8acfe0c', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'c79d97935d8675ba44e38c28d72513cb4ba4f614', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), index.h("div", { key: 'c2826af5c0d8073d5278dac67f40412e562d6a80', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: '3a1c1641ee465c673dd4914cf4d19acd2d7f6911', class: "s-price-range-relative" }, index.h("div", { key: '2efecf246fb31f52a792e19f3af42da55f5f5407', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '85dea69e3ae374aff1a6d7f1764346475a8688c8', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), index.h("salla-button", { key: '59722b42d4cd5eef95360b95093772cdd59aed6c', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: '2142e831cb931574a63bb4f6ba12787677fecb1f', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
164
+ }), index.h("div", { key: 'bfa8f970eb1e9c5d2b9678e5271aa04208b39289', class: "flex justify-center items-center" }, index.h("div", { key: '59cd51f388f36a38e2bd036d27b7abe001fed9d0', class: "relative max-w-xl w-full" }, index.h("div", { key: '226bd18705572502c7da11022a8ce02dc08d4d21', class: "s-price-range-inputs" }, index.h("div", { key: '0ebfdced114308e82075cd153bef0020daa15bf6', class: "s-price-range-relative" }, index.h("div", { key: 'c3dacef6133e2b05eca8d643d1c8ce3f5b991548', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'b2451e091d93f85f268fc80e30e24f5f71c2628c', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), index.h("div", { key: '00c07380972b65eac5fac5688b99d21277f65d39', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: '403e98ad682f08946ccd191715ff37401a376722', class: "s-price-range-relative" }, index.h("div", { key: 'a1b0729fc40c17b9be68dd2c76a3afa1e99d8a62', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '5f5e5a202f4b11cde88ae954fa352b71886fe30e', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), index.h("salla-button", { key: 'dd4899512e03f10c18e74f4d2434406dc6922a50', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: '98d023ccfe7e26278259bf690a1d7a4323a704fc', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
165
165
  }
166
166
  componentDidLoad() {
167
167
  this.isReady = true;
@@ -3,8 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
+ var Helper = require('./Helper-CU4Xuiki.js');
9
+ require('./anime.es-BqW8JHZi.js');
8
10
 
9
11
  var Heart = `<!-- Generated by IcoMoon.io -->
10
12
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -114,14 +116,14 @@ const SallaProductCard = class {
114
116
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
115
117
  };
116
118
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
117
- return (index.h(index.Host, { key: '6c9b39e50f045c2511188597128546e440431b24', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '69813dd46d8df8298835d6de6faca959f2645c6b', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '67080662eb9a5ff4af903b6e57f029925565138b', ...hrefProp }, index.h("img", { key: '8e7a60fff16a8e4f7b27f19aae1c39a16ce8cadd', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
119
+ return (index.h(index.Host, { key: 'e0981508ab81f2a0bed4b763829d25792e55a692', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '8ed3f18aa60f4c63fcd8a5603683f76c6ec247a8', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: 'e412236f624d180312a7361c0bb43f4af05ac868', ...hrefProp }, index.h("img", { key: 'a8517f1f3c5c2d15489aa5509bb667fb3ce98ca6', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
118
120
  ? 'contain'
119
121
  : this.fitImageHeight
120
122
  ? this.fitImageHeight
121
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '648cf477ab6ded2d2c02dbf6957d68365524c847', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
122
- index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'a2ed73abfe91993ded6e84f6f493ea50ee0899a9', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
123
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '9b0841267856eeaf8fd3f44df9e11a2e82ea2554', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
124
+ index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'f027bc5aa8d3e46eeff5e0c2f22c33f06298884c', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
123
125
  index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
124
- : '', index.h("div", { key: '09fd5336d5c9d454620a91be8271399b938bb1f4', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'c915604dafa02d6ba50e6e9933edbd57149e7a56', class: "s-product-card-content-title" }, index.h("a", { key: '2b80635accb51545b72baf7ff57a115a62457613', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
126
+ : '', index.h("div", { key: '942aed0114c9155a7b397261032ec3d5f3bbf983', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: '82e874903e2391cbda7df6cdbb41422341f66476', class: "s-product-card-content-title" }, index.h("a", { key: 'be7e564d2341c97d8431fa49e6a176548183929c', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
125
127
  index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
126
128
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
127
129
  [index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -130,7 +132,7 @@ const SallaProductCard = class {
130
132
  this.addBtn.donatingAmount = e.target.value;
131
133
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
132
134
  : '')]
133
- : '', index.h("div", { key: '12613a96e7d914ea156470305c28a7449a3dcb9b', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
135
+ : '', index.h("div", { key: 'f565ee76394a00c047cdf3abacacdc351565ba1d', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
134
136
  index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
135
137
  : ''), this.isSpecial && this.productData.discount_ends
136
138
  ? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -156,4 +158,116 @@ const SallaProductCard = class {
156
158
  };
157
159
  SallaProductCard.style = sallaProductCardCss;
158
160
 
161
+ const sallaProductsSliderCss = "";
162
+
163
+ const SallaProductsSlider = class {
164
+ constructor(hostRef) {
165
+ index.registerInstance(this, hostRef);
166
+ /**
167
+ * Custom Card Component for the Salla Products Slider.
168
+ *
169
+ * This component allows you to customize the appearance of individual product cards within a Salla Products Slider.
170
+ *
171
+ * @example
172
+ * <salla-products-slider product-card-component="my-custom-card-style1" ...
173
+ * <salla-products-slider product-card-component="my-custom-card-style2" ...
174
+ */
175
+ this.productCardComponent = 'custom-salla-product-card';
176
+ this.apiUrl = '';
177
+ }
178
+ componentWillLoad() {
179
+ return salla.onReady()
180
+ .then(() => {
181
+ //TODO:: check why `this.includes` not working!!
182
+ this.includes = Helper.Helper.parseJson(this.includes || this.host.getAttribute('includes'));
183
+ if (!Array.isArray(this.includes)) {
184
+ this.includes = null;
185
+ }
186
+ Helper.Helper.setIncludes(this.includes);
187
+ this.sourceValueIsValid = !!(this.getSourceValue() || this.isSourceWithoutValue());
188
+ if (!this.sourceValueIsValid) {
189
+ salla.logger.warn(`source-value prop is required for source [${this.getSource()}]`);
190
+ return;
191
+ }
192
+ this.hasCustomComponent = !!customElements.get(this.productCardComponent);
193
+ if (this.source === 'json') {
194
+ this.productsData = this.getSourceValue();
195
+ this.isReady = true;
196
+ return;
197
+ }
198
+ if ((this.getSource() == 'related' && !salla.config.get('store.settings.product.related_products_enabled'))) {
199
+ this.isReady = false;
200
+ return;
201
+ }
202
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
203
+ source: Helper.Helper.getApiSource(this.getSource()),
204
+ source_value: this.getSourceValue(),
205
+ limit: this.limit
206
+ }))
207
+ .then(response => Helper.Helper.injectExtraFieldsToResponse(response))
208
+ .then(response => {
209
+ this.productsData = response.data;
210
+ this.isReady = true;
211
+ response.source = this.getSource();
212
+ response.sourceValue = this.getSourceValue();
213
+ salla.event.emit('salla-products-slider::products.fetched', response.data);
214
+ });
215
+ });
216
+ }
217
+ componentDidRender() {
218
+ let processedCount = 0;
219
+ const intervalId = setInterval(() => {
220
+ this.host.querySelectorAll('[loading="lazy"]')?.forEach(img => img.removeAttribute('loading'));
221
+ processedCount++;
222
+ if (processedCount >= 10) {
223
+ clearInterval(intervalId);
224
+ }
225
+ }, 1000);
226
+ }
227
+ async componentDidLoad() {
228
+ await Salla.hooks.registerComponent('salla-products-slider', this);
229
+ }
230
+ isSourceWithoutValue() {
231
+ return ['offers', 'latest', 'sales', 'top-rated'].includes(this.getSource());
232
+ }
233
+ getItemHTML(product) {
234
+ //as a request they don't want to let the user to open the product details
235
+ //todo:: find a better way to handle this request
236
+ const isLandingPage = this.getSource() === 'landing-page';
237
+ isLandingPage && (product.url = '');
238
+ const handleClick = isLandingPage ? undefined : () => {
239
+ Helper.Helper.saveProductSource(this.getSource());
240
+ };
241
+ if (this.hasCustomComponent && this.productCardComponent.toLowerCase() == 'custom-salla-product-card') {
242
+ return index.h("div", { class: "s-products-slider-card", onClick: handleClick }, index.h("custom-salla-product-card", { product: product, source: this.getSource(), "source-value": this.getSourceValue() }));
243
+ }
244
+ if (this.hasCustomComponent) {
245
+ const customElem = document.createElement(this.productCardComponent);
246
+ customElem.setAttribute('product', JSON.stringify(product));
247
+ customElem.setAttribute('source', this.getSource());
248
+ customElem.setAttribute('source-value', this.getSourceValue());
249
+ return index.h("div", { class: "s-products-slider-card", onClick: handleClick, innerHTML: customElem.outerHTML });
250
+ }
251
+ return index.h("div", { class: "s-products-slider-card", onClick: handleClick }, index.h("salla-product-card", { "show-quantity": isLandingPage, "hide-add-btn": isLandingPage, "shadow-on-hover": true, product: product }));
252
+ }
253
+ canRender() {
254
+ return this.sourceValueIsValid && this.isReady;
255
+ }
256
+ getSource() {
257
+ return Helper.Helper.getProductsSource(this.source);
258
+ }
259
+ getSourceValue() {
260
+ return Helper.Helper.getProductsSourceValue(this.source, this.sourceValue);
261
+ }
262
+ render() {
263
+ if (!this.canRender()) {
264
+ return;
265
+ }
266
+ return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, ...(this.sliderProps || {}), "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
267
+ }
268
+ get host() { return index.getElement(this); }
269
+ };
270
+ SallaProductsSlider.style = sallaProductsSliderCss;
271
+
159
272
  exports.salla_product_card = SallaProductCard;
273
+ exports.salla_products_slider = SallaProductsSlider;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -53,11 +53,11 @@ const SallaProductSizeGuide = class {
53
53
  return index.h("salla-placeholder", { alignment: "center", iconSize: "xl" }, index.h("div", { slot: "title" }, this.placeholder_title), index.h("div", { slot: "description" }, this.placeholder_description));
54
54
  }
55
55
  render() {
56
- return (index.h("salla-modal", { key: '7f3163771a6fe805ee75842c83c792b6a7dd0a2b', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: '6358583b137c5aa191d0b0b5a3f91a8934340271', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: 'de9f920cd4c75f8089c7f3c426965e4551ffc77b', slot: "loading" }, index.h("div", { key: '67cb37e30e211233c10b14ad4d91bc5c5b24da6d', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: '28cca753f94de6eaee5dce72929d0df79ee5fa04', height: '15px', width: '25%' }), index.h("div", { key: 'a5281ef076771baaca25938ee50d16ab2d720753', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: 'a1d4a72b246a6a47c7b7d4bdbbb9404f00cda07f', height: '40px' }), index.h("salla-skeleton", { key: '1928477107338585e9ede41e2770b2269af3931c', height: '40px' }), index.h("salla-skeleton", { key: 'f8066e7ea05f580eec61529cfe24f3610b009ac6', height: '40px' }), index.h("salla-skeleton", { key: '3fdc216da7789b27061a2a9ef7f0abe96677d7c1', height: '40px' })), index.h("div", { key: '957b3b2951821bfd8bf6d382777a9f680c4e36ed', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '49f609d34eae8f4c0256a559bd12396bdbd4b996', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: '2c20035b717f0b35212b066f39030bfbd17a597b', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '2e003fe9f76575c9b60b0aa86d650091213d8bb7', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: 'ae28bd7c1770938e2a02b23a960bad255d59329e', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '3737f5b2d81b852e4c2b269bd61e73740341e32a', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'e7e82f9ba968478ab38b1e9db94a98f2162b4e73', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: 'd97efa180720f9ac39fa9bdb17f73cc27fb4a3f0', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: 'ff3934e9aa7f58cbec9b42c772f7ee30e7cd69ea', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '5bc02f885b39fd6585a40f38299610e181414c43', height: '10px', width: '30%' })))), index.h("slot", { key: 'b8d469ede8c64d77c57888b08b749e5642da90b1', name: "header" }), !this.hasError && !!this.guides ?
56
+ return (index.h("salla-modal", { key: 'eeb477f6cd7831f06fb2b716e2391d684ae4e93c', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: '48f9e18ebfec9999dc856fe3c7bca7854e4f53b3', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '9fc445cfb72dfdd5d0d306419041aa9f3acafb66', slot: "loading" }, index.h("div", { key: 'f5dbfb1560940a691f891e7d41eca22977693d79', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: 'c6790017016fc8b471601bf093051f80183645c9', height: '15px', width: '25%' }), index.h("div", { key: 'ba72c67c7b26e62ed4548444ba9083f83816f59e', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: '4fd934c7bf103bcd937028bacda524915a40f76a', height: '40px' }), index.h("salla-skeleton", { key: '3754ae6eca3938380261e221f6941b2ef2a381dd', height: '40px' }), index.h("salla-skeleton", { key: 'a2007afe625ce45713b3a2f64a62cf0da101c1e9', height: '40px' }), index.h("salla-skeleton", { key: '7ed982fa2c6c862bf724fa1b1dc059db2f5dbc41', height: '40px' })), index.h("div", { key: '3914b9dde80d2257a55b0aa156f61df5936f1bb5', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '51b96df249504517e4c3fe1098be2937cbaeef63', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: 'd5844e3c91eddc4821b97cc9991a2441dd0bb117', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '976e70a0aa160dd9b4dbe4d0f9f0675f5c3308ea', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '1baf5286915a708ea68850c9c82e7970c6521c86', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '8ecc89a3defd83637936023b0d0841c55c6799cd', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'eb90ea350d6947596688595bb898a8c3a8dcac39', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: '282d747e764c2761aa4b68f145467371acd66f32', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: '610491fa3769027ceebec2ab46e7166d0bfac9f2', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '8162ba3bec487efe6fa1c0adf2355bd175d8310a', height: '10px', width: '30%' })))), index.h("slot", { key: 'b55b29cfeb52e41c0c56a79bded075fda7f49fab', name: "header" }), !this.hasError && !!this.guides ?
57
57
  [
58
58
  index.h("salla-tabs", null, this.guides.map((guide) => index.h("salla-tab-header", { slot: "header", name: guide.name }, index.h("span", null, guide.name))), this.guides.map((guide) => index.h("salla-tab-content", { slot: "content", name: guide.name }, index.h("div", { innerHTML: guide.description }))))
59
59
  ]
60
- : this.showPlaceholder(), index.h("slot", { key: '04df3ec4386e0beff2d18cc9df73dc427e9cf507', name: "footer" })));
60
+ : this.showPlaceholder(), index.h("slot", { key: '6e37eb73078f786ce5dda8cf9ed6bae16eb3acfc', name: "footer" })));
61
61
  }
62
62
  get host() { return index.getElement(this); }
63
63
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
 
8
8
  const sallaProgressBarCss = "";
9
9
 
@@ -3,9 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
7
- var mail = require('./mail-CO8cFZH7.js');
8
- var cancel = require('./cancel-De6vslRA.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
+ var iphoneX = require('./iphone-x-qC21wCLj.js');
8
+ var mail = require('./mail-Bgvt2hc9.js');
9
+ var cancel = require('./cancel-B5SbMYEk.js');
9
10
 
10
11
  var CelebrationIcon = `<!-- Generated by IcoMoon.io -->
11
12
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -21,13 +22,6 @@ var PortraitIcon = `<!-- Generated by IcoMoon.io -->
21
22
  </svg>
22
23
  `;
23
24
 
24
- var IphoneXIcon = `<!-- Generated by IcoMoon.io -->
25
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
26
- <title>iphone-x</title>
27
- <path d="M24 0h-16c-2.205 0-4 1.795-4 4v24c0 2.205 1.795 4 4 4h16c2.205 0 4-1.795 4-4v-24c0-2.205-1.795-4-4-4zM25.333 28c0 0.736-0.597 1.333-1.333 1.333h-16c-0.736 0-1.333-0.597-1.333-1.333v-24c0-0.735 0.597-1.333 1.333-1.333h4c0 1.471 1.196 2.667 2.667 2.667h2.667c1.471 0 2.667-1.196 2.667-2.667h4c0.736 0 1.333 0.599 1.333 1.333z"></path>
28
- </svg>
29
- `;
30
-
31
25
  const sallaQuickOrderCss = ".s-quick-order-expandable:not(.s-quick-order-shown){overflow:hidden}";
32
26
 
33
27
  const SallaQuickOrder = class {
@@ -215,10 +209,10 @@ const SallaQuickOrder = class {
215
209
  } }, index.h("i", { innerHTML: CelebrationIcon }), index.h("span", null, this.thanksMessage))));
216
210
  }
217
211
  return (index.h(index.Host, { class: `s-quick-order s-quick-order-${this.getDarkOrLight()}` }, index.h("div", { class: `s-quick-order-container s-quick-order-${this.quickOrderStyle}`, style: { backgroundColor: this.getStyleColor() } }, index.h("div", { class: "s-quick-order-button-cont" }, index.h("div", null, index.h("h3", null, this.quickOrderTitle), index.h("p", null, this.subTitle)), index.h("salla-button", { class: this.expanded ? "s-quick-order-btn-close" : "", onClick: (e) => this.submit(e, true), color: this.getBtnColor() }, this.oneClick
218
- ? this.confirmPayButtonTitle : this.expanded ? index.h("i", { innerHTML: cancel.Cancel }) : this.confirmPayButtonTitle)), index.h("form", { onSubmit: (e) => this.submit(e), class: 's-quick-order-expandable ' + (this.expanded ? 's-quick-order-shown' : '') }, Salla.config.isGuest() &&
212
+ ? this.confirmPayButtonTitle : this.expanded ? index.h("i", { innerHTML: cancel.SICancel }) : this.confirmPayButtonTitle)), index.h("form", { onSubmit: (e) => this.submit(e), class: 's-quick-order-expandable ' + (this.expanded ? 's-quick-order-shown' : '') }, Salla.config.isGuest() &&
219
213
  [
220
214
  index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: PortraitIcon }), index.h("input", { type: "text", required: true, class: "s-form-control s-quick-order-phone-field", name: 'name', placeholder: this.userNameLabel, ref: el => (this.nameInput = el) })),
221
- index.h("div", { class: "s-quick-order-flex-input" }, index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: IphoneXIcon }), index.h("salla-tel-input", { ref: el => (this.phoneInput = el) })), index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: mail.MailIcon }), index.h("input", { type: "email", class: "s-form-control s-quick-order-email-field", name: 'email', required: this.isEmailRequired, placeholder: this.placeHolderEmail + ' ' + (this.isEmailRequired ? '' : this.emailOptional), ref: el => (this.emailInput = el) }))),
215
+ index.h("div", { class: "s-quick-order-flex-input" }, index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: iphoneX.SIiPhoneX }), index.h("salla-tel-input", { ref: el => (this.phoneInput = el) })), index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: mail.SIMail }), index.h("input", { type: "email", class: "s-form-control s-quick-order-email-field", name: 'email', required: this.isEmailRequired, placeholder: this.placeHolderEmail + ' ' + (this.isEmailRequired ? '' : this.emailOptional), ref: el => (this.emailInput = el) }))),
222
216
  ], this.isTermsRequired && (index.h("label", { htmlFor: "terms", class: "s-quick-order-terms" }, index.h("input", { type: "checkbox", required: true, name: 'terms', id: 'terms', ref: el => (this.termsInput = el), onChange: () => (this.termsChecked = this.termsInput.checked), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", index.h("div", { innerHTML: this.formatAgreementText(this.agreementText, 150) }, this.agreementText.length > 150 && (index.h("salla-button", { shape: "link", onClick: () => this.agreementModal.open() }, this.agreementShowText))), " "))), index.h("salla-button", { type: "submit", color: this.getBtnColor(), width: "wide", ref: el => (this.submitBtn = el) }, this.payButtonTitle)), index.h("salla-modal", { "modal-title": this.agreementModalHead, ref: modal => (this.agreementModal = modal) }, index.h("article", { innerHTML: this.agreementText })))));
223
217
  }
224
218
  componentDidLoad() {
@@ -3,13 +3,13 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Cuq57q32.js');
6
+ var index = require('./index-DdhkQnYm.js');
7
7
  var star = require('./star-DGcH7Yso.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
10
10
  var image = require('./image-BoZ6Hums.js');
11
11
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
12
- var mail = require('./mail-CO8cFZH7.js');
12
+ var mail = require('./mail-Bgvt2hc9.js');
13
13
  var anime_es = require('./anime.es-BqW8JHZi.js');
14
14
 
15
15
  var ShippingFast = `<!-- Generated by IcoMoon.io -->
@@ -436,7 +436,7 @@ const SallaRatingModal = class {
436
436
  ? index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step s-rating-modal-hidden", "data-type": "shipping" }, index.h("input", { type: "hidden", name: "shipping_company_id", value: this.order.shipping.company.id }), this.order.shipping.company.logo
437
437
  ? index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: this.order.shipping.company.logo, class: "s-rating-modal-shipping-logo", alt: this.order.shipping.company.name }))
438
438
  : index.h("span", { class: "s-rating-modal-icon", innerHTML: ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.order.shipping.company.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large" })), index.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))
439
- : '', index.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index.h("span", { class: "s-rating-modal-icon", innerHTML: checkCircle2.CheckCircle2 }), index.h("h3", { class: "s-rating-modal-thanks-title" }, salla.lang.get('pages.rating.thanks')), index.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), this.allowContactSupport && this.showContactWidget && (salla.config.get('store.contacts.whatsapp') || salla.config.get('store.contacts.email')) ? index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon }), salla.config.get('store.contacts.email') && index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.MailIcon }))) : '', index.h("div", { class: "s-rating-modal-footer" }, index.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, salla.lang.get('common.elements.back')), this.stepsCount > 1 ? index.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map((v) => index.h("li", { key: v, class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, salla.lang.get('common.elements.next')))]
439
+ : '', index.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index.h("span", { class: "s-rating-modal-icon", innerHTML: checkCircle2.CheckCircle2 }), index.h("h3", { class: "s-rating-modal-thanks-title" }, salla.lang.get('pages.rating.thanks')), index.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), this.allowContactSupport && this.showContactWidget && (salla.config.get('store.contacts.whatsapp') || salla.config.get('store.contacts.email')) ? index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon }), salla.config.get('store.contacts.email') && index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.SIMail }))) : '', index.h("div", { class: "s-rating-modal-footer" }, index.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, salla.lang.get('common.elements.back')), this.stepsCount > 1 ? index.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map((v) => index.h("li", { key: v, class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, salla.lang.get('common.elements.next')))]
440
440
  : index.h("salla-placeholder", { alignment: "center" }))));
441
441
  }
442
442
  }