pagepilot-visual-editor 1.0.4 → 1.0.6

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 (193) hide show
  1. package/README.md +277 -54
  2. package/dist/api/ApiClientContext.d.ts +17 -0
  3. package/dist/api/PagepilotApiClient.d.ts +63 -0
  4. package/dist/api/useTenantPlan.d.ts +25 -0
  5. package/dist/blocks-internal/block-button/src/index.d.ts +32 -1
  6. package/dist/blocks-internal/block-button-group/src/index.d.ts +20 -1
  7. package/dist/blocks-internal/block-columns-container/src/index.d.ts +38 -0
  8. package/dist/blocks-internal/block-container/src/index.d.ts +44 -5
  9. package/dist/blocks-internal/block-divider/src/index.d.ts +6 -0
  10. package/dist/blocks-internal/block-grid/src/index.d.ts +6 -0
  11. package/dist/blocks-internal/block-heading/src/index.d.ts +3 -2
  12. package/dist/blocks-internal/block-html/src/index.d.ts +6 -0
  13. package/dist/blocks-internal/block-iframe/src/index.d.ts +4 -0
  14. package/dist/blocks-internal/block-image/src/index.d.ts +17 -0
  15. package/dist/blocks-internal/block-logo/src/index.d.ts +20 -7
  16. package/dist/blocks-internal/block-stepper/src/index.d.ts +2 -2
  17. package/dist/blocks-internal/block-text/src/index.d.ts +1 -1
  18. package/dist/blocks-internal/block-video/src/index.d.ts +4 -0
  19. package/dist/blocks-internal/block-youtube-url/src/index.d.ts +4 -0
  20. package/dist/editor/Shell.d.ts +1 -1
  21. package/dist/editor/blockToggles.d.ts +1 -1
  22. package/dist/editor/publish/PagePublishDialog.d.ts +21 -0
  23. package/dist/editor/types.d.ts +63 -0
  24. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveModeContext.d.ts +12 -0
  25. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/blockStyleClipboard.d.ts +4 -4
  26. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AppBannerPickerSidebarPanel.d.ts +19 -0
  27. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/DemoPickerSidebarPanel.d.ts +31 -0
  28. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +26 -0
  29. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FaqPickerSidebarPanel.d.ts +18 -0
  30. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FormsPickerSidebarPanel.d.ts +18 -0
  31. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +34 -0
  32. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PaginationSidebarPanel.d.ts +7 -0
  33. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TableSidebarPanel.d.ts +9 -0
  34. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TimerSidebarPanel.d.ts +7 -0
  35. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/CollapsibleSection.d.ts +8 -2
  36. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/MediaLibraryButton.d.ts +1 -1
  37. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/SectionWrapper.d.ts +2 -1
  38. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/deviceProp.d.ts +14 -0
  39. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +4 -2
  40. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +7 -1
  41. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +3 -0
  42. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +4 -1
  43. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadiusInput.d.ts +13 -11
  44. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SelectInput.d.ts +15 -0
  45. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/StepperInput.d.ts +19 -0
  46. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInputWithSelect.d.ts +4 -1
  47. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/sanitizeAgainstSchema.d.ts +11 -0
  48. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +2 -1
  49. package/dist/editor-sample/App/InspectorDrawer/EditorBehavior.d.ts +16 -0
  50. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
  51. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/SectionsModal.d.ts +15 -0
  52. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatePreviewDialog.d.ts +14 -0
  53. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatesList.d.ts +45 -0
  54. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/icons/index.d.ts +37 -1
  55. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +101 -0
  56. package/dist/editor-sample/App/InspectorDrawer/PagePilotAiPanel.d.ts +1 -0
  57. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/SeoFieldLabel.d.ts +7 -0
  58. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/SeoPanel.styled.d.ts +12 -0
  59. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/index.d.ts +6 -0
  60. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ApiResponseDialog.d.ts +10 -0
  61. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ArrayFieldEditor.d.ts +14 -0
  62. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ContainerRepeatSection.d.ts +9 -0
  63. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/DataReferenceDialog.d.ts +15 -0
  64. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/DataReferencePanel.d.ts +20 -0
  65. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/GrowDirectionDialog.d.ts +13 -0
  66. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/RowCard.d.ts +23 -0
  67. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/SectionHeader.d.ts +13 -0
  68. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/VariablesPaywall.d.ts +1 -0
  69. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/constants.d.ts +2 -0
  70. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/dataReferenceUtils.d.ts +34 -0
  71. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/index.d.ts +1 -0
  72. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/repeatRowActions.d.ts +31 -0
  73. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/styles.d.ts +53 -0
  74. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/upgradeDialog.d.ts +4 -0
  75. package/dist/editor-sample/App/InspectorDrawer/components/MiniRichTextInput.d.ts +7 -0
  76. package/dist/editor-sample/App/InspectorDrawer/components/ScalarFieldInput.d.ts +10 -0
  77. package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
  78. package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  79. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerEditor.d.ts +18 -0
  80. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +14 -0
  81. package/dist/editor-sample/documents/blocks/AppBannerPicker/appBanner.styled.d.ts +2 -0
  82. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +20 -1
  83. package/dist/editor-sample/documents/blocks/Carousel/CarouselPropsSchema.d.ts +7 -0
  84. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +38 -0
  85. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +56 -3
  86. package/dist/editor-sample/documents/blocks/DemoPicker/DemoEditor.d.ts +3 -0
  87. package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +37 -0
  88. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts +2 -0
  89. package/dist/editor-sample/documents/blocks/{PagePilotLayout/PagePilotLayoutPropsSchema.d.ts → EmailLayout/EmailLayoutPropsSchema.d.ts} +51 -4
  90. package/dist/editor-sample/documents/blocks/FaqPicker/FaqEditor.d.ts +18 -0
  91. package/dist/editor-sample/documents/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +14 -0
  92. package/dist/editor-sample/documents/blocks/FaqPicker/faqPicker.styled.d.ts +3 -0
  93. package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsEditor.d.ts +6 -0
  94. package/dist/editor-sample/documents/blocks/FormsPicker/FormsEditor.d.ts +3 -0
  95. package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +33 -0
  96. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +13 -2
  97. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +12 -0
  98. package/dist/editor-sample/documents/blocks/MenuPicker/MenuEditor.d.ts +7 -0
  99. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +45 -0
  100. package/dist/editor-sample/documents/blocks/MenuPicker/mergeMenuItems.d.ts +13 -0
  101. package/dist/editor-sample/documents/blocks/Pagination/PaginationEditor.d.ts +2 -0
  102. package/dist/editor-sample/documents/blocks/Pagination/PaginationPropsSchema.d.ts +4 -0
  103. package/dist/editor-sample/documents/blocks/Table/TableCellEditor.d.ts +11 -0
  104. package/dist/editor-sample/documents/blocks/Table/TableEditor.d.ts +2 -0
  105. package/dist/editor-sample/documents/blocks/Table/TablePropsSchema.d.ts +1 -0
  106. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +12 -0
  107. package/dist/editor-sample/documents/blocks/Timer/TimerEditor.d.ts +2 -0
  108. package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +38 -0
  109. package/dist/editor-sample/documents/blocks/Timer/timerMath.d.ts +9 -0
  110. package/dist/editor-sample/documents/blocks/Timer/variants/CircularProgressView.d.ts +9 -0
  111. package/dist/editor-sample/documents/blocks/Timer/variants/DigitalFlipView.d.ts +9 -0
  112. package/dist/editor-sample/documents/blocks/Timer/variants/TextInlineView.d.ts +9 -0
  113. package/dist/editor-sample/documents/blocks/helpers/BlockCategories.d.ts +1 -0
  114. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +1 -1
  115. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +1 -1
  116. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +2 -1
  117. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +2 -1
  118. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/blockMenuStyles.d.ts +11 -0
  119. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/brandButtonDefaults.d.ts +4 -2
  120. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +8 -0
  121. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/gridPresets.d.ts +17 -0
  122. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +3 -2
  123. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +2 -1
  124. package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +2 -0
  125. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/saveAsTemplateUtils.d.ts +97 -0
  126. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +96 -17
  127. package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +106 -0
  128. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +1 -1
  129. package/dist/editor-sample/documents/editor/EditorContext.d.ts +11 -2
  130. package/dist/editor-sample/documents/editor/core.d.ts +575 -16
  131. package/dist/editor-sample/documents/editor/templateVariables.d.ts +73 -0
  132. package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  133. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +16 -0
  134. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerReader.d.ts +3 -0
  135. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +20 -1
  136. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +4 -0
  137. package/dist/email-builder-core/blocks/Carousel/CarouselPropsSchema.d.ts +6 -0
  138. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +38 -0
  139. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +56 -3
  140. package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +36 -0
  141. package/dist/email-builder-core/blocks/DemoPicker/DemoReader.d.ts +3 -0
  142. package/dist/email-builder-core/blocks/{PagePilotLayout/PagePilotLayoutPropsSchema.d.ts → EmailLayout/EmailLayoutPropsSchema.d.ts} +41 -2
  143. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutReader.d.ts +3 -0
  144. package/dist/email-builder-core/blocks/EmailLayout/emailLayoutResponsive.d.ts +46 -0
  145. package/dist/email-builder-core/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +16 -0
  146. package/dist/email-builder-core/blocks/FaqPicker/FaqReader.d.ts +3 -0
  147. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +23 -2
  148. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsReader.d.ts +6 -0
  149. package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +71 -1
  150. package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +19 -0
  151. package/dist/email-builder-core/blocks/FormsPicker/FormsReader.d.ts +3 -0
  152. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +12 -2
  153. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +16 -0
  154. package/dist/email-builder-core/blocks/Marquee/MarqueeReader.d.ts +1 -1
  155. package/dist/email-builder-core/blocks/Marquee/marqueeMotion.d.ts +40 -0
  156. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +87 -0
  157. package/dist/email-builder-core/blocks/MenuPicker/MenuReader.d.ts +3 -0
  158. package/dist/email-builder-core/blocks/MenuPicker/menuResponsiveCss.d.ts +27 -0
  159. package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +119 -0
  160. package/dist/email-builder-core/blocks/Pagination/PaginationReader.d.ts +2 -0
  161. package/dist/email-builder-core/blocks/Pagination/paginationShared.d.ts +74 -0
  162. package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +48 -0
  163. package/dist/email-builder-core/blocks/Table/TableReader.d.ts +13 -0
  164. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +12 -0
  165. package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +38 -0
  166. package/dist/email-builder-core/blocks/Timer/TimerReader.d.ts +2 -0
  167. package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +11 -0
  168. package/dist/email-builder-core/blocks/Timer/variants/DigitalFlipView.d.ts +11 -0
  169. package/dist/email-builder-core/blocks/Timer/variants/TextInlineView.d.ts +11 -0
  170. package/dist/email-builder-core/blocks/responsiveBreakpoints.d.ts +32 -0
  171. package/dist/host-stubs/modules/_hostListShim.d.ts +18 -0
  172. package/dist/host-stubs/modules/appBannerV2/list/appBannerListActions.d.ts +1 -0
  173. package/dist/host-stubs/modules/appBannerV2/list/appBannerListSelectors.d.ts +1 -0
  174. package/dist/host-stubs/modules/demo/list/demoListActions.d.ts +1 -0
  175. package/dist/host-stubs/modules/demo/list/demoListSelectors.d.ts +1 -0
  176. package/dist/host-stubs/modules/faqGroup/list/faqGroupListActions.d.ts +1 -0
  177. package/dist/host-stubs/modules/faqGroup/list/faqGroupListSelectors.d.ts +1 -0
  178. package/dist/host-stubs/modules/forms/formsService.d.ts +9 -0
  179. package/dist/host-stubs/modules/menu/list/menuListActions.d.ts +1 -0
  180. package/dist/host-stubs/modules/menu/list/menuListSelectors.d.ts +1 -0
  181. package/dist/host-stubs/modules/store.d.ts +3 -0
  182. package/dist/host-stubs/react-redux.d.ts +3 -0
  183. package/dist/host-stubs/style/menu.styled.d.ts +73 -15
  184. package/dist/host-stubs/tanstack-react-query.d.ts +9 -0
  185. package/dist/host-stubs/view/shared/htmlSanitize.d.ts +15 -0
  186. package/dist/index.cjs +381 -817
  187. package/dist/index.d.ts +2 -0
  188. package/dist/index.js +64041 -101752
  189. package/dist/style.css +1 -1
  190. package/package.json +2 -10
  191. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PagePilotLayoutSidebarPanel.d.ts +0 -24
  192. package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutEditor.d.ts +0 -2
  193. package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutReader.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -6,3 +6,5 @@ export { setPagePilotEditorTranslations, resetPagePilotEditorTranslations, } fro
6
6
  export { Reader, ReaderBlock, renderToStaticMarkup, ReaderBlockSchema, ReaderDocumentSchema, } from './email-builder-core';
7
7
  export type { TReaderBlock, TReaderDocument, TReaderBlockProps, TReaderProps, } from './email-builder-core';
8
8
  export * as EditorContext from './editor-sample/documents/editor/EditorContext';
9
+ export { PagepilotApiClient } from './api/PagepilotApiClient';
10
+ export type { PagepilotApiConfig, ListParams, PageListRow, PageListResponse, } from './api/PagepilotApiClient';