@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,25 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutFlipTeasers on ParagraphIcmsLayoutFlipTeasers {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
titleWeight: fieldIcmsTitleWeight
|
|
5
|
+
titleStyle: fieldIcmsTitleStyle
|
|
6
|
+
subtitle: fieldIcmsSubtitle
|
|
7
|
+
text: fieldIcmsText
|
|
8
|
+
flipTeasers: fieldIcmsContentEntities {
|
|
9
|
+
pretitle: fieldIcmsTeaserPretitle
|
|
10
|
+
title: fieldIcmsTeaserTitle
|
|
11
|
+
mainTitle: label
|
|
12
|
+
text: fieldIcmsTeaserText
|
|
13
|
+
mainText: body
|
|
14
|
+
image: fieldIcmsTeaserImage {
|
|
15
|
+
...media
|
|
16
|
+
}
|
|
17
|
+
mainImage: fieldIcmsImage {
|
|
18
|
+
...media
|
|
19
|
+
}
|
|
20
|
+
link: path {
|
|
21
|
+
alias
|
|
22
|
+
}
|
|
23
|
+
linkLabel: fieldIcmsTeaserLinkLabel
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow>
|
|
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
|
+
<DesignSystemAtomsGridRow class="mt-10 md:mt-20">
|
|
26
|
+
<DesignSystemOrganismsFlipTeaser
|
|
27
|
+
v-for="flipTeaser in flipTeasers"
|
|
28
|
+
:image="flipTeaser?.image || flipTeaser?.mainImage"
|
|
29
|
+
:pretitle="flipTeaser?.pretitle"
|
|
30
|
+
:title="flipTeaser?.title || flipTeaser?.mainTitle"
|
|
31
|
+
:titleWeight="childTitleWeight"
|
|
32
|
+
:subtitle="flipTeaser?.subtitle"
|
|
33
|
+
:text="flipTeaser?.text || flipTeaser?.mainText"
|
|
34
|
+
:link="flipTeaser?.link?.alias"
|
|
35
|
+
:link-label="flipTeaser?.linkLabel"
|
|
36
|
+
/>
|
|
37
|
+
</DesignSystemAtomsGridRow>
|
|
38
|
+
</DesignSystemAtomsContainer>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script lang="ts" setup>
|
|
42
|
+
import type { ParagraphIcmsLayoutFlipTeasersFragment } from '#graphql-operations'
|
|
43
|
+
|
|
44
|
+
const props = defineProps<ParagraphIcmsLayoutFlipTeasersFragment>()
|
|
45
|
+
|
|
46
|
+
const { options, parentType } = useAttrs().blokkliData
|
|
47
|
+
|
|
48
|
+
const colorScheme = computed(() => {
|
|
49
|
+
return options.value.colorScheme
|
|
50
|
+
})
|
|
51
|
+
|
|
52
|
+
const spacing = computed(() => {
|
|
53
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
const childTitleWeight = useChildTitleWeight(props.titleWeight ?? '')
|
|
57
|
+
|
|
58
|
+
provide('colorScheme', colorScheme)
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutGallery on ParagraphIcmsLayoutGallery {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
titleWeight: fieldIcmsTitleWeight
|
|
5
|
+
titleStyle: fieldIcmsTitleStyle
|
|
6
|
+
subtitle: fieldIcmsSubtitle
|
|
7
|
+
text: fieldIcmsText
|
|
8
|
+
media: fieldIcmsMediaElements {
|
|
9
|
+
...media
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow>
|
|
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
|
+
<DesignSystemAtomsGridRow v-if="media?.length" class="mt-10 md:mt-20">
|
|
26
|
+
<!-- Modal -->
|
|
27
|
+
<Dialog>
|
|
28
|
+
<div
|
|
29
|
+
v-for="image in media"
|
|
30
|
+
:key="image.id"
|
|
31
|
+
class="gallery-item relative col-span-12 aspect-square overflow-hidden rounded-lg transition-shadow duration-300 ease-in-out md:col-span-6 lg:col-span-3"
|
|
32
|
+
>
|
|
33
|
+
<!-- Modal trigger -->
|
|
34
|
+
<DialogTrigger @click="handleImageClick(Number(image.id))">
|
|
35
|
+
<Media
|
|
36
|
+
v-if="image"
|
|
37
|
+
:media="image"
|
|
38
|
+
imageAspectRatios="1/1"
|
|
39
|
+
imageSizes="xs:100vw sm-100vw md:320px lg:400px"
|
|
40
|
+
mediaClass="size-full cursor-pointer object-cover"
|
|
41
|
+
/>
|
|
42
|
+
</DialogTrigger>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<!-- Modal content -->
|
|
46
|
+
<DialogContent :class="dialogContent({ colorScheme })">
|
|
47
|
+
<!-- Close button -->
|
|
48
|
+
<DialogClose class="group" :class="dialogClose({ colorScheme })">
|
|
49
|
+
<X :class="dialogCloseX({ colorScheme })" />
|
|
50
|
+
<span class="sr-only">Close</span>
|
|
51
|
+
</DialogClose>
|
|
52
|
+
|
|
53
|
+
<!-- Required for screen readers -->
|
|
54
|
+
<VisuallyHidden>
|
|
55
|
+
<DialogHeader>
|
|
56
|
+
<DialogTitle>{{ dialogTitle }}</DialogTitle>
|
|
57
|
+
<DialogDescription>{{ dialogDescription }}</DialogDescription>
|
|
58
|
+
</DialogHeader>
|
|
59
|
+
</VisuallyHidden>
|
|
60
|
+
|
|
61
|
+
<!-- Carousel -->
|
|
62
|
+
<Carousel class="@container" @init-api="setApi">
|
|
63
|
+
<!-- Carousel content -->
|
|
64
|
+
<CarouselContent>
|
|
65
|
+
<!-- Carousel items -->
|
|
66
|
+
<CarouselItem
|
|
67
|
+
v-for="image in media"
|
|
68
|
+
:key="image.id"
|
|
69
|
+
class="flex flex-col justify-center pl-4"
|
|
70
|
+
>
|
|
71
|
+
<!-- Image -->
|
|
72
|
+
<Media
|
|
73
|
+
v-if="image"
|
|
74
|
+
:media="image"
|
|
75
|
+
mediaClass="rounded-lg"
|
|
76
|
+
/>
|
|
77
|
+
<!-- Caption -->
|
|
78
|
+
<DesignSystemOrganismsContentBlock
|
|
79
|
+
v-if="image.alt?.alt || image.title"
|
|
80
|
+
:text="image.alt?.alt || image.title"
|
|
81
|
+
textClass="text-sm text-center mt-4"
|
|
82
|
+
:colorScheme="colorScheme"
|
|
83
|
+
/>
|
|
84
|
+
</CarouselItem>
|
|
85
|
+
</CarouselContent>
|
|
86
|
+
|
|
87
|
+
<!-- Previous -->
|
|
88
|
+
<CarouselPrevious
|
|
89
|
+
class="left-6 md:left-12"
|
|
90
|
+
:class="carouselButton({ colorScheme })"
|
|
91
|
+
>
|
|
92
|
+
<ChevronLeft :size="24" :stroke-width="1" />
|
|
93
|
+
</CarouselPrevious>
|
|
94
|
+
|
|
95
|
+
<!-- Next -->
|
|
96
|
+
<CarouselNext
|
|
97
|
+
class="right-6 md:right-12"
|
|
98
|
+
:class="carouselButton({ colorScheme })"
|
|
99
|
+
>
|
|
100
|
+
<ChevronRight :size="24" :stroke-width="1" />
|
|
101
|
+
</CarouselNext>
|
|
102
|
+
</Carousel>
|
|
103
|
+
</DialogContent>
|
|
104
|
+
</Dialog>
|
|
105
|
+
</DesignSystemAtomsGridRow>
|
|
106
|
+
</DesignSystemAtomsContainer>
|
|
107
|
+
</template>
|
|
108
|
+
|
|
109
|
+
<script lang="ts" setup>
|
|
110
|
+
import type { CarouselApi } from '@iqual/nuxt-icms/components/ui/carousel'
|
|
111
|
+
import type { ParagraphIcmsLayoutGalleryFragment } from '#graphql-operations'
|
|
112
|
+
import { VisuallyHidden } from 'radix-vue'
|
|
113
|
+
import { tv } from 'tailwind-variants'
|
|
114
|
+
import { ChevronLeft, ChevronRight, X } from 'lucide-vue-next'
|
|
115
|
+
const { $texts } = useNuxtApp()
|
|
116
|
+
|
|
117
|
+
const { options } = useAttrs().blokkliData
|
|
118
|
+
|
|
119
|
+
const props = defineProps<ParagraphIcmsLayoutGalleryFragment>()
|
|
120
|
+
|
|
121
|
+
const dialogContent = tv({
|
|
122
|
+
base: 'dialog-content block max-w-[min(826px,90vw)] p-6 pt-16 md:p-8 lg:p-12 md:pt-16 lg:pt-16 mx-auto rounded-lg',
|
|
123
|
+
variants: {
|
|
124
|
+
colorScheme: {
|
|
125
|
+
none: 'bg-white dark:bg-white text-black dark:text-black',
|
|
126
|
+
dark: 'bg-gray-900 dark:bg-gray-900 text-white dark:text-white',
|
|
127
|
+
light: 'bg-white dark:bg-white text-black dark:text-black',
|
|
128
|
+
accent: 'bg-primary-500 dark:bg-primary-500 text-white dark:text-white',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
defaultVariants: {
|
|
132
|
+
colorScheme: 'none',
|
|
133
|
+
},
|
|
134
|
+
})
|
|
135
|
+
|
|
136
|
+
const dialogClose = tv({
|
|
137
|
+
base: 'absolute flex size-7 right-4 top-4 items-center justify-center rounded-full transition-colors duration-300 z-10',
|
|
138
|
+
variants: {
|
|
139
|
+
colorScheme: {
|
|
140
|
+
none: 'bg-gray-100 hover:bg-black',
|
|
141
|
+
dark: 'bg-black hover:bg-white',
|
|
142
|
+
light: 'bg-gray-100 hover:bg-black',
|
|
143
|
+
accent: 'bg-primary-600 hover:bg-primary-700',
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
defaultVariants: {
|
|
147
|
+
colorScheme: 'none',
|
|
148
|
+
},
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
const dialogCloseX = tv({
|
|
152
|
+
base: 'size-4 transition-stroke duration-300',
|
|
153
|
+
variants: {
|
|
154
|
+
colorScheme: {
|
|
155
|
+
none: 'stroke-black group-hover:stroke-white',
|
|
156
|
+
dark: 'stroke-white group-hover:stroke-black',
|
|
157
|
+
light: 'stroke-black group-hover:stroke-white',
|
|
158
|
+
accent: 'stroke-white group-hover:stroke-white',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
defaultVariants: {
|
|
162
|
+
colorScheme: 'none',
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
|
|
166
|
+
const carouselButton = tv({
|
|
167
|
+
base: 'size-10 border-none disabled:opacity-40 @sm:size:12 @md:size-16 [&_svg]:size-auto',
|
|
168
|
+
variants: {
|
|
169
|
+
colorScheme: {
|
|
170
|
+
none: 'bg-gray-50 text-black hover:bg-black hover:text-white dark:bg-gray-50 dark:text-black hover:dark:bg-black hover:dark:text-white',
|
|
171
|
+
dark: 'bg-black text-white hover:bg-gray-50 hover:text-black dark:bg-black dark:text-white hover:dark:bg-gray-50 hover:dark:text-black',
|
|
172
|
+
light:
|
|
173
|
+
'bg-gray-50 text-black hover:bg-black hover:text-white dark:bg-gray-50 dark:text-black hover:dark:bg-black hover:dark:text-white',
|
|
174
|
+
accent:
|
|
175
|
+
'bg-primary-600 text-white hover:bg-primary-800 hover:text-white dark:bg-primary-600 dark:text-white hover:dark:bg-primary-800 hover:dark:text-white',
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
defaultVariants: {
|
|
179
|
+
colorScheme: 'none',
|
|
180
|
+
},
|
|
181
|
+
})
|
|
182
|
+
|
|
183
|
+
const api = ref<CarouselApi>()
|
|
184
|
+
function setApi(val: CarouselApi) {
|
|
185
|
+
api.value = val
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
const handleImageClick = (imageId: number) => {
|
|
189
|
+
if (!props.media) return
|
|
190
|
+
// Find the index of the image in the media array
|
|
191
|
+
const index = props.media.findIndex((image) => Number(image.id) === imageId)
|
|
192
|
+
nextTick(() => {
|
|
193
|
+
api.value?.scrollTo(index, true)
|
|
194
|
+
})
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const colorScheme = computed(() => {
|
|
198
|
+
return options.value.colorScheme
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
const spacing = computed(() => {
|
|
202
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
203
|
+
})
|
|
204
|
+
|
|
205
|
+
const dialogTitle = computed(() => {
|
|
206
|
+
return $texts('gallery.title', 'Gallery slider')
|
|
207
|
+
})
|
|
208
|
+
|
|
209
|
+
const dialogDescription = computed(() => {
|
|
210
|
+
return $texts('gallery.description', 'Images in a slider')
|
|
211
|
+
})
|
|
212
|
+
</script>
|
|
213
|
+
|
|
214
|
+
<style lang="css" scoped>
|
|
215
|
+
.gallery-item {
|
|
216
|
+
display: grid;
|
|
217
|
+
grid-template-areas: 'content';
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.gallery-item-grid-item {
|
|
221
|
+
grid-area: content;
|
|
222
|
+
}
|
|
223
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutHeroImage on ParagraphIcmsLayoutHeroImage {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
titleWeight: fieldIcmsTitleWeight
|
|
5
|
+
titleStyle: fieldIcmsTitleStyle
|
|
6
|
+
subtitle: fieldIcmsSubtitle
|
|
7
|
+
text: fieldIcmsText
|
|
8
|
+
buttons: fieldIcmsButtons {
|
|
9
|
+
...paragraphsFieldItem
|
|
10
|
+
props {
|
|
11
|
+
...paragraphIcmsButtonElement
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
medium: fieldIcmsMediaElement {
|
|
15
|
+
...media
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer
|
|
3
|
+
:spacing="{ top: 'none', bottom: 'none' }"
|
|
4
|
+
:class="containerClassList"
|
|
5
|
+
class="relative flex min-h-[400] items-center md:min-h-[700px]"
|
|
6
|
+
>
|
|
7
|
+
<!-- Overlay -->
|
|
8
|
+
<div
|
|
9
|
+
v-if="options.colorMode !== 'none'"
|
|
10
|
+
class="absolute inset-0 z-10"
|
|
11
|
+
:class="overlayClass"
|
|
12
|
+
/>
|
|
13
|
+
|
|
14
|
+
<!-- Image/video wrapper -->
|
|
15
|
+
<div class="absolute inset-0">
|
|
16
|
+
<Media
|
|
17
|
+
v-if="medium"
|
|
18
|
+
:media="medium"
|
|
19
|
+
mediaClass="size-full object-cover"
|
|
20
|
+
imageAspectRatios="xs:1/1 md:16/9"
|
|
21
|
+
imageSizes="xs:100vw sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw"
|
|
22
|
+
imageLoading="eager"
|
|
23
|
+
:videoControls="false"
|
|
24
|
+
videoAutoplay
|
|
25
|
+
videoMuted
|
|
26
|
+
videoLoop
|
|
27
|
+
/>
|
|
28
|
+
<div class="absolute inset-0" />
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- Text row -->
|
|
32
|
+
<DesignSystemAtomsGridRow
|
|
33
|
+
v-if="pretitle || title || subtitle"
|
|
34
|
+
class="relative z-10 px-4 py-12 md:px-12 md:py-32"
|
|
35
|
+
>
|
|
36
|
+
<div class="col-span-12 md:col-span-6" :class="columnClassList">
|
|
37
|
+
<DesignSystemOrganismsContentBlock
|
|
38
|
+
:pretitle="pretitle"
|
|
39
|
+
:pretitleClass="textShadow"
|
|
40
|
+
:title="title"
|
|
41
|
+
:titleWeight="titleWeight"
|
|
42
|
+
:titleStyle="titleStyle"
|
|
43
|
+
:titleClass="textShadow"
|
|
44
|
+
:subtitle="subtitle"
|
|
45
|
+
:subtitleClass="textShadow"
|
|
46
|
+
:text="text"
|
|
47
|
+
:textClass="textShadow"
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
|
+
<BlokkliField
|
|
51
|
+
name="field_icms_buttons"
|
|
52
|
+
:list="buttons"
|
|
53
|
+
class="mt-6 flex flex-wrap gap-6"
|
|
54
|
+
:class="[buttonAlignment, { droptarget: isEditing }]"
|
|
55
|
+
/>
|
|
56
|
+
</div>
|
|
57
|
+
</DesignSystemAtomsGridRow>
|
|
58
|
+
</DesignSystemAtomsContainer>
|
|
59
|
+
</template>
|
|
60
|
+
|
|
61
|
+
<script lang="ts" setup>
|
|
62
|
+
import type { ParagraphIcmsLayoutHeroImageFragment } from '#graphql-operations'
|
|
63
|
+
|
|
64
|
+
defineProps<ParagraphIcmsLayoutHeroImageFragment>()
|
|
65
|
+
|
|
66
|
+
const prefetch = provide('prefetch', true)
|
|
67
|
+
|
|
68
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
69
|
+
|
|
70
|
+
const containerClassList = computed(() => {
|
|
71
|
+
const classList = []
|
|
72
|
+
if (options.value.colorMode !== 'none') {
|
|
73
|
+
classList.push(options.value.colorMode)
|
|
74
|
+
}
|
|
75
|
+
return classList.join(' ')
|
|
76
|
+
})
|
|
77
|
+
|
|
78
|
+
const columnClassList = computed(() => {
|
|
79
|
+
const classList = []
|
|
80
|
+
|
|
81
|
+
if (options.value.reverseColumns === true) {
|
|
82
|
+
classList.push('md:col-start-0')
|
|
83
|
+
} else {
|
|
84
|
+
classList.push('md:col-start-7')
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (options.value.colorMode === 'dark') {
|
|
88
|
+
classList.push('text-white')
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return classList.join(' ')
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
const overlayClass = computed(() => {
|
|
95
|
+
|
|
96
|
+
const classList = []
|
|
97
|
+
|
|
98
|
+
if (options.value.reverseColumns === true) {
|
|
99
|
+
classList.push('md:bg-gradient-to-l')
|
|
100
|
+
} else {
|
|
101
|
+
classList.push('md:bg-gradient-to-r')
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
classList.push('md:bg-transparent md:from-transparent md:from-25%')
|
|
105
|
+
|
|
106
|
+
if (options.value.colorMode === 'light') {
|
|
107
|
+
classList.push(
|
|
108
|
+
'md:to-[rgba(255,255,255,0.75)]',
|
|
109
|
+
'bg-[rgba(255,255,255,0.3)]',
|
|
110
|
+
)
|
|
111
|
+
} else if (options.value.colorMode === 'dark') {
|
|
112
|
+
classList.push('md:to-[rgba(17,17,17,0.75)]', 'bg-[rgba(17,17,17,0.3)]')
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return classList.join(' ')
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
const textShadow = computed(() => {
|
|
119
|
+
if (options.value.textShadow === 'light') {
|
|
120
|
+
return 'text-shadow-sm'
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (options.value.textShadow === 'dark') {
|
|
124
|
+
return 'text-shadow-md'
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (options.value.textShadow === 'darker') {
|
|
128
|
+
return 'text-shadow-lg'
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return ''
|
|
132
|
+
})
|
|
133
|
+
|
|
134
|
+
const buttonAlignment = computed(() => {
|
|
135
|
+
switch (options.value.buttonAlignment) {
|
|
136
|
+
case 'left':
|
|
137
|
+
return 'justify-start'
|
|
138
|
+
case 'center':
|
|
139
|
+
return 'justify-center'
|
|
140
|
+
case 'right':
|
|
141
|
+
return 'justify-end'
|
|
142
|
+
default:
|
|
143
|
+
return 'justify-start'
|
|
144
|
+
}
|
|
145
|
+
})
|
|
146
|
+
provide('colorScheme', options.value.colorMode ?? 'none')
|
|
147
|
+
</script>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemMoleculesIconText
|
|
3
|
+
:title="title"
|
|
4
|
+
:titleWeight="titleWeight"
|
|
5
|
+
:text="text"
|
|
6
|
+
:icon="icon"
|
|
7
|
+
:colorScheme="colorScheme"
|
|
8
|
+
/>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import type { ParagraphIcmsIconTextElementFragment } from '#graphql-operations'
|
|
13
|
+
|
|
14
|
+
defineProps<ParagraphIcmsIconTextElementFragment>()
|
|
15
|
+
|
|
16
|
+
const colorScheme = inject<string>('colorScheme')
|
|
17
|
+
const titleWeight = inject<string>('titleWeight')
|
|
18
|
+
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutTextcolIconlist on ParagraphIcmsLayoutTextcolIconlist {
|
|
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
|
+
iconTextElements: fieldIcmsIconTextElements {
|
|
18
|
+
...paragraphsFieldItem
|
|
19
|
+
props {
|
|
20
|
+
...paragraphIcmsIconTextElement
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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="[buttonAlignment, { droptarget: isEditing }]"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
<BlokkliField
|
|
34
|
+
name="field_icms_icon_text_elements"
|
|
35
|
+
:list="iconTextElements"
|
|
36
|
+
class="col-span-12 mt-4 flex flex-col gap-6 md:col-span-6 md:col-start-7 md:mt-0"
|
|
37
|
+
:class="{ droptarget: isEditing }"
|
|
38
|
+
/>
|
|
39
|
+
</DesignSystemAtomsGridRow>
|
|
40
|
+
</DesignSystemAtomsContainer>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<script lang="ts" setup>
|
|
44
|
+
import type { ParagraphIcmsLayoutTextcolIconlistFragment } from '#graphql-operations'
|
|
45
|
+
|
|
46
|
+
const props = defineProps<ParagraphIcmsLayoutTextcolIconlistFragment>()
|
|
47
|
+
|
|
48
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
49
|
+
|
|
50
|
+
const colorScheme = computed(() => {
|
|
51
|
+
return options.value.colorScheme
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
const spacing = computed(() => {
|
|
55
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
const buttonAlignment = computed(() => {
|
|
59
|
+
switch (options.value.buttonAlignment) {
|
|
60
|
+
case 'left':
|
|
61
|
+
return 'justify-start'
|
|
62
|
+
case 'center':
|
|
63
|
+
return 'justify-center'
|
|
64
|
+
case 'right':
|
|
65
|
+
return 'justify-end'
|
|
66
|
+
default:
|
|
67
|
+
return 'justify-start'
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
const childTitleWeight = useChildTitleWeight(props.titleWeight ?? '')
|
|
72
|
+
|
|
73
|
+
provide('colorScheme', colorScheme)
|
|
74
|
+
provide('isEditing', isEditing)
|
|
75
|
+
provide('titleWeight', childTitleWeight)
|
|
76
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutTextImageIntro on ParagraphIcmsLayoutTextImageIntro {
|
|
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
|
+
image: fieldIcmsMediaElement {
|
|
15
|
+
...media
|
|
16
|
+
}
|
|
17
|
+
signature: fieldIcmsSignature {
|
|
18
|
+
...media
|
|
19
|
+
}
|
|
20
|
+
}
|