@npm_leadtech/legal-contracts-ui 0.65.2 → 0.65.3
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/dist/components/AllDocumentsTemplate.d.ts +0 -10
- package/dist/components/CategoryProductTemplate.d.ts +0 -10
- package/dist/components/ContentItem.d.ts +0 -10
- package/dist/components/ContentItem.js +25 -39
- package/dist/components/FreeDocumentModal.d.ts +2 -2
- package/dist/components/FreeDocumentModal.js +13 -13
- package/dist/components/ImageWithPreview.js +12 -7
- package/dist/components/Modal.d.ts +4 -2
- package/dist/components/Modal.js +15 -15
- package/dist/components/PreviewDownload.d.ts +0 -10
- package/dist/components/PreviewDownload.js +19 -31
- package/dist/components/ProductTemplate.d.ts +3 -4
- package/dist/components/ProductTemplate.js +37 -34
- package/package.json +1 -1
|
@@ -44,7 +44,6 @@ export interface ContentItemProps {
|
|
|
44
44
|
wordDownload: ReactNode;
|
|
45
45
|
} | null;
|
|
46
46
|
subtypeDocs: SubtypeDocumentProps[];
|
|
47
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
@@ -93,15 +92,6 @@ export interface FaqSectionProps {
|
|
|
93
92
|
className?: string;
|
|
94
93
|
}
|
|
95
94
|
|
|
96
|
-
export interface FreeDocumentModalProps {
|
|
97
|
-
show?: boolean;
|
|
98
|
-
trigger: ReactNode;
|
|
99
|
-
image?: ReactNode;
|
|
100
|
-
title?: string;
|
|
101
|
-
description?: string;
|
|
102
|
-
cta?: ReactNode;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
95
|
export interface ImageWithPreviewProps {
|
|
106
96
|
small: ReactNode;
|
|
107
97
|
large: ReactNode;
|
|
@@ -56,7 +56,6 @@ export interface ContentItemProps {
|
|
|
56
56
|
wordDownload: ReactNode;
|
|
57
57
|
} | null;
|
|
58
58
|
subtypeDocs: SubtypeDocumentProps[];
|
|
59
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
@@ -105,15 +104,6 @@ export interface FaqSectionProps {
|
|
|
105
104
|
className?: string;
|
|
106
105
|
}
|
|
107
106
|
|
|
108
|
-
export interface FreeDocumentModalProps {
|
|
109
|
-
show?: boolean;
|
|
110
|
-
trigger: ReactNode;
|
|
111
|
-
image?: ReactNode;
|
|
112
|
-
title?: string;
|
|
113
|
-
description?: string;
|
|
114
|
-
cta?: ReactNode;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
107
|
export interface ImageWithPreviewProps {
|
|
118
108
|
small: ReactNode;
|
|
119
109
|
large: ReactNode;
|
|
@@ -27,7 +27,6 @@ export declare interface ContentItemProps {
|
|
|
27
27
|
wordDownload: ReactNode;
|
|
28
28
|
} | null;
|
|
29
29
|
subtypeDocs: SubtypeDocumentProps[];
|
|
30
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
@@ -36,15 +35,6 @@ export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
|
36
35
|
description: string;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
|
-
export interface FreeDocumentModalProps {
|
|
40
|
-
show?: boolean;
|
|
41
|
-
trigger: ReactNode;
|
|
42
|
-
image?: ReactNode;
|
|
43
|
-
title?: string;
|
|
44
|
-
description?: string;
|
|
45
|
-
cta?: ReactNode;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
38
|
export interface ImageWithPreviewProps {
|
|
49
39
|
small: ReactNode;
|
|
50
40
|
large: ReactNode;
|
|
@@ -1,45 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ImageWithPreview as
|
|
3
|
-
import { LinkedProducts as
|
|
4
|
-
import { Markdown as
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
linkedProducts: n,
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ImageWithPreview as p } from "./ImageWithPreview.js";
|
|
3
|
+
import { LinkedProducts as d } from "./LinkedProducts.js";
|
|
4
|
+
import { Markdown as h } from "./Markdown.js";
|
|
5
|
+
import { LinkWrapper as a } from "./LinkWrapper.js";
|
|
6
|
+
import { AlternativeSubtypeDocument as x } from "./AlternativeSubtypeDocument.js";
|
|
7
|
+
import { DefaultSubtypeDocument as u } from "./DefaultSubtypeDocument.js";
|
|
8
|
+
const y = ({
|
|
9
|
+
id: c,
|
|
10
|
+
title: t,
|
|
11
|
+
content: n,
|
|
12
|
+
linkedProducts: m,
|
|
14
13
|
sampleImage: i,
|
|
15
14
|
cta: o,
|
|
16
|
-
docsModules:
|
|
17
|
-
subtypeDocs: f
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
m && /* @__PURE__ */ e(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */ e(
|
|
27
|
-
p,
|
|
28
|
-
{
|
|
29
|
-
trigger: /* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: t.pdfDownload }),
|
|
30
|
-
...s
|
|
31
|
-
}
|
|
32
|
-
),
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
p,
|
|
35
|
-
{
|
|
36
|
-
trigger: /* @__PURE__ */ e(l, { className: "w-full", variant: "secondary-black", children: t.wordDownload }),
|
|
37
|
-
...s
|
|
38
|
-
}
|
|
39
|
-
)
|
|
15
|
+
docsModules: l,
|
|
16
|
+
subtypeDocs: f
|
|
17
|
+
}) => /* @__PURE__ */ s("div", { id: c, className: "flex scroll-mt-25 flex-col gap-6 text-neutral-900", children: [
|
|
18
|
+
t && /* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: t }),
|
|
19
|
+
n && /* @__PURE__ */ e(h, { content: n, className: "text-medium [&_p:last-child]:mb-0" }),
|
|
20
|
+
m.length > 0 && /* @__PURE__ */ e(d, { linkedProducts: m }),
|
|
21
|
+
i && /* @__PURE__ */ e(p, { ...i }),
|
|
22
|
+
!!o && /* @__PURE__ */ e(a, { className: "w-75 self-center text-center", children: o }),
|
|
23
|
+
l && /* @__PURE__ */ s("div", { className: "flex w-75 gap-4 self-center", children: [
|
|
24
|
+
/* @__PURE__ */ e(a, { className: "w-full", variant: "secondary-black", children: l.pdfDownload }),
|
|
25
|
+
/* @__PURE__ */ e(a, { className: "w-full", variant: "secondary-black", children: l.wordDownload })
|
|
40
26
|
] }),
|
|
41
|
-
f.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: f.map((r) => r.format === "Alternative" ? /* @__PURE__ */ e(
|
|
27
|
+
f.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: f.map((r) => r.format === "Alternative" ? /* @__PURE__ */ e(x, { ...r }, r.id) : /* @__PURE__ */ e(u, { ...r }, r.id)) })
|
|
42
28
|
] });
|
|
43
29
|
export {
|
|
44
|
-
|
|
30
|
+
y as ContentItem
|
|
45
31
|
};
|
|
@@ -4,11 +4,11 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export declare const FreeDocumentModal: FC<FreeDocumentModalProps>;
|
|
5
5
|
|
|
6
6
|
export declare interface FreeDocumentModalProps {
|
|
7
|
-
show?: boolean;
|
|
8
|
-
trigger: ReactNode;
|
|
9
7
|
image?: ReactNode;
|
|
10
8
|
title?: string;
|
|
11
9
|
description?: string;
|
|
12
10
|
cta?: ReactNode;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
setIsOpen: (open: boolean) => void;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as l, jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import { Modal as c } from "./Modal.js";
|
|
3
|
-
import { LinkWrapper as
|
|
3
|
+
import { LinkWrapper as i } from "./LinkWrapper.js";
|
|
4
4
|
const p = ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}) =>
|
|
12
|
-
/* @__PURE__ */ l("div", { className: "w-full [&_img]:w-full", children:
|
|
5
|
+
image: r,
|
|
6
|
+
title: a,
|
|
7
|
+
description: m,
|
|
8
|
+
cta: s,
|
|
9
|
+
isOpen: t,
|
|
10
|
+
setIsOpen: d
|
|
11
|
+
}) => /* @__PURE__ */ l(c, { showClose: !0, isOpen: t, setIsOpen: d, children: /* @__PURE__ */ e("div", { className: "flex flex-col bg-white text-neutral-900 md:max-w-155 md:flex-row", children: [
|
|
12
|
+
/* @__PURE__ */ l("div", { className: "w-full [&_img]:w-full", children: r }),
|
|
13
13
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-8 self-start p-7 md:pt-8 md:pr-16 md:pb-4 md:pl-8", children: [
|
|
14
14
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 text-left", children: [
|
|
15
|
-
/* @__PURE__ */ l("h2", { className: "text-big font-bold", children:
|
|
15
|
+
/* @__PURE__ */ l("h2", { className: "text-big font-bold", children: a }),
|
|
16
16
|
/* @__PURE__ */ l("span", { className: "h-px w-full bg-neutral-200" }),
|
|
17
|
-
/* @__PURE__ */ l("p", { children:
|
|
17
|
+
/* @__PURE__ */ l("p", { children: m })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */ l(
|
|
19
|
+
/* @__PURE__ */ l(i, { className: "w-full md:w-fit", children: s })
|
|
20
20
|
] })
|
|
21
|
-
] }) })
|
|
21
|
+
] }) });
|
|
22
22
|
export {
|
|
23
23
|
p as FreeDocumentModal
|
|
24
24
|
};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { ZoomIcon as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { useState as s } from "react";
|
|
4
|
+
import { ZoomIcon as a } from "./ZoomIcon.js";
|
|
5
|
+
import { Modal as m } from "./Modal.js";
|
|
6
|
+
const u = ({ small: r, large: i }) => {
|
|
7
|
+
const [o, t] = s(!1);
|
|
8
|
+
return /* @__PURE__ */ l("div", { className: "relative aspect-3/4 w-75 self-center overflow-hidden border border-neutral-200", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "h-full w-full [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: r }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(m, { trigger: /* @__PURE__ */ e(a, { className: "bg-primary-700 size-8 rounded p-2 opacity-80 hover:opacity-100" }), isOpen: o, setIsOpen: t, children: i }) })
|
|
11
|
+
] });
|
|
12
|
+
};
|
|
8
13
|
export {
|
|
9
|
-
|
|
14
|
+
u as ImageWithPreview
|
|
10
15
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export declare const Modal: ({ trigger, children, showClose }: ModalProps) => JSX.Element;
|
|
4
|
+
export declare const Modal: ({ trigger, children, isOpen, setIsOpen, showClose }: ModalProps) => JSX.Element;
|
|
5
5
|
|
|
6
6
|
export interface ModalProps {
|
|
7
|
-
trigger
|
|
7
|
+
trigger?: ReactNode;
|
|
8
8
|
children: ReactNode;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
setIsOpen: (open: boolean) => void;
|
|
9
11
|
showClose?: boolean;
|
|
10
12
|
}
|
|
11
13
|
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import { CloseIcon as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
2
|
+
import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { CloseIcon as u } from "./CloseIcon.js";
|
|
5
|
+
const p = ({ trigger: l, children: n, isOpen: r, setIsOpen: a, showClose: i }) => {
|
|
6
|
+
const o = () => {
|
|
7
|
+
a(!r);
|
|
8
8
|
};
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */ e("button", { "aria-label": "zoom", onClick: o, className: "flex w-full cursor-pointer justify-center", children: l }),
|
|
11
|
-
|
|
9
|
+
return /* @__PURE__ */ t(c, { children: [
|
|
10
|
+
!!l && /* @__PURE__ */ e("button", { "aria-label": "zoom", onClick: o, className: "flex w-full cursor-pointer justify-center", children: l }),
|
|
11
|
+
r && /* @__PURE__ */ e("button", { className: "bg-primary-900/80 fixed inset-0 z-50 flex items-center justify-center", onClick: o, children: /* @__PURE__ */ e("div", { className: "relative flex max-h-screen w-full items-start justify-center overflow-y-auto px-6 py-24", children: /* @__PURE__ */ t(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
className: "relative",
|
|
15
|
-
onClick: (
|
|
16
|
-
|
|
15
|
+
onClick: (s) => {
|
|
16
|
+
s.stopPropagation();
|
|
17
17
|
},
|
|
18
18
|
children: [
|
|
19
|
-
|
|
19
|
+
i && /* @__PURE__ */ e(
|
|
20
20
|
"span",
|
|
21
21
|
{
|
|
22
22
|
className: "absolute top-4 right-4 z-10 cursor-pointer rounded-full p-2 transition-colors hover:bg-neutral-100 focus:outline-none",
|
|
23
23
|
onClick: o,
|
|
24
24
|
"aria-label": "Close",
|
|
25
|
-
children: /* @__PURE__ */ e(
|
|
25
|
+
children: /* @__PURE__ */ e(u, {})
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
|
-
|
|
28
|
+
n
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
31
|
) }) })
|
|
32
32
|
] });
|
|
33
33
|
};
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
p as Modal
|
|
36
36
|
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface FreeDocumentModalProps {
|
|
5
|
-
show?: boolean;
|
|
6
|
-
trigger: ReactNode;
|
|
7
|
-
image?: ReactNode;
|
|
8
|
-
title?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
cta?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
4
|
export interface ImageWithPreviewProps {
|
|
14
5
|
small: ReactNode;
|
|
15
6
|
large: ReactNode;
|
|
@@ -24,6 +15,5 @@ export declare interface PreviewDownloadProps {
|
|
|
24
15
|
footerText: string;
|
|
25
16
|
pdfDownload: ReactNode;
|
|
26
17
|
wordDownload: ReactNode;
|
|
27
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
28
18
|
}
|
|
29
19
|
|
|
@@ -1,46 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { FreeDocumentModal as i } from "./FreeDocumentModal.js";
|
|
3
|
+
import { useState as f } from "react";
|
|
4
4
|
import { ZoomIcon as u } from "./ZoomIcon.js";
|
|
5
|
-
import { Modal as
|
|
6
|
-
import { Markdown as
|
|
7
|
-
import { LinkWrapper as
|
|
5
|
+
import { Modal as p } from "./Modal.js";
|
|
6
|
+
import { Markdown as x } from "./Markdown.js";
|
|
7
|
+
import { LinkWrapper as r } from "./LinkWrapper.js";
|
|
8
8
|
const y = ({
|
|
9
|
-
title:
|
|
10
|
-
footerText:
|
|
11
|
-
preview:
|
|
9
|
+
title: t,
|
|
10
|
+
footerText: s,
|
|
11
|
+
preview: a,
|
|
12
12
|
cta: n,
|
|
13
|
-
pdfDownload:
|
|
14
|
-
wordDownload: c
|
|
15
|
-
freeDocModal: t
|
|
13
|
+
pdfDownload: i,
|
|
14
|
+
wordDownload: c
|
|
16
15
|
}) => {
|
|
17
|
-
|
|
16
|
+
const [o, m] = f(!1);
|
|
17
|
+
if (!a) return;
|
|
18
18
|
const d = /* @__PURE__ */ e(u, { className: "bg-primary-700 size-8 rounded p-2 opacity-80 hover:opacity-100" });
|
|
19
19
|
return /* @__PURE__ */ l("div", { className: "bg-neutral-25 relative mt-24 flex flex-col items-center gap-4 rounded border border-neutral-200 p-6 pt-44 lg:max-w-76 xl:max-w-96.5", children: [
|
|
20
20
|
/* @__PURE__ */ l("div", { className: "absolute -top-24 border border-neutral-200 shadow", children: [
|
|
21
|
-
/* @__PURE__ */ e("div", { className: "h-full max-h-64.5 w-full max-w-50 overflow-hidden", children:
|
|
22
|
-
/* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "h-full max-h-64.5 w-full max-w-50 overflow-hidden", children: a.small }),
|
|
22
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e(p, { trigger: d, isOpen: o, setIsOpen: m, children: a.large }) })
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */ e(
|
|
25
|
-
/* @__PURE__ */ e(
|
|
24
|
+
/* @__PURE__ */ e(x, { className: "text-medium text-center text-neutral-800 [&_p:last-child]:mb-0", content: t }),
|
|
25
|
+
/* @__PURE__ */ e(r, { className: "w-full", variant: "primary-green", children: n }),
|
|
26
26
|
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200" }),
|
|
27
27
|
/* @__PURE__ */ l("div", { className: "flex w-full flex-col items-center gap-6", children: [
|
|
28
|
-
/* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children:
|
|
28
|
+
/* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: s }),
|
|
29
29
|
/* @__PURE__ */ l("div", { className: "flex w-full gap-4", children: [
|
|
30
|
-
/* @__PURE__ */ e(
|
|
31
|
-
|
|
32
|
-
{
|
|
33
|
-
trigger: /* @__PURE__ */ e(a, { className: "w-full", variant: "secondary-black", children: o }),
|
|
34
|
-
...t
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ e(
|
|
38
|
-
i,
|
|
39
|
-
{
|
|
40
|
-
trigger: /* @__PURE__ */ e(a, { className: "w-full", variant: "secondary-black", children: c }),
|
|
41
|
-
...t
|
|
42
|
-
}
|
|
43
|
-
)
|
|
30
|
+
/* @__PURE__ */ e(r, { className: "w-full", variant: "secondary-black", children: i }),
|
|
31
|
+
/* @__PURE__ */ e(r, { className: "w-full", variant: "secondary-black", children: c })
|
|
44
32
|
] })
|
|
45
33
|
] })
|
|
46
34
|
] });
|
|
@@ -40,7 +40,6 @@ export interface ContentItemProps {
|
|
|
40
40
|
wordDownload: ReactNode;
|
|
41
41
|
} | null;
|
|
42
42
|
subtypeDocs: SubtypeDocumentProps[];
|
|
43
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
export interface DefaultSubtypeDocumentProps extends BaseSubtypeDocumentProps {
|
|
@@ -65,12 +64,12 @@ export interface FaqSectionProps {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
export interface FreeDocumentModalProps {
|
|
68
|
-
show?: boolean;
|
|
69
|
-
trigger: ReactNode;
|
|
70
67
|
image?: ReactNode;
|
|
71
68
|
title?: string;
|
|
72
69
|
description?: string;
|
|
73
70
|
cta?: ReactNode;
|
|
71
|
+
isOpen: boolean;
|
|
72
|
+
setIsOpen: (open: boolean) => void;
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
export interface ImageWithPreviewProps {
|
|
@@ -132,7 +131,6 @@ export interface PreviewDownloadProps {
|
|
|
132
131
|
footerText: string;
|
|
133
132
|
pdfDownload: ReactNode;
|
|
134
133
|
wordDownload: ReactNode;
|
|
135
|
-
freeDocModal: Omit<FreeDocumentModalProps, 'trigger'> | null;
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
export interface PreviewSectionProps {
|
|
@@ -165,6 +163,7 @@ export declare interface ProductTemplateProps {
|
|
|
165
163
|
previewDownload: PreviewDownloadProps;
|
|
166
164
|
previewSection?: PreviewSectionProps;
|
|
167
165
|
tryNowSection?: TryNowSectionProps;
|
|
166
|
+
freeDocModal?: FreeDocumentModalProps;
|
|
168
167
|
}
|
|
169
168
|
|
|
170
169
|
export type RadioFieldData = {
|
|
@@ -1,49 +1,52 @@
|
|
|
1
1
|
import { jsxs as o, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Jumbotron as g } from "./Jumbotron.js";
|
|
3
|
-
import { JumboDocs as
|
|
4
|
-
import { Preform as
|
|
5
|
-
import { ProductInfo as
|
|
6
|
-
import { BenefitsBar as
|
|
7
|
-
import { Breadcrumb as
|
|
8
|
-
import { TableOfContents as
|
|
9
|
-
import { ContentItem as
|
|
10
|
-
import { FaqSection as
|
|
11
|
-
import { PreviewDownload as
|
|
12
|
-
import { PreviewSection as
|
|
13
|
-
import { TryNowSection as
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
import { JumboDocs as h } from "./JumboDocs.js";
|
|
4
|
+
import { Preform as w } from "./Preform.js";
|
|
5
|
+
import { ProductInfo as N } from "./ProductInfo.js";
|
|
6
|
+
import { BenefitsBar as b } from "./BenefitsBar.js";
|
|
7
|
+
import { Breadcrumb as P } from "./Breadcrumb.js";
|
|
8
|
+
import { TableOfContents as v } from "./TableOfContents.js";
|
|
9
|
+
import { ContentItem as B } from "./ContentItem.js";
|
|
10
|
+
import { FaqSection as T } from "./FaqSection.js";
|
|
11
|
+
import { PreviewDownload as k } from "./PreviewDownload.js";
|
|
12
|
+
import { PreviewSection as C } from "./PreviewSection.js";
|
|
13
|
+
import { TryNowSection as F } from "./TryNowSection.js";
|
|
14
|
+
import { FreeDocumentModal as I } from "./FreeDocumentModal.js";
|
|
15
|
+
const M = ({
|
|
16
|
+
jumbotron: p,
|
|
16
17
|
jumboDocs: r,
|
|
17
|
-
preform:
|
|
18
|
-
productInfo:
|
|
19
|
-
benefitsBar:
|
|
20
|
-
breadcrumb:
|
|
21
|
-
tableOfContents:
|
|
18
|
+
preform: t,
|
|
19
|
+
productInfo: f,
|
|
20
|
+
benefitsBar: s,
|
|
21
|
+
breadcrumb: c,
|
|
22
|
+
tableOfContents: n,
|
|
22
23
|
contentItems: x,
|
|
23
|
-
faqSection:
|
|
24
|
-
previewDownload:
|
|
25
|
-
previewSection:
|
|
26
|
-
tryNowSection: a
|
|
24
|
+
faqSection: d,
|
|
25
|
+
previewDownload: u,
|
|
26
|
+
previewSection: e,
|
|
27
|
+
tryNowSection: a,
|
|
28
|
+
freeDocModal: l
|
|
27
29
|
}) => /* @__PURE__ */ o("main", { className: "flex-1", children: [
|
|
28
|
-
/* @__PURE__ */ m(g, { ...
|
|
29
|
-
r && /* @__PURE__ */ m(
|
|
30
|
-
|
|
31
|
-
/* @__PURE__ */ m(w, { ...p }),
|
|
30
|
+
/* @__PURE__ */ m(g, { ...p }),
|
|
31
|
+
r && /* @__PURE__ */ m(h, { ...r }),
|
|
32
|
+
t && /* @__PURE__ */ m(w, { ...t }),
|
|
32
33
|
/* @__PURE__ */ m(N, { ...f }),
|
|
34
|
+
/* @__PURE__ */ m(b, { ...s }),
|
|
33
35
|
/* @__PURE__ */ m("section", { className: "px-4 pt-6 pb-10 text-neutral-800 md:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ o("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
|
|
34
|
-
/* @__PURE__ */ m(
|
|
36
|
+
/* @__PURE__ */ m(P, { ...c }),
|
|
35
37
|
/* @__PURE__ */ o("div", { className: "flex items-start md:gap-4 lg:gap-26.5 xl:gap-31", children: [
|
|
36
38
|
/* @__PURE__ */ o("div", { className: "flex max-w-100 flex-col gap-8 lg:max-w-137.5 xl:max-w-172.5", children: [
|
|
37
|
-
/* @__PURE__ */ m(
|
|
38
|
-
x.map((
|
|
39
|
-
/* @__PURE__ */ m(
|
|
39
|
+
/* @__PURE__ */ m(v, { ...n }),
|
|
40
|
+
x.map((i) => /* @__PURE__ */ m(B, { ...i }, i.id)),
|
|
41
|
+
/* @__PURE__ */ m(T, { ...d })
|
|
40
42
|
] }),
|
|
41
|
-
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(
|
|
43
|
+
/* @__PURE__ */ m("aside", { className: "sticky top-20 hidden pt-4 md:block", children: /* @__PURE__ */ m(k, { ...u }) })
|
|
42
44
|
] })
|
|
43
45
|
] }) }),
|
|
44
|
-
|
|
45
|
-
a && /* @__PURE__ */ m(
|
|
46
|
+
e && /* @__PURE__ */ m(C, { ...e }),
|
|
47
|
+
a && /* @__PURE__ */ m(F, { ...a }),
|
|
48
|
+
l && /* @__PURE__ */ m(I, { ...l })
|
|
46
49
|
] });
|
|
47
50
|
export {
|
|
48
|
-
|
|
51
|
+
M as ProductTemplate
|
|
49
52
|
};
|