@salla.sa/twilight-components 2.14.471 → 2.14.472

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 (486) hide show
  1. package/dist/cjs/{filepond-nQfoJi-g.js → filepond-Cy1e6Ro5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-hJ9M3t0L.js → filepond-plugin-file-poster-CLtWPKuV.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CgpDoJxO.js → filepond-plugin-file-validate-size-VaxUnQB7.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B2KbrSbZ.js → filepond-plugin-file-validate-type-qjNEM_4Q.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BkNqlXrL.js → filepond-plugin-image-edit-DZdFIpzD.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-P3Zfw8MQ.js → filepond-plugin-image-exif-orientation-CMDdMoTf.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CNXFmZth.js → filepond-plugin-image-preview-CckneKBe.js} +1 -1
  8. package/dist/cjs/{functions-B8CHu2z4.js → functions-DDLs9J1M.js} +1 -1
  9. package/dist/cjs/{index-GUQS0-Q-.js → index-BLZPuy15.js} +10 -14
  10. package/dist/cjs/{index-CPhoxBkB.js → index-MGCYfYcr.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +4 -4
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +3 -3
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +333 -21
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +4 -4
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +2 -2
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +18 -18
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +5 -5
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  34. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  37. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -9
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/{salla-map.cjs.entry.js → salla-map_2.cjs.entry.js} +70 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/{salla-product-card_2.cjs.entry.js → salla-order-options-modal_3.cjs.entry.js} +209 -6
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  84. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  100. package/dist/cjs/{tracked-promise-B7zS9VE-.js → tracked-promise-B-bFT1y-.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-1QrQ9HZi.js → vanilla-picker-CP29RTHf.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-accordion/salla-accordion-body.js +1 -1
  105. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  106. package/dist/collection/components/salla-accordion/salla-accordion.js +1 -1
  107. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +10 -0
  108. package/dist/collection/components/salla-alert/salla-alert.js +1 -1
  109. package/dist/collection/components/salla-badge/salla-badge.js +1 -1
  110. package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
  111. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
  112. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  113. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  114. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  115. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  116. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  117. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  118. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  119. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  120. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  121. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  122. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  123. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  124. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  125. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  126. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  127. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  128. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  129. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  130. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  131. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  132. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  133. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  135. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  136. package/dist/collection/components/salla-map/salla-map.js +3 -3
  137. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  138. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  139. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  140. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  141. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  142. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  143. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  144. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  145. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  146. package/dist/collection/components/salla-order-options-modal/apple-pay-order-options.js +84 -0
  147. package/dist/collection/components/salla-order-options-modal/order-options-gate.js +136 -0
  148. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.css +35 -0
  149. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.js +282 -0
  150. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  151. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  152. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  153. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  154. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  155. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  156. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  157. package/dist/collection/components/salla-product-options/salla-product-options.js +65 -2
  158. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  159. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  160. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +70 -16
  161. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  162. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  163. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  164. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  165. package/dist/collection/components/salla-search/salla-search.js +5 -5
  166. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  167. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  168. package/dist/collection/components/salla-social/salla-social.js +1 -1
  169. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  170. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  171. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  172. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  173. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  174. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  175. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  176. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  177. package/dist/components/index.js +2 -2
  178. package/dist/components/index2.js +2540 -1699
  179. package/dist/components/index3.js +1699 -2540
  180. package/dist/components/location.js +2 -2
  181. package/dist/components/salla-accordion-body2.js +1 -1
  182. package/dist/components/salla-accordion-head2.js +2 -2
  183. package/dist/components/salla-accordion2.js +1 -1
  184. package/dist/components/salla-add-product-button2.js +205 -8
  185. package/dist/components/salla-alert.js +1 -1
  186. package/dist/components/salla-badge2.js +1 -1
  187. package/dist/components/salla-booking-field2.js +1 -1
  188. package/dist/components/salla-bottom-alert.js +2 -2
  189. package/dist/components/salla-bullet-delivery.js +3 -3
  190. package/dist/components/salla-cart-coupons.js +1 -1
  191. package/dist/components/salla-cart-summary.js +1 -1
  192. package/dist/components/salla-color-picker2.js +1 -1
  193. package/dist/components/salla-comment-form2.js +1 -1
  194. package/dist/components/salla-conditional-fields2.js +1 -1
  195. package/dist/components/salla-count-down2.js +1 -1
  196. package/dist/components/salla-datetime-picker2.js +2 -2
  197. package/dist/components/salla-file-upload2.js +2 -2
  198. package/dist/components/salla-filters-widget2.js +2 -2
  199. package/dist/components/salla-filters.js +1 -1
  200. package/dist/components/salla-gifting.js +2 -2
  201. package/dist/components/salla-hook.js +1 -1
  202. package/dist/components/salla-list-tile2.js +1 -1
  203. package/dist/components/salla-loading2.js +1 -1
  204. package/dist/components/salla-localization-modal.js +1 -1
  205. package/dist/components/salla-loyalty-hero2.js +3 -3
  206. package/dist/components/salla-loyalty-panel.js +66 -18
  207. package/dist/components/salla-loyalty-point2.js +6 -6
  208. package/dist/components/salla-loyalty-points-history.js +1 -1
  209. package/dist/components/salla-loyalty-prize-item.js +1 -1
  210. package/dist/components/salla-loyalty-program.js +68 -20
  211. package/dist/components/salla-loyalty-reward.js +2 -2
  212. package/dist/components/salla-maintenance-alert.js +1 -1
  213. package/dist/components/salla-map2.js +4 -4
  214. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  215. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  216. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  217. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  218. package/dist/components/salla-multiple-bundle-product.js +1 -1
  219. package/dist/components/salla-notification-item2.js +1 -1
  220. package/dist/components/salla-offer-modal.js +65 -17
  221. package/dist/components/salla-order-details.js +1 -1
  222. package/dist/components/salla-order-edit-product-card.js +1 -1
  223. package/dist/components/salla-order-options-modal.d.ts +11 -0
  224. package/dist/components/salla-order-options-modal.js +9 -0
  225. package/dist/components/salla-order-options-modal2.js +303 -0
  226. package/dist/components/salla-order-summary.js +1 -1
  227. package/dist/components/salla-payments.js +2 -2
  228. package/dist/components/salla-placeholder2.js +1 -1
  229. package/dist/components/salla-price-range2.js +2 -2
  230. package/dist/components/salla-product-availability2.js +1 -1
  231. package/dist/components/salla-product-card-embed.js +1 -1
  232. package/dist/components/salla-product-card2.js +65 -17
  233. package/dist/components/salla-product-options2.js +30 -2
  234. package/dist/components/salla-product-size-guide.js +2 -2
  235. package/dist/components/salla-products-slider2.js +62 -14
  236. package/dist/components/salla-quantity-input2.js +1 -1
  237. package/dist/components/salla-quick-buy2.js +233 -18
  238. package/dist/components/salla-review-card2.js +1 -1
  239. package/dist/components/salla-reviews-page.js +1 -1
  240. package/dist/components/salla-reviews.js +1 -1
  241. package/dist/components/salla-reward-card2.js +1 -1
  242. package/dist/components/salla-reward-details2.js +67 -19
  243. package/dist/components/salla-reward-exchange2.js +3 -3
  244. package/dist/components/salla-scopes.js +1 -1
  245. package/dist/components/salla-search.js +5 -5
  246. package/dist/components/salla-searchable-dropdown2.js +4 -4
  247. package/dist/components/salla-skeleton2.js +1 -1
  248. package/dist/components/salla-social-share2.js +1 -1
  249. package/dist/components/salla-social.js +1 -1
  250. package/dist/components/salla-tab-content2.js +1 -1
  251. package/dist/components/salla-tab-header2.js +1 -1
  252. package/dist/components/salla-tabs2.js +1 -1
  253. package/dist/components/salla-tel-input2.js +2 -2
  254. package/dist/components/salla-tooltip2.js +1 -1
  255. package/dist/components/salla-user-settings.js +1 -1
  256. package/dist/components/salla-wishlist-actions.js +1 -1
  257. package/dist/esm/{filepond-Doklzvb6.js → filepond-BOdFx-k4.js} +1 -1
  258. package/dist/esm/{filepond-plugin-file-poster-BSBF1f0z.js → filepond-plugin-file-poster-B0plGjbP.js} +1 -1
  259. package/dist/esm/{filepond-plugin-file-validate-size-CbaXmA8m.js → filepond-plugin-file-validate-size-BFnLP4vL.js} +1 -1
  260. package/dist/esm/{filepond-plugin-file-validate-type-FjPelZ0O.js → filepond-plugin-file-validate-type-CKf0Z8YX.js} +1 -1
  261. package/dist/esm/{filepond-plugin-image-edit-BmG7tc8Q.js → filepond-plugin-image-edit-lPLGnaWD.js} +1 -1
  262. package/dist/esm/{filepond-plugin-image-exif-orientation-DhRt-kLt.js → filepond-plugin-image-exif-orientation-ad7mrSt5.js} +1 -1
  263. package/dist/esm/{filepond-plugin-image-preview-DZ2XM7gt.js → filepond-plugin-image-preview-D5dtrQjv.js} +1 -1
  264. package/dist/esm/{functions-_-9PUSBv.js → functions-nnPBSJY6.js} +1 -1
  265. package/dist/esm/{index-CJ2jUKh4.js → index-BtIvUNme.js} +1 -1
  266. package/dist/esm/{index-Cly9a4nm.js → index-CjnbnAFU.js} +10 -14
  267. package/dist/esm/loader.js +3 -3
  268. package/dist/esm/salla-accordion-body_2.entry.js +4 -4
  269. package/dist/esm/salla-accordion_6.entry.js +3 -3
  270. package/dist/esm/salla-add-product-button_5.entry.js +333 -21
  271. package/dist/esm/salla-advertisement.entry.js +1 -1
  272. package/dist/esm/salla-alert_2.entry.js +4 -4
  273. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  274. package/dist/esm/salla-apps-icons.entry.js +1 -1
  275. package/dist/esm/salla-badge.entry.js +2 -2
  276. package/dist/esm/salla-booking-field_7.entry.js +18 -18
  277. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  278. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  279. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  280. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  281. package/dist/esm/salla-comment-form_8.entry.js +5 -5
  282. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  283. package/dist/esm/salla-contacts.entry.js +1 -1
  284. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  285. package/dist/esm/salla-count-down.entry.js +2 -2
  286. package/dist/esm/salla-custom-fields.entry.js +1 -1
  287. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  288. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  289. package/dist/esm/salla-filters-widget.entry.js +3 -3
  290. package/dist/esm/salla-filters.entry.js +2 -2
  291. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  292. package/dist/esm/salla-gifting.entry.js +3 -3
  293. package/dist/esm/salla-hook.entry.js +2 -2
  294. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  295. package/dist/esm/salla-installment.entry.js +1 -1
  296. package/dist/esm/salla-list-tile.entry.js +2 -2
  297. package/dist/esm/salla-localization-modal.entry.js +2 -2
  298. package/dist/esm/salla-login-modal.entry.js +1 -1
  299. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  300. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -9
  301. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  302. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  303. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  304. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  305. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  306. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  307. package/dist/esm/salla-loyalty.entry.js +1 -1
  308. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  309. package/dist/esm/{salla-map.entry.js → salla-map_2.entry.js} +70 -5
  310. package/dist/esm/salla-menu.entry.js +1 -1
  311. package/dist/esm/salla-metadata.entry.js +1 -1
  312. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  313. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  314. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  315. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  316. package/dist/esm/salla-notification-item.entry.js +2 -2
  317. package/dist/esm/salla-notifications.entry.js +1 -1
  318. package/dist/esm/salla-offer-modal.entry.js +2 -2
  319. package/dist/esm/salla-offer.entry.js +1 -1
  320. package/dist/esm/salla-order-branch.entry.js +1 -1
  321. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  322. package/dist/esm/salla-order-details-options.entry.js +1 -1
  323. package/dist/esm/salla-order-details.entry.js +2 -2
  324. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  325. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  326. package/dist/esm/salla-order-edit.entry.js +1 -1
  327. package/dist/esm/{salla-product-card_2.entry.js → salla-order-options-modal_3.entry.js} +209 -7
  328. package/dist/esm/salla-order-summary.entry.js +2 -2
  329. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  330. package/dist/esm/salla-orders.entry.js +1 -1
  331. package/dist/esm/salla-payments.entry.js +3 -3
  332. package/dist/esm/salla-placeholder.entry.js +2 -2
  333. package/dist/esm/salla-price-range.entry.js +3 -3
  334. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  335. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  336. package/dist/esm/salla-products-list.entry.js +1 -1
  337. package/dist/esm/salla-quick-order.entry.js +1 -1
  338. package/dist/esm/salla-rating-modal.entry.js +1 -1
  339. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  340. package/dist/esm/salla-scopes.entry.js +2 -2
  341. package/dist/esm/salla-search.entry.js +6 -6
  342. package/dist/esm/salla-skeleton.entry.js +2 -2
  343. package/dist/esm/salla-slider.entry.js +1 -1
  344. package/dist/esm/salla-social-share.entry.js +2 -2
  345. package/dist/esm/salla-social.entry.js +2 -2
  346. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  347. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  348. package/dist/esm/salla-tooltip.entry.js +2 -2
  349. package/dist/esm/salla-trust-badges.entry.js +1 -1
  350. package/dist/esm/salla-user-menu.entry.js +1 -1
  351. package/dist/esm/salla-user-profile.entry.js +1 -1
  352. package/dist/esm/salla-user-settings.entry.js +2 -2
  353. package/dist/esm/salla-verify.entry.js +1 -1
  354. package/dist/esm/salla-wallet.entry.js +1 -1
  355. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  356. package/dist/esm/{tracked-promise-CdJOz1H_.js → tracked-promise-DxK5ancc.js} +1 -1
  357. package/dist/esm/twilight.js +3 -3
  358. package/dist/esm/{vanilla-picker-B7uhKtBD.js → vanilla-picker-BNKvceoq.js} +1 -1
  359. package/dist/twilight/{p-d7f528c7.entry.js → p-01995780.entry.js} +1 -1
  360. package/dist/twilight/{p-79c2cc3c.entry.js → p-02822e9f.entry.js} +1 -1
  361. package/dist/twilight/p-080444bb.entry.js +4 -0
  362. package/dist/twilight/{p-4d368d57.entry.js → p-0d01c327.entry.js} +1 -1
  363. package/dist/twilight/{p-14ca32a2.entry.js → p-0dcb8111.entry.js} +1 -1
  364. package/dist/twilight/p-129c20ed.entry.js +4 -0
  365. package/dist/twilight/{p-c992256d.entry.js → p-15541ca3.entry.js} +1 -1
  366. package/dist/twilight/{p-c5f3b4e2.entry.js → p-155d4693.entry.js} +1 -1
  367. package/dist/twilight/{p-d07ee0d6.entry.js → p-1982cd13.entry.js} +1 -1
  368. package/dist/twilight/{p-96825a64.entry.js → p-1b8c59cf.entry.js} +1 -1
  369. package/dist/twilight/{p-05fdfdc9.entry.js → p-1dc58168.entry.js} +1 -1
  370. package/dist/twilight/{p-6ba653dc.entry.js → p-1f3480ba.entry.js} +1 -1
  371. package/dist/twilight/p-241b94a6.entry.js +4 -0
  372. package/dist/twilight/{p-63be9782.entry.js → p-2b75426a.entry.js} +1 -1
  373. package/dist/twilight/{p-aae74199.entry.js → p-2dc46abc.entry.js} +1 -1
  374. package/dist/twilight/{p-0e9ae0e0.entry.js → p-2eaf114e.entry.js} +1 -1
  375. package/dist/twilight/{p-ef345c2c.entry.js → p-304f3de9.entry.js} +1 -1
  376. package/dist/twilight/p-35f30553.entry.js +4 -0
  377. package/dist/twilight/{p-820ee5fe.entry.js → p-3adacc75.entry.js} +1 -1
  378. package/dist/twilight/{p-130b525c.entry.js → p-3e9f8d3c.entry.js} +1 -1
  379. package/dist/twilight/{p-5ca57591.entry.js → p-407a0c14.entry.js} +1 -1
  380. package/dist/twilight/{p-b96e442c.entry.js → p-43affbdd.entry.js} +1 -1
  381. package/dist/twilight/{p-7874b654.entry.js → p-456cfec5.entry.js} +1 -1
  382. package/dist/twilight/{p-4ba3ebb1.entry.js → p-46c8b2d4.entry.js} +1 -1
  383. package/dist/twilight/{p-55b21f9b.entry.js → p-474b22b8.entry.js} +1 -1
  384. package/dist/twilight/{p-821fd8c1.entry.js → p-49c42118.entry.js} +1 -1
  385. package/dist/twilight/p-5089b72f.entry.js +4 -0
  386. package/dist/twilight/{p-7ee71548.entry.js → p-5229c8aa.entry.js} +1 -1
  387. package/dist/twilight/{p-5b8adb19.entry.js → p-550a91fe.entry.js} +1 -1
  388. package/dist/twilight/{p-2d235234.entry.js → p-594694e9.entry.js} +1 -1
  389. package/dist/twilight/{p-f9c1c247.entry.js → p-5a18c6cc.entry.js} +1 -1
  390. package/dist/twilight/{p-7343e9d9.entry.js → p-5aa08192.entry.js} +1 -1
  391. package/dist/twilight/p-5bda616b.entry.js +4 -0
  392. package/dist/twilight/p-5d9b57c8.entry.js +4 -0
  393. package/dist/twilight/{p-68fa9305.entry.js → p-6030f1fd.entry.js} +1 -1
  394. package/dist/twilight/{p-25f7fbc1.entry.js → p-62010e29.entry.js} +1 -1
  395. package/dist/twilight/{p-5c0d795c.entry.js → p-63f1acc7.entry.js} +1 -1
  396. package/dist/twilight/p-6790943b.entry.js +4 -0
  397. package/dist/twilight/{p-b0f0d7bc.entry.js → p-67d41cbb.entry.js} +1 -1
  398. package/dist/twilight/{p-00f3a2ec.entry.js → p-6c39606a.entry.js} +1 -1
  399. package/dist/twilight/{p-e12da840.entry.js → p-6d6184c0.entry.js} +1 -1
  400. package/dist/twilight/{p-c5613717.entry.js → p-6eab2444.entry.js} +1 -1
  401. package/dist/twilight/{p-86469c65.entry.js → p-72a1b702.entry.js} +1 -1
  402. package/dist/twilight/{p-1938ad27.entry.js → p-7442c41a.entry.js} +1 -1
  403. package/dist/twilight/{p-20afc879.entry.js → p-7f4d4e3c.entry.js} +1 -1
  404. package/dist/twilight/{p-c9b37b12.entry.js → p-7fdeec2b.entry.js} +1 -1
  405. package/dist/twilight/{p-6efce4b0.entry.js → p-83cb6915.entry.js} +1 -1
  406. package/dist/twilight/{p-05266229.entry.js → p-88bed460.entry.js} +1 -1
  407. package/dist/twilight/{p-fa0ebde1.entry.js → p-8d1c4f93.entry.js} +1 -1
  408. package/dist/twilight/{p-a74197ee.entry.js → p-8d427c53.entry.js} +1 -1
  409. package/dist/twilight/p-929e5aed.entry.js +4 -0
  410. package/dist/twilight/p-956d6683.entry.js +4 -0
  411. package/dist/twilight/{p-CkxoydBy.js → p-BKKN_hn3.js} +1 -1
  412. package/dist/twilight/{p-D3bGV5Yn.js → p-BT5S72c8.js} +1 -1
  413. package/dist/twilight/{p-bo_zr0My.js → p-ByL3FHQ6.js} +1 -1
  414. package/dist/twilight/{p-CWrfZ9Qs.js → p-CBwG3dWv.js} +1 -1
  415. package/dist/twilight/{p-Cly9a4nm.js → p-CjnbnAFU.js} +1 -1
  416. package/dist/twilight/{p-C-NwbNqh.js → p-ClNJhnhN.js} +1 -1
  417. package/dist/twilight/p-Cq2cbPYZ.js +4 -0
  418. package/dist/twilight/p-Czf4a8gg.js +9 -0
  419. package/dist/twilight/{p-DGWMOt94.js → p-D6Z2cDb0.js} +1 -1
  420. package/dist/twilight/{p-b9tXSwoW.js → p-DBxZFsVz.js} +1 -1
  421. package/dist/twilight/{p-BpiX36Sb.js → p-DXVmi29t.js} +1 -1
  422. package/dist/twilight/{p-DhE0-1Aj.js → p-DY6O-SiT.js} +1 -1
  423. package/dist/twilight/{p-72bc753c.entry.js → p-a1e520d5.entry.js} +1 -1
  424. package/dist/twilight/{p-06a0b408.entry.js → p-a26fe1e5.entry.js} +1 -1
  425. package/dist/twilight/{p-44abf289.entry.js → p-a30cfade.entry.js} +1 -1
  426. package/dist/twilight/{p-08d2e056.entry.js → p-a9090afd.entry.js} +1 -1
  427. package/dist/twilight/{p-48e85ee2.entry.js → p-ae2c963f.entry.js} +1 -1
  428. package/dist/twilight/p-b18a446a.entry.js +4 -0
  429. package/dist/twilight/{p-8d26f80c.entry.js → p-b1c97472.entry.js} +1 -1
  430. package/dist/twilight/{p-f2d0b9d1.entry.js → p-bc6c4c1c.entry.js} +1 -1
  431. package/dist/twilight/{p-288572d0.entry.js → p-be10a9c3.entry.js} +1 -1
  432. package/dist/twilight/p-c26cf3fa.entry.js +4 -0
  433. package/dist/twilight/{p-cdb0e80a.entry.js → p-c4655810.entry.js} +1 -1
  434. package/dist/twilight/{p-92961807.entry.js → p-c5211eca.entry.js} +1 -1
  435. package/dist/twilight/{p-0b6d87a5.entry.js → p-cbd793c8.entry.js} +1 -1
  436. package/dist/twilight/{p-39ff606c.entry.js → p-cfb9665f.entry.js} +2 -2
  437. package/dist/twilight/{p-99b127fa.entry.js → p-d46fb24a.entry.js} +1 -1
  438. package/dist/twilight/{p-b8b3c0fc.entry.js → p-d6cb423a.entry.js} +1 -1
  439. package/dist/twilight/{p-84207e00.entry.js → p-d7a2e982.entry.js} +1 -1
  440. package/dist/twilight/{p-8aca6bc0.entry.js → p-d9868f07.entry.js} +1 -1
  441. package/dist/twilight/{p-eb767e28.entry.js → p-dbe3a5bb.entry.js} +1 -1
  442. package/dist/twilight/{p-b555a4aa.entry.js → p-e041fe56.entry.js} +1 -1
  443. package/dist/twilight/{p-af970c82.entry.js → p-e058b62c.entry.js} +1 -1
  444. package/dist/twilight/{p-195589ec.entry.js → p-e07c9a85.entry.js} +1 -1
  445. package/dist/twilight/{p-47080690.entry.js → p-e1275bf7.entry.js} +1 -1
  446. package/dist/twilight/{p-db2d9d1c.entry.js → p-e5d5a6b3.entry.js} +1 -1
  447. package/dist/twilight/p-e5e6ea75.entry.js +4 -0
  448. package/dist/twilight/{p-6838ec3a.entry.js → p-e7a255a3.entry.js} +1 -1
  449. package/dist/twilight/{p-f6435c3c.entry.js → p-ebebcd55.entry.js} +1 -1
  450. package/dist/twilight/{p-005ac762.entry.js → p-f0d7247d.entry.js} +1 -1
  451. package/dist/twilight/{p-dab62284.entry.js → p-f222bf9f.entry.js} +1 -1
  452. package/dist/twilight/{p-5fe6ac53.entry.js → p-f2594407.entry.js} +1 -1
  453. package/dist/twilight/{p-16c9b4bd.entry.js → p-f4235325.entry.js} +1 -1
  454. package/dist/twilight/p-fafdeea7.entry.js +4 -0
  455. package/dist/twilight/{p-8c404dbf.entry.js → p-fb7de7c4.entry.js} +1 -1
  456. package/dist/twilight/{p-03d28343.entry.js → p-fc1e3854.entry.js} +1 -1
  457. package/dist/twilight/{p-a47dccd1.entry.js → p-fc72b631.entry.js} +1 -1
  458. package/dist/twilight/{p-b07f1925.entry.js → p-fce2579c.entry.js} +1 -1
  459. package/dist/twilight/twilight.esm.js +1 -1
  460. package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +2 -0
  461. package/dist/types/components/salla-order-options-modal/apple-pay-order-options.d.ts +26 -0
  462. package/dist/types/components/salla-order-options-modal/order-options-gate.d.ts +23 -0
  463. package/dist/types/components/salla-order-options-modal/salla-order-options-modal.d.ts +66 -0
  464. package/dist/types/components/salla-product-options/salla-product-options.d.ts +12 -0
  465. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +14 -0
  466. package/dist/types/components.d.ts +62 -0
  467. package/package.json +5 -5
  468. package/dist/cjs/salla-progress-bar.cjs.entry.js +0 -73
  469. package/dist/esm/salla-progress-bar.entry.js +0 -71
  470. package/dist/twilight/p-39426e43.entry.js +0 -4
  471. package/dist/twilight/p-40e2fc5f.entry.js +0 -4
  472. package/dist/twilight/p-46b4c12f.entry.js +0 -4
  473. package/dist/twilight/p-5971669a.entry.js +0 -4
  474. package/dist/twilight/p-654af42c.entry.js +0 -4
  475. package/dist/twilight/p-7e4e3e76.entry.js +0 -4
  476. package/dist/twilight/p-7efa0246.entry.js +0 -4
  477. package/dist/twilight/p-8e121e7c.entry.js +0 -4
  478. package/dist/twilight/p-98f0f411.entry.js +0 -4
  479. package/dist/twilight/p-9b7ad2bd.entry.js +0 -4
  480. package/dist/twilight/p-9ddfdc65.entry.js +0 -4
  481. package/dist/twilight/p-BUcuXVwN.js +0 -9
  482. package/dist/twilight/p-CXgdON62.js +0 -4
  483. package/dist/twilight/p-a900af64.entry.js +0 -4
  484. package/dist/twilight/p-c184157a.entry.js +0 -4
  485. package/dist/twilight/p-f5969e58.entry.js +0 -4
  486. package/dist/twilight/p-fbf4cb19.entry.js +0 -4
@@ -163,12 +163,12 @@ export class SallaFiltersWidget {
163
163
  return h("span", { class: "s-filters-option-name" }, label);
164
164
  }
165
165
  render() {
166
- return (h(Host, { key: 'a3377234cae7a9565f403d859e60ee71cb9b9e00', class: "s-filters-widget-container" }, h("h3", { key: 'd797565b06c795a6b19d5fa6c93da583e291cc01', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '35e933096973744c332cfb3a0346b57f7dd28a76' }, this.option.label), h("span", { key: '2c27dacf5242da14f2cddca9f99af09bb9cb3bea', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '6f85c5af558a2b47e9779225d2fb9b99d2dd78e5', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'd6c9fe9baf08d095346d52e5e6836ca7a26dae7f', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '44ac9fc9e7488165acccbac8a7bd95a3f863dab8', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'a8350384975504985098f0b9f1ae6c086537886b', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '20acece0e29070b6f1359ab1d3f16e928d461742' }), this.option.type !== FilterOptionTypes.RANGE
166
+ return (h(Host, { key: '2cdd3bbc88b473e9b5d52bf5e95de16f9ad47a51', class: "s-filters-widget-container" }, h("h3", { key: '4d3d522469681c5d7cde040938b0ce15324d7cc3', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '60fa18c667a1b00f03e8eebc484da68e78fa8d90' }, this.option.label), h("span", { key: 'ac8cff411fbb76c43e0134b0c7381b682a8afcd0', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '5705ab244d712512e156994bbf21d9bb49dbb43b', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'a59f45a5fbd803dcd65f0a5b40060a1dcfed00e0', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '3275790105bfe9b84df564b9385c4a9556c2f03a', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: '70d57184a8089422d96ea62ddaa7697f7f207441', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '959512d2256b5a29236572fc8078c5baa5d9a571' }), this.option.type !== FilterOptionTypes.RANGE
167
167
  ? this.renderFilterOption(this.option)
168
168
  : h("salla-price-range", { onChanged: (event) => {
169
169
  this.changed.emit(event.detail);
170
170
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
171
- h("a", { key: 'a628397d54fc254fe36458c4bbdca0dad0a0e6ad', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
171
+ h("a", { key: '305b4a155c2b3705bcf139c81b5f8bcb3d744d05', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
172
172
  }
173
173
  static get is() { return "salla-filters-widget"; }
174
174
  static get originalStyleUrls() {
@@ -730,7 +730,7 @@ export class SallaGifting {
730
730
  }
731
731
  render() {
732
732
  return [
733
- h("div", { key: 'b26068c5c6b0c40814e1cb67208afa352b1d913c' }, h("salla-list-tile", { key: '22189813371c56f1b66334d826c342d30dade34f', class: this.generateClass() }, h("div", { key: '5f9c597b87ab39d591144c4943feba0c775d645b', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: '4341ea66f7d9a547d919be173476908c5d0f018a' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'f2eb13ddcd7810da368ea35e161addbef1af5ce4', slot: "subtitle" }, h("div", { key: '1b69dfbce6b7b7d94bbee4e325d8f65c2b34dcce' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '6a8f526bcbb0a659e028155ce08aec2538e4fff2', slot: "action" }, h("salla-button", { key: '5cf31da452a173a487c4ea9dbd1356fd10d3b800', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '4aef407fd0a79b0172f0803a7134bd366ac6b034', name: "widget-btn-content" }, h("div", { key: '333273064da0b5071a7a7433ec7626ef00bd9e1e', class: "s-gifting-widget-action-content" }, h("span", { key: '913d82d641ed54218f20a76acefca855d1324427', innerHTML: GiftSharing }), " \u00A0", h("span", { key: 'acc39208f212714bef2c56bd9b5e5c482e3a7122' }, this.sectionBtnText)))))), h("salla-modal", { key: '9bceb2e1a4bb4c9880b220d679a0e295ba1ae732', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '0ea0746b7c11c98c8a6d9535771afb3a4681c1c1', slot: "loading" }, h("div", { key: '5dcfb9acd127f3cf786b626a1be7e9f27ff7ac31', class: "s-gifting-skeleton" }, h("div", { key: 'd5205c53714ca60277a82abce7fb12f0a01dd38d', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'fde7ede398b9edb638ade25677915747855584f2', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '61bb2c36958080e37f83b9bc27ce05db5abb3230', class: "s-gifting-modal-title" }, h("div", { key: '10125cb25732100787b118f34a4e323aa215185c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '2ee525ae05fb6540bc0fdcaa846b14e4a476a297', height: '15px', width: '150px' })))), h("div", { key: '8e4544f3bd4a81c961259de27ebf255a998a5e4f', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '237f0961f0748aeef3c5b77819234b3215f794e2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '19510cb426335b9733ef4a34dc7b8e5bffe0c23c', height: '230px' }), h("salla-skeleton", { key: '78defffee0c94e9323ede7e12660ae234d84d019', height: '10px', width: '150px' }), h("salla-skeleton", { key: '21b800dff2bec3c1caea94115a37153e406eef11', height: '30px' }), h("salla-skeleton", { key: 'd8a08143339c184d05758d1497e22ad23cdac4f6', height: '40px' })))), h("slot", { key: '9ef7679d02250428236347b5bb4a080b04244a53', name: "header" }), !!this.hasError ?
733
+ h("div", { key: 'a2798e968c7311c99560db0710559f8f518031fa' }, h("salla-list-tile", { key: '5621984db45065e919fc647bf973b5fdb42e7c3f', class: this.generateClass() }, h("div", { key: '3fea9220af764f5675b17005169ec5398fb0a1d3', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: '6984f88fa5675edfddbc67d87fa69ee26ee40b98' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '64cb13fac30d6613af2c278593e45d59f2f8e791', slot: "subtitle" }, h("div", { key: '578f47b7cc8242bbf6872cc670c37beeb7197c0e' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '54e56e74fcc1e3266395ad003369e47ea0b0c27b', slot: "action" }, h("salla-button", { key: '7687a680041c1e5b431eb56d94262fb2defe0664', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9e466071aa0bf882962931f029e32d567390d9f2', name: "widget-btn-content" }, h("div", { key: 'f5b8a796dc3b7bb4e1094a7741944673e1ec6477', class: "s-gifting-widget-action-content" }, h("span", { key: '037ea375a6904bf51d15c8d76f8b650031526a59', innerHTML: GiftSharing }), " \u00A0", h("span", { key: '490dceeaf5a7e0ec38dabd49182f74d4ea07d597' }, this.sectionBtnText)))))), h("salla-modal", { key: '2914d9a5a0ae7fe555a73f993553165e4fb91b02', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '6d70fa91062f55adb3d0a6371ccb8afc271e949e', slot: "loading" }, h("div", { key: '82a690b756eb1179c325416a33f66b9d726eb336', class: "s-gifting-skeleton" }, h("div", { key: '8cedf269ee0caf39cbd9f39ab80e7dd3d65b7fde', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '7cb2bfb3198c3096efa147348b2a6cdec21eb3d3', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '36cb724cfe2f39a7eb94b779a67520a3bff75389', class: "s-gifting-modal-title" }, h("div", { key: '2ef3bcb26f31cdc34725e9a87849a426bd9dfc72', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '66f4148f367bc687982a06975e41c6865a530e88', height: '15px', width: '150px' })))), h("div", { key: 'fda2fdc549cc6dfcb5f4cc9bfafe5dc686464e4c', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'f0f64ab8b9d467c2cbe4707154a21bb952f45831', height: '10px', width: '150px' }), h("salla-skeleton", { key: '1b1950d9d333b4249aab267fdbb90ac380ac6175', height: '230px' }), h("salla-skeleton", { key: '3b3a2472851e63754804ceb68401bb56a9900061', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'd3f9ace5c8b12061ac94d929d926e8458fb66411', height: '30px' }), h("salla-skeleton", { key: 'd0be03fc578e2559c0a5251875bac01519beb18f', height: '40px' })))), h("slot", { key: '86757c4d648dd818857aaee41c6df568724cbd1b', name: "header" }), !!this.hasError ?
734
734
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
735
735
  :
736
736
  [
@@ -753,7 +753,7 @@ export class SallaGifting {
753
753
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
754
754
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
755
755
  h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: LeftArrow, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
756
- ], h("slot", { key: 'e40029ee1e6fa463711fd088ba05c0edda5dd683', name: "footer" })))
756
+ ], h("slot", { key: '052bb080776d8d874da570b643345b95a40cd985', name: "footer" })))
757
757
  ];
758
758
  }
759
759
  static get is() { return "salla-gifting"; }
@@ -11,7 +11,7 @@ export class SallaHook {
11
11
  this.host.before(element);
12
12
  }
13
13
  render() {
14
- return h(Host, { key: '499483c55f2e1122d80768cd43e47f8e127a62b4' });
14
+ return h(Host, { key: '7438711b185e3159e7a4792ef86f795c25d857a1' });
15
15
  }
16
16
  async componentDidLoad() {
17
17
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger
@@ -26,7 +26,7 @@ export class SallaListTile {
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'bb33776d01406ff1e04bbdc741312f1a17ac3b7b' }, h("a", { key: '386b417c954bf4b2bac34e40d9bae19db7f61ec3', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'cbcd8c6f92a4cbe7afbd8797c36ae6f529abed1c', class: "s-list-tile-item-icon" }, h("slot", { key: 'bff76fdb467b2491f0c3b40bd7f475eda23fa9c8', name: 'icon' })), h("div", { key: 'c80e7c032abedea8d5929d8bb36a642336724fe1', class: "s-list-tile-item-content" }, h("div", { key: '2bea0273bb4c012e0f9f7ee948b14bc9ea8afc2a', class: "s-list-tile-item-title" }, h("slot", { key: '60c872b9ec9b369ba65452abad7860b3ba6ba640', name: 'title' })), h("div", { key: 'fbb1b6e49284c74f2933f056aa16fcbc25526703', class: "s-list-tile-item-subtitle" }, h("slot", { key: '5ad1bba1b71db13d4deb594ccb0f5898f24d2f23', name: "subtitle" }))), h("div", { key: '96358bf7ed34907a799efd8c6fb2caae6ca02f43', class: "s-list-tile-item-action" }, h("slot", { key: '8d496724103f0c3959845c8f5d4e662a3095c09e', name: 'action' })))));
29
+ return (h(Host, { key: '2b73681383da172ed01bb199b117d2063228e01e' }, h("a", { key: 'af5913df51093694667751d16b5ec686103791a4', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: '49fdb468a67f0a015762a1539d2333ad694628ec', class: "s-list-tile-item-icon" }, h("slot", { key: '97417d4c9bf63e498510549d08dbf5df55050526', name: 'icon' })), h("div", { key: '53544687a14f2c992ad17d0194a10fba0ad40631', class: "s-list-tile-item-content" }, h("div", { key: 'a8803d707ccd88df74d425a004e5c180d0106c50', class: "s-list-tile-item-title" }, h("slot", { key: '27b091e8cf03dc9253baf135bdc6a8166eac566c', name: 'title' })), h("div", { key: 'c2ab48314fe243e6cea9dd7e8f0be4104a0b89e3', class: "s-list-tile-item-subtitle" }, h("slot", { key: '31c7e05be4026e990704926f6b29c8b1e570a548', name: "subtitle" }))), h("div", { key: '4fb89eaad3693b3b49e6d4ac72f09dca7c52eeeb', class: "s-list-tile-item-action" }, h("slot", { key: '7e587373e0282a22387028aaa6a801b9909f707a', name: 'action' })))));
30
30
  }
31
31
  static get is() { return "salla-list-tile"; }
32
32
  static get originalStyleUrls() {
@@ -22,7 +22,7 @@ export class SallaLoading {
22
22
  this.bgColor = "#e5e7eb";
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '43f0680ce1f04ebda7083a4e15e69db9f19eea8f', class: "s-loading-container" }, h("svg", { key: '1b10899828e6b40f9a4535a6c5748382d2235382', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2866a19de0250199769271535cfa84531241507a', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: '8dd072bcfbca9299d4a9479fc00666bf174b48aa', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
25
+ return (h(Host, { key: 'a3ab1e66f7b26628e7bfb1f5560127d042203cf3', class: "s-loading-container" }, h("svg", { key: 'e33089cee347160eaea4ded8ab8a5543a91f5ea1', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '8163f98231203552ea3f514ac3b8cd16a8d9426c', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: '959ea259b039d16be8b9dc39a2fb2e409bfffe0e', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
26
26
  }
27
27
  static get is() { return "salla-loading"; }
28
28
  static get originalStyleUrls() {
@@ -227,7 +227,7 @@ export class SallaLocalizationModal {
227
227
  this.showTrigger
228
228
  ? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
229
229
  : '',
230
- h("salla-modal", { key: '6a3f736912181c5305a6c3007a5c3a739dc29b17', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '1fa6da25fef6d53258fdf14be51f23681321f5f2', slot: 'loading' }, h("div", { key: '64aa0b53fe359df364c915b80b5bc26de5e57300', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '41ba7271f064fa3880a75467868da9742b236c5c', width: '25%', height: '15px' }), h("div", { key: 'fa336b997a868f2f08ae3b89933d2dc99a33ce74', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'f2a3c995ee6aa642435b9aa054bb0dd857674b61', width: '25%', height: '15px' }), h("div", { key: '4cdc8d8f3f639a161e4c8663e7bcd3425aeb3e00', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '717051872db0bafe45c8fecb5559dca19954e1f2', height: '40px', width: '100%' }))), !!this.hasError ?
230
+ h("salla-modal", { key: '9cc6354dc42690d75512a18139daa77167c047c0', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '2bf24b9cbbaae5daf0c7a6da4baec771bffe4186', slot: 'loading' }, h("div", { key: '90094d2166bc12b0a8d072ffa580606f60608f24', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: 'a32348c17c0583d27892ec6b31996d747cbdd39d', width: '25%', height: '15px' }), h("div", { key: 'eff3210bd11fb378c240df1764870a0633e9f1a2', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'baa493a36855ef28c487c2301484cd2f96382904', width: '25%', height: '15px' }), h("div", { key: '95f6ddfcd029fb2fd2be0d31b83aaaaa2b7c6c00', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '769599216ff51babd8d6a6665a55f58dd47bf479', height: '40px', width: '100%' }))), !!this.hasError ?
231
231
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
232
232
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
233
233
  h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -7,7 +7,7 @@ export class SallaLoyaltyPrizeItem {
7
7
  this.prizeItemSelected.emit(this.item);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '601dbcf73e68678eecc912c14c2b1be612a78551' }, h("div", { key: '074f8b4cb736bfabd5885d9df77bf74e7c4829a1', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '4bec672992f7e998bde639295831a5c9ad5f5088', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: 'c8f858a7f406fe8e9123c57df627a4b6a2cbd719', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '81b954aa730e07c7f32ee538692581dede3543db', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: 'b7baeada2da364fec6ee7bd606b595b1f652d8a8', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
10
+ return (h(Host, { key: '9b3837b35a38a39bde86ada09bbe7d1a43f669f4' }, h("div", { key: 'd3c4e77c5dea2060b2dc0f88dba36d08a3234779', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '1219be8bbc9212da5b0392a6ac35c0c502cb1564', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: '61ac2fcbcd5ae3038b3a09ee81555f31ebd4c073', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: 'aa504c58b738528d1545cccd2ca1c2a3f4af0f32', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: '01763afbcbfd305186adabd75bd2798306a446f6', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
11
11
  }
12
12
  static get is() { return "salla-loyalty-prize-item"; }
13
13
  static get originalStyleUrls() {
@@ -79,7 +79,7 @@ export class SallaLoyaltyPointsHistory {
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(Host, { key: '722394ad8e614d7db2460762992ea12bbf4d1f07' }, h("div", { key: '2230046263f24dbe9f13329134121e6b1079d713' }, this.isLoadingLoyalty ? (h("salla-loading", null)) : (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("tbody", null, h("tr", null, h("td", null, h("div", { class: "s-loyalty-points-history-balance-container" }, h("i", { class: "s-loyalty-points-history-balance-icon sicon-gift" }), h("div", null, h("div", { class: "s-loyalty-points-history-balance-value" }, this.balance, " ", salla.lang.get('pages.loyalty_program.point')), h("div", { class: "s-loyalty-points-history-balance-label" }, salla.lang.get('pages.loyalty_program.your_points')))))))), this.loyaltyPointsArray.length > 0 ? (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("thead", { class: "s-loyalty-points-history-table-head" }, h("tr", null, h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.note')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.status')))), h("tbody", null, this.loyaltyPointsArray.map(point => (h("tr", { class: "s-loyalty-points-history-table-tbody-tr" }, h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.points'), ":"), h("span", null, point?.type === 'plus' ? '+' : '', point?.amount || '', " ", salla.lang.get('pages.loyalty_program.point')))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.date'), ":"), h("span", null, formatDate(point?.created_at ? Number(point.created_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.expiry_date'), ":"), h("span", null, formatDate(point?.expires_at ? Number(point.expires_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.note'), ":"), h("span", null, translateKey(point?.key)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.status'), ":"), h("div", { class: {
82
+ return (h(Host, { key: '598233120adaed6885eff5d25c2e3142ed25b4f1' }, h("div", { key: 'eefd51a5c81eb491252eff180c57f6cb172425f5' }, this.isLoadingLoyalty ? (h("salla-loading", null)) : (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("tbody", null, h("tr", null, h("td", null, h("div", { class: "s-loyalty-points-history-balance-container" }, h("i", { class: "s-loyalty-points-history-balance-icon sicon-gift" }), h("div", null, h("div", { class: "s-loyalty-points-history-balance-value" }, this.balance, " ", salla.lang.get('pages.loyalty_program.point')), h("div", { class: "s-loyalty-points-history-balance-label" }, salla.lang.get('pages.loyalty_program.your_points')))))))), this.loyaltyPointsArray.length > 0 ? (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("thead", { class: "s-loyalty-points-history-table-head" }, h("tr", null, h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.note')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.status')))), h("tbody", null, this.loyaltyPointsArray.map(point => (h("tr", { class: "s-loyalty-points-history-table-tbody-tr" }, h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.points'), ":"), h("span", null, point?.type === 'plus' ? '+' : '', point?.amount || '', " ", salla.lang.get('pages.loyalty_program.point')))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.date'), ":"), h("span", null, formatDate(point?.created_at ? Number(point.created_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.expiry_date'), ":"), h("span", null, formatDate(point?.expires_at ? Number(point.expires_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.note'), ":"), h("span", null, translateKey(point?.key)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.status'), ":"), h("div", { class: {
83
83
  's-loyalty-points-history-table-transaction-status': true,
84
84
  's-loyalty-points-history-table-transaction-status-pending': point?.status_key === 'pending',
85
85
  's-loyalty-points-history-table-transaction-status-revoked': point?.status_key === 'revoked',
@@ -4,13 +4,13 @@
4
4
  import { Host, h } from "@stencil/core";
5
5
  export class SallaLoyaltyHero {
6
6
  render() {
7
- return (h(Host, { key: '5c5193846a54877e042ef6470014aa6d041f5d40' }, h("section", { key: '6072a4836f28c2de74eeb2208f1e2e66f274875e', class: "s-loyalty-program-hero-container" }, h("div", { key: 'e5475eebd8725e3fc0650a4a3fd9ace4c0b785af', class: "s-loyalty-program-hero-background", style: {
7
+ return (h(Host, { key: 'c0060bac9958abfd0fe8e60a9b24c48d3a44f808' }, h("section", { key: '23529c848e4b44e10aef943457926d7fb4053e42', class: "s-loyalty-program-hero-container" }, h("div", { key: 'd2a7042e02f8a6a7a40f34f445fac4bed07c26e7', class: "s-loyalty-program-hero-background", style: {
8
8
  backgroundImage: `url(${this.image})`,
9
- } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: '485aa5a50b7cfc463cafa704c08bc01d7a2a56df', class: {
9
+ } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: 'd8b5459d499161ee6c79e5c67dc7c50f4be241ff', class: {
10
10
  's-loyalty-program-hero-content': true,
11
11
  's-loyalty-program-hero-white': !!this.image,
12
12
  's-loyalty-program-hero-gray': !this.image,
13
- } }, h("div", { key: '5a20942fbdcf655adf647d5fda20d98c95e7b5f0' }, h("h1", { key: 'cd588ad7f5d83aaf91b584ca27e1e4765401eb22', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: '2bc4d0be971eb4772ad0c312a0036715939ee443', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: 'a57f729e535582f45543d95d1c305b5a89c18118', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: '9eae1d22eb64f00e25a355485979435bce464a4a', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: 'c8f7c4aca6095bd75d0122e5ce3694af3561a01e', name: "action" }))), h("div", { key: 'f08a2d8a93bdfc9ca93effd4b4e693670c057689', class: "s-loyalty-program-hero-footer" }, h("div", { key: '171cc3d9a92aee7380aa974a300f91e81ae3319d', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: '518e48e2dede80b0acd427d1d1ca0aaf2c1ffef0', name: "crosspoint" }))))));
13
+ } }, h("div", { key: '26ef4c09f27d93b96c0e12f7998484fa73837b6c' }, h("h1", { key: '2930af83fa736285c220fca7c241e08f7f67267a', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: 'c6a170b91e43f8321a350c95c85c4f0bf24e0d2d', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: '2558c1947c3cb1e78ddd396b596d72a9e62f408d', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: '363b97050db887cd8c05db1feec3fb834d7f48bb', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: '27ca29dfcd2cd5d176f22a7cf43ef26343ccf2e8', name: "action" }))), h("div", { key: 'a39534b8f093ff4e2373367a1e10bf2d9a986f37', class: "s-loyalty-program-hero-footer" }, h("div", { key: '10ccbf09e4e643255df236cc0d2ad55894a420ea', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: '33973737797d6f5303f0e1435768816eea7450c5', name: "crosspoint" }))))));
14
14
  }
15
15
  static get is() { return "salla-loyalty-hero"; }
16
16
  static get originalStyleUrls() {
@@ -171,7 +171,7 @@ export class SallaLoyaltyPoint {
171
171
  }
172
172
  }
173
173
  render() {
174
- return (h("div", { key: '18188b96c76014a8ca63490301473570179c6e78' }, h("div", { key: '0549c74cd95a162a59a471cdc59be0f1ced0ce0f', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'cb3cbbd5b73644e1e69bd427e8603021e3177b1c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '9915e810011d48c389f2ff7e49059c386a71fb9f', class: this.point.icon })), h("div", { key: 'ee19572884f1d26780cde2532f65dedaea881240', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '781ec4ca3f923a0784242d3933131616f2b24d44', size: "xs", bg: "transparent" }, h("span", { key: '5e38c2cb5b84f3c5dcddf1ab52ece36f91aaf89c', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: 'a78d50feb0e87e3df46616b80296566dd41f04bf', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: 'e984c578ad5ec7a6837d051d7d79635e1867b2d8', size: "sm", bg: "transparent" }, h("span", { key: 'b10cba531be0562633c446fe9f545553606e36af', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'c10978d7fdf85a7c99442d8ab3583048380d2108', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
174
+ return (h("div", { key: 'ddfb0e0ffb4c23f7cab43dd994e25ba7c599a931' }, h("div", { key: 'a2fe514f59b0e01fc6e22011b6734d7ba97e951e', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: '486b61a56b739a881de4ff0581a19ef91fbfc2e8', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '15f77554d8af1f65a66bf788cae341fe9f8f0fa3', class: this.point.icon })), h("div", { key: '2921be35f4d122e1a4580ed625832e4f33d69276', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: 'c809f65f9c93553e595fc995b76070a6a065e9d8', size: "xs", bg: "transparent" }, h("span", { key: 'd76ddeb873ac19f91b3cfe8af5837feb096cd7ca', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '18674b523984b6ca91afcee873e219571f867fcf', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '7ebbee57d2858f1ba372fd4b0b42771e394e330f', size: "sm", bg: "transparent" }, h("span", { key: '41a93def0e2e54b4e6e036222e212703fe9ef88f', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'acfa0ed98f398b591cb22e828ca677d37007e4e6', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
175
175
  h("a", { class: {
176
176
  's-loyalty-program-points-action': true,
177
177
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -181,12 +181,12 @@ export class SallaLoyaltyPoint {
181
181
  's-loyalty-program-points-action': true,
182
182
  's-loyalty-program-points-action-completed': this.point.is_completed,
183
183
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
184
- } }, this.point.description)), h("salla-modal", { key: 'e44d1d39a1a7aa2f5560ed920a1e7b071f89e44c', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: '29079334d694c522883e101be8cbf3cac7cf53cb', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '31d76362feb5d8faf3f0ef7f0bc253aa5d53bf06', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '526cfb6c9181e17c2953678da7018ba627d410fe', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '09aff5a2d91555902ed6adcb9875b43915a2c26a', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'a3878cda3a169d8780232b1b94f52add991038f6', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '54ba6129910cad8719872ac3f6fa2849ff3fe085', class: this.point.icon })), h("salla-badge", { key: '32f3fb88719c3c6ed8523235a0c05ec7cdf52936', size: "sm", bg: "light" }, h("span", { key: '8b9eb28e0175f411dd96cf99e7bbfd82d6364178', innerHTML: SIGift }), h("span", { key: '93e030f87e44efd45f46d5e246fc9b636b84150f', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
185
- h("div", { key: '8536792c55eee3afaf0f22706691109dd14b08d1', class: "s-loyalty-program-points-modal-details" }, h("div", { key: '9121cc3b2e099189ee780a37c07cfdd4a83471d5', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '254a0641aac4eafd9386757445808567c1fd5707', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
184
+ } }, this.point.description)), h("salla-modal", { key: '7c9f4dce935ba3e1f841aab57de04013e2fb983f', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: '5e1dbd60526ae8450ce6453c04ea244ef1a96697', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'b43153fe19ffa308d5bd4126c9bd0fd43f1379ea', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '5d8f1cad86fd916f984f5baa07ff7fb18afeda68', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '69c4e3f2d513ec6c52caaa31ab3e7c886c0827a0', class: "s-loyalty-program-points-modal-main" }, h("div", { key: '539a7713a22f64e9e4157dcd288ceca49910a449', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '5249f670969022167be8b11bff3ec8c75b4f0a5b', class: this.point.icon })), h("salla-badge", { key: 'e19decc72866ca36e3cc52c9822fc4677816bbda', size: "sm", bg: "light" }, h("span", { key: 'f2ed0ef699b63ce091c2b7dc5d30341bb0dcf713', innerHTML: SIGift }), h("span", { key: '54275a2ec227c9415e77f88051bbf4e36d10489e', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
185
+ h("div", { key: '7b8d4168a96586efa2855f169536a0577750cabe', class: "s-loyalty-program-points-modal-details" }, h("div", { key: '102274da4418a7119e65c6a5c44630315e348c98', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '9a87e3fcb31ab6a0b984fe3fd43b9b57678b4600', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
186
186
  const stepsArray = Object.values(this.point.steps);
187
187
  const isLastItem = idx === stepsArray.length - 1;
188
188
  return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), h("p", { class: "s-loyalty-program-points-chain-description" }, step.title || step.name))));
189
- })))), this.getDetails(this.point), h("div", { key: '5a7b03a390c7fe14741e8ba2a720335496af2ffb', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '627db1137113e711730ba1187d43224b24b66381', class: "s-loyalty-program-points-modal-action" }, h("a", { key: 'acb48d39007c6c42d2a248dbdd62c6e1afb0c994', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
189
+ })))), this.getDetails(this.point), h("div", { key: '7c96d9b4014f2b531cf85f0f4dd9c797f6b4e352', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '79a6d37b6af82a40b5b88f1a7e03034c3ac9fe90', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '6498d88e64af28621281b8c12b28c1a22473001d', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
190
190
  's-loyalty-program-points-action': true,
191
191
  's-loyalty-program-points-action-completed': this.point.is_completed,
192
192
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -31,10 +31,10 @@ export class SallaLoyaltyReward {
31
31
  };
32
32
  }
33
33
  render() {
34
- return (h("div", { key: 'c99714fbefea9c43a199201d6e9d331ed4b50e7f', class: {
34
+ return (h("div", { key: '46da4cdcfee8e04307722a89c94ab7c3d867aec4', class: {
35
35
  's-loyalty-program-reward-container': true,
36
36
  's-loyalty-program-reward-xs': this.size === 'xs',
37
- } }, h("div", { key: 'b3139a4325629e3e23b09096b96fbb9079ebb4f5', onClick: this.handleActionArea, role: "button" }, h("div", { key: '8d2951399db70f2672619149583d3821429611fa', class: "s-loyalty-program-reward-img" }, h("img", { key: 'd03e024172b99a72fdeb311e24f91d9ca11b69a1', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: '23901c0a96c9af1ae459d5bbcad0f4429933225b', class: "s-loyalty-program-reward-content" }, h("div", { key: '795743061efd1270a1a24eceb66f67e2bbb9eb1e', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '83545f69e513a563dfaef7bb107ae119656406a0', size: "xs" }, h("span", { key: '28751b88c77af1acfb746f58f55f4b84f2364141', innerHTML: SIGift }), h("span", { key: '8f54d363299656788211e19299f666596694be77', class: "s-loyalty-program-rewards-points", innerHTML: salla.lang.choice('pages.loyalty_program.points', this.prize.cost_points) }))), h("div", { key: '89abc08dc391219c6c2a2fad15cb1e02b0b26472', class: "s-loyalty-program-reward-title" }, h("span", { key: '8908db983e49adacf9ba6d7adb9ad941ffc57d09' }, this.group)), h("div", { key: '2715999ae9c1e473762fb463cf8e52c42f746c77', class: "s-loyalty-program-reward-name" }, h("div", { key: 'e0a81d6e9aeebcb6671203f51429d614fc80c78b', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: 'f87feb0a81be86687bd4bf746807c45860f47224', class: "p-4" }, h("button", { key: '43e294b3b2f6caaccf3eea24c77d47513e129172', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
37
+ } }, h("div", { key: '3d4d1b1adada717d2c248e1a2287b80b370accc8', onClick: this.handleActionArea, role: "button" }, h("div", { key: '2f699dcc9098adbbdec2ab1522bdb49977440663', class: "s-loyalty-program-reward-img" }, h("img", { key: '9fcc993f9f010ebd5663d02849714db897321357', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: 'd66d0be909c1f1c239a4aeb2152cd6f3850f25d4', class: "s-loyalty-program-reward-content" }, h("div", { key: '10968623d1fe8815a547e7b404f58b8401eed98b', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'd677e3be9ed036091f523b51d06d64635e1426d9', size: "xs" }, h("span", { key: '8b67c0112a61c5a9f224f308193dd933db6811df', innerHTML: SIGift }), h("span", { key: '0b53d61ca1b07318a19d00c5948045385be2c877', class: "s-loyalty-program-rewards-points", innerHTML: salla.lang.choice('pages.loyalty_program.points', this.prize.cost_points) }))), h("div", { key: '5c88b91c602ddb8d81bd2537ebe32afaa13dabd7', class: "s-loyalty-program-reward-title" }, h("span", { key: '9f070612c7b381cdfc11cb794a29dd3d4fad78e3' }, this.group)), h("div", { key: 'd2ed88971fb88f4c857970a15b08b87681225ad4', class: "s-loyalty-program-reward-name" }, h("div", { key: '0818181909194a5a9d7bd8b0b0f421ee1c33cac9', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: '61a792efce0cb44e5d676a2d10fbf466fdc9926a', class: "p-4" }, h("button", { key: 'b2f469e2206892914e14e542fc9acf6ccc289f59', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
38
38
  's-loyalty-program-rewards-action-base': true,
39
39
  's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
40
40
  's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),
@@ -5,7 +5,7 @@ import { h, Host } from "@stencil/core";
5
5
  import SIGift from "../../assets/svg/gift.svg";
6
6
  export class SallaRewardCard {
7
7
  render() {
8
- return (h(Host, { key: 'ff2c85a1de1ce4275f2552cecdf822001e3ad337', class: "s-loyalty-program-reward-host" }, h("div", { key: 'd9a5d86af489008dd0d6025bde5dcb1e9dd29bda', class: "s-loyalty-program-reward-container" }, h("div", { key: 'aba7aa8ee4b3c0200a122fcdb38b4ea39c7f10ec', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '71234c7e6176f7c557892ef6ffa039b0f33da1ad', class: "s-loyalty-program-reward-img" }, h("img", { key: 'c74287127a9784d6a5500f4cf106089ef610c140', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: 'ee30491d21384a2a2fc60efbe4b0012b72509d4b', class: "s-loyalty-program-reward-content" }, h("div", { key: '94b465db9a56ca3afdfabf63cd155a4ef124dcce', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '7e92d9c135ff7acd7acce77c0abd4ef0b81f9c5f', size: "xs" }, h("span", { key: '83ed6d98e353843837fcf3944f424ca722583c41', innerHTML: SIGift }), h("span", { key: 'dad919bbf6fda62a604bfb652fe5a1807d7c5231', class: "s-loyalty-program-rewards-points", innerHTML: salla.lang.choice('pages.loyalty_program.points', this.prize.cost_points) }))), h("div", { key: '2f9a4692a125da6fe9724b09998db4bb1efa8a63', class: "s-loyalty-program-reward-title" }, h("span", { key: 'bf24743da8340460839986efe5eac46649e3b751' }, this.prize.group_title)), h("div", { key: '85e6343102982e2e2bf35ad105aec7834f3d91b6', class: "s-loyalty-program-reward-name" }, h("div", { key: 'cc73021208eee7702d1e074fa13f7aef43ce6d32', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '51860a235d912a4dc6d166add4b982c71805fc8d', class: "p-4" }, h("slot", { key: 'c12b37a27617986e8701190b6feb1c371887a822', name: "action" }, h("button", { key: '80ddf2e70e7cbdacae56a8310aff260e9eb99579', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
8
+ return (h(Host, { key: 'b27c707b6ac03d037d2f019131a654bcda65dd6e', class: "s-loyalty-program-reward-host" }, h("div", { key: '9606c3ad2ea7ead1f4ab2db8e148a90d43c69902', class: "s-loyalty-program-reward-container" }, h("div", { key: 'f7b6f60847b86dbb6f2b05209ab2db8eabbbd931', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '6cd912d2c6b5c2b12ab5b4ba431ca0c965d0518b', class: "s-loyalty-program-reward-img" }, h("img", { key: 'b4f844fe1064b8ca6f5666765d92a7924fe2ad74', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: 'fd61d1ff64f2097fe2f696dacbb57f6c84db5339', class: "s-loyalty-program-reward-content" }, h("div", { key: 'fa1d404d5b02fe0027cef018f2eeb6e0bd109c2c', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '29dad65f9b1f41a1698da49d113a0f9b0086210e', size: "xs" }, h("span", { key: '99526fabe82feef8ef777bfbcde868399c44e2db', innerHTML: SIGift }), h("span", { key: '94a3ed106aad1b14438227d8914695b1a18e8f64', class: "s-loyalty-program-rewards-points", innerHTML: salla.lang.choice('pages.loyalty_program.points', this.prize.cost_points) }))), h("div", { key: '1e8e12541bfd7acd303f89008f2e48c9f183c83a', class: "s-loyalty-program-reward-title" }, h("span", { key: '746377627b01443a712a52f1016c29b41eaa1ad5' }, this.prize.group_title)), h("div", { key: '1f09736c18b0be21b67e1713a44f94722bbdb09d', class: "s-loyalty-program-reward-name" }, h("div", { key: '18c26f3fe19b4e6ff28bda4d18cdb253f795792b', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '7a814db57ae3bfad6aaba12cdab17b0e900e9080', class: "p-4" }, h("slot", { key: '0ce627f221262d54f4cda4d1a50cb2d1a6197d06', name: "action" }, h("button", { key: '10f0e39d0ecc79d84674efb0a7389430da979160', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
9
9
  }
10
10
  static get is() { return "salla-reward-card"; }
11
11
  static get originalStyleUrls() {
@@ -113,11 +113,11 @@ export class SallaRewardDetails {
113
113
  }
114
114
  render() {
115
115
  const termsAndConditions = this.getTermsAndConditions();
116
- return (h("div", { key: 'fb021811cdf5d33ea93109e0c096114cf10f503c', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'c73a68336a00d019363938f8c4a5e1fa42d13b41', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '1fdb75d9e316d30af3ff5c6d464f78e99696ab00', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
116
+ return (h("div", { key: 'b448be9380e1b0226e0e1bf4f2383190769de152', class: "s-loyalty-program-reward-modal" }, h("div", { key: '16087a27ea5cef2738f07745ac2b830ea07ab4ce', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'f03dde8a72339ce561298cf27b524f9a69a1fd3c', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
117
117
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
118
118
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
119
119
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
120
- } })), this.prize.name)), h("div", { key: '564fab411c2e3961865adcaa8e6824eeb0def4e0', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'f5ce7fe8918888301757dcd0bac81dc189c39497', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '2bfc154cb53dc280e26e780ab9227c03901514ed', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'a4a5112886d3adc30b26bbcd91824fc170fa8e18', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '5612a7eeaba1e853818e04b08a6facd7d8af2925', size: "sm", bg: "light" }, h("span", { key: 'bffedd7d2200eaa8f56b8032579ca348dec1316b', innerHTML: SIGift }), h("span", { key: '1dedc19cf806ff84e151ff06803bbc49cfd1b060', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '7875f48e05bc4dd2742886b0ba2a29fbab5fbaad', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '9ad44e6b950c95f11e22c945777741da0a1c1f1f', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'f307a5600ee1ae6afa0c3dd9a0175cf51bff2645', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
120
+ } })), this.prize.name)), h("div", { key: '94e4c042eda800d4127e98af05399aefd8cf162c', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '5e847cbfd2aefe88baaddd991ac9a3c9d5be4318', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '67fa2b255a10ada08cd780f204d8bc958b2562df', class: "s-loyalty-program-aspect-container" }, h("img", { key: '06298fbe666f161ace6f8bd70ead43ff4647f912', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '2d5fb82811dfced1eb558baa01ddb83bf8271312', size: "sm", bg: "light" }, h("span", { key: 'bb9d7cf72ea6bc88eaed97e62465c85b3628de0d', innerHTML: SIGift }), h("span", { key: '87bd5622040b555ab70de43ffb7a6fa06cb4b45a', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '8b9ae2745e2134b41c8bc1c9bce8bc449774fd48', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: 'd5e6f1f591a09144d9d15bf32457ca22f8438b82', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '00c63a4b0dafecd45141b2627f3cf00df9b77e83', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
121
121
  h("salla-tab-header", { slot: "header", name: "included", style: {
122
122
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
123
123
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICheck }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -127,7 +127,7 @@ export class SallaRewardDetails {
127
127
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
128
128
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
129
129
  h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
130
- ]))), h("salla-reward-action", { key: '3d608fc6122d6335eb5e6cff9fcf9602d0217e87', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
130
+ ]))), h("salla-reward-action", { key: 'd4ccecb2463fd6c06957f40e7865b1d12158b4bd', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
131
131
  }
132
132
  static get is() { return "salla-reward-details"; }
133
133
  static get originalStyleUrls() {
@@ -43,11 +43,11 @@ export class SallaRewardExchange {
43
43
  this.reset(0);
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: 'c439b30ee85140f6af8e133907d44a69ad1cbb69' }, h("div", { key: '335d9e5329ec4ade97913a6bd7af00758f0f2a47', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '6d2153a978d5d0f3c3fc6b8feaed5ac96ebab0ee', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'fdc6e54b514e3102b396647325c666178587a198', innerHTML: SIGift })), h("h2", { key: '5ac423eaaf013b3c46d86e9a680707456f5478c0' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '7ab7798976d75aa3e754140a4a0939c7c49da23b' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '4ea9b84fe5e16de4eef4e39b9c8db8a64aee6027' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '167875c77af0c3a2ea16366de8f0a38a9006d793' }, "(", this.prize.name, ")"))), h("div", { key: 'c28a83451b8643cb8e0814c80ef5e8ebd96b78fa', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'e641d0cc51d38cf78ff90111d075b1fa47a27c0a', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: '770e74035f82dadb891764191ae636f9d08b7fa4', style: {
46
+ return (h(Host, { key: 'b1e4fe9368655f389e403b2676191b46f71d49b7' }, h("div", { key: '19b8bbffa591f22608d56e8e932d7f013f6cd868', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '290214db26895ba481de364299afd115b3a501cc', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'd59c1b1f7683db554856950b6ec919bb48c402dd', innerHTML: SIGift })), h("h2", { key: '51a4abff2e593279cc5c9ce9dd47f7ed05533325' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '8a16577bce81552878cdcae4e60ce8e8719b3ed0' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: 'c05bdc04cbac8dc530c49bb49eca6119d2653b63' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: 'ce3e88fde9f2434cabf75f7a3f622da539b5d310' }, "(", this.prize.name, ")"))), h("div", { key: 'ac51de5c34119eb79c1a8c2d06c201e4da3d7a0d', class: "s-loyalty-program-exchange-btns" }, h("button", { key: '9386b4a3d43a05fe9141561c7421b2b23ddb5a1e', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: '88d7658b7715932ff8200f79de5dd8864b00db15', style: {
47
47
  opacity: this.exchange.status !== 'pending' ? '1' : '0',
48
- } }, salla.lang.get('common.elements.confirm')), h("span", { key: 'dd2a8642d52b7ea26778e2b5050ad38f3933cb11', class: "s-loyalty-program-exchange-loading", style: {
48
+ } }, salla.lang.get('common.elements.confirm')), h("span", { key: '80c30140959693b3d98dc2162e45d4089e81eb6b', class: "s-loyalty-program-exchange-loading", style: {
49
49
  opacity: this.exchange.status === 'pending' ? '1' : '0',
50
- } }, h("salla-loading", { key: '384a7fc33d99393439939a9341b858a364ae19fa', color: "primary", size: 24 }))), h("button", { key: 'd264d1d5dcc6fe673c9f3ba7604c6b267ea7215b', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
50
+ } }, h("salla-loading", { key: '516e36b4271d8da0ad711732aa991a45633edea5', color: "primary", size: 24 }))), h("button", { key: '4642c008c656a662bd277829ef80db37cffa0b1a', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
51
51
  }
52
52
  static get is() { return "salla-reward-exchange"; }
53
53
  static get originalStyleUrls() {
@@ -16,7 +16,7 @@ export class SallaMaintenanceAlert {
16
16
  this.host.style.display = 'none';
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '43a02d438a0357bd48922ad8fa4753905ac5e388', class: "s-maintenance-alert-wrapper" }, h("button", { key: 'ad62ec4a5ea3e77854d5bbf8938c4bb1b19da068', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), h("div", { key: '4a26bf28c37452b9621703188502b05db1347f75', class: "s-maintenance-alert-content" }, h("div", { key: '0602a5df5676b47407e0c8e8293fb2374aa2c210', class: "s-maintenance-alert-container" }, h("div", { key: 'ff7c3fad5c1830d6d8d631aa520b0dd588328265', class: "s-maintenance-alert-icon" }, h("img", { key: '277e2a8c3d6b4369e73fef23adf894ddf70ef685', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: '5feb8a00c132f2b5787e42a0b9743d864ceecb2f', class: "s-maintenance-alert-text" }, h("h2", { key: '994eb48859d163ad19be4a273a5cff5e28f18b2b' }, this.title), h("p", { key: '236094a5767e6f329744e8dafc2415be2713a0e2' }, this.message))), h("div", { key: '98610dfed6802e7ebc123c1392c9f7ebdbcf0d5a' }, h("a", { key: '655cede6c8e95a7fbb63700f01ef1d148887a660', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
19
+ return (h(Host, { key: '138946ca54499c6125d04ecbcaea3f578ad463d7', class: "s-maintenance-alert-wrapper" }, h("button", { key: '628862a36b7265092a281e464b356e4609ab461c', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), h("div", { key: '159a9a144cc2c5094df87b236448f7fd14a46874', class: "s-maintenance-alert-content" }, h("div", { key: 'fe29a1e35330ea4f17860347b40b4860ec0345bb', class: "s-maintenance-alert-container" }, h("div", { key: '7c62e34354d0a63fdadda9b26be6d2470e6dd9b1', class: "s-maintenance-alert-icon" }, h("img", { key: '98d19941151c2efcae9c209177646f05ae98e708', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: '7b3b7ffc5e5171ba1f7f8796487ea5239b47f8e1', class: "s-maintenance-alert-text" }, h("h2", { key: 'c6ee28d15e5e4c9e31698973d84966127b34e5cc' }, this.title), h("p", { key: '5970ed9856c0f201446a342bc4009f12f4d9ee85' }, this.message))), h("div", { key: 'c8c9cdea353445770a0326091bb2278d21ddbb17' }, h("a", { key: '979d8db01492abaa32b67ad50e87aeabd04647f7', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
20
20
  }
21
21
  componentDidLoad() {
22
22
  //auto-hide the alert if close button is clicked before one hour
@@ -271,11 +271,11 @@ export class SallaMap {
271
271
  }
272
272
  // render
273
273
  render() {
274
- return (h(Host, { key: '8fae0e6754bd0571d5acf9bbc6df23e73b02b015', class: "s-map-wrapper" }, h("salla-modal", { key: '7aebcc533a4ec8f7ec5e3a8682f7f70afd5b1193', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
274
+ return (h(Host, { key: '8924c9dc6a9b42676e0b38761778808ace71d12f', class: "s-map-wrapper" }, h("salla-modal", { key: '52c34849cb87c8cc171a0f4747efcc9a68181fea', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
275
275
  this.locationModal = modal;
276
- } }, this.getLocationModal()), h("slot", { key: '1dc262e8474c0d137f98ce06c76d9fdea80d42c4', name: "button" }, h("salla-button", { key: '5ff296514b2e7b37d091cd634f497e855cf047d5', onClick: () => {
276
+ } }, this.getLocationModal()), h("slot", { key: 'b76459b6a42bec114c0196a9f8293dddd6154b6e', name: "button" }, h("salla-button", { key: '1c71ca54a9b5ea164c50f733b271e59dd964798a', onClick: () => {
277
277
  this.open();
278
- }, color: "primary", class: "s-map-location-button" }, h("span", { key: '806e832caff4dfdbadab0098f8c521548eb18aa4', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: '2bc1c843dd35803d4f443907d1df52c72f4e87c2', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
278
+ }, color: "primary", class: "s-map-location-button" }, h("span", { key: 'fa57f11d2aadedfff68b002da8c4e28a8f741971', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: '2403dcd394f47d891b5a6effa0e59c8f8ccfb94d', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
279
279
  }
280
280
  static get is() { return "salla-map"; }
281
281
  static get originalStyleUrls() {
@@ -30,7 +30,7 @@ export class SallaMultipleBundleProductCart {
30
30
  return (h("div", { slot: "html", class: "s-multiple-bundle-product-cart-header-wrapper" }, h("div", { class: `s-multiple-bundle-product-cart-header ${hasOptions ? '' : 's-multiple-bundle-product-cart-header-no-options'}` }, h("div", { class: "s-multiple-bundle-product-cart-header-content" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-image-wrapper" }, h("img", { src: product?.image?.url, alt: product?.image?.alt || product?.name, class: "s-multiple-bundle-product-cart-header-image" })), h("div", { class: "s-multiple-bundle-product-cart-header-content-details" }, h("h2", { class: "s-multiple-bundle-product-cart-header-content-details-title" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-content-details-title-link" }, product?.name)), h("div", { class: "s-multiple-bundle-product-cart-header-content-details-price" }, h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-regular" }, h("span", { innerHTML: product?.price ? salla.money(product?.price) : '' })), product?.sale_price > 0 && (h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-sale" }, h("span", { innerHTML: salla.money(product?.sale_price) })))), product?.quantity_in_group > 0 && product?.quantity !== 0 && (h("p", { class: "s-multiple-bundle-product-cart-header-content-details-quantity" }, h("span", null, salla.lang.get('pages.products.number_of_pieces')), h("span", null, product?.quantity_in_group))))), !hasOptions && (h("div", { class: "s-multiple-bundle-product-cart-header-remove-button" }, this.renderRemoveButton(sectionId, product, false))))));
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'a0659e5dc8eb5e44d0a25e53cea017008a04ed4d', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '2bcfa463149fe7890418a3ef12308ca17d41cb34', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
33
+ return (h(Host, { key: '9d21c3d891b277c9415bd7a965e0b61437c4d166', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'd68a401e56ccc208d042f4b279d56dd52a948764', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
34
34
  return section.products.map(product => {
35
35
  const bundleContext = {
36
36
  sectionId: section.id,
@@ -360,9 +360,9 @@ export class SallaMultipleBundleProductDetails {
360
360
  }
361
361
  }
362
362
  render() {
363
- return (h(Host, { key: 'dc22c848445385e667a2da109021b9dc9b413a6c', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'a52743fee0af7cf1b99bd0459a85d335ca637e5d', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
363
+ return (h(Host, { key: 'b18a8280acce7e1c4225bf49d28e95efd93c1731', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '8a521bd4e1cbeb1f0b50b4614620992f1e330c84', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
364
364
  return (h("salla-accordion", { key: section.id, collapsed: index === 0 ? false : true }, h("salla-accordion-head", null, this.renderAccordionHeader(section)), h("salla-accordion-body", null, h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index, selectedProducts: this.selectedProducts, selectionLimit: this.getEffectiveMax(section), isSelectionLocked: this.isProductSelectionLocked(section), onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
365
- })), h("salla-multiple-bundle-product-options-modal", { key: '4bda97c2a9db2cd1f2764e4f5a2e44fb0a013fa0' })));
365
+ })), h("salla-multiple-bundle-product-options-modal", { key: '47cf922925f9bd0b9645788f67ef1cb5bfea9b22' })));
366
366
  }
367
367
  static get is() { return "salla-multiple-bundle-product-details"; }
368
368
  static get originalStyleUrls() {
@@ -472,7 +472,7 @@ export class SallaMultipleBundleProductOptionsModal {
472
472
  const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
473
473
  const resetToken = this.optionsResetTokens[cacheKey] || 0;
474
474
  const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
475
- return (h(Host, { key: '1df1d7538fceee9a656f19cbf145388a3e0c03cc' }, h("salla-modal", { key: 'da6d318edcc4415ec3b680172da56d82efe65fbc', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '1e34ee440889932fc24cfe9d9def9acd9d07a42b', slot: "loading" }, h("salla-skeleton", { key: '94a8be3dde042a84187a01305c8decf53bf7e3f3', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '2ac8b7c57ad95e22430f76a0ab22aff1d31f8558', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
475
+ return (h(Host, { key: '0ed98e10386020a1d958395eb77e1c2f0cdd14c3' }, h("salla-modal", { key: '1bf9da37928c89f67cdbb1e097b0a1d3facd135d', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '5fd7f68f3b2e80ffd9422dc149a01dce5ced9050', slot: "loading" }, h("salla-skeleton", { key: '4c0abf5af0e0b9f031c5d56598d1af41de85dada', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '82d6eefb9428da4bf7aee5261f3477b06dfdf655', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
476
476
  centeredSlides: true,
477
477
  centeredSlidesBounds: true,
478
478
  slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
@@ -480,13 +480,13 @@ export class SallaMultipleBundleProductOptionsModal {
480
480
  watchSlidesProgress: true,
481
481
  direction: 'vertical',
482
482
  spaceBetween: 10,
483
- } }, h("div", { key: '599e310ed8d87b526c75463dd9a1b1ff9bd2442e', slot: "items" }, this.product?.images &&
483
+ } }, h("div", { key: '7b7ec511af859ecb0bbd3c33a719aa979b1014f9', slot: "items" }, this.product?.images &&
484
484
  this.product?.images.map((image, index) => (h("div", { key: index, class: "swiper-slide" }, h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index + 1}`, loading: "lazy", onError: e => {
485
485
  e.target.style.display = 'none';
486
- } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: 'df1833370d4e7a8424b0cefe5f6aa1eff68e263e', slot: "thumbs" }, this.product?.images &&
486
+ } }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: 'ac898742d0a81f6d2f957c0cf8e21bd599d25f70', slot: "thumbs" }, this.product?.images &&
487
487
  this.product?.images.map((image, index) => (h("div", { key: index, "data-caption": `${this.product?.name} - Image ${index + 1}` }, h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index + 1}`, alt: image.alt || `${this.product?.name} - ${index + 1}`, onError: e => {
488
488
  e.target.style.display = 'none';
489
- } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '3f7379d1620184a14f88b1123b67f6a9a225fe14', slot: "footer" }, h("div", { key: '26ad5d460d95cdce3d6fa28fcf7a04b0e3f97d3e', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: '4f497db16b75e813d813fd92bd2f30ed02514000', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
489
+ } })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '696b238bdf814876e5717b2bdf3ae3283a1f4821', slot: "footer" }, h("div", { key: '7a19b10e718f9d775b3477e810f5eb587578e59f', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: 'd1cb0627ebd0f41f1db63e4d5ff8458ceb89cbbe', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
490
490
  ? salla.lang.get('common.elements.saving')
491
491
  : salla.lang.get('common.elements.save')))))));
492
492
  }
@@ -134,7 +134,7 @@ export class SallaMultipleBundleProductSlider {
134
134
  }
135
135
  }
136
136
  render() {
137
- return (h(Host, { key: '808d7d1f9d880d2bad293fa61ef5e7330385f15b' }, h("salla-slider", { key: 'bf820de07ea7936d283574d8d2b58c1cc8ccb0df', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '8d551793d840ffddc64049efba32277d0bbf0c96', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
137
+ return (h(Host, { key: '0c130a3a21a67f0c5cdfe0b04fc259c19c5d1e13' }, h("salla-slider", { key: 'a11d04b1867ae06ac01fa90338f28da50f842cb0', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: '613ab6866dd65ed8d0b362bf136a63da3dedecb9', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
138
138
  const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
139
139
  const isLocked = isChecked && this.isSelectionLocked;
140
140
  const isDisabled = this.isProductSelectionDisabled(product, isChecked);
@@ -82,7 +82,7 @@ export class SallaMultipleBundleProduct {
82
82
  this.parseProducts(this.bundleSections);
83
83
  }
84
84
  render() {
85
- return (h(Host, { key: '01cf070eb724f3b0df553e3253fda1d0c4fde0b9', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
85
+ return (h(Host, { key: 'a016c9ef2ceef9f4428202a7c08f1af1085c6708', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
86
86
  }
87
87
  static get is() { return "salla-multiple-bundle-product"; }
88
88
  static get originalStyleUrls() {
@@ -4,7 +4,7 @@
4
4
  import { h } from "@stencil/core";
5
5
  export class SallaNotificationItem {
6
6
  render() {
7
- return h("a", { key: 'd66908ce0dd914e309469279a1014ff734f6c0b2', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '0d6f0ebb3400bcc91f2bbdf7e941e018662e8835', class: "s-notifications-item-icon" }, h("i", { key: 'd9965899d4699070681117423401d7488a16f066', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '055a4e763f4a1ee02b52bd1d6935e57402acfa76', class: "s-notifications-item-content" }, h("div", { key: '646a9220ad2c1a9fae0b9384a84a60ad69d39c68', class: "s-notifications-item-content-leading" }, h("h4", { key: '9b9c4256f50cd376b01b836196a1f0fff89b6840' }, this.notification.title), h("p", { key: '4475ca9bee33fb9c64433320101345c7db7e28c6' }, this.notification.sub_title)), h("span", { key: 'd2c8301ad12ef86ba05fa805d9ecbea249a44ee1', class: "s-notifications-item-content-trailing" }, h("i", { key: '297c8695ee366dc336bf30dd59465806375825fc', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: 'beb9945695448ec9e6e25e9e856177a641a5a769' }, this.notification.date))));
7
+ return h("a", { key: '2573709498a577a39e568d38191ea531e56e5bca', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '9cff10cd702cdc37002cb83b9b5d0e60431d86f1', class: "s-notifications-item-icon" }, h("i", { key: 'a7c40a60acf089b1bd8ea666edd52c6bc433790c', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '00b34ed21d29b4949f0172e49eae3782f6f2688f', class: "s-notifications-item-content" }, h("div", { key: '7be372db8b087dbe961db3602911ea34878ab110', class: "s-notifications-item-content-leading" }, h("h4", { key: '18139289b2341d6af1f017b05a75f4302997da6f' }, this.notification.title), h("p", { key: '3090714cc101fbda9caa69f7eddba5626fda2e4a' }, this.notification.sub_title)), h("span", { key: 'b5027892afe18b49562735f757dfa731360b4e41', class: "s-notifications-item-content-trailing" }, h("i", { key: '32feaafc7bba48bc7da4a0d4aaac894580650671', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: '2187685dcd41610810f7d21be983dcd52caae555' }, this.notification.date))));
8
8
  }
9
9
  static get is() { return "salla-notification-item"; }
10
10
  static get originalStyleUrls() {
@@ -205,7 +205,7 @@ export class SallaOfferModal {
205
205
  // '</div>';
206
206
  // }
207
207
  render() {
208
- return h("salla-modal", { key: 'c68955859f31495533b6bb1117e8be3a6c22ffce', "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 : ''}` }, h("div", { key: 'd0c3cbc73474a14596eb2a4c35e10ddddc5ed34a', slot: 'loading' }, h("div", { key: '22ebc107df02d1474f648cbd50aecd9590f70fbf', class: "s-offer-modal-skeleton" }, h("div", { key: 'ed0661aca73a455a98f9971a5fc89e8793e8ac14', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'bea3b9e7fe4654d7186d8f0f27388e784421379b', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '9c377374ec1449341a45127a52dfc53fdb4425f0', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'edcd738b120797e2b2a351390fc58a49fc386776', height: '10px', width: '30%' })), h("div", { key: 'fa7df3dc0b6a22fad433bfc678081f1e2ccdc057', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '6a4d8744bad91f54b4a87b929c81747295b00992', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '4b15a6c159a681f0b030244c923e94bfa44af479', height: '15px', width: '50%' }), h("salla-skeleton", { key: '79323272fb8977650644dee28d7c7295ac77aacf', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
208
+ return h("salla-modal", { key: '5a42cc8c2d64477c128c2e4faaf839f78529618c', "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 : ''}` }, h("div", { key: '45211a157eb1d98edaf25a427a5d6c907dcb858c', slot: 'loading' }, h("div", { key: '7ee0eccd2f6601932c97ec94ded16066163559b4', class: "s-offer-modal-skeleton" }, h("div", { key: '24c90fd89a9921e7a9f5d6d8c58395a0a03e82ce', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'c1aaa7693e92682a34335ae2762e37eeca3dc3ad', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: 'd30ae6b6790b0e21dc863e515d8dcfb4bba73c9d', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'f71a00bc5d80972422a82d898e7383c89e741db7', height: '10px', width: '30%' })), h("div", { key: 'eb0e0425cd69bb53522421b42aee9e57d527d604', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '166219b8dcf9310aaf59e87f3ccb46fbf22de119', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: 'f70230a11af92b21e0d3a19a29b12fe54bae845c', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'c8a4f0908c2c1c1f6cfe7a2f9adfb7c37315b308', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
209
209
  ? [h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.getOfferContent(), h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
210
210
  h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
211
211
  : '', h("label", { class: "s-offer-modal-remember-label" }, h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -36,7 +36,7 @@ export class SallaOrderDetails {
36
36
  ];
37
37
  }
38
38
  render() {
39
- return h(Host, { key: '9c662f4c829a24386a4fa83f83f261996c72086f', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
39
+ return h(Host, { key: 'cdd154032a0319721ef92d3912ca5323fe230b8a', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
40
40
  }
41
41
  static get is() { return "salla-order-details"; }
42
42
  static get originalStyleUrls() {
@@ -24,7 +24,7 @@ export class SallaOrderEditProductCard {
24
24
  const product = this.productData;
25
25
  const productName = product?.name || salla.lang.getWithDefault('common.elements.product', 'منتج');
26
26
  const price = product?.price;
27
- return (h(Host, { key: '922736be2f3fec4f6c41c724590d2790fb5a5940' }, h("button", { key: 'b690f3dbd307937d4b68790f417a7d9a820b56f1', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: 'f846d7e31c7c3d067909d65db3457ac061c93264', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: 'b1243ae5df15e3e783b139dcf593f85b72624015', class: "s-order-edit-product-card-content" }, h("h3", { key: '50c7b8edb40dd88fcb1ac4267b1ba88c5b2b92b2', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: '6dea7fefab83a9839146acfb89e7a532adaa6559', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
27
+ return (h(Host, { key: 'f5a665dd52e9a3280a81bcf6f6e2f286a11cd417' }, h("button", { key: '9a0a846f40962ace66cc20d74cafd768ecf013fe', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, h("div", { key: '28113406f30fccdf5d49ac688e7e55fef27789e8', class: "s-order-edit-product-card-media" }, product?.image?.url ? (h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (h("div", { class: "s-order-edit-product-card-placeholder" }, h("i", { class: "sicon-shopping-bag" })))), h("div", { key: '9210d60532997f80fa165154768483eebbea01f3', class: "s-order-edit-product-card-content" }, h("h3", { key: 'a91e3b58e83a982ad9b2e855a88fbc7982faace9', class: "s-order-edit-product-card-title" }, productName), price != null && (h("p", { key: '7abfe3edb776da102b513803913a4ac69199aa2a', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
28
28
  }
29
29
  static get is() { return "salla-order-edit-product-card"; }
30
30
  static get originalStyleUrls() {