pagepilot-visual-editor 1.0.30 → 1.0.34

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 (77) hide show
  1. package/CHANGELOG.md +39 -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 +34 -3
  8. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +1 -1
  9. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/ChangeDesignFlow.d.ts +12 -0
  10. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/ChangeTemplateCompareDialog.d.ts +23 -0
  11. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/ChangeTemplateVariablesPane.d.ts +14 -0
  12. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/SectionsModal.d.ts +5 -0
  13. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateCategory.d.ts +1 -0
  14. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers.d.ts +22 -62
  15. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/AiGenerateButton.d.ts +5 -1
  16. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/EditVariableDialog.d.ts +9 -0
  17. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ItemsArrayRepeatSection.d.ts +2 -3
  18. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/RowCard.d.ts +6 -2
  19. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ScalarFieldRow.d.ts +3 -1
  20. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/aiFill.d.ts +42 -3
  21. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/useAutoRegisterTokenFields.d.ts +13 -0
  22. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/variableEditActions.d.ts +32 -0
  23. package/dist/editor-sample/App/InspectorDrawer/components/DateFieldControls.d.ts +2 -1
  24. package/dist/editor-sample/App/InspectorDrawer/components/DateTimeFieldControls.d.ts +2 -1
  25. package/dist/editor-sample/App/InspectorDrawer/components/MiniRichTextInput.d.ts +1 -0
  26. package/dist/editor-sample/App/InspectorDrawer/components/RichTextAiButton.d.ts +7 -0
  27. package/dist/editor-sample/App/InspectorDrawer/components/ScalarFieldInput.d.ts +2 -1
  28. package/dist/editor-sample/App/InspectorDrawer/components/TimeFieldControls.d.ts +2 -1
  29. package/dist/editor-sample/App/TemplatePanel/pageGuide/iframeSrcDoc.d.ts +3 -6
  30. package/dist/editor-sample/App/shared/PagePreviewFrame.d.ts +17 -2
  31. package/dist/editor-sample/App/shared/SectionsDropdown.d.ts +2 -2
  32. package/dist/editor-sample/App/shared/editor.styles.d.ts +2 -2
  33. package/dist/editor-sample/App/shared/pageSections.d.ts +7 -0
  34. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +4 -0
  35. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +8 -0
  36. package/dist/editor-sample/documents/blocks/MenuPicker/menuBlockLabel.d.ts +4 -0
  37. package/dist/editor-sample/documents/blocks/Table/TableImportDialog.styles.d.ts +6 -6
  38. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/ScopePickerMenu.d.ts +3 -2
  39. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +2 -1
  40. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/TableResizeOverlay.d.ts +17 -0
  41. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/saveAsTemplateUtils.d.ts +18 -6
  42. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +28 -2
  43. package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +1 -1
  44. package/dist/editor-sample/documents/blocks/helpers/variableBinding.d.ts +0 -2
  45. package/dist/editor-sample/documents/editor/EditorContext.d.ts +10 -0
  46. package/dist/editor-sample/documents/editor/changeSectionDesign.d.ts +36 -0
  47. package/dist/editor-sample/documents/editor/core.d.ts +23 -2
  48. package/dist/editor-sample/documents/editor/sectionScope.d.ts +73 -0
  49. package/dist/editor-sample/documents/editor/templateVariables.d.ts +31 -14
  50. package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +1 -1
  51. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +4 -0
  52. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +3 -0
  53. package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +4 -2
  54. package/dist/email-builder-core/blocks/MenuPicker/MenuColumns.d.ts +15 -0
  55. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +16 -0
  56. package/dist/email-builder-core/renderers/themeTokens.d.ts +100 -4
  57. package/dist/host-stubs/modules/allSlugs/allSlugsActions.d.ts +1 -0
  58. package/dist/host-stubs/modules/allSlugs/allSlugsSelectors.d.ts +1 -0
  59. package/dist/host-stubs/modules/content/view/contentViewSelectors.d.ts +4 -0
  60. package/dist/host-stubs/modules/shared/axios/authAxios.d.ts +1 -0
  61. package/dist/host-stubs/modules/websiteV2/propagateFromPage.d.ts +4 -0
  62. package/dist/host-stubs/view/page/form/dialog/PageVariablesPreview.d.ts +5 -0
  63. package/dist/host-stubs/view/shared/styles/Table.styles.d.ts +1 -1
  64. package/dist/host-stubs/view/template/form/fields/renameFieldTokens.d.ts +26 -0
  65. package/dist/host-stubs/view/template/form/fields/types.d.ts +101 -0
  66. package/dist/{index-DVx38kGU.cjs → index-BksEeUhc.cjs} +340 -332
  67. package/dist/{index-B8pdGALF.js → index-Bqru3CFh.js} +59714 -56281
  68. package/dist/{index-C-KL2oQP.cjs → index-BszXspnA.cjs} +1 -1
  69. package/dist/{index-CStZQ7E0.js → index-CI-ydHOL.js} +1 -1
  70. package/dist/index.cjs +1 -1
  71. package/dist/index.js +1 -1
  72. package/dist/render.cjs +176 -168
  73. package/dist/render.js +4542 -4134
  74. package/dist/{xlsx-bYU68TCR.js → xlsx-BJAjl_m-.js} +1 -1
  75. package/dist/{xlsx-DUs4Mvqq.cjs → xlsx-D2eLxkb-.cjs} +1 -1
  76. package/package.json +1 -1
  77. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/AiFillAllDialog.d.ts +0 -21
@@ -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-Bqru3CFh.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++) {
@@ -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-BksEeUhc.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.30",
3
+ "version": "1.0.34",
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 {};