pagepilot-visual-editor 1.0.6 → 1.0.8

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 (104) hide show
  1. package/README.md +214 -16
  2. package/dist/blocks-internal/block-button/src/index.d.ts +15 -9
  3. package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -6
  4. package/dist/blocks-internal/block-columns-container/src/index.d.ts +3 -3
  5. package/dist/blocks-internal/block-container/src/index.d.ts +11 -11
  6. package/dist/blocks-internal/block-grid/src/index.d.ts +1 -1
  7. package/dist/blocks-internal/block-heading/src/index.d.ts +11 -5
  8. package/dist/blocks-internal/block-html/src/index.d.ts +2 -2
  9. package/dist/blocks-internal/block-iframe/src/index.d.ts +2 -2
  10. package/dist/blocks-internal/block-image/src/index.d.ts +5 -3
  11. package/dist/blocks-internal/block-list/src/index.d.ts +90 -0
  12. package/dist/blocks-internal/block-logo/src/index.d.ts +2 -2
  13. package/dist/blocks-internal/block-stepper/src/index.d.ts +10 -4
  14. package/dist/blocks-internal/block-text/src/index.d.ts +9 -3
  15. package/dist/blocks-internal/block-video/src/index.d.ts +3 -3
  16. package/dist/blocks-internal/block-youtube-url/src/index.d.ts +3 -3
  17. package/dist/editor/Shell.d.ts +1 -1
  18. package/dist/editor/Topbar.d.ts +5 -1
  19. package/dist/editor/blockToggles.d.ts +1 -1
  20. package/dist/editor/publish/PagePublishDialog.d.ts +7 -0
  21. package/dist/editor/types.d.ts +35 -0
  22. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveDeviceTabs.d.ts +8 -0
  23. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveEditingBanner.d.ts +13 -0
  24. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AppBannerPickerSidebarPanel.d.ts +7 -0
  25. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FaqPickerSidebarPanel.d.ts +7 -0
  26. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ListSidebarPanel.d.ts +7 -0
  27. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
  28. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatesList.d.ts +19 -4
  29. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/UpgradeDialogView.d.ts +1 -0
  30. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/upgradeDialog.d.ts +15 -0
  31. package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +1 -2
  32. package/dist/editor-sample/App/TemplatePanel/minimap/MiniMap.d.ts +6 -0
  33. package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +17 -0
  34. package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapSync.d.ts +24 -0
  35. package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapThumbnail.d.ts +8 -0
  36. package/dist/editor-sample/App/hooks/useAutosave.d.ts +10 -0
  37. package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
  38. package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  39. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerEditor.d.ts +7 -0
  40. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
  41. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  42. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
  43. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +11 -11
  44. package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  45. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +3 -3
  46. package/dist/editor-sample/documents/blocks/FaqPicker/FaqEditor.d.ts +7 -0
  47. package/dist/editor-sample/documents/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
  48. package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  49. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +3 -3
  50. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
  51. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +2 -2
  52. package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  53. package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +8 -2
  54. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
  55. package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +6 -0
  56. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +4 -1
  57. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +3 -2
  58. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +14 -8
  59. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +1 -0
  60. package/dist/editor-sample/documents/blocks/helpers/responsiveInstanceCss.d.ts +6 -0
  61. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +2 -2
  62. package/dist/editor-sample/documents/editor/EditorBlock.d.ts +6 -2
  63. package/dist/editor-sample/documents/editor/EditorContext.d.ts +15 -1
  64. package/dist/editor-sample/documents/editor/core.d.ts +248 -85
  65. package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +21 -3
  66. package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  67. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
  68. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  69. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +8 -2
  70. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
  71. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +11 -11
  72. package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  73. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +5 -5
  74. package/dist/email-builder-core/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
  75. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +5 -5
  76. package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  77. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +3 -3
  78. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
  79. package/dist/email-builder-core/blocks/Marquee/marqueeMotion.d.ts +3 -1
  80. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +4 -4
  81. package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +5 -5
  82. package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  83. package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +8 -2
  84. package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +12 -2
  85. package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +8 -2
  86. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
  87. package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +6 -0
  88. package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +1 -0
  89. package/dist/email-builder-core/renderers/pageScripts.d.ts +8 -0
  90. package/dist/host-stubs/i18n.d.ts +1 -1
  91. package/dist/host-stubs/style/menu.styled.d.ts +7 -1
  92. package/dist/host-stubs/view/media/IconLibrary/ChooseImageDialog.d.ts +10 -0
  93. package/dist/host-stubs/view/media/IconLibrary/IconGrid.d.ts +8 -0
  94. package/dist/host-stubs/view/media/IconLibrary/IconGridCell.d.ts +8 -0
  95. package/dist/host-stubs/view/media/IconLibrary/IconLibraryModal.d.ts +6 -0
  96. package/dist/host-stubs/view/media/IconLibrary/IconProvider.d.ts +4 -0
  97. package/dist/host-stubs/view/media/IconLibrary/IconSearch.d.ts +6 -0
  98. package/dist/host-stubs/view/media/IconLibrary/iconLoaders.d.ts +6 -0
  99. package/dist/host-stubs/view/media/IconLibrary/iconNames.d.ts +1 -0
  100. package/dist/host-stubs/view/media/IconLibrary/index.d.ts +6 -0
  101. package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +8 -6
  102. package/dist/index.cjs +289 -288
  103. package/dist/index.js +42064 -34311
  104. package/package.json +11 -10
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ type TIconLoader = () => Promise<{
3
+ default: React.ComponentType<any>;
4
+ }>;
5
+ export declare const ICON_LOADERS: Record<string, TIconLoader>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const ICON_NAMES: string[];
@@ -0,0 +1,6 @@
1
+ export { default as ChooseImageDialog } from './ChooseImageDialog';
2
+ export { default as IconLibraryModal } from './IconLibraryModal';
3
+ export { default as IconGrid } from './IconGrid';
4
+ export { default as IconSearch } from './IconSearch';
5
+ export { resolveIconToDataUri } from './IconProvider';
6
+ export { ICON_NAMES } from './iconNames';
@@ -1,11 +1,13 @@
1
- import * as React from "react";
1
+ import { default as React } from 'react';
2
2
  export interface PopupConfirmProps {
3
3
  title?: React.ReactNode;
4
4
  description?: React.ReactNode;
5
- okText?: React.ReactNode;
6
- cancelText?: React.ReactNode;
7
- onConfirm?: () => void;
5
+ okText?: string;
6
+ cancelText?: string;
7
+ onConfirm: () => void | Promise<void>;
8
8
  onCancel?: () => void;
9
- children?: React.ReactNode;
9
+ children: React.ReactElement;
10
+ disableAutoClose?: boolean;
11
+ loading?: boolean;
10
12
  }
11
- export default function PopupConfirm({ title, description, onConfirm, children, }: PopupConfirmProps): import("react/jsx-runtime").JSX.Element;
13
+ export default function PopupConfirm({ title, description, onConfirm, onCancel, okText, cancelText, children, disableAutoClose, loading, }: PopupConfirmProps): import("react/jsx-runtime").JSX.Element;