@iqual/nuxt-icms 1.0.2

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 (436) hide show
  1. package/app.config.ts +1 -0
  2. package/app.vue +50 -0
  3. package/assets/css/backend.css +82 -0
  4. package/assets/css/ckeditor.css +15 -0
  5. package/assets/css/components/carousel.css +91 -0
  6. package/assets/css/components/ck-content.css +65 -0
  7. package/assets/css/components/container.css +17 -0
  8. package/assets/css/components/dialog.css +9 -0
  9. package/assets/css/components/grid-container.css +296 -0
  10. package/assets/css/components/link.css +21 -0
  11. package/assets/css/fe-fixes.css +105 -0
  12. package/assets/css/tailwind.css +104 -0
  13. package/assets/css/typography.css +67 -0
  14. package/assets/symbols/chevron-down.svg +1 -0
  15. package/assets/symbols/chevron-right.svg +3 -0
  16. package/assets/symbols/close.svg +3 -0
  17. package/assets/symbols/facebook.svg +3 -0
  18. package/assets/symbols/instagram.svg +13 -0
  19. package/assets/symbols/linkedin.svg +4 -0
  20. package/assets/symbols/logo.svg +22 -0
  21. package/assets/symbols/magnifyingglass.svg +4 -0
  22. package/assets/symbols/pinterest.svg +4 -0
  23. package/assets/symbols/play.svg +6 -0
  24. package/assets/symbols/tiktok.svg +4 -0
  25. package/assets/symbols/x.svg +4 -0
  26. package/bundles.ts +50 -0
  27. package/components/Blokkli/Button/Element/icon.svg +4 -0
  28. package/components/Blokkli/Button/Element/index.vue +18 -0
  29. package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  30. package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-top.svg +1 -0
  31. package/components/Blokkli/CallToAction/icon-blokkli-option-no-spacing.svg +1 -0
  32. package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  33. package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-top.svg +1 -0
  34. package/components/Blokkli/CallToAction/icon.svg +5 -0
  35. package/components/Blokkli/CallToAction/index.vue +15 -0
  36. package/components/Blokkli/Card/Element/icon.svg +6 -0
  37. package/components/Blokkli/Card/Element/index.vue +14 -0
  38. package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  39. package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  40. package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing.svg +1 -0
  41. package/components/Blokkli/Card/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  42. package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  43. package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  44. package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing.svg +1 -0
  45. package/components/Blokkli/Card/Layout/icon.svg +8 -0
  46. package/components/Blokkli/Card/Layout/index.vue +15 -0
  47. package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  48. package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-top.svg +1 -0
  49. package/components/Blokkli/Contact/icon-blokkli-option-no-spacing.svg +1 -0
  50. package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  51. package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-top.svg +1 -0
  52. package/components/Blokkli/Contact/icon.svg +5 -0
  53. package/components/Blokkli/Contact/index.vue +15 -0
  54. package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  55. package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-top.svg +1 -0
  56. package/components/Blokkli/Downloads/icon-blokkli-option-no-spacing.svg +1 -0
  57. package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  58. package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-top.svg +1 -0
  59. package/components/Blokkli/Downloads/icon.svg +5 -0
  60. package/components/Blokkli/Downloads/index.vue +16 -0
  61. package/components/Blokkli/FAQ/Element/icon-blokkli-option-large-spacing.svg +1 -0
  62. package/components/Blokkli/FAQ/Element/icon-blokkli-option-no-spacing.svg +1 -0
  63. package/components/Blokkli/FAQ/Element/icon-blokkli-option-small-spacing.svg +1 -0
  64. package/components/Blokkli/FAQ/Element/icon.svg +3 -0
  65. package/components/Blokkli/FAQ/Element/index.vue +14 -0
  66. package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  67. package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  68. package/components/Blokkli/FAQ/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  69. package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  70. package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  71. package/components/Blokkli/FAQ/Layout/icon.svg +5 -0
  72. package/components/Blokkli/FAQ/Layout/index.vue +20 -0
  73. package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  74. package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-top.svg +1 -0
  75. package/components/Blokkli/FlipTeasers/icon-blokkli-option-no-spacing.svg +1 -0
  76. package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  77. package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-top.svg +1 -0
  78. package/components/Blokkli/FlipTeasers/icon.svg +7 -0
  79. package/components/Blokkli/FlipTeasers/index.vue +15 -0
  80. package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  81. package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-top.svg +1 -0
  82. package/components/Blokkli/Gallery/icon-blokkli-option-no-spacing.svg +1 -0
  83. package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  84. package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-top.svg +1 -0
  85. package/components/Blokkli/Gallery/icon.svg +5 -0
  86. package/components/Blokkli/Gallery/index.vue +16 -0
  87. package/components/Blokkli/HeroImage/icon.svg +5 -0
  88. package/components/Blokkli/HeroImage/index.vue +15 -0
  89. package/components/Blokkli/IconText/Element/icon.svg +5 -0
  90. package/components/Blokkli/IconText/Element/index.vue +14 -0
  91. package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  92. package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  93. package/components/Blokkli/IconText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  94. package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  95. package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  96. package/components/Blokkli/IconText/Layout/icon.svg +7 -0
  97. package/components/Blokkli/IconText/Layout/index.vue +20 -0
  98. package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  99. package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-top.svg +1 -0
  100. package/components/Blokkli/Introduction/icon-blokkli-option-no-spacing.svg +1 -0
  101. package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  102. package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-top.svg +1 -0
  103. package/components/Blokkli/Introduction/icon.svg +5 -0
  104. package/components/Blokkli/Introduction/index.vue +20 -0
  105. package/components/Blokkli/Logo/Element/icon.svg +6 -0
  106. package/components/Blokkli/Logo/Element/index.vue +14 -0
  107. package/components/Blokkli/Media/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  108. package/components/Blokkli/Media/icon-blokkli-option-large-spacing-top.svg +1 -0
  109. package/components/Blokkli/Media/icon-blokkli-option-no-spacing.svg +1 -0
  110. package/components/Blokkli/Media/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  111. package/components/Blokkli/Media/icon-blokkli-option-small-spacing-top.svg +1 -0
  112. package/components/Blokkli/Media/icon.svg +8 -0
  113. package/components/Blokkli/Media/index.vue +15 -0
  114. package/components/Blokkli/Partnerships/Element/icon.svg +3 -0
  115. package/components/Blokkli/Partnerships/Element/index.vue +13 -0
  116. package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  117. package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  118. package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  119. package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  120. package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  121. package/components/Blokkli/Partnerships/Layout/icon.svg +5 -0
  122. package/components/Blokkli/Partnerships/Layout/index.vue +15 -0
  123. package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  124. package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-top.svg +1 -0
  125. package/components/Blokkli/SingleTestimonial/icon-blokkli-option-no-spacing.svg +1 -0
  126. package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  127. package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-top.svg +1 -0
  128. package/components/Blokkli/SingleTestimonial/icon.svg +5 -0
  129. package/components/Blokkli/SingleTestimonial/index.vue +20 -0
  130. package/components/Blokkli/Table/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  131. package/components/Blokkli/Table/icon-blokkli-option-large-spacing-top.svg +1 -0
  132. package/components/Blokkli/Table/icon-blokkli-option-no-spacing.svg +1 -0
  133. package/components/Blokkli/Table/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  134. package/components/Blokkli/Table/icon-blokkli-option-small-spacing-top.svg +1 -0
  135. package/components/Blokkli/Table/icon.svg +5 -0
  136. package/components/Blokkli/Table/index.vue +15 -0
  137. package/components/Blokkli/Tabs/Element/icon.svg +3 -0
  138. package/components/Blokkli/Tabs/Element/index.vue +14 -0
  139. package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  140. package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  141. package/components/Blokkli/Tabs/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  142. package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  143. package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  144. package/components/Blokkli/Tabs/Layout/icon.svg +5 -0
  145. package/components/Blokkli/Tabs/Layout/index.vue +20 -0
  146. package/components/Blokkli/Team/Element/icon.svg +3 -0
  147. package/components/Blokkli/Team/Element/index.vue +14 -0
  148. package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  149. package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  150. package/components/Blokkli/Team/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  151. package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  152. package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  153. package/components/Blokkli/Team/Layout/icon.svg +5 -0
  154. package/components/Blokkli/Team/Layout/index.vue +15 -0
  155. package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  156. package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-top.svg +1 -0
  157. package/components/Blokkli/Teasers/icon-blokkli-option-no-spacing.svg +1 -0
  158. package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  159. package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-top.svg +1 -0
  160. package/components/Blokkli/Teasers/icon.svg +6 -0
  161. package/components/Blokkli/Teasers/index.vue +15 -0
  162. package/components/Blokkli/Testimonial/Element/icon.svg +3 -0
  163. package/components/Blokkli/Testimonial/Element/index.vue +14 -0
  164. package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  165. package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  166. package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  167. package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  168. package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  169. package/components/Blokkli/Testimonial/Layout/icon.svg +5 -0
  170. package/components/Blokkli/Testimonial/Layout/index.vue +15 -0
  171. package/components/Blokkli/Text/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  172. package/components/Blokkli/Text/icon-blokkli-option-large-spacing-top.svg +1 -0
  173. package/components/Blokkli/Text/icon-blokkli-option-no-spacing.svg +1 -0
  174. package/components/Blokkli/Text/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  175. package/components/Blokkli/Text/icon-blokkli-option-small-spacing-top.svg +1 -0
  176. package/components/Blokkli/Text/icon.svg +7 -0
  177. package/components/Blokkli/Text/index.vue +21 -0
  178. package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  179. package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-top.svg +1 -0
  180. package/components/Blokkli/TextMedia/icon-blokkli-option-no-spacing.svg +1 -0
  181. package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  182. package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-top.svg +1 -0
  183. package/components/Blokkli/TextMedia/icon.svg +5 -0
  184. package/components/Blokkli/TextMedia/index.vue +22 -0
  185. package/components/Blokkli/TwoColumnText/Element/icon.svg +8 -0
  186. package/components/Blokkli/TwoColumnText/Element/index.vue +15 -0
  187. package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  188. package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  189. package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  190. package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  191. package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  192. package/components/Blokkli/TwoColumnText/Layout/icon.svg +10 -0
  193. package/components/Blokkli/TwoColumnText/Layout/index.vue +18 -0
  194. package/components/Blokkli/iFrame/Element/icon.svg +5 -0
  195. package/components/Blokkli/iFrame/Element/index.vue +14 -0
  196. package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
  197. package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
  198. package/components/Blokkli/iFrame/Layout/icon-blokkli-option-no-spacing.svg +1 -0
  199. package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
  200. package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
  201. package/components/Blokkli/iFrame/Layout/icon.svg +7 -0
  202. package/components/Blokkli/iFrame/Layout/index.vue +18 -0
  203. package/components/DesignSystem/Atoms/Button.vue +144 -0
  204. package/components/DesignSystem/Atoms/Container.vue +54 -0
  205. package/components/DesignSystem/Atoms/GridRow.vue +13 -0
  206. package/components/DesignSystem/Molecules/ButtonGroup.vue +45 -0
  207. package/components/DesignSystem/Molecules/Card.vue +70 -0
  208. package/components/DesignSystem/Molecules/IconText.vue +62 -0
  209. package/components/DesignSystem/Molecules/MediaSlider.vue +72 -0
  210. package/components/DesignSystem/Molecules/Partnership.vue +40 -0
  211. package/components/DesignSystem/Molecules/Table.vue +170 -0
  212. package/components/DesignSystem/Molecules/TitleComposition.vue +66 -0
  213. package/components/DesignSystem/Molecules/iFrame.vue +22 -0
  214. package/components/DesignSystem/Organisms/ContentBlock.vue +82 -0
  215. package/components/DesignSystem/Organisms/FlipTeaser.vue +160 -0
  216. package/components/DesignSystem/Organisms/LogoElement.vue +37 -0
  217. package/components/DesignSystem/Organisms/TeamElement.vue +89 -0
  218. package/components/DesignSystem/Organisms/TeaserCard.vue +74 -0
  219. package/components/DesignSystem/Organisms/Testimonial.vue +53 -0
  220. package/components/DesignSystem/Organisms/TwoColumnTextElement.vue +42 -0
  221. package/components/Drupal/Breadcrumb/fragment.breadcrumb.graphql +6 -0
  222. package/components/Drupal/Breadcrumb/index.vue +88 -0
  223. package/components/Drupal/Messages/index.vue +29 -0
  224. package/components/Drupal/Webform/fragment.graphql +86 -0
  225. package/components/Drupal/Webform/index.vue +174 -0
  226. package/components/Drupal/Webform/mutation.graphql +8 -0
  227. package/components/Drupal/Webform/query.graphql +21 -0
  228. package/components/Form/CheckboxInput.vue +35 -0
  229. package/components/Form/CheckboxInputs.vue +44 -0
  230. package/components/Form/FileUploadInput.vue +34 -0
  231. package/components/Form/RadioButtonsInput.vue +44 -0
  232. package/components/Form/SelectInput.vue +54 -0
  233. package/components/Form/SubmitButton.vue +12 -0
  234. package/components/Form/TextAreaInput.vue +34 -0
  235. package/components/Form/TextEmailInput.vue +35 -0
  236. package/components/Form/TextInput.vue +35 -0
  237. package/components/Form/TextPhoneInput.vue +35 -0
  238. package/components/Form/WebformMarkup.vue +9 -0
  239. package/components/Form/composables/useFormElement.ts +84 -0
  240. package/components/Form/utils/types.ts +64 -0
  241. package/components/Media/Icon/fragment.mediaIcon.graphql +9 -0
  242. package/components/Media/Icon/index.vue +16 -0
  243. package/components/Media/Image/fragment.graphql +11 -0
  244. package/components/Media/Image/index.vue +215 -0
  245. package/components/Media/RemoteVideo/fragment.graphql +27 -0
  246. package/components/Media/RemoteVideo/index.vue +58 -0
  247. package/components/Media/Video/fragment.graphql +17 -0
  248. package/components/Media/Video/index.vue +44 -0
  249. package/components/Media/fragment.graphql +8 -0
  250. package/components/Media/index.vue +33 -0
  251. package/components/Node/Icms/Page/fragment.graphql +17 -0
  252. package/components/Node/Icms/Page/index.vue +14 -0
  253. package/components/Paragraph/Button/Element/fragment.graphql +14 -0
  254. package/components/Paragraph/Button/Element/index.vue +23 -0
  255. package/components/Paragraph/CallToAction/fragment.graphql +12 -0
  256. package/components/Paragraph/CallToAction/index.vue +60 -0
  257. package/components/Paragraph/Card/Element/fragment.graphql +10 -0
  258. package/components/Paragraph/Card/Element/index.vue +19 -0
  259. package/components/Paragraph/Card/Layout/fragment.graphql +14 -0
  260. package/components/Paragraph/Card/Layout/index.vue +58 -0
  261. package/components/Paragraph/Contact/fragment.graphql +20 -0
  262. package/components/Paragraph/Contact/index.vue +60 -0
  263. package/components/Paragraph/Downloads/fragment.graphql +15 -0
  264. package/components/Paragraph/Downloads/index.vue +104 -0
  265. package/components/Paragraph/FAQ/Element/fragment.graphql +10 -0
  266. package/components/Paragraph/FAQ/Element/index.vue +66 -0
  267. package/components/Paragraph/FAQ/Layout/fragment.graphql +23 -0
  268. package/components/Paragraph/FAQ/Layout/index.vue +84 -0
  269. package/components/Paragraph/FlipTeasers/fragment.graphql +25 -0
  270. package/components/Paragraph/FlipTeasers/index.vue +59 -0
  271. package/components/Paragraph/Gallery/fragment.graphql +11 -0
  272. package/components/Paragraph/Gallery/index.vue +223 -0
  273. package/components/Paragraph/HeroImage/fragment.graphql +17 -0
  274. package/components/Paragraph/HeroImage/index.vue +147 -0
  275. package/components/Paragraph/IconText/Element/fragment.graphql +8 -0
  276. package/components/Paragraph/IconText/Element/index.vue +18 -0
  277. package/components/Paragraph/IconText/Layout/fragment.graphql +23 -0
  278. package/components/Paragraph/IconText/Layout/index.vue +76 -0
  279. package/components/Paragraph/Introduction/fragment.graphql +20 -0
  280. package/components/Paragraph/Introduction/index.vue +94 -0
  281. package/components/Paragraph/Logo/Element/fragment.graphql +11 -0
  282. package/components/Paragraph/Logo/Element/index.vue +17 -0
  283. package/components/Paragraph/Media/fragment.graphql +5 -0
  284. package/components/Paragraph/Media/index.vue +83 -0
  285. package/components/Paragraph/Partnerships/Element/fragment.graphql +11 -0
  286. package/components/Paragraph/Partnerships/Element/index.vue +14 -0
  287. package/components/Paragraph/Partnerships/Layout/fragment.graphql +17 -0
  288. package/components/Paragraph/Partnerships/Layout/index.vue +119 -0
  289. package/components/Paragraph/SingleTestimonial/fragment.graphql +24 -0
  290. package/components/Paragraph/SingleTestimonial/index.vue +79 -0
  291. package/components/Paragraph/Table/fragment.graphql +11 -0
  292. package/components/Paragraph/Table/index.vue +43 -0
  293. package/components/Paragraph/Tabs/Element/fragment.graphql +17 -0
  294. package/components/Paragraph/Tabs/Element/index.vue +78 -0
  295. package/components/Paragraph/Tabs/Layout/fragment.graphql +11 -0
  296. package/components/Paragraph/Tabs/Layout/index.vue +191 -0
  297. package/components/Paragraph/Team/Element/fragment.graphql +17 -0
  298. package/components/Paragraph/Team/Element/index.vue +23 -0
  299. package/components/Paragraph/Team/Layout/fragment.graphql +14 -0
  300. package/components/Paragraph/Team/Layout/index.vue +51 -0
  301. package/components/Paragraph/Teasers/fragment.graphql +25 -0
  302. package/components/Paragraph/Teasers/index.vue +58 -0
  303. package/components/Paragraph/Testimonial/Element/fragment.graphql +13 -0
  304. package/components/Paragraph/Testimonial/Element/index.vue +29 -0
  305. package/components/Paragraph/Testimonial/Layout/fragment.graphql +13 -0
  306. package/components/Paragraph/Testimonial/Layout/index.vue +109 -0
  307. package/components/Paragraph/Text/fragment.graphql +14 -0
  308. package/components/Paragraph/Text/index.vue +66 -0
  309. package/components/Paragraph/TextMedia/fragment.graphql +17 -0
  310. package/components/Paragraph/TextMedia/index.vue +125 -0
  311. package/components/Paragraph/TwoColumnText/Element/fragment.graphql +8 -0
  312. package/components/Paragraph/TwoColumnText/Element/index.vue +31 -0
  313. package/components/Paragraph/TwoColumnText/Layout/fragment.graphql +8 -0
  314. package/components/Paragraph/TwoColumnText/Layout/index.vue +25 -0
  315. package/components/Paragraph/fragment.paragraphsFieldItem.graphql +6 -0
  316. package/components/Paragraph/iFrame/Element/fragment.graphql +9 -0
  317. package/components/Paragraph/iFrame/Element/index.vue +16 -0
  318. package/components/Paragraph/iFrame/Layout/fragment.graphql +13 -0
  319. package/components/Paragraph/iFrame/Layout/index.vue +161 -0
  320. package/components/Section/Footer/index.vue +144 -0
  321. package/components/Section/Header/GlobalMenu.vue +337 -0
  322. package/components/Section/Header/LanguageDropdown.vue +105 -0
  323. package/components/Section/Header/MenuIcon.vue +171 -0
  324. package/components/Section/Header/MetaMenu.vue +57 -0
  325. package/components/Section/Header/SearchLink.vue +26 -0
  326. package/components/Section/Header/index.vue +205 -0
  327. package/components/ui/accordion/Accordion.vue +19 -0
  328. package/components/ui/accordion/AccordionContent.vue +26 -0
  329. package/components/ui/accordion/AccordionItem.vue +27 -0
  330. package/components/ui/accordion/AccordionTrigger.vue +41 -0
  331. package/components/ui/accordion/index.ts +4 -0
  332. package/components/ui/button/Button.vue +26 -0
  333. package/components/ui/button/index.ts +36 -0
  334. package/components/ui/carousel/Carousel.vue +72 -0
  335. package/components/ui/carousel/CarouselContent.vue +30 -0
  336. package/components/ui/carousel/CarouselItem.vue +25 -0
  337. package/components/ui/carousel/CarouselNext.vue +33 -0
  338. package/components/ui/carousel/CarouselPrevious.vue +33 -0
  339. package/components/ui/carousel/index.ts +8 -0
  340. package/components/ui/carousel/interface.ts +24 -0
  341. package/components/ui/carousel/useCarousel.ts +66 -0
  342. package/components/ui/checkbox/Checkbox.vue +34 -0
  343. package/components/ui/checkbox/index.ts +1 -0
  344. package/components/ui/dialog/Dialog.vue +19 -0
  345. package/components/ui/dialog/DialogClose.vue +11 -0
  346. package/components/ui/dialog/DialogContent.vue +53 -0
  347. package/components/ui/dialog/DialogDescription.vue +30 -0
  348. package/components/ui/dialog/DialogFooter.vue +19 -0
  349. package/components/ui/dialog/DialogHeader.vue +16 -0
  350. package/components/ui/dialog/DialogScrollContent.vue +66 -0
  351. package/components/ui/dialog/DialogTitle.vue +28 -0
  352. package/components/ui/dialog/DialogTrigger.vue +11 -0
  353. package/components/ui/dialog/index.ts +9 -0
  354. package/components/ui/input/Input.vue +24 -0
  355. package/components/ui/input/index.ts +1 -0
  356. package/components/ui/label/Label.vue +29 -0
  357. package/components/ui/label/index.ts +1 -0
  358. package/components/ui/radio-group/RadioGroup.vue +27 -0
  359. package/components/ui/radio-group/RadioGroupItem.vue +41 -0
  360. package/components/ui/radio-group/index.ts +2 -0
  361. package/components/ui/select/Select.vue +15 -0
  362. package/components/ui/select/SelectContent.vue +54 -0
  363. package/components/ui/select/SelectGroup.vue +21 -0
  364. package/components/ui/select/SelectItem.vue +46 -0
  365. package/components/ui/select/SelectItemText.vue +12 -0
  366. package/components/ui/select/SelectLabel.vue +14 -0
  367. package/components/ui/select/SelectScrollDownButton.vue +26 -0
  368. package/components/ui/select/SelectScrollUpButton.vue +26 -0
  369. package/components/ui/select/SelectSeparator.vue +19 -0
  370. package/components/ui/select/SelectTrigger.vue +33 -0
  371. package/components/ui/select/SelectValue.vue +12 -0
  372. package/components/ui/select/index.ts +11 -0
  373. package/components/ui/tabs/Tabs.vue +15 -0
  374. package/components/ui/tabs/TabsContent.vue +29 -0
  375. package/components/ui/tabs/TabsList.vue +27 -0
  376. package/components/ui/tabs/TabsTrigger.vue +33 -0
  377. package/components/ui/tabs/index.ts +4 -0
  378. package/components/ui/textarea/Textarea.vue +24 -0
  379. package/components/ui/textarea/index.ts +1 -0
  380. package/components.json +18 -0
  381. package/composables/breadcrumb.ts +42 -0
  382. package/composables/languageLinks.ts +31 -0
  383. package/composables/query.initData.graphql +102 -0
  384. package/composables/useAccordionScroll.ts +30 -0
  385. package/composables/useChildTitleWeight.ts +13 -0
  386. package/composables/useCn.ts +7 -0
  387. package/composables/useCurrentLangcodeEnum.ts +18 -0
  388. package/composables/useDrupalMessages.ts +41 -0
  389. package/composables/useDrupalUser.ts +11 -0
  390. package/composables/useInitData.ts +118 -0
  391. package/composables/useIsMobile.ts +14 -0
  392. package/composables/useMainMenuLinks.ts +69 -0
  393. package/composables/useMetaMenuLinks.ts +44 -0
  394. package/composables/useNavigationOffset.ts +14 -0
  395. package/config/graphqlMiddleware/index.ts +41 -0
  396. package/config/multiCache/index.ts +28 -0
  397. package/config/postcss-drupal/postcss.config.cjs +14 -0
  398. package/config/runtimeConfig.ts +12 -0
  399. package/error.vue +39 -0
  400. package/eslint.config.mjs +111 -0
  401. package/formkit.config.ts +56 -0
  402. package/formkit.theme.ts +5000 -0
  403. package/layouts/default.vue +66 -0
  404. package/layouts/error.vue +98 -0
  405. package/layouts/library.vue +5 -0
  406. package/modules/dynamicNodeResolver.ts +95 -0
  407. package/modules/dynamicParagraphResolver.ts +69 -0
  408. package/nuxt.config.ts +551 -0
  409. package/package.json +64 -0
  410. package/pages/[...slug]/index.vue +27 -0
  411. package/pages/__tests__/index.ts +77 -0
  412. package/pages/blokkli/library-item/[uuid].vue +52 -0
  413. package/pages/blokkli/library-item/query.library.graphql +21 -0
  414. package/pages/index.vue +27 -0
  415. package/pages/node/[nid]/index.vue +25 -0
  416. package/pages/search/index.vue +69 -0
  417. package/pages/static-page/example.vue +40 -0
  418. package/plugins/clickaway.ts +12 -0
  419. package/plugins/drupalUser.ts +33 -0
  420. package/plugins/graphqlMiddleware.ts +115 -0
  421. package/queries/blokkli.graphql +5 -0
  422. package/queries/fragment.blokkliProps.graphql +8 -0
  423. package/queries/fragment.routeQuery.graphql +51 -0
  424. package/queries/query.drupalUser.graphql +10 -0
  425. package/server/api/content-search/index.ts +160 -0
  426. package/server/api/icon/[...params].ts +199 -0
  427. package/server/graphqlMiddleware.serverOptions.ts +87 -0
  428. package/server/helpers/index.ts +32 -0
  429. package/server/helpers/request.ts +44 -0
  430. package/server/middleware/spa.ts +45 -0
  431. package/server/multiCache.serverOptions.ts +32 -0
  432. package/server/tsconfig.json +3 -0
  433. package/server/utils/cacheability.ts +138 -0
  434. package/shims-vue.d.ts +5 -0
  435. package/tailwind.config.ts +228 -0
  436. package/vitest.config.mts +28 -0
@@ -0,0 +1,94 @@
1
+ <template>
2
+ <DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
3
+ <DesignSystemAtomsGridRow>
4
+ <div class="col-span-12">
5
+ <DesignSystemAtomsGridRow :class="introductionRow({ colorScheme })">
6
+ <div
7
+ class="col-span-12 p-8 pb-0 md:col-span-5 md:p-12 md:pr-0 lg:p-16 lg:pr-0"
8
+ >
9
+ <Media
10
+ v-if="image"
11
+ :media="image"
12
+ mediaClass="aspect-square"
13
+ imageAspectRatios="1/1"
14
+ imageSizes="xs:100vw sm:100vw md:320px lg:380px"
15
+ elementClass="rounded-lg size-full object-cover object-center"
16
+ />
17
+ </div>
18
+ <div
19
+ class="col-span-12 flex flex-col p-8 pt-0 md:col-span-7 md:p-12 md:pl-5 lg:p-16 lg:pl-6"
20
+ >
21
+ <DesignSystemOrganismsContentBlock
22
+ :pretitle="pretitle"
23
+ :title="title"
24
+ :subtitle="subtitle"
25
+ :text="text"
26
+ :titleWeight="titleWeight"
27
+ :titleStyle="titleStyle"
28
+ :colorScheme="colorScheme"
29
+ />
30
+ <BlokkliField
31
+ name="field_icms_buttons"
32
+ :list="buttons"
33
+ class="order-1 mt-6 flex flex-wrap gap-6 md:order-none"
34
+ :class="[buttonAlignment, { droptarget: isEditing }]"
35
+ />
36
+ <Media
37
+ v-if="signature"
38
+ mediaClass="ml-auto mr-6 mt-6 max-w-44"
39
+ :media="signature"
40
+ imageSizes="xs:180px"
41
+ />
42
+ </div>
43
+ </DesignSystemAtomsGridRow>
44
+ </div>
45
+ </DesignSystemAtomsGridRow>
46
+ </DesignSystemAtomsContainer>
47
+ </template>
48
+
49
+ <script lang="ts" setup>
50
+ import type { ParagraphIcmsLayoutTextImageIntroFragment } from '#graphql-operations'
51
+ import { tv } from 'tailwind-variants'
52
+
53
+ defineProps<ParagraphIcmsLayoutTextImageIntroFragment>()
54
+
55
+ const { options, isEditing } = useAttrs().blokkliData
56
+
57
+ const introductionRow = tv({
58
+ base: 'rounded-lg w-full shadow-custom p-0',
59
+ variants: {
60
+ colorScheme: {
61
+ none: 'bg-white',
62
+ dark: 'bg-gray-900',
63
+ light: 'bg-white',
64
+ accent: 'bg-primary-700',
65
+ },
66
+ },
67
+ defaultVariants: {
68
+ colorScheme: 'none',
69
+ },
70
+ })
71
+
72
+ const colorScheme = computed(() => {
73
+ return options.value.colorScheme
74
+ })
75
+
76
+ const spacing = computed(() => {
77
+ return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
78
+ })
79
+
80
+ const buttonAlignment = computed(() => {
81
+ switch (options.value.buttonAlignment) {
82
+ case 'left':
83
+ return 'justify-start'
84
+ case 'center':
85
+ return 'justify-center'
86
+ case 'right':
87
+ return 'justify-end'
88
+ default:
89
+ return 'justify-start'
90
+ }
91
+ })
92
+
93
+ provide('colorScheme', colorScheme)
94
+ </script>
@@ -0,0 +1,11 @@
1
+ fragment paragraphIcmsLogoElement on ParagraphIcmsLogoElement {
2
+ logo: fieldIcmsLogo {
3
+ ...media
4
+ }
5
+ link: fieldIcmsLink {
6
+ uri {
7
+ path
8
+ }
9
+ }
10
+ title: fieldIcmsLinkTitle
11
+ }
@@ -0,0 +1,17 @@
1
+ <template>
2
+ <DesignSystemOrganismsLogoElement
3
+ :logo="logo"
4
+ :link="link?.uri?.path"
5
+ :title="title"
6
+ :colorScheme="colorScheme"
7
+ class="w-full md:w-[calc(50%-12px)]"
8
+ />
9
+ </template>
10
+
11
+ <script lang="ts" setup>
12
+ import type { ParagraphIcmsLogoElementFragment } from '#graphql-operations'
13
+
14
+ defineProps<ParagraphIcmsLogoElementFragment>()
15
+
16
+ const colorScheme = inject<string>('colorScheme')
17
+ </script>
@@ -0,0 +1,5 @@
1
+ fragment paragraphIcmsLayoutMedia on ParagraphIcmsLayoutMedia {
2
+ media: fieldIcmsMediaElements {
3
+ ...media
4
+ }
5
+ }
@@ -0,0 +1,83 @@
1
+ <template>
2
+ <DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
3
+ <div :class="rowClassList">
4
+ <div :class="columnClassList">
5
+ <DesignSystemMoleculesMediaSlider
6
+ v-if="media && media.length"
7
+ :media="media"
8
+ :colorScheme="colorScheme"
9
+ :showCaption="true"
10
+ :sliderClass="mediaSliderClassList"
11
+ :elementClass="mediaElementClassList"
12
+
13
+ />
14
+ </div>
15
+ </div>
16
+ </DesignSystemAtomsContainer>
17
+ </template>
18
+
19
+ <script lang="ts" setup>
20
+ import type { ParagraphIcmsLayoutTextMediaFragment } from '#graphql-operations'
21
+
22
+ defineProps<ParagraphIcmsLayoutTextMediaFragment>()
23
+
24
+ const { options, isEditing } = useAttrs().blokkliData
25
+
26
+ const mediaSliderClassList = computed(() => {
27
+ const classList = []
28
+ if (options.value.width !== 'full') {
29
+ classList.push('rounded-lg overflow-hidden')
30
+ }
31
+ return classList.join(' ')
32
+ })
33
+
34
+ const mediaElementClassList = computed(() => {
35
+ const classList = ['display-block', 'w-full h-auto']
36
+ if (options.value.width !== 'full') {
37
+ classList.push('rounded-lg overflow-hidden')
38
+ }
39
+ return classList.join(' ')
40
+ })
41
+
42
+ const colorScheme = computed(() => {
43
+ return options.value.colorScheme
44
+ })
45
+
46
+ const spacing = computed(() => {
47
+ return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
48
+ })
49
+
50
+ const rowClassList = computed(() => {
51
+ const classList = ['grid grid-cols-12 gap-6']
52
+ if (options.value.width === 'full') {
53
+ return classList
54
+ }
55
+ classList.push('container mx-auto')
56
+
57
+ return classList
58
+ })
59
+
60
+ const imageSizes = computed(() => {
61
+
62
+ if (options.value.width === 'full') {
63
+ return 'xs:100vw sm:100vw md:100vw lg:100vw'
64
+ }
65
+
66
+ if (options.value.width === 'page') {
67
+ return 'xs:100vw sm:100vw md:100vw lg:1280px'
68
+ }
69
+
70
+ return 'xs:100vw sm:100vw md:50vw lg:640px'
71
+ })
72
+
73
+ const columnClassList = computed(() => {
74
+ const classList = ['col-span-12']
75
+
76
+ if (options.value.width === 'narrow') {
77
+ classList.push('md:col-span-6 md:col-start-4')
78
+ }
79
+
80
+ return classList
81
+ })
82
+
83
+ </script>
@@ -0,0 +1,11 @@
1
+ fragment paragraphIcmsPartnershipElement on ParagraphIcmsPartnershipElement {
2
+ logo: fieldIcmsLogo {
3
+ ...media
4
+ }
5
+ link: fieldIcmsLink {
6
+ uri {
7
+ path
8
+ }
9
+ }
10
+ title: fieldIcmsLinkTitle
11
+ }
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <DesignSystemMoleculesPartnership
3
+ :logo="logo"
4
+ :link="link?.uri?.path"
5
+ :title="title"
6
+ />
7
+ </template>
8
+
9
+ <script lang="ts" setup>
10
+ import type { ParagraphIcmsPartnershipElementFragment } from '#graphql-operations'
11
+
12
+ defineProps<ParagraphIcmsPartnershipElementFragment>()
13
+
14
+ </script>
@@ -0,0 +1,17 @@
1
+ fragment paragraphIcmsLayoutPartnerships on ParagraphIcmsLayoutPartnerships {
2
+ pretitle: fieldIcmsPretitle
3
+ title: fieldIcmsTitle
4
+ titleWeight: fieldIcmsTitleWeight
5
+ textRows: fieldIcmsTextRows
6
+ image: fieldIcmsMediaElement {
7
+ ...media
8
+ }
9
+ overlayTitle: fieldIcmsPartnershipTitle
10
+ overlayText: fieldIcmsText
11
+ partnershipElements: fieldIcmsPartnershipElements {
12
+ ...paragraphsFieldItem
13
+ props {
14
+ ...paragraphIcmsPartnershipElement
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,119 @@
1
+ <template>
2
+ <DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
3
+ <DesignSystemAtomsGridRow class="md:pr-24">
4
+ <div class="col-span-12">
5
+ <DesignSystemAtomsGridRow
6
+ :class="partnershipsRow({ colorScheme })"
7
+ class=""
8
+ >
9
+ <div
10
+ class="col-span-12 p-8 pb-0 md:col-span-6 md:p-12 md:pr-0 lg:p-16 lg:pr-0"
11
+ >
12
+ <DesignSystemOrganismsContentBlock
13
+ :pretitle="pretitle"
14
+ :title="title"
15
+ :titleWeight="titleWeight"
16
+ :colorScheme="colorScheme"
17
+ />
18
+
19
+ <ul class="flex flex-col gap-4">
20
+ <li
21
+ v-for="(textRow, index) in textRows"
22
+ :key="index"
23
+ class="flex items-start gap-2"
24
+ >
25
+ <SpriteSymbol
26
+ name="chevron-right"
27
+ class="size-6 flex-shrink-0"
28
+ />
29
+ {{ textRow }}
30
+ </li>
31
+ </ul>
32
+ </div>
33
+
34
+ <div
35
+ class="col-span-12 p-8 pt-0 md:col-span-6 md:col-start-8 md:p-12 md:pl-5 lg:p-16 lg:pl-6"
36
+ >
37
+ <Media
38
+ v-if="image"
39
+ mediaClass="aspect-square w-full"
40
+ :media="image"
41
+ imageAspectRatios="1/1"
42
+ imageSizes="xs:100vw sm:100vw md:25vw lg:320px"
43
+ elementClass="size-full object-cover object-center rounded-lg"
44
+ />
45
+ </div>
46
+ </DesignSystemAtomsGridRow>
47
+
48
+ <DesignSystemAtomsGridRow
49
+ :class="partnershipsOffsetRow({ colorScheme })"
50
+ >
51
+ <div class="col-span-1 p-5 lg:p-8">
52
+ <DesignSystemOrganismsContentBlock
53
+ :pretitle="overlayTitle"
54
+ :text="overlayText"
55
+ :colorScheme="colorScheme"
56
+ />
57
+
58
+ <BlokkliField
59
+ v-if="partnershipElements"
60
+ name="field_icms_partnership_elements"
61
+ :list="partnershipElements"
62
+ class="mt-8 flex flex-wrap xl:flex-nowrap"
63
+ :class="{ droptarget: isEditing }"
64
+ />
65
+ </div>
66
+ </DesignSystemAtomsGridRow>
67
+ </div>
68
+ </DesignSystemAtomsGridRow>
69
+ </DesignSystemAtomsContainer>
70
+ </template>
71
+
72
+ <script lang="ts" setup>
73
+ import type { ParagraphIcmsLayoutPartnershipsFragment } from '#graphql-operations'
74
+ import { tv } from 'tailwind-variants'
75
+
76
+ defineProps<ParagraphIcmsLayoutPartnershipsFragment>()
77
+
78
+ const { options, isEditing } = useAttrs().blokkliData
79
+
80
+ const partnershipsRow = tv({
81
+ base: 'rounded-lg w-full shadow-custom p-0',
82
+ variants: {
83
+ colorScheme: {
84
+ none: 'bg-white',
85
+ dark: 'bg-gray-900',
86
+ light: 'bg-white',
87
+ accent: 'bg-primary-700',
88
+ },
89
+ },
90
+ defaultVariants: {
91
+ colorScheme: 'none',
92
+ },
93
+ })
94
+
95
+ const partnershipsOffsetRow = tv({
96
+ base: 'rounded-lg w-full shadow-custom p-0 max-w-[75%] md:max-w-[50%] md:-mr-12 -mt-40 sm:-mt-52 relative z-10 grid-cols-1',
97
+ variants: {
98
+ colorScheme: {
99
+ none: 'bg-white',
100
+ dark: 'bg-gray-900',
101
+ light: 'bg-white',
102
+ accent: 'bg-primary-700',
103
+ },
104
+ },
105
+ defaultVariants: {
106
+ colorScheme: 'none',
107
+ },
108
+ })
109
+
110
+ const colorScheme = computed(() => {
111
+ return options.value.colorScheme
112
+ })
113
+
114
+ const spacing = computed(() => {
115
+ return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
116
+ })
117
+
118
+ provide('colorScheme', colorScheme)
119
+ </script>
@@ -0,0 +1,24 @@
1
+ fragment paragraphIcmsLayoutTestimonial on ParagraphIcmsLayoutTestimonial {
2
+ pretitle: fieldIcmsPretitle
3
+ title: fieldIcmsTitle
4
+ titleWeight: fieldIcmsTitleWeight
5
+ titleStyle: fieldIcmsTitleStyle
6
+ subtitle: fieldIcmsSubtitle
7
+ media: fieldIcmsMediaElements {
8
+ ...media
9
+ }
10
+ text: fieldIcmsText
11
+ buttons: fieldIcmsButtons {
12
+ ...paragraphsFieldItem
13
+ props {
14
+ ...paragraphIcmsButtonElement
15
+ }
16
+ }
17
+ textplain: fieldIcmsTextPlain
18
+ logoelements: fieldIcmsLogoElements {
19
+ ...paragraphsFieldItem
20
+ props {
21
+ ...paragraphIcmsLogoElement
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,79 @@
1
+ <template>
2
+ <DesignSystemAtomsContainer :spacing="spacing" :colorScheme="colorScheme">
3
+ <DesignSystemAtomsGridRow>
4
+ <div class="col-span-12 md:col-span-5">
5
+ <DesignSystemOrganismsContentBlock
6
+ :pretitle="pretitle"
7
+ :title="title"
8
+ :subtitle="subtitle"
9
+ :titleWeight="titleWeight"
10
+ :titleStyle="titleStyle"
11
+ titleClass="mb-0"
12
+ :colorScheme="colorScheme"
13
+ />
14
+ </div>
15
+ <div class="col-span-12 flex items-end md:col-span-6 md:col-start-7">
16
+ <DesignSystemOrganismsContentBlock
17
+ :pretitle="textplain"
18
+ pretitleClass="mb-0"
19
+ />
20
+ </div>
21
+ <div class="col-span-12 md:col-span-5">
22
+ <DesignSystemOrganismsContentBlock
23
+ :subtitle="subtitle"
24
+ :text="text"
25
+ :media="media"
26
+ mediaClass="size-full rounded-lg overflow-hidden"
27
+ mediaSliderClass="mt-0 rounded-lg overflow-hidden"
28
+ :colorScheme="colorScheme"
29
+ />
30
+
31
+ <BlokkliField
32
+ name="field_icms_buttons"
33
+ :list="buttons"
34
+ class="mt-6 flex flex-wrap gap-6"
35
+ :class="[buttonAlignment, { droptarget: isEditing }]"
36
+ />
37
+ </div>
38
+ <div class="col-span-12 mt-4 md:col-span-6 md:col-start-7 md:mt-0">
39
+ <BlokkliField
40
+ name="field_icms_logo_elements"
41
+ :list="logoelements"
42
+ class="flex flex-wrap items-center gap-6"
43
+ :class="{ droptarget: isEditing }"
44
+ />
45
+ </div>
46
+ </DesignSystemAtomsGridRow>
47
+ </DesignSystemAtomsContainer>
48
+ </template>
49
+
50
+ <script lang="ts" setup>
51
+ import type { ParagraphIcmsLayoutTestimonialFragment } from '#graphql-operations'
52
+
53
+ defineProps<ParagraphIcmsLayoutTestimonialFragment>()
54
+
55
+ const { options, isEditing } = useAttrs().blokkliData
56
+
57
+ const spacing = computed(() => {
58
+ return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
59
+ })
60
+
61
+ const colorScheme = computed(() => {
62
+ return options.value.colorScheme
63
+ })
64
+
65
+ const buttonAlignment = computed(() => {
66
+ switch (options.value.buttonAlignment) {
67
+ case 'left':
68
+ return 'justify-start'
69
+ case 'center':
70
+ return 'justify-center'
71
+ case 'right':
72
+ return 'justify-end'
73
+ default:
74
+ return 'justify-start'
75
+ }
76
+ })
77
+
78
+ provide('colorScheme', colorScheme)
79
+ </script>
@@ -0,0 +1,11 @@
1
+ fragment paragraphIcmsLayoutTable on ParagraphIcmsLayoutTable {
2
+ pretitle: fieldIcmsPretitle
3
+ title: fieldIcmsTitle
4
+ titleWeight: fieldIcmsTitleWeight
5
+ titleStyle: fieldIcmsTitleStyle
6
+ subtitle: fieldIcmsSubtitle
7
+ text: fieldIcmsText
8
+ tableData: fieldIcmsTable {
9
+ value: value
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ <template>
2
+ <DesignSystemAtomsContainer :spacing="spacing" :colorScheme="colorScheme">
3
+ <DesignSystemAtomsGridRow>
4
+ <div class="col-span-12 md:col-span-6 lg:col-span-4">
5
+ <DesignSystemOrganismsContentBlock
6
+ :pretitle="pretitle"
7
+ :title="title"
8
+ :titleWeight="titleWeight"
9
+ :titleStyle="titleStyle"
10
+ titleClass="mb-0"
11
+ :subtitle="subtitle"
12
+ />
13
+ </div>
14
+ <div class="col-span-12 md:col-span-6 lg:col-start-7">
15
+ <DesignSystemOrganismsContentBlock :text="text" />
16
+ </div>
17
+ </DesignSystemAtomsGridRow>
18
+ <DesignSystemAtomsGridRow class="mt-10 md:mt-20">
19
+ <div class="relative col-span-12">
20
+ <DesignSystemMoleculesTable
21
+ :table-data="tableData"
22
+ :colorScheme="colorScheme"
23
+ />
24
+ </div>
25
+ </DesignSystemAtomsGridRow>
26
+ </DesignSystemAtomsContainer>
27
+ </template>
28
+
29
+ <script lang="ts" setup>
30
+ import type { ParagraphIcmsLayoutTableFragment } from '#graphql-operations'
31
+
32
+ defineProps<ParagraphIcmsLayoutTableFragment>()
33
+
34
+ const { options, parentType } = useAttrs().blokkliData
35
+
36
+ const spacing = computed(() => {
37
+ return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
38
+ })
39
+
40
+ const colorScheme = computed(() => {
41
+ return options.value.colorScheme
42
+ })
43
+ </script>
@@ -0,0 +1,17 @@
1
+ fragment paragraphIcmsTabElement on ParagraphIcmsTabElement {
2
+ tabTitle: fieldIcmsTabTitle
3
+ pretitle: fieldIcmsPretitle
4
+ title: fieldIcmsTitle
5
+ titleStyle: fieldIcmsTitleStyle
6
+ subtitle: fieldIcmsSubtitle
7
+ media: fieldIcmsMediaElements {
8
+ ...media
9
+ }
10
+ text: fieldIcmsText
11
+ buttons: fieldIcmsButtons {
12
+ ...paragraphsFieldItem
13
+ props {
14
+ ...paragraphIcmsButtonElement
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,78 @@
1
+ <template>
2
+ <div :class="[tabContent({ colorScheme }), { 'not-last:mb-10': isEditing }]">
3
+ <DesignSystemOrganismsContentBlock
4
+ :pretitle="pretitle"
5
+ :title="title"
6
+ :titleWeight="titleWeight"
7
+ :titleStyle="titleStyle"
8
+ :subtitle="subtitle"
9
+ :media="media"
10
+ mediaClass="size-full rounded-lg overflow-hidden"
11
+ mediaSliderClass="max-w-[500px] rounded-lg overflow-hidden"
12
+ :text="text"
13
+ :colorScheme="colorScheme"
14
+ />
15
+
16
+ <BlokkliField
17
+ name="field_icms_buttons"
18
+ :list="buttons"
19
+ class="mt-8 flex flex-wrap gap-6"
20
+ :class="[buttonAlignmentClass, { droptarget: isEditing }]"
21
+ />
22
+ </div>
23
+ </template>
24
+
25
+ <script lang="ts" setup>
26
+ import { tv } from 'tailwind-variants'
27
+
28
+ import type { ParagraphIcmsTabElementFragment } from '#graphql-operations'
29
+
30
+ defineProps<ParagraphIcmsTabElementFragment>()
31
+
32
+ const { options, isEditing } = defineBlokkli({
33
+ bundle: 'icms_tab_element',
34
+ })
35
+
36
+ const tabTrigger = tv({
37
+ base: 'inline-flex w-full flex-1 items-center justify-center whitespace-nowrap rounded-none rounded-t-lg py-4 text-base shadow-custom-inner transition-all disabled:pointer-events-none lg:w-fit data-[state=active]:shadow-none',
38
+ variants: {
39
+ colorScheme: {
40
+ none: 'bg-white dark:bg-white text-black dark:text-black data-[state=active]:bg-white dark:data-[state=active]:bg-white dark:data-[state=active]:text-black',
41
+ dark: 'bg-gray-700 dark:bg-gray-700 text-white dark:text-white data-[state=active]:bg-gray-900 dark:data-[state=active]:bg-gray-900 data-[state=active]:text-white',
42
+ light:
43
+ 'bg-white dark:bg-white text-black dark:text-black data-[state=active]:bg-white dark:data-[state=active]:bg-white dark:data-[state=active]:text-black',
44
+ accent:
45
+ 'bg-primary-600 dark:bg-primary-600 text-white dark:text-white data-[state=active]:bg-primary-700 dark:data-[state=active]:bg-primary-700 data-[state=active]:text-white',
46
+ },
47
+ },
48
+ })
49
+
50
+ const tabContent = tv({
51
+ base: 'm-0 rounded-b-lg p-8 text-black md:p-16',
52
+ variants: {
53
+ colorScheme: {
54
+ none: 'bg-white text-black',
55
+ dark: 'bg-gray-900 text-white',
56
+ light: 'bg-white text-black',
57
+ accent: 'bg-primary-700 text-white',
58
+ },
59
+ },
60
+ })
61
+
62
+ const colorScheme = inject<string>('colorScheme')
63
+ const buttonAlignment = inject<string>('buttonAlignment')
64
+ const titleWeight = inject<string>('childTitleWeight')
65
+
66
+ const buttonAlignmentClass = computed(() => {
67
+ switch (buttonAlignment?.value) {
68
+ case 'left':
69
+ return 'justify-start'
70
+ case 'center':
71
+ return 'justify-center'
72
+ case 'right':
73
+ return 'justify-end'
74
+ default:
75
+ return 'justify-start'
76
+ }
77
+ })
78
+ </script>
@@ -0,0 +1,11 @@
1
+ fragment paragraphIcmsLayoutTabs on ParagraphIcmsLayoutTabs {
2
+ title: fieldIcmsTitle
3
+ titleWeight: fieldIcmsTitleWeight
4
+ titleStyle: fieldIcmsTitleStyle
5
+ tabElements: fieldIcmsTabElements {
6
+ ...paragraphsFieldItem
7
+ props {
8
+ ...paragraphIcmsTabElement
9
+ }
10
+ }
11
+ }