Merged in feat/BOOK-591-jotform (pull request #3350)

Feat/BOOK-591 jotform

* feat(BOOK-591): create jotform

* feat(BOOK-591): jotform

* feat(BOOK-591): jotform

* fix(BOOK-591): add embedhandler

* feat(BOOK-591): refactor jotform

* feat(BOOK-591): remove inline styles

* feat(BOOK-591): remove typename

* feat(BOOK-591): add jotformembedhandler


Approved-by: Erik Tiekstra
This commit is contained in:
Bianca Widstam
2025-12-16 14:35:45 +00:00
parent f27ba7ccb6
commit 1dce74c95f
12 changed files with 200 additions and 6 deletions

View File

@@ -0,0 +1,34 @@
import { gql } from "graphql-tag"
import { Jotform, JotformRef } from "../Jotform.graphql"
export const Jotform_ContentPage = gql`
fragment Jotform_ContentPage on ContentPageBlocksJotform {
__typename
jotform {
formConnection {
edges {
node {
...Jotform
}
}
}
}
}
${Jotform}
`
export const Jotform_ContentPageRefs = gql`
fragment Jotform_ContentPageRefs on ContentPageBlocksJotform {
__typename
jotform {
formConnection {
edges {
node {
...JotformRef
}
}
}
}
}
${JotformRef}
`

View File

@@ -0,0 +1,18 @@
import { gql } from "graphql-tag"
import { System } from "./System.graphql"
export const Jotform = gql`
fragment Jotform on Jotform {
form_id
}
`
export const JotformRef = gql`
fragment JotformRef on Jotform {
system {
...System
}
}
${System}
`

View File

@@ -17,6 +17,10 @@ import {
DynamicContent_ContentPageRefs,
} from "../../Fragments/Blocks/DynamicContent.graphql"
import { HotelListing_ContentPage } from "../../Fragments/Blocks/HotelListing.graphql"
import {
Jotform_ContentPage,
Jotform_ContentPageRefs,
} from "../../Fragments/Blocks/Jotform.graphql"
import {
Shortcuts_ContentPage,
Shortcuts_ContentPageRefs,
@@ -134,6 +138,7 @@ export const GetContentPageBlocksBatch1 = gql`
...CardsGrid_ContentPage
...Content_ContentPage
...DynamicContent_ContentPage
...Jotform_ContentPage
...VideoCard_ContentPage
...Video_ContentPage
}
@@ -143,6 +148,7 @@ export const GetContentPageBlocksBatch1 = gql`
${CardsGrid_ContentPage}
${Content_ContentPage}
${DynamicContent_ContentPage}
${Jotform_ContentPage}
${VideoCard_ContentPage}
${Video_ContentPage}
`
@@ -216,6 +222,7 @@ export const GetContentPageBlocksRefs = gql`
...Shortcuts_ContentPageRefs
...TextCols_ContentPageRef
...UspGrid_ContentPageRefs
...Jotform_ContentPageRefs
...VideoCard_ContentPageRefs
...Video_ContentPageRefs
}
@@ -228,6 +235,7 @@ export const GetContentPageBlocksRefs = gql`
${Shortcuts_ContentPageRefs}
${TextCols_ContentPageRef}
${UspGrid_ContentPageRefs}
${Jotform_ContentPageRefs}
${VideoCard_ContentPageRefs}
${Video_ContentPageRefs}
`