pagepilot-visual-editor 1.0.30 → 1.0.33

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/blocks-internal/block-button/src/index.d.ts +6 -0
  3. package/dist/blocks-internal/block-heading/src/index.d.ts +2 -2
  4. package/dist/blocks-internal/block-list/src/index.d.ts +1 -1
  5. package/dist/editor-sample/App/InspectorDrawer/BehaviourPanel.d.ts +1 -1
  6. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +1 -1
  7. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/VariableLinkHint.d.ts +22 -3
  8. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +1 -1
  9. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers.d.ts +11 -39
  10. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/AiGenerateButton.d.ts +5 -1
  11. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ItemsArrayRepeatSection.d.ts +2 -3
  12. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/aiFill.d.ts +42 -3
  13. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/useAutoRegisterTokenFields.d.ts +8 -0
  14. package/dist/editor-sample/App/InspectorDrawer/components/RichTextAiButton.d.ts +7 -0
  15. package/dist/editor-sample/App/TemplatePanel/pageGuide/iframeSrcDoc.d.ts +3 -6
  16. package/dist/editor-sample/App/shared/PagePreviewFrame.d.ts +17 -2
  17. package/dist/editor-sample/App/shared/editor.styles.d.ts +2 -2
  18. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +4 -0
  19. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +5 -0
  20. package/dist/editor-sample/documents/blocks/Table/TableImportDialog.styles.d.ts +6 -6
  21. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/TableResizeOverlay.d.ts +17 -0
  22. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/saveAsTemplateUtils.d.ts +8 -6
  23. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +22 -2
  24. package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +1 -1
  25. package/dist/editor-sample/documents/blocks/helpers/variableBinding.d.ts +0 -2
  26. package/dist/editor-sample/documents/editor/EditorContext.d.ts +10 -0
  27. package/dist/editor-sample/documents/editor/core.d.ts +20 -2
  28. package/dist/editor-sample/documents/editor/templateVariables.d.ts +29 -13
  29. package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +1 -1
  30. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +4 -0
  31. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +3 -0
  32. package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +4 -2
  33. package/dist/email-builder-core/blocks/MenuPicker/MenuColumns.d.ts +13 -0
  34. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +10 -0
  35. package/dist/email-builder-core/renderers/themeTokens.d.ts +100 -4
  36. package/dist/host-stubs/modules/allSlugs/allSlugsActions.d.ts +1 -0
  37. package/dist/host-stubs/modules/allSlugs/allSlugsSelectors.d.ts +1 -0
  38. package/dist/host-stubs/modules/shared/axios/authAxios.d.ts +1 -0
  39. package/dist/host-stubs/modules/websiteV2/propagateFromPage.d.ts +4 -0
  40. package/dist/host-stubs/view/shared/styles/Table.styles.d.ts +1 -1
  41. package/dist/{index-CStZQ7E0.js → index-BONR8bWR.js} +1 -1
  42. package/dist/{index-B8pdGALF.js → index-B_cb-ZLC.js} +32297 -30421
  43. package/dist/{index-DVx38kGU.cjs → index-BfIWhBCR.cjs} +321 -313
  44. package/dist/{index-C-KL2oQP.cjs → index-CFA3aG_U.cjs} +1 -1
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/render.cjs +157 -149
  48. package/dist/render.js +4332 -3948
  49. package/dist/{xlsx-DUs4Mvqq.cjs → xlsx-CBpoXUEM.cjs} +1 -1
  50. package/dist/{xlsx-bYU68TCR.js → xlsx-DSqBw3Em.js} +1 -1
  51. package/package.json +1 -1
  52. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/AiFillAllDialog.d.ts +0 -21
@@ -1,4 +1,4 @@
1
- "use strict";const $0=require("./index-DVx38kGU.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
1
+ "use strict";const $0=require("./index-BfIWhBCR.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
@@ -1,4 +1,4 @@
1
- import { c as Ln, g as lp, a as op } from "./index-B8pdGALF.js";
1
+ import { c as Ln, g as lp, a as op } from "./index-B_cb-ZLC.js";
2
2
  import { c as B0 } from "./_commonjs-dynamic-modules-BpilXLfW.js";
3
3
  function up(i0, Wr) {
4
4
  for (var o = 0; o < Wr.length; o++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagepilot-visual-editor",
3
- "version": "1.0.30",
3
+ "version": "1.0.33",
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",
@@ -1,21 +0,0 @@
1
- import { TemplateFormField } from '../../../documents/editor/templateVariables';
2
- import { VariableGroup } from '../../../documents/blocks/helpers/documentUtils';
3
- type Props = {
4
- open: boolean;
5
- onClose: () => void;
6
- groups: VariableGroup[];
7
- forms: TemplateFormField[];
8
- document: any;
9
- updateField: (index: number, patch: Partial<TemplateFormField>) => void;
10
- updateFields: (patches: {
11
- index: number;
12
- patch: Partial<TemplateFormField>;
13
- }[]) => void;
14
- };
15
- /**
16
- * Every variable group's fields in one dialog, with a single "Generate with AI"
17
- * that fills them all. Mirrors VariableGroupDialog: edits apply live, Cancel
18
- * restores the snapshot taken on open, Save keeps them.
19
- */
20
- export default function AiFillAllDialog({ open, onClose, groups, forms, document, updateField, updateFields, }: Props): import("react/jsx-runtime").JSX.Element;
21
- export {};