@orion-studios/payload-studio 0.6.0-beta.43 → 0.6.0-beta.45
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/builder-v2/client.d.mts +13 -0
- package/dist/builder-v2/client.d.ts +13 -0
- package/dist/builder-v2/client.js +753 -0
- package/dist/builder-v2/client.mjs +628 -0
- package/dist/builder-v2/index.d.mts +156 -0
- package/dist/builder-v2/index.d.ts +156 -0
- package/dist/builder-v2/index.js +449 -0
- package/dist/builder-v2/index.mjs +403 -0
- package/dist/builder-v2/styles.css +165 -0
- package/package.json +22 -3
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/builder-v2/index.ts
|
|
31
|
+
var builder_v2_exports = {};
|
|
32
|
+
__export(builder_v2_exports, {
|
|
33
|
+
BuilderPageRuntime: () => BuilderPageRuntime,
|
|
34
|
+
appendBuilderV2PageFields: () => appendBuilderV2PageFields,
|
|
35
|
+
compileBuilderV2Output: () => compileBuilderV2Output,
|
|
36
|
+
createBuilderV2PageFields: () => createBuilderV2PageFields,
|
|
37
|
+
createBuilderV2PageService: () => createBuilderV2PageService,
|
|
38
|
+
createEmptyBuilderV2ProjectData: () => createEmptyBuilderV2ProjectData,
|
|
39
|
+
normalizeBuilderV2ProjectData: () => normalizeBuilderV2ProjectData,
|
|
40
|
+
parseBuilderV2DynamicComponents: () => parseBuilderV2DynamicComponents,
|
|
41
|
+
sanitizeBuilderCss: () => sanitizeBuilderCss,
|
|
42
|
+
sanitizeBuilderHtml: () => sanitizeBuilderHtml,
|
|
43
|
+
splitBuilderV2HtmlIntoChunks: () => splitBuilderV2HtmlIntoChunks,
|
|
44
|
+
toBuilderV2EditorInitialData: () => toBuilderV2EditorInitialData
|
|
45
|
+
});
|
|
46
|
+
module.exports = __toCommonJS(builder_v2_exports);
|
|
47
|
+
|
|
48
|
+
// src/builder-v2/payload/builderFields.ts
|
|
49
|
+
var withHiddenAdmin = (field, hidden) => ({
|
|
50
|
+
...field,
|
|
51
|
+
admin: {
|
|
52
|
+
...field.admin || {},
|
|
53
|
+
hidden
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
var createBuilderV2PageFields = (options = {}) => {
|
|
57
|
+
const hidden = options.hidden ?? true;
|
|
58
|
+
return [
|
|
59
|
+
withHiddenAdmin(
|
|
60
|
+
{
|
|
61
|
+
name: "builderMode",
|
|
62
|
+
type: "select",
|
|
63
|
+
defaultValue: "studio-v1",
|
|
64
|
+
options: [
|
|
65
|
+
{ label: "Classic Studio Builder", value: "studio-v1" },
|
|
66
|
+
{ label: "Website Builder V2", value: "grapes-v2" }
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
hidden
|
|
70
|
+
),
|
|
71
|
+
withHiddenAdmin(
|
|
72
|
+
{
|
|
73
|
+
name: "builderProjectData",
|
|
74
|
+
type: "json"
|
|
75
|
+
},
|
|
76
|
+
hidden
|
|
77
|
+
),
|
|
78
|
+
withHiddenAdmin(
|
|
79
|
+
{
|
|
80
|
+
name: "builderPublishedProjectData",
|
|
81
|
+
type: "json"
|
|
82
|
+
},
|
|
83
|
+
hidden
|
|
84
|
+
),
|
|
85
|
+
withHiddenAdmin(
|
|
86
|
+
{
|
|
87
|
+
name: "compiledHtml",
|
|
88
|
+
type: "textarea"
|
|
89
|
+
},
|
|
90
|
+
hidden
|
|
91
|
+
),
|
|
92
|
+
withHiddenAdmin(
|
|
93
|
+
{
|
|
94
|
+
name: "compiledCss",
|
|
95
|
+
type: "textarea"
|
|
96
|
+
},
|
|
97
|
+
hidden
|
|
98
|
+
),
|
|
99
|
+
withHiddenAdmin(
|
|
100
|
+
{
|
|
101
|
+
name: "builderDynamicComponents",
|
|
102
|
+
type: "json"
|
|
103
|
+
},
|
|
104
|
+
hidden
|
|
105
|
+
),
|
|
106
|
+
withHiddenAdmin(
|
|
107
|
+
{
|
|
108
|
+
name: "builderValidationIssues",
|
|
109
|
+
type: "json"
|
|
110
|
+
},
|
|
111
|
+
hidden
|
|
112
|
+
)
|
|
113
|
+
];
|
|
114
|
+
};
|
|
115
|
+
var appendBuilderV2PageFields = (fields, options) => [
|
|
116
|
+
...fields,
|
|
117
|
+
...createBuilderV2PageFields(options)
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
// src/builder-v2/runtime/placeholders.ts
|
|
121
|
+
var placeholderPattern = /<(?<tag>[a-zA-Z][a-zA-Z0-9-]*)\b(?<attrs>[^>]*)data-orion-component=["'](?<component>[^"']+)["'](?<rest>[^>]*)>(?<content>.*?)<\/\k<tag>>/gis;
|
|
122
|
+
var attrPattern = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)=(?:"([^"]*)"|'([^']*)')/g;
|
|
123
|
+
var decodeHtmlAttribute = (value) => value.replace(/"/g, '"').replace(/'/g, "'").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
124
|
+
var parseAttributes = (value) => {
|
|
125
|
+
const props = {};
|
|
126
|
+
let match;
|
|
127
|
+
while ((match = attrPattern.exec(value)) !== null) {
|
|
128
|
+
const name = match[1];
|
|
129
|
+
const rawValue = match[2] ?? match[3] ?? "";
|
|
130
|
+
if (!name.startsWith("data-")) {
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
if (name === "data-orion-component" || name === "data-orion-id") {
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
const propName = name.replace(/^data-orion-/, "").replace(/^data-/, "").replace(/-([a-z])/g, (_, char) => char.toUpperCase());
|
|
137
|
+
props[propName] = decodeHtmlAttribute(rawValue);
|
|
138
|
+
}
|
|
139
|
+
return props;
|
|
140
|
+
};
|
|
141
|
+
var extractAttribute = (attrs, name) => {
|
|
142
|
+
const pattern = new RegExp(`${name}=["']([^"']+)["']`, "i");
|
|
143
|
+
const match = attrs.match(pattern);
|
|
144
|
+
return match ? decodeHtmlAttribute(match[1]) : null;
|
|
145
|
+
};
|
|
146
|
+
var parseBuilderV2DynamicComponents = (html) => {
|
|
147
|
+
const instances = [];
|
|
148
|
+
let match;
|
|
149
|
+
while ((match = placeholderPattern.exec(html)) !== null) {
|
|
150
|
+
const attrs = `${match.groups?.attrs ?? ""} ${match.groups?.rest ?? ""}`;
|
|
151
|
+
const component = match.groups?.component ?? "";
|
|
152
|
+
if (!component) {
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
instances.push({
|
|
156
|
+
component,
|
|
157
|
+
id: extractAttribute(attrs, "data-orion-id") || `component-${instances.length + 1}`,
|
|
158
|
+
props: parseAttributes(attrs)
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
return instances;
|
|
162
|
+
};
|
|
163
|
+
var splitBuilderV2HtmlIntoChunks = (html) => {
|
|
164
|
+
const chunks = [];
|
|
165
|
+
let lastIndex = 0;
|
|
166
|
+
let componentIndex = 0;
|
|
167
|
+
let match;
|
|
168
|
+
while ((match = placeholderPattern.exec(html)) !== null) {
|
|
169
|
+
const before = html.slice(lastIndex, match.index);
|
|
170
|
+
if (before.length > 0) {
|
|
171
|
+
chunks.push({ html: before, kind: "html" });
|
|
172
|
+
}
|
|
173
|
+
const attrs = `${match.groups?.attrs ?? ""} ${match.groups?.rest ?? ""}`;
|
|
174
|
+
const component = match.groups?.component ?? "";
|
|
175
|
+
chunks.push({
|
|
176
|
+
instance: {
|
|
177
|
+
component,
|
|
178
|
+
id: extractAttribute(attrs, "data-orion-id") || `component-${componentIndex + 1}`,
|
|
179
|
+
props: parseAttributes(attrs)
|
|
180
|
+
},
|
|
181
|
+
kind: "component"
|
|
182
|
+
});
|
|
183
|
+
componentIndex += 1;
|
|
184
|
+
lastIndex = match.index + match[0].length;
|
|
185
|
+
}
|
|
186
|
+
const after = html.slice(lastIndex);
|
|
187
|
+
if (after.length > 0) {
|
|
188
|
+
chunks.push({ html: after, kind: "html" });
|
|
189
|
+
}
|
|
190
|
+
return chunks;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
// src/builder-v2/sanitize.ts
|
|
194
|
+
var import_sanitize_html = __toESM(require("sanitize-html"));
|
|
195
|
+
var allowedTags = import_sanitize_html.default.defaults.allowedTags.concat([
|
|
196
|
+
"article",
|
|
197
|
+
"aside",
|
|
198
|
+
"button",
|
|
199
|
+
"figure",
|
|
200
|
+
"figcaption",
|
|
201
|
+
"footer",
|
|
202
|
+
"header",
|
|
203
|
+
"main",
|
|
204
|
+
"nav",
|
|
205
|
+
"section",
|
|
206
|
+
"source",
|
|
207
|
+
"video"
|
|
208
|
+
]);
|
|
209
|
+
var allowedAttributes = {
|
|
210
|
+
...import_sanitize_html.default.defaults.allowedAttributes,
|
|
211
|
+
"*": [
|
|
212
|
+
"aria-*",
|
|
213
|
+
"class",
|
|
214
|
+
"data-*",
|
|
215
|
+
"id",
|
|
216
|
+
"role",
|
|
217
|
+
"style",
|
|
218
|
+
"title"
|
|
219
|
+
],
|
|
220
|
+
a: ["aria-*", "class", "data-*", "href", "id", "name", "rel", "style", "target", "title"],
|
|
221
|
+
button: ["aria-*", "class", "data-*", "disabled", "id", "style", "title", "type"],
|
|
222
|
+
iframe: ["allow", "allowfullscreen", "class", "data-*", "height", "loading", "src", "style", "title", "width"],
|
|
223
|
+
img: ["alt", "class", "data-*", "height", "id", "loading", "sizes", "src", "srcset", "style", "title", "width"],
|
|
224
|
+
source: ["media", "src", "srcset", "type"],
|
|
225
|
+
video: ["autoplay", "class", "controls", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "style", "width"]
|
|
226
|
+
};
|
|
227
|
+
var allowedIframeHosts = [
|
|
228
|
+
"calendar.google.com",
|
|
229
|
+
"calendly.com",
|
|
230
|
+
"player.vimeo.com",
|
|
231
|
+
"www.youtube.com",
|
|
232
|
+
"youtube.com"
|
|
233
|
+
];
|
|
234
|
+
var sanitizeBuilderHtml = (value) => {
|
|
235
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
236
|
+
return "";
|
|
237
|
+
}
|
|
238
|
+
return (0, import_sanitize_html.default)(value, {
|
|
239
|
+
allowedAttributes,
|
|
240
|
+
allowedIframeHostnames: allowedIframeHosts,
|
|
241
|
+
allowedSchemes: ["http", "https", "mailto", "tel"],
|
|
242
|
+
allowedSchemesByTag: {
|
|
243
|
+
img: ["http", "https", "data"]
|
|
244
|
+
},
|
|
245
|
+
allowedTags,
|
|
246
|
+
allowProtocolRelative: false,
|
|
247
|
+
parseStyleAttributes: false
|
|
248
|
+
});
|
|
249
|
+
};
|
|
250
|
+
var sanitizeBuilderCss = (value) => {
|
|
251
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
252
|
+
return "";
|
|
253
|
+
}
|
|
254
|
+
return value.replace(/@import\s+[^;]+;/gi, "").replace(/expression\s*\(/gi, "").replace(/javascript\s*:/gi, "");
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
// src/builder-v2/payload/compile.ts
|
|
258
|
+
var compileBuilderV2Output = (input) => {
|
|
259
|
+
const html = sanitizeBuilderHtml(input.html);
|
|
260
|
+
const css = sanitizeBuilderCss(input.css);
|
|
261
|
+
return {
|
|
262
|
+
css,
|
|
263
|
+
dynamicComponents: parseBuilderV2DynamicComponents(html),
|
|
264
|
+
html
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
// src/builder-v2/projectData.ts
|
|
269
|
+
var isRecord = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
270
|
+
var createEmptyBuilderV2ProjectData = (title = "Untitled Page") => ({
|
|
271
|
+
assets: [],
|
|
272
|
+
pages: [
|
|
273
|
+
{
|
|
274
|
+
component: {
|
|
275
|
+
components: [
|
|
276
|
+
{
|
|
277
|
+
attributes: {
|
|
278
|
+
class: "orion-builder-v2-section"
|
|
279
|
+
},
|
|
280
|
+
components: [
|
|
281
|
+
{
|
|
282
|
+
content: title,
|
|
283
|
+
tagName: "h1",
|
|
284
|
+
type: "text"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
content: "Start building this page by dragging blocks from the panel.",
|
|
288
|
+
tagName: "p",
|
|
289
|
+
type: "text"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
tagName: "section"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
type: "wrapper"
|
|
296
|
+
},
|
|
297
|
+
id: "page",
|
|
298
|
+
name: title
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
styles: []
|
|
302
|
+
});
|
|
303
|
+
var normalizeBuilderV2ProjectData = (value, fallbackTitle = "Untitled Page") => {
|
|
304
|
+
if (!isRecord(value)) {
|
|
305
|
+
return createEmptyBuilderV2ProjectData(fallbackTitle);
|
|
306
|
+
}
|
|
307
|
+
return value;
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
// src/builder-v2/payload/pageService.ts
|
|
311
|
+
var pageTitle = (page) => typeof page.title === "string" && page.title.trim().length > 0 ? page.title : "Untitled Page";
|
|
312
|
+
var toBuilderV2EditorInitialData = (page) => ({
|
|
313
|
+
projectData: normalizeBuilderV2ProjectData(
|
|
314
|
+
page.builderProjectData || page.builderPublishedProjectData,
|
|
315
|
+
pageTitle(page)
|
|
316
|
+
),
|
|
317
|
+
title: pageTitle(page)
|
|
318
|
+
});
|
|
319
|
+
var createBuilderV2PageService = ({
|
|
320
|
+
collectionSlug = "pages",
|
|
321
|
+
payload,
|
|
322
|
+
user
|
|
323
|
+
}) => ({
|
|
324
|
+
getPageForBuilder: async (pageID) => {
|
|
325
|
+
const page = await payload.findByID({
|
|
326
|
+
collection: collectionSlug,
|
|
327
|
+
depth: 2,
|
|
328
|
+
draft: true,
|
|
329
|
+
id: pageID,
|
|
330
|
+
overrideAccess: false,
|
|
331
|
+
user
|
|
332
|
+
});
|
|
333
|
+
return {
|
|
334
|
+
id: String(page.id),
|
|
335
|
+
initialData: toBuilderV2EditorInitialData(page),
|
|
336
|
+
page
|
|
337
|
+
};
|
|
338
|
+
},
|
|
339
|
+
saveDraft: async (pageID, input) => {
|
|
340
|
+
const compiled = compileBuilderV2Output(input.compiled);
|
|
341
|
+
await payload.update({
|
|
342
|
+
collection: collectionSlug,
|
|
343
|
+
data: {
|
|
344
|
+
_status: "draft",
|
|
345
|
+
builderDynamicComponents: compiled.dynamicComponents,
|
|
346
|
+
builderMode: "grapes-v2",
|
|
347
|
+
builderProjectData: input.projectData,
|
|
348
|
+
builderValidationIssues: input.validationIssues || [],
|
|
349
|
+
compiledCss: compiled.css,
|
|
350
|
+
compiledHtml: compiled.html,
|
|
351
|
+
...input.title ? { title: input.title } : {}
|
|
352
|
+
},
|
|
353
|
+
id: pageID,
|
|
354
|
+
overrideAccess: false,
|
|
355
|
+
user
|
|
356
|
+
});
|
|
357
|
+
return {
|
|
358
|
+
compiled,
|
|
359
|
+
id: pageID,
|
|
360
|
+
status: "draft"
|
|
361
|
+
};
|
|
362
|
+
},
|
|
363
|
+
publish: async (pageID, input) => {
|
|
364
|
+
const compiled = compileBuilderV2Output(input.compiled);
|
|
365
|
+
await payload.update({
|
|
366
|
+
collection: collectionSlug,
|
|
367
|
+
data: {
|
|
368
|
+
_status: "published",
|
|
369
|
+
builderDynamicComponents: compiled.dynamicComponents,
|
|
370
|
+
builderMode: "grapes-v2",
|
|
371
|
+
builderProjectData: input.projectData,
|
|
372
|
+
builderPublishedProjectData: input.projectData,
|
|
373
|
+
builderValidationIssues: input.validationIssues || [],
|
|
374
|
+
compiledCss: compiled.css,
|
|
375
|
+
compiledHtml: compiled.html,
|
|
376
|
+
...input.title ? { title: input.title } : {}
|
|
377
|
+
},
|
|
378
|
+
id: pageID,
|
|
379
|
+
overrideAccess: false,
|
|
380
|
+
user
|
|
381
|
+
});
|
|
382
|
+
return {
|
|
383
|
+
compiled,
|
|
384
|
+
id: pageID,
|
|
385
|
+
status: "published"
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
// src/builder-v2/runtime/BuilderPageRuntime.tsx
|
|
391
|
+
var import_react = require("react");
|
|
392
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
393
|
+
var resolveRuntimeComponent = (adapter, type) => {
|
|
394
|
+
const definition = adapter?.components?.[type];
|
|
395
|
+
if (!definition) {
|
|
396
|
+
return null;
|
|
397
|
+
}
|
|
398
|
+
if (typeof definition === "function") {
|
|
399
|
+
return definition;
|
|
400
|
+
}
|
|
401
|
+
return definition.render;
|
|
402
|
+
};
|
|
403
|
+
function BuilderPageRuntime({ adapter, className, page }) {
|
|
404
|
+
const html = sanitizeBuilderHtml(page.compiledHtml);
|
|
405
|
+
const css = sanitizeBuilderCss(page.compiledCss);
|
|
406
|
+
const chunks = splitBuilderV2HtmlIntoChunks(html);
|
|
407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: ["orion-builder-v2-runtime", className].filter(Boolean).join(" "), children: [
|
|
408
|
+
css ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { dangerouslySetInnerHTML: { __html: css } }) : null,
|
|
409
|
+
chunks.map((chunk, index) => {
|
|
410
|
+
if (chunk.kind === "html") {
|
|
411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
412
|
+
"div",
|
|
413
|
+
{
|
|
414
|
+
className: "orion-builder-v2-html-chunk",
|
|
415
|
+
dangerouslySetInnerHTML: { __html: chunk.html }
|
|
416
|
+
},
|
|
417
|
+
`html-${index}`
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
const Component = resolveRuntimeComponent(adapter, chunk.instance.component);
|
|
421
|
+
if (!Component) {
|
|
422
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
423
|
+
"div",
|
|
424
|
+
{
|
|
425
|
+
className: "orion-builder-v2-missing-component",
|
|
426
|
+
"data-orion-missing-component": chunk.instance.component
|
|
427
|
+
},
|
|
428
|
+
`component-${chunk.instance.id}-${index}`
|
|
429
|
+
);
|
|
430
|
+
}
|
|
431
|
+
return (0, import_react.createElement)(import_react.Fragment, { key: `component-${chunk.instance.id}-${index}` }, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { instance: chunk.instance, page }));
|
|
432
|
+
})
|
|
433
|
+
] });
|
|
434
|
+
}
|
|
435
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
436
|
+
0 && (module.exports = {
|
|
437
|
+
BuilderPageRuntime,
|
|
438
|
+
appendBuilderV2PageFields,
|
|
439
|
+
compileBuilderV2Output,
|
|
440
|
+
createBuilderV2PageFields,
|
|
441
|
+
createBuilderV2PageService,
|
|
442
|
+
createEmptyBuilderV2ProjectData,
|
|
443
|
+
normalizeBuilderV2ProjectData,
|
|
444
|
+
parseBuilderV2DynamicComponents,
|
|
445
|
+
sanitizeBuilderCss,
|
|
446
|
+
sanitizeBuilderHtml,
|
|
447
|
+
splitBuilderV2HtmlIntoChunks,
|
|
448
|
+
toBuilderV2EditorInitialData
|
|
449
|
+
});
|