@salla.sa/twilight-components 2.14.251 → 2.14.253

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 (507) hide show
  1. package/dist/cjs/{app-globals-0qyY-ElC.js → app-globals-BoVwS_2u.js} +3 -3
  2. package/dist/cjs/{app-globals-0qyY-ElC.js.map → app-globals-BoVwS_2u.js.map} +1 -1
  3. package/dist/cjs/{index-CxIOfeMA.js → index-DxXe1Ylr.js} +16 -16
  4. package/dist/cjs/index-DxXe1Ylr.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.cjs.js.map +1 -0
  7. package/dist/cjs/salla-accordion_4.cjs.entry.js +202 -0
  8. package/dist/cjs/salla-accordion_4.cjs.entry.js.map +1 -0
  9. package/dist/cjs/salla-add-product-button_51.cjs.entry.js +48 -48
  10. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  11. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-booking-field_2.cjs.entry.js +3 -3
  14. package/dist/cjs/salla-cart-item-offers.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  18. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  19. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  21. package/dist/cjs/salla-loyalty-program.cjs.entry.js +2 -2
  22. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +80 -0
  27. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js.map +1 -0
  28. package/dist/cjs/salla-order-details-multiple-bundle-product.entry.cjs.js.map +1 -0
  29. package/dist/cjs/salla-order-details.cjs.entry.js +53 -0
  30. package/dist/cjs/salla-order-details.cjs.entry.js.map +1 -0
  31. package/dist/cjs/salla-order-details.entry.cjs.js.map +1 -0
  32. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  33. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  35. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-product-options.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-review-card.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-reviews-page.cjs.entry.js +2 -2
  39. package/dist/cjs/salla-reviews.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  45. package/dist/cjs/twilight.cjs.js +3 -3
  46. package/dist/collection/collection-manifest.json +3 -0
  47. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  48. package/dist/collection/components/salla-accordion/salla-accordion-head.js.map +1 -1
  49. package/dist/collection/components/salla-accordion/salla-accordion.js +43 -1
  50. package/dist/collection/components/salla-accordion/salla-accordion.js.map +1 -1
  51. package/dist/collection/components/salla-alert/salla-alert.js +1 -1
  52. package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
  53. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
  54. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  55. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  56. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  57. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  58. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  59. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  60. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  61. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  62. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  63. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  64. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  65. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  66. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  67. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  68. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  69. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -1
  70. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  71. package/dist/collection/components/salla-map/salla-map.js +3 -3
  72. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  73. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  74. package/dist/collection/components/salla-order-details/interfaces.js +2 -0
  75. package/dist/collection/components/salla-order-details/interfaces.js.map +1 -0
  76. package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.css +0 -0
  77. package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.js +152 -0
  78. package/dist/collection/components/salla-order-details/salla-order-details-multiple-bundle-product.js.map +1 -0
  79. package/dist/collection/components/salla-order-details/salla-order-details-options.css +0 -0
  80. package/dist/collection/components/salla-order-details/salla-order-details-options.js +177 -0
  81. package/dist/collection/components/salla-order-details/salla-order-details-options.js.map +1 -0
  82. package/dist/collection/components/salla-order-details/salla-order-details.css +0 -0
  83. package/dist/collection/components/salla-order-details/salla-order-details.js +93 -0
  84. package/dist/collection/components/salla-order-details/salla-order-details.js.map +1 -0
  85. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  86. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  87. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  88. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  89. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  90. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  91. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  92. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  93. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  94. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  95. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  96. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  97. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  98. package/dist/collection/components/salla-search/salla-search.js +3 -3
  99. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  100. package/dist/collection/components/salla-slider/salla-slider.js +2 -2
  101. package/dist/collection/components/salla-social/salla-social.js +1 -1
  102. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  103. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  104. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  105. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  106. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  107. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  108. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  109. package/dist/components/index.js +2 -2
  110. package/dist/components/index.js.map +1 -1
  111. package/dist/components/salla-accordion-body.js +1 -27
  112. package/dist/components/salla-accordion-body.js.map +1 -1
  113. package/dist/components/salla-accordion-body2.js +35 -0
  114. package/dist/components/salla-accordion-body2.js.map +1 -0
  115. package/dist/components/salla-accordion-head.js +1 -59
  116. package/dist/components/salla-accordion-head.js.map +1 -1
  117. package/dist/components/salla-accordion-head2.js +67 -0
  118. package/dist/components/salla-accordion-head2.js.map +1 -0
  119. package/dist/components/salla-accordion.js +1 -59
  120. package/dist/components/salla-accordion.js.map +1 -1
  121. package/dist/components/salla-accordion2.js +71 -0
  122. package/dist/components/salla-accordion2.js.map +1 -0
  123. package/dist/components/salla-alert.js +1 -1
  124. package/dist/components/salla-booking-field2.js +1 -1
  125. package/dist/components/salla-bottom-alert.js +2 -2
  126. package/dist/components/salla-cart-summary.js +1 -1
  127. package/dist/components/salla-color-picker2.js +1 -1
  128. package/dist/components/salla-comment-form2.js +1 -1
  129. package/dist/components/salla-comment-item2.js +3 -3
  130. package/dist/components/salla-conditional-fields2.js +1 -1
  131. package/dist/components/salla-count-down2.js +1 -1
  132. package/dist/components/salla-datetime-picker2.js +1 -1
  133. package/dist/components/salla-file-upload2.js +2 -2
  134. package/dist/components/salla-filters-widget2.js +2 -2
  135. package/dist/components/salla-filters.js +1 -1
  136. package/dist/components/salla-gifting.js +2 -2
  137. package/dist/components/salla-list-tile2.js +1 -1
  138. package/dist/components/salla-loading2.js +1 -1
  139. package/dist/components/salla-localization-modal.js +1 -1
  140. package/dist/components/salla-loyalty-prize-item.js +1 -1
  141. package/dist/components/salla-loyalty-program.js +1 -1
  142. package/dist/components/salla-maintenance-alert.js +1 -1
  143. package/dist/components/salla-map2.js +3 -3
  144. package/dist/components/salla-notification-item2.js +1 -1
  145. package/dist/components/salla-offer-modal.js +1 -1
  146. package/dist/components/salla-order-details-multiple-bundle-product.d.ts +11 -0
  147. package/dist/components/salla-order-details-multiple-bundle-product.js +12 -0
  148. package/dist/components/salla-order-details-multiple-bundle-product.js.map +1 -0
  149. package/dist/components/salla-order-details-multiple-bundle-product2.js +144 -0
  150. package/dist/components/salla-order-details-multiple-bundle-product2.js.map +1 -0
  151. package/dist/components/salla-order-details-options.d.ts +11 -0
  152. package/dist/components/salla-order-details-options.js +12 -0
  153. package/dist/components/salla-order-details-options.js.map +1 -0
  154. package/dist/components/salla-order-details-options2.js +145 -0
  155. package/dist/components/salla-order-details-options2.js.map +1 -0
  156. package/dist/components/salla-order-details.d.ts +11 -0
  157. package/dist/components/salla-order-details.js +127 -0
  158. package/dist/components/salla-order-details.js.map +1 -0
  159. package/dist/components/salla-order-summary.js +1 -1
  160. package/dist/components/salla-payments.js +2 -2
  161. package/dist/components/salla-placeholder2.js +1 -1
  162. package/dist/components/salla-price-range2.js +2 -2
  163. package/dist/components/salla-product-availability2.js +1 -1
  164. package/dist/components/salla-product-card2.js +5 -5
  165. package/dist/components/salla-product-size-guide.js +2 -2
  166. package/dist/components/salla-quantity-input.js +1 -1
  167. package/dist/components/salla-quick-buy2.js +1 -1
  168. package/dist/components/salla-review-card2.js +1 -1
  169. package/dist/components/salla-reviews-page.js +1 -1
  170. package/dist/components/salla-reviews.js +1 -1
  171. package/dist/components/salla-scopes.js +1 -1
  172. package/dist/components/salla-search.js +3 -3
  173. package/dist/components/salla-skeleton2.js +1 -1
  174. package/dist/components/salla-slider2.js +2 -2
  175. package/dist/components/salla-social-share.js +1 -1
  176. package/dist/components/salla-social.js +1 -1
  177. package/dist/components/salla-tab-content2.js +1 -1
  178. package/dist/components/salla-tab-header2.js +1 -1
  179. package/dist/components/salla-tabs2.js +1 -1
  180. package/dist/components/salla-tel-input2.js +1 -1
  181. package/dist/components/salla-tooltip2.js +1 -1
  182. package/dist/components/salla-user-settings.js +1 -1
  183. package/dist/esm/{app-globals-BBUHVW9U.js → app-globals-5yxEmkuB.js} +3 -3
  184. package/dist/esm/{app-globals-BBUHVW9U.js.map → app-globals-5yxEmkuB.js.map} +1 -1
  185. package/dist/esm/{index-aC-cHVMV.js → index-Hw2jlaNN.js} +16 -16
  186. package/dist/esm/index-Hw2jlaNN.js.map +1 -0
  187. package/dist/esm/loader.js +4 -4
  188. package/dist/esm/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.js.map +1 -0
  189. package/dist/esm/salla-accordion_4.entry.js +197 -0
  190. package/dist/esm/salla-accordion_4.entry.js.map +1 -0
  191. package/dist/esm/salla-add-product-button_51.entry.js +48 -48
  192. package/dist/esm/salla-advertisement.entry.js +1 -1
  193. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  194. package/dist/esm/salla-apps-icons.entry.js +1 -1
  195. package/dist/esm/salla-booking-field_2.entry.js +3 -3
  196. package/dist/esm/salla-cart-item-offers.entry.js +1 -1
  197. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  198. package/dist/esm/salla-contacts.entry.js +1 -1
  199. package/dist/esm/salla-filters-widget.entry.js +3 -3
  200. package/dist/esm/salla-filters.entry.js +2 -2
  201. package/dist/esm/salla-installment.entry.js +1 -1
  202. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  203. package/dist/esm/salla-loyalty-program.entry.js +2 -2
  204. package/dist/esm/salla-metadata.entry.js +1 -1
  205. package/dist/esm/salla-notification-item.entry.js +2 -2
  206. package/dist/esm/salla-notifications.entry.js +1 -1
  207. package/dist/esm/salla-offer.entry.js +1 -1
  208. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +78 -0
  209. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js.map +1 -0
  210. package/dist/esm/salla-order-details.entry.js +51 -0
  211. package/dist/esm/salla-order-details.entry.js.map +1 -0
  212. package/dist/esm/salla-order-summary.entry.js +2 -2
  213. package/dist/esm/salla-orders.entry.js +1 -1
  214. package/dist/esm/salla-payments.entry.js +3 -3
  215. package/dist/esm/salla-price-range.entry.js +3 -3
  216. package/dist/esm/salla-product-options.entry.js +1 -1
  217. package/dist/esm/salla-review-card.entry.js +2 -2
  218. package/dist/esm/salla-reviews-page.entry.js +2 -2
  219. package/dist/esm/salla-reviews.entry.js +2 -2
  220. package/dist/esm/salla-social.entry.js +2 -2
  221. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  222. package/dist/esm/salla-tooltip.entry.js +2 -2
  223. package/dist/esm/salla-verify.entry.js +1 -1
  224. package/dist/esm/salla-wallet.entry.js +1 -1
  225. package/dist/esm/twilight.js +4 -4
  226. package/dist/esm-es5/{app-globals-BBUHVW9U.js → app-globals-5yxEmkuB.js} +2 -2
  227. package/dist/esm-es5/{app-globals-BBUHVW9U.js.map → app-globals-5yxEmkuB.js.map} +1 -1
  228. package/dist/esm-es5/{index-aC-cHVMV.js → index-Hw2jlaNN.js} +3 -3
  229. package/dist/esm-es5/index-Hw2jlaNN.js.map +1 -0
  230. package/dist/esm-es5/loader.js +1 -1
  231. package/dist/esm-es5/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.js.map +1 -0
  232. package/dist/esm-es5/salla-accordion_4.entry.js +5 -0
  233. package/dist/esm-es5/salla-accordion_4.entry.js.map +1 -0
  234. package/dist/esm-es5/salla-add-product-button_51.entry.js +3 -3
  235. package/dist/esm-es5/salla-advertisement.entry.js +1 -1
  236. package/dist/esm-es5/salla-app-install-alert.entry.js +1 -1
  237. package/dist/esm-es5/salla-apps-icons.entry.js +1 -1
  238. package/dist/esm-es5/salla-booking-field_2.entry.js +1 -1
  239. package/dist/esm-es5/salla-cart-item-offers.entry.js +1 -1
  240. package/dist/esm-es5/salla-conditional-offer.entry.js +1 -1
  241. package/dist/esm-es5/salla-contacts.entry.js +1 -1
  242. package/dist/esm-es5/salla-filters-widget.entry.js +1 -1
  243. package/dist/esm-es5/salla-filters.entry.js +1 -1
  244. package/dist/esm-es5/salla-installment.entry.js +1 -1
  245. package/dist/esm-es5/salla-loyalty-prize-item.entry.js +1 -1
  246. package/dist/esm-es5/salla-loyalty-program.entry.js +1 -1
  247. package/dist/esm-es5/salla-metadata.entry.js +2 -2
  248. package/dist/esm-es5/salla-notification-item.entry.js +1 -1
  249. package/dist/esm-es5/salla-notifications.entry.js +2 -2
  250. package/dist/esm-es5/salla-offer.entry.js +1 -1
  251. package/dist/esm-es5/salla-order-details-multiple-bundle-product.entry.js +5 -0
  252. package/dist/esm-es5/salla-order-details-multiple-bundle-product.entry.js.map +1 -0
  253. package/dist/esm-es5/salla-order-details.entry.js +5 -0
  254. package/dist/esm-es5/salla-order-details.entry.js.map +1 -0
  255. package/dist/esm-es5/salla-order-summary.entry.js +2 -2
  256. package/dist/esm-es5/salla-orders.entry.js +1 -1
  257. package/dist/esm-es5/salla-payments.entry.js +1 -1
  258. package/dist/esm-es5/salla-price-range.entry.js +2 -2
  259. package/dist/esm-es5/salla-product-options.entry.js +1 -1
  260. package/dist/esm-es5/salla-review-card.entry.js +1 -1
  261. package/dist/esm-es5/salla-reviews-page.entry.js +1 -1
  262. package/dist/esm-es5/salla-reviews.entry.js +1 -1
  263. package/dist/esm-es5/salla-social.entry.js +1 -1
  264. package/dist/esm-es5/salla-tiered-offer.entry.js +1 -1
  265. package/dist/esm-es5/salla-tooltip.entry.js +1 -1
  266. package/dist/esm-es5/salla-verify.entry.js +1 -1
  267. package/dist/esm-es5/salla-wallet.entry.js +1 -1
  268. package/dist/esm-es5/twilight.js +1 -1
  269. package/dist/twilight/{p-04b3d375.entry.js → p-0065a55b.entry.js} +2 -2
  270. package/dist/twilight/{p-6a16b86d.system.entry.js → p-05cf8f0f.system.entry.js} +2 -2
  271. package/dist/twilight/p-066a5e95.system.entry.js +5 -0
  272. package/dist/twilight/{p-342eda73.entry.js → p-0a58ecb2.entry.js} +2 -2
  273. package/dist/twilight/{p-1d08e23e.system.entry.js → p-0ab8c50f.system.entry.js} +2 -2
  274. package/dist/twilight/{p-3407c5ef.entry.js → p-13efdbe3.entry.js} +2 -2
  275. package/dist/twilight/{p-94b99a34.entry.js → p-13f1a287.entry.js} +2 -2
  276. package/dist/twilight/{p-e29eb090.system.entry.js → p-15c42251.system.entry.js} +2 -2
  277. package/dist/twilight/{p-09117f81.system.entry.js → p-17567b38.system.entry.js} +2 -2
  278. package/dist/twilight/p-184bc156.system.entry.js +5 -0
  279. package/dist/twilight/p-184bc156.system.entry.js.map +1 -0
  280. package/dist/twilight/{p-21c35fec.entry.js → p-204e0ad2.entry.js} +2 -2
  281. package/dist/twilight/{p-d01c0575.entry.js → p-210ccdae.entry.js} +2 -2
  282. package/dist/twilight/{p-9c2bf5c2.entry.js → p-240b86ef.entry.js} +2 -2
  283. package/dist/twilight/{p-18bd19bd.entry.js → p-27206d63.entry.js} +2 -2
  284. package/dist/twilight/{p-779536eb.entry.js → p-35dd7512.entry.js} +4 -4
  285. package/dist/twilight/{p-fabacea5.system.entry.js → p-38675c42.system.entry.js} +2 -2
  286. package/dist/twilight/{p-4d318ffc.system.entry.js → p-3cdd4d44.system.entry.js} +2 -2
  287. package/dist/twilight/{p-56074b1e.entry.js → p-3e9ceed0.entry.js} +2 -2
  288. package/dist/twilight/{p-b75d729a.system.entry.js → p-447f03b5.system.entry.js} +2 -2
  289. package/dist/twilight/{p-9f75e64f.entry.js → p-4b7e613a.entry.js} +2 -2
  290. package/dist/twilight/{p-a94e5163.entry.js → p-4d5387e9.entry.js} +2 -2
  291. package/dist/twilight/{p-b9a992c8.system.entry.js → p-53fb14d0.system.entry.js} +2 -2
  292. package/dist/twilight/p-5db51240.system.entry.js +5 -0
  293. package/dist/twilight/{p-f777295c.system.entry.js → p-61f590ca.system.entry.js} +2 -2
  294. package/dist/twilight/p-6a179bc3.system.entry.js +5 -0
  295. package/dist/twilight/p-6a179bc3.system.entry.js.map +1 -0
  296. package/dist/twilight/{p-9297d5d0.system.entry.js → p-6a51cb91.system.entry.js} +2 -2
  297. package/dist/twilight/{p-5dda0431.entry.js → p-6abfa7ed.entry.js} +2 -2
  298. package/dist/twilight/{p-8a55a076.entry.js → p-6f66faea.entry.js} +2 -2
  299. package/dist/twilight/{p-efcf803a.entry.js → p-7187b729.entry.js} +2 -2
  300. package/dist/twilight/{p-49051076.system.entry.js → p-765562b8.system.entry.js} +4 -4
  301. package/dist/twilight/p-76d92026.entry.js +5 -0
  302. package/dist/twilight/p-76d92026.entry.js.map +1 -0
  303. package/dist/twilight/{p-70688702.entry.js → p-78deca48.entry.js} +2 -2
  304. package/dist/twilight/{p-7f9f9400.system.entry.js → p-7dce6627.system.entry.js} +2 -2
  305. package/dist/twilight/p-7f28b72e.entry.js +5 -0
  306. package/dist/twilight/p-7f28b72e.entry.js.map +1 -0
  307. package/dist/twilight/{p-0d0836f3.entry.js → p-83f6408a.entry.js} +2 -2
  308. package/dist/twilight/{p-b7bb5a85.system.entry.js → p-888de4b8.system.entry.js} +2 -2
  309. package/dist/twilight/{p-CHKd1ZbK.system.js.map → p-8SAlNoQ7.system.js.map} +1 -1
  310. package/dist/twilight/{p-DoomSogT.system.js.map → p-8cuU9AcW.system.js.map} +1 -1
  311. package/dist/twilight/{p-29440936.system.entry.js → p-8e807035.system.entry.js} +2 -2
  312. package/dist/twilight/{p-08b3ea63.system.entry.js → p-8fcff962.system.entry.js} +2 -2
  313. package/dist/twilight/p-9a8a57f0.entry.js +5 -0
  314. package/dist/twilight/{p-1b9e31b1.system.entry.js → p-9cb1a11d.system.entry.js} +2 -2
  315. package/dist/twilight/{p-Chh9LXws.system.js.map → p-B10yx9se.system.js.map} +1 -1
  316. package/dist/twilight/{p-sLrIToFR.system.js.map → p-BKsOE9n5.system.js.map} +1 -1
  317. package/dist/twilight/{p-24T5fnEM.system.js.map → p-BzHfWaAI.system.js.map} +1 -1
  318. package/dist/twilight/{p-C3l3EpVC.system.js.map → p-C0IcnmR-.system.js.map} +1 -1
  319. package/dist/twilight/{p-81UxRwTN.system.js.map → p-C0Tc4qY_.system.js.map} +1 -1
  320. package/dist/twilight/{p-D1othg3r.system.js.map → p-C72wuhae.system.js.map} +1 -1
  321. package/dist/twilight/{p-fkQosYiP.system.js.map → p-CDuCVzYE.system.js.map} +1 -1
  322. package/dist/twilight/{p-YRdrauTw.system.js.map → p-CK7f65RE.system.js.map} +1 -1
  323. package/dist/twilight/{p-9cvlynxW.system.js → p-CQDiSGcm.system.js} +3 -3
  324. package/dist/twilight/p-CQDiSGcm.system.js.map +1 -0
  325. package/dist/twilight/{p-63hxYOEG.system.js.map → p-Crz5Om7F.system.js.map} +1 -1
  326. package/dist/twilight/p-D6vllM1-.system.js.map +1 -0
  327. package/dist/twilight/{p-o3nk7iqR.system.js.map → p-DHIqW0kb.system.js.map} +1 -1
  328. package/dist/twilight/{p-Bl7BRAvB.system.js → p-DHVFvgH-.system.js} +2 -2
  329. package/dist/twilight/{p-Bl7BRAvB.system.js.map → p-DHVFvgH-.system.js.map} +1 -1
  330. package/dist/twilight/{p-Cie2T8Bo.system.js.map → p-DNXP15r0.system.js.map} +1 -1
  331. package/dist/twilight/{p-3etOZ9ok.system.js.map → p-DNsqaxY7.system.js.map} +1 -1
  332. package/dist/twilight/{p-gyc8toCS.system.js.map → p-DTx9WCBY.system.js.map} +1 -1
  333. package/dist/twilight/{p-a3gxDXSb.system.js.map → p-DVKxP5is.system.js.map} +1 -1
  334. package/dist/twilight/p-DVpqfl3D.system.js.map +1 -0
  335. package/dist/twilight/{p-Craz4PUF.system.js.map → p-DZTRKwds.system.js.map} +1 -1
  336. package/dist/twilight/{p-Dohhf_R_.system.js.map → p-DZajWqW2.system.js.map} +1 -1
  337. package/dist/twilight/{p-Uzujt2uQ.system.js.map → p-Da2A-hsX.system.js.map} +1 -1
  338. package/dist/twilight/{p-CbFmk86R.system.js.map → p-DgVuWfs6.system.js.map} +1 -1
  339. package/dist/twilight/p-Dhlfiere.system.js +5 -0
  340. package/dist/twilight/{p-CBqvheHa.system.js.map → p-Dhlfiere.system.js.map} +1 -1
  341. package/dist/twilight/{p-DOCHKq2e.system.js.map → p-DkCrulih.system.js.map} +1 -1
  342. package/dist/twilight/{p-7HslI1sO.system.js.map → p-Du8MMxWf.system.js.map} +1 -1
  343. package/dist/twilight/{p-De28Pl5h.system.js.map → p-DvSX1guT.system.js.map} +1 -1
  344. package/dist/twilight/{p-aC-cHVMV.js → p-Hw2jlaNN.js} +3 -3
  345. package/dist/twilight/p-Hw2jlaNN.js.map +1 -0
  346. package/dist/twilight/{p-DbkDylL6.system.js.map → p-N45BdAU8.system.js.map} +1 -1
  347. package/dist/twilight/{p-cW_hSk8i.js → p-NSLkL4Dn.js} +2 -2
  348. package/dist/twilight/{p-cW_hSk8i.js.map → p-NSLkL4Dn.js.map} +1 -1
  349. package/dist/twilight/{p-BZAlfa8A.system.js.map → p-QNwQUqLM.system.js.map} +1 -1
  350. package/dist/twilight/{p-DobF7Qkv.system.js.map → p-XDYW48AK.system.js.map} +1 -1
  351. package/dist/twilight/{p-75203eae.entry.js → p-a8cf78c0.entry.js} +2 -2
  352. package/dist/twilight/p-a9c9a4ac.entry.js +5 -0
  353. package/dist/twilight/p-a9c9a4ac.entry.js.map +1 -0
  354. package/dist/twilight/{p-65d9d657.entry.js → p-b13ef44c.entry.js} +2 -2
  355. package/dist/twilight/{p-47fc4553.entry.js → p-b492c336.entry.js} +2 -2
  356. package/dist/twilight/{p-b0584206.entry.js → p-b51bb42b.entry.js} +2 -2
  357. package/dist/twilight/{p-3fb416fa.entry.js → p-bb1a0f6b.entry.js} +2 -2
  358. package/dist/twilight/{p-92fb3adc.entry.js → p-bca6b6b2.entry.js} +2 -2
  359. package/dist/twilight/{p-af7ace10.entry.js → p-bdca9c9c.entry.js} +2 -2
  360. package/dist/twilight/p-be2938da.entry.js +5 -0
  361. package/dist/twilight/{p-3438bc0c.entry.js → p-c5b5a947.entry.js} +2 -2
  362. package/dist/twilight/{p-DOHYAySQ.system.js.map → p-cK_8A-PC.system.js.map} +1 -1
  363. package/dist/twilight/{p-BaUsKGrq.system.js.map → p-cR7gWxFU.system.js.map} +1 -1
  364. package/dist/twilight/p-d314110a.system.entry.js +5 -0
  365. package/dist/twilight/p-d314110a.system.entry.js.map +1 -0
  366. package/dist/twilight/{p-8c2a97cf.system.entry.js → p-d33197dc.system.entry.js} +3 -3
  367. package/dist/twilight/{p-2d2fce30.system.entry.js → p-d3c9cfbb.system.entry.js} +2 -2
  368. package/dist/twilight/{p-56628b3c.system.entry.js → p-d4017888.system.entry.js} +2 -2
  369. package/dist/twilight/{p-0e931dd0.system.entry.js → p-d43b5d6a.system.entry.js} +2 -2
  370. package/dist/twilight/{p-a3c00836.entry.js → p-d7604122.entry.js} +2 -2
  371. package/dist/twilight/{p-e5cd34c3.system.entry.js → p-d8039b97.system.entry.js} +2 -2
  372. package/dist/twilight/{p-4a4cad07.system.entry.js → p-db9674c2.system.entry.js} +2 -2
  373. package/dist/twilight/{p-92a2ce11.system.entry.js → p-eb292930.system.entry.js} +2 -2
  374. package/dist/twilight/{p-f9735e19.system.entry.js → p-ec034bd2.system.entry.js} +3 -3
  375. package/dist/twilight/{p-2f85174e.system.entry.js → p-f07ad750.system.entry.js} +2 -2
  376. package/dist/twilight/{p-939b203a.system.entry.js → p-f0b1ceef.system.entry.js} +2 -2
  377. package/dist/twilight/p-f5aefbca.system.entry.js +5 -0
  378. package/dist/twilight/{p-7e1c3fd9.entry.js → p-fb399776.entry.js} +2 -2
  379. package/dist/twilight/{p-5054fc18.entry.js → p-fe81524d.entry.js} +2 -2
  380. package/dist/twilight/p-fed7a7a5.system.entry.js +5 -0
  381. package/dist/twilight/{p-BSHk_PNC.system.js.map → p-jx7CG3rj.system.js.map} +1 -1
  382. package/dist/twilight/{p-DFTLMdWL.system.js.map → p-lRCsnz7i.system.js.map} +1 -1
  383. package/dist/twilight/p-oqUqe5ch.system.js.map +1 -0
  384. package/dist/twilight/{p-B-6fJi1f.system.js.map → p-xRJ6wvh1.system.js.map} +1 -1
  385. package/dist/twilight/salla-accordion.salla-accordion-body.salla-accordion-head.salla-order-details-options.entry.esm.js.map +1 -0
  386. package/dist/twilight/salla-order-details-multiple-bundle-product.entry.esm.js.map +1 -0
  387. package/dist/twilight/salla-order-details.entry.esm.js.map +1 -0
  388. package/dist/twilight/twilight.esm.js +1 -1
  389. package/dist/twilight/twilight.js +1 -1
  390. package/dist/types/components/salla-accordion/salla-accordion.d.ts +2 -0
  391. package/dist/types/components/salla-order-details/interfaces.d.ts +55 -0
  392. package/dist/types/components/salla-order-details/salla-order-details-multiple-bundle-product.d.ts +22 -0
  393. package/dist/types/components/salla-order-details/salla-order-details-options.d.ts +23 -0
  394. package/dist/types/components/salla-order-details/salla-order-details.d.ts +14 -0
  395. package/dist/types/components.d.ts +173 -0
  396. package/package.json +5 -5
  397. package/dist/cjs/index-CxIOfeMA.js.map +0 -1
  398. package/dist/cjs/salla-accordion-body.cjs.entry.js +0 -23
  399. package/dist/cjs/salla-accordion-body.cjs.entry.js.map +0 -1
  400. package/dist/cjs/salla-accordion-body.entry.cjs.js.map +0 -1
  401. package/dist/cjs/salla-accordion-head.cjs.entry.js +0 -52
  402. package/dist/cjs/salla-accordion-head.cjs.entry.js.map +0 -1
  403. package/dist/cjs/salla-accordion-head.entry.cjs.js.map +0 -1
  404. package/dist/cjs/salla-accordion.cjs.entry.js +0 -51
  405. package/dist/cjs/salla-accordion.cjs.entry.js.map +0 -1
  406. package/dist/cjs/salla-accordion.entry.cjs.js.map +0 -1
  407. package/dist/esm/index-aC-cHVMV.js.map +0 -1
  408. package/dist/esm/salla-accordion-body.entry.js +0 -21
  409. package/dist/esm/salla-accordion-body.entry.js.map +0 -1
  410. package/dist/esm/salla-accordion-head.entry.js +0 -50
  411. package/dist/esm/salla-accordion-head.entry.js.map +0 -1
  412. package/dist/esm/salla-accordion.entry.js +0 -49
  413. package/dist/esm/salla-accordion.entry.js.map +0 -1
  414. package/dist/esm-es5/index-aC-cHVMV.js.map +0 -1
  415. package/dist/esm-es5/salla-accordion-body.entry.js +0 -5
  416. package/dist/esm-es5/salla-accordion-body.entry.js.map +0 -1
  417. package/dist/esm-es5/salla-accordion-head.entry.js +0 -5
  418. package/dist/esm-es5/salla-accordion-head.entry.js.map +0 -1
  419. package/dist/esm-es5/salla-accordion.entry.js +0 -5
  420. package/dist/esm-es5/salla-accordion.entry.js.map +0 -1
  421. package/dist/twilight/p-03f5a937.entry.js +0 -5
  422. package/dist/twilight/p-0443edb2.entry.js +0 -5
  423. package/dist/twilight/p-0443edb2.entry.js.map +0 -1
  424. package/dist/twilight/p-3b207dc4.system.entry.js +0 -5
  425. package/dist/twilight/p-3e82f611.entry.js +0 -5
  426. package/dist/twilight/p-3e82f611.entry.js.map +0 -1
  427. package/dist/twilight/p-61471a8d.system.entry.js +0 -5
  428. package/dist/twilight/p-61471a8d.system.entry.js.map +0 -1
  429. package/dist/twilight/p-6943af29.system.entry.js +0 -5
  430. package/dist/twilight/p-6943af29.system.entry.js.map +0 -1
  431. package/dist/twilight/p-8d02af0b.system.entry.js +0 -5
  432. package/dist/twilight/p-98ca67d7.entry.js +0 -5
  433. package/dist/twilight/p-9b7b035c.entry.js +0 -5
  434. package/dist/twilight/p-9b7b035c.entry.js.map +0 -1
  435. package/dist/twilight/p-9cvlynxW.system.js.map +0 -1
  436. package/dist/twilight/p-B6pAHU4P.system.js.map +0 -1
  437. package/dist/twilight/p-CBqvheHa.system.js +0 -5
  438. package/dist/twilight/p-D74Dhmc1.system.js.map +0 -1
  439. package/dist/twilight/p-QCD41AKz.system.js.map +0 -1
  440. package/dist/twilight/p-a5b4c38f.system.entry.js +0 -5
  441. package/dist/twilight/p-aC-cHVMV.js.map +0 -1
  442. package/dist/twilight/p-b1f25cb5.system.entry.js +0 -5
  443. package/dist/twilight/p-e1a599fb.system.entry.js +0 -5
  444. package/dist/twilight/p-e1a599fb.system.entry.js.map +0 -1
  445. package/dist/twilight/salla-accordion-body.entry.esm.js.map +0 -1
  446. package/dist/twilight/salla-accordion-head.entry.esm.js.map +0 -1
  447. package/dist/twilight/salla-accordion.entry.esm.js.map +0 -1
  448. /package/dist/twilight/{p-04b3d375.entry.js.map → p-0065a55b.entry.js.map} +0 -0
  449. /package/dist/twilight/{p-6a16b86d.system.entry.js.map → p-05cf8f0f.system.entry.js.map} +0 -0
  450. /package/dist/twilight/{p-8d02af0b.system.entry.js.map → p-066a5e95.system.entry.js.map} +0 -0
  451. /package/dist/twilight/{p-342eda73.entry.js.map → p-0a58ecb2.entry.js.map} +0 -0
  452. /package/dist/twilight/{p-1d08e23e.system.entry.js.map → p-0ab8c50f.system.entry.js.map} +0 -0
  453. /package/dist/twilight/{p-3407c5ef.entry.js.map → p-13efdbe3.entry.js.map} +0 -0
  454. /package/dist/twilight/{p-94b99a34.entry.js.map → p-13f1a287.entry.js.map} +0 -0
  455. /package/dist/twilight/{p-e29eb090.system.entry.js.map → p-15c42251.system.entry.js.map} +0 -0
  456. /package/dist/twilight/{p-09117f81.system.entry.js.map → p-17567b38.system.entry.js.map} +0 -0
  457. /package/dist/twilight/{p-21c35fec.entry.js.map → p-204e0ad2.entry.js.map} +0 -0
  458. /package/dist/twilight/{p-d01c0575.entry.js.map → p-210ccdae.entry.js.map} +0 -0
  459. /package/dist/twilight/{p-9c2bf5c2.entry.js.map → p-240b86ef.entry.js.map} +0 -0
  460. /package/dist/twilight/{p-18bd19bd.entry.js.map → p-27206d63.entry.js.map} +0 -0
  461. /package/dist/twilight/{p-779536eb.entry.js.map → p-35dd7512.entry.js.map} +0 -0
  462. /package/dist/twilight/{p-fabacea5.system.entry.js.map → p-38675c42.system.entry.js.map} +0 -0
  463. /package/dist/twilight/{p-4d318ffc.system.entry.js.map → p-3cdd4d44.system.entry.js.map} +0 -0
  464. /package/dist/twilight/{p-56074b1e.entry.js.map → p-3e9ceed0.entry.js.map} +0 -0
  465. /package/dist/twilight/{p-b75d729a.system.entry.js.map → p-447f03b5.system.entry.js.map} +0 -0
  466. /package/dist/twilight/{p-9f75e64f.entry.js.map → p-4b7e613a.entry.js.map} +0 -0
  467. /package/dist/twilight/{p-a94e5163.entry.js.map → p-4d5387e9.entry.js.map} +0 -0
  468. /package/dist/twilight/{p-b9a992c8.system.entry.js.map → p-53fb14d0.system.entry.js.map} +0 -0
  469. /package/dist/twilight/{p-3b207dc4.system.entry.js.map → p-5db51240.system.entry.js.map} +0 -0
  470. /package/dist/twilight/{p-f777295c.system.entry.js.map → p-61f590ca.system.entry.js.map} +0 -0
  471. /package/dist/twilight/{p-9297d5d0.system.entry.js.map → p-6a51cb91.system.entry.js.map} +0 -0
  472. /package/dist/twilight/{p-5dda0431.entry.js.map → p-6abfa7ed.entry.js.map} +0 -0
  473. /package/dist/twilight/{p-8a55a076.entry.js.map → p-6f66faea.entry.js.map} +0 -0
  474. /package/dist/twilight/{p-efcf803a.entry.js.map → p-7187b729.entry.js.map} +0 -0
  475. /package/dist/twilight/{p-49051076.system.entry.js.map → p-765562b8.system.entry.js.map} +0 -0
  476. /package/dist/twilight/{p-70688702.entry.js.map → p-78deca48.entry.js.map} +0 -0
  477. /package/dist/twilight/{p-7f9f9400.system.entry.js.map → p-7dce6627.system.entry.js.map} +0 -0
  478. /package/dist/twilight/{p-0d0836f3.entry.js.map → p-83f6408a.entry.js.map} +0 -0
  479. /package/dist/twilight/{p-b7bb5a85.system.entry.js.map → p-888de4b8.system.entry.js.map} +0 -0
  480. /package/dist/twilight/{p-29440936.system.entry.js.map → p-8e807035.system.entry.js.map} +0 -0
  481. /package/dist/twilight/{p-08b3ea63.system.entry.js.map → p-8fcff962.system.entry.js.map} +0 -0
  482. /package/dist/twilight/{p-98ca67d7.entry.js.map → p-9a8a57f0.entry.js.map} +0 -0
  483. /package/dist/twilight/{p-1b9e31b1.system.entry.js.map → p-9cb1a11d.system.entry.js.map} +0 -0
  484. /package/dist/twilight/{p-75203eae.entry.js.map → p-a8cf78c0.entry.js.map} +0 -0
  485. /package/dist/twilight/{p-65d9d657.entry.js.map → p-b13ef44c.entry.js.map} +0 -0
  486. /package/dist/twilight/{p-47fc4553.entry.js.map → p-b492c336.entry.js.map} +0 -0
  487. /package/dist/twilight/{p-b0584206.entry.js.map → p-b51bb42b.entry.js.map} +0 -0
  488. /package/dist/twilight/{p-3fb416fa.entry.js.map → p-bb1a0f6b.entry.js.map} +0 -0
  489. /package/dist/twilight/{p-92fb3adc.entry.js.map → p-bca6b6b2.entry.js.map} +0 -0
  490. /package/dist/twilight/{p-af7ace10.entry.js.map → p-bdca9c9c.entry.js.map} +0 -0
  491. /package/dist/twilight/{p-03f5a937.entry.js.map → p-be2938da.entry.js.map} +0 -0
  492. /package/dist/twilight/{p-3438bc0c.entry.js.map → p-c5b5a947.entry.js.map} +0 -0
  493. /package/dist/twilight/{p-8c2a97cf.system.entry.js.map → p-d33197dc.system.entry.js.map} +0 -0
  494. /package/dist/twilight/{p-2d2fce30.system.entry.js.map → p-d3c9cfbb.system.entry.js.map} +0 -0
  495. /package/dist/twilight/{p-56628b3c.system.entry.js.map → p-d4017888.system.entry.js.map} +0 -0
  496. /package/dist/twilight/{p-0e931dd0.system.entry.js.map → p-d43b5d6a.system.entry.js.map} +0 -0
  497. /package/dist/twilight/{p-a3c00836.entry.js.map → p-d7604122.entry.js.map} +0 -0
  498. /package/dist/twilight/{p-e5cd34c3.system.entry.js.map → p-d8039b97.system.entry.js.map} +0 -0
  499. /package/dist/twilight/{p-4a4cad07.system.entry.js.map → p-db9674c2.system.entry.js.map} +0 -0
  500. /package/dist/twilight/{p-92a2ce11.system.entry.js.map → p-eb292930.system.entry.js.map} +0 -0
  501. /package/dist/twilight/{p-f9735e19.system.entry.js.map → p-ec034bd2.system.entry.js.map} +0 -0
  502. /package/dist/twilight/{p-2f85174e.system.entry.js.map → p-f07ad750.system.entry.js.map} +0 -0
  503. /package/dist/twilight/{p-939b203a.system.entry.js.map → p-f0b1ceef.system.entry.js.map} +0 -0
  504. /package/dist/twilight/{p-a5b4c38f.system.entry.js.map → p-f5aefbca.system.entry.js.map} +0 -0
  505. /package/dist/twilight/{p-7e1c3fd9.entry.js.map → p-fb399776.entry.js.map} +0 -0
  506. /package/dist/twilight/{p-5054fc18.entry.js.map → p-fe81524d.entry.js.map} +0 -0
  507. /package/dist/twilight/{p-b1f25cb5.system.entry.js.map → p-fed7a7a5.system.entry.js.map} +0 -0
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SallaOrderDetails extends Components.SallaOrderDetails, HTMLElement {}
4
+ export const SallaOrderDetails: {
5
+ prototype: SallaOrderDetails;
6
+ new (): SallaOrderDetails;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,127 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { proxyCustomElement, HTMLElement, h, Fragment, Host } from '@stencil/core/internal/client';
5
+ import { d as defineCustomElement$a } from './salla-accordion2.js';
6
+ import { d as defineCustomElement$9 } from './salla-accordion-body2.js';
7
+ import { d as defineCustomElement$8 } from './salla-accordion-head2.js';
8
+ import { d as defineCustomElement$7 } from './salla-button2.js';
9
+ import { d as defineCustomElement$6 } from './salla-loading2.js';
10
+ import { d as defineCustomElement$5 } from './salla-map2.js';
11
+ import { d as defineCustomElement$4 } from './salla-modal2.js';
12
+ import { d as defineCustomElement$3 } from './salla-order-details-multiple-bundle-product2.js';
13
+ import { d as defineCustomElement$2 } from './salla-order-details-options2.js';
14
+
15
+ const sallaOrderDetailsCss = "";
16
+
17
+ const SallaOrderDetails$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderDetails extends HTMLElement {
18
+ constructor() {
19
+ super();
20
+ this.__registerHost();
21
+ }
22
+ parseOrderDetailsData(newValue) {
23
+ this.parsedOrderDetailsData = newValue;
24
+ if (typeof this.orderDetails === 'string') {
25
+ this.parsedOrderDetailsData = JSON.parse(newValue);
26
+ }
27
+ else {
28
+ this.parsedOrderDetailsData = newValue;
29
+ }
30
+ }
31
+ componentWillLoad() {
32
+ this.parseOrderDetailsData(this.orderDetails);
33
+ console.log('Parent componentWillLoad - parsedOrderDetailsData:', this.parsedOrderDetailsData);
34
+ }
35
+ renderOrderDetailsContent() {
36
+ // Check if we have parsed data
37
+ if (!this.parsedOrderDetailsData) {
38
+ console.warn('No parsedOrderDetailsData available');
39
+ return null;
40
+ }
41
+ return [
42
+ /* Product Options */
43
+ this.parsedOrderDetailsData.options && this.parsedOrderDetailsData.options.length > 0 && (h("salla-order-details-options", { options: this.parsedOrderDetailsData.options })),
44
+ /* Bundle Subproducts */
45
+ this.parsedOrderDetailsData.sub_products &&
46
+ this.parsedOrderDetailsData.sub_products.length > 0 && (h(Fragment, null, h("h2", { class: "s-order-details-bundle-title" }, salla.lang.get('pages.orders.sub_products')), h("div", { class: "s-order-details-bundle-content" }, this.parsedOrderDetailsData.sub_products.map(product => (h("salla-order-details-multiple-bundle-product", { key: product === null || product === void 0 ? void 0 : product.id, productDetails: product })))))),
47
+ ];
48
+ }
49
+ render() {
50
+ return h(Host, { key: 'd76fce6a442aca11f3544a9f101ea4245a9317db', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
51
+ }
52
+ static get watchers() { return {
53
+ "orderDetails": ["parseOrderDetailsData"]
54
+ }; }
55
+ static get style() { return sallaOrderDetailsCss; }
56
+ }, [0, "salla-order-details", {
57
+ "orderDetails": [1, "order-details"],
58
+ "parsedOrderDetailsData": [32]
59
+ }, undefined, {
60
+ "orderDetails": ["parseOrderDetailsData"]
61
+ }]);
62
+ function defineCustomElement$1() {
63
+ if (typeof customElements === "undefined") {
64
+ return;
65
+ }
66
+ const components = ["salla-order-details", "salla-accordion", "salla-accordion-body", "salla-accordion-head", "salla-button", "salla-loading", "salla-map", "salla-modal", "salla-order-details-multiple-bundle-product", "salla-order-details-options"];
67
+ components.forEach(tagName => { switch (tagName) {
68
+ case "salla-order-details":
69
+ if (!customElements.get(tagName)) {
70
+ customElements.define(tagName, SallaOrderDetails$1);
71
+ }
72
+ break;
73
+ case "salla-accordion":
74
+ if (!customElements.get(tagName)) {
75
+ defineCustomElement$a();
76
+ }
77
+ break;
78
+ case "salla-accordion-body":
79
+ if (!customElements.get(tagName)) {
80
+ defineCustomElement$9();
81
+ }
82
+ break;
83
+ case "salla-accordion-head":
84
+ if (!customElements.get(tagName)) {
85
+ defineCustomElement$8();
86
+ }
87
+ break;
88
+ case "salla-button":
89
+ if (!customElements.get(tagName)) {
90
+ defineCustomElement$7();
91
+ }
92
+ break;
93
+ case "salla-loading":
94
+ if (!customElements.get(tagName)) {
95
+ defineCustomElement$6();
96
+ }
97
+ break;
98
+ case "salla-map":
99
+ if (!customElements.get(tagName)) {
100
+ defineCustomElement$5();
101
+ }
102
+ break;
103
+ case "salla-modal":
104
+ if (!customElements.get(tagName)) {
105
+ defineCustomElement$4();
106
+ }
107
+ break;
108
+ case "salla-order-details-multiple-bundle-product":
109
+ if (!customElements.get(tagName)) {
110
+ defineCustomElement$3();
111
+ }
112
+ break;
113
+ case "salla-order-details-options":
114
+ if (!customElements.get(tagName)) {
115
+ defineCustomElement$2();
116
+ }
117
+ break;
118
+ } });
119
+ }
120
+
121
+ const SallaOrderDetails = SallaOrderDetails$1;
122
+ const defineCustomElement = defineCustomElement$1;
123
+
124
+ export { SallaOrderDetails, defineCustomElement };
125
+ //# sourceMappingURL=salla-order-details.js.map
126
+
127
+ //# sourceMappingURL=salla-order-details.js.map
@@ -0,0 +1 @@
1
+ {"file":"salla-order-details.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,EAAE;;MCYlBA,mBAAiB,iBAAAC,kBAAA,CAAA,MAAA,iBAAA,SAAA,WAAA,CAAA;;;;;AAMpB,IAAA,qBAAqB,CAAC,QAA+B,EAAA;AAC3D,QAAA,IAAI,CAAC,sBAAsB,GAAG,QAAwB;AACtD,QAAA,IAAI,OAAO,IAAI,CAAC,YAAY,KAAK,QAAQ,EAAE;YACzC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,KAAK,CAAC,QAAkB,CAAC;;aACvD;AACL,YAAA,IAAI,CAAC,sBAAsB,GAAG,QAAwB;;;IAI1D,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC;QAC7C,OAAO,CAAC,GAAG,CAAC,oDAAoD,EAAE,IAAI,CAAC,sBAAsB,CAAC;;IAGxF,yBAAyB,GAAA;;AAE/B,QAAA,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE;AAChC,YAAA,OAAO,CAAC,IAAI,CAAC,qCAAqC,CAAC;AACnD,YAAA,OAAO,IAAI;;QAGb,OAAO;;AAEL,YAAA,IAAI,CAAC,sBAAsB,CAAC,OAAO,IAAI,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,KACnF,CAAA,CAAA,6BAAA,EAAA,EAA6B,OAAO,EAAE,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAA,CAAI,CAC9E;;YAGD,IAAI,CAAC,sBAAsB,CAAC,YAAY;gBACtC,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,KACjD,CAAA,CAAC,QAAQ,EAAA,IAAA,EACP,CAAA,CAAA,IAAA,EAAA,EAAI,KAAK,EAAC,8BAA8B,EAAA,EACrC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,2BAA2B,CAAC,CACzC,EACL,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,gCAAgC,EACxC,EAAA,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,KACnD,CAAA,CAAA,6CAAA,EAAA,EACE,GAAG,EAAE,OAAO,KAAP,IAAA,IAAA,OAAO,KAAP,MAAA,GAAA,MAAA,GAAA,OAAO,CAAE,EAAE,EAChB,cAAc,EAAE,OAAO,EACvB,CAAA,CACH,CAAC,CACE,CACG,CACZ;SACJ;;IAGH,MAAM,GAAA;AACJ,QAAA,OAAO,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yBAAyB,EAAE,EAAA,IAAI,CAAC,yBAAyB,EAAE,CAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SallaOrderDetails","__stencil_proxyCustomElement"],"sources":["src/components/salla-order-details/salla-order-details.scss?tag=salla-order-details","src/components/salla-order-details/salla-order-details.tsx"],"sourcesContent":["","import { Component, Host, h, Prop, State, Watch, Fragment } from '@stencil/core';\nimport { OrderProduct } from './interfaces';\n\n/**\n * @salla/ui-components\n * The `salla-order-details` component renders a collapsible summary for an order product with optional options list.\n * It uses the salla-accordion component to provide collapsible functionality.\n */\n@Component({\n tag: 'salla-order-details',\n styleUrl: 'salla-order-details.scss',\n})\nexport class SallaOrderDetails {\n @Prop() orderDetails: string | OrderProduct;\n\n @State() parsedOrderDetailsData: OrderProduct;\n\n @Watch('orderDetails')\n private parseOrderDetailsData(newValue: string | OrderProduct) {\n this.parsedOrderDetailsData = newValue as OrderProduct;\n if (typeof this.orderDetails === 'string') {\n this.parsedOrderDetailsData = JSON.parse(newValue as string);\n } else {\n this.parsedOrderDetailsData = newValue as OrderProduct;\n }\n }\n\n componentWillLoad() {\n this.parseOrderDetailsData(this.orderDetails);\n console.log('Parent componentWillLoad - parsedOrderDetailsData:', this.parsedOrderDetailsData);\n }\n\n private renderOrderDetailsContent() {\n // Check if we have parsed data\n if (!this.parsedOrderDetailsData) {\n console.warn('No parsedOrderDetailsData available');\n return null;\n }\n\n return [\n /* Product Options */\n this.parsedOrderDetailsData.options && this.parsedOrderDetailsData.options.length > 0 && (\n <salla-order-details-options options={this.parsedOrderDetailsData.options} />\n ),\n\n /* Bundle Subproducts */\n this.parsedOrderDetailsData.sub_products &&\n this.parsedOrderDetailsData.sub_products.length > 0 && (\n <Fragment>\n <h2 class=\"s-order-details-bundle-title\">\n {salla.lang.get('pages.orders.sub_products')}\n </h2>\n <div class=\"s-order-details-bundle-content\">\n {this.parsedOrderDetailsData.sub_products.map(product => (\n <salla-order-details-multiple-bundle-product\n key={product?.id}\n productDetails={product}\n />\n ))}\n </div>\n </Fragment>\n ),\n ];\n }\n\n render() {\n return <Host class=\"s-order-details-wrapper\">{this.renderOrderDetailsContent()}</Host>;\n }\n}\n"],"version":3}
@@ -93,7 +93,7 @@ const SallaOrderSummary$1 = /*@__PURE__*/ proxyCustomElement(class SallaOrderSum
93
93
  this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
94
94
  }
95
95
  render() {
96
- return (h("ul", { key: '6358d81e74e1fd966b7046deab946f33391b2fc6', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
96
+ return (h("ul", { key: '14eed8e219bcde5b32d5fddb95bb8727e980c56c', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
97
97
  this.order_items.map((item) => (this.isDigitalCard(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, h("p", null, h("span", { innerHTML: iconCreditCard }), h("span", null, code.code)), h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, h("span", { innerHTML: this.codeCopied === code.code ? IconVerified : iconCopy }), h("span", null, this.copy_text))))))) :
98
98
  this.isDigitalProduct(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), h("ul", null, item.files.map((file) => (h("li", { class: "s-order-summary-digital-item-wrapper" }, h("div", null, h("span", { innerHTML: iconFileArchive }), h("span", null, file.name)), h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, h("span", { innerHTML: iconDownload }), h("span", null, this.download_text)))))))) : null))));
99
99
  }
@@ -37,12 +37,12 @@ const SallaPayments$1 = /*@__PURE__*/ proxyCustomElement(class SallaPayments ext
37
37
  render() {
38
38
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
39
39
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
40
- return (h(Host, { key: '6c8a1fd050822882224ee1e419f6f6dbdbfaf12d', class: "s-payments-list-wrap" }, h("ul", { key: '773195024ce6f616ad9b87091c8ddfd0e153f9ec', class: "s-payments-list" }, madeInKSA && h("li", { key: '203bebb61c41ca108c0ec969661d5922db2ac378', class: "s-payments-list-item" }, h("img", { key: 'a687fac0d968f0485a0a59d1205a0f0db1f100f4', class: "lazy", width: "100%", height: "100%", decoding: "async", loading: "lazy", "data-src": salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
40
+ return (h(Host, { key: 'a1a26ba03aa60491071f0e63bac40de3ad91bce6', class: "s-payments-list-wrap" }, h("ul", { key: 'd31ca162e83aade956f45d8f517029942a748646', class: "s-payments-list" }, madeInKSA && h("li", { key: '552e3e57345d01ab33bfd20094cbcf8f702c6efa', class: "s-payments-list-item" }, h("img", { key: '04eb9c9a1950edc9ea3c2e218fbe6c5c21d65f6a', class: "lazy", width: "100%", height: "100%", decoding: "async", loading: "lazy", "data-src": salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
41
41
  h("div", { id: "cod-slot", innerHTML: this.codSlot
42
42
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
43
43
  h("div", { id: "payment-slot", innerHTML: this.paymentSlot
44
44
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
45
- .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'f571920327b81c48f502c1d6e497955978634c08', id: "sbc-slot", innerHTML: this.sbcSlot
45
+ .replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '5f69b3c936edf8039006d6ecd73e3c44b74b9167', id: "sbc-slot", innerHTML: this.sbcSlot
46
46
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
47
47
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
48
48
  }
@@ -42,7 +42,7 @@ const SallaPlaceholder = /*@__PURE__*/ proxyCustomElement(class SallaPlaceholder
42
42
  };
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'acb6642e7f779ba048e881e65878611b1dda2702', class: this.alignmentClass() }, h("div", { key: '70d55c63af102a43ac9c10d6e445914b32f2cf06', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: 'db4cc0f4ba68b6ed4348fb1832428934414dab3e', class: "s-placeholder-title" }, h("slot", { key: '78b8b541ed88c8ebcd977ed9c5df723a342e55a6', name: 'title' }, h("span", { key: '5135e05ed931e03bdd1f405801367c0ff03cd7f0' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '8091b48019b63f31dec562fc4a02954692ff564b', class: "s-placeholder-description" }, h("slot", { key: 'af35c54093925cf42f37f26dc4b1378042ff345e', name: 'description' }, h("span", { key: 'd3a9b2715f09872b73d293c2ce5d3129120d44b9' }, salla.lang.get('common.errors.empty_results'))))));
45
+ return (h(Host, { key: 'fe8c3b4958319a69bedc23c4edd7e5e9db820301', class: this.alignmentClass() }, h("div", { key: '727c7f934c9dbc5fb5cdfba7f563855162fa3a23', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '6c61798f5af682c078f4536fd88af14c241bc009', class: "s-placeholder-title" }, h("slot", { key: '6bd403b5402ff34b69615ad94fce85516b0fe79d', name: 'title' }, h("span", { key: 'beef08e2f61e1328f15afa9b895302c235022f91' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '50fea21d9fcc09a3478beb31e9e876ed7726b704', class: "s-placeholder-description" }, h("slot", { key: 'de0f6916c65c2a2c97ea3ee3fa16d6fdbeebe90a', name: 'description' }, h("span", { key: '3f6621dc6d2f19b1c5e8f55f9f2cc4b0b622bbcc' }, salla.lang.get('common.errors.empty_results'))))));
46
46
  }
47
47
  static get style() { return sallaPlaceholderCss; }
48
48
  }, [4, "salla-placeholder", {
@@ -160,9 +160,9 @@ const SallaPriceRange = /*@__PURE__*/ proxyCustomElement(class SallaPriceRange e
160
160
  this.maxPrice = value === undefined ? '' : value;
161
161
  }
162
162
  render() {
163
- return (h(Host, { key: 'e257e65621d724438fd4fdd74cdec45596a81cd0' }, this.filterValues.map((filterValue, index) => {
163
+ return (h(Host, { key: 'dc09f4be81c3652da570b522894917f6b70faf61' }, this.filterValues.map((filterValue, index) => {
164
164
  return h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index}`, key: index }, h("input", { id: `${this.option.key}-${index}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), h("span", { innerHTML: this.getPriceLabel(filterValue) }));
165
- }), h("div", { key: '097faf8d72b3c441bc22041a5643f91f61bbdd40', class: "flex justify-center items-center" }, h("div", { key: '6adaa2b16c015de4ab5e254d4a9be05bb65b7848', class: "relative max-w-xl w-full" }, h("div", { key: '3667d98c1e0886fc31600d23dd5a41a18d5ff8d0', class: "s-price-range-inputs" }, h("div", { key: '98fdc0fdc9632318daa4664d4798154a17fe700a', class: "s-price-range-relative" }, h("div", { key: 'addd7b56c1e2496dba50db7ec320f8f5ea129d42', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'd36e129fd777ccfe30cf8d974dd96cf82e64c805', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: 'b1fcc176d31d724c646291262e42c6a74e75f299', class: "s-price-range-gray-text" }, " -"), h("div", { key: '93db8728b9f118be78549c6839a4d85d4664a3dc', class: "s-price-range-relative" }, h("div", { key: '7b63ca0ffd946d34549768bf87876868842478a4', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'ba005f3834bc2179e1346cae746b7c734abaf0dd', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '74283ca210bf2f85a4e5d7dde69372e55453a5a5', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '04600f026e465f96f98d54841e8c7bd7d1c849bd', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
165
+ }), h("div", { key: '97f20e2bcff15d906dc5566a7f147339e4423138', class: "flex justify-center items-center" }, h("div", { key: '4c631a9f5c77890bcffd365db6dab471ba989246', class: "relative max-w-xl w-full" }, h("div", { key: '3e4c53b29c4e6fa90eba1a23f646d8391b1ce462', class: "s-price-range-inputs" }, h("div", { key: '6bb515095db500d78c5cc22f2bd25635d157793d', class: "s-price-range-relative" }, h("div", { key: '59617a36c7095a0766155521afb20d517fc5321a', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'bc1ae88ba28bcc11a7373cad13cdd2104646023b', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '49e12143570efe2f019e9a3240f9d1c184482f9c', class: "s-price-range-gray-text" }, " -"), h("div", { key: '1e61ef602dbb0f1622bbd7279f15b5ef71d0f2db', class: "s-price-range-relative" }, h("div", { key: '5aac7489a79f52156f382e0e4e181b6d0a8e5fb3', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '104a3ce0be1d461715fdc6a29d0df33a8a378ad3', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '2e722552816b6ceabf030d596fac580e1fa8d41a', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '6f41a0dfa95c9910ab5d17e98ba815444fab8cca', innerHTML: this.isRTL ? IconArrowLeft : arrowRight })))))));
166
166
  }
167
167
  componentDidLoad() {
168
168
  this.isReady = true;
@@ -141,7 +141,7 @@ const SallaProductAvailability = /*@__PURE__*/ proxyCustomElement(class SallaPro
141
141
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
142
142
  }
143
143
  render() {
144
- return (h(Host, { key: '8b90efc3117090e3e291f57c6976cdda1bf9360e', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
144
+ return (h(Host, { key: '0dc32b09e3916993a31ce6e27d9cefd81dd56289', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
145
145
  ? h("div", { class: "s-product-availability-subscribed" }, h("span", { innerHTML: BellRing, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
146
146
  :
147
147
  h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
@@ -112,14 +112,14 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
112
112
  's-product-card-out-of-stock': (_b = this.productData) === null || _b === void 0 ? void 0 : _b.is_out_of_stock,
113
113
  };
114
114
  const hrefProp = ((_c = this.productData) === null || _c === void 0 ? void 0 : _c.url) ? { href: this.productData.url, title: `Learn more about ${(_d = this.productData) === null || _d === void 0 ? void 0 : _d.name}` } : {};
115
- return (h(Host, { key: 'b104d39f313e253281144add69c1fbd16de31016', id: `product-${(_e = this.productData) === null || _e === void 0 ? void 0 : _e.id}`, class: classes }, h("div", { key: '140fd0e19e59d95e0bd432e96bdb5bda22a0e5fc', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", Object.assign({ key: '9eb0b1e7992e5e9e6103409c6089e0ef0d3e583e' }, hrefProp), h("img", { key: 'ce84db34de3a0e127458ea72ac67fafdd2c40cf2', class: `s-product-card-image-${salla.url.is_placeholder((_g = (_f = this.productData) === null || _f === void 0 ? void 0 : _f.image) === null || _g === void 0 ? void 0 : _g.url)
115
+ return (h(Host, { key: '80743147fd154496018ff530e3c84b2f66cf2985', id: `product-${(_e = this.productData) === null || _e === void 0 ? void 0 : _e.id}`, class: classes }, h("div", { key: 'ecf4f7838db5d38bc355d8730c3eb10dd04aedc4', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", Object.assign({ key: 'db0198934b449152c88d23f8adc71ec212761e2a' }, hrefProp), h("img", { key: 'f80856aacb8861e68ef0dfbe43aeb22d422920f9', class: `s-product-card-image-${salla.url.is_placeholder((_g = (_f = this.productData) === null || _f === void 0 ? void 0 : _f.image) === null || _g === void 0 ? void 0 : _g.url)
116
116
  ? 'contain'
117
117
  : this.fitImageHeight
118
118
  ? this.fitImageHeight
119
- : 'cover'} lazy`, src: this.placeholder, alt: ((_j = (_h = this.productData) === null || _h === void 0 ? void 0 : _h.image) === null || _j === void 0 ? void 0 : _j.alt) || ((_k = this.productData) === null || _k === void 0 ? void 0 : _k.name), "data-src": ((_m = (_l = this.productData) === null || _l === void 0 ? void 0 : _l.image) === null || _m === void 0 ? void 0 : _m.url) || ((_o = this.productData) === null || _o === void 0 ? void 0 : _o.thumbnail) }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", Object.assign({ key: 'd2aa2c8aeb964acb3d8fd557dd741304f24a0c62' }, hrefProp, { class: "s-product-card-overlay" })), !this.horizontal && !this.fullImage ?
120
- h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, h("span", { innerHTML: Heart })) : ''), h("div", { key: 'c18bdd0b7e44188107973da15ecbe312984a2d42', class: "s-product-card-content" }, this.isSpecial && ((_p = this.productData) === null || _p === void 0 ? void 0 : _p.quantity) ?
119
+ : 'cover'} lazy`, src: this.placeholder, alt: ((_j = (_h = this.productData) === null || _h === void 0 ? void 0 : _h.image) === null || _j === void 0 ? void 0 : _j.alt) || ((_k = this.productData) === null || _k === void 0 ? void 0 : _k.name), "data-src": ((_m = (_l = this.productData) === null || _l === void 0 ? void 0 : _l.image) === null || _m === void 0 ? void 0 : _m.url) || ((_o = this.productData) === null || _o === void 0 ? void 0 : _o.thumbnail) }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", Object.assign({ key: '7ce28a0b764367d51c8b351793509490cfd1e658' }, hrefProp, { class: "s-product-card-overlay" })), !this.horizontal && !this.fullImage ?
120
+ h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, h("span", { innerHTML: Heart })) : ''), h("div", { key: 'b4f68d13d035d7de2fab28e6f2c0d026d46d8901', class: "s-product-card-content" }, this.isSpecial && ((_p = this.productData) === null || _p === void 0 ? void 0 : _p.quantity) ?
121
121
  h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number((_q = this.productData) === null || _q === void 0 ? void 0 : _q.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
122
- : '', h("div", { key: 'a397fa2a22942f438abd2b168ad9b21e7272651b', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: 'caa67ecec2f2a2e609868b8be76f6c9160b26ef6', class: "s-product-card-content-title" }, h("a", Object.assign({ key: '4e93a58148a54149d50050226b66e0247049ba5d' }, hrefProp), (_r = this.productData) === null || _r === void 0 ? void 0 : _r.name)), ((_s = this.productData) === null || _s === void 0 ? void 0 : _s.subtitle) && !this.minimal ?
122
+ : '', h("div", { key: '2259cecd4157e62a382d95cb6facde5b73eca1af', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '5b5ec545eb44fefdde1d4e2632b4e55baa86260c', class: "s-product-card-content-title" }, h("a", Object.assign({ key: '9afa68bf465f9c18e304ee462037df0999426696' }, hrefProp), (_r = this.productData) === null || _r === void 0 ? void 0 : _r.name)), ((_s = this.productData) === null || _s === void 0 ? void 0 : _s.subtitle) && !this.minimal ?
123
123
  h("p", { class: "s-product-card-content-subtitle" }, (_t = this.productData) === null || _t === void 0 ? void 0 : _t.subtitle)
124
124
  : ''), ((_u = this.productData) === null || _u === void 0 ? void 0 : _u.donation) && !this.minimal && !this.fullImage ?
125
125
  [h("salla-progress-bar", { donation: (_v = this.productData) === null || _v === void 0 ? void 0 : _v.donation }), h("div", { class: "s-product-card-donation-input" }, ((_x = (_w = this.productData) === null || _w === void 0 ? void 0 : _w.donation) === null || _x === void 0 ? void 0 : _x.can_donate) ?
@@ -128,7 +128,7 @@ const SallaProductCard = /*@__PURE__*/ proxyCustomElement(class SallaProductCard
128
128
  this.addBtn.donatingAmount = e.target.value;
129
129
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
130
130
  : '')]
131
- : '', h("div", { key: '0fc0798a62cbef69503e4ad610708a56e40d7330', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), ((_z = (_y = this.productData) === null || _y === void 0 ? void 0 : _y.rating) === null || _z === void 0 ? void 0 : _z.stars) && !this.minimal ?
131
+ : '', h("div", { key: '7dc9364b456583bbb0a063038eadb971d68d33a1', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), ((_z = (_y = this.productData) === null || _y === void 0 ? void 0 : _y.rating) === null || _z === void 0 ? void 0 : _z.stars) && !this.minimal ?
132
132
  h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Rate }), h("span", null, this.productData.rating.stars))
133
133
  : ''), this.isSpecial && this.productData.discount_ends
134
134
  ? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -60,11 +60,11 @@ const SallaProductSizeGuide$1 = /*@__PURE__*/ proxyCustomElement(class SallaProd
60
60
  return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
61
61
  }
62
62
  render() {
63
- return (h("salla-modal", { key: '19fb9060d2a798457a8b04a1be4ac930b8f019d0', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '5d8b451a1ea75428bd14c4f1a78512ecf3706b64', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '4c20d4486c69acafd372346c6af14fec4921b4c2', slot: "loading" }, h("div", { key: '00525e4d2aed130a47e2cc84d6a3ddb42b183563', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '544e03854174f02d593dc4277a987699464a58c8', height: '15px', width: '25%' }), h("div", { key: '9308ca067aed6c5cd89380eed422842aedd6176a', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '394b991b5d67e6509df0fc9b40a76db277aec1ce', height: '40px' }), h("salla-skeleton", { key: '5ce9112b3b0f401e13405dafd559ccf51653610d', height: '40px' }), h("salla-skeleton", { key: 'a0df6462256ded34dfbb0b245aaa7cc15b0c25a9', height: '40px' }), h("salla-skeleton", { key: '8e4df4b93c4695b4135c38af28e2e63e9483f687', height: '40px' })), h("div", { key: 'f35d925ef8c3cd81afcfdf5f9718688978ffd52e', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '345a91da85b0907cba5e98fe71a5ea5b4fae6410', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'e99ec4ef51a3d08955cc3f51ea043101b5265848', height: '10px', width: '75%' }), h("salla-skeleton", { key: '190777f777e8c6cfa9e9b195e7208e809e0e0951', height: '10px', width: '50%' }), h("salla-skeleton", { key: '6201fd43a5be203d62e19414de7d8c9866de1b5f', height: '10px', width: '75%' }), h("salla-skeleton", { key: '4ff1f084b86c57ead7bb037925ba1b24531197fe', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'dae157d70092948423d6611169e1618c7cd4f4d8', height: '10px', width: '25%' }), h("salla-skeleton", { key: 'd9636141df732d39171fb8053f83d4b321497928', height: '10px', width: '60%' }), h("salla-skeleton", { key: '664228d0b715b2b9fb6ce45969bbe5cdc2bf05af', height: '10px', width: '45%' }), h("salla-skeleton", { key: '62e13c6b0489b5549b6110f79c82cd3b710ba688', height: '10px', width: '30%' })))), h("slot", { key: '43360f6f37819c26ba5c79a8795d64d283b6a985', name: "header" }), !this.hasError && !!this.guides ?
63
+ return (h("salla-modal", { key: 'e92e648a22d686acde12a13c08335ed3a601e5d0', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '6131b840918392e03dc9011b7c23e81cb4b9ff36', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '7d7a998886ae6db08057825eae7b2835f73a8ae4', slot: "loading" }, h("div", { key: '518a9e510085c13c9361f656eb26dcec8ae8455d', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '65a92119d1b5f9462dd826a838ee6042075d406a', height: '15px', width: '25%' }), h("div", { key: '3cb1034e05756d34d0e9e41a2d4e8f4bd6d925bd', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: 'c66e517e8186c83c5bc847a4df87fab31c7f7dbb', height: '40px' }), h("salla-skeleton", { key: '263ae7fde377e75a56d8aa37e814882ac0e9e772', height: '40px' }), h("salla-skeleton", { key: '9f226f26ab6eb1b36cde6cbaedb669d4c034f0a9', height: '40px' }), h("salla-skeleton", { key: 'b5ade5bbaa60f330944c2e868bb9032ef3697bed', height: '40px' })), h("div", { key: 'c0f1d73376efcce4b32fc268c297755c2fc4124e', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: 'd3bc5ffef7ca7b2b46b3a320706fa9f82caf9eed', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'f4a9872abfd909796239032757ee0f24f17fb079', height: '10px', width: '75%' }), h("salla-skeleton", { key: '92f22b9609c9a828c88035edf4b5e765fb5040de', height: '10px', width: '50%' }), h("salla-skeleton", { key: '58c7dc5c2f70ed6454b0f41c21bdf245fe412be3', height: '10px', width: '75%' }), h("salla-skeleton", { key: 'b6a6d2585848f125533614c7bbd741bf30121cc3', height: '10px', width: '100%' }), h("salla-skeleton", { key: '271c7052e3b23d4876c65fa5427ace8b47fd26d9', height: '10px', width: '25%' }), h("salla-skeleton", { key: 'b0618e943218f639eb0be368098f8903fecd939f', height: '10px', width: '60%' }), h("salla-skeleton", { key: 'b4e86e51443897ba56a594be2e92c2dbb53f9a9b', height: '10px', width: '45%' }), h("salla-skeleton", { key: '79e8eb1ed011e9fa22b569eda7be7e50135bef7e', height: '10px', width: '30%' })))), h("slot", { key: '62425e2436d2fee89c66e4b3ea66752bbc407616', name: "header" }), !this.hasError && !!this.guides ?
64
64
  [
65
65
  h("salla-tabs", null, this.guides.map((guide) => h("salla-tab-header", { slot: "header", name: guide.name }, h("span", null, guide.name))), this.guides.map((guide) => h("salla-tab-content", { slot: "content", name: guide.name }, h("div", { innerHTML: guide.description }))))
66
66
  ]
67
- : this.showPlaceholder(), h("slot", { key: 'afead6b5698c439c78e63ad564cf3971f93336df', name: "footer" })));
67
+ : this.showPlaceholder(), h("slot", { key: '6c939d70100e2353436e962d9bd5a9c5f59788e5', name: "footer" })));
68
68
  }
69
69
  get host() { return this; }
70
70
  static get style() { return sallaProductSizeGuideCss; }
@@ -84,7 +84,7 @@ const SallaQuantityInput$1 = /*@__PURE__*/ proxyCustomElement(class SallaQuantit
84
84
  return this.host;
85
85
  }
86
86
  render() {
87
- return (h(Host, { key: '3f5aa589afd8d1044064bad5d6dc215cf08e1845', class: "s-quantity-input" }, h("div", { key: 'b7cea22f5fce6dc021b8de6aaf02d45e83696489', class: "s-quantity-input-container" }, h("button", { key: '9f0f917b065032c4d136594980849028163680de', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button" }, !this.hasIncrementSlot ? h("span", { innerHTML: Add }) : '', h("slot", { key: 'b6d03c3bed40293e47e6ee00d3b6947172ac19c9', name: "increment-button" })), h("input", Object.assign({ key: '5b0be9e137a5e854a940b7911a64752f7caf78c8', class: "s-quantity-input-input" }, this.getInputAttributes(), { ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), min: "1", value: this.quantity })), h("button", { key: 'e614c1919461fe9edb6aec078139607eb512d59e', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button" }, !this.hasDecrementSlot ? h("span", { innerHTML: Minus }) : '', h("slot", { key: '19c97a9d8455e947e642c560ccaf0c3ce2a5ae30', name: "decrement-button" })))));
87
+ return (h(Host, { key: '3d641a0813512c3ff22e32275dfd709df934e1f1', class: "s-quantity-input" }, h("div", { key: '2682491a551bcff31f07904566f3a2331d3c0240', class: "s-quantity-input-container" }, h("button", { key: '3b5b2551624628dfb98a41a4a1984749290b9c3c', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button" }, !this.hasIncrementSlot ? h("span", { innerHTML: Add }) : '', h("slot", { key: 'a1263ebcd7fa9fdb5b347e6eef3fe339bae6581a', name: "increment-button" })), h("input", Object.assign({ key: '7e91e2e4d26ee97bca0435351d68f4f456245429', class: "s-quantity-input-input" }, this.getInputAttributes(), { ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), min: "1", value: this.quantity })), h("button", { key: '247d8b99d613ef6117f40685f5f0b899cde19102', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button" }, !this.hasDecrementSlot ? h("span", { innerHTML: Minus }) : '', h("slot", { key: 'f59b44ec67c071f36a4885728d5095a2a8e01d85', name: "decrement-button" })))));
88
88
  }
89
89
  get host() { return this; }
90
90
  static get watchers() { return {
@@ -898,7 +898,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
898
898
  });
899
899
  }
900
900
  render() {
901
- return h(Host, { key: 'ee1983709e9a97d881cadfce388e7a999a867b64' }, this.quickBuyButton());
901
+ return h(Host, { key: 'f6c7ae2cc1b0b67b1bc85a95602cda238dab6192' }, this.quickBuyButton());
902
902
  }
903
903
  quickBuyButton() {
904
904
  return h("apple-pay-button", { locale: salla.config.get('user.language_code'), onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -181,7 +181,7 @@ const SallaReviewCard = /*@__PURE__*/ proxyCustomElement(class SallaReviewCard e
181
181
  }
182
182
  render() {
183
183
  var _a;
184
- return h("div", { key: '8797bb6b8123ab8a8d4536eb990dcde15e1ddd06', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'b2b3bdc4e8a63aae9103eca5274003b49d4bf19e', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '0e64b3fe2ae5e59a1899515c04063f74b9828001', class: "s-review-card-review-content", innerHTML: (_a = this.review) === null || _a === void 0 ? void 0 : _a.content }), renderDivider(), this.renderProductInfo()));
184
+ return h("div", { key: '22c0b4997b5eaa3eee23c642aa8fc778cff7fd22', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'db1391a8d4ddad808f54551b39d9bfeb55466225', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '4c6e9af60e480f5c9f840e7ba95f7c59ba12e172', class: "s-review-card-review-content", innerHTML: (_a = this.review) === null || _a === void 0 ? void 0 : _a.content }), renderDivider(), this.renderProductInfo()));
185
185
  }
186
186
  get el() { return this; }
187
187
  static get style() { return sallaReviewCardCss; }
@@ -688,7 +688,7 @@ const SallaReviewsPage$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviewsPa
688
688
  }
689
689
  render() {
690
690
  var _a, _b;
691
- return (h("host", { key: '2108b6bebdc8a651705e45d169fb10127c3c215e' }, h("div", { key: '84972824884151462a1040bdc53c334b733cd7fb', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '80905de0950443f7e2b1c28d63bcb7f3fa47dc0c', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'd51385e66a1dee802786b50d063501b6397ce345', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '2fc74d0b61d0377f0d14a5fd15a4d852e6850932', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '8d1363a2b2f6722f1c56445b5ba33a98f241b106', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'eb27d82e25fa609b25d5ca825381285c0a40cc5b', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
691
+ return (h("host", { key: 'f3b06307322a56ad320374a50e13161be4e7cc8a' }, h("div", { key: '3dcabdae4ee87de5c62873f327657991a56bc0e1', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '61bca34f24c52440fd8f736f9a6ab2b37be65c34', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'c29228eaa51e9c202c6031e5f69b95905aa5485a', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '81f964be39231e21cd7c994e7e241e755af54c86', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'd408952ef5ffba3bedd5e01b5c6edec1aeb34f28', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '5138fdf478aed6fea544dd1adf4d32f715f89532', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
692
692
  this.wrapper = el;
693
693
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
694
694
  : h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), ((_b = (_a = this.pagination) === null || _a === void 0 ? void 0 : _a.links) === null || _b === void 0 ? void 0 : _b.next) && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => { var _a; return (_a = this.infiniteScroll) === null || _a === void 0 ? void 0 : _a.loadNextPage(); }, onKeyUp: () => { var _a; return (_a = this.infiniteScroll) === null || _a === void 0 ? void 0 : _a.loadNextPage(); } }, this.langLoadMore))) : null));
@@ -98,7 +98,7 @@ const SallaReviews$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviews exten
98
98
  });
99
99
  }
100
100
  render() {
101
- return (h("div", { key: '0ea9cab5b1f9d4d2b6b74cec987f24c858191217', class: "s-reviews-container" }, h("div", { key: '6f17c3033b419b2eaf01f6dc858a4b7ce23bd2c4', class: "s-reviews-header-wrapper" }, h("h1", { key: '1e043cca8a56542a297449e3ff5d3e52c93e0997', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { key: 'b5aee5d359c8604a5570991f2a7801b651d8321d', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: '98428b4fde7a2c81567d387c93a9b87ef3245923', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
101
+ return (h("div", { key: 'deed3cdbac9556908c110d96935d6478996caf99', class: "s-reviews-container" }, h("div", { key: '3646aa3266c29d1f371cf3acedaedc726f7e6bac', class: "s-reviews-header-wrapper" }, h("h1", { key: '0a47642eea4e162173374f0a1340fd3068165d30', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { key: '71b0e1f246172b5ea042f7a4dcdc351190a3de3c', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: '50b9ac94feca79ed29d85bfcf4808b0849e4f933', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
102
102
  }
103
103
  static get style() { return sallaReviewsCss; }
104
104
  }, [0, "salla-reviews", {
@@ -174,7 +174,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class SallaScopees extends
174
174
  }
175
175
  render() {
176
176
  var _a, _b, _c, _d;
177
- return (h(Host, { key: '461b2b795372ae1b8f5f4974ec12d9eec65955e6' }, h("salla-modal", { key: '68c6bb5432a7a8301c49f9b8a729f2914fe446f9', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
177
+ return (h(Host, { key: '23748ef5243efc8a5ff9070043ddc507fe817fad' }, h("salla-modal", { key: '3ccb5b554df266e49d4f774e26dd7306dce9b249', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
178
178
  h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' }))))
179
179
  :
180
180
  [h("salla-list-tile", { class: ((_a = this.originalScopesList) === null || _a === void 0 ? void 0 : _a.length) ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!((_b = this.originalScopesList) === null || _b === void 0 ? void 0 : _b.length) && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), ((_c = this.originalScopesList) === null || _c === void 0 ? void 0 : _c.length) > this.searchDisplayLimit ?
@@ -130,13 +130,13 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
130
130
  }
131
131
  render() {
132
132
  var _a;
133
- const searchContent = h("div", { key: 'a8e02a35996b07c146fbc1e574428e6478badbd1', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, h("div", { key: 'f9bc945e7727d878c6252afc2dfcc5a8450bd558', class: "s-search-input-wrapper" }, h("span", { key: '61973e1e4e06054d7662b89c12d017c9499bbf94', class: "s-search-icon-wrap" }, h("span", { key: '0d2964348a364c69cbbe9763d66ada387713b505', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '5c819913d98115f9a2d9168f4dd34e78cca530b0', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), this.showAction ?
134
- h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search })) : null), h("div", { key: '7c0a2360f1e327b496d5b9cbbc425f171a1f3a0d', class: "s-search-results" }, (_a = this.results) === null || _a === void 0 ? void 0 :
133
+ const searchContent = h("div", { key: 'ed22d66e43268e8024639db4b3bdfdc78663c162', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, h("div", { key: '3e6ed06c2a056d6fa6e5f18d03225a2a6eb3bd91', class: "s-search-input-wrapper" }, h("span", { key: '50fe2fd917b7f53d97c4178de03a9b460de53e50', class: "s-search-icon-wrap" }, h("span", { key: 'df7ed0c94180ee796f1634608f0e6984ccbac15c', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '73f564326eec5d12631b7855d853dd229fa00797', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), this.showAction ?
134
+ h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search })) : null), h("div", { key: 'c8cdfa1f5d102392144389f81639d6c92f8caea5', class: "s-search-results" }, (_a = this.results) === null || _a === void 0 ? void 0 :
135
135
  _a.data.map((product) => h("a", { href: product.url + '?from=search-bar', class: { "s-search-product": true, 's-search-product-not-available': !product.is_available }, innerHTML: this.productSlot
136
136
  .replace(/\{name\}/g, product.name)
137
137
  .replace(/\{price\}/g, product.price ? salla.money(product.price) : '')
138
138
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price ? salla.money(product.regular_price) : '')
139
- .replace(/\{image\}/g, product.image.url) })), h("p", { key: 'a725e4b848084eb5b336047ec7e7bf4149e1b305', ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options'))));
139
+ .replace(/\{image\}/g, product.image.url) })), h("p", { key: '7daf87c934b2fce3555755b1d326e3486e6a2bc2', ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options'))));
140
140
  return (this.inline ?
141
141
  h("div", { class: "s-search-modal" }, searchContent)
142
142
  :
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: '15babc66d2b39986bfb5f36d00b3b172de353dee', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '6e488ec0e8b38290f7a740526163dbd3f392431a', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: 'f57ae59c20db39c4c9c47f777d229768071e2553', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '0214a933f54acfd816f3cf1c510374c918469c5e', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -519,7 +519,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
519
519
  classes += this.verticalThumbs ? ' s-slider-vertical ' : ' s-slider-horizontal ';
520
520
  classes += this.arrowsCentered ? ' s-slider-v-centered ' : '';
521
521
  classes += this.gridThumbs ? ' s-slider-with-grid-thumbs ' : '';
522
- return (h(Host, { key: '91f0744a9e1c98e06d67c7220fc88235b2e3ec2c', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
522
+ return (h(Host, { key: '4a67b5352343cab0fbb561dcca27099788f77a84', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
523
523
  h("div", { class: "s-slider-block__title" }, this.blockTitle ?
524
524
  h("div", { class: "s-slider-block__title-right" }, h("h2", null, this.blockTitle), this.blockSubtitle ? h("p", { innerHTML: this.blockSubtitle }) : '')
525
525
  : '', h("div", { class: "s-slider-block__title-left" }, this.displayAllUrl ?
@@ -527,7 +527,7 @@ const SallaSlider = /*@__PURE__*/ proxyCustomElement(class SallaSlider extends H
527
527
  : '', this.showControls ?
528
528
  h("div", { class: "s-slider-block__title-nav", dir: "rtl" }, h("button", { "aria-label": "Previous Slide", class: "s-slider-prev s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowRightIcon : ArrowLeftIcon })), h("button", { "aria-label": "Next Slide", class: "s-slider-next s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowLeftIcon : ArrowRightIcon })))
529
529
  : ''))
530
- : '', h("div", { key: '429df076a98d5f3cbd1cb0b82e7240d0703b0ef5', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, h("slot", { key: 'fce6b603f29817ffe7f230819988aa2fbb96a8fb' }), h("div", { key: '9b94a2dd18297329ca7d809480875d97f89551a7', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, h("slot", { key: '70e5cd933cf26bf94a6eb6dc03e6882f96deb6d0', name: 'items' })), this.pagination ? h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? h("div", { class: "s-slider-thumbs" }, h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, h("slot", { name: "thumbs" })), this.showThumbsControls ?
530
+ : '', h("div", { key: '11b3fa33b29dea07b0247e5b7766456cbf117d05', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, h("slot", { key: 'c68c8acdbe1d303646ccc073d5b91e462d74e26c' }), h("div", { key: '54af02e80b0bfc4a79b0ab73ae8a9958c7b86aad', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, h("slot", { key: '1accf846e01f53d5e75de3c826439694ada42654', name: 'items' })), this.pagination ? h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? h("div", { class: "s-slider-thumbs" }, h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, h("slot", { name: "thumbs" })), this.showThumbsControls ?
531
531
  h("div", { class: "s-slider-thumbs-nav", dir: "rtl" }, h("button", { "aria-label": "Previous Slide", class: "s-slider-thumbs-prev s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowRightIcon : ArrowLeftIcon })), h("button", { "aria-label": "Next Slide", class: "s-slider-thumbs-next s-slider-nav-arrow" }, h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowLeftIcon : ArrowRightIcon })))
532
532
  : null))
533
533
  : null));
@@ -148,7 +148,7 @@ const SallaSocialShare$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocialSha
148
148
  (_a = window.a2a) === null || _a === void 0 ? void 0 : _a.init('page');
149
149
  }
150
150
  render() {
151
- return (h("div", { key: '1ceaee8d8782d05a9106e41ed2b03199f1e3d3f4', class: "s-social-share-wrapper" }, h("slot", { key: 'b2a7f9392ce1ebd4170cb22661a344d3d590da3b', name: 'widget' }, h("salla-button", { key: '27f9ca71198bb513118dd808e17735126761dd8d', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '00ae4671bded2ecc9a9902ea891629a660bb1a35', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'ef16131f5443b8d3d8045f2dfc6a562ef93bbcc9', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
151
+ return (h("div", { key: 'f703a0c531e8f32ebe62eeb256e02aec9786af47', class: "s-social-share-wrapper" }, h("slot", { key: '436168a40db719e5420b4b8bf031b41e1e91cebd', name: 'widget' }, h("salla-button", { key: '989e61a4921dc71c5d53a67bad18dc97861033cb', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '43b7e5a81fba6d333cc2eed13c3b33b43c368ede', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'cfc2002270e46848897820493e8968296b4d5c73', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
152
152
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
153
153
  if (icon.name === platform) {
154
154
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -57,7 +57,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
57
57
  }
58
58
  render() {
59
59
  const linksArray = this.getLinksArray();
60
- return (h(Host, { key: '7ce07166eab2f88497fadd8f7a103c7afb431fd3' }, h("ul", { key: '6d60b95f8268b717d92117217a385baf45b83a16', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
+ return (h(Host, { key: '499e2f4c68034191143f53bb4d4581e85e4066b0' }, h("ul", { key: '17053219a16087c96e1d9e5c15d1478729f43954', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
61
61
  .replace(/\{icon\}/g, this.iconsList[link.type])
62
62
  .replace(/\{type\}/g, link.type)
63
63
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: '1cd184474f6af09c567cddfe11f408027e4bbe66', class: classes }, h("slot", { key: '5a2a83e36627a23514966878b2f18ceee10ece33' })));
35
+ return (h("div", { key: '3ee7e5310346f97ec784201a91b361e5a3e4859e', class: classes }, h("slot", { key: '17cc2a1a57a1f810a0e79f20b54219794261531d' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: '36943f8058a8b3b0feed9f6e06f2602532f03dd2', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'ac7bbf34b9701c083b4f51f35860ca69af69681b' })),
61
+ h("div", { key: 'bbb66a75e32a9c74faadc608312e71dc6a4cf883', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '1ad07528ca5cfe1d884f6d66b998f03d604b58be' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: '119b8e591e68b67b1b0750637ddbdad053f105b5', class: "s-tabs" }, h("div", { key: 'add89f5dd0a2c30971eda3d9cc814d2637f57d5f', class: "s-tabs-header" }, h("slot", { key: '0bbb0d4498e96cdbc6e8acae43b4856b8fbd8c07', name: "header" })), h("div", { key: 'd1c39251f84e030e99a4a17ab764dfa375744c1c', class: "s-tabs-content-wrapper" }, h("slot", { key: 'b4be0e8feeee17b8c6d14d72244e2431a7cfa377', name: "content" })))
54
+ h("div", { key: '8dc8b3cb7504674924893dee116762971c7d5067', class: "s-tabs" }, h("div", { key: 'd0fd3fcb154190f5312a0c9bad2c35ac29a43e68', class: "s-tabs-header" }, h("slot", { key: '3dc2441bfa5e6e28aa75aeafd2adf8715e1a365b', name: "header" })), h("div", { key: '4ca8ed7f4a79067ca93ca007c7a186af81895df4', class: "s-tabs-content-wrapper" }, h("slot", { key: '4420b1d34b518aec52081d7548f0f08a771723ae', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -1798,7 +1798,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
1798
1798
  }
1799
1799
  }
1800
1800
  render() {
1801
- return (h(Host, { key: 'b2c8b456bee76f1b6ccc89be833ba45b801644bf', class: "s-tel-input" }, h("input", { key: '816210114633e24df660cb10f001985081e7d9dc', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '889225ffaa077d96353dbad1a6a6d8e58d4c213d', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '201e9750a74c6a56bafc934c74ca7ee88812018b', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1801
+ return (h(Host, { key: '5fc0abc90a8458e3199ccbf48b6dc70ffe5d57dc', class: "s-tel-input" }, h("input", { key: 'f84b38879f79f8cbb3b366f3b3530b764993c76e', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '82484d8fbef9bb6a8157323aec6c50932087af0a', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'da172c1dfd99efbeb5756955bb4f9195a08e004a', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
1802
1802
  }
1803
1803
  componentDidLoad() {
1804
1804
  this.initTelInput();
@@ -27,7 +27,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
27
27
  this.targetElement = document.getElementById(this.targetId);
28
28
  }
29
29
  render() {
30
- return (h("div", { key: '87a485eeb144377502782b6a7ac61417349423e2', class: "s-tooltip-container" }, h("slot", { key: '8329e929fce52cd2ef4f9258548770576e67ee96' }), this.show && h("div", { key: '18f9cd55110713d0b472601dc0a9ef20dd31af19', class: "s-tooltip-item" }, this.text)));
30
+ return (h("div", { key: 'e2454dd8d3533e19b93b796ca427d825c6576ff0', class: "s-tooltip-container" }, h("slot", { key: '08ae103831491e760b47c848c161f909341c68ee' }), this.show && h("div", { key: 'bab2b3214ff45377b5d971f13f32c691ec090324', class: "s-tooltip-item" }, this.text)));
31
31
  }
32
32
  get el() { return this; }
33
33
  static get style() { return sallaTooltipCss; }
@@ -83,7 +83,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
83
83
  await salla.profile.delete().finally(() => this.confirmationModal.close());
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: '0e6b14af80ae6661c9385eddfcc5a72b5f7430f3', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '54daed76f67a92898cb6b2bc2ed199fa2dcc6714', class: "s-user-settings-section" }, h("salla-list-tile", { key: '0b060e78b75cc993360e114e2d73fe4b179ce3d0' }, h("div", { key: 'b7e12d95c8fdb278072a534f0dbd68762d0c9a81', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'a79609a0b31d25da9c15c31e993c3c3333a2f1ea', innerHTML: UserCancel })), h("div", { key: 'efb0c932f1435900e74571a742b8804df8382125', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'de2f030f2ed344ba901720e504f3a240421f111c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '7b79ac7ddb26f12a75ffc27cd9f2ccd7033d067e', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'b70240d7e4826983769910e5f670c1dd75f556f5', class: "s-toggle" }, h("input", { key: '2bd14ffe12f81538391fb3780fe5882c7c6f4403', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '196869be303f5a1afc7ce95d7f0ab1400a0f8cc7', class: "s-toggle-switcher" }))))), h("div", { key: '45ed6e678912f2d4c8eb4e285e3b595949785872', class: "s-user-settings-section" }, h("salla-list-tile", { key: '9916e6dd2e3b0b24984aff6a136c35b89419db14' }, h("div", { key: 'bf81c343074b6f04faa7784c3127284708d667b4', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'fa21ff056ebe5b9f32fa8b19617c8cc1744f7b2b', innerHTML: Bullhorn })), h("div", { key: '84433b6fcb4aba6c2101d0d29aedbad1b1f0e6b0', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '884066de790ef40a236573f970a373a84227c417', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'f839cf0374b8e264f572b4fcbf07fccfff32bbc4', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'bdc9c654f872d117a9e00fa6b6885bde97db10bf', class: "s-toggle" }, h("input", { key: 'db9ad98dcb76823e4cbb33dd0b06a197843b9720', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '0e79a44fc79ed3f59e66e0b8b2f24e21654037e3', class: "s-toggle-switcher" }))))), h("div", { key: '8a3706ec535e822df923a823b16a7a77a1d75eb8', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '678e6fd66aa7231ef1e30fa00ba5090953abeed5' }, h("div", { key: 'b491c5313586cc3e5362d30f9f0eb8236270ac5b', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'bdad51b9679a4694cc875371941cf3f714b50812', innerHTML: UserOff })), h("div", { key: '9f55bd23a74c86469ad582589316b44a4fcf654b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'ad4cf1fee55d1b27c6e551e39b48a6fe0d5f509a', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '6d82925ebf9822dc1b79ce29e614648f14ab47ce', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '29e3d81c8c78f9be192aa0e262d7e962ea2a91bf', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'af8827c6e18d6236509aa68da32acf3d5e301ce9', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '53105add09c755fb1164b7704ba3ba7f9f188c13', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '97b91089e3137ce6ec8a345952898940b38189c9', class: "s-user-settings-confirmation" }, h("div", { key: '0eab7f5b3bec09600143066d9950dc4b763d2de3', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '24a706adf1832fd9067c04138dff937187fa7562', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '71b721a178656ea706082cb9724e1ab82075e7b5', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: 'd403392c3cde45ddfe970fa32702ea1f15baa284', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: 'e2a43eab43c09743d9a09150d7a64c482efd67db', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '45465d04e01b989d6f41b9685024049f11d2fd8a', class: "s-user-settings-section" }, h("salla-list-tile", { key: '2d83d6a6596ca9762e03a4dd2ca828f1da7f9cfe' }, h("div", { key: 'ca2d8bad47b2cf27db0dba50f634f87374e9c4d0', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '64287554ed3f04a33f4723559bd16e23356062b2', innerHTML: UserCancel })), h("div", { key: '27011d331cd1193ffc395f61cafacf7afe6cbb37', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'b2b2e1742fb28936f5d43ef2159fd53379979416', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'd507501fa28045aa1c7f1b45f1e8492ab11eac41', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '489444d6e9b8000786d652a653924d5487c70354', class: "s-toggle" }, h("input", { key: '6d975b0f59ef4bfce0387ab4bbeaac1d9199df2b', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '99565e81c6b0110b0285758ff965dadb1343141d', class: "s-toggle-switcher" }))))), h("div", { key: '95c0375df02bfcf7e06cd8c82d9726c183f3cef2', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'cdf765d2e4e5f435dc686ac41d3298f5f5d3f094' }, h("div", { key: '2c9350a1133f1ceb2e4798dc76a2600fc57b51a2', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'ac1a7244eebcf93b288cd8956c404e7e8206917a', innerHTML: Bullhorn })), h("div", { key: '033ad646a6c029932c9379e48aa03c11c4cc8ea7', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '6d6a1ae66fe36fd2e61b2b5710c1c1a5d785ed7a', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'bcf12b68bd7496987e49e84d1463a1f4989c36f4', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'ab49963ae12febd07aafbc5fa33c9cc60200401c', class: "s-toggle" }, h("input", { key: '609ab1d90393a3a6a373b839b04872fd19d9af13', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'fc1f9253bb35bd381cb679b61455f114082a66dc', class: "s-toggle-switcher" }))))), h("div", { key: '61874f78bca3a4f54b4ae800542d9ee8a1afb4df', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '9f3b044f7774f214352eca4785d45eb84a6ee925' }, h("div", { key: '07e1e08c91bad01e8bd1e5b3d8ed5bbf27a6e536', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '918cf7358bc7c0d557b2d2d122335c67c0e7184f', innerHTML: UserOff })), h("div", { key: '0bf7e274d07bec1362f2d1a7ed238d15a6df64da', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'c044d814f1eab0b9bfe6afd1d9da7e672ad174e9', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '3ba1645cd3cf24055ff300caaa028c03cdbbf014', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'e4af99b286ba09b9ad7a9e65109dd5ebc72cd5ec', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'bb3617bb5fffb7496e4b065ff7d9e3ecf081d39a', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '8c4a70b37dd3f98247a05a6fa2e12bbbda4208f5', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '58e944af7537c91682b17f8dfa6e698ed8b4d21b', class: "s-user-settings-confirmation" }, h("div", { key: 'f1cb7420866f3c38c6484313636d71f2207942d0', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '8e712ea0c6211cba24a6a32c4e9871b37ddfa30e', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '319bb44f97b4ad48a82a94973e470819624985cf', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: 'bc127d4956ab62b24b0c79e672375a2c2274f351', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
87
87
  }
88
88
  static get style() { return sallaUserSettingsCss; }
89
89
  }, [0, "salla-user-settings", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { L as LazyLoad } from './index-aC-cHVMV.js';
4
+ import { L as LazyLoad } from './index-Hw2jlaNN.js';
5
5
 
6
6
  function appGlobalScript () {
7
7
  // Only initialize it one time for the entire application
@@ -34,6 +34,6 @@ function appGlobalScript () {
34
34
  const globalScripts = appGlobalScript;
35
35
 
36
36
  export { globalScripts as g };
37
- //# sourceMappingURL=app-globals-BBUHVW9U.js.map
37
+ //# sourceMappingURL=app-globals-5yxEmkuB.js.map
38
38
 
39
- //# sourceMappingURL=app-globals-BBUHVW9U.js.map
39
+ //# sourceMappingURL=app-globals-5yxEmkuB.js.map