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
@@ -0,0 +1,38 @@
1
+ import { z } from 'zod';
2
+ export declare const TimerPropsSchema: z.ZodObject<{
3
+ style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ accentColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
+ borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
9
+ topLeft: z.ZodNumber;
10
+ topRight: z.ZodNumber;
11
+ bottomRight: z.ZodNumber;
12
+ bottomLeft: z.ZodNumber;
13
+ }, z.core.$strip>]>>>;
14
+ padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15
+ top: z.ZodNumber;
16
+ right: z.ZodNumber;
17
+ bottom: z.ZodNumber;
18
+ left: z.ZodNumber;
19
+ }, z.core.$strip>>>;
20
+ }, z.core.$strip>>>;
21
+ props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22
+ layout: z.ZodDefault<z.ZodEnum<{
23
+ digitalFlip: "digitalFlip";
24
+ circularProgress: "circularProgress";
25
+ textInline: "textInline";
26
+ }>>;
27
+ targetDate: z.ZodDefault<z.ZodString>;
28
+ showLabels: z.ZodDefault<z.ZodBoolean>;
29
+ expiredBehavior: z.ZodDefault<z.ZodEnum<{
30
+ hide: "hide";
31
+ showMessage: "showMessage";
32
+ showZeros: "showZeros";
33
+ }>>;
34
+ expiredMessage: z.ZodDefault<z.ZodString>;
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>;
37
+ export type TimerProps = z.infer<typeof TimerPropsSchema>;
38
+ export default TimerPropsSchema;
@@ -0,0 +1,2 @@
1
+ import { TimerProps } from './TimerPropsSchema';
2
+ export default function TimerReader({ style, props }: TimerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ type Props = {
2
+ days: number;
3
+ hours: number;
4
+ minutes: number;
5
+ seconds: number;
6
+ showLabels: boolean;
7
+ accentColor?: string | null;
8
+ textColor?: string | null;
9
+ };
10
+ export default function CircularProgressView({ days, hours, minutes, seconds, showLabels, accentColor, textColor, }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ type Props = {
2
+ days: number;
3
+ hours: number;
4
+ minutes: number;
5
+ seconds: number;
6
+ showLabels: boolean;
7
+ accentColor?: string | null;
8
+ textColor?: string | null;
9
+ };
10
+ export default function DigitalFlipView({ days, hours, minutes, seconds, showLabels, accentColor, textColor }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ type Props = {
2
+ days: number;
3
+ hours: number;
4
+ minutes: number;
5
+ seconds: number;
6
+ showLabels: boolean;
7
+ accentColor?: string | null;
8
+ textColor?: string | null;
9
+ };
10
+ export default function TextInlineView({ days, hours, minutes, seconds, showLabels, accentColor, textColor }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Single source of truth for responsive breakpoints across ALL blocks + the
3
+ * editor + the preview iframe. Every block's `@media` CSS, the editor's device
4
+ * swap widths (DEVICE_VIEWPORT_WIDTH), and the Preview dialog iframe width MUST
5
+ * use these — otherwise the editor canvas, Preview, and the live page disagree
6
+ * about when "tablet" / "mobile" kicks in and layouts look different in each.
7
+ *
8
+ * Values match DEVICE_VIEWPORT_WIDTH in
9
+ * editor-sample/src/documents/blocks/helpers/responsiveStyle.ts.
10
+ */
11
+ export declare const BREAKPOINT_TABLET_MAX = 1024;
12
+ export declare const BREAKPOINT_MOBILE_MAX = 640;
13
+ /** `@media (max-width: …)` prelude for each breakpoint. */
14
+ export declare const MEDIA_TABLET = "@media (max-width: 1024px)";
15
+ export declare const MEDIA_MOBILE = "@media (max-width: 640px)";
16
+ /**
17
+ * Tablet band ONLY — excludes mobile widths.
18
+ *
19
+ * Per-device OVERRIDE slices inherit from DESKTOP, not from each other: editing
20
+ * the Tablet tab writes `responsive.tablet`, and Mobile (with no slice of its
21
+ * own for that field) still shows the desktop value — that's what both the
22
+ * sidebar and `resolveBlockDataForDevice` do.
23
+ *
24
+ * A plain `max-width: 1024px` rule contradicts that: it also matches 640px and
25
+ * below, so a tablet-only override would visually leak onto mobile. Bounding it
26
+ * below at the mobile breakpoint keeps the CSS agreeing with the editor.
27
+ *
28
+ * Use this for OVERRIDE rules. Keep plain MEDIA_TABLET for rules that are
29
+ * genuinely meant to cascade down to mobile (a block's own built-in layout CSS,
30
+ * where mobile then re-overrides in its own @media block).
31
+ */
32
+ export declare const MEDIA_TABLET_ONLY = "@media (min-width: 641px) and (max-width: 1024px)";
@@ -0,0 +1,18 @@
1
+ export declare const noopListSelectors: {
2
+ selectRows: any;
3
+ selectCount: any;
4
+ selectLoading: any;
5
+ selectErrorMessage: any;
6
+ selectHasRows: any;
7
+ };
8
+ export declare const noopListActions: {
9
+ doFetch: (_filter?: any) => {
10
+ type: string;
11
+ };
12
+ doReset: () => {
13
+ type: string;
14
+ };
15
+ doMarkDirty: () => {
16
+ type: string;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export { noopListActions as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListSelectors as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListActions as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListSelectors as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListActions as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListSelectors as default } from '../../_hostListShim';
@@ -0,0 +1,9 @@
1
+ declare const FormsService: {
2
+ list: () => Promise<{
3
+ rows: any[];
4
+ count: number;
5
+ }>;
6
+ find: () => Promise<any>;
7
+ getViewUrl: (_id: string) => string;
8
+ };
9
+ export default FormsService;
@@ -0,0 +1 @@
1
+ export { noopListActions as default } from '../../_hostListShim';
@@ -0,0 +1 @@
1
+ export { noopListSelectors as default } from '../../_hostListShim';
@@ -0,0 +1,3 @@
1
+ export type AppDispatch = (action: unknown) => void;
2
+ declare const getStore: () => any;
3
+ export default getStore;
@@ -0,0 +1,3 @@
1
+ export declare const useSelector: <T = any>(_selector: unknown) => T;
2
+ export declare const useDispatch: <D = (action: unknown) => void>() => D;
3
+ export type AppDispatch = (action: unknown) => void;
@@ -1,15 +1,73 @@
1
- declare const __passthrough: any;
2
- export default __passthrough;
3
- export declare const addTabButtonSx: any;
4
- export declare const menuItemHrefFieldSx: any;
5
- export declare const menuSidebarSelectSx: any;
6
- export declare const menuEditorEmptyState: any;
7
- export declare const menuNav: any;
8
- export declare const menuSlot: any;
9
- export declare const menuList: any;
10
- export declare const menuListItem: any;
11
- export declare const menuLink: any;
12
- export declare const menuIcon: any;
13
- export declare const menuChildrenWrapper: any;
14
- export declare const menuToggleInput: any;
15
- export declare const menuBurgerLabel: any;
1
+ import { CSSProperties } from 'react';
2
+ export declare const menuEditorEmptyState: CSSProperties;
3
+ type BlockPadding = {
4
+ top: number;
5
+ right: number;
6
+ bottom: number;
7
+ left: number;
8
+ } | null | undefined;
9
+ export declare const menuNav: (backgroundColor: string, position: string, hasSlots?: boolean, blockPadding?: BlockPadding) => CSSProperties;
10
+ export declare const menuSlot: (align: "start" | "center" | "end", isCenter?: boolean) => CSSProperties;
11
+ export declare const menuList: (orientation: string, level: number, gap: string) => CSSProperties;
12
+ export declare const menuListItem: CSSProperties;
13
+ export declare const menuLink: (showIcons: boolean, hasIcon: boolean, textColor: string, fontSize: string, fontWeight: string, padding: string, fontFamily?: string) => CSSProperties;
14
+ export declare const menuIcon: (iconSize: string) => CSSProperties;
15
+ export declare const menuChildrenWrapper: (level: number) => CSSProperties;
16
+ export declare const menuToggleInput: CSSProperties;
17
+ export declare const menuBurgerLabel: (textColor: string) => CSSProperties;
18
+ export declare const menuItemHrefFieldSx: {
19
+ readonly width: "100%";
20
+ readonly '& .MuiOutlinedInput-root': {
21
+ readonly backgroundColor: "#F5F5F5";
22
+ readonly borderRadius: "4px";
23
+ };
24
+ readonly '& .MuiOutlinedInput-notchedOutline': {
25
+ readonly border: "none";
26
+ };
27
+ readonly '&:hover .MuiOutlinedInput-notchedOutline': {
28
+ readonly border: "none";
29
+ };
30
+ readonly '& .Mui-focused .MuiOutlinedInput-notchedOutline': {
31
+ readonly border: "none";
32
+ };
33
+ readonly '& .MuiOutlinedInput-input': {
34
+ readonly padding: "8px 10px";
35
+ readonly fontSize: 14;
36
+ };
37
+ };
38
+ export declare const menuSidebarSelectSx: {
39
+ readonly backgroundColor: "transparent";
40
+ readonly borderRadius: "4px";
41
+ readonly px: 0.5;
42
+ readonly py: 0.5;
43
+ readonly '& .MuiOutlinedInput-notchedOutline': {
44
+ readonly border: "none";
45
+ };
46
+ readonly '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
47
+ readonly border: "none";
48
+ };
49
+ readonly '&:hover .MuiOutlinedInput-notchedOutline': {
50
+ readonly border: "none";
51
+ };
52
+ readonly '& .MuiSelect-select': {
53
+ readonly paddingY: 0.5;
54
+ readonly paddingX: 0.5;
55
+ };
56
+ };
57
+ export declare const addTabButtonSx: {
58
+ readonly mt: 1.5;
59
+ readonly py: 0.75;
60
+ readonly border: "1px dashed #C9C9C9";
61
+ readonly borderRadius: "6px";
62
+ readonly cursor: "pointer";
63
+ readonly color: "text.secondary";
64
+ readonly fontSize: 12;
65
+ readonly fontWeight: 500;
66
+ readonly gap: 0.5;
67
+ readonly '&:hover': {
68
+ readonly borderColor: "primary.main";
69
+ readonly color: "primary.main";
70
+ };
71
+ readonly transition: "color 0.15s, border-color 0.15s";
72
+ };
73
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface UseQueryResult<TData = any> {
2
+ data: TData | undefined;
3
+ isLoading: boolean;
4
+ isError: boolean;
5
+ isSuccess: boolean;
6
+ error: Error | null;
7
+ refetch: () => Promise<void>;
8
+ }
9
+ export declare function useQuery<TData = any>(_options: any): UseQueryResult<TData>;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Sanitize pasted HTML into something safe to drop into a contentEditable.
3
+ *
4
+ * Pipeline:
5
+ * 1. Strip Microsoft-Office / Google-Docs cruft from the raw string.
6
+ * 2. Parse, drop script/style/meta/etc., unwrap Word `<b style="...:normal">`
7
+ * wrappers, drop empty styleless spans.
8
+ * 3. Convert `<p class="MsoListParagraph">` to `<li>` and group them in `<ul>`.
9
+ * 4. Walk the tree: unwrap disallowed tags, strip attributes/styles down to
10
+ * the allowlists, collapse redundant `<span><span>...</span></span>`,
11
+ * remove empty wrappers.
12
+ * 5. Wrap loose top-level inline content in `<p>`.
13
+ * 6. Collapse runs of NBSPs.
14
+ */
15
+ export declare function sanitizePastedHtml(html: string): string;