@aiconomy/aico-components 0.0.13 → 0.0.53

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 (593) hide show
  1. package/dist/aico-components/aico-components.css +6 -0
  2. package/dist/aico-components/aico-components.esm.js +2 -0
  3. package/dist/aico-components/aico-components.esm.js.map +1 -0
  4. package/dist/aico-components/assets/slick/ajax-loader.gif +0 -0
  5. package/dist/aico-components/assets/slick/slick.eot +0 -0
  6. package/dist/aico-components/assets/slick/slick.svg +14 -0
  7. package/dist/aico-components/assets/slick/slick.ttf +0 -0
  8. package/dist/aico-components/assets/slick/slick.woff +0 -0
  9. package/dist/aico-components/index.esm.js +2 -0
  10. package/dist/aico-components/index.esm.js.map +1 -0
  11. package/dist/aico-components/p-1a6625c0.entry.js +2 -0
  12. package/dist/aico-components/p-1a6625c0.entry.js.map +1 -0
  13. package/dist/aico-components/p-2aae1a0e.js +3 -0
  14. package/dist/aico-components/p-2aae1a0e.js.map +1 -0
  15. package/dist/aico-components/p-31666f10.js +2 -0
  16. package/dist/aico-components/p-31666f10.js.map +1 -0
  17. package/dist/aico-components/p-42b98baf.entry.js +2 -0
  18. package/dist/aico-components/p-42b98baf.entry.js.map +1 -0
  19. package/dist/aico-components/p-54708dd0.entry.js +2 -0
  20. package/dist/aico-components/p-54708dd0.entry.js.map +1 -0
  21. package/dist/aico-components/p-776352ba.entry.js +2 -0
  22. package/dist/aico-components/p-776352ba.entry.js.map +1 -0
  23. package/dist/aico-components/p-7c05cd02.entry.js +2 -0
  24. package/dist/aico-components/p-7c05cd02.entry.js.map +1 -0
  25. package/dist/aico-components/p-83655dd4.entry.js +2 -0
  26. package/dist/aico-components/p-83655dd4.entry.js.map +1 -0
  27. package/dist/aico-components/p-86c7fdc7.js +13 -0
  28. package/dist/aico-components/p-86c7fdc7.js.map +1 -0
  29. package/dist/aico-components/p-a58972e9.entry.js +7 -0
  30. package/dist/aico-components/p-a58972e9.entry.js.map +1 -0
  31. package/dist/aico-components/p-b0325a83.entry.js +2 -0
  32. package/dist/aico-components/p-b0325a83.entry.js.map +1 -0
  33. package/dist/aico-components/p-b78d7799.entry.js +2 -0
  34. package/dist/aico-components/p-b78d7799.entry.js.map +1 -0
  35. package/dist/aico-components/p-c99617a8.entry.js +2 -0
  36. package/dist/aico-components/p-c99617a8.entry.js.map +1 -0
  37. package/dist/cjs/aico-album-content_19.cjs.entry.js +6906 -0
  38. package/dist/cjs/aico-album-content_19.cjs.entry.js.map +1 -0
  39. package/dist/cjs/aico-article-detail.cjs.entry.js +124 -0
  40. package/dist/cjs/aico-article-detail.cjs.entry.js.map +1 -0
  41. package/dist/cjs/aico-asking-list-content.cjs.entry.js +21 -0
  42. package/dist/cjs/aico-asking-list-content.cjs.entry.js.map +1 -0
  43. package/dist/cjs/aico-collection-content.cjs.entry.js +21 -0
  44. package/dist/cjs/aico-collection-content.cjs.entry.js.map +1 -0
  45. package/dist/cjs/aico-components.cjs.js +25 -0
  46. package/dist/cjs/aico-components.cjs.js.map +1 -0
  47. package/dist/cjs/aico-fetch-article-detail.cjs.entry.js +36 -0
  48. package/dist/cjs/aico-fetch-article-detail.cjs.entry.js.map +1 -0
  49. package/dist/cjs/aico-news-list-item.cjs.entry.js +24 -0
  50. package/dist/cjs/aico-news-list-item.cjs.entry.js.map +1 -0
  51. package/dist/cjs/aico-news-list.cjs.entry.js +92 -0
  52. package/dist/cjs/aico-news-list.cjs.entry.js.map +1 -0
  53. package/dist/cjs/aico-no-content_2.cjs.entry.js +49 -0
  54. package/dist/cjs/aico-no-content_2.cjs.entry.js.map +1 -0
  55. package/dist/cjs/aico-special-news-carousel.cjs.entry.js +60 -0
  56. package/dist/cjs/aico-special-news-carousel.cjs.entry.js.map +1 -0
  57. package/dist/cjs/bootstrap-slick-test.cjs.entry.js +38 -0
  58. package/dist/cjs/bootstrap-slick-test.cjs.entry.js.map +1 -0
  59. package/dist/cjs/index-75c0e002.js +2280 -0
  60. package/dist/cjs/index-75c0e002.js.map +1 -0
  61. package/dist/cjs/index.cjs.js +4 -0
  62. package/dist/cjs/index.cjs.js.map +1 -0
  63. package/dist/cjs/loader.cjs.js +15 -0
  64. package/dist/cjs/loader.cjs.js.map +1 -0
  65. package/dist/cjs/slick-d0dfbd94.js +13662 -0
  66. package/dist/cjs/slick-d0dfbd94.js.map +1 -0
  67. package/dist/cjs/utils-406a9df3.js +92 -0
  68. package/dist/cjs/utils-406a9df3.js.map +1 -0
  69. package/dist/collection/assets/slick/ajax-loader.gif +0 -0
  70. package/dist/collection/assets/slick/slick.eot +0 -0
  71. package/dist/collection/assets/slick/slick.svg +14 -0
  72. package/dist/collection/assets/slick/slick.ttf +0 -0
  73. package/dist/collection/assets/slick/slick.woff +0 -0
  74. package/dist/collection/collection-manifest.json +40 -0
  75. package/dist/collection/components/aico-article-detail/aico-article-detail.css +0 -0
  76. package/dist/collection/components/aico-article-detail/aico-article-detail.js +117 -0
  77. package/dist/collection/components/aico-article-detail/aico-article-detail.js.map +1 -0
  78. package/dist/collection/components/aico-article-detail/test/aico-article-detail.e2e.js +6 -0
  79. package/dist/collection/components/aico-article-detail/test/aico-article-detail.e2e.js.map +1 -0
  80. package/dist/collection/components/aico-article-detail/test/aico-article-detail.spec.js +6 -0
  81. package/dist/collection/components/aico-article-detail/test/aico-article-detail.spec.js.map +1 -0
  82. package/dist/collection/components/aico-fetch-article-detail/aico-fetch-article-detail.css +0 -0
  83. package/dist/collection/components/aico-fetch-article-detail/aico-fetch-article-detail.js +96 -0
  84. package/dist/collection/components/aico-fetch-article-detail/aico-fetch-article-detail.js.map +1 -0
  85. package/dist/collection/components/aico-fetch-article-detail/aico-fetch-article-detail.stories.js +19 -0
  86. package/dist/collection/components/aico-fetch-article-detail/aico-fetch-article-detail.stories.js.map +1 -0
  87. package/dist/collection/components/aico-fetch-article-detail/test/aico-fetch-article-detail.e2e.js +6 -0
  88. package/dist/collection/components/aico-fetch-article-detail/test/aico-fetch-article-detail.e2e.js.map +1 -0
  89. package/dist/collection/components/aico-fetch-article-detail/test/aico-fetch-article-detail.spec.js +6 -0
  90. package/dist/collection/components/aico-fetch-article-detail/test/aico-fetch-article-detail.spec.js.map +1 -0
  91. package/dist/collection/components/aico-news-list/aico-news-list.css +113 -0
  92. package/dist/collection/components/aico-news-list/aico-news-list.js +195 -0
  93. package/dist/collection/components/aico-news-list/aico-news-list.js.map +1 -0
  94. package/dist/collection/components/aico-news-list/aico-news-list.stories.js +21 -0
  95. package/dist/collection/components/aico-news-list/aico-news-list.stories.js.map +1 -0
  96. package/dist/collection/components/aico-news-list/test/aico-news-list.e2e.js +6 -0
  97. package/dist/collection/components/aico-news-list/test/aico-news-list.e2e.js.map +1 -0
  98. package/dist/collection/components/aico-news-list/test/aico-news-list.spec.js +6 -0
  99. package/dist/collection/components/aico-news-list/test/aico-news-list.spec.js.map +1 -0
  100. package/dist/collection/components/aico-news-list-item/aico-news-list-item.css +0 -0
  101. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js +72 -0
  102. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js.map +1 -0
  103. package/dist/collection/components/aico-news-list-item/aico-news-list-item.stories.js +61 -0
  104. package/dist/collection/components/aico-news-list-item/aico-news-list-item.stories.js.map +1 -0
  105. package/dist/collection/components/aico-news-list-item/test/aico-news-list-item.e2e.js +6 -0
  106. package/dist/collection/components/aico-news-list-item/test/aico-news-list-item.e2e.js.map +1 -0
  107. package/dist/collection/components/aico-news-list-item/test/aico-news-list-item.spec.js +6 -0
  108. package/dist/collection/components/aico-news-list-item/test/aico-news-list-item.spec.js.map +1 -0
  109. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.css +3 -0
  110. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js +145 -0
  111. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js.map +1 -0
  112. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.stories.js +30 -0
  113. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.stories.js.map +1 -0
  114. package/dist/collection/components/aico-special-news-carousel/test/aico-special-news-carousel.e2e.js +6 -0
  115. package/dist/collection/components/aico-special-news-carousel/test/aico-special-news-carousel.e2e.js.map +1 -0
  116. package/dist/collection/components/aico-special-news-carousel/test/aico-special-news-carousel.spec.js +6 -0
  117. package/dist/collection/components/aico-special-news-carousel/test/aico-special-news-carousel.spec.js.map +1 -0
  118. package/dist/collection/components/bootstrap-slick-test/bootstrap-slick-test.css +6 -0
  119. package/dist/collection/components/bootstrap-slick-test/bootstrap-slick-test.js +37 -0
  120. package/dist/collection/components/bootstrap-slick-test/bootstrap-slick-test.js.map +1 -0
  121. package/dist/collection/components/bootstrap-slick-test/bootstrap-slick-test.stories.js +6 -0
  122. package/dist/collection/components/bootstrap-slick-test/bootstrap-slick-test.stories.js.map +1 -0
  123. package/dist/collection/components/content/aico-album-content/aico-album-content.css +0 -0
  124. package/dist/collection/components/content/aico-album-content/aico-album-content.js +104 -0
  125. package/dist/collection/components/content/aico-album-content/aico-album-content.js.map +1 -0
  126. package/dist/collection/components/content/aico-album-content/aico-album-content.stories.js +70 -0
  127. package/dist/collection/components/content/aico-album-content/aico-album-content.stories.js.map +1 -0
  128. package/dist/collection/components/content/aico-asking-content/aico-asking-content.css +63 -0
  129. package/dist/collection/components/content/aico-asking-content/aico-asking-content.js +49 -0
  130. package/dist/collection/components/content/aico-asking-content/aico-asking-content.js.map +1 -0
  131. package/dist/collection/components/content/aico-asking-content/aico-asking-content.stories.js +37 -0
  132. package/dist/collection/components/content/aico-asking-content/aico-asking-content.stories.js.map +1 -0
  133. package/dist/collection/components/content/aico-asking-list-content/aico-asking-list-content.css +85 -0
  134. package/dist/collection/components/content/aico-asking-list-content/aico-asking-list-content.js +19 -0
  135. package/dist/collection/components/content/aico-asking-list-content/aico-asking-list-content.js.map +1 -0
  136. package/dist/collection/components/content/aico-block-quote-content/aico-block-quote-content.css +0 -0
  137. package/dist/collection/components/content/aico-block-quote-content/aico-block-quote-content.js +49 -0
  138. package/dist/collection/components/content/aico-block-quote-content/aico-block-quote-content.js.map +1 -0
  139. package/dist/collection/components/content/aico-block-quote-content/aico-block-quote-content.stories.js +26 -0
  140. package/dist/collection/components/content/aico-block-quote-content/aico-block-quote-content.stories.js.map +1 -0
  141. package/dist/collection/components/content/aico-bullet-content/aico-bullet-content.css +0 -0
  142. package/dist/collection/components/content/aico-bullet-content/aico-bullet-content.js +79 -0
  143. package/dist/collection/components/content/aico-bullet-content/aico-bullet-content.js.map +1 -0
  144. package/dist/collection/components/content/aico-bullet-content/aico-bullet-content.stories.js +71 -0
  145. package/dist/collection/components/content/aico-bullet-content/aico-bullet-content.stories.js.map +1 -0
  146. package/dist/collection/components/content/aico-carousel-content/aico-carousel-content.css +1 -0
  147. package/dist/collection/components/content/aico-carousel-content/aico-carousel-content.js +95 -0
  148. package/dist/collection/components/content/aico-carousel-content/aico-carousel-content.js.map +1 -0
  149. package/dist/collection/components/content/aico-carousel-content/aico-carousel-content.stories.js +73 -0
  150. package/dist/collection/components/content/aico-carousel-content/aico-carousel-content.stories.js.map +1 -0
  151. package/dist/collection/components/content/aico-collection-content/aico-collection-content.css +3 -0
  152. package/dist/collection/components/content/aico-collection-content/aico-collection-content.js +19 -0
  153. package/dist/collection/components/content/aico-collection-content/aico-collection-content.js.map +1 -0
  154. package/dist/collection/components/content/aico-content-card-content/aico-content-card-content.css +0 -0
  155. package/dist/collection/components/content/aico-content-card-content/aico-content-card-content.js +62 -0
  156. package/dist/collection/components/content/aico-content-card-content/aico-content-card-content.js.map +1 -0
  157. package/dist/collection/components/content/aico-content-card-content/aico-content-card-content.stories.js +26 -0
  158. package/dist/collection/components/content/aico-content-card-content/aico-content-card-content.stories.js.map +1 -0
  159. package/dist/collection/components/content/aico-divider-content/aico-divider-content.css +0 -0
  160. package/dist/collection/components/content/aico-divider-content/aico-divider-content.js +49 -0
  161. package/dist/collection/components/content/aico-divider-content/aico-divider-content.js.map +1 -0
  162. package/dist/collection/components/content/aico-divider-content/aico-divider-content.stories.js +23 -0
  163. package/dist/collection/components/content/aico-divider-content/aico-divider-content.stories.js.map +1 -0
  164. package/dist/collection/components/content/aico-document-content/aico-document-content.css +8 -0
  165. package/dist/collection/components/content/aico-document-content/aico-document-content.js +73 -0
  166. package/dist/collection/components/content/aico-document-content/aico-document-content.js.map +1 -0
  167. package/dist/collection/components/content/aico-document-content/aico-document-content.stories.js +30 -0
  168. package/dist/collection/components/content/aico-document-content/aico-document-content.stories.js.map +1 -0
  169. package/dist/collection/components/content/aico-faq-content/aico-faq-content.css +0 -0
  170. package/dist/collection/components/content/aico-faq-content/aico-faq-content.js +54 -0
  171. package/dist/collection/components/content/aico-faq-content/aico-faq-content.js.map +1 -0
  172. package/dist/collection/components/content/aico-faq-content/aico-faq-content.stories.js +60 -0
  173. package/dist/collection/components/content/aico-faq-content/aico-faq-content.stories.js.map +1 -0
  174. package/dist/collection/components/content/aico-heading-content/aico-heading-content.css +36 -0
  175. package/dist/collection/components/content/aico-heading-content/aico-heading-content.js +81 -0
  176. package/dist/collection/components/content/aico-heading-content/aico-heading-content.js.map +1 -0
  177. package/dist/collection/components/content/aico-heading-content/aico-heading-content.stories.js +31 -0
  178. package/dist/collection/components/content/aico-heading-content/aico-heading-content.stories.js.map +1 -0
  179. package/dist/collection/components/content/aico-html-content/aico-html-content.css +3 -0
  180. package/dist/collection/components/content/aico-html-content/aico-html-content.js +52 -0
  181. package/dist/collection/components/content/aico-html-content/aico-html-content.js.map +1 -0
  182. package/dist/collection/components/content/aico-link-content/aico-link-content.css +37 -0
  183. package/dist/collection/components/content/aico-link-content/aico-link-content.js +68 -0
  184. package/dist/collection/components/content/aico-link-content/aico-link-content.js.map +1 -0
  185. package/dist/collection/components/content/aico-link-content/aico-link-content.stories.js +59 -0
  186. package/dist/collection/components/content/aico-link-content/aico-link-content.stories.js.map +1 -0
  187. package/dist/collection/components/content/aico-news-content/aico-news-content.css +11 -0
  188. package/dist/collection/components/content/aico-news-content/aico-news-content.js +79 -0
  189. package/dist/collection/components/content/aico-news-content/aico-news-content.js.map +1 -0
  190. package/dist/collection/components/content/aico-news-content/aico-news-content.stories.js +43 -0
  191. package/dist/collection/components/content/aico-news-content/aico-news-content.stories.js.map +1 -0
  192. package/dist/collection/components/content/aico-no-content/aico-no-content.css +3 -0
  193. package/dist/collection/components/content/aico-no-content/aico-no-content.js +19 -0
  194. package/dist/collection/components/content/aico-no-content/aico-no-content.js.map +1 -0
  195. package/dist/collection/components/content/aico-page-content/aico-page-content.css +3 -0
  196. package/dist/collection/components/content/aico-page-content/aico-page-content.js +79 -0
  197. package/dist/collection/components/content/aico-page-content/aico-page-content.js.map +1 -0
  198. package/dist/collection/components/content/aico-page-content/aico-page-content.stories.js +37 -0
  199. package/dist/collection/components/content/aico-page-content/aico-page-content.stories.js.map +1 -0
  200. package/dist/collection/components/content/aico-table-content/aico-table-content.css +21 -0
  201. package/dist/collection/components/content/aico-table-content/aico-table-content.js +73 -0
  202. package/dist/collection/components/content/aico-table-content/aico-table-content.js.map +1 -0
  203. package/dist/collection/components/content/aico-table-content/aico-table-content.stories.js +130 -0
  204. package/dist/collection/components/content/aico-table-content/aico-table-content.stories.js.map +1 -0
  205. package/dist/collection/components/content/aico-testimonial-content/aico-testimonial-content.css +93 -0
  206. package/dist/collection/components/content/aico-testimonial-content/aico-testimonial-content.js +51 -0
  207. package/dist/collection/components/content/aico-testimonial-content/aico-testimonial-content.js.map +1 -0
  208. package/dist/collection/components/content/aico-testimonial-content/aico-testimonial-content.stories.js +23 -0
  209. package/dist/collection/components/content/aico-testimonial-content/aico-testimonial-content.stories.js.map +1 -0
  210. package/dist/collection/components/content/aico-text-content/aico-text-content.css +0 -0
  211. package/dist/collection/components/content/aico-text-content/aico-text-content.js +127 -0
  212. package/dist/collection/components/content/aico-text-content/aico-text-content.js.map +1 -0
  213. package/dist/collection/components/content/aico-text-content/aico-text-content.stories.js +173 -0
  214. package/dist/collection/components/content/aico-text-content/aico-text-content.stories.js.map +1 -0
  215. package/dist/collection/components/content/aico-title-content/aico-title-content.css +3 -0
  216. package/dist/collection/components/content/aico-title-content/aico-title-content.js +61 -0
  217. package/dist/collection/components/content/aico-title-content/aico-title-content.js.map +1 -0
  218. package/dist/collection/components/content/aico-title-content/aico-title-content.stories.js +28 -0
  219. package/dist/collection/components/content/aico-title-content/aico-title-content.stories.js.map +1 -0
  220. package/dist/collection/components/content/aico-upload-content/aico-upload-content.css +3 -0
  221. package/dist/collection/components/content/aico-upload-content/aico-upload-content.js +66 -0
  222. package/dist/collection/components/content/aico-upload-content/aico-upload-content.js.map +1 -0
  223. package/dist/collection/components/content/aico-upload-content/aico-upload-content.stories.js +39 -0
  224. package/dist/collection/components/content/aico-upload-content/aico-upload-content.stories.js.map +1 -0
  225. package/dist/collection/components/content/aico-video-content/aico-video-content.css +10 -0
  226. package/dist/collection/components/content/aico-video-content/aico-video-content.js +62 -0
  227. package/dist/collection/components/content/aico-video-content/aico-video-content.js.map +1 -0
  228. package/dist/collection/components/content/aico-video-content/aico-video-content.stories.js +43 -0
  229. package/dist/collection/components/content/aico-video-content/aico-video-content.stories.js.map +1 -0
  230. package/dist/collection/components/content/content-styles.css +113 -0
  231. package/dist/collection/index.js +2 -0
  232. package/dist/collection/index.js.map +1 -0
  233. package/dist/collection/model/AicoApiRequestInfo.js +13 -0
  234. package/dist/collection/model/AicoApiRequestInfo.js.map +1 -0
  235. package/dist/collection/model/Article.js +2 -0
  236. package/dist/collection/model/Article.js.map +1 -0
  237. package/dist/collection/model/Entity.js +7 -0
  238. package/dist/collection/model/Entity.js.map +1 -0
  239. package/dist/collection/model/NewsCategory.js +2 -0
  240. package/dist/collection/model/NewsCategory.js.map +1 -0
  241. package/dist/collection/model/NewsResponse.js +2 -0
  242. package/dist/collection/model/NewsResponse.js.map +1 -0
  243. package/dist/collection/model/article/ContentType.js +33 -0
  244. package/dist/collection/model/article/ContentType.js.map +1 -0
  245. package/dist/collection/model/article/Translation.js +8 -0
  246. package/dist/collection/model/article/Translation.js.map +1 -0
  247. package/dist/collection/model/article/content/AlbumContent.js +2 -0
  248. package/dist/collection/model/article/content/AlbumContent.js.map +1 -0
  249. package/dist/collection/model/article/content/AskingContent.js +21 -0
  250. package/dist/collection/model/article/content/AskingContent.js.map +1 -0
  251. package/dist/collection/model/article/content/AskingListContent.js +7 -0
  252. package/dist/collection/model/article/content/AskingListContent.js.map +1 -0
  253. package/dist/collection/model/article/content/BlockQuoteContent.js +2 -0
  254. package/dist/collection/model/article/content/BlockQuoteContent.js.map +1 -0
  255. package/dist/collection/model/article/content/BulletContent.js +2 -0
  256. package/dist/collection/model/article/content/BulletContent.js.map +1 -0
  257. package/dist/collection/model/article/content/CardContent.js +2 -0
  258. package/dist/collection/model/article/content/CardContent.js.map +1 -0
  259. package/dist/collection/model/article/content/CarouselContent.js +2 -0
  260. package/dist/collection/model/article/content/CarouselContent.js.map +1 -0
  261. package/dist/collection/model/article/content/CollectionContent.js +52 -0
  262. package/dist/collection/model/article/content/CollectionContent.js.map +1 -0
  263. package/dist/collection/model/article/content/DividerContent.js +2 -0
  264. package/dist/collection/model/article/content/DividerContent.js.map +1 -0
  265. package/dist/collection/model/article/content/DocumentContent.js +2 -0
  266. package/dist/collection/model/article/content/DocumentContent.js.map +1 -0
  267. package/dist/collection/model/article/content/FaqContent.js +12 -0
  268. package/dist/collection/model/article/content/FaqContent.js.map +1 -0
  269. package/dist/collection/model/article/content/HeadingContent.js +2 -0
  270. package/dist/collection/model/article/content/HeadingContent.js.map +1 -0
  271. package/dist/collection/model/article/content/HtmlContent.js +2 -0
  272. package/dist/collection/model/article/content/HtmlContent.js.map +1 -0
  273. package/dist/collection/model/article/content/LinkContent.js +2 -0
  274. package/dist/collection/model/article/content/LinkContent.js.map +1 -0
  275. package/dist/collection/model/article/content/NewsContent.js +19 -0
  276. package/dist/collection/model/article/content/NewsContent.js.map +1 -0
  277. package/dist/collection/model/article/content/PageContent.js +37 -0
  278. package/dist/collection/model/article/content/PageContent.js.map +1 -0
  279. package/dist/collection/model/article/content/TableContet.js +2 -0
  280. package/dist/collection/model/article/content/TableContet.js.map +1 -0
  281. package/dist/collection/model/article/content/TestimonialContent.js +2 -0
  282. package/dist/collection/model/article/content/TestimonialContent.js.map +1 -0
  283. package/dist/collection/model/article/content/TextContent.js +2 -0
  284. package/dist/collection/model/article/content/TextContent.js.map +1 -0
  285. package/dist/collection/model/article/content/TitleContent.js +2 -0
  286. package/dist/collection/model/article/content/TitleContent.js.map +1 -0
  287. package/dist/collection/model/article/content/UploadContent.js +13 -0
  288. package/dist/collection/model/article/content/UploadContent.js.map +1 -0
  289. package/dist/collection/model/article/content/VideoContent.js +2 -0
  290. package/dist/collection/model/article/content/VideoContent.js.map +1 -0
  291. package/dist/collection/model/article/content/news/NewsAlbum.js +20 -0
  292. package/dist/collection/model/article/content/news/NewsAlbum.js.map +1 -0
  293. package/dist/collection/model/article/content/news/NewsArticle.js +43 -0
  294. package/dist/collection/model/article/content/news/NewsArticle.js.map +1 -0
  295. package/dist/collection/model/article/content/news/NewsCategory.js +17 -0
  296. package/dist/collection/model/article/content/news/NewsCategory.js.map +1 -0
  297. package/dist/collection/model/article/content/news/NewsTag.js +10 -0
  298. package/dist/collection/model/article/content/news/NewsTag.js.map +1 -0
  299. package/dist/collection/utils/ConditionalRender.js +5 -0
  300. package/dist/collection/utils/ConditionalRender.js.map +1 -0
  301. package/dist/collection/utils/ConditionalWrap.js +5 -0
  302. package/dist/collection/utils/ConditionalWrap.js.map +1 -0
  303. package/dist/collection/utils/utils.js +77 -0
  304. package/dist/collection/utils/utils.js.map +1 -0
  305. package/dist/collection/utils/utils.spec.js +6 -0
  306. package/dist/collection/utils/utils.spec.js.map +1 -0
  307. package/dist/components/ConditionalRender.js +7 -0
  308. package/dist/components/ConditionalRender.js.map +1 -0
  309. package/dist/components/aico-album-content.d.ts +11 -0
  310. package/dist/components/aico-album-content.js +8 -0
  311. package/dist/components/aico-album-content.js.map +1 -0
  312. package/dist/components/aico-album-content2.js +90 -0
  313. package/dist/components/aico-album-content2.js.map +1 -0
  314. package/dist/components/aico-article-detail.d.ts +11 -0
  315. package/dist/components/aico-article-detail.js +8 -0
  316. package/dist/components/aico-article-detail.js.map +1 -0
  317. package/dist/components/aico-article-detail2.js +262 -0
  318. package/dist/components/aico-article-detail2.js.map +1 -0
  319. package/dist/components/aico-asking-content.d.ts +11 -0
  320. package/dist/components/aico-asking-content.js +8 -0
  321. package/dist/components/aico-asking-content.js.map +1 -0
  322. package/dist/components/aico-asking-content2.js +36 -0
  323. package/dist/components/aico-asking-content2.js.map +1 -0
  324. package/dist/components/aico-asking-list-content.d.ts +11 -0
  325. package/dist/components/aico-asking-list-content.js +34 -0
  326. package/dist/components/aico-asking-list-content.js.map +1 -0
  327. package/dist/components/aico-block-quote-content.d.ts +11 -0
  328. package/dist/components/aico-block-quote-content.js +8 -0
  329. package/dist/components/aico-block-quote-content.js.map +1 -0
  330. package/dist/components/aico-block-quote-content2.js +36 -0
  331. package/dist/components/aico-block-quote-content2.js.map +1 -0
  332. package/dist/components/aico-bullet-content.d.ts +11 -0
  333. package/dist/components/aico-bullet-content.js +8 -0
  334. package/dist/components/aico-bullet-content.js.map +1 -0
  335. package/dist/components/aico-bullet-content2.js +78 -0
  336. package/dist/components/aico-bullet-content2.js.map +1 -0
  337. package/dist/components/aico-carousel-content.d.ts +11 -0
  338. package/dist/components/aico-carousel-content.js +8 -0
  339. package/dist/components/aico-carousel-content.js.map +1 -0
  340. package/dist/components/aico-carousel-content2.js +76 -0
  341. package/dist/components/aico-carousel-content2.js.map +1 -0
  342. package/dist/components/aico-collection-content.d.ts +11 -0
  343. package/dist/components/aico-collection-content.js +34 -0
  344. package/dist/components/aico-collection-content.js.map +1 -0
  345. package/dist/components/aico-content-card-content.d.ts +11 -0
  346. package/dist/components/aico-content-card-content.js +8 -0
  347. package/dist/components/aico-content-card-content.js.map +1 -0
  348. package/dist/components/aico-content-card-content2.js +61 -0
  349. package/dist/components/aico-content-card-content2.js.map +1 -0
  350. package/dist/components/aico-divider-content.d.ts +11 -0
  351. package/dist/components/aico-divider-content.js +8 -0
  352. package/dist/components/aico-divider-content.js.map +1 -0
  353. package/dist/components/aico-divider-content2.js +36 -0
  354. package/dist/components/aico-divider-content2.js.map +1 -0
  355. package/dist/components/aico-document-content.d.ts +11 -0
  356. package/dist/components/aico-document-content.js +8 -0
  357. package/dist/components/aico-document-content.js.map +1 -0
  358. package/dist/components/aico-document-content2.js +60 -0
  359. package/dist/components/aico-document-content2.js.map +1 -0
  360. package/dist/components/aico-faq-content.d.ts +11 -0
  361. package/dist/components/aico-faq-content.js +8 -0
  362. package/dist/components/aico-faq-content.js.map +1 -0
  363. package/dist/components/aico-faq-content2.js +41 -0
  364. package/dist/components/aico-faq-content2.js.map +1 -0
  365. package/dist/components/aico-fetch-article-detail.d.ts +11 -0
  366. package/dist/components/aico-fetch-article-detail.js +186 -0
  367. package/dist/components/aico-fetch-article-detail.js.map +1 -0
  368. package/dist/components/aico-heading-content.d.ts +11 -0
  369. package/dist/components/aico-heading-content.js +8 -0
  370. package/dist/components/aico-heading-content.js.map +1 -0
  371. package/dist/components/aico-heading-content2.js +80 -0
  372. package/dist/components/aico-heading-content2.js.map +1 -0
  373. package/dist/components/aico-html-content.d.ts +11 -0
  374. package/dist/components/aico-html-content.js +8 -0
  375. package/dist/components/aico-html-content.js.map +1 -0
  376. package/dist/components/aico-html-content2.js +45 -0
  377. package/dist/components/aico-html-content2.js.map +1 -0
  378. package/dist/components/aico-link-content.d.ts +11 -0
  379. package/dist/components/aico-link-content.js +8 -0
  380. package/dist/components/aico-link-content.js.map +1 -0
  381. package/dist/components/aico-link-content2.js +55 -0
  382. package/dist/components/aico-link-content2.js.map +1 -0
  383. package/dist/components/aico-news-content.d.ts +11 -0
  384. package/dist/components/aico-news-content.js +8 -0
  385. package/dist/components/aico-news-content.js.map +1 -0
  386. package/dist/components/aico-news-content2.js +43 -0
  387. package/dist/components/aico-news-content2.js.map +1 -0
  388. package/dist/components/aico-news-list-item.d.ts +11 -0
  389. package/dist/components/aico-news-list-item.js +8 -0
  390. package/dist/components/aico-news-list-item.js.map +1 -0
  391. package/dist/components/aico-news-list-item2.js +36 -0
  392. package/dist/components/aico-news-list-item2.js.map +1 -0
  393. package/dist/components/aico-news-list.d.ts +11 -0
  394. package/dist/components/aico-news-list.js +118 -0
  395. package/dist/components/aico-news-list.js.map +1 -0
  396. package/dist/components/aico-no-content.d.ts +11 -0
  397. package/dist/components/aico-no-content.js +8 -0
  398. package/dist/components/aico-no-content.js.map +1 -0
  399. package/dist/components/aico-no-content2.js +31 -0
  400. package/dist/components/aico-no-content2.js.map +1 -0
  401. package/dist/components/aico-page-content.d.ts +11 -0
  402. package/dist/components/aico-page-content.js +8 -0
  403. package/dist/components/aico-page-content.js.map +1 -0
  404. package/dist/components/aico-page-content2.js +43 -0
  405. package/dist/components/aico-page-content2.js.map +1 -0
  406. package/dist/components/aico-special-news-carousel.d.ts +11 -0
  407. package/dist/components/aico-special-news-carousel.js +78 -0
  408. package/dist/components/aico-special-news-carousel.js.map +1 -0
  409. package/dist/components/aico-table-content.d.ts +11 -0
  410. package/dist/components/aico-table-content.js +8 -0
  411. package/dist/components/aico-table-content.js.map +1 -0
  412. package/dist/components/aico-table-content2.js +72 -0
  413. package/dist/components/aico-table-content2.js.map +1 -0
  414. package/dist/components/aico-testimonial-content.d.ts +11 -0
  415. package/dist/components/aico-testimonial-content.js +8 -0
  416. package/dist/components/aico-testimonial-content.js.map +1 -0
  417. package/dist/components/aico-testimonial-content2.js +38 -0
  418. package/dist/components/aico-testimonial-content2.js.map +1 -0
  419. package/dist/components/aico-text-content.d.ts +11 -0
  420. package/dist/components/aico-text-content.js +8 -0
  421. package/dist/components/aico-text-content.js.map +1 -0
  422. package/dist/components/aico-text-content2.js +127 -0
  423. package/dist/components/aico-text-content2.js.map +1 -0
  424. package/dist/components/aico-title-content.d.ts +11 -0
  425. package/dist/components/aico-title-content.js +8 -0
  426. package/dist/components/aico-title-content.js.map +1 -0
  427. package/dist/components/aico-title-content2.js +54 -0
  428. package/dist/components/aico-title-content2.js.map +1 -0
  429. package/dist/components/aico-upload-content.d.ts +11 -0
  430. package/dist/components/aico-upload-content.js +8 -0
  431. package/dist/components/aico-upload-content.js.map +1 -0
  432. package/dist/components/aico-upload-content2.js +65 -0
  433. package/dist/components/aico-upload-content2.js.map +1 -0
  434. package/dist/components/aico-video-content.d.ts +11 -0
  435. package/dist/components/aico-video-content.js +8 -0
  436. package/dist/components/aico-video-content.js.map +1 -0
  437. package/dist/components/aico-video-content2.js +61 -0
  438. package/dist/components/aico-video-content2.js.map +1 -0
  439. package/dist/components/assets/slick/ajax-loader.gif +0 -0
  440. package/dist/components/assets/slick/slick.eot +0 -0
  441. package/dist/components/assets/slick/slick.svg +14 -0
  442. package/dist/components/assets/slick/slick.ttf +0 -0
  443. package/dist/components/assets/slick/slick.woff +0 -0
  444. package/dist/components/bootstrap-slick-test.d.ts +11 -0
  445. package/dist/components/bootstrap-slick-test.js +51 -0
  446. package/dist/components/bootstrap-slick-test.js.map +1 -0
  447. package/dist/components/bootstrap.esm.js +6265 -0
  448. package/dist/components/bootstrap.esm.js.map +1 -0
  449. package/dist/components/index.d.ts +33 -0
  450. package/dist/components/index.js +3 -0
  451. package/dist/components/index.js.map +1 -0
  452. package/dist/components/slick.js +13660 -0
  453. package/dist/components/slick.js.map +1 -0
  454. package/dist/components/utils.js +84 -0
  455. package/dist/components/utils.js.map +1 -0
  456. package/dist/esm/aico-album-content_19.entry.js +6884 -0
  457. package/dist/esm/aico-album-content_19.entry.js.map +1 -0
  458. package/dist/esm/aico-article-detail.entry.js +120 -0
  459. package/dist/esm/aico-article-detail.entry.js.map +1 -0
  460. package/dist/esm/aico-asking-list-content.entry.js +17 -0
  461. package/dist/esm/aico-asking-list-content.entry.js.map +1 -0
  462. package/dist/esm/aico-collection-content.entry.js +17 -0
  463. package/dist/esm/aico-collection-content.entry.js.map +1 -0
  464. package/dist/esm/aico-components.js +20 -0
  465. package/dist/esm/aico-components.js.map +1 -0
  466. package/dist/esm/aico-fetch-article-detail.entry.js +32 -0
  467. package/dist/esm/aico-fetch-article-detail.entry.js.map +1 -0
  468. package/dist/esm/aico-news-list-item.entry.js +20 -0
  469. package/dist/esm/aico-news-list-item.entry.js.map +1 -0
  470. package/dist/esm/aico-news-list.entry.js +88 -0
  471. package/dist/esm/aico-news-list.entry.js.map +1 -0
  472. package/dist/esm/aico-no-content_2.entry.js +44 -0
  473. package/dist/esm/aico-no-content_2.entry.js.map +1 -0
  474. package/dist/esm/aico-special-news-carousel.entry.js +56 -0
  475. package/dist/esm/aico-special-news-carousel.entry.js.map +1 -0
  476. package/dist/esm/bootstrap-slick-test.entry.js +34 -0
  477. package/dist/esm/bootstrap-slick-test.entry.js.map +1 -0
  478. package/dist/esm/index-f9f11572.js +2250 -0
  479. package/dist/esm/index-f9f11572.js.map +1 -0
  480. package/dist/esm/index.js +3 -0
  481. package/dist/esm/index.js.map +1 -0
  482. package/dist/esm/loader.js +11 -0
  483. package/dist/esm/loader.js.map +1 -0
  484. package/dist/esm/polyfills/core-js.js +11 -0
  485. package/dist/esm/polyfills/dom.js +79 -0
  486. package/dist/esm/polyfills/es5-html-element.js +1 -0
  487. package/dist/esm/polyfills/index.js +34 -0
  488. package/dist/esm/polyfills/system.js +6 -0
  489. package/dist/esm/slick-d11cf173.js +13660 -0
  490. package/dist/esm/slick-d11cf173.js.map +1 -0
  491. package/dist/esm/utils-2b7ec879.js +84 -0
  492. package/dist/esm/utils-2b7ec879.js.map +1 -0
  493. package/dist/index.cjs.js +1 -0
  494. package/dist/index.js +1 -0
  495. package/dist/types/components/aico-article-detail/aico-article-detail.d.ts +10 -0
  496. package/dist/types/components/aico-fetch-article-detail/aico-fetch-article-detail.d.ts +13 -0
  497. package/dist/types/components/aico-fetch-article-detail/aico-fetch-article-detail.stories.d.ts +7 -0
  498. package/dist/types/components/aico-news-list/aico-news-list.d.ts +21 -0
  499. package/dist/types/components/aico-news-list/aico-news-list.stories.d.ts +6 -0
  500. package/dist/types/components/aico-news-list-item/aico-news-list-item.d.ts +7 -0
  501. package/dist/types/components/aico-news-list-item/aico-news-list-item.stories.d.ts +6 -0
  502. package/dist/types/components/aico-special-news-carousel/aico-special-news-carousel.d.ts +19 -0
  503. package/dist/types/components/aico-special-news-carousel/aico-special-news-carousel.stories.d.ts +7 -0
  504. package/dist/types/components/bootstrap-slick-test/bootstrap-slick-test.d.ts +5 -0
  505. package/dist/types/components/bootstrap-slick-test/bootstrap-slick-test.stories.d.ts +5 -0
  506. package/dist/types/components/content/aico-album-content/aico-album-content.d.ts +7 -0
  507. package/dist/types/components/content/aico-album-content/aico-album-content.stories.d.ts +5 -0
  508. package/dist/types/components/content/aico-asking-content/aico-asking-content.d.ts +5 -0
  509. package/dist/types/components/content/aico-asking-content/aico-asking-content.stories.d.ts +5 -0
  510. package/dist/types/components/content/aico-asking-list-content/aico-asking-list-content.d.ts +3 -0
  511. package/dist/types/components/content/aico-block-quote-content/aico-block-quote-content.d.ts +5 -0
  512. package/dist/types/components/content/aico-block-quote-content/aico-block-quote-content.stories.d.ts +6 -0
  513. package/dist/types/components/content/aico-bullet-content/aico-bullet-content.d.ts +6 -0
  514. package/dist/types/components/content/aico-bullet-content/aico-bullet-content.stories.d.ts +6 -0
  515. package/dist/types/components/content/aico-carousel-content/aico-carousel-content.d.ts +9 -0
  516. package/dist/types/components/content/aico-carousel-content/aico-carousel-content.stories.d.ts +6 -0
  517. package/dist/types/components/content/aico-collection-content/aico-collection-content.d.ts +3 -0
  518. package/dist/types/components/content/aico-content-card-content/aico-content-card-content.d.ts +6 -0
  519. package/dist/types/components/content/aico-content-card-content/aico-content-card-content.stories.d.ts +6 -0
  520. package/dist/types/components/content/aico-divider-content/aico-divider-content.d.ts +5 -0
  521. package/dist/types/components/content/aico-divider-content/aico-divider-content.stories.d.ts +6 -0
  522. package/dist/types/components/content/aico-document-content/aico-document-content.d.ts +5 -0
  523. package/dist/types/components/content/aico-document-content/aico-document-content.stories.d.ts +6 -0
  524. package/dist/types/components/content/aico-faq-content/aico-faq-content.d.ts +6 -0
  525. package/dist/types/components/content/aico-faq-content/aico-faq-content.stories.d.ts +6 -0
  526. package/dist/types/components/content/aico-heading-content/aico-heading-content.d.ts +6 -0
  527. package/dist/types/components/content/aico-heading-content/aico-heading-content.stories.d.ts +6 -0
  528. package/dist/types/components/content/aico-html-content/aico-html-content.d.ts +5 -0
  529. package/dist/types/components/content/aico-link-content/aico-link-content.d.ts +5 -0
  530. package/dist/types/components/content/aico-link-content/aico-link-content.stories.d.ts +7 -0
  531. package/dist/types/components/content/aico-news-content/aico-news-content.d.ts +8 -0
  532. package/dist/types/components/content/aico-news-content/aico-news-content.stories.d.ts +5 -0
  533. package/dist/types/components/content/aico-no-content/aico-no-content.d.ts +3 -0
  534. package/dist/types/components/content/aico-page-content/aico-page-content.d.ts +7 -0
  535. package/dist/types/components/content/aico-page-content/aico-page-content.stories.d.ts +5 -0
  536. package/dist/types/components/content/aico-table-content/aico-table-content.d.ts +6 -0
  537. package/dist/types/components/content/aico-table-content/aico-table-content.stories.d.ts +6 -0
  538. package/dist/types/components/content/aico-testimonial-content/aico-testimonial-content.d.ts +5 -0
  539. package/dist/types/components/content/aico-testimonial-content/aico-testimonial-content.stories.d.ts +6 -0
  540. package/dist/types/components/content/aico-text-content/aico-text-content.d.ts +12 -0
  541. package/dist/types/components/content/aico-text-content/aico-text-content.stories.d.ts +10 -0
  542. package/dist/types/components/content/aico-title-content/aico-title-content.d.ts +5 -0
  543. package/dist/types/components/content/aico-title-content/aico-title-content.stories.d.ts +5 -0
  544. package/dist/types/components/content/aico-upload-content/aico-upload-content.d.ts +6 -0
  545. package/dist/types/components/content/aico-upload-content/aico-upload-content.stories.d.ts +5 -0
  546. package/dist/types/components/content/aico-video-content/aico-video-content.d.ts +6 -0
  547. package/dist/types/components/content/aico-video-content/aico-video-content.stories.d.ts +7 -0
  548. package/dist/types/components.d.ts +591 -0
  549. package/dist/types/index.d.ts +1 -0
  550. package/dist/types/model/AicoApiRequestInfo.d.ts +6 -0
  551. package/dist/types/model/Article.d.ts +103 -0
  552. package/dist/types/model/Entity.d.ts +15 -0
  553. package/dist/types/model/NewsCategory.d.ts +14 -0
  554. package/dist/types/model/NewsResponse.d.ts +25 -0
  555. package/dist/types/model/article/ContentType.d.ts +31 -0
  556. package/dist/types/model/article/Translation.d.ts +24 -0
  557. package/dist/types/model/article/content/AlbumContent.d.ts +26 -0
  558. package/dist/types/model/article/content/AskingContent.d.ts +152 -0
  559. package/dist/types/model/article/content/AskingListContent.d.ts +17 -0
  560. package/dist/types/model/article/content/BlockQuoteContent.d.ts +11 -0
  561. package/dist/types/model/article/content/BulletContent.d.ts +14 -0
  562. package/dist/types/model/article/content/CardContent.d.ts +10 -0
  563. package/dist/types/model/article/content/CarouselContent.d.ts +12 -0
  564. package/dist/types/model/article/content/CollectionContent.d.ts +364 -0
  565. package/dist/types/model/article/content/DividerContent.d.ts +8 -0
  566. package/dist/types/model/article/content/DocumentContent.d.ts +19 -0
  567. package/dist/types/model/article/content/FaqContent.d.ts +106 -0
  568. package/dist/types/model/article/content/HeadingContent.d.ts +16 -0
  569. package/dist/types/model/article/content/HtmlContent.d.ts +5 -0
  570. package/dist/types/model/article/content/LinkContent.d.ts +23 -0
  571. package/dist/types/model/article/content/NewsContent.d.ts +836 -0
  572. package/dist/types/model/article/content/PageContent.d.ts +313 -0
  573. package/dist/types/model/article/content/TableContet.d.ts +30 -0
  574. package/dist/types/model/article/content/TestimonialContent.d.ts +9 -0
  575. package/dist/types/model/article/content/TextContent.d.ts +39 -0
  576. package/dist/types/model/article/content/TitleContent.d.ts +9 -0
  577. package/dist/types/model/article/content/UploadContent.d.ts +77 -0
  578. package/dist/types/model/article/content/VideoContent.d.ts +14 -0
  579. package/dist/types/model/article/content/news/NewsAlbum.d.ts +150 -0
  580. package/dist/types/model/article/content/news/NewsArticle.d.ts +577 -0
  581. package/dist/types/model/article/content/news/NewsCategory.d.ts +88 -0
  582. package/dist/types/model/article/content/news/NewsTag.d.ts +63 -0
  583. package/dist/types/stencil-public-runtime.d.ts +1681 -0
  584. package/dist/types/utils/ConditionalRender.d.ts +6 -0
  585. package/dist/types/utils/ConditionalWrap.d.ts +7 -0
  586. package/dist/types/utils/utils.d.ts +13 -0
  587. package/loader/cdn.js +3 -0
  588. package/loader/index.cjs.js +3 -0
  589. package/loader/index.d.ts +21 -0
  590. package/loader/index.es2017.js +3 -0
  591. package/loader/index.js +4 -0
  592. package/loader/package.json +11 -0
  593. package/package.json +13 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-block-quote-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-block-quote-content/aico-block-quote-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAOjE,MAAM,OAAO,qBAAqB;;;;IAGhC,MAAM;QACJ,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/F,OAAO,CACL,EAAC,iBAAiB,IAAC,SAAS,EAAE,WAAW,KAAK,IAAI;YAChD,kBAAY,KAAK,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE;gBACpF,SAAG,KAAK,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IACrD,WAAY,CAAC,SAAS,CACrB;gBACJ,cAAQ,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAC9E,WAAY,CAAC,eAAe,CACtB,CACE,CACK,CACrB,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport type { BlockQuoteContent } from '../../../model/article/content/BlockQuoteContent';\nimport ConditionalRender from '../../../utils/ConditionalRender';\n\n@Component({\n tag: 'aico-block-quote-content',\n styleUrl: 'aico-block-quote-content.css',\n scoped: true,\n})\nexport class AicoBlockQuoteContent {\n @Prop() content!: BlockQuoteContent;\n\n render() {\n const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;\n\n return (\n <ConditionalRender condition={translation !== null}>\n <blockquote class=\"blockquote\" style={{ 'background-color': this.content.quotesColor }}>\n <p class=\"mb-2\" style={{ color: this.content.textColor }}>\n {translation!.quoteText}\n </p>\n <footer class=\"blockquote-footer ms-2\" style={{ color: this.content.authorColor }}>\n {translation!.quoteAuthorLine}\n </footer>\n </blockquote>\n </ConditionalRender>\n );\n }\n}\n"]}
@@ -0,0 +1,26 @@
1
+ const meta = {
2
+ component: 'aico-block-quote-content',
3
+ };
4
+ export default meta;
5
+ export const Example = {
6
+ args: {
7
+ content: {
8
+ id: 1234,
9
+ createdAt: new Date(),
10
+ updatedAt: new Date(),
11
+ translations: [
12
+ {
13
+ id: 1234,
14
+ createdAt: new Date(),
15
+ updatedAt: new Date(),
16
+ quoteText: 'foo bar baz',
17
+ quoteAuthorLine: 'John Doe',
18
+ },
19
+ ],
20
+ quotesColor: 'gray',
21
+ textColor: 'red',
22
+ authorColor: 'pink',
23
+ },
24
+ },
25
+ };
26
+ //# sourceMappingURL=aico-block-quote-content.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-block-quote-content.stories.js","sourceRoot":"","sources":["../../../../src/components/content/aico-block-quote-content/aico-block-quote-content.stories.ts"],"names":[],"mappings":"AAIA,MAAM,IAAI,GAAoC;IAC5C,SAAS,EAAE,0BAA0B;CACtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,aAAa;oBACxB,eAAe,EAAE,UAAU;iBAC5B;aACF;YACD,WAAW,EAAE,MAAM;YACnB,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,MAAM;SACC;KACvB;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from '@storybook/web-components';\nimport type { BlockQuoteContent } from '../../../model/article/content/BlockQuoteContent';\nimport { JSX } from '../../../components';\n\nconst meta: Meta<JSX.AicoBlockQuoteContent> = {\n component: 'aico-block-quote-content',\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Example: Story = {\n args: {\n content: {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n quoteText: 'foo bar baz',\n quoteAuthorLine: 'John Doe',\n },\n ],\n quotesColor: 'gray',\n textColor: 'red',\n authorColor: 'pink',\n } as BlockQuoteContent,\n },\n};\n"]}
@@ -0,0 +1,79 @@
1
+ import { h } from "@stencil/core";
2
+ import { strIsNullOrEmptyOrWhitespace } from "../../../utils/utils";
3
+ import ConditionalRender from "../../../utils/ConditionalRender";
4
+ export class AicoBulletContent {
5
+ constructor() {
6
+ this.content = undefined;
7
+ }
8
+ render() {
9
+ const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;
10
+ const styles = new Map();
11
+ if (this.content.fontSize) {
12
+ styles.set('font-size', this.content.fontSize);
13
+ }
14
+ if (this.content.fontFamily) {
15
+ styles.set('font-family', this.content.fontFamily);
16
+ }
17
+ return (h("div", { class: "content", style: Object.fromEntries(styles) }, h(ConditionalRender, { condition: translation !== null }, h("aico-title-content", { content: this.makeTitleContent(translation) })), h("ul", null, this.content.bulletBullets
18
+ .sort((a, b) => { var _a, _b; return ((_a = a.sort) !== null && _a !== void 0 ? _a : 0) - ((_b = b.sort) !== null && _b !== void 0 ? _b : 0); })
19
+ .map(bullet => {
20
+ if (bullet.translations.length === 0) {
21
+ return null;
22
+ }
23
+ const translation = bullet.translations[0];
24
+ if (strIsNullOrEmptyOrWhitespace(translation.text)) {
25
+ return null;
26
+ }
27
+ return h("li", null, translation.text);
28
+ }))));
29
+ }
30
+ makeTitleContent(translation) {
31
+ var _a;
32
+ return {
33
+ id: this.content.id,
34
+ createdAt: this.content.createdAt,
35
+ updatedAt: this.content.updatedAt,
36
+ hasUnderscore: false,
37
+ size: (_a = this.content.titleSize) !== null && _a !== void 0 ? _a : 'h1',
38
+ translations: [Object.assign({}, translation)],
39
+ };
40
+ }
41
+ static get is() { return "aico-bullet-content"; }
42
+ static get encapsulation() { return "scoped"; }
43
+ static get originalStyleUrls() {
44
+ return {
45
+ "$": ["aico-bullet-content.css"]
46
+ };
47
+ }
48
+ static get styleUrls() {
49
+ return {
50
+ "$": ["aico-bullet-content.css"]
51
+ };
52
+ }
53
+ static get properties() {
54
+ return {
55
+ "content": {
56
+ "type": "unknown",
57
+ "mutable": false,
58
+ "complexType": {
59
+ "original": "BulletContent",
60
+ "resolved": "{ id: string | number; createdAt: Date; updatedAt: Date; } & { translations: { id: string | number; createdAt: Date; updatedAt: Date; locale: string; text?: string | null | undefined; title?: string | null | undefined; }[]; sort: number; titleSize?: string | undefined; fontSize?: string | undefined; fontFamily?: string | undefined; bulletBullets: BulletBullet[]; }",
61
+ "references": {
62
+ "BulletContent": {
63
+ "location": "import",
64
+ "path": "../../../model/article/content/BulletContent",
65
+ "id": "src/model/article/content/BulletContent.ts::BulletContent"
66
+ }
67
+ }
68
+ },
69
+ "required": true,
70
+ "optional": false,
71
+ "docs": {
72
+ "tags": [],
73
+ "text": ""
74
+ }
75
+ }
76
+ };
77
+ }
78
+ }
79
+ //# sourceMappingURL=aico-bullet-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-bullet-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-bullet-content/aico-bullet-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAGpE,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAOjE,MAAM,OAAO,iBAAiB;;;;IAG5B,MAAM;QACJ,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/F,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;QACzC,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YACzB,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;SAChD;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YAC3B,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;SACpD;QAED,OAAO,CACL,WAAK,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC;YACpD,EAAC,iBAAiB,IAAC,SAAS,EAAE,WAAW,KAAK,IAAI;gBAChD,0BAAoB,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,WAAY,CAAC,GAAI,CAClD;YACpB,cACG,IAAI,CAAC,OAAO,CAAC,aAAa;iBACxB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,eAAC,OAAA,CAAC,MAAA,CAAC,CAAC,IAAI,mCAAI,CAAC,CAAC,GAAG,CAAC,MAAA,CAAC,CAAC,IAAI,mCAAI,CAAC,CAAC,CAAA,EAAA,CAAC;iBAC7C,GAAG,CAAC,MAAM,CAAC,EAAE;gBACZ,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;oBACpC,OAAO,IAAI,CAAC;iBACb;gBAED,MAAM,WAAW,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;gBAC3C,IAAI,4BAA4B,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;oBAClD,OAAO,IAAI,CAAC;iBACb;gBAED,OAAO,cAAK,WAAW,CAAC,IAAI,CAAM,CAAC;YACrC,CAAC,CAAC,CACD,CACD,CACP,CAAC;IACJ,CAAC;IAEO,gBAAgB,CAAC,WAAwB;;QAC/C,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,aAAa,EAAE,KAAK;YACpB,IAAI,EAAE,MAAA,IAAI,CAAC,OAAO,CAAC,SAAS,mCAAI,IAAI;YACpC,YAAY,EAAE,mBAAM,WAAW,EAAG;SACnC,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport type { BulletContent } from '../../../model/article/content/BulletContent';\nimport { strIsNullOrEmptyOrWhitespace } from '../../../utils/utils';\nimport type { Translation } from '../../../model/article/Translation';\nimport type { TitleContent } from '../../../model/article/content/TitleContent';\nimport ConditionalRender from '../../../utils/ConditionalRender';\n\n@Component({\n tag: 'aico-bullet-content',\n styleUrl: 'aico-bullet-content.css',\n scoped: true,\n})\nexport class AicoBulletContent {\n @Prop() content!: BulletContent;\n\n render() {\n const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;\n const styles = new Map<string, string>();\n if (this.content.fontSize) {\n styles.set('font-size', this.content.fontSize);\n }\n\n if (this.content.fontFamily) {\n styles.set('font-family', this.content.fontFamily);\n }\n\n return (\n <div class=\"content\" style={Object.fromEntries(styles)}>\n <ConditionalRender condition={translation !== null}>\n <aico-title-content content={this.makeTitleContent(translation!)} />\n </ConditionalRender>\n <ul>\n {this.content.bulletBullets\n .sort((a, b) => (a.sort ?? 0) - (b.sort ?? 0))\n .map(bullet => {\n if (bullet.translations.length === 0) {\n return null;\n }\n\n const translation = bullet.translations[0];\n if (strIsNullOrEmptyOrWhitespace(translation.text)) {\n return null;\n }\n\n return <li>{translation.text}</li>;\n })}\n </ul>\n </div>\n );\n }\n\n private makeTitleContent(translation: Translation): TitleContent {\n return {\n id: this.content.id,\n createdAt: this.content.createdAt,\n updatedAt: this.content.updatedAt,\n hasUnderscore: false,\n size: this.content.titleSize ?? 'h1',\n translations: [{ ...translation }],\n };\n }\n}\n"]}
@@ -0,0 +1,71 @@
1
+ const meta = {
2
+ component: 'aico-bullet-content',
3
+ };
4
+ export default meta;
5
+ export const Example = {
6
+ args: {
7
+ content: {
8
+ id: 1234,
9
+ createdAt: new Date(),
10
+ updatedAt: new Date(),
11
+ titleSize: 'h2',
12
+ translations: [
13
+ {
14
+ id: 1234,
15
+ createdAt: new Date(),
16
+ updatedAt: new Date(),
17
+ locale: 'en-GB',
18
+ title: 'Bullet list title',
19
+ },
20
+ ],
21
+ bulletBullets: [
22
+ {
23
+ id: 1234,
24
+ createdAt: new Date(),
25
+ updatedAt: new Date(),
26
+ sort: 2,
27
+ translations: [
28
+ {
29
+ id: 1234,
30
+ createdAt: new Date(),
31
+ updatedAt: new Date(),
32
+ locale: 'en-GB',
33
+ text: 'bar',
34
+ },
35
+ ],
36
+ },
37
+ {
38
+ id: 1234,
39
+ createdAt: new Date(),
40
+ updatedAt: new Date(),
41
+ sort: 1,
42
+ translations: [
43
+ {
44
+ id: 1234,
45
+ createdAt: new Date(),
46
+ updatedAt: new Date(),
47
+ locale: 'en-GB',
48
+ text: 'foo',
49
+ },
50
+ ],
51
+ },
52
+ {
53
+ id: 1234,
54
+ createdAt: new Date(),
55
+ updatedAt: new Date(),
56
+ sort: 3,
57
+ translations: [
58
+ {
59
+ id: 1234,
60
+ createdAt: new Date(),
61
+ updatedAt: new Date(),
62
+ locale: 'en-GB',
63
+ text: 'baz',
64
+ },
65
+ ],
66
+ },
67
+ ],
68
+ },
69
+ },
70
+ };
71
+ //# sourceMappingURL=aico-bullet-content.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-bullet-content.stories.js","sourceRoot":"","sources":["../../../../src/components/content/aico-bullet-content/aico-bullet-content.stories.ts"],"names":[],"mappings":"AAIA,MAAM,IAAI,GAAgC;IACxC,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI;YACf,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,mBAAmB;iBAC3B;aACF;YACD,aAAa,EAAE;gBACb;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,IAAI,EAAE,CAAC;oBACP,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,IAAI,EAAE,KAAK;yBACZ;qBACF;iBACF;gBACD;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,IAAI,EAAE,CAAC;oBACP,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,IAAI,EAAE,KAAK;yBACZ;qBACF;iBACF;gBACD;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,IAAI,EAAE,CAAC;oBACP,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,IAAI,EAAE,KAAK;yBACZ;qBACF;iBACF;aACF;SACe;KACnB;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from '@storybook/web-components';\nimport type { BulletContent } from '../../../model/article/content/BulletContent';\nimport { JSX } from '../../../components';\n\nconst meta: Meta<JSX.AicoBulletContent> = {\n component: 'aico-bullet-content',\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Example: Story = {\n args: {\n content: {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n titleSize: 'h2',\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n title: 'Bullet list title',\n },\n ],\n bulletBullets: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n sort: 2,\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n text: 'bar',\n },\n ],\n },\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n sort: 1,\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n text: 'foo',\n },\n ],\n },\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n sort: 3,\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n text: 'baz',\n },\n ],\n },\n ],\n } as BulletContent,\n },\n};\n"]}
@@ -0,0 +1,95 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import ConditionalRender from "../../../utils/ConditionalRender";
3
+ import { strIsNullOrEmptyOrWhitespace } from "../../../utils/utils";
4
+ import $ from "jquery";
5
+ import "slick-carousel";
6
+ export class AicoCarouselContent {
7
+ constructor() {
8
+ this.content = undefined;
9
+ this.hasArrows = true;
10
+ }
11
+ componentDidLoad() {
12
+ $('.carousel').slick({
13
+ autoplay: true,
14
+ autoplaySpeed: 6000,
15
+ fade: true,
16
+ dots: true,
17
+ arrows: this.hasArrows,
18
+ pauseOnDotsHover: true,
19
+ });
20
+ }
21
+ render() {
22
+ const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;
23
+ return (h(Host, null, h(ConditionalRender, { condition: translation !== null }, h("aico-title-content", { content: this.makeTitleContent(translation) })), h("div", { class: "carousel" }, this.content.contentCarouselImages
24
+ .sort((a, b) => a.order - b.order)
25
+ .map(content => {
26
+ return (h("div", { class: "carousel-item card text-bg-dark text-white" }, h("div", { class: "ratio ratio-16x9 mx-auto", style: { 'max-width': '50%' } }, h("img", { class: "card-img d-block object-fit-cover", alt: "Carousel Picture", "data-lazy": content.picture })), h(ConditionalRender, { condition: content.translations.length > 0 && !strIsNullOrEmptyOrWhitespace(content.translations[0].title) }, h("div", { class: "card-img-overlay d-flex align-items-end" }, h("h5", { class: "card-title text-uppercase" }, content.translations[0].title)))));
27
+ }))));
28
+ }
29
+ makeTitleContent(translation) {
30
+ return {
31
+ id: this.content.id,
32
+ createdAt: this.content.createdAt,
33
+ updatedAt: this.content.updatedAt,
34
+ hasUnderscore: false,
35
+ size: 'h2',
36
+ translations: [Object.assign({}, translation)],
37
+ };
38
+ }
39
+ static get is() { return "aico-carousel-content"; }
40
+ static get encapsulation() { return "scoped"; }
41
+ static get originalStyleUrls() {
42
+ return {
43
+ "$": ["aico-carousel-content.css"]
44
+ };
45
+ }
46
+ static get styleUrls() {
47
+ return {
48
+ "$": ["aico-carousel-content.css"]
49
+ };
50
+ }
51
+ static get properties() {
52
+ return {
53
+ "content": {
54
+ "type": "unknown",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "CarouselContent",
58
+ "resolved": "{ id: string | number; createdAt: Date; updatedAt: Date; } & { translations: { id: string | number; createdAt: Date; updatedAt: Date; locale: string; text?: string | null | undefined; title?: string | null | undefined; }[]; arrowsBackground?: string | undefined; contentCarouselImages: CarouselImage[]; }",
59
+ "references": {
60
+ "CarouselContent": {
61
+ "location": "import",
62
+ "path": "../../../model/article/content/CarouselContent",
63
+ "id": "src/model/article/content/CarouselContent.ts::CarouselContent"
64
+ }
65
+ }
66
+ },
67
+ "required": true,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": ""
72
+ }
73
+ },
74
+ "hasArrows": {
75
+ "type": "boolean",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "boolean",
79
+ "resolved": "boolean",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": ""
87
+ },
88
+ "attribute": "has-arrows",
89
+ "reflect": false,
90
+ "defaultValue": "true"
91
+ }
92
+ };
93
+ }
94
+ }
95
+ //# sourceMappingURL=aico-carousel-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-carousel-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-carousel-content/aico-carousel-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAIpE,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,gBAAgB,CAAC;AAOxB,MAAM,OAAO,mBAAmB;;;yBAGD,IAAI;;IAEjC,gBAAgB;QACd,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC;YACnB,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI,CAAC,SAAS;YACtB,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;IAED,MAAM;QACJ,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/F,OAAO,CACL,EAAC,IAAI;YACH,EAAC,iBAAiB,IAAC,SAAS,EAAE,WAAW,KAAK,IAAI;gBAChD,0BAAoB,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,WAAY,CAAC,GAAI,CAClD;YACpB,WAAK,KAAK,EAAC,UAAU,IAClB,IAAI,CAAC,OAAO,CAAC,qBAAqB;iBAChC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;iBACjC,GAAG,CAAC,OAAO,CAAC,EAAE;gBACb,OAAO,CACL,WAAK,KAAK,EAAC,4CAA4C;oBACrD,WAAK,KAAK,EAAC,0BAA0B,EAAC,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;wBACjE,WAAK,KAAK,EAAC,mCAAmC,EAAC,GAAG,EAAC,kBAAkB,eAAY,OAAO,CAAC,OAAO,GAAI,CAChG;oBACN,EAAC,iBAAiB,IAAC,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;wBAC3H,WAAK,KAAK,EAAC,yCAAyC;4BAClD,UAAI,KAAK,EAAC,2BAA2B,IAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAM,CACtE,CACY,CAChB,CACP,CAAC;YACJ,CAAC,CAAC,CACA,CACD,CACR,CAAC;IACJ,CAAC;IAEO,gBAAgB,CAAC,WAAwB;QAC/C,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,aAAa,EAAE,KAAK;YACpB,IAAI,EAAE,IAAI;YACV,YAAY,EAAE,mBAAM,WAAW,EAAG;SACnC,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { CarouselContent } from '../../../model/article/content/CarouselContent';\nimport ConditionalRender from '../../../utils/ConditionalRender';\nimport { strIsNullOrEmptyOrWhitespace } from '../../../utils/utils';\nimport { Translation } from '../../../model/article/Translation';\nimport { TitleContent } from '../../../model/article/content/TitleContent';\n\nimport $ from 'jquery';\nimport 'slick-carousel';\n\n@Component({\n tag: 'aico-carousel-content',\n styleUrl: 'aico-carousel-content.css',\n scoped: true,\n})\nexport class AicoCarouselContent {\n @Prop() content!: CarouselContent;\n\n @Prop() hasArrows: boolean = true;\n\n componentDidLoad() {\n $('.carousel').slick({\n autoplay: true,\n autoplaySpeed: 6000,\n fade: true,\n dots: true,\n arrows: this.hasArrows,\n pauseOnDotsHover: true,\n });\n }\n\n render() {\n const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;\n\n return (\n <Host>\n <ConditionalRender condition={translation !== null}>\n <aico-title-content content={this.makeTitleContent(translation!)} />\n </ConditionalRender>\n <div class=\"carousel\">\n {this.content.contentCarouselImages\n .sort((a, b) => a.order - b.order)\n .map(content => {\n return (\n <div class=\"carousel-item card text-bg-dark text-white\">\n <div class=\"ratio ratio-16x9 mx-auto\" style={{ 'max-width': '50%' }}>\n <img class=\"card-img d-block object-fit-cover\" alt=\"Carousel Picture\" data-lazy={content.picture} />\n </div>\n <ConditionalRender condition={content.translations.length > 0 && !strIsNullOrEmptyOrWhitespace(content.translations[0].title)}>\n <div class=\"card-img-overlay d-flex align-items-end\">\n <h5 class=\"card-title text-uppercase\">{content.translations[0].title}</h5>\n </div>\n </ConditionalRender>\n </div>\n );\n })}\n </div>\n </Host>\n );\n }\n\n private makeTitleContent(translation: Translation): TitleContent {\n return {\n id: this.content.id,\n createdAt: this.content.createdAt,\n updatedAt: this.content.updatedAt,\n hasUnderscore: false,\n size: 'h2',\n translations: [{ ...translation }],\n };\n }\n}\n"]}
@@ -0,0 +1,73 @@
1
+ const meta = {
2
+ component: 'aico-carousel-content',
3
+ };
4
+ export default meta;
5
+ export const Example = {
6
+ args: {
7
+ content: {
8
+ id: 1234,
9
+ createdAt: new Date(),
10
+ updatedAt: new Date(),
11
+ translations: [
12
+ {
13
+ id: 1234,
14
+ createdAt: new Date(),
15
+ updatedAt: new Date(),
16
+ locale: 'en-GB',
17
+ title: 'Carusel title',
18
+ },
19
+ ],
20
+ contentCarouselImages: [
21
+ {
22
+ id: 1234,
23
+ createdAt: new Date(),
24
+ updatedAt: new Date(),
25
+ order: 2,
26
+ picture: 'https://source.unsplash.com/random/320x240',
27
+ translations: [
28
+ {
29
+ id: 1234,
30
+ createdAt: new Date(),
31
+ updatedAt: new Date(),
32
+ locale: 'en-GB',
33
+ title: 'bar',
34
+ },
35
+ ],
36
+ },
37
+ {
38
+ id: 1234,
39
+ createdAt: new Date(),
40
+ updatedAt: new Date(),
41
+ order: 1,
42
+ picture: 'https://source.unsplash.com/random/320x240',
43
+ translations: [
44
+ {
45
+ id: 1234,
46
+ createdAt: new Date(),
47
+ updatedAt: new Date(),
48
+ locale: 'en-GB',
49
+ title: 'foo',
50
+ },
51
+ ],
52
+ },
53
+ {
54
+ id: 1234,
55
+ createdAt: new Date(),
56
+ updatedAt: new Date(),
57
+ order: 3,
58
+ picture: 'https://source.unsplash.com/random/320x240',
59
+ translations: [
60
+ {
61
+ id: 1234,
62
+ createdAt: new Date(),
63
+ updatedAt: new Date(),
64
+ locale: 'en-GB',
65
+ title: 'baz',
66
+ },
67
+ ],
68
+ },
69
+ ],
70
+ },
71
+ },
72
+ };
73
+ //# sourceMappingURL=aico-carousel-content.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-carousel-content.stories.js","sourceRoot":"","sources":["../../../../src/components/content/aico-carousel-content/aico-carousel-content.stories.ts"],"names":[],"mappings":"AAIA,MAAM,IAAI,GAAkC;IAC1C,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,eAAe;iBACvB;aACF;YACD,qBAAqB,EAAE;gBACrB;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,4CAA4C;oBACrD,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,KAAK,EAAE,KAAK;yBACb;qBACF;iBACF;gBACD;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,4CAA4C;oBACrD,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,KAAK,EAAE,KAAK;yBACb;qBACF;iBACF;gBACD;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,4CAA4C;oBACrD,YAAY,EAAE;wBACZ;4BACE,EAAE,EAAE,IAAI;4BACR,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,SAAS,EAAE,IAAI,IAAI,EAAE;4BACrB,MAAM,EAAE,OAAO;4BACf,KAAK,EAAE,KAAK;yBACb;qBACF;iBACF;aACF;SACiB;KACrB;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from '@storybook/web-components';\nimport type { CarouselContent } from '../../../model/article/content/CarouselContent';\nimport { JSX } from '../../../components';\n\nconst meta: Meta<JSX.AicoCarouselContent> = {\n component: 'aico-carousel-content',\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Example: Story = {\n args: {\n content: {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n title: 'Carusel title',\n },\n ],\n contentCarouselImages: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n order: 2,\n picture: 'https://source.unsplash.com/random/320x240',\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n title: 'bar',\n },\n ],\n },\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n order: 1,\n picture: 'https://source.unsplash.com/random/320x240',\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n title: 'foo',\n },\n ],\n },\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n order: 3,\n picture: 'https://source.unsplash.com/random/320x240',\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n locale: 'en-GB',\n title: 'baz',\n },\n ],\n },\n ],\n } as CarouselContent,\n },\n};\n"]}
@@ -0,0 +1,19 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class AicoCollectionContent {
3
+ render() {
4
+ return (h(Host, null, h("slot", null)));
5
+ }
6
+ static get is() { return "aico-collection-content"; }
7
+ static get encapsulation() { return "scoped"; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["aico-collection-content.css"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["aico-collection-content.css"]
16
+ };
17
+ }
18
+ }
19
+ //# sourceMappingURL=aico-collection-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-collection-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-collection-content/aico-collection-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,qBAAqB;IAEhC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,eAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CAEF","sourcesContent":["import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'aico-collection-content',\n styleUrl: 'aico-collection-content.css',\n scoped: true,\n})\nexport class AicoCollectionContent {\n\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n\n}\n"]}
@@ -0,0 +1,62 @@
1
+ import { h } from "@stencil/core";
2
+ import { strIsNullOrEmptyOrWhitespace } from "../../../utils/utils";
3
+ import ConditionalRender from "../../../utils/ConditionalRender";
4
+ export class AicoContentCardContent {
5
+ constructor() {
6
+ this.content = undefined;
7
+ }
8
+ render() {
9
+ var _a;
10
+ const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;
11
+ return (h("div", { class: "card", style: { width: '18rem' } }, h(ConditionalRender, { condition: !strIsNullOrEmptyOrWhitespace(this.content.picture) }, h("img", { class: "card-img-top", alt: "Card picture", src: this.content.picture })), h("div", { class: "card-body" }, h(ConditionalRender, { condition: !strIsNullOrEmptyOrWhitespace(translation === null || translation === void 0 ? void 0 : translation.title) }, h("aico-title-content", { class: "card-title", content: this.makeTitleContent(translation) })), h(ConditionalRender, { condition: !strIsNullOrEmptyOrWhitespace(this.content.link) }, h("a", { class: "card-link", href: this.content.link, target: "_blank" }, (_a = translation === null || translation === void 0 ? void 0 : translation.linkText) !== null && _a !== void 0 ? _a : 'link')))));
12
+ }
13
+ makeTitleContent(translation) {
14
+ var _a;
15
+ return {
16
+ id: this.content.id,
17
+ createdAt: this.content.createdAt,
18
+ updatedAt: this.content.updatedAt,
19
+ hasUnderscore: false,
20
+ size: (_a = this.content.titleSize) !== null && _a !== void 0 ? _a : 'h1',
21
+ translations: [Object.assign({}, translation)],
22
+ };
23
+ }
24
+ static get is() { return "aico-content-card-content"; }
25
+ static get encapsulation() { return "scoped"; }
26
+ static get originalStyleUrls() {
27
+ return {
28
+ "$": ["aico-content-card-content.css"]
29
+ };
30
+ }
31
+ static get styleUrls() {
32
+ return {
33
+ "$": ["aico-content-card-content.css"]
34
+ };
35
+ }
36
+ static get properties() {
37
+ return {
38
+ "content": {
39
+ "type": "unknown",
40
+ "mutable": false,
41
+ "complexType": {
42
+ "original": "CardContent",
43
+ "resolved": "{ id: string | number; createdAt: Date; updatedAt: Date; } & { translations: ({ id: string | number; createdAt: Date; updatedAt: Date; locale: string; text?: string | null | undefined; title?: string | null | undefined; } & { linkText?: string | undefined; })[]; picture?: string | undefined; link?: string | undefined; titleSize?: string | undefined; }",
44
+ "references": {
45
+ "CardContent": {
46
+ "location": "import",
47
+ "path": "../../../model/article/content/CardContent",
48
+ "id": "src/model/article/content/CardContent.ts::CardContent"
49
+ }
50
+ }
51
+ },
52
+ "required": true,
53
+ "optional": false,
54
+ "docs": {
55
+ "tags": [],
56
+ "text": ""
57
+ }
58
+ }
59
+ };
60
+ }
61
+ }
62
+ //# sourceMappingURL=aico-content-card-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-content-card-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-content-card-content/aico-content-card-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAUjE,MAAM,OAAO,sBAAsB;;;;IAGjC,MAAM;;QACJ,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAE/F,OAAO,CACL,WAAK,KAAK,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;YACzC,EAAC,iBAAiB,IAAC,SAAS,EAAE,CAAC,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;gBAC/E,WAAK,KAAK,EAAC,cAAc,EAAC,GAAG,EAAC,cAAc,EAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,GAAI,CACxD;YACpB,WAAK,KAAK,EAAC,WAAW;gBACpB,EAAC,iBAAiB,IAAC,SAAS,EAAE,CAAC,4BAA4B,CAAC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,CAAC;oBAC7E,0BAAoB,KAAK,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,CAAC,WAAY,CAAC,GAAI,CACrE;gBACpB,EAAC,iBAAiB,IAAC,SAAS,EAAE,CAAC,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;oBAC5E,SAAG,KAAK,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,EAAC,QAAQ,IAC1D,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,mCAAI,MAAM,CAC9B,CACc,CAChB,CACF,CACP,CAAC;IACJ,CAAC;IAEO,gBAAgB,CAAC,WAAwB;;QAC/C,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YACnB,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;YACjC,aAAa,EAAE,KAAK;YACpB,IAAI,EAAE,MAAA,IAAI,CAAC,OAAO,CAAC,SAAS,mCAAI,IAAI;YACpC,YAAY,EAAE,mBAAM,WAAW,EAAG;SACnC,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { strIsNullOrEmptyOrWhitespace } from '../../../utils/utils';\nimport ConditionalRender from '../../../utils/ConditionalRender';\nimport type { CardContent } from '../../../model/article/content/CardContent';\nimport type { Translation } from '../../../model/article/Translation';\nimport type { TitleContent } from '../../../model/article/content/TitleContent';\n\n@Component({\n tag: 'aico-content-card-content',\n styleUrl: 'aico-content-card-content.css',\n scoped: true,\n})\nexport class AicoContentCardContent {\n @Prop() content!: CardContent;\n\n render() {\n const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;\n\n return (\n <div class=\"card\" style={{ width: '18rem' }}>\n <ConditionalRender condition={!strIsNullOrEmptyOrWhitespace(this.content.picture)}>\n <img class=\"card-img-top\" alt=\"Card picture\" src={this.content.picture} />\n </ConditionalRender>\n <div class=\"card-body\">\n <ConditionalRender condition={!strIsNullOrEmptyOrWhitespace(translation?.title)}>\n <aico-title-content class=\"card-title\" content={this.makeTitleContent(translation!)} />\n </ConditionalRender>\n <ConditionalRender condition={!strIsNullOrEmptyOrWhitespace(this.content.link)}>\n <a class=\"card-link\" href={this.content.link} target=\"_blank\">\n {translation?.linkText ?? 'link'}\n </a>\n </ConditionalRender>\n </div>\n </div>\n );\n }\n\n private makeTitleContent(translation: Translation): TitleContent {\n return {\n id: this.content.id,\n createdAt: this.content.createdAt,\n updatedAt: this.content.updatedAt,\n hasUnderscore: false,\n size: this.content.titleSize ?? 'h1',\n translations: [{ ...translation }],\n };\n }\n}\n"]}
@@ -0,0 +1,26 @@
1
+ const meta = {
2
+ component: 'aico-content-card-content',
3
+ };
4
+ export default meta;
5
+ export const Example = {
6
+ args: {
7
+ content: {
8
+ id: 1234,
9
+ createdAt: new Date(),
10
+ updatedAt: new Date(),
11
+ translations: [
12
+ {
13
+ id: 1234,
14
+ createdAt: new Date(),
15
+ updatedAt: new Date(),
16
+ title: 'Card content',
17
+ linkText: 'hehe',
18
+ },
19
+ ],
20
+ picture: 'https://source.unsplash.com/random/320x240',
21
+ link: 'https://www.youtube.com/watch?v=xvFZjo5PgG0',
22
+ titleSize: 'h2',
23
+ },
24
+ },
25
+ };
26
+ //# sourceMappingURL=aico-content-card-content.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-content-card-content.stories.js","sourceRoot":"","sources":["../../../../src/components/content/aico-content-card-content/aico-content-card-content.stories.ts"],"names":[],"mappings":"AAIA,MAAM,IAAI,GAAqC;IAC7C,SAAS,EAAE,2BAA2B;CACvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,KAAK,EAAE,cAAc;oBACrB,QAAQ,EAAE,MAAM;iBACjB;aACF;YACD,OAAO,EAAE,4CAA4C;YACrD,IAAI,EAAE,6CAA6C;YACnD,SAAS,EAAE,IAAI;SACD;KACjB;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from '@storybook/web-components';\nimport type { CardContent } from '../../../model/article/content/CardContent';\nimport { JSX } from '../../../components';\n\nconst meta: Meta<JSX.AicoContentCardContent> = {\n component: 'aico-content-card-content',\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Example: Story = {\n args: {\n content: {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n title: 'Card content',\n linkText: 'hehe',\n },\n ],\n picture: 'https://source.unsplash.com/random/320x240',\n link: 'https://www.youtube.com/watch?v=xvFZjo5PgG0',\n titleSize: 'h2',\n } as CardContent,\n },\n};\n"]}
@@ -0,0 +1,49 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class AicoDividerContent {
3
+ constructor() {
4
+ this.content = undefined;
5
+ }
6
+ render() {
7
+ const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;
8
+ const isOnlyMargin = translation ? translation.isOnlyMargin : this.content.isOnlyMargin;
9
+ return h(Host, null, isOnlyMargin ? h("div", { style: { 'padding-top': '40px' } }) : h("hr", { style: { margin: '5px' } }));
10
+ }
11
+ static get is() { return "aico-divider-content"; }
12
+ static get encapsulation() { return "scoped"; }
13
+ static get originalStyleUrls() {
14
+ return {
15
+ "$": ["aico-divider-content.css"]
16
+ };
17
+ }
18
+ static get styleUrls() {
19
+ return {
20
+ "$": ["aico-divider-content.css"]
21
+ };
22
+ }
23
+ static get properties() {
24
+ return {
25
+ "content": {
26
+ "type": "unknown",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "DividerContent",
30
+ "resolved": "{ id: string | number; createdAt: Date; updatedAt: Date; } & { translations: ({ id: string | number; createdAt: Date; updatedAt: Date; locale: string; text?: string | null | undefined; title?: string | null | undefined; } & { isOnlyMargin: boolean; })[]; isOnlyMargin: boolean; }",
31
+ "references": {
32
+ "DividerContent": {
33
+ "location": "import",
34
+ "path": "../../../model/article/content/DividerContent",
35
+ "id": "src/model/article/content/DividerContent.ts::DividerContent"
36
+ }
37
+ }
38
+ },
39
+ "required": true,
40
+ "optional": false,
41
+ "docs": {
42
+ "tags": [],
43
+ "text": ""
44
+ }
45
+ }
46
+ };
47
+ }
48
+ }
49
+ //# sourceMappingURL=aico-divider-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-divider-content.js","sourceRoot":"","sources":["../../../../src/components/content/aico-divider-content/aico-divider-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,kBAAkB;;;;IAG7B,MAAM;QACJ,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/F,MAAM,YAAY,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC;QACxF,OAAO,EAAC,IAAI,QAAE,YAAY,CAAC,CAAC,CAAC,WAAK,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,GAAI,CAAC,CAAC,CAAC,UAAI,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAI,CAAQ,CAAC;IACpH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport type { DividerContent } from '../../../model/article/content/DividerContent';\n\n@Component({\n tag: 'aico-divider-content',\n styleUrl: 'aico-divider-content.css',\n scoped: true,\n})\nexport class AicoDividerContent {\n @Prop() content!: DividerContent;\n\n render() {\n const translation = this.content.translations.length > 0 ? this.content.translations[0] : null;\n const isOnlyMargin = translation ? translation.isOnlyMargin : this.content.isOnlyMargin;\n return <Host>{isOnlyMargin ? <div style={{ 'padding-top': '40px' }} /> : <hr style={{ margin: '5px' }} />}</Host>;\n }\n}\n"]}
@@ -0,0 +1,23 @@
1
+ const meta = {
2
+ component: 'aico-divider-content',
3
+ };
4
+ export default meta;
5
+ export const Example = {
6
+ args: {
7
+ content: {
8
+ id: 1234,
9
+ createdAt: new Date(),
10
+ updatedAt: new Date(),
11
+ translations: [
12
+ {
13
+ id: 1234,
14
+ createdAt: new Date(),
15
+ updatedAt: new Date(),
16
+ isOnlyMargin: false,
17
+ },
18
+ ],
19
+ isOnlyMargin: false,
20
+ },
21
+ },
22
+ };
23
+ //# sourceMappingURL=aico-divider-content.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aico-divider-content.stories.js","sourceRoot":"","sources":["../../../../src/components/content/aico-divider-content/aico-divider-content.stories.ts"],"names":[],"mappings":"AAIA,MAAM,IAAI,GAAiC;IACzC,SAAS,EAAE,sBAAsB;CAClC,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE;YACP,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,IAAI;oBACR,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;oBACrB,YAAY,EAAE,KAAK;iBACpB;aACF;YACD,YAAY,EAAE,KAAK;SACF;KACpB;CACF,CAAC","sourcesContent":["import type { Meta, StoryObj } from '@storybook/web-components';\nimport type { DividerContent } from '../../../model/article/content/DividerContent';\nimport { JSX } from '../../../components';\n\nconst meta: Meta<JSX.AicoDividerContent> = {\n component: 'aico-divider-content',\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Example: Story = {\n args: {\n content: {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n translations: [\n {\n id: 1234,\n createdAt: new Date(),\n updatedAt: new Date(),\n isOnlyMargin: false,\n },\n ],\n isOnlyMargin: false,\n } as DividerContent,\n },\n};\n"]}