pagepilot-visual-editor 1.0.26 → 1.0.28
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/CHANGELOG.md +49 -0
- package/dist/blocks-internal/block-button/src/index.d.ts +10 -9
- package/dist/blocks-internal/block-button/src/styles.d.ts +5 -0
- package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -0
- package/dist/blocks-internal/block-container/src/index.d.ts +5 -5
- package/dist/blocks-internal/block-heading/src/index.d.ts +30 -1
- package/dist/blocks-internal/block-image/src/index.d.ts +46 -11
- package/dist/blocks-internal/block-logo/src/index.d.ts +17 -11
- package/dist/blocks-internal/block-text/src/index.d.ts +25 -0
- package/dist/blocks-internal/block-video/src/index.d.ts +6 -0
- package/dist/blocks-internal/block-youtube-url/src/index.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
- package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +1 -1
- package/dist/editor-sample/documents/blocks/Table/TableImportDialog.styles.d.ts +7 -7
- package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +3 -16
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +2 -2
- package/dist/editor-sample/documents/editor/core.d.ts +123 -27
- package/dist/email-builder-core/Reader/resolveResponsiveBlock.d.ts +17 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +6 -4
- package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +1 -1
- package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutReader.d.ts +1 -1
- package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +12 -0
- package/dist/email-builder-core/blocks/MenuPicker/menuResponsiveCss.d.ts +1 -0
- package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +2 -0
- package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
- package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +37 -1
- package/dist/email-builder-core/renderers/animationCss.d.ts +5 -5
- package/dist/email-builder-core/renderers/pageScripts.d.ts +1 -11
- package/dist/email-builder-core/renderers/renderToStaticMarkup.d.ts +4 -2
- package/dist/email-builder-core/renderers/themeTokens.d.ts +130 -0
- package/dist/host-stubs/modules/settings/settingsSelectors.d.ts +5 -0
- package/dist/host-stubs/style/menu.styled.d.ts +5 -1
- package/dist/host-stubs/view/branding/brandDefaultFont.d.ts +3 -0
- package/dist/host-stubs/view/shared/editors/highlightCode.d.ts +1 -0
- package/dist/{index-BNqa-SV3.cjs → index-Br_dDd3Z.cjs} +359 -1226
- package/dist/{index-C4zNSWXe.js → index-Cp5AeqH5.js} +1 -1
- package/dist/{index-Dk7bp7l0.js → index-DcN8zC8_.js} +24173 -24385
- package/dist/{index-Cu-dtp0Q.cjs → index-SYmY8c1I.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render-core/repeatRowManagement.d.ts +96 -0
- package/dist/render-core/stubs/editorContext.d.ts +3 -1
- package/dist/render.cjs +266 -1133
- package/dist/render.d.ts +2 -0
- package/dist/render.js +8969 -8627
- package/dist/renderToStaticHtml.d.ts +9 -1
- package/dist/{xlsx-Cd1etxFW.js → xlsx-Bk2GErZO.js} +1 -1
- package/dist/{xlsx-C6JQXDb3.cjs → xlsx-vznvhtjT.cjs} +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,14 @@ interface BaseRenderOptions {
|
|
|
17
17
|
headHtml?: string;
|
|
18
18
|
bodyBottomHtml?: string;
|
|
19
19
|
isBanner?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Record type the document belongs to ("page", "faq", "app-banner", …).
|
|
22
|
+
* EmailLayout sniffs this from the browser URL in the editor; under Node
|
|
23
|
+
* there is no URL, so a page render must pass `"page"` or a layout with no
|
|
24
|
+
* authored width falls back to 320px instead of 100%. Defaults to `"page"`
|
|
25
|
+
* for the pageId / pagePath shapes; unset otherwise.
|
|
26
|
+
*/
|
|
27
|
+
recordType?: string;
|
|
20
28
|
}
|
|
21
29
|
interface ApiCommonOptions extends BaseRenderOptions {
|
|
22
30
|
/** API root, e.g. "https://pagepilot.fabbuilder.com/api". */
|
|
@@ -74,7 +82,7 @@ export interface RenderToStaticHtmlPagePathOptions extends ApiCommonOptions, Api
|
|
|
74
82
|
/**
|
|
75
83
|
* Page slug/path to fetch via `/tenant/:tenantId/pagebypath/:pagePath` —
|
|
76
84
|
* the route external embedders use. Response is shaped
|
|
77
|
-
* `{
|
|
85
|
+
* `{ data: { sections: [...], metaTitle, ... } }` when cached.
|
|
78
86
|
*/
|
|
79
87
|
pagePath: string;
|
|
80
88
|
pageId?: undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const $0=require("./index-
|
|
1
|
+
"use strict";const $0=require("./index-Br_dDd3Z.cjs"),B0=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function op(i0,Wr){for(var l=0;l<Wr.length;l++){const x=Wr[l];if(typeof x!="string"&&!Array.isArray(x)){for(const a in x)if(a!=="default"&&!(a in i0)){const e=Object.getOwnPropertyDescriptor(x,a);e&&Object.defineProperty(i0,a,e.get?e:{enumerable:!0,get:()=>x[a]})}}}return Object.freeze(Object.defineProperty(i0,Symbol.toStringTag,{value:"Module"}))}var gi={exports:{}},xi={exports:{}},Ef;function Cf(){return Ef||(Ef=1,function(i0){var Wr={version:"1.14.0"};Wr[437]=function(){for(var l=`\0\x07\b
|
|
2
2
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[620]=function(){for(var l=`\0\x07\b
|
|
3
3
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[737]=function(){for(var l=`\0\x07\b
|
|
4
4
|
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[850]=function(){for(var l=`\0\x07\b
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pagepilot-visual-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "Standalone visual editor — drop <PagePilotEditor> into any React app and get Style/Layout/Inspect/Layers panels, drag-and-drop blocks, undo/redo, dirty-tracked save, multi-section pages, and light/dark themes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|