@salla.sa/twilight-components 2.14.252 → 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 (506) hide show
  1. package/dist/cjs/{app-globals-ChKTQEJ9.js → app-globals-BoVwS_2u.js} +3 -3
  2. package/dist/cjs/{app-globals-ChKTQEJ9.js.map → app-globals-BoVwS_2u.js.map} +1 -1
  3. package/dist/cjs/{index-DtXwvL5X.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-3b0DwjjK.js → app-globals-5yxEmkuB.js} +3 -3
  184. package/dist/esm/{app-globals-3b0DwjjK.js.map → app-globals-5yxEmkuB.js.map} +1 -1
  185. package/dist/esm/{index-D4D34Ujk.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-3b0DwjjK.js → app-globals-5yxEmkuB.js} +2 -2
  227. package/dist/esm-es5/{app-globals-3b0DwjjK.js.map → app-globals-5yxEmkuB.js.map} +1 -1
  228. package/dist/esm-es5/{index-D4D34Ujk.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 +2 -2
  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-d513da6f.entry.js → p-0065a55b.entry.js} +2 -2
  270. package/dist/twilight/{p-c9678188.system.entry.js → p-05cf8f0f.system.entry.js} +2 -2
  271. package/dist/twilight/{p-8213a9ef.system.entry.js → p-066a5e95.system.entry.js} +2 -2
  272. package/dist/twilight/{p-81aeef6a.entry.js → p-0a58ecb2.entry.js} +2 -2
  273. package/dist/twilight/{p-5b882c52.system.entry.js → p-0ab8c50f.system.entry.js} +2 -2
  274. package/dist/twilight/{p-d84eb47c.entry.js → p-13efdbe3.entry.js} +2 -2
  275. package/dist/twilight/{p-4af5ffea.entry.js → p-13f1a287.entry.js} +2 -2
  276. package/dist/twilight/{p-6e24a5f0.system.entry.js → p-15c42251.system.entry.js} +2 -2
  277. package/dist/twilight/{p-8c0822f7.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-648fb6ca.entry.js → p-204e0ad2.entry.js} +2 -2
  281. package/dist/twilight/{p-63cba8e3.entry.js → p-210ccdae.entry.js} +2 -2
  282. package/dist/twilight/{p-d0004953.entry.js → p-240b86ef.entry.js} +2 -2
  283. package/dist/twilight/{p-dd83a408.entry.js → p-27206d63.entry.js} +2 -2
  284. package/dist/twilight/{p-c84819d5.entry.js → p-35dd7512.entry.js} +4 -4
  285. package/dist/twilight/{p-2af0da5a.system.entry.js → p-38675c42.system.entry.js} +2 -2
  286. package/dist/twilight/{p-7234c5f2.system.entry.js → p-3cdd4d44.system.entry.js} +2 -2
  287. package/dist/twilight/{p-8359eb2a.entry.js → p-3e9ceed0.entry.js} +2 -2
  288. package/dist/twilight/{p-a18f81a8.system.entry.js → p-447f03b5.system.entry.js} +2 -2
  289. package/dist/twilight/{p-2ecf868e.entry.js → p-4b7e613a.entry.js} +2 -2
  290. package/dist/twilight/{p-d5750810.entry.js → p-4d5387e9.entry.js} +2 -2
  291. package/dist/twilight/{p-ad0fedcd.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-aad20f10.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-407d19d8.system.entry.js → p-6a51cb91.system.entry.js} +2 -2
  297. package/dist/twilight/{p-95adf84e.entry.js → p-6abfa7ed.entry.js} +2 -2
  298. package/dist/twilight/{p-45b61475.entry.js → p-6f66faea.entry.js} +2 -2
  299. package/dist/twilight/{p-f57bcc51.entry.js → p-7187b729.entry.js} +2 -2
  300. package/dist/twilight/{p-c87d6aa6.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-6a0b5799.entry.js → p-78deca48.entry.js} +2 -2
  304. package/dist/twilight/{p-3483eb09.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-396198a2.entry.js → p-83f6408a.entry.js} +2 -2
  308. package/dist/twilight/{p-d097a67d.system.entry.js → p-888de4b8.system.entry.js} +2 -2
  309. package/dist/twilight/{p-Ccj70VFr.system.js.map → p-8SAlNoQ7.system.js.map} +1 -1
  310. package/dist/twilight/{p-CZGaqTus.system.js.map → p-8cuU9AcW.system.js.map} +1 -1
  311. package/dist/twilight/{p-1b24ea99.system.entry.js → p-8e807035.system.entry.js} +2 -2
  312. package/dist/twilight/{p-6b716e82.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-1a9eebb6.system.entry.js → p-9cb1a11d.system.entry.js} +2 -2
  315. package/dist/twilight/{p-CDmxJQ_1.system.js.map → p-B10yx9se.system.js.map} +1 -1
  316. package/dist/twilight/{p-BHI6mAw4.system.js.map → p-BKsOE9n5.system.js.map} +1 -1
  317. package/dist/twilight/{p-BRsVFuI-.system.js.map → p-BzHfWaAI.system.js.map} +1 -1
  318. package/dist/twilight/{p-ByNC3ygM.system.js.map → p-C0IcnmR-.system.js.map} +1 -1
  319. package/dist/twilight/{p-B_aBck2N.system.js.map → p-C0Tc4qY_.system.js.map} +1 -1
  320. package/dist/twilight/{p-e-FAhVeu.system.js.map → p-C72wuhae.system.js.map} +1 -1
  321. package/dist/twilight/{p-BrxIkK1y.system.js.map → p-CDuCVzYE.system.js.map} +1 -1
  322. package/dist/twilight/{p-CgDN9ZEV.system.js.map → p-CK7f65RE.system.js.map} +1 -1
  323. package/dist/twilight/{p-B0xoNOFR.system.js → p-CQDiSGcm.system.js} +3 -3
  324. package/dist/twilight/p-CQDiSGcm.system.js.map +1 -0
  325. package/dist/twilight/{p-CVW8a0jw.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-O_6m6zp3.system.js.map → p-DHIqW0kb.system.js.map} +1 -1
  328. package/dist/twilight/{p-DxRZfb-O.system.js → p-DHVFvgH-.system.js} +2 -2
  329. package/dist/twilight/{p-DxRZfb-O.system.js.map → p-DHVFvgH-.system.js.map} +1 -1
  330. package/dist/twilight/{p-DvrwOwqK.system.js.map → p-DNXP15r0.system.js.map} +1 -1
  331. package/dist/twilight/{p-Bqv1miCk.system.js.map → p-DNsqaxY7.system.js.map} +1 -1
  332. package/dist/twilight/{p-BxORDCZ3.system.js.map → p-DTx9WCBY.system.js.map} +1 -1
  333. package/dist/twilight/{p-TrPvZWq-.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-BXoB3JpD.system.js.map → p-DZTRKwds.system.js.map} +1 -1
  336. package/dist/twilight/{p-CaCB348j.system.js.map → p-DZajWqW2.system.js.map} +1 -1
  337. package/dist/twilight/{p-BbDuw4AO.system.js.map → p-Da2A-hsX.system.js.map} +1 -1
  338. package/dist/twilight/{p-CNqFfslE.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-DMKkUrkS.system.js.map → p-Dhlfiere.system.js.map} +1 -1
  341. package/dist/twilight/{p-DVnmchft.system.js.map → p-DkCrulih.system.js.map} +1 -1
  342. package/dist/twilight/{p-CB3G0Z8y.system.js.map → p-Du8MMxWf.system.js.map} +1 -1
  343. package/dist/twilight/{p-u0que_SA.system.js.map → p-DvSX1guT.system.js.map} +1 -1
  344. package/dist/twilight/{p-D4D34Ujk.js → p-Hw2jlaNN.js} +3 -3
  345. package/dist/twilight/p-Hw2jlaNN.js.map +1 -0
  346. package/dist/twilight/{p-C-vbYsMC.system.js.map → p-N45BdAU8.system.js.map} +1 -1
  347. package/dist/twilight/{p-DNiQ_YXx.js → p-NSLkL4Dn.js} +2 -2
  348. package/dist/twilight/{p-DNiQ_YXx.js.map → p-NSLkL4Dn.js.map} +1 -1
  349. package/dist/twilight/{p-OzJ9XEsV.system.js.map → p-QNwQUqLM.system.js.map} +1 -1
  350. package/dist/twilight/{p-DlRNuq8n.system.js.map → p-XDYW48AK.system.js.map} +1 -1
  351. package/dist/twilight/{p-1055f2fb.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-669db4df.entry.js → p-b13ef44c.entry.js} +2 -2
  355. package/dist/twilight/{p-d15630dd.entry.js → p-b492c336.entry.js} +2 -2
  356. package/dist/twilight/{p-f745fcad.entry.js → p-b51bb42b.entry.js} +2 -2
  357. package/dist/twilight/{p-3eaddcf1.entry.js → p-bb1a0f6b.entry.js} +2 -2
  358. package/dist/twilight/{p-5542a867.entry.js → p-bca6b6b2.entry.js} +2 -2
  359. package/dist/twilight/{p-fbe10567.entry.js → p-bdca9c9c.entry.js} +2 -2
  360. package/dist/twilight/p-be2938da.entry.js +5 -0
  361. package/dist/twilight/{p-58085711.entry.js → p-c5b5a947.entry.js} +2 -2
  362. package/dist/twilight/{p-BJUBMQeL.system.js.map → p-cK_8A-PC.system.js.map} +1 -1
  363. package/dist/twilight/{p-CiGTTlgd.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-13324cdd.system.entry.js → p-d33197dc.system.entry.js} +3 -3
  367. package/dist/twilight/{p-e9bc1fa4.system.entry.js → p-d3c9cfbb.system.entry.js} +2 -2
  368. package/dist/twilight/{p-e823d4e8.system.entry.js → p-d4017888.system.entry.js} +2 -2
  369. package/dist/twilight/{p-442340d3.system.entry.js → p-d43b5d6a.system.entry.js} +2 -2
  370. package/dist/twilight/{p-2ae75a1c.entry.js → p-d7604122.entry.js} +2 -2
  371. package/dist/twilight/{p-ebd4ac51.system.entry.js → p-d8039b97.system.entry.js} +2 -2
  372. package/dist/twilight/{p-423d91f5.system.entry.js → p-db9674c2.system.entry.js} +2 -2
  373. package/dist/twilight/{p-a1d102d3.system.entry.js → p-eb292930.system.entry.js} +2 -2
  374. package/dist/twilight/{p-60bf8746.system.entry.js → p-ec034bd2.system.entry.js} +2 -2
  375. package/dist/twilight/{p-ab7cc63a.system.entry.js → p-f07ad750.system.entry.js} +2 -2
  376. package/dist/twilight/{p-06b95a05.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-17c50686.entry.js → p-fb399776.entry.js} +2 -2
  379. package/dist/twilight/{p-e784d087.entry.js → p-fe81524d.entry.js} +2 -2
  380. package/dist/twilight/p-fed7a7a5.system.entry.js +5 -0
  381. package/dist/twilight/{p-C9DFiJHW.system.js.map → p-jx7CG3rj.system.js.map} +1 -1
  382. package/dist/twilight/{p-ofxyuLsh.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-Cs3Irr4v.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-DtXwvL5X.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-D4D34Ujk.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-D4D34Ujk.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-154fc672.entry.js +0 -5
  422. package/dist/twilight/p-154fc672.entry.js.map +0 -1
  423. package/dist/twilight/p-17ee3d18.entry.js +0 -5
  424. package/dist/twilight/p-40e20722.system.entry.js +0 -5
  425. package/dist/twilight/p-40e20722.system.entry.js.map +0 -1
  426. package/dist/twilight/p-4d6baea7.system.entry.js +0 -5
  427. package/dist/twilight/p-4d6baea7.system.entry.js.map +0 -1
  428. package/dist/twilight/p-553bc6b4.system.entry.js +0 -5
  429. package/dist/twilight/p-63a5bdc6.entry.js +0 -5
  430. package/dist/twilight/p-63a5bdc6.entry.js.map +0 -1
  431. package/dist/twilight/p-7eff7dc5.system.entry.js +0 -5
  432. package/dist/twilight/p-B0xoNOFR.system.js.map +0 -1
  433. package/dist/twilight/p-BN8tVPbo.system.js.map +0 -1
  434. package/dist/twilight/p-Cc6e2YrQ.system.js.map +0 -1
  435. package/dist/twilight/p-D4D34Ujk.js.map +0 -1
  436. package/dist/twilight/p-DMKkUrkS.system.js +0 -5
  437. package/dist/twilight/p-Daef3WlT.system.js.map +0 -1
  438. package/dist/twilight/p-c0363ba7.entry.js +0 -5
  439. package/dist/twilight/p-c0363ba7.entry.js.map +0 -1
  440. package/dist/twilight/p-e2ab2b64.system.entry.js +0 -5
  441. package/dist/twilight/p-e2ab2b64.system.entry.js.map +0 -1
  442. package/dist/twilight/p-ef38f4ac.system.entry.js +0 -5
  443. package/dist/twilight/p-fcc64f6d.entry.js +0 -5
  444. package/dist/twilight/salla-accordion-body.entry.esm.js.map +0 -1
  445. package/dist/twilight/salla-accordion-head.entry.esm.js.map +0 -1
  446. package/dist/twilight/salla-accordion.entry.esm.js.map +0 -1
  447. /package/dist/twilight/{p-d513da6f.entry.js.map → p-0065a55b.entry.js.map} +0 -0
  448. /package/dist/twilight/{p-c9678188.system.entry.js.map → p-05cf8f0f.system.entry.js.map} +0 -0
  449. /package/dist/twilight/{p-8213a9ef.system.entry.js.map → p-066a5e95.system.entry.js.map} +0 -0
  450. /package/dist/twilight/{p-81aeef6a.entry.js.map → p-0a58ecb2.entry.js.map} +0 -0
  451. /package/dist/twilight/{p-5b882c52.system.entry.js.map → p-0ab8c50f.system.entry.js.map} +0 -0
  452. /package/dist/twilight/{p-d84eb47c.entry.js.map → p-13efdbe3.entry.js.map} +0 -0
  453. /package/dist/twilight/{p-4af5ffea.entry.js.map → p-13f1a287.entry.js.map} +0 -0
  454. /package/dist/twilight/{p-6e24a5f0.system.entry.js.map → p-15c42251.system.entry.js.map} +0 -0
  455. /package/dist/twilight/{p-8c0822f7.system.entry.js.map → p-17567b38.system.entry.js.map} +0 -0
  456. /package/dist/twilight/{p-648fb6ca.entry.js.map → p-204e0ad2.entry.js.map} +0 -0
  457. /package/dist/twilight/{p-63cba8e3.entry.js.map → p-210ccdae.entry.js.map} +0 -0
  458. /package/dist/twilight/{p-d0004953.entry.js.map → p-240b86ef.entry.js.map} +0 -0
  459. /package/dist/twilight/{p-dd83a408.entry.js.map → p-27206d63.entry.js.map} +0 -0
  460. /package/dist/twilight/{p-c84819d5.entry.js.map → p-35dd7512.entry.js.map} +0 -0
  461. /package/dist/twilight/{p-2af0da5a.system.entry.js.map → p-38675c42.system.entry.js.map} +0 -0
  462. /package/dist/twilight/{p-7234c5f2.system.entry.js.map → p-3cdd4d44.system.entry.js.map} +0 -0
  463. /package/dist/twilight/{p-8359eb2a.entry.js.map → p-3e9ceed0.entry.js.map} +0 -0
  464. /package/dist/twilight/{p-a18f81a8.system.entry.js.map → p-447f03b5.system.entry.js.map} +0 -0
  465. /package/dist/twilight/{p-2ecf868e.entry.js.map → p-4b7e613a.entry.js.map} +0 -0
  466. /package/dist/twilight/{p-d5750810.entry.js.map → p-4d5387e9.entry.js.map} +0 -0
  467. /package/dist/twilight/{p-ad0fedcd.system.entry.js.map → p-53fb14d0.system.entry.js.map} +0 -0
  468. /package/dist/twilight/{p-553bc6b4.system.entry.js.map → p-5db51240.system.entry.js.map} +0 -0
  469. /package/dist/twilight/{p-aad20f10.system.entry.js.map → p-61f590ca.system.entry.js.map} +0 -0
  470. /package/dist/twilight/{p-407d19d8.system.entry.js.map → p-6a51cb91.system.entry.js.map} +0 -0
  471. /package/dist/twilight/{p-95adf84e.entry.js.map → p-6abfa7ed.entry.js.map} +0 -0
  472. /package/dist/twilight/{p-45b61475.entry.js.map → p-6f66faea.entry.js.map} +0 -0
  473. /package/dist/twilight/{p-f57bcc51.entry.js.map → p-7187b729.entry.js.map} +0 -0
  474. /package/dist/twilight/{p-c87d6aa6.system.entry.js.map → p-765562b8.system.entry.js.map} +0 -0
  475. /package/dist/twilight/{p-6a0b5799.entry.js.map → p-78deca48.entry.js.map} +0 -0
  476. /package/dist/twilight/{p-3483eb09.system.entry.js.map → p-7dce6627.system.entry.js.map} +0 -0
  477. /package/dist/twilight/{p-396198a2.entry.js.map → p-83f6408a.entry.js.map} +0 -0
  478. /package/dist/twilight/{p-d097a67d.system.entry.js.map → p-888de4b8.system.entry.js.map} +0 -0
  479. /package/dist/twilight/{p-1b24ea99.system.entry.js.map → p-8e807035.system.entry.js.map} +0 -0
  480. /package/dist/twilight/{p-6b716e82.system.entry.js.map → p-8fcff962.system.entry.js.map} +0 -0
  481. /package/dist/twilight/{p-17ee3d18.entry.js.map → p-9a8a57f0.entry.js.map} +0 -0
  482. /package/dist/twilight/{p-1a9eebb6.system.entry.js.map → p-9cb1a11d.system.entry.js.map} +0 -0
  483. /package/dist/twilight/{p-1055f2fb.entry.js.map → p-a8cf78c0.entry.js.map} +0 -0
  484. /package/dist/twilight/{p-669db4df.entry.js.map → p-b13ef44c.entry.js.map} +0 -0
  485. /package/dist/twilight/{p-d15630dd.entry.js.map → p-b492c336.entry.js.map} +0 -0
  486. /package/dist/twilight/{p-f745fcad.entry.js.map → p-b51bb42b.entry.js.map} +0 -0
  487. /package/dist/twilight/{p-3eaddcf1.entry.js.map → p-bb1a0f6b.entry.js.map} +0 -0
  488. /package/dist/twilight/{p-5542a867.entry.js.map → p-bca6b6b2.entry.js.map} +0 -0
  489. /package/dist/twilight/{p-fbe10567.entry.js.map → p-bdca9c9c.entry.js.map} +0 -0
  490. /package/dist/twilight/{p-fcc64f6d.entry.js.map → p-be2938da.entry.js.map} +0 -0
  491. /package/dist/twilight/{p-58085711.entry.js.map → p-c5b5a947.entry.js.map} +0 -0
  492. /package/dist/twilight/{p-13324cdd.system.entry.js.map → p-d33197dc.system.entry.js.map} +0 -0
  493. /package/dist/twilight/{p-e9bc1fa4.system.entry.js.map → p-d3c9cfbb.system.entry.js.map} +0 -0
  494. /package/dist/twilight/{p-e823d4e8.system.entry.js.map → p-d4017888.system.entry.js.map} +0 -0
  495. /package/dist/twilight/{p-442340d3.system.entry.js.map → p-d43b5d6a.system.entry.js.map} +0 -0
  496. /package/dist/twilight/{p-2ae75a1c.entry.js.map → p-d7604122.entry.js.map} +0 -0
  497. /package/dist/twilight/{p-ebd4ac51.system.entry.js.map → p-d8039b97.system.entry.js.map} +0 -0
  498. /package/dist/twilight/{p-423d91f5.system.entry.js.map → p-db9674c2.system.entry.js.map} +0 -0
  499. /package/dist/twilight/{p-a1d102d3.system.entry.js.map → p-eb292930.system.entry.js.map} +0 -0
  500. /package/dist/twilight/{p-60bf8746.system.entry.js.map → p-ec034bd2.system.entry.js.map} +0 -0
  501. /package/dist/twilight/{p-ab7cc63a.system.entry.js.map → p-f07ad750.system.entry.js.map} +0 -0
  502. /package/dist/twilight/{p-06b95a05.system.entry.js.map → p-f0b1ceef.system.entry.js.map} +0 -0
  503. /package/dist/twilight/{p-ef38f4ac.system.entry.js.map → p-f5aefbca.system.entry.js.map} +0 -0
  504. /package/dist/twilight/{p-17c50686.entry.js.map → p-fb399776.entry.js.map} +0 -0
  505. /package/dist/twilight/{p-e784d087.entry.js.map → p-fe81524d.entry.js.map} +0 -0
  506. /package/dist/twilight/{p-7eff7dc5.system.entry.js.map → p-fed7a7a5.system.entry.js.map} +0 -0
@@ -98,7 +98,7 @@ export class SallaConditionalFields {
98
98
  });
99
99
  }
100
100
  render() {
101
- return (h(Host, { key: 'aed72d12357c54338c231d5d4c259a510f8b4e95' }, h("slot", { key: '84c5af881a45cee9fa71f5e2e63ee9b92aad76c9' })));
101
+ return (h(Host, { key: '405156ba83b8731039c2dd0ff800f617150cc722' }, h("slot", { key: '2bff17ce7b49fef9b028d673992d256b00e9481b' })));
102
102
  }
103
103
  static get is() { return "salla-conditional-fields"; }
104
104
  static get elementRef() { return "host"; }
@@ -146,7 +146,7 @@ export class SallaCountDown {
146
146
  return this.renderCountDown();
147
147
  }
148
148
  render() {
149
- return (h(Host, { key: '557b27983e5dfa3adc4c1f773a8b449ea65c7147', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''}` }, this.renderContent(), this.offerEnded && this.renderOfferEnded()));
149
+ return (h(Host, { key: '1e6baaf061a5cee7aeed3af6f4f02a7edf654885', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''}` }, this.renderContent(), this.offerEnded && this.renderOfferEnded()));
150
150
  }
151
151
  static get is() { return "salla-count-down"; }
152
152
  static get originalStyleUrls() {
@@ -179,7 +179,7 @@ export class SallaDatetimePicker {
179
179
  this.disabled = false;
180
180
  }
181
181
  render() {
182
- return h("div", { key: 'fe6b230ef5203ecbfdea9ded0f82c1203b13c770', class: "s-datetime-picker" }, h("input", { key: '509f694e4a3624561a80446b1360435a5ee4a6e6', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
182
+ return h("div", { key: '4332a123c72d1cf71468339536d9e73f32333791', class: "s-datetime-picker" }, h("input", { key: '99ae8a3a48042f43ea525fae0999d67ad216f9ce', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
183
183
  }
184
184
  componentDidLoad() {
185
185
  let options = {
@@ -282,11 +282,11 @@ export class SallaFileUpload {
282
282
  }
283
283
  }
284
284
  render() {
285
- return (h(Host, { key: 'de00b2b7ae741175101e4a038c9acbc748d45a28', class: {
285
+ return (h(Host, { key: '756dd2b7d86a546e89eb1942fbd4844875e7bcf2', class: {
286
286
  "s-file-upload": true,
287
287
  "s-file-upload-profile-image": this.profileImage,
288
288
  "s-file-upload-multiple": this.allowMultiple,
289
- } }, h("input", { key: 'dfd3d32f00208edc1285a5e14a07868ccd119d37', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: 'cba06498228a324d337809221e9dcdf273d414cc', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
289
+ } }, h("input", { key: '27da80307aab3b30b9dfa861e5da73eebaebc251', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: 'f963e2398069cbb70688b207d7b58fb61eabbc6a', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
290
290
  }
291
291
  componentDidLoad() {
292
292
  let files = this.getFiles();
@@ -189,7 +189,7 @@ export class SallaFilters {
189
189
  }
190
190
  render() {
191
191
  var _a, _b;
192
- return h(Host, { key: 'd62d9a867f140a911cb5da11a1034511fd230745' }, (_a = this.filters) === null || _a === void 0 ? void 0 :
192
+ return h(Host, { key: '54a625522588215230f1eb5a3ca94b8280b18040' }, (_a = this.filters) === null || _a === void 0 ? void 0 :
193
193
  _a.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
194
194
  this.handleOptionChange(event, option, value);
195
195
  } })), ((_b = this.filters) === null || _b === void 0 ? void 0 : _b.length) ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
@@ -115,12 +115,12 @@ export class SallaFiltersWidget {
115
115
  return h("span", { class: "s-filters-option-name" }, label);
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: 'd6f2078b058a8244a95a78e879886f3b04e0e1c0', class: "s-filters-widget-container" }, h("h3", { key: '40ff9f985604de49752b38c0fc66611cd1811857', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '06847af2f3f089afb3223e4ce4c56bfa1cb195d5' }, this.option.label), h("span", { key: '8ecf9c638f7ad163cda5f7235ecac66661cf8e68', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '15c98c71532ec2bf1f43f3e9bcc1d964a0f3d88d', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, h("div", { key: 'f1221b0ce096e1fda0044776bfdba952a990230c', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '1612242828f38a9c086d2a7887174bcdde05618b' }), this.option.type !== FilterOptionTypes.RANGE
118
+ return (h(Host, { key: '1987fec03cfe48cddc60af2d81bbc30a476dcb61', class: "s-filters-widget-container" }, h("h3", { key: '4232775c4012d1be8bb3036d9d09e5d29d951ee4', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '61cf9ea5a69f3ab5377502a396cc84478c6152a1' }, this.option.label), h("span", { key: 'b75914eb06f9d419d0a89da2a8f2da2f891f3d27', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: 'f65e2f8a44648b034dacf1bda1aa64b5398627b7', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, h("div", { key: 'adcafe169ce8cbef671263f3624bce071b168c36', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: 'fa006556e44e508c3c64cc5ae76cc826b7e7601e' }), this.option.type !== FilterOptionTypes.RANGE
119
119
  ? this.renderFilterOption(this.option)
120
120
  : h("salla-price-range", { onChanged: (event) => {
121
121
  this.changed.emit(event.detail);
122
122
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore &&
123
- h("a", { key: '5726822a429c26ee9ddadaf7351e8d32a3a98695', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
123
+ h("a", { key: '16a4ddeb365dc1d52fc51a8999fc6d7dbe094658', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
124
124
  }
125
125
  static get is() { return "salla-filters-widget"; }
126
126
  static get originalStyleUrls() {
@@ -444,7 +444,7 @@ export class SallaGifting {
444
444
  render() {
445
445
  var _a, _b, _c, _d, _e, _f;
446
446
  return [
447
- h("div", { key: 'c946de2320468eb5255a70c7c8a84e5ab6a63e78' }, h("salla-list-tile", { key: '21bcf5ab764ebfd611ea7824a38f8caae8f898ce', class: this.generateClass() }, h("div", { key: '19ecc6aecb02cb128b58f671052521a3b189f37b', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: '42f82385ffab67355d96a46151b42789b19b2067' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '23b043faab9af7fc03792cebf47210f9d6e0f3e4', slot: "subtitle" }, h("div", { key: '8f5cac03e285c4c71be3752466f52a71bd4988e0' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '9c044b5024f577c472a15efd4d4b659c173c568c', slot: "action" }, h("salla-button", { key: 'a5417a8f0cec51d60336fbde15fdcd1a8c6f9d69', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '48145d9b6bd9b6c5a5a2659418232e4965e6dbc2', name: "widget-btn-content" }, h("div", { key: 'aeef35cf4109637925b078e17e903edd0ce70927', class: "s-gifting-widget-action-content" }, h("span", { key: '754b360efdceb67915479cf6e6c883465c8b5e2e', innerHTML: GiftSharing }), " \u00A0", h("span", { key: '88f649218568d29a89fed9edf4d6aaa40fa42ec4' }, this.sectionBtnText)))))), h("salla-modal", { key: '3bea66bbd3f457e38988d3c183f8ad83b2c7df7e', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '42e5c6cdaf2fd571ddf8fb2f6141accccde51e89', slot: "loading" }, h("div", { key: 'ee8b8364c5b38c5ba8d532a07ac1c31820efc29e', class: "s-gifting-skeleton" }, h("div", { key: '9960c5aebb147ba283671cb29d03ac607cf0f6ac', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'b82710e9a43c1a3baafa1991b5fbf39ce0c99ec7', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: 'cc83fbf17e57659b730d65bed24d638c48f7809b', class: "s-gifting-modal-title" }, h("div", { key: '6a015dd452aba397f3ecaefdec963a2e9fe2319f', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '6936c7630c0c5b8bea715355eefdbd11184bf4f0', height: '15px', width: '150px' })))), h("div", { key: '7c97b72b75c9748f9f33875819e91f60427cee37', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '2f568995835b1435e92d4a899e6d02308f5e5ffa', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'c3d870402e2b801430a8dac6987244b8202a762d', height: '230px' }), h("salla-skeleton", { key: 'f5fe5b687fa298467f61ff5160b7bad00f5c27b9', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'b2aafc949eb7652665545bfb47e306b9231fc10b', height: '30px' }), h("salla-skeleton", { key: 'ec48b8ea264a40f6808967acf1f4035bb78389ee', height: '40px' })))), h("slot", { key: '9c311e1c1a84e16df9cb14bf423520367889aa1a', name: "header" }), !!this.hasError ?
447
+ h("div", { key: 'd16cc7f7023bea25db35841e89affadc64c07750' }, h("salla-list-tile", { key: 'a0bacbee0a60998d7b2b6a04de43e0d840017e8e', class: this.generateClass() }, h("div", { key: 'b23da8bd5bc1c60ee6c9a755b62e398b36900d5d', slot: "title" }, this.vertical ? h("span", { innerHTML: GiftSharing }) : '', h("h3", { key: '87ed11d782fbfb07cf06bd2985d041c28f76f51d' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'f8894e33e53dd1ed91c0649bfd88962c798cf8c2', slot: "subtitle" }, h("div", { key: '275a03acbd38cd916d86e852affea21c501c0da5' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '45fa9404463409d35fd24b25c0ae650a4679a939', slot: "action" }, h("salla-button", { key: '5c6e5c9d0357721961b0f25139126ad79a8ca099', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '2a1fb3728692233a9cf87bd0d632610ad020650d', name: "widget-btn-content" }, h("div", { key: '4b7fd08f8f4a35b6d74f63e0547aaf92823ca0f0', class: "s-gifting-widget-action-content" }, h("span", { key: 'b6e15c75159f3485330af5f8fdd247c8dc9c1ce1', innerHTML: GiftSharing }), " \u00A0", h("span", { key: '574c99709d0ecbe73deeed07664951b421976d22' }, this.sectionBtnText)))))), h("salla-modal", { key: '3a73e664ffa20c58792eb1c7865b903fbf5f38f1', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: 'eb8b915f53edfd3e7255a6e59a204e5120b56b47', slot: "loading" }, h("div", { key: '1bb51e9f935b10cac4b816bfc062999b16c984c7', class: "s-gifting-skeleton" }, h("div", { key: '4d050d592dbdef6ff4921d2937dedab1ae6d546c', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '00fa0ba8cd77422bab5ef5c174436843863ffa36', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '11f5e666e3cd59ee0673269edb1120255e36b973', class: "s-gifting-modal-title" }, h("div", { key: 'ef4d1fb59c4f9711ddf923118692d7a302cd0ab9', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '6d9cf1bf0c9e4df1590e0a575b83fb133482a9b1', height: '15px', width: '150px' })))), h("div", { key: 'f20ac67cfc4ab4f42838906418f5102c6cac01d3', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'e5cbd9d820468d8233bd13991878741724b52723', height: '10px', width: '150px' }), h("salla-skeleton", { key: '511b9321272203f98520339ac67408e2b11bd7c7', height: '230px' }), h("salla-skeleton", { key: 'b929ad683b8302d29a09a749e603dead646606db', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'bb485d3ccb8dbd35bfe9faca03b1e9fbfa8a67e3', height: '30px' }), h("salla-skeleton", { key: 'c2591d3c074ce82e7047807ed8560c914e99bba5', height: '40px' })))), h("slot", { key: '144dbbe14bc130217c63089aff8cccd1a6739850', name: "header" }), !!this.hasError ?
448
448
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
449
449
  :
450
450
  [
@@ -462,7 +462,7 @@ export class SallaGifting {
462
462
  h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), h("div", { class: this.errors && this.errors['receiver.city_id'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), (_f = (_e = this.gift) === null || _e === void 0 ? void 0 : _e.cities) === null || _f === void 0 ? void 0 :
463
463
  _f.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
464
464
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), h("div", { class: "s-gifting-info anime-item opacity-0" }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo))), !this.physicalProducts && h("div", { class: "anime-item opacity-0" }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: "s-gifting-step-two-footer anime-item opacity-0" }, h("a", { href: "#!", innerHTML: LeftArrow, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
465
- ], h("slot", { key: 'c76232ee9588a3ae603b39b0ea994afd9ac6e3fe', name: "footer" })))
465
+ ], h("slot", { key: 'd20dc2762318510b53404ece4cd5cdef91bd8099', name: "footer" })))
466
466
  ];
467
467
  }
468
468
  static get is() { return "salla-gifting"; }
@@ -26,7 +26,7 @@ export class SallaListTile {
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'bb33776d01406ff1e04bbdc741312f1a17ac3b7b' }, h("a", { key: '386b417c954bf4b2bac34e40d9bae19db7f61ec3', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'cbcd8c6f92a4cbe7afbd8797c36ae6f529abed1c', class: "s-list-tile-item-icon" }, h("slot", { key: 'bff76fdb467b2491f0c3b40bd7f475eda23fa9c8', name: 'icon' })), h("div", { key: 'c80e7c032abedea8d5929d8bb36a642336724fe1', class: "s-list-tile-item-content" }, h("div", { key: '2bea0273bb4c012e0f9f7ee948b14bc9ea8afc2a', class: "s-list-tile-item-title" }, h("slot", { key: '60c872b9ec9b369ba65452abad7860b3ba6ba640', name: 'title' })), h("div", { key: 'fbb1b6e49284c74f2933f056aa16fcbc25526703', class: "s-list-tile-item-subtitle" }, h("slot", { key: '5ad1bba1b71db13d4deb594ccb0f5898f24d2f23', name: "subtitle" }))), h("div", { key: '96358bf7ed34907a799efd8c6fb2caae6ca02f43', class: "s-list-tile-item-action" }, h("slot", { key: '8d496724103f0c3959845c8f5d4e662a3095c09e', name: 'action' })))));
29
+ return (h(Host, { key: 'ba44695aed1223972f89af7c586a40930b02bf2c' }, h("a", { key: '07372f90536259e785765fd52518d662da064310', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: '1146861c80badb189b2cee76c1641b6b24cdc81f', class: "s-list-tile-item-icon" }, h("slot", { key: 'e3f28cb3fc224a11345f79dbcc63abda6a5749f2', name: 'icon' })), h("div", { key: '2538211d32d19b14feb87324499402fa86591734', class: "s-list-tile-item-content" }, h("div", { key: 'c099dbf9985c97cf7580ae155f12310033f82d94', class: "s-list-tile-item-title" }, h("slot", { key: 'cbd58b99730b27cc90b2897a82049a0b132a68aa', name: 'title' })), h("div", { key: '9a5d9bde89507382c84910da72baac5b18a0180d', class: "s-list-tile-item-subtitle" }, h("slot", { key: 'b0c042dfece6f5b337cc32892dd10bd4f7705ce0', name: "subtitle" }))), h("div", { key: '500a9175dd419a186e4d8e76d2578183b70d9d88', class: "s-list-tile-item-action" }, h("slot", { key: '6b8eaf7115a0304f7e50aafe251aec0325146a80', name: 'action' })))));
30
30
  }
31
31
  static get is() { return "salla-list-tile"; }
32
32
  static get originalStyleUrls() {
@@ -22,7 +22,7 @@ export class SallaLoading {
22
22
  this.bgColor = "#e5e7eb";
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '43f0680ce1f04ebda7083a4e15e69db9f19eea8f', class: "s-loading-container" }, h("svg", { key: '1b10899828e6b40f9a4535a6c5748382d2235382', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2866a19de0250199769271535cfa84531241507a', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: '8dd072bcfbca9299d4a9479fc00666bf174b48aa', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
25
+ return (h(Host, { key: '8320fc3660a218e25417a93bf887971c5e8419c3', class: "s-loading-container" }, h("svg", { key: 'b70926bc9f4735a041bc15941f3455f739ca92ca', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '08022da39248d500da894209a321feda18f4c1ac', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: 'df3d357458fd338246941a78993ffe8cf06f0d8b', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
26
26
  }
27
27
  static get is() { return "salla-loading"; }
28
28
  static get originalStyleUrls() {
@@ -110,7 +110,7 @@ export class SallaLocalizationModal {
110
110
  });
111
111
  }
112
112
  render() {
113
- return (h("salla-modal", { key: '67470e126151fb1cfc764ce3c0d986199b5a895e', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '28c41dc75e36e960cfcf0b8224057597be2eb7cf', slot: 'loading' }, h("div", { key: '96f60449d85f78c616dbda0aa56e77c4cb711859', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: 'eb4258f0847b2fe4da22e9709b7695014dd7be72', width: '25%', height: '15px' }), h("div", { key: 'f04521fcd25728b821c1fe60cce50ce441856ed4', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '6df2da90a26b323fe8e4cf82487527bb1866c788', width: '25%', height: '15px' }), h("div", { key: 'b3889bbd2624b4337d7b7dfafca9d5fef39d2dc3', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'b03df28e89f3096b24af46c635dd926e39fc9cf5', height: '40px', width: '100%' }))), !!this.hasError ?
113
+ return (h("salla-modal", { key: '7217465dd0a549765d84237a79a3d40d09b8ba19', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '1c7d641df3d795578b8f703deddd2deab0a0f0f3', slot: 'loading' }, h("div", { key: '9f3f99f0cb3fc0edf69a0b5672c985f037f77e99', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '744fd8f82a4675205a6f5fe0ed7f41ecfff73286', width: '25%', height: '15px' }), h("div", { key: '615e09c738ff315c72e4b46f0a97925b6ba43121', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '1d968a79a37d4012a9eef552bcd4f93006abcbe4', width: '25%', height: '15px' }), h("div", { key: '3a64d7c5f038f681ee58a457ba42e2ad70bf3f06', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '696cc5d9dcd7c9dd1f4a17f7bf904c836595ddcf', height: '40px', width: '100%' }))), !!this.hasError ?
114
114
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
115
115
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
116
116
  h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -7,7 +7,7 @@ export class SallaLoyaltyPrizeItem {
7
7
  this.prizeItemSelected.emit(this.item);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '601dbcf73e68678eecc912c14c2b1be612a78551' }, h("div", { key: '074f8b4cb736bfabd5885d9df77bf74e7c4829a1', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '4bec672992f7e998bde639295831a5c9ad5f5088', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: 'c8f858a7f406fe8e9123c57df627a4b6a2cbd719', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '81b954aa730e07c7f32ee538692581dede3543db', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: 'b7baeada2da364fec6ee7bd606b595b1f652d8a8', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " Points"))));
10
+ return (h(Host, { key: '5ca09a4202a344b0483bdfec61051430c6804143' }, h("div", { key: '685bab3cdebcc0ebb8899bf41af4864dc613835b', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '412d27faaf4fdb3df213806613ce0ce362f86f63', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: '9de2b85059c3db4cf750303e549938a577995d92', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '9ecf6845d0edf53937476a8bebfc36372ab1b4d9', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: '0c5f1cd8d22bc90178063c06eaf32bbac9f167ff', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " Points"))));
11
11
  }
12
12
  static get is() { return "salla-loyalty-prize-item"; }
13
13
  static get originalStyleUrls() {
@@ -73,7 +73,7 @@ export class SallaWalletTable {
73
73
  }
74
74
  }
75
75
  render() {
76
- return (h(Host, { key: '985386d18096b99ef6114a6e21363900c5dab374' }, h("div", { key: '67bb4fceebc5ef047cd3b0ee5b94297e4c9d9d17' }, this.isLoadingLoyalty ? (h("salla-loading", null)) : (h("div", null, this.loyaltyPointsArray.length > 0 ? (h("div", null, h("table", { class: "s-loyalty-program-table" }, h("thead", { class: "s-loyalty-program-table-head" }, h("tr", { class: "s-loyalty-program-table-head-tr" }, h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.note')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.status')))), h("tbody", { class: "s-loyalty-program-table-tbody" }, this.loyaltyPointsArray.map(point => (h("tr", { class: "s-loyalty-program-table-tbody-tr" }, h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, (point === null || point === void 0 ? void 0 : point.type) === 'plus' ? '+' : '', (point === null || point === void 0 ? void 0 : point.points) || '', " ", salla.lang.get('pages.loyalty_program.point')), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate((point === null || point === void 0 ? void 0 : point.created_at) ? Number(point.created_at) * 1000 : undefined)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate(point === null || point === void 0 ? void 0 : point.points_expire_date)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point === null || point === void 0 ? void 0 : point.key)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point === null || point === void 0 ? void 0 : point.status_key))))))), h("div", { class: "s-infinite-scroll-wrapper" }, !!this.nextPageUrlLoyalty && (h("salla-button", { onClick: this.handleClick, loading: this.isLoadingLoyalty }, salla.lang.get('common.elements.load_more')))))) : (h("div", null, h("div", { class: "s-loyalty-program-table-empty-state" }, h("span", { innerHTML: GiftIcon }), h("div", { class: "s-loyalty-program-table-placeholder-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_title')), h("div", { class: "s-loyalty-program-table-placeholder-sub-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_sub_title'))))))))));
76
+ return (h(Host, { key: '300d58186edf747b1dd6dc7a1d67c0c93606aa5e' }, h("div", { key: '98e3a15104e813c6798ccac75fbd1bb163735c54' }, this.isLoadingLoyalty ? (h("salla-loading", null)) : (h("div", null, this.loyaltyPointsArray.length > 0 ? (h("div", null, h("table", { class: "s-loyalty-program-table" }, h("thead", { class: "s-loyalty-program-table-head" }, h("tr", { class: "s-loyalty-program-table-head-tr" }, h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.note')), h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.status')))), h("tbody", { class: "s-loyalty-program-table-tbody" }, this.loyaltyPointsArray.map(point => (h("tr", { class: "s-loyalty-program-table-tbody-tr" }, h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, (point === null || point === void 0 ? void 0 : point.type) === 'plus' ? '+' : '', (point === null || point === void 0 ? void 0 : point.points) || '', " ", salla.lang.get('pages.loyalty_program.point')), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate((point === null || point === void 0 ? void 0 : point.created_at) ? Number(point.created_at) * 1000 : undefined)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate(point === null || point === void 0 ? void 0 : point.points_expire_date)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point === null || point === void 0 ? void 0 : point.key)), h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point === null || point === void 0 ? void 0 : point.status_key))))))), h("div", { class: "s-infinite-scroll-wrapper" }, !!this.nextPageUrlLoyalty && (h("salla-button", { onClick: this.handleClick, loading: this.isLoadingLoyalty }, salla.lang.get('common.elements.load_more')))))) : (h("div", null, h("div", { class: "s-loyalty-program-table-empty-state" }, h("span", { innerHTML: GiftIcon }), h("div", { class: "s-loyalty-program-table-placeholder-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_title')), h("div", { class: "s-loyalty-program-table-placeholder-sub-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_sub_title'))))))))));
77
77
  }
78
78
  static get is() { return "salla-loyalty-program"; }
79
79
  static get originalStyleUrls() {
@@ -14,7 +14,7 @@ export class SallaMaintenanceAlert {
14
14
  this.host.style.display = 'none';
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: 'bb84e7b67aa436101f54d2481324f8b08000b730', class: "s-maintenance-alert-wrapper" }, h("button", { key: 'a867faeace9d0461bbfa5f39976e9489d77b575b', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), h("div", { key: 'b89fc2df3ea8e9fd5859fda5a115a52cbc130845', class: "s-maintenance-alert-content" }, h("div", { key: '46962d44e46f74169b79b0bf39306a1548d17d11', class: "s-maintenance-alert-container" }, h("div", { key: 'fbc673955b67d5c849db838325232e9179857df2', class: "s-maintenance-alert-icon" }, h("img", { key: '5b7a61e2eacb2d182848ce0a1e7dfbfb60f3427e', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: 'af97185088d3a3a20d8f14ec56b9210de2b12cc5', class: "s-maintenance-alert-text" }, h("h2", { key: '893237b5a906a6b9cd636569f04ecb5247e58462' }, this.title), h("p", { key: '91662aa1261a2da8c63e16b76585eb39030a8dc0' }, this.message))), h("div", { key: '54468980a4a80d51ecdc3a10054f33ff08838444' }, h("a", { key: 'a58e79ab80341ac7e0daf72fed352bfcc703d3f5', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
17
+ return (h(Host, { key: 'fa4c58fe7ee2db9123f5ea0e481b9c974df489d0', class: "s-maintenance-alert-wrapper" }, h("button", { key: '9c1df10f48abd76cef72163cca33614a1b2a286e', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), h("div", { key: '48744b89d954927eb079ad9533cd52bc6149dbe8', class: "s-maintenance-alert-content" }, h("div", { key: 'a0df971610bbb0b6dba99955c40a89760f8b6f35', class: "s-maintenance-alert-container" }, h("div", { key: 'b15d5b9ba9d6e327cbd9706ba03e66459f3d752e', class: "s-maintenance-alert-icon" }, h("img", { key: '27a34719b58bc0afd30e55eeb51549f7ee468ac9', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: 'c9373d6db047da4d678005fe2397aa0ad14345e0', class: "s-maintenance-alert-text" }, h("h2", { key: '2202bc87b20c2d864fac8d925f7585b19e50a9d2' }, this.title), h("p", { key: 'cd2c5e6d2ef3098cf654357dca2031a494d4926a' }, this.message))), h("div", { key: '60983d470feb85bc72e40a37cb769bcf3121f2c9' }, h("a", { key: 'ac397f2c66c4e1e677200fb711d1c4b858d91f6c', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
18
18
  }
19
19
  componentDidLoad() {
20
20
  //auto-hide the alert if close button is clicked before one hour
@@ -271,11 +271,11 @@ export class SallaMap {
271
271
  }
272
272
  // render
273
273
  render() {
274
- return (h(Host, { key: '70b1051e2fdbdea1e7306eb4e30a025747c6c87f', class: "s-map-wrapper" }, h("salla-modal", { key: 'e1c86a72545f00053789f63ba5016cc57ad1f160', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
274
+ return (h(Host, { key: 'afb065dd5c9db0994f1cfaf1562db28425ffd65a', class: "s-map-wrapper" }, h("salla-modal", { key: 'adbf3aec5fe3a53c08a4310dfa5fc3593f88b242', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
275
275
  this.locationModal = modal;
276
- } }, this.getLocationModal()), h("slot", { key: 'ee28378c5b30cc8c93f55a74b4b94fe37a215aad', name: "button" }, h("salla-button", { key: '048d58a8537707a11c523ed6efbe255ff255927d', onClick: () => {
276
+ } }, this.getLocationModal()), h("slot", { key: '8469c362605c896c27e6c9453c80e1455e681588', name: "button" }, h("salla-button", { key: 'baac0f4417a36ce4f6c8f02a6667752f5d93ebd1', onClick: () => {
277
277
  this.open();
278
- }, color: "primary", class: "s-map-location-button" }, h("span", { key: 'c8653c040b9c1b3d7ac4d022606faec82e79568c', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: 'd76d0ce87802ed7b86fd5d2e0a3eef531087d597', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
278
+ }, color: "primary", class: "s-map-location-button" }, h("span", { key: 'bea891a7ac14bcb50704133e9c1eb8b3c34a8377', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: 'dbc5226461f9ad7a9501bec12e8bad794dec00e6', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
279
279
  }
280
280
  static get is() { return "salla-map"; }
281
281
  static get originalStyleUrls() {
@@ -4,7 +4,7 @@
4
4
  import { h } from "@stencil/core";
5
5
  export class SallaNotificationItem {
6
6
  render() {
7
- return h("a", { key: 'f4818ac9b7dc2573dd1ac8aa31aabc82454ea439', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '3766a4eb835408bf293054be3e04a561e1510728', class: "s-notifications-item-icon" }, h("i", { key: 'e9b1e4a18f22e765053b7d62f83a4af6e426bd47', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '2005bcf68b61bb0aa5606480f703e4ee4cfbd415', class: "s-notifications-item-content" }, h("div", { key: 'a60fdc96431899c0c3183512ea81477f52e550d0', class: "s-notifications-item-content-leading" }, h("h4", { key: 'fb0eb1efe08440a1e2c12dc1af263adba0413d2b' }, this.notification.title), h("p", { key: 'c32790ad29bd267323d86e5c3abdec1ab75c09b2' }, this.notification.sub_title)), h("span", { key: 'e8fbfea5e91fe7d16c489a285502eaab08b16fd5', class: "s-notifications-item-content-trailing" }, h("i", { key: 'ea9fb9cf6ac2f9c84cde152fa1381e884971cba4', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: '1fb25f1463210c8ab467dff8aea22d9c4510301c' }, this.notification.date))));
7
+ return h("a", { key: '15701825f2d0bb5b4bc21cf20114eae79af6b9aa', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: 'f87fba9d640a5c6cab81abe2d7537c2c89ee8857', class: "s-notifications-item-icon" }, h("i", { key: '52590f17aacb20f87768a0dcc699e15303ca0e81', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '489bdb71b1caaa202604facffe47ce6a6825355b', class: "s-notifications-item-content" }, h("div", { key: '53a0e1e2f2f1be650567c0b1b9cc779779bc2cdc', class: "s-notifications-item-content-leading" }, h("h4", { key: 'b7f6fd64ad3212d0810a4eb7ab0a33d4294498c7' }, this.notification.title), h("p", { key: '3774bc0d5c619d73f97466283d28ed5204e9abe4' }, this.notification.sub_title)), h("span", { key: '25c70649e341c3e7c659dec48e986945088b4dfa', class: "s-notifications-item-content-trailing" }, h("i", { key: 'eaca7d3e4b8254b5eb8ea7e864c5afac8529f019', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: 'de695990f5d2b6e5a131373d863f1d2e1e002613' }, this.notification.date))));
8
8
  }
9
9
  static get is() { return "salla-notification-item"; }
10
10
  static get originalStyleUrls() {
@@ -171,7 +171,7 @@ export class SallaOfferModal {
171
171
  // '</div>';
172
172
  // }
173
173
  render() {
174
- return h("salla-modal", { key: '6e07bfc157a0864dd7c6e33d8e423eb0a41517fa', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: 'a1efb4161fe0832c55d84ed28d6210ebbf475a30', slot: 'loading' }, h("div", { key: '53528287f8260ff9ee38865d24f2f62e3a473aae', class: "s-offer-modal-skeleton" }, h("div", { key: '058875363e3102e44df48e42b77ba1e5136de8cd', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: '9db5f4a78212728d91ca6c326df0dce74a48a8e6', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '9a451dc9b0ad073137500482bcad5eded1a15e19', height: '15px', width: '50%' }), h("salla-skeleton", { key: '64765b0feb8542634a498bec392f89c9ea84d87a', height: '10px', width: '30%' })), h("div", { key: 'dfe4c3f1b5492c16088c6736a4027e7ee494c3f6', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '6b0d3c7ce04b6da6b48e60552084e6cd13e86def', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: 'fb3e3c4993a0eef1a297150e978d66ba16b1091e', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'ae1cb5284af4dbcf7b8a6e5b62cfe956fdfe2c5f', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
174
+ return h("salla-modal", { key: '149806ab834f3595edaba08fa4ac7534559c86a0', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '0b04b126cab3b3f2c96a18da4e99fde448ae3a7b', slot: 'loading' }, h("div", { key: '2bc798a2e279e732752a61870d2bbdb239156af1', class: "s-offer-modal-skeleton" }, h("div", { key: 'f25d33fa444b1b200b8ad1d1671485bc402ac32f', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: '3e9099101da88a0b0e7c1961dd191d9df92f6508', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '913b23a9a46ca5c69a42672a09a922662c1587a8', height: '15px', width: '50%' }), h("salla-skeleton", { key: '8e8e1392609be37bb8a85e5d79f5f6a5511c5af8', height: '10px', width: '30%' })), h("div", { key: '994cd22730b3b8feefd9e8f6597875aa7954e6f7', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '361299e616622895d48377f3d138d115d05a9fbc', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: '28cc38415de9bed705b5d2ca683031c50de47d94', height: '15px', width: '50%' }), h("salla-skeleton", { key: 'ef1935d0e8fccfbce3b9cf3a652c7c521539cf13', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
175
175
  ? [h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.getOfferContent(), h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
176
176
  h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
177
177
  : '', h("label", { class: "s-offer-modal-remember-label" }, h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/components/salla-order-details/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface OrderProduct {\n id: number | string;\n name: string;\n url: string;\n quantity?: number;\n price?: number | string;\n sale_price?: number | string;\n regular_price?: number | string;\n is_on_sale?: boolean;\n image?: ProductImage | string;\n options?: ProductOption[];\n sub_products?: OrderProduct[];\n}\n\nexport interface SubProduct {\n id: number | string;\n name: string;\n quantity?: number;\n price?: number | string;\n image?: ProductImage;\n options?: ProductOption[];\n regular_price?: number | string;\n sale_price?: number | string;\n is_on_sale?: boolean;\n url?: string;\n}\n\nexport interface ProductImage {\n url: string;\n alt?: string;\n}\n\nexport interface ProductOption {\n id: number | string;\n name: string;\n value: string | number;\n display_value?: string;\n price?: number | string;\n type?: string;\n // Option type flags\n is_image?: boolean;\n is_file?: boolean;\n is_color_picker?: boolean;\n is_map?: boolean;\n // Color option\n color?: string;\n // Map coordinates\n latitude?: number | string;\n longitude?: number | string;\n}\n\nexport interface OrderDetailsProps {\n product: OrderProduct;\n accordionId?: string;\n accordionKey?: string | number;\n accordionSize?: 'sm' | 'md' | 'lg';\n options?: ProductOption[];\n collapsible?: boolean;\n collapsed?: boolean;\n bordered?: boolean;\n placeholderImage?: string;\n}\n"]}
@@ -0,0 +1,152 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { Host, h } from "@stencil/core";
5
+ /**
6
+ * @salla/ui-components
7
+ * The `salla-order-details-multiple-bundle-product` component renders a collapsible summary for an order multiple bundle product with optional options list.
8
+ * It uses the salla-accordion component to provide collapsible functionality.
9
+ */
10
+ export class SallaproductDetailsMultipleBundleProduct {
11
+ constructor() {
12
+ /** Placeholder image URL when product image is not available */
13
+ this.placeholderImage = salla.url.cdn('images/s-empty.png');
14
+ }
15
+ getProductImage() {
16
+ var _a;
17
+ if (!((_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.image)) {
18
+ return this.placeholderImage;
19
+ }
20
+ // Handle both string and object types for image
21
+ if (typeof this.productDetails.image === 'string') {
22
+ return this.productDetails.image;
23
+ }
24
+ return (this.productDetails.image.url || this.placeholderImage || salla.url.cdn('images/s-empty.png'));
25
+ }
26
+ getProductImageAlt() {
27
+ var _a, _b, _c;
28
+ if (!((_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.image) || typeof this.productDetails.image === 'string') {
29
+ return ((_b = this.productDetails) === null || _b === void 0 ? void 0 : _b.name) || '';
30
+ }
31
+ return this.productDetails.image.alt || ((_c = this.productDetails) === null || _c === void 0 ? void 0 : _c.name) || '';
32
+ }
33
+ getAccordionId() {
34
+ var _a;
35
+ return `accordion-${((_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.id) || 'default'}`;
36
+ }
37
+ getAccordionKey() {
38
+ var _a;
39
+ return ((_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.id) || 'default';
40
+ }
41
+ shouldBeCollapsible() {
42
+ var _a, _b;
43
+ if (this.collapsible !== undefined) {
44
+ return this.collapsible;
45
+ }
46
+ return ((_b = (_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.length) > 0;
47
+ }
48
+ renderProductPrice() {
49
+ if (!this.productDetails) {
50
+ return null;
51
+ }
52
+ const { is_on_sale, sale_price, regular_price, price } = this.productDetails;
53
+ if (is_on_sale && sale_price) {
54
+ return (h("div", null, h("span", { class: "s-order-details-product-price s-order-details-product-price-sale" }, h("span", { innerHTML: salla.money(sale_price) })), regular_price && (h("span", { class: "s-order-details-product-regular-price" }, h("span", { innerHTML: salla.money(regular_price) })))));
55
+ }
56
+ return (h("span", { class: "s-order-details-product-price" }, h("span", { innerHTML: salla.money(price) })));
57
+ }
58
+ renderOptions() {
59
+ var _a, _b;
60
+ if (!((_b = (_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.length)) {
61
+ return null;
62
+ }
63
+ return (h("salla-accordion-body", null, h("div", { class: "s-order-details-options" }, h("salla-order-details-options", { options: this.productDetails.options }))));
64
+ }
65
+ render() {
66
+ var _a, _b, _c;
67
+ if (!this.productDetails) {
68
+ return null;
69
+ }
70
+ const collapsibleState = this.shouldBeCollapsible();
71
+ return (h(Host, { class: "s-order-details-bundle-wrapper" }, h("salla-accordion", { key: this.getAccordionKey(), collapsed: false, bordered: true, collapsible: collapsibleState, id: this.getAccordionId(), size: "sm" }, h("salla-accordion-head", null, h("div", { class: "s-order-details-product" }, h("div", { class: "s-order-details-product-content" }, h("div", { class: "s-order-details-product-info" }, h("div", { class: "s-order-details-product-image" }, h("img", { src: this.getProductImage(), alt: this.getProductImageAlt() })), h("div", { class: "s-order-details-product-details" }, h("a", { href: ((_a = this.productDetails) === null || _a === void 0 ? void 0 : _a.url) || '#', class: "s-order-details-product-name" }, ((_b = this.productDetails) === null || _b === void 0 ? void 0 : _b.name) || ''), this.renderProductPrice(), ((_c = this.productDetails) === null || _c === void 0 ? void 0 : _c.quantity) && (h("span", { class: "s-order-details-product-quantity" }, "\u00D7", this.productDetails.quantity))))))), this.renderOptions())));
72
+ }
73
+ static get is() { return "salla-order-details-multiple-bundle-product"; }
74
+ static get originalStyleUrls() {
75
+ return {
76
+ "$": ["salla-order-details-multiple-bundle-product.scss"]
77
+ };
78
+ }
79
+ static get styleUrls() {
80
+ return {
81
+ "$": ["salla-order-details-multiple-bundle-product.css"]
82
+ };
83
+ }
84
+ static get properties() {
85
+ return {
86
+ "productDetails": {
87
+ "type": "unknown",
88
+ "attribute": "product-details",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "OrderProduct",
92
+ "resolved": "OrderProduct",
93
+ "references": {
94
+ "OrderProduct": {
95
+ "location": "import",
96
+ "path": "./interfaces",
97
+ "id": "src/components/salla-order-details/interfaces.ts::OrderProduct"
98
+ }
99
+ }
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": "The product data to display"
106
+ },
107
+ "getter": false,
108
+ "setter": false
109
+ },
110
+ "collapsible": {
111
+ "type": "boolean",
112
+ "attribute": "collapsible",
113
+ "mutable": false,
114
+ "complexType": {
115
+ "original": "boolean",
116
+ "resolved": "boolean",
117
+ "references": {}
118
+ },
119
+ "required": false,
120
+ "optional": true,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": "Whether the accordion should be collapsible"
124
+ },
125
+ "getter": false,
126
+ "setter": false,
127
+ "reflect": false
128
+ },
129
+ "placeholderImage": {
130
+ "type": "string",
131
+ "attribute": "placeholder-image",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "string",
135
+ "resolved": "string",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "Placeholder image URL when product image is not available"
143
+ },
144
+ "getter": false,
145
+ "setter": false,
146
+ "reflect": false,
147
+ "defaultValue": "salla.url.cdn('images/s-empty.png')"
148
+ }
149
+ };
150
+ }
151
+ }
152
+ //# sourceMappingURL=salla-order-details-multiple-bundle-product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"salla-order-details-multiple-bundle-product.js","sourceRoot":"","sources":["../../../src/components/salla-order-details/salla-order-details-multiple-bundle-product.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGzD;;;;GAIG;AAKH,MAAM,OAAO,wCAAwC;IAJrD;QAWE,gEAAgE;QACxD,qBAAgB,GAAW,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;KAgIxE;IA9HS,eAAe;;QACrB,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,KAAK,CAAA,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,gBAAgB,CAAC;QAC/B,CAAC;QAED,gDAAgD;QAChD,IAAI,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YAClD,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;QACnC,CAAC;QAED,OAAO,CACL,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,CAAC,gBAAgB,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAC9F,CAAC;IACJ,CAAC;IAEO,kBAAkB;;QACxB,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,KAAK,CAAA,IAAI,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YACjF,OAAO,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,IAAI,KAAI,EAAE,CAAC;QACzC,CAAC;QAED,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,KAAI,MAAA,IAAI,CAAC,cAAc,0CAAE,IAAI,CAAA,IAAI,EAAE,CAAC;IAC1E,CAAC;IAEO,cAAc;;QACpB,OAAO,aAAa,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,EAAE,KAAI,SAAS,EAAE,CAAC;IAC7D,CAAC;IAEO,eAAe;;QACrB,OAAO,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,EAAE,KAAI,SAAS,CAAC;IAC9C,CAAC;IAEO,mBAAmB;;QACzB,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YACnC,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC;QACD,OAAO,CAAA,MAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,0CAAE,MAAM,IAAG,CAAC,CAAC;IAClD,CAAC;IAEO,kBAAkB;QACxB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAqB,CAAC;QAEpF,IAAI,UAAU,IAAI,UAAU,EAAE,CAAC;YAC7B,OAAO,CACL;gBACE,YAAM,KAAK,EAAC,kEAAkE;oBAC5E,YAAM,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAS,CAC5C;gBACN,aAAa,IAAI,CAChB,YAAM,KAAK,EAAC,uCAAuC;oBACjD,YAAM,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,GAAS,CAC/C,CACR,CACG,CACP,CAAC;QACJ,CAAC;QAED,OAAO,CACL,YAAM,KAAK,EAAC,+BAA+B;YACzC,YAAM,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAS,CACvC,CACR,CAAC;IACJ,CAAC;IAEO,aAAa;;QACnB,IAAI,CAAC,CAAA,MAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,0CAAE,MAAM,CAAA,EAAE,CAAC;YAC1C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,CACL;YACE,WAAK,KAAK,EAAC,yBAAyB;gBAClC,mCAA6B,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,GAAI,CACjE,CACe,CACxB,CAAC;IACJ,CAAC;IAED,MAAM;;QACJ,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAEpD,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAC,gCAAgC;YAC1C,uBACE,GAAG,EAAE,IAAI,CAAC,eAAe,EAAE,EAC3B,SAAS,EAAE,KAAK,EAChB,QAAQ,EAAE,IAAI,EACd,WAAW,EAAE,gBAAgB,EAC7B,EAAE,EAAE,IAAI,CAAC,cAAc,EAAE,EACzB,IAAI,EAAC,IAAI;gBAET;oBACE,WAAK,KAAK,EAAC,yBAAyB;wBAClC,WAAK,KAAK,EAAC,iCAAiC;4BAC1C,WAAK,KAAK,EAAC,8BAA8B;gCACvC,WAAK,KAAK,EAAC,+BAA+B;oCACxC,WAAK,GAAG,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAAE,GAAI,CAChE;gCACN,WAAK,KAAK,EAAC,iCAAiC;oCAC1C,SAAG,IAAI,EAAE,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,GAAG,KAAI,GAAG,EAAE,KAAK,EAAC,8BAA8B,IAC3E,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,IAAI,KAAI,EAAE,CAC9B;oCACH,IAAI,CAAC,kBAAkB,EAAE;oCACzB,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,QAAQ,KAAI,CAChC,YAAM,KAAK,EAAC,kCAAkC;;wCAC1C,IAAI,CAAC,cAAc,CAAC,QAAQ,CACzB,CACR,CACG,CACF,CACF,CACF,CACe;gBAEtB,IAAI,CAAC,aAAa,EAAE,CACL,CACb,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\nimport { OrderProduct } from './interfaces';\n\n/**\n * @salla/ui-components\n * The `salla-order-details-multiple-bundle-product` component renders a collapsible summary for an order multiple bundle product with optional options list.\n * It uses the salla-accordion component to provide collapsible functionality.\n */\n@Component({\n tag: 'salla-order-details-multiple-bundle-product',\n styleUrl: 'salla-order-details-multiple-bundle-product.scss',\n})\nexport class SallaproductDetailsMultipleBundleProduct {\n /** The product data to display */\n @Prop({ attribute: 'product-details' }) productDetails: OrderProduct;\n\n /** Whether the accordion should be collapsible */\n @Prop() collapsible?: boolean;\n\n /** Placeholder image URL when product image is not available */\n @Prop() placeholderImage: string = salla.url.cdn('images/s-empty.png');\n\n private getProductImage(): string {\n if (!this.productDetails?.image) {\n return this.placeholderImage;\n }\n\n // Handle both string and object types for image\n if (typeof this.productDetails.image === 'string') {\n return this.productDetails.image;\n }\n\n return (\n this.productDetails.image.url || this.placeholderImage || salla.url.cdn('images/s-empty.png')\n );\n }\n\n private getProductImageAlt(): string {\n if (!this.productDetails?.image || typeof this.productDetails.image === 'string') {\n return this.productDetails?.name || '';\n }\n\n return this.productDetails.image.alt || this.productDetails?.name || '';\n }\n\n private getAccordionId(): string {\n return `accordion-${this.productDetails?.id || 'default'}`;\n }\n\n private getAccordionKey(): string | number {\n return this.productDetails?.id || 'default';\n }\n\n private shouldBeCollapsible(): boolean {\n if (this.collapsible !== undefined) {\n return this.collapsible;\n }\n return this.productDetails?.options?.length > 0;\n }\n\n private renderProductPrice() {\n if (!this.productDetails) {\n return null;\n }\n\n const { is_on_sale, sale_price, regular_price, price } = this.productDetails as any;\n\n if (is_on_sale && sale_price) {\n return (\n <div>\n <span class=\"s-order-details-product-price s-order-details-product-price-sale\">\n <span innerHTML={salla.money(sale_price)}></span>\n </span>\n {regular_price && (\n <span class=\"s-order-details-product-regular-price\">\n <span innerHTML={salla.money(regular_price)}></span>\n </span>\n )}\n </div>\n );\n }\n\n return (\n <span class=\"s-order-details-product-price\">\n <span innerHTML={salla.money(price)}></span>\n </span>\n );\n }\n\n private renderOptions() {\n if (!this.productDetails?.options?.length) {\n return null;\n }\n\n return (\n <salla-accordion-body>\n <div class=\"s-order-details-options\">\n <salla-order-details-options options={this.productDetails.options} />\n </div>\n </salla-accordion-body>\n );\n }\n\n render() {\n if (!this.productDetails) {\n return null;\n }\n\n const collapsibleState = this.shouldBeCollapsible();\n\n return (\n <Host class=\"s-order-details-bundle-wrapper\">\n <salla-accordion\n key={this.getAccordionKey()}\n collapsed={false}\n bordered={true}\n collapsible={collapsibleState}\n id={this.getAccordionId()}\n size=\"sm\"\n >\n <salla-accordion-head>\n <div class=\"s-order-details-product\">\n <div class=\"s-order-details-product-content\">\n <div class=\"s-order-details-product-info\">\n <div class=\"s-order-details-product-image\">\n <img src={this.getProductImage()} alt={this.getProductImageAlt()} />\n </div>\n <div class=\"s-order-details-product-details\">\n <a href={this.productDetails?.url || '#'} class=\"s-order-details-product-name\">\n {this.productDetails?.name || ''}\n </a>\n {this.renderProductPrice()}\n {this.productDetails?.quantity && (\n <span class=\"s-order-details-product-quantity\">\n ×{this.productDetails.quantity}\n </span>\n )}\n </div>\n </div>\n </div>\n </div>\n </salla-accordion-head>\n\n {this.renderOptions()}\n </salla-accordion>\n </Host>\n );\n }\n}\n"]}