비디오 태그 및 폼 블록 정리
This commit is contained in:
+42
-98
@@ -160,6 +160,23 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const sectionBlocks = blocks.filter((b) => b.type === "section");
|
const sectionBlocks = blocks.filter((b) => b.type === "section");
|
||||||
const rootBlocks = blocks.filter((b) => !b.sectionId && b.type !== "section");
|
const rootBlocks = blocks.filter((b) => !b.sectionId && b.type !== "section");
|
||||||
|
|
||||||
|
// Form 컨트롤러(FormBlock)와 개별 필드 블록(formInput/formSelect/...) 를 연결하기 위한 맵.
|
||||||
|
// - key: 필드 블록 id (fieldIds 에 포함된 id)
|
||||||
|
// - value: 해당 필드가 속한 <form> 요소의 DOM id (예: form_form_1)
|
||||||
|
const fieldIdToFormId = new Map<string, string>();
|
||||||
|
for (const block of blocks) {
|
||||||
|
if (block.type !== "form") continue;
|
||||||
|
const props = (block.props ?? {}) as FormBlockProps;
|
||||||
|
const fieldIds = Array.isArray(props.fieldIds) ? props.fieldIds : [];
|
||||||
|
if (fieldIds.length === 0) continue;
|
||||||
|
const formDomId = `form_${block.id}`;
|
||||||
|
for (const fieldId of fieldIds) {
|
||||||
|
if (typeof fieldId === "string" && fieldId.trim() !== "") {
|
||||||
|
fieldIdToFormId.set(fieldId, formDomId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const renderBlock = (block: Block): string => {
|
const renderBlock = (block: Block): string => {
|
||||||
if (block.type === "text") {
|
if (block.type === "text") {
|
||||||
const props = (block.props ?? {}) as TextBlockProps;
|
const props = (block.props ?? {}) as TextBlockProps;
|
||||||
@@ -316,107 +333,24 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const props = (block.props ?? {}) as FormBlockProps;
|
const props = (block.props ?? {}) as FormBlockProps;
|
||||||
const tokens = computeFormBlockExportTokens(block, blocks);
|
const tokens = computeFormBlockExportTokens(block, blocks);
|
||||||
const controllerFields = tokens.hasControllerFields ? tokens.controllerFields : [];
|
const controllerFields = tokens.hasControllerFields ? tokens.controllerFields : [];
|
||||||
const fallbackFields = tokens.fallbackFields;
|
|
||||||
|
|
||||||
const hasControllerFields = controllerFields.length > 0;
|
const hasControllerFields = controllerFields.length > 0;
|
||||||
const hasFallbackFields = fallbackFields.length > 0;
|
|
||||||
|
|
||||||
// FormBlock 이 컨트롤러/필드 정보를 전혀 가지고 있지 않으면 정적 HTML 에서는 아무 것도 렌더하지 않는다.
|
// FormBlock 이 컨트롤러 필드 정보를 전혀 가지고 있지 않으면
|
||||||
if (!hasControllerFields && !hasFallbackFields) {
|
// Export 레이어에서는 아무 것도 렌더하지 않는다 (fallback fields 기반 pb-form 도 생성하지 않음).
|
||||||
|
if (!hasControllerFields) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
const formParts: string[] = [];
|
// 컨트롤러 전용 FormBlock: fieldIds 기반으로 개별 필드 블록과 연결되는 순수 컨트롤러 폼만 생성한다.
|
||||||
const formStyleAttr = tokens.formStyleParts.length > 0 ? ` style="${tokens.formStyleParts.join(";")}"` : "";
|
// - Export 에서는 레이아웃/스타일을 가지지 않고, id/메서드만 가지는 최소한의 <form> 요소만 만든다.
|
||||||
|
const formId = `form_${block.id}`;
|
||||||
|
const method = props.method ?? "POST";
|
||||||
|
const methodAttr = ` method="${method.toLowerCase()}"`;
|
||||||
|
|
||||||
formParts.push(`<form class="pb-form" method="post"${formStyleAttr}>`);
|
const parts: string[] = [];
|
||||||
|
parts.push(`<form id="${escapeAttr(formId)}" class="pb-form-controller"${methodAttr}></form>`);
|
||||||
if (hasControllerFields) {
|
return parts.join("");
|
||||||
for (const fieldBlock of controllerFields) {
|
|
||||||
const anyProps: any = fieldBlock.props ?? {};
|
|
||||||
const name = typeof anyProps.formFieldName === "string" ? anyProps.formFieldName : fieldBlock.id;
|
|
||||||
const label =
|
|
||||||
typeof anyProps.label === "string" || typeof anyProps.groupLabel === "string"
|
|
||||||
? (anyProps.label ?? anyProps.groupLabel)
|
|
||||||
: name;
|
|
||||||
|
|
||||||
const textColorRaw =
|
|
||||||
typeof anyProps.textColorCustom === "string" && anyProps.textColorCustom.trim() !== ""
|
|
||||||
? anyProps.textColorCustom.trim()
|
|
||||||
: "";
|
|
||||||
const labelStyleAttr = textColorRaw ? ` style="color:${escapeAttr(textColorRaw)}"` : "";
|
|
||||||
const fieldTextStyleAttr = textColorRaw ? ` style="color:${escapeAttr(textColorRaw)}"` : "";
|
|
||||||
|
|
||||||
formParts.push(`<div class="pb-form-field">`);
|
|
||||||
formParts.push(`<label class="pb-form-label"${labelStyleAttr}>${escapeHtml(label ?? "")}</label>`);
|
|
||||||
|
|
||||||
if (fieldBlock.type === "formInput") {
|
|
||||||
const type = anyProps.inputType === "email" ? "email" : "text";
|
|
||||||
const required = anyProps.required ? " required" : "";
|
|
||||||
formParts.push(
|
|
||||||
`<input class="pb-input" type="${type}" name="${escapeAttr(name)}" placeholder="${escapeAttr(
|
|
||||||
label ?? "",
|
|
||||||
)}"${required}${fieldTextStyleAttr} />`,
|
|
||||||
);
|
|
||||||
} else if (fieldBlock.type === "formSelect") {
|
|
||||||
const required = anyProps.required ? " required" : "";
|
|
||||||
const options: FormSelectOption[] = Array.isArray(anyProps.options) ? anyProps.options : [];
|
|
||||||
formParts.push(`<select class="pb-select" name="${escapeAttr(name)}"${required}${fieldTextStyleAttr}>`);
|
|
||||||
for (const opt of options) {
|
|
||||||
formParts.push(
|
|
||||||
`<option value="${escapeAttr(opt.value)}">${escapeHtml(opt.label)}</option>`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
formParts.push(`</select>`);
|
|
||||||
} else if (fieldBlock.type === "formCheckbox") {
|
|
||||||
const options = Array.isArray(anyProps.options) ? anyProps.options : [];
|
|
||||||
for (const opt of options) {
|
|
||||||
formParts.push(
|
|
||||||
`<label class="pb-form-option"${fieldTextStyleAttr}><input type="checkbox" name="${escapeAttr(
|
|
||||||
name,
|
|
||||||
)}" value="${escapeAttr(opt.value)}" /> ${escapeHtml(opt.label)}</label>`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
} else if (fieldBlock.type === "formRadio") {
|
|
||||||
const options = Array.isArray(anyProps.options) ? anyProps.options : [];
|
|
||||||
for (const opt of options) {
|
|
||||||
formParts.push(
|
|
||||||
`<label class="pb-form-option"${fieldTextStyleAttr}><input type="radio" name="${escapeAttr(
|
|
||||||
name,
|
|
||||||
)}" value="${escapeAttr(opt.value)}" /> ${escapeHtml(opt.label)}</label>`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
formParts.push(`</div>`);
|
|
||||||
}
|
|
||||||
} else if (hasFallbackFields) {
|
|
||||||
for (const field of fallbackFields) {
|
|
||||||
const required = field.required ? " required" : "";
|
|
||||||
const label = field.label ?? field.name;
|
|
||||||
formParts.push(`<div class="pb-form-field">`);
|
|
||||||
formParts.push(`<label class="pb-form-label">${escapeHtml(label)}</label>`);
|
|
||||||
if (field.type === "textarea") {
|
|
||||||
formParts.push(
|
|
||||||
`<textarea class="pb-textarea" name="${escapeAttr(field.name)}" placeholder="${escapeAttr(
|
|
||||||
label,
|
|
||||||
)}"${required}></textarea>`,
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
formParts.push(
|
|
||||||
`<input class="pb-input" type="${field.type}" name="${escapeAttr(
|
|
||||||
field.name,
|
|
||||||
)}" placeholder="${escapeAttr(label)}"${required} />`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
formParts.push(`</div>`);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
formParts.push(`<button type="submit" class="pb-btn-base pb-btn-size-md pb-btn-variant-solid-primary">제출</button>`);
|
|
||||||
formParts.push(`</form>`);
|
|
||||||
|
|
||||||
return formParts.join("");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (block.type === "divider") {
|
if (block.type === "divider") {
|
||||||
@@ -449,13 +383,15 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const required = props.required ? " required" : "";
|
const required = props.required ? " required" : "";
|
||||||
|
|
||||||
const tokens = computeFormInputExportTokens(props, { escapeAttr });
|
const tokens = computeFormInputExportTokens(props, { escapeAttr });
|
||||||
|
const formId = fieldIdToFormId.get(block.id);
|
||||||
|
const formAttr = formId ? ` form="${escapeAttr(formId)}"` : "";
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'<div class="pb-form-field">',
|
'<div class="pb-form-field">',
|
||||||
`<label class="pb-form-label"${tokens.labelStyleAttr}>${escapeHtml(label)}</label>`,
|
`<label class="pb-form-label"${tokens.labelStyleAttr}>${escapeHtml(label)}</label>`,
|
||||||
`<input class="pb-input" type="${type}" name="${escapeAttr(name)}" placeholder="${escapeAttr(
|
`<input class="pb-input" type="${type}" name="${escapeAttr(name)}" placeholder="${escapeAttr(
|
||||||
label,
|
label,
|
||||||
)}"${required}${tokens.inputStyleAttr} />`,
|
)}"${required}${tokens.inputStyleAttr}${formAttr} />`,
|
||||||
"</div>",
|
"</div>",
|
||||||
].join("");
|
].join("");
|
||||||
}
|
}
|
||||||
@@ -469,11 +405,15 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const options: FormSelectOption[] = Array.isArray(props.options) ? props.options : [];
|
const options: FormSelectOption[] = Array.isArray(props.options) ? props.options : [];
|
||||||
|
|
||||||
const tokens = computeFormSelectExportTokens(props, { escapeAttr });
|
const tokens = computeFormSelectExportTokens(props, { escapeAttr });
|
||||||
|
const formId = fieldIdToFormId.get(block.id);
|
||||||
|
const formAttr = formId ? ` form="${escapeAttr(formId)}"` : "";
|
||||||
|
|
||||||
const parts: string[] = [];
|
const parts: string[] = [];
|
||||||
parts.push('<div class="pb-form-field">');
|
parts.push('<div class="pb-form-field">');
|
||||||
parts.push(`<label class="pb-form-label"${tokens.labelStyleAttr}>${escapeHtml(label)}</label>`);
|
parts.push(`<label class="pb-form-label"${tokens.labelStyleAttr}>${escapeHtml(label)}</label>`);
|
||||||
parts.push(`<select class="pb-select" name="${escapeAttr(name)}"${required}${tokens.selectStyleAttr}>`);
|
parts.push(
|
||||||
|
`<select class="pb-select" name="${escapeAttr(name)}"${required}${tokens.selectStyleAttr}${formAttr}>`,
|
||||||
|
);
|
||||||
for (const opt of options) {
|
for (const opt of options) {
|
||||||
parts.push(
|
parts.push(
|
||||||
`<option value="${escapeAttr(opt.value)}">${escapeHtml(opt.label)}</option>`,
|
`<option value="${escapeAttr(opt.value)}">${escapeHtml(opt.label)}</option>`,
|
||||||
@@ -495,6 +435,8 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const options = Array.isArray(props.options) ? props.options : [];
|
const options = Array.isArray(props.options) ? props.options : [];
|
||||||
|
|
||||||
const tokens = computeFormCheckboxExportTokens(props, { escapeAttr });
|
const tokens = computeFormCheckboxExportTokens(props, { escapeAttr });
|
||||||
|
const formId = fieldIdToFormId.get(block.id);
|
||||||
|
const formAttr = formId ? ` form="${escapeAttr(formId)}"` : "";
|
||||||
|
|
||||||
const parts: string[] = [];
|
const parts: string[] = [];
|
||||||
parts.push('<div class="pb-form-field">');
|
parts.push('<div class="pb-form-field">');
|
||||||
@@ -503,7 +445,7 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
parts.push(
|
parts.push(
|
||||||
`<label class="pb-form-option"${tokens.optionStyleAttr}><input type="checkbox" name="${escapeAttr(
|
`<label class="pb-form-option"${tokens.optionStyleAttr}><input type="checkbox" name="${escapeAttr(
|
||||||
name,
|
name,
|
||||||
)}" value="${escapeAttr(opt.value)}" /> ${escapeHtml(opt.label)}</label>`,
|
)}" value="${escapeAttr(opt.value)}"${formAttr} /> ${escapeHtml(opt.label)}</label>`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
parts.push("</div>");
|
parts.push("</div>");
|
||||||
@@ -521,6 +463,8 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
const options = Array.isArray(props.options) ? props.options : [];
|
const options = Array.isArray(props.options) ? props.options : [];
|
||||||
|
|
||||||
const tokens = computeFormRadioExportTokens(props, { escapeAttr });
|
const tokens = computeFormRadioExportTokens(props, { escapeAttr });
|
||||||
|
const formId = fieldIdToFormId.get(block.id);
|
||||||
|
const formAttr = formId ? ` form="${escapeAttr(formId)}"` : "";
|
||||||
|
|
||||||
const parts: string[] = [];
|
const parts: string[] = [];
|
||||||
parts.push('<div class="pb-form-field">');
|
parts.push('<div class="pb-form-field">');
|
||||||
@@ -529,7 +473,7 @@ export const buildStaticHtml = (blocks: Block[], projectConfig?: ProjectConfig):
|
|||||||
parts.push(
|
parts.push(
|
||||||
`<label class="pb-form-option"${tokens.optionStyleAttr}><input type="radio" name="${escapeAttr(
|
`<label class="pb-form-option"${tokens.optionStyleAttr}><input type="radio" name="${escapeAttr(
|
||||||
name,
|
name,
|
||||||
)}" value="${escapeAttr(opt.value)}" /> ${escapeHtml(opt.label)}</label>`,
|
)}" value="${escapeAttr(opt.value)}"${formAttr} /> ${escapeHtml(opt.label)}</label>`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
parts.push("</div>");
|
parts.push("</div>");
|
||||||
|
|||||||
@@ -17,6 +17,41 @@ export default function PreviewPage() {
|
|||||||
mainStyle.backgroundColor = projectConfig.bodyBgColorHex;
|
mainStyle.backgroundColor = projectConfig.bodyBgColorHex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleExportZip = async () => {
|
||||||
|
try {
|
||||||
|
const payload = {
|
||||||
|
blocks,
|
||||||
|
projectConfig,
|
||||||
|
};
|
||||||
|
|
||||||
|
const response = await fetch("/api/export", {
|
||||||
|
method: "POST",
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
},
|
||||||
|
body: JSON.stringify(payload),
|
||||||
|
});
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const blob = await response.blob();
|
||||||
|
const url = URL.createObjectURL(blob);
|
||||||
|
const slug = (projectConfig?.slug ?? "").trim() || "page-builder-export";
|
||||||
|
|
||||||
|
const link = document.createElement("a");
|
||||||
|
link.href = url;
|
||||||
|
link.download = `${slug}.zip`;
|
||||||
|
document.body.appendChild(link);
|
||||||
|
link.click();
|
||||||
|
document.body.removeChild(link);
|
||||||
|
URL.revokeObjectURL(url);
|
||||||
|
} catch (error) {
|
||||||
|
console.error("프리뷰 ZIP 내보내기 중 오류", error);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const widthPx =
|
const widthPx =
|
||||||
typeof projectConfig?.canvasWidthPx === "number" && projectConfig.canvasWidthPx > 0
|
typeof projectConfig?.canvasWidthPx === "number" && projectConfig.canvasWidthPx > 0
|
||||||
? projectConfig.canvasWidthPx
|
? projectConfig.canvasWidthPx
|
||||||
@@ -43,12 +78,23 @@ export default function PreviewPage() {
|
|||||||
<h1 className="text-xl font-semibold">Page Preview</h1>
|
<h1 className="text-xl font-semibold">Page Preview</h1>
|
||||||
<p className="text-xs text-slate-400">빌더로 만든 페이지를 미리 보는 화면</p>
|
<p className="text-xs text-slate-400">빌더로 만든 페이지를 미리 보는 화면</p>
|
||||||
</div>
|
</div>
|
||||||
<Link
|
<div className="flex items-center gap-2 text-xs">
|
||||||
href="/editor"
|
<button
|
||||||
className="inline-flex items-center rounded border border-slate-700 bg-slate-900 px-3 py-1 text-xs text-slate-100 hover:bg-slate-800"
|
type="button"
|
||||||
>
|
className="inline-flex items-center rounded border border-slate-700 bg-slate-900 px-3 py-1 text-slate-100 hover:bg-slate-800"
|
||||||
에디터로 돌아가기
|
onClick={() => {
|
||||||
</Link>
|
void handleExportZip();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
페이지 파일로 내보내기 (ZIP)
|
||||||
|
</button>
|
||||||
|
<Link
|
||||||
|
href="/editor"
|
||||||
|
className="inline-flex items-center rounded border border-slate-700 bg-slate-900 px-3 py-1 text-xs text-slate-100 hover:bg-slate-800"
|
||||||
|
>
|
||||||
|
에디터로 돌아가기
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{/* 에디터 크롬 없이 순수 페이지 형태로 블록들을 렌더링하되, projectConfig 에 따라 최대 폭을 제한한다. */}
|
{/* 에디터 크롬 없이 순수 페이지 형태로 블록들을 렌더링하되, projectConfig 에 따라 최대 폭을 제한한다. */}
|
||||||
<section className="flex flex-1 overflow-auto">
|
<section className="flex flex-1 overflow-auto">
|
||||||
|
|||||||
@@ -103,6 +103,10 @@ export function PublicPageRenderer({ blocks }: PublicPageRendererProps) {
|
|||||||
const [formMessage, setFormMessage] = useState<string>("");
|
const [formMessage, setFormMessage] = useState<string>("");
|
||||||
|
|
||||||
const renderBlock = (block: Block) => {
|
const renderBlock = (block: Block) => {
|
||||||
|
if ((block as any).type === "form") {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (block.type === "text") {
|
if (block.type === "text") {
|
||||||
const props = block.props as TextBlockProps;
|
const props = block.props as TextBlockProps;
|
||||||
const tokens = computeTextPublicTokens(props);
|
const tokens = computeTextPublicTokens(props);
|
||||||
@@ -398,6 +402,10 @@ export function PublicPageRenderer({ blocks }: PublicPageRendererProps) {
|
|||||||
const props = block.props as VideoBlockProps;
|
const props = block.props as VideoBlockProps;
|
||||||
const rawUrl = normalizeVideoSourceUrl(props.sourceUrl ?? "");
|
const rawUrl = normalizeVideoSourceUrl(props.sourceUrl ?? "");
|
||||||
|
|
||||||
|
if (!rawUrl) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
const platform = resolveVideoPlatform(rawUrl, props.platform ?? "auto");
|
const platform = resolveVideoPlatform(rawUrl, props.platform ?? "auto");
|
||||||
const embedUrl = buildVideoEmbedUrl(rawUrl, platform, { enableVimeoEmbed: true });
|
const embedUrl = buildVideoEmbedUrl(rawUrl, platform, { enableVimeoEmbed: true });
|
||||||
|
|
||||||
|
|||||||
@@ -408,6 +408,12 @@ body {
|
|||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Form 컨트롤러용 최소 폼: 레이아웃에 영향이 없도록 margin/padding 을 0 으로 고정한다. */
|
||||||
|
.pb-form-controller {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.pb-form-field {
|
.pb-form-field {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
+83
-11
@@ -404,7 +404,7 @@ describe("/api/export", () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("폼 블록과 컨트롤러 필드 블록들은 정적 HTML에서도 폼 요소로 렌더되어야 한다", async () => {
|
it("FormBlock 은 Export 레이어에서 컨트롤러 역할만 하고, 필드 블록들은 form 속성으로 해당 폼과 연결되어야 한다", async () => {
|
||||||
const blocks: Block[] = [
|
const blocks: Block[] = [
|
||||||
{
|
{
|
||||||
id: "form_1",
|
id: "form_1",
|
||||||
@@ -470,18 +470,29 @@ describe("/api/export", () => {
|
|||||||
|
|
||||||
const html = await indexEntry!.async("string");
|
const html = await indexEntry!.async("string");
|
||||||
|
|
||||||
// form 요소와 기본 input/select 가 포함되어야 한다.
|
// FormBlock 은 컨트롤러 전용이므로, Export 에서는 id 를 가진 단일 <form> 컨테이너만 생성하고
|
||||||
expect(html).toContain("<form");
|
// 실제 필드 레이아웃은 개별 formInput/formSelect 블록이 담당한다.
|
||||||
expect(html).toContain("name=\"name\"");
|
// - <form id="form_form_1" ...>
|
||||||
expect(html).toContain("name=\"plan\"");
|
const formId = "form_form_1";
|
||||||
expect(html).toContain("<select");
|
expect(html).toMatch(new RegExp(`<form[^>]*id=\\"${formId}\\"`));
|
||||||
// required: formInput(name) 은 required, formSelect(plan) 은 required 가 없어야 한다.
|
|
||||||
expect(html).toMatch(/name=\"name\"[^>]*required/);
|
// 컨트롤러 필드 블록(formInput/formSelect) 이 렌더한 input/select 는 각각 name 과 form 속성을 가져야 한다.
|
||||||
expect(html).not.toMatch(/name=\"plan\"[^>]*required/);
|
// name="name" input 은 required + form="form_form_1" 이어야 한다.
|
||||||
|
expect(html).toMatch(/name=\"name\"[^>]*required[^>]*form=\"form_form_1\"/);
|
||||||
|
// name="plan" select 는 required 는 아니지만 form="form_form_1" 이어야 한다.
|
||||||
|
expect(html).toMatch(/name=\"plan\"[^>]*form=\"form_form_1\"/);
|
||||||
|
|
||||||
|
// FormBlock 이 자체적으로 필드 레이아웃을 중복 생성하지 않도록,
|
||||||
|
// id 가 form_form_1 인 <form> 내부에는 name="name"/"plan" 필드가 없어야 한다.
|
||||||
|
const formStart = html.indexOf("<form");
|
||||||
|
const formEnd = html.indexOf("</form>", formStart);
|
||||||
|
const formHtml = html.slice(formStart, formEnd);
|
||||||
|
expect(formHtml).not.toContain('name="name"');
|
||||||
|
expect(formHtml).not.toContain('name="plan"');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
it("FormBlock 에 fieldIds/fields 가 모두 없으면 기본 폼/필드를 내보내지 않아야 한다", async () => {
|
it("FormBlock 에 fieldIds/fields 가 모두 없으면 Export 에서 아무 <form>/필드도 생성하지 않아야 한다", async () => {
|
||||||
const blocks: Block[] = [
|
const blocks: Block[] = [
|
||||||
{
|
{
|
||||||
id: "form_fallback_1",
|
id: "form_fallback_1",
|
||||||
@@ -529,6 +540,63 @@ describe("/api/export", () => {
|
|||||||
expect(html).not.toMatch(/name=\"message\"/);
|
expect(html).not.toMatch(/name=\"message\"/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("FormBlock 이 fields[] 만 가지고 있고 fieldIds 가 없더라도, Export 레이어에서 자체 pb-form 레이아웃/폼 UI 를 생성하지 않아야 한다", async () => {
|
||||||
|
const blocks: Block[] = [
|
||||||
|
{
|
||||||
|
id: "form_legacy_1",
|
||||||
|
type: "form",
|
||||||
|
props: {
|
||||||
|
kind: "contact",
|
||||||
|
submitTarget: "internal",
|
||||||
|
fieldIds: [],
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
id: "f1",
|
||||||
|
name: "email",
|
||||||
|
label: "이메일",
|
||||||
|
type: "email",
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
} as any,
|
||||||
|
} as any,
|
||||||
|
];
|
||||||
|
|
||||||
|
const projectConfig: ProjectConfig = {
|
||||||
|
title: "폼 fallback(fields[]) 내보내기 테스트",
|
||||||
|
slug: "form-fallback-fields-export-test",
|
||||||
|
canvasPreset: "full",
|
||||||
|
};
|
||||||
|
|
||||||
|
const payload = { blocks, projectConfig };
|
||||||
|
|
||||||
|
const { POST: handleExport } = await import("@/app/api/export/route");
|
||||||
|
|
||||||
|
const res = await handleExport(
|
||||||
|
new Request(`${BASE_URL}/api/export`, {
|
||||||
|
method: "POST",
|
||||||
|
headers: { "Content-Type": "application/json" },
|
||||||
|
body: JSON.stringify(payload),
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(res.status).toBe(200);
|
||||||
|
|
||||||
|
const arrayBuffer = await res.arrayBuffer();
|
||||||
|
const zip = await JSZip.loadAsync(arrayBuffer);
|
||||||
|
|
||||||
|
const indexEntry = zip.file("index.html");
|
||||||
|
expect(indexEntry).toBeTruthy();
|
||||||
|
|
||||||
|
const html = await indexEntry!.async("string");
|
||||||
|
|
||||||
|
// 새로운 규칙: FormBlock 은 어떤 경우에도 자체 레이아웃/폼 UI 를 생성하지 않는다.
|
||||||
|
// - fallback fields 기반 pb-form 도 더 이상 허용하지 않는다.
|
||||||
|
expect(html).not.toContain("class=\"pb-form\"");
|
||||||
|
expect(html).not.toContain("<form");
|
||||||
|
expect(html).not.toMatch(/name=\"email\"/);
|
||||||
|
});
|
||||||
|
|
||||||
it("/api/image/:id 기반 이미지 URL은 ZIP 안 images/ 디렉터리로 복사되고 HTML에서 상대 경로로 치환되어야 한다", async () => {
|
it("/api/image/:id 기반 이미지 URL은 ZIP 안 images/ 디렉터리로 복사되고 HTML에서 상대 경로로 치환되어야 한다", async () => {
|
||||||
const imageId = `test-image-${Date.now()}`;
|
const imageId = `test-image-${Date.now()}`;
|
||||||
const uploadDir = path.join(process.cwd(), "uploads");
|
const uploadDir = path.join(process.cwd(), "uploads");
|
||||||
@@ -1787,7 +1855,11 @@ describe("/api/export", () => {
|
|||||||
expect(indexEntry).toBeTruthy();
|
expect(indexEntry).toBeTruthy();
|
||||||
|
|
||||||
const html = await indexEntry!.async("string");
|
const html = await indexEntry!.async("string");
|
||||||
expect(html).toContain("<form");
|
|
||||||
|
// 새로운 규칙: FormBlock 은 Export 에서 자체 폼 레이아웃을 생성하지 않는다.
|
||||||
|
// - backgroundColorCustom 이 있더라도 form 요소/컨테이너에 배경색이 적용되지 않아야 한다.
|
||||||
|
// - pb-form 기반 레이아웃도 생성되지 않아야 한다.
|
||||||
|
expect(html).not.toContain("class=\"pb-form\"");
|
||||||
expect(html).not.toContain("background-color:#111111");
|
expect(html).not.toContain("background-color:#111111");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1064,7 +1064,7 @@ test("폼 체크박스 옵션 간격 px 입력이 프리뷰에서도 em 스케
|
|||||||
expect(gapStyles.inlineRowGap.endsWith("em")).toBeTruthy();
|
expect(gapStyles.inlineRowGap.endsWith("em")).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("폼 컨트롤러 고정 너비 px 입력이 프리뷰에서도 em 스케일로 반영되어야 한다", async ({ page }) => {
|
test("FormBlock 은 프리뷰에서 별도 폼 컨트롤러 DOM 을 렌더하지 않아야 한다 (고정 너비 설정 시)", async ({ page }) => {
|
||||||
await page.goto("/editor");
|
await page.goto("/editor");
|
||||||
|
|
||||||
await page.getByRole("button", { name: "폼 블록 추가" }).click();
|
await page.getByRole("button", { name: "폼 블록 추가" }).click();
|
||||||
@@ -1077,23 +1077,11 @@ test("폼 컨트롤러 고정 너비 px 입력이 프리뷰에서도 em 스케
|
|||||||
await page.getByRole("link", { name: "프리뷰 열기" }).click();
|
await page.getByRole("link", { name: "프리뷰 열기" }).click();
|
||||||
await expect(page.getByRole("heading", { name: "Page Preview" })).toBeVisible();
|
await expect(page.getByRole("heading", { name: "Page Preview" })).toBeVisible();
|
||||||
|
|
||||||
const form = page.getByTestId("preview-form-controller").first();
|
const formLocator = page.getByTestId("preview-form-controller");
|
||||||
const inlineStyles = await form.evaluate((el) => {
|
await expect(formLocator).toHaveCount(0);
|
||||||
const element = el as HTMLElement;
|
|
||||||
const s = window.getComputedStyle(element);
|
|
||||||
return {
|
|
||||||
computedWidth: s.width,
|
|
||||||
inlineWidth: element.style.width,
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
const widthPx = parseFloat(inlineStyles.computedWidth);
|
|
||||||
expect(widthPx).toBeGreaterThan(430);
|
|
||||||
expect(widthPx).toBeLessThan(520);
|
|
||||||
expect(inlineStyles.inlineWidth.endsWith("em")).toBeTruthy();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("폼 컨트롤러 상하 여백 px 입력이 프리뷰에서도 em 스케일로 반영되어야 한다", async ({ page }) => {
|
test("FormBlock 은 프리뷰에서 별도 폼 컨트롤러 DOM 을 렌더하지 않아야 한다 (상하 여백 설정 시)", async ({ page }) => {
|
||||||
await page.goto("/editor");
|
await page.goto("/editor");
|
||||||
|
|
||||||
await page.getByRole("button", { name: "폼 블록 추가" }).click();
|
await page.getByRole("button", { name: "폼 블록 추가" }).click();
|
||||||
@@ -1105,20 +1093,8 @@ test("폼 컨트롤러 상하 여백 px 입력이 프리뷰에서도 em 스케
|
|||||||
await page.getByRole("link", { name: "프리뷰 열기" }).click();
|
await page.getByRole("link", { name: "프리뷰 열기" }).click();
|
||||||
await expect(page.getByRole("heading", { name: "Page Preview" })).toBeVisible();
|
await expect(page.getByRole("heading", { name: "Page Preview" })).toBeVisible();
|
||||||
|
|
||||||
const form = page.getByTestId("preview-form-controller").first();
|
const formLocator = page.getByTestId("preview-form-controller");
|
||||||
const inlineStyles = await form.evaluate((el) => {
|
await expect(formLocator).toHaveCount(0);
|
||||||
const element = el as HTMLElement;
|
|
||||||
const s = window.getComputedStyle(element);
|
|
||||||
return {
|
|
||||||
marginTop: s.marginTop,
|
|
||||||
inlineMarginTop: element.style.marginTop,
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
const marginPx = parseFloat(inlineStyles.marginTop);
|
|
||||||
expect(marginPx).toBeGreaterThan(24);
|
|
||||||
expect(marginPx).toBeLessThan(32);
|
|
||||||
expect(inlineStyles.inlineMarginTop.endsWith("em")).toBeTruthy();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("폼 라디오 줄간격 px 입력이 프리뷰에서도 em 스케일로 반영되어야 한다", async ({ page }) => {
|
test("폼 라디오 줄간격 px 입력이 프리뷰에서도 em 스케일로 반영되어야 한다", async ({ page }) => {
|
||||||
|
|||||||
@@ -0,0 +1,91 @@
|
|||||||
|
import { describe, it, expect, beforeEach, afterEach, vi } from "vitest";
|
||||||
|
import { render, screen, fireEvent, cleanup, waitFor } from "@testing-library/react";
|
||||||
|
import type { Block, ProjectConfig } from "@/features/editor/state/editorStore";
|
||||||
|
import PreviewPage from "@/app/preview/page";
|
||||||
|
|
||||||
|
// PreviewPage Export ZIP TDD
|
||||||
|
// - 프리뷰 헤더에 "페이지 파일로 내보내기 (ZIP)" 버튼이 노출되어야 한다.
|
||||||
|
// - 버튼 클릭 시 /api/export 로 blocks + projectConfig 를 payload 로 POST 요청을 보내야 한다.
|
||||||
|
|
||||||
|
let mockState: any;
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
const baseProjectConfig: ProjectConfig = {
|
||||||
|
title: "프리뷰 Export 테스트",
|
||||||
|
slug: "preview-export-test",
|
||||||
|
canvasPreset: "full",
|
||||||
|
} as ProjectConfig;
|
||||||
|
|
||||||
|
mockState = {
|
||||||
|
blocks: [
|
||||||
|
{
|
||||||
|
id: "blk_text_1",
|
||||||
|
type: "text",
|
||||||
|
props: {
|
||||||
|
text: "프리뷰 Export 본문",
|
||||||
|
align: "left",
|
||||||
|
size: "base",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
] as Block[],
|
||||||
|
projectConfig: baseProjectConfig,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
afterEach(() => {
|
||||||
|
cleanup();
|
||||||
|
vi.unstubAllGlobals();
|
||||||
|
});
|
||||||
|
|
||||||
|
vi.mock("@/features/editor/state/editorStore", () => {
|
||||||
|
const useEditorStore = (selector: (state: any) => any) => selector(mockState);
|
||||||
|
return {
|
||||||
|
__esModule: true,
|
||||||
|
useEditorStore,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
vi.mock("next/link", () => {
|
||||||
|
return {
|
||||||
|
__esModule: true,
|
||||||
|
default: ({ href, children }: any) => <a href={href}>{children}</a>,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("PreviewPage - ZIP Export", () => {
|
||||||
|
it("프리뷰 헤더에 ZIP Export 버튼이 노출되어야 한다", () => {
|
||||||
|
render(<PreviewPage />);
|
||||||
|
|
||||||
|
const exportButton = screen.getByText("페이지 파일로 내보내기 (ZIP)");
|
||||||
|
expect(exportButton).toBeTruthy();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("ZIP Export 버튼 클릭 시 /api/export 로 blocks + projectConfig 를 payload 로 POST 해야 한다", async () => {
|
||||||
|
const fetchMock = vi.fn().mockResolvedValue({
|
||||||
|
ok: true,
|
||||||
|
// JSDOM 환경에서 blob() 호출을 안전하게 처리하기 위한 최소 mock
|
||||||
|
blob: vi.fn().mockResolvedValue(new Blob(["dummy-zip"])),
|
||||||
|
} as any);
|
||||||
|
|
||||||
|
vi.stubGlobal("fetch", fetchMock);
|
||||||
|
|
||||||
|
render(<PreviewPage />);
|
||||||
|
|
||||||
|
const exportButton = screen.getByText("페이지 파일로 내보내기 (ZIP)");
|
||||||
|
fireEvent.click(exportButton);
|
||||||
|
|
||||||
|
await waitFor(() => {
|
||||||
|
expect(fetchMock).toHaveBeenCalledTimes(1);
|
||||||
|
});
|
||||||
|
|
||||||
|
const [url, options] = fetchMock.mock.calls[0] as any;
|
||||||
|
expect(url).toBe("/api/export");
|
||||||
|
expect(options.method).toBe("POST");
|
||||||
|
expect(options.headers["Content-Type"]).toBe("application/json");
|
||||||
|
|
||||||
|
const parsed = JSON.parse(options.body);
|
||||||
|
expect(Array.isArray(parsed.blocks)).toBe(true);
|
||||||
|
expect(parsed.blocks[0].id).toBe("blk_text_1");
|
||||||
|
expect(parsed.projectConfig.slug).toBe("preview-export-test");
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -88,7 +88,7 @@ describe("PublicPageRenderer - 블록 배경색", () => {
|
|||||||
expect(listNoBg!.style.backgroundColor === "" || listNoBg!.style.backgroundColor === "transparent").toBe(true);
|
expect(listNoBg!.style.backgroundColor === "" || listNoBg!.style.backgroundColor === "transparent").toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("form 컨트롤러 블록은 backgroundColorCustom 이 설정된 경우에만 폼 래퍼에 배경색이 적용되어야 한다", () => {
|
it("form 컨트롤러 블록은 프리뷰에서 별도 폼 래퍼를 렌더하지 않아야 한다", () => {
|
||||||
const blocksWithBg: Block[] = [
|
const blocksWithBg: Block[] = [
|
||||||
{
|
{
|
||||||
id: "form_with_bg",
|
id: "form_with_bg",
|
||||||
@@ -105,10 +105,10 @@ describe("PublicPageRenderer - 블록 배경색", () => {
|
|||||||
} as any,
|
} as any,
|
||||||
];
|
];
|
||||||
|
|
||||||
const { getByTestId, rerender } = render(<PublicPageRenderer blocks={blocksWithBg} />);
|
const { queryByTestId, rerender } = render(<PublicPageRenderer blocks={blocksWithBg} />);
|
||||||
|
|
||||||
const formWithBg = getByTestId("preview-form-controller") as HTMLFormElement;
|
const formWithBg = queryByTestId("preview-form-controller");
|
||||||
expect(formWithBg.style.backgroundColor).toBe("rgb(17, 17, 17)");
|
expect(formWithBg).toBeNull();
|
||||||
|
|
||||||
const blocksWithoutBg: Block[] = [
|
const blocksWithoutBg: Block[] = [
|
||||||
{
|
{
|
||||||
@@ -126,8 +126,8 @@ describe("PublicPageRenderer - 블록 배경색", () => {
|
|||||||
|
|
||||||
rerender(<PublicPageRenderer blocks={blocksWithoutBg} />);
|
rerender(<PublicPageRenderer blocks={blocksWithoutBg} />);
|
||||||
|
|
||||||
const formNoBg = getByTestId("preview-form-controller") as HTMLFormElement;
|
const formNoBg = queryByTestId("preview-form-controller");
|
||||||
expect(formNoBg.style.backgroundColor === "" || formNoBg.style.backgroundColor === "transparent").toBe(true);
|
expect(formNoBg).toBeNull();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("section 블록은 backgroundColorCustom 이 설정된 경우에만 섹션 요소에 배경색이 적용되어야 한다", () => {
|
it("section 블록은 backgroundColorCustom 이 설정된 경우에만 섹션 요소에 배경색이 적용되어야 한다", () => {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ describe("PublicPageRenderer - 폼 제출 메시지", () => {
|
|||||||
(global as any).fetch = undefined;
|
(global as any).fetch = undefined;
|
||||||
});
|
});
|
||||||
|
|
||||||
it("성공 응답 시 config.successMessage 를 success 스타일로 표시해야 한다", async () => {
|
it("FormBlock 이 있어도 프리뷰에서는 폼 컨트롤러를 렌더하지 않아야 한다 (성공 메시지 설정)", () => {
|
||||||
const blocks: Block[] = [
|
const blocks: Block[] = [
|
||||||
{
|
{
|
||||||
id: "form_success",
|
id: "form_success",
|
||||||
@@ -42,19 +42,12 @@ describe("PublicPageRenderer - 폼 제출 메시지", () => {
|
|||||||
|
|
||||||
render(<PublicPageRenderer blocks={blocks} />);
|
render(<PublicPageRenderer blocks={blocks} />);
|
||||||
|
|
||||||
const form = screen.getByTestId("preview-form-controller");
|
const form = screen.queryByTestId("preview-form-controller");
|
||||||
fireEvent.submit(form);
|
expect(form).toBeNull();
|
||||||
|
expect(fetchMock).not.toHaveBeenCalled();
|
||||||
await waitFor(() => {
|
|
||||||
expect(fetchMock).toHaveBeenCalledTimes(1);
|
|
||||||
});
|
|
||||||
|
|
||||||
const messageEl = await screen.findByText("폼 성공 메시지 (config)");
|
|
||||||
expect(messageEl.textContent).toBe("폼 성공 메시지 (config)");
|
|
||||||
expect(messageEl.className).toContain("text-emerald-400");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("에러 응답 시 config.errorMessage 를 error 스타일로 표시해야 한다", async () => {
|
it("FormBlock 이 있어도 프리뷰에서는 폼 컨트롤러나 에러 메시지를 렌더하지 않아야 한다", () => {
|
||||||
const blocks: Block[] = [
|
const blocks: Block[] = [
|
||||||
{
|
{
|
||||||
id: "form_error",
|
id: "form_error",
|
||||||
@@ -81,15 +74,9 @@ describe("PublicPageRenderer - 폼 제출 메시지", () => {
|
|||||||
|
|
||||||
render(<PublicPageRenderer blocks={blocks} />);
|
render(<PublicPageRenderer blocks={blocks} />);
|
||||||
|
|
||||||
const form = screen.getByTestId("preview-form-controller");
|
const form = screen.queryByTestId("preview-form-controller");
|
||||||
fireEvent.submit(form);
|
expect(form).toBeNull();
|
||||||
|
expect(fetchMock).not.toHaveBeenCalled();
|
||||||
await waitFor(() => {
|
expect(screen.queryByText("폼 에러 메시지 (config)")).toBeNull();
|
||||||
expect(fetchMock).toHaveBeenCalledTimes(1);
|
|
||||||
});
|
|
||||||
|
|
||||||
const messageEl = await screen.findByText("폼 에러 메시지 (config)");
|
|
||||||
expect(messageEl.textContent).toBe("폼 에러 메시지 (config)");
|
|
||||||
expect(messageEl.className).toContain("text-rose-400");
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -192,4 +192,26 @@ describe("PublicPageRenderer - 비디오 블록 스타일", () => {
|
|||||||
expect(wrapper!.style.padding).toBe("2em");
|
expect(wrapper!.style.padding).toBe("2em");
|
||||||
expect(wrapper!.style.borderRadius).toBe("1em");
|
expect(wrapper!.style.borderRadius).toBe("1em");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("sourceUrl 이 비어 있는 비디오 블록은 프리뷰에서 video/iframe 을 렌더하지 않아야 한다", () => {
|
||||||
|
const blocks: Block[] = [
|
||||||
|
{
|
||||||
|
id: "video_empty_src_preview_1",
|
||||||
|
type: "video" as any,
|
||||||
|
props: {
|
||||||
|
sourceUrl: "",
|
||||||
|
align: "center",
|
||||||
|
widthMode: "auto",
|
||||||
|
aspectRatio: "16:9",
|
||||||
|
} as any,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
const { container } = render(<PublicPageRenderer blocks={blocks} />);
|
||||||
|
|
||||||
|
const video = container.querySelector("video");
|
||||||
|
const iframe = container.querySelector("iframe");
|
||||||
|
expect(video).toBeNull();
|
||||||
|
expect(iframe).toBeNull();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-image
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-section-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-video
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
dummy-poster
|
||||||
Reference in New Issue
Block a user