@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.
- package/app.config.ts +1 -0
- package/app.vue +50 -0
- package/assets/css/backend.css +82 -0
- package/assets/css/ckeditor.css +15 -0
- package/assets/css/components/carousel.css +91 -0
- package/assets/css/components/ck-content.css +65 -0
- package/assets/css/components/container.css +17 -0
- package/assets/css/components/dialog.css +9 -0
- package/assets/css/components/grid-container.css +296 -0
- package/assets/css/components/link.css +21 -0
- package/assets/css/fe-fixes.css +105 -0
- package/assets/css/tailwind.css +104 -0
- package/assets/css/typography.css +67 -0
- package/assets/symbols/chevron-down.svg +1 -0
- package/assets/symbols/chevron-right.svg +3 -0
- package/assets/symbols/close.svg +3 -0
- package/assets/symbols/facebook.svg +3 -0
- package/assets/symbols/instagram.svg +13 -0
- package/assets/symbols/linkedin.svg +4 -0
- package/assets/symbols/logo.svg +22 -0
- package/assets/symbols/magnifyingglass.svg +4 -0
- package/assets/symbols/pinterest.svg +4 -0
- package/assets/symbols/play.svg +6 -0
- package/assets/symbols/tiktok.svg +4 -0
- package/assets/symbols/x.svg +4 -0
- package/bundles.ts +50 -0
- package/components/Blokkli/Button/Element/icon.svg +4 -0
- package/components/Blokkli/Button/Element/index.vue +18 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/CallToAction/icon.svg +5 -0
- package/components/Blokkli/CallToAction/index.vue +15 -0
- package/components/Blokkli/Card/Element/icon.svg +6 -0
- package/components/Blokkli/Card/Element/index.vue +14 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon.svg +8 -0
- package/components/Blokkli/Card/Layout/index.vue +15 -0
- package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Contact/icon.svg +5 -0
- package/components/Blokkli/Contact/index.vue +15 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Downloads/icon.svg +5 -0
- package/components/Blokkli/Downloads/index.vue +16 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-large-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-small-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon.svg +3 -0
- package/components/Blokkli/FAQ/Element/index.vue +14 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon.svg +5 -0
- package/components/Blokkli/FAQ/Layout/index.vue +20 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon.svg +7 -0
- package/components/Blokkli/FlipTeasers/index.vue +15 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Gallery/icon.svg +5 -0
- package/components/Blokkli/Gallery/index.vue +16 -0
- package/components/Blokkli/HeroImage/icon.svg +5 -0
- package/components/Blokkli/HeroImage/index.vue +15 -0
- package/components/Blokkli/IconText/Element/icon.svg +5 -0
- package/components/Blokkli/IconText/Element/index.vue +14 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon.svg +7 -0
- package/components/Blokkli/IconText/Layout/index.vue +20 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Introduction/icon.svg +5 -0
- package/components/Blokkli/Introduction/index.vue +20 -0
- package/components/Blokkli/Logo/Element/icon.svg +6 -0
- package/components/Blokkli/Logo/Element/index.vue +14 -0
- package/components/Blokkli/Media/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Media/icon.svg +8 -0
- package/components/Blokkli/Media/index.vue +15 -0
- package/components/Blokkli/Partnerships/Element/icon.svg +3 -0
- package/components/Blokkli/Partnerships/Element/index.vue +13 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon.svg +5 -0
- package/components/Blokkli/Partnerships/Layout/index.vue +15 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon.svg +5 -0
- package/components/Blokkli/SingleTestimonial/index.vue +20 -0
- package/components/Blokkli/Table/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Table/icon.svg +5 -0
- package/components/Blokkli/Table/index.vue +15 -0
- package/components/Blokkli/Tabs/Element/icon.svg +3 -0
- package/components/Blokkli/Tabs/Element/index.vue +14 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon.svg +5 -0
- package/components/Blokkli/Tabs/Layout/index.vue +20 -0
- package/components/Blokkli/Team/Element/icon.svg +3 -0
- package/components/Blokkli/Team/Element/index.vue +14 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Team/Layout/icon.svg +5 -0
- package/components/Blokkli/Team/Layout/index.vue +15 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Teasers/icon.svg +6 -0
- package/components/Blokkli/Teasers/index.vue +15 -0
- package/components/Blokkli/Testimonial/Element/icon.svg +3 -0
- package/components/Blokkli/Testimonial/Element/index.vue +14 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon.svg +5 -0
- package/components/Blokkli/Testimonial/Layout/index.vue +15 -0
- package/components/Blokkli/Text/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Text/icon.svg +7 -0
- package/components/Blokkli/Text/index.vue +21 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/TextMedia/icon.svg +5 -0
- package/components/Blokkli/TextMedia/index.vue +22 -0
- package/components/Blokkli/TwoColumnText/Element/icon.svg +8 -0
- package/components/Blokkli/TwoColumnText/Element/index.vue +15 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon.svg +10 -0
- package/components/Blokkli/TwoColumnText/Layout/index.vue +18 -0
- package/components/Blokkli/iFrame/Element/icon.svg +5 -0
- package/components/Blokkli/iFrame/Element/index.vue +14 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon.svg +7 -0
- package/components/Blokkli/iFrame/Layout/index.vue +18 -0
- package/components/DesignSystem/Atoms/Button.vue +144 -0
- package/components/DesignSystem/Atoms/Container.vue +54 -0
- package/components/DesignSystem/Atoms/GridRow.vue +13 -0
- package/components/DesignSystem/Molecules/ButtonGroup.vue +45 -0
- package/components/DesignSystem/Molecules/Card.vue +70 -0
- package/components/DesignSystem/Molecules/IconText.vue +62 -0
- package/components/DesignSystem/Molecules/MediaSlider.vue +72 -0
- package/components/DesignSystem/Molecules/Partnership.vue +40 -0
- package/components/DesignSystem/Molecules/Table.vue +170 -0
- package/components/DesignSystem/Molecules/TitleComposition.vue +66 -0
- package/components/DesignSystem/Molecules/iFrame.vue +22 -0
- package/components/DesignSystem/Organisms/ContentBlock.vue +82 -0
- package/components/DesignSystem/Organisms/FlipTeaser.vue +160 -0
- package/components/DesignSystem/Organisms/LogoElement.vue +37 -0
- package/components/DesignSystem/Organisms/TeamElement.vue +89 -0
- package/components/DesignSystem/Organisms/TeaserCard.vue +74 -0
- package/components/DesignSystem/Organisms/Testimonial.vue +53 -0
- package/components/DesignSystem/Organisms/TwoColumnTextElement.vue +42 -0
- package/components/Drupal/Breadcrumb/fragment.breadcrumb.graphql +6 -0
- package/components/Drupal/Breadcrumb/index.vue +88 -0
- package/components/Drupal/Messages/index.vue +29 -0
- package/components/Drupal/Webform/fragment.graphql +86 -0
- package/components/Drupal/Webform/index.vue +174 -0
- package/components/Drupal/Webform/mutation.graphql +8 -0
- package/components/Drupal/Webform/query.graphql +21 -0
- package/components/Form/CheckboxInput.vue +35 -0
- package/components/Form/CheckboxInputs.vue +44 -0
- package/components/Form/FileUploadInput.vue +34 -0
- package/components/Form/RadioButtonsInput.vue +44 -0
- package/components/Form/SelectInput.vue +54 -0
- package/components/Form/SubmitButton.vue +12 -0
- package/components/Form/TextAreaInput.vue +34 -0
- package/components/Form/TextEmailInput.vue +35 -0
- package/components/Form/TextInput.vue +35 -0
- package/components/Form/TextPhoneInput.vue +35 -0
- package/components/Form/WebformMarkup.vue +9 -0
- package/components/Form/composables/useFormElement.ts +84 -0
- package/components/Form/utils/types.ts +64 -0
- package/components/Media/Icon/fragment.mediaIcon.graphql +9 -0
- package/components/Media/Icon/index.vue +16 -0
- package/components/Media/Image/fragment.graphql +11 -0
- package/components/Media/Image/index.vue +215 -0
- package/components/Media/RemoteVideo/fragment.graphql +27 -0
- package/components/Media/RemoteVideo/index.vue +58 -0
- package/components/Media/Video/fragment.graphql +17 -0
- package/components/Media/Video/index.vue +44 -0
- package/components/Media/fragment.graphql +8 -0
- package/components/Media/index.vue +33 -0
- package/components/Node/Icms/Page/fragment.graphql +17 -0
- package/components/Node/Icms/Page/index.vue +14 -0
- package/components/Paragraph/Button/Element/fragment.graphql +14 -0
- package/components/Paragraph/Button/Element/index.vue +23 -0
- package/components/Paragraph/CallToAction/fragment.graphql +12 -0
- package/components/Paragraph/CallToAction/index.vue +60 -0
- package/components/Paragraph/Card/Element/fragment.graphql +10 -0
- package/components/Paragraph/Card/Element/index.vue +19 -0
- package/components/Paragraph/Card/Layout/fragment.graphql +14 -0
- package/components/Paragraph/Card/Layout/index.vue +58 -0
- package/components/Paragraph/Contact/fragment.graphql +20 -0
- package/components/Paragraph/Contact/index.vue +60 -0
- package/components/Paragraph/Downloads/fragment.graphql +15 -0
- package/components/Paragraph/Downloads/index.vue +104 -0
- package/components/Paragraph/FAQ/Element/fragment.graphql +10 -0
- package/components/Paragraph/FAQ/Element/index.vue +66 -0
- package/components/Paragraph/FAQ/Layout/fragment.graphql +23 -0
- package/components/Paragraph/FAQ/Layout/index.vue +84 -0
- package/components/Paragraph/FlipTeasers/fragment.graphql +25 -0
- package/components/Paragraph/FlipTeasers/index.vue +59 -0
- package/components/Paragraph/Gallery/fragment.graphql +11 -0
- package/components/Paragraph/Gallery/index.vue +223 -0
- package/components/Paragraph/HeroImage/fragment.graphql +17 -0
- package/components/Paragraph/HeroImage/index.vue +147 -0
- package/components/Paragraph/IconText/Element/fragment.graphql +8 -0
- package/components/Paragraph/IconText/Element/index.vue +18 -0
- package/components/Paragraph/IconText/Layout/fragment.graphql +23 -0
- package/components/Paragraph/IconText/Layout/index.vue +76 -0
- package/components/Paragraph/Introduction/fragment.graphql +20 -0
- package/components/Paragraph/Introduction/index.vue +94 -0
- package/components/Paragraph/Logo/Element/fragment.graphql +11 -0
- package/components/Paragraph/Logo/Element/index.vue +17 -0
- package/components/Paragraph/Media/fragment.graphql +5 -0
- package/components/Paragraph/Media/index.vue +83 -0
- package/components/Paragraph/Partnerships/Element/fragment.graphql +11 -0
- package/components/Paragraph/Partnerships/Element/index.vue +14 -0
- package/components/Paragraph/Partnerships/Layout/fragment.graphql +17 -0
- package/components/Paragraph/Partnerships/Layout/index.vue +119 -0
- package/components/Paragraph/SingleTestimonial/fragment.graphql +24 -0
- package/components/Paragraph/SingleTestimonial/index.vue +79 -0
- package/components/Paragraph/Table/fragment.graphql +11 -0
- package/components/Paragraph/Table/index.vue +43 -0
- package/components/Paragraph/Tabs/Element/fragment.graphql +17 -0
- package/components/Paragraph/Tabs/Element/index.vue +78 -0
- package/components/Paragraph/Tabs/Layout/fragment.graphql +11 -0
- package/components/Paragraph/Tabs/Layout/index.vue +191 -0
- package/components/Paragraph/Team/Element/fragment.graphql +17 -0
- package/components/Paragraph/Team/Element/index.vue +23 -0
- package/components/Paragraph/Team/Layout/fragment.graphql +14 -0
- package/components/Paragraph/Team/Layout/index.vue +51 -0
- package/components/Paragraph/Teasers/fragment.graphql +25 -0
- package/components/Paragraph/Teasers/index.vue +58 -0
- package/components/Paragraph/Testimonial/Element/fragment.graphql +13 -0
- package/components/Paragraph/Testimonial/Element/index.vue +29 -0
- package/components/Paragraph/Testimonial/Layout/fragment.graphql +13 -0
- package/components/Paragraph/Testimonial/Layout/index.vue +109 -0
- package/components/Paragraph/Text/fragment.graphql +14 -0
- package/components/Paragraph/Text/index.vue +66 -0
- package/components/Paragraph/TextMedia/fragment.graphql +17 -0
- package/components/Paragraph/TextMedia/index.vue +125 -0
- package/components/Paragraph/TwoColumnText/Element/fragment.graphql +8 -0
- package/components/Paragraph/TwoColumnText/Element/index.vue +31 -0
- package/components/Paragraph/TwoColumnText/Layout/fragment.graphql +8 -0
- package/components/Paragraph/TwoColumnText/Layout/index.vue +25 -0
- package/components/Paragraph/fragment.paragraphsFieldItem.graphql +6 -0
- package/components/Paragraph/iFrame/Element/fragment.graphql +9 -0
- package/components/Paragraph/iFrame/Element/index.vue +16 -0
- package/components/Paragraph/iFrame/Layout/fragment.graphql +13 -0
- package/components/Paragraph/iFrame/Layout/index.vue +161 -0
- package/components/Section/Footer/index.vue +144 -0
- package/components/Section/Header/GlobalMenu.vue +337 -0
- package/components/Section/Header/LanguageDropdown.vue +105 -0
- package/components/Section/Header/MenuIcon.vue +171 -0
- package/components/Section/Header/MetaMenu.vue +57 -0
- package/components/Section/Header/SearchLink.vue +26 -0
- package/components/Section/Header/index.vue +205 -0
- package/components/ui/accordion/Accordion.vue +19 -0
- package/components/ui/accordion/AccordionContent.vue +26 -0
- package/components/ui/accordion/AccordionItem.vue +27 -0
- package/components/ui/accordion/AccordionTrigger.vue +41 -0
- package/components/ui/accordion/index.ts +4 -0
- package/components/ui/button/Button.vue +26 -0
- package/components/ui/button/index.ts +36 -0
- package/components/ui/carousel/Carousel.vue +72 -0
- package/components/ui/carousel/CarouselContent.vue +30 -0
- package/components/ui/carousel/CarouselItem.vue +25 -0
- package/components/ui/carousel/CarouselNext.vue +33 -0
- package/components/ui/carousel/CarouselPrevious.vue +33 -0
- package/components/ui/carousel/index.ts +8 -0
- package/components/ui/carousel/interface.ts +24 -0
- package/components/ui/carousel/useCarousel.ts +66 -0
- package/components/ui/checkbox/Checkbox.vue +34 -0
- package/components/ui/checkbox/index.ts +1 -0
- package/components/ui/dialog/Dialog.vue +19 -0
- package/components/ui/dialog/DialogClose.vue +11 -0
- package/components/ui/dialog/DialogContent.vue +53 -0
- package/components/ui/dialog/DialogDescription.vue +30 -0
- package/components/ui/dialog/DialogFooter.vue +19 -0
- package/components/ui/dialog/DialogHeader.vue +16 -0
- package/components/ui/dialog/DialogScrollContent.vue +66 -0
- package/components/ui/dialog/DialogTitle.vue +28 -0
- package/components/ui/dialog/DialogTrigger.vue +11 -0
- package/components/ui/dialog/index.ts +9 -0
- package/components/ui/input/Input.vue +24 -0
- package/components/ui/input/index.ts +1 -0
- package/components/ui/label/Label.vue +29 -0
- package/components/ui/label/index.ts +1 -0
- package/components/ui/radio-group/RadioGroup.vue +27 -0
- package/components/ui/radio-group/RadioGroupItem.vue +41 -0
- package/components/ui/radio-group/index.ts +2 -0
- package/components/ui/select/Select.vue +15 -0
- package/components/ui/select/SelectContent.vue +54 -0
- package/components/ui/select/SelectGroup.vue +21 -0
- package/components/ui/select/SelectItem.vue +46 -0
- package/components/ui/select/SelectItemText.vue +12 -0
- package/components/ui/select/SelectLabel.vue +14 -0
- package/components/ui/select/SelectScrollDownButton.vue +26 -0
- package/components/ui/select/SelectScrollUpButton.vue +26 -0
- package/components/ui/select/SelectSeparator.vue +19 -0
- package/components/ui/select/SelectTrigger.vue +33 -0
- package/components/ui/select/SelectValue.vue +12 -0
- package/components/ui/select/index.ts +11 -0
- package/components/ui/tabs/Tabs.vue +15 -0
- package/components/ui/tabs/TabsContent.vue +29 -0
- package/components/ui/tabs/TabsList.vue +27 -0
- package/components/ui/tabs/TabsTrigger.vue +33 -0
- package/components/ui/tabs/index.ts +4 -0
- package/components/ui/textarea/Textarea.vue +24 -0
- package/components/ui/textarea/index.ts +1 -0
- package/components.json +18 -0
- package/composables/breadcrumb.ts +42 -0
- package/composables/languageLinks.ts +31 -0
- package/composables/query.initData.graphql +102 -0
- package/composables/useAccordionScroll.ts +30 -0
- package/composables/useChildTitleWeight.ts +13 -0
- package/composables/useCn.ts +7 -0
- package/composables/useCurrentLangcodeEnum.ts +18 -0
- package/composables/useDrupalMessages.ts +41 -0
- package/composables/useDrupalUser.ts +11 -0
- package/composables/useInitData.ts +118 -0
- package/composables/useIsMobile.ts +14 -0
- package/composables/useMainMenuLinks.ts +69 -0
- package/composables/useMetaMenuLinks.ts +44 -0
- package/composables/useNavigationOffset.ts +14 -0
- package/config/graphqlMiddleware/index.ts +41 -0
- package/config/multiCache/index.ts +28 -0
- package/config/postcss-drupal/postcss.config.cjs +14 -0
- package/config/runtimeConfig.ts +12 -0
- package/error.vue +39 -0
- package/eslint.config.mjs +111 -0
- package/formkit.config.ts +56 -0
- package/formkit.theme.ts +5000 -0
- package/layouts/default.vue +66 -0
- package/layouts/error.vue +98 -0
- package/layouts/library.vue +5 -0
- package/modules/dynamicNodeResolver.ts +95 -0
- package/modules/dynamicParagraphResolver.ts +69 -0
- package/nuxt.config.ts +551 -0
- package/package.json +64 -0
- package/pages/[...slug]/index.vue +27 -0
- package/pages/__tests__/index.ts +77 -0
- package/pages/blokkli/library-item/[uuid].vue +52 -0
- package/pages/blokkli/library-item/query.library.graphql +21 -0
- package/pages/index.vue +27 -0
- package/pages/node/[nid]/index.vue +25 -0
- package/pages/search/index.vue +69 -0
- package/pages/static-page/example.vue +40 -0
- package/plugins/clickaway.ts +12 -0
- package/plugins/drupalUser.ts +33 -0
- package/plugins/graphqlMiddleware.ts +115 -0
- package/queries/blokkli.graphql +5 -0
- package/queries/fragment.blokkliProps.graphql +8 -0
- package/queries/fragment.routeQuery.graphql +51 -0
- package/queries/query.drupalUser.graphql +10 -0
- package/server/api/content-search/index.ts +160 -0
- package/server/api/icon/[...params].ts +199 -0
- package/server/graphqlMiddleware.serverOptions.ts +87 -0
- package/server/helpers/index.ts +32 -0
- package/server/helpers/request.ts +44 -0
- package/server/middleware/spa.ts +45 -0
- package/server/multiCache.serverOptions.ts +32 -0
- package/server/tsconfig.json +3 -0
- package/server/utils/cacheability.ts +138 -0
- package/shims-vue.d.ts +5 -0
- package/tailwind.config.ts +228 -0
- package/vitest.config.mts +28 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component :is="mediaComponentMap[mediaType]" v-bind="props" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script lang="ts" setup>
|
|
6
|
+
|
|
7
|
+
import { MediaIcon, MediaImage, MediaRemoteVideo, MediaVideo } from '#components';
|
|
8
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
9
|
+
|
|
10
|
+
const mediaComponentMap = {
|
|
11
|
+
'MediaImage': MediaImage,
|
|
12
|
+
'MediaVideo': MediaVideo,
|
|
13
|
+
'MediaRemoteVideo': MediaRemoteVideo,
|
|
14
|
+
'MediaIcon': MediaIcon,
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type MediaType = keyof typeof mediaComponentMap;
|
|
18
|
+
const mediaType = computed<MediaType>(() => {
|
|
19
|
+
return props.media?.type as MediaType;
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const props = defineProps<{
|
|
23
|
+
media: MediaFragment
|
|
24
|
+
mediaClass?: string
|
|
25
|
+
figcaptionClass?: string
|
|
26
|
+
showCaption?: boolean
|
|
27
|
+
imageAspectRatios?: string
|
|
28
|
+
imageSizes?: string
|
|
29
|
+
imageLoading?: "lazy" | "eager" | undefined
|
|
30
|
+
elementClass?: string
|
|
31
|
+
}>()
|
|
32
|
+
|
|
33
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BlokkliProvider v-slot="{ entity }" v-bind="blokkliProps" :entity="props">
|
|
3
|
+
<BlokkliField :list="paragraphs" name="field_icms_paragraphs" />
|
|
4
|
+
</BlokkliProvider>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script lang="ts" setup>
|
|
8
|
+
import type { NodeIcmsPageFragment } from '#graphql-operations'
|
|
9
|
+
|
|
10
|
+
const props = defineProps<NodeIcmsPageFragment>()
|
|
11
|
+
|
|
12
|
+
// Pass the topics of the article to the context, to be used in Layouts
|
|
13
|
+
provide('topics', props.topics)
|
|
14
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fragment paragraphIcmsButtonElement on ParagraphIcmsButtonElement {
|
|
2
|
+
label: fieldIcmsLinkLabel
|
|
3
|
+
subline: fieldIcmsLinkSubline
|
|
4
|
+
title: fieldIcmsLinkTitle
|
|
5
|
+
link: fieldIcmsLink {
|
|
6
|
+
uri {
|
|
7
|
+
path
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
params: fieldIcmsLinkParams
|
|
11
|
+
buttonStyle: fieldIcmsLinkStyle
|
|
12
|
+
targetBlank: fieldIcmsLinkTargetBlank
|
|
13
|
+
textAlignment: fieldIcmsTextAlignment
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="w-full md:w-auto">
|
|
3
|
+
<DesignSystemAtomsButton
|
|
4
|
+
:label="label"
|
|
5
|
+
:subline="subline"
|
|
6
|
+
:title="title"
|
|
7
|
+
:link="link?.uri?.path"
|
|
8
|
+
:params="params"
|
|
9
|
+
:target-blank="targetBlank"
|
|
10
|
+
:style="buttonStyle"
|
|
11
|
+
:textAlignment="textAlignment"
|
|
12
|
+
:colorScheme="colorScheme"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script lang="ts" setup>
|
|
18
|
+
import type { ParagraphIcmsButtonElementFragment } from '#graphql-operations'
|
|
19
|
+
|
|
20
|
+
defineProps<ParagraphIcmsButtonElementFragment>()
|
|
21
|
+
|
|
22
|
+
const colorScheme = inject<string>('colorScheme')
|
|
23
|
+
</script>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutCallToAction on ParagraphIcmsLayoutCallToAction {
|
|
2
|
+
image: fieldIcmsMediaElement {
|
|
3
|
+
...media
|
|
4
|
+
}
|
|
5
|
+
text: fieldIcmsText
|
|
6
|
+
buttons: fieldIcmsButtons {
|
|
7
|
+
...paragraphsFieldItem
|
|
8
|
+
props {
|
|
9
|
+
...paragraphIcmsButtonElement
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer
|
|
3
|
+
:colorScheme="colorScheme"
|
|
4
|
+
:spacing="{ top: 'none', bottom: 'none' }"
|
|
5
|
+
:class="containerClassList"
|
|
6
|
+
>
|
|
7
|
+
<DesignSystemAtomsGridRow class="pb-14 md:pb-0">
|
|
8
|
+
<div class="col-span-12 flex justify-center md:col-span-12 xl:col-span-3">
|
|
9
|
+
<Media
|
|
10
|
+
v-if="image"
|
|
11
|
+
:media="image"
|
|
12
|
+
imageSizes="xs:60px xl:320px"
|
|
13
|
+
imageAspectRatios="1/1"
|
|
14
|
+
mediaClass="-mt-12 -40 xl:w-full"
|
|
15
|
+
elementClass="size-full object-cover object-center aspect-square rounded-lg xl:rounded-none xl:rounded-t-lg"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-span-12 flex items-center md:col-span-9 xl:col-span-6">
|
|
19
|
+
<div
|
|
20
|
+
v-if="text"
|
|
21
|
+
class="ck-content py-8 text-lg md:pr-8 xl:p-8 xl:text-2xl"
|
|
22
|
+
v-html="text"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
<BlokkliField
|
|
26
|
+
name="field_icms_buttons"
|
|
27
|
+
:list="buttons"
|
|
28
|
+
class="col-span-12 flex items-center md:col-span-3 xl:col-span-3"
|
|
29
|
+
:class="{ droptarget: isEditing }"
|
|
30
|
+
/>
|
|
31
|
+
</DesignSystemAtomsGridRow>
|
|
32
|
+
</DesignSystemAtomsContainer>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script lang="ts" setup>
|
|
36
|
+
import type { ParagraphIcmsLayoutCallToActionFragment } from '#graphql-operations'
|
|
37
|
+
|
|
38
|
+
defineProps<ParagraphIcmsLayoutCallToActionFragment>()
|
|
39
|
+
|
|
40
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
41
|
+
|
|
42
|
+
const colorScheme = computed(() => {
|
|
43
|
+
return options.value.colorScheme
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
const containerClassList = computed(() => {
|
|
47
|
+
const classList = []
|
|
48
|
+
|
|
49
|
+
if (options.value.spacingTop == 'small') {
|
|
50
|
+
classList.push('mt-16')
|
|
51
|
+
}
|
|
52
|
+
if (options.value.spacingTop == 'large') {
|
|
53
|
+
classList.push('mt-32')
|
|
54
|
+
}
|
|
55
|
+
return classList.join(' ')
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
provide('colorScheme', colorScheme)
|
|
59
|
+
provide('prefetch', true)
|
|
60
|
+
</script>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemMoleculesCard
|
|
3
|
+
:title="title"
|
|
4
|
+
:titleWeight="titleWeight"
|
|
5
|
+
:text="text"
|
|
6
|
+
:image="image"
|
|
7
|
+
:icon="icon"
|
|
8
|
+
:colorScheme="colorScheme"
|
|
9
|
+
/>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script lang="ts" setup>
|
|
13
|
+
import type { ParagraphIcmsCardElementFragment } from '#graphql-operations'
|
|
14
|
+
|
|
15
|
+
defineProps<ParagraphIcmsCardElementFragment>()
|
|
16
|
+
|
|
17
|
+
const colorScheme = inject<string>('colorScheme')
|
|
18
|
+
const titleWeight = inject<string>('titleWeight')
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutCards on ParagraphIcmsLayoutCards {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
subtitle: fieldIcmsSubtitle
|
|
5
|
+
titleWeight: fieldIcmsTitleWeight
|
|
6
|
+
titleStyle: fieldIcmsTitleStyle
|
|
7
|
+
text: fieldIcmsText
|
|
8
|
+
cards: fieldIcmsCardElements {
|
|
9
|
+
...paragraphsFieldItem
|
|
10
|
+
props {
|
|
11
|
+
...paragraphIcmsCardElement
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow v-if="pretitle || title">
|
|
4
|
+
<div class="col-span-12 md:col-span-4">
|
|
5
|
+
<DesignSystemOrganismsContentBlock
|
|
6
|
+
:pretitle="pretitle"
|
|
7
|
+
:title="title"
|
|
8
|
+
:titleWeight="titleWeight"
|
|
9
|
+
:titleStyle="titleStyle"
|
|
10
|
+
titleClass="mb-0"
|
|
11
|
+
:colorScheme="colorScheme"
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-span-12 md:col-span-6 md:col-start-7">
|
|
15
|
+
<DesignSystemOrganismsContentBlock
|
|
16
|
+
:subtitle="subtitle"
|
|
17
|
+
:text="text"
|
|
18
|
+
:titleWeight="titleWeight"
|
|
19
|
+
:titleStyle="titleStyle"
|
|
20
|
+
:colorScheme="colorScheme"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
</DesignSystemAtomsGridRow>
|
|
24
|
+
|
|
25
|
+
<BlokkliField
|
|
26
|
+
name="field_icms_card_elements"
|
|
27
|
+
:list="cards"
|
|
28
|
+
class="container mx-auto grid gap-x-6 gap-y-20"
|
|
29
|
+
:class="[
|
|
30
|
+
'grid-3-col',
|
|
31
|
+
{ droptarget: isEditing },
|
|
32
|
+
{ 'mt-10 md:mt-20': pretitle || title },
|
|
33
|
+
]"
|
|
34
|
+
/>
|
|
35
|
+
</DesignSystemAtomsContainer>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script lang="ts" setup>
|
|
39
|
+
import type { ParagraphIcmsLayoutCardsFragment } from '#graphql-operations'
|
|
40
|
+
|
|
41
|
+
const props = defineProps<ParagraphIcmsLayoutCardsFragment>()
|
|
42
|
+
|
|
43
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
44
|
+
|
|
45
|
+
const colorScheme = computed(() => {
|
|
46
|
+
return options.value.colorScheme
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
const spacing = computed(() => {
|
|
50
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
const childTitleWeight = useChildTitleWeight(props.titleWeight ?? '')
|
|
54
|
+
|
|
55
|
+
provide('colorScheme', colorScheme)
|
|
56
|
+
provide('isEditing', isEditing)
|
|
57
|
+
provide('titleWeight', childTitleWeight)
|
|
58
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutContact on ParagraphIcmsLayoutContact {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
subtitle: fieldIcmsSubtitle
|
|
5
|
+
titleWeight: fieldIcmsTitleWeight
|
|
6
|
+
titleStyle: fieldIcmsTitleStyle
|
|
7
|
+
text: fieldIcmsText
|
|
8
|
+
buttons: fieldIcmsButtons {
|
|
9
|
+
...paragraphsFieldItem
|
|
10
|
+
props {
|
|
11
|
+
...paragraphIcmsButtonElement
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
media: fieldIcmsMediaElements {
|
|
15
|
+
...media
|
|
16
|
+
}
|
|
17
|
+
contactWebform: fieldIcmsWebform {
|
|
18
|
+
id
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
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 md:col-span-7"></div>
|
|
16
|
+
<div class="col-span-12 md:col-span-5">
|
|
17
|
+
<DesignSystemOrganismsContentBlock
|
|
18
|
+
:subtitle="subtitle"
|
|
19
|
+
:text="text"
|
|
20
|
+
:media="media"
|
|
21
|
+
mediaClass="size-full rounded-lg overflow-hidden"
|
|
22
|
+
mediaSliderClass="mt-0 rounded-lg overflow-hidden"
|
|
23
|
+
:colorScheme="colorScheme"
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<BlokkliField
|
|
27
|
+
name="field_icms_buttons"
|
|
28
|
+
:list="buttons"
|
|
29
|
+
class="mt-6 flex flex-wrap gap-6"
|
|
30
|
+
:class="{ droptarget: isEditing }"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-span-12 md:col-span-6 md:col-start-7">
|
|
34
|
+
<DrupalWebform
|
|
35
|
+
v-if="contactWebform?.id"
|
|
36
|
+
:form-id="contactWebform?.id"
|
|
37
|
+
class="mt-4 md:mt-0"
|
|
38
|
+
/>
|
|
39
|
+
</div>
|
|
40
|
+
</DesignSystemAtomsGridRow>
|
|
41
|
+
</DesignSystemAtomsContainer>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script lang="ts" setup>
|
|
45
|
+
import type { ParagraphIcmsLayoutContactFragment } from '#graphql-operations'
|
|
46
|
+
|
|
47
|
+
defineProps<ParagraphIcmsLayoutContactFragment>()
|
|
48
|
+
|
|
49
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
50
|
+
|
|
51
|
+
const colorScheme = computed(() => {
|
|
52
|
+
return options.value.colorScheme
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
const spacing = computed(() => {
|
|
56
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
57
|
+
})
|
|
58
|
+
|
|
59
|
+
provide('colorScheme', colorScheme)
|
|
60
|
+
</script>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutDownloads on ParagraphIcmsLayoutDownloads {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
titleWeight: fieldIcmsTitleWeight
|
|
5
|
+
text: fieldIcmsText
|
|
6
|
+
media: fieldIcmsMediaElements {
|
|
7
|
+
...media
|
|
8
|
+
}
|
|
9
|
+
documents: fieldIcmsDocuments {
|
|
10
|
+
name
|
|
11
|
+
mediaFileUrl {
|
|
12
|
+
path
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow>
|
|
4
|
+
<div class="col-span-12 md:col-span-5">
|
|
5
|
+
<DesignSystemOrganismsContentBlock
|
|
6
|
+
:pretitle="pretitle"
|
|
7
|
+
:title="title"
|
|
8
|
+
:titleWeight="titleWeight"
|
|
9
|
+
titleClass="mb-0"
|
|
10
|
+
:colorScheme="colorScheme"
|
|
11
|
+
/>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-span-12 md:col-span-7"></div>
|
|
14
|
+
<div class="col-span-12 md:col-span-5">
|
|
15
|
+
<DesignSystemOrganismsContentBlock
|
|
16
|
+
:media="media"
|
|
17
|
+
mediaClass="size-full rounded-lg overflow-hidden"
|
|
18
|
+
mediaSliderClass="mt-0 rounded-lg overflow-hidden"
|
|
19
|
+
:text="text"
|
|
20
|
+
:colorScheme="colorScheme"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-span-12 md:order-last md:col-span-7 md:col-start-7">
|
|
24
|
+
<div v-if="documents && documents.length">
|
|
25
|
+
<div v-for="(document, index) in documents" :key="index">
|
|
26
|
+
<a
|
|
27
|
+
:href="document.mediaFileUrl?.path"
|
|
28
|
+
target="_blank"
|
|
29
|
+
rel="noopener noreferrer"
|
|
30
|
+
:class="download({ colorScheme })"
|
|
31
|
+
>
|
|
32
|
+
<div :class="downloadIcon({ colorScheme })">
|
|
33
|
+
<svg
|
|
34
|
+
class="size-5"
|
|
35
|
+
width="auto"
|
|
36
|
+
height="auto"
|
|
37
|
+
viewBox="0 0 16 18"
|
|
38
|
+
fill="none"
|
|
39
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
+
>
|
|
41
|
+
<path
|
|
42
|
+
d="M9.66634 0.666656V3.99999C9.66634 4.44202 9.84194 4.86594 10.1545 5.1785C10.4671 5.49106 10.891 5.66666 11.333 5.66666H14.6663M10.4997 0.666656H2.99967C2.55765 0.666656 2.13372 0.842251 1.82116 1.15481C1.5086 1.46737 1.33301 1.8913 1.33301 2.33332V15.6667C1.33301 16.1087 1.5086 16.5326 1.82116 16.8452C2.13372 17.1577 2.55765 17.3333 2.99967 17.3333H12.9997C13.4417 17.3333 13.8656 17.1577 14.1782 16.8452C14.4907 16.5326 14.6663 16.1087 14.6663 15.6667V4.83332L10.4997 0.666656Z"
|
|
43
|
+
stroke="currentColor"
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</svg>
|
|
48
|
+
</div>
|
|
49
|
+
<DesignSystemOrganismsContentBlock :text="document.name" />
|
|
50
|
+
</a>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</DesignSystemAtomsGridRow>
|
|
55
|
+
</DesignSystemAtomsContainer>
|
|
56
|
+
</template>
|
|
57
|
+
|
|
58
|
+
<script lang="ts" setup>
|
|
59
|
+
import { tv } from 'tailwind-variants'
|
|
60
|
+
import type { ParagraphIcmsLayoutDownloadsFragment } from '#graphql-operations'
|
|
61
|
+
|
|
62
|
+
defineProps<ParagraphIcmsLayoutDownloadsFragment>()
|
|
63
|
+
|
|
64
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
65
|
+
|
|
66
|
+
const colorScheme = computed(() => options.value.colorScheme)
|
|
67
|
+
|
|
68
|
+
const spacing = computed(() => {
|
|
69
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
const download = tv({
|
|
73
|
+
base: 'flex items-center gap-4 rounded-lg mb-4 py-4 px-5 shadow-custom-small',
|
|
74
|
+
variants: {
|
|
75
|
+
colorScheme: {
|
|
76
|
+
none: 'bg-white',
|
|
77
|
+
dark: 'bg-gray-900 text-white',
|
|
78
|
+
light: 'bg-white',
|
|
79
|
+
accent: 'bg-primary-700 text-white',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
defaultVariants: {
|
|
83
|
+
colorScheme: 'none',
|
|
84
|
+
},
|
|
85
|
+
})
|
|
86
|
+
|
|
87
|
+
const downloadIcon = tv({
|
|
88
|
+
base: 'w-10 shrink-0 rounded-full flex justify-center items-center aspect-square',
|
|
89
|
+
variants: {
|
|
90
|
+
colorScheme: {
|
|
91
|
+
none: 'bg-gray-50',
|
|
92
|
+
dark: 'bg-gray-400',
|
|
93
|
+
light: 'bg-gray-50',
|
|
94
|
+
accent: 'bg-primary-400',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
defaultVariants: {
|
|
98
|
+
colorScheme: 'none',
|
|
99
|
+
},
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
provide('colorScheme', colorScheme)
|
|
103
|
+
provide('isEditing', isEditing)
|
|
104
|
+
</script>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<AccordionItem
|
|
3
|
+
:key="index"
|
|
4
|
+
:value="`accordion-${index + 1}`"
|
|
5
|
+
class="border-none not-last:mb-1 [&>h3]:mb-0"
|
|
6
|
+
v-bind="computedProps"
|
|
7
|
+
>
|
|
8
|
+
<AccordionTrigger
|
|
9
|
+
:ref="(el: any) => (triggerRefs[index] = el)"
|
|
10
|
+
:class="accordionTrigger({ colorScheme })"
|
|
11
|
+
@click="handleClick(index)"
|
|
12
|
+
>
|
|
13
|
+
{{ question }}
|
|
14
|
+
</AccordionTrigger>
|
|
15
|
+
<AccordionContent class="p-4 pb-6 text-base" ref="contentRef">
|
|
16
|
+
<div v-html="answer" />
|
|
17
|
+
<BlokkliField
|
|
18
|
+
name="field_icms_buttons"
|
|
19
|
+
:list="buttons"
|
|
20
|
+
class="mt-6 flex flex-wrap gap-6"
|
|
21
|
+
:class="[{ droptarget: isEditing }]"
|
|
22
|
+
/>
|
|
23
|
+
</AccordionContent>
|
|
24
|
+
</AccordionItem>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script lang="ts" setup>
|
|
28
|
+
import type { ParagraphIcmsFaqElementFragment } from '#graphql-operations'
|
|
29
|
+
import { tv } from 'tailwind-variants'
|
|
30
|
+
import { useAccordionScroll } from '@iqual/nuxt-icms/composables/useAccordionScroll'
|
|
31
|
+
import type { ComponentPublicInstance } from 'vue'
|
|
32
|
+
|
|
33
|
+
defineProps<ParagraphIcmsFaqElementFragment>()
|
|
34
|
+
|
|
35
|
+
const accordionTrigger = tv({
|
|
36
|
+
base: 'items-center rounded-lg px-6 py-4 shadow-custom-small hover:no-underline gap-4 text-left text-base',
|
|
37
|
+
variants: {
|
|
38
|
+
colorScheme: {
|
|
39
|
+
none: 'bg-white text-black',
|
|
40
|
+
dark: 'bg-gray-900 text-white',
|
|
41
|
+
light: 'bg-white text-black',
|
|
42
|
+
accent: 'bg-primary-700 text-white',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
})
|
|
46
|
+
|
|
47
|
+
const { index, isEditing } = useAttrs().blokkliData
|
|
48
|
+
|
|
49
|
+
const triggerRefs = ref<Array<ComponentPublicInstance>>([])
|
|
50
|
+
|
|
51
|
+
const handleClick = (index: number): void => {
|
|
52
|
+
const { handleAccordionOpen } = useAccordionScroll(triggerRefs.value[index])
|
|
53
|
+
handleAccordionOpen()
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const colorScheme = inject<string>('colorScheme')
|
|
57
|
+
|
|
58
|
+
const computedProps = computed(() => {
|
|
59
|
+
if (isEditing) {
|
|
60
|
+
return {
|
|
61
|
+
open: true,
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return {}
|
|
65
|
+
})
|
|
66
|
+
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutFaq on ParagraphIcmsLayoutFaq {
|
|
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
|
+
faqElements: fieldIcmsFaqElements {
|
|
18
|
+
...paragraphsFieldItem
|
|
19
|
+
props {
|
|
20
|
+
...paragraphIcmsFaqElement
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 md:col-span-7"></div>
|
|
16
|
+
<div class="col-span-12 md:col-span-5">
|
|
17
|
+
<DesignSystemOrganismsContentBlock
|
|
18
|
+
:subtitle="subtitle"
|
|
19
|
+
:text="text"
|
|
20
|
+
:media="media"
|
|
21
|
+
mediaClass="size-full rounded-lg overflow-hidden"
|
|
22
|
+
mediaSliderClass="mt-0 rounded-lg overflow-hidden"
|
|
23
|
+
:colorScheme="colorScheme"
|
|
24
|
+
/>
|
|
25
|
+
<BlokkliField
|
|
26
|
+
name="field_icms_buttons"
|
|
27
|
+
:list="buttons"
|
|
28
|
+
class="mt-6 flex flex-wrap gap-6"
|
|
29
|
+
:class="[buttonAlignment, { droptarget: isEditing }]"
|
|
30
|
+
/>
|
|
31
|
+
</div>
|
|
32
|
+
<div
|
|
33
|
+
class="relative col-span-12 mt-4 md:col-span-6 md:col-start-7 md:mt-0"
|
|
34
|
+
>
|
|
35
|
+
<Accordion :default-value="defaultValue" :collapsible="true">
|
|
36
|
+
<BlokkliField
|
|
37
|
+
name="field_icms_faq_elements"
|
|
38
|
+
:list="faqElements"
|
|
39
|
+
:class="{ droptarget: isEditing }"
|
|
40
|
+
/>
|
|
41
|
+
</Accordion>
|
|
42
|
+
</div>
|
|
43
|
+
</DesignSystemAtomsGridRow>
|
|
44
|
+
</DesignSystemAtomsContainer>
|
|
45
|
+
</template>
|
|
46
|
+
|
|
47
|
+
<script lang="ts" setup>
|
|
48
|
+
import type { ParagraphIcmsLayoutFaqFragment } from '#graphql-operations'
|
|
49
|
+
|
|
50
|
+
defineProps<ParagraphIcmsLayoutFaqFragment>()
|
|
51
|
+
|
|
52
|
+
const defaultValue = computed(() => {
|
|
53
|
+
if (!isEditing) {
|
|
54
|
+
return 'accordion-1'
|
|
55
|
+
} else {
|
|
56
|
+
return ''
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
61
|
+
|
|
62
|
+
const spacing = computed(() => {
|
|
63
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
const colorScheme = computed(() => {
|
|
67
|
+
return options.value.colorScheme
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
const buttonAlignment = computed(() => {
|
|
71
|
+
switch (options.value.buttonAlignment) {
|
|
72
|
+
case 'left':
|
|
73
|
+
return 'justify-start'
|
|
74
|
+
case 'center':
|
|
75
|
+
return 'justify-center'
|
|
76
|
+
case 'right':
|
|
77
|
+
return 'justify-end'
|
|
78
|
+
default:
|
|
79
|
+
return 'justify-start'
|
|
80
|
+
}
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
provide('colorScheme', colorScheme)
|
|
84
|
+
</script>
|