easy-email-pro-theme 0.2.0
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.
- package/lib/VariablesEditorContent-08997e30.mjs +147384 -0
- package/lib/abap-e7729493.mjs +1315 -0
- package/lib/apex-ea0b1b44.mjs +320 -0
- package/lib/assets/json.worker-2db083a8.js +16634 -0
- package/lib/azcli-92ca1f6b.mjs +75 -0
- package/lib/bat-a8aff72a.mjs +96 -0
- package/lib/bicep-a4d73496.mjs +116 -0
- package/lib/cameligo-93a61573.mjs +169 -0
- package/lib/clojure-a4292303.mjs +755 -0
- package/lib/coffee-c79fd580.mjs +229 -0
- package/lib/cpp-4bbc4355.mjs +391 -0
- package/lib/csharp-8ee8b919.mjs +321 -0
- package/lib/csp-7ff23ab5.mjs +58 -0
- package/lib/css-675efd06.mjs +185 -0
- package/lib/cssMode-e5b02650.mjs +2031 -0
- package/lib/cypher-ff6c93d1.mjs +263 -0
- package/lib/dart-b81ee8da.mjs +271 -0
- package/lib/dockerfile-4d34b657.mjs +133 -0
- package/lib/ecl-829c6c9f.mjs +455 -0
- package/lib/elixir-d20ab92c.mjs +490 -0
- package/lib/flow9-d363677c.mjs +142 -0
- package/lib/freemarker2-07352200.mjs +675 -0
- package/lib/fsharp-e5e10937.mjs +211 -0
- package/lib/go-49d8dd1b.mjs +209 -0
- package/lib/graphql-397d36cc.mjs +142 -0
- package/lib/handlebars-eb587af4.mjs +403 -0
- package/lib/hcl-2bc5a11b.mjs +178 -0
- package/lib/html-805b20b1.mjs +293 -0
- package/lib/html2canvas.esm-858519c4.mjs +7837 -0
- package/lib/htmlMode-a339a06a.mjs +2047 -0
- package/lib/index.js +40838 -0
- package/lib/ini-777fd0a6.mjs +69 -0
- package/lib/java-88c2ae93.mjs +222 -0
- package/lib/javascript-b5849f55.mjs +78 -0
- package/lib/jsonMode-1b509c19.mjs +2607 -0
- package/lib/julia-7e1d65a2.mjs +497 -0
- package/lib/kotlin-da15198d.mjs +246 -0
- package/lib/less-0057666d.mjs +168 -0
- package/lib/lexon-4f74b04c.mjs +152 -0
- package/lib/liquid-d5c8a287.mjs +250 -0
- package/lib/lua-da0a0c60.mjs +158 -0
- package/lib/m3-14d67e1c.mjs +211 -0
- package/lib/markdown-37ba20b1.mjs +203 -0
- package/lib/mips-d0b2c227.mjs +195 -0
- package/lib/monacoeditorwork/css.worker.bundle.js +46736 -0
- package/lib/monacoeditorwork/editor.worker.bundle.js +9954 -0
- package/lib/monacoeditorwork/html.worker.bundle.js +25985 -0
- package/lib/monacoeditorwork/json.worker.bundle.js +17214 -0
- package/lib/monacoeditorwork/ts.worker.bundle.js +172133 -0
- package/lib/msdax-29068c66.mjs +378 -0
- package/lib/mysql-7833c854.mjs +877 -0
- package/lib/objective-c-91c200d7.mjs +189 -0
- package/lib/pascal-eb8fa4fd.mjs +246 -0
- package/lib/pascaligo-855a8af1.mjs +159 -0
- package/lib/perl-6aab1ca2.mjs +600 -0
- package/lib/pgsql-f2266c91.mjs +848 -0
- package/lib/php-9806c791.mjs +472 -0
- package/lib/pla-c1d8ec04.mjs +132 -0
- package/lib/postiats-04d6db22.mjs +545 -0
- package/lib/powerquery-ec4dd65a.mjs +891 -0
- package/lib/powershell-cc02a40e.mjs +234 -0
- package/lib/protobuf-83b8e701.mjs +423 -0
- package/lib/pug-06fecd70.mjs +394 -0
- package/lib/python-7da9e073.mjs +270 -0
- package/lib/qsharp-232171da.mjs +283 -0
- package/lib/r-c048a1d4.mjs +246 -0
- package/lib/razor-c88b46b3.mjs +524 -0
- package/lib/redis-4399e06c.mjs +299 -0
- package/lib/redshift-ba36da77.mjs +807 -0
- package/lib/restructuredtext-cac6fcb7.mjs +163 -0
- package/lib/ruby-dca5ee98.mjs +445 -0
- package/lib/rust-c0b8769e.mjs +338 -0
- package/lib/sb-2b0bce6c.mjs +111 -0
- package/lib/scala-58e9dfc7.mjs +354 -0
- package/lib/scheme-fdc48747.mjs +115 -0
- package/lib/scss-defea6f2.mjs +243 -0
- package/lib/shell-8e11dc85.mjs +225 -0
- package/lib/solidity-8d74b890.mjs +1352 -0
- package/lib/sophia-b97eb718.mjs +191 -0
- package/lib/sparql-68163824.mjs +194 -0
- package/lib/sql-59977475.mjs +819 -0
- package/lib/st-febe75da.mjs +415 -0
- package/lib/style.css +6503 -0
- package/lib/swift-b95bae51.mjs +316 -0
- package/lib/systemverilog-4461e8b3.mjs +557 -0
- package/lib/tcl-8f97c15f.mjs +233 -0
- package/lib/tsMode-934544e6.mjs +1216 -0
- package/lib/twig-a68d494c.mjs +324 -0
- package/lib/typescript-049ec7b9.mjs +339 -0
- package/lib/typings/assets/font/iconfont.d.ts +0 -0
- package/lib/typings/components/BlockSideBar/BlockItem/index.d.ts +9 -0
- package/lib/typings/components/BlockSideBar/BlockList/index.d.ts +5 -0
- package/lib/typings/components/BlockSideBar/BlocksPanel/index.d.ts +2 -0
- package/lib/typings/components/BlockSideBar/LayoutItem/index.d.ts +6 -0
- package/lib/typings/components/BlockSideBar/index.d.ts +5 -0
- package/lib/typings/components/ColumnLayout/LayoutItemList.d.ts +6 -0
- package/lib/typings/components/ColumnLayout/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationDrawer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Button/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Column/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Divider/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Hero/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Image/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Navbar/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Page/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Section/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Social/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Spacer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Text/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Wrapper/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundColor.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundImage.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundPosition.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Border.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BorderRadius.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ButtonCategory.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Buttons.d.ts +18 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Columns.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Direction.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Condition.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Iteration.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/index.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DividerLine.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontFamily.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontSize.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontWeight.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/GlobalLink.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Heading.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Height.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageUrl.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageWidth.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LetterSpacing.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LineHeight.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Link.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Padding.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelAndPercentField.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelField.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/StackOnMobile.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingList.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingStyle.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Typography.d.ts +17 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/VerticalAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/WebFonts.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Width.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/index.d.ts +103 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributePanel.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributesPanelWrapper/index.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/CollapseWrapper/index.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/ResponsiveField.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/index.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/SourceCodePanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/UniversalElementPanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/index.d.ts +8 -0
- package/lib/typings/components/Controller/index.d.ts +3 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/DesktopEmailPreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/MobilePreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/index.d.ts +8 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmailDrawer/index.d.ts +4 -0
- package/lib/typings/components/EditorTabs/components/TabHeader/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/index.d.ts +4 -0
- package/lib/typings/components/Form/ButtonField.d.ts +13 -0
- package/lib/typings/components/Form/ButtonGroupField.d.ts +15 -0
- package/lib/typings/components/Form/ColorPicker/ColorPickerContent.d.ts +7 -0
- package/lib/typings/components/Form/ColorPicker/index.d.ts +14 -0
- package/lib/typings/components/Form/EditPanelListField.d.ts +17 -0
- package/lib/typings/components/Form/EditPanelTabsField.d.ts +13 -0
- package/lib/typings/components/Form/ImageUploaderField/index.d.ts +20 -0
- package/lib/typings/components/Form/RichTextField/index.d.ts +10 -0
- package/lib/typings/components/Form/Select.d.ts +11 -0
- package/lib/typings/components/Form/SwitchField/index.d.ts +5 -0
- package/lib/typings/components/Form/SyncChildrenField.d.ts +11 -0
- package/lib/typings/components/Form/VariablesEditor/VariablesEditorContent.d.ts +7 -0
- package/lib/typings/components/Form/VariablesEditor/index.d.ts +2 -0
- package/lib/typings/components/Form/WatchField.d.ts +11 -0
- package/lib/typings/components/Form/adapter/JsonAdapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/color.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontStyle.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontWeight.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/index.d.ts +8 -0
- package/lib/typings/components/Form/adapter/italic.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixel.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixelNumber.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/slider.adapter.d.ts +4 -0
- package/lib/typings/components/Form/enhancer.d.ts +12 -0
- package/lib/typings/components/Form/index.d.ts +26 -0
- package/lib/typings/components/FullHeightOverlayScrollbars/index.d.ts +9 -0
- package/lib/typings/components/FullScreenLoading/index.d.ts +7 -0
- package/lib/typings/components/Hotkeys/index.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/RichTextBar.d.ts +6 -0
- package/lib/typings/components/HoveringToolbar/componens/BgColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontFamily.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontSize.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FormatButton.d.ts +9 -0
- package/lib/typings/components/HoveringToolbar/componens/MergeTag.d.ts +8 -0
- package/lib/typings/components/HoveringToolbar/componens/TextAlign.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TextLink.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TurnInto.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/constants.d.ts +0 -0
- package/lib/typings/components/HoveringToolbar/index.d.ts +3 -0
- package/lib/typings/components/HoveringToolbar/utils/getLinkNode.d.ts +3 -0
- package/lib/typings/components/IconFont/index.d.ts +10 -0
- package/lib/typings/components/MergeTagComponent/index.d.ts +7 -0
- package/lib/typings/components/MergetagPopover/index.d.ts +2 -0
- package/lib/typings/components/Providers/ControllerProvider.d.ts +4 -0
- package/lib/typings/components/Providers/DraggingProvider.d.ts +20 -0
- package/lib/typings/components/Providers/FormProvider.d.ts +4 -0
- package/lib/typings/components/Providers/UniversalElementProvider.d.ts +10 -0
- package/lib/typings/components/Providers/index.d.ts +6 -0
- package/lib/typings/components/UniversalElementEditorDrawer/index.d.ts +5 -0
- package/lib/typings/components/UnsplashImages/index.d.ts +206 -0
- package/lib/typings/components/index.d.ts +69 -0
- package/lib/typings/hooks/index.d.ts +6 -0
- package/lib/typings/hooks/useDragging.d.ts +15 -0
- package/lib/typings/hooks/useEditorForm.d.ts +12 -0
- package/lib/typings/hooks/useElementDefault.d.ts +9 -0
- package/lib/typings/hooks/useElementInteract.d.ts +6 -0
- package/lib/typings/hooks/useFontFamily.d.ts +7 -0
- package/lib/typings/hooks/useUniversalContent.d.ts +1 -0
- package/lib/typings/index.d.ts +5 -0
- package/lib/typings/store/ColorState.d.ts +9 -0
- package/lib/typings/store/EditorState.d.ts +12 -0
- package/lib/typings/store/Minimalist.d.ts +35 -0
- package/lib/typings/store/index.d.ts +49 -0
- package/lib/typings/themes/Minimalist/components/AutoSelectElement.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockMenusOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockResizer/index.d.ts +12 -0
- package/lib/typings/themes/Minimalist/components/ColumnLayoutOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreActionsMenusOverlay/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreIcon/index.d.ts +5 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/index.d.ts +7 -0
- package/lib/typings/themes/Minimalist/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/withTheme.d.ts +4 -0
- package/lib/typings/themes/Retro/components/AutoDeselectElement.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/AddIcon/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/DragIcon/index.d.ts +4 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Retro/components/ElementInteract/index.d.ts +3 -0
- package/lib/typings/themes/Retro/index.d.ts +10 -0
- package/lib/typings/themes/Retro/withTheme.d.ts +2 -0
- package/lib/typings/themes/index.d.ts +2 -0
- package/lib/typings/typings/custom-types.d.ts +96 -0
- package/lib/typings/typings/index.d.ts +1 -0
- package/lib/typings/utils/Uploader.d.ts +35 -0
- package/lib/typings/utils/environment.d.ts +1 -0
- package/lib/typings/utils/generateLogic.d.ts +3 -0
- package/lib/typings/utils/getElementPageLayout.d.ts +16 -0
- package/lib/typings/utils/getFallbackValue.d.ts +7 -0
- package/lib/typings/utils/hideCursor.d.ts +2 -0
- package/lib/typings/utils/hotkeys.d.ts +18 -0
- package/lib/typings/utils/index.d.ts +2 -0
- package/lib/typings/utils/isValidHttpUrl.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/HtmlNodeAdapter.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/basicElementToStandardElement.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/formatPadding.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/index.d.ts +2 -0
- package/lib/typings/utils/onDrag.d.ts +10 -0
- package/lib/typings/utils/previewLoadImage.d.ts +1 -0
- package/lib/vb-dfbee74a.mjs +365 -0
- package/lib/xml-c6d1e274.mjs +106 -0
- package/lib/yaml-3c88ef61.mjs +195 -0
- package/package.json +44 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export type UnsplashResponse = {
|
|
4
|
+
total: number;
|
|
5
|
+
total_pages: number;
|
|
6
|
+
results: Array<{
|
|
7
|
+
id: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
promoted_at?: string;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
color: string;
|
|
15
|
+
blur_hash: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
alt_description: string;
|
|
18
|
+
urls: {
|
|
19
|
+
raw: string;
|
|
20
|
+
full: string;
|
|
21
|
+
regular: string;
|
|
22
|
+
small: string;
|
|
23
|
+
thumb: string;
|
|
24
|
+
small_s3: string;
|
|
25
|
+
};
|
|
26
|
+
links: {
|
|
27
|
+
self: string;
|
|
28
|
+
html: string;
|
|
29
|
+
download: string;
|
|
30
|
+
download_location: string;
|
|
31
|
+
};
|
|
32
|
+
likes: number;
|
|
33
|
+
liked_by_user: boolean;
|
|
34
|
+
current_user_collections: Array<any>;
|
|
35
|
+
sponsorship: any;
|
|
36
|
+
topic_submissions: {
|
|
37
|
+
"business-work"?: {
|
|
38
|
+
status: string;
|
|
39
|
+
approved_on: string;
|
|
40
|
+
};
|
|
41
|
+
people?: {
|
|
42
|
+
status: string;
|
|
43
|
+
approved_on: string;
|
|
44
|
+
};
|
|
45
|
+
work?: {
|
|
46
|
+
status: string;
|
|
47
|
+
approved_on: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
user: {
|
|
51
|
+
id: string;
|
|
52
|
+
updated_at: string;
|
|
53
|
+
username: string;
|
|
54
|
+
name: string;
|
|
55
|
+
first_name: string;
|
|
56
|
+
last_name?: string;
|
|
57
|
+
twitter_username?: string;
|
|
58
|
+
portfolio_url?: string;
|
|
59
|
+
bio?: string;
|
|
60
|
+
location?: string;
|
|
61
|
+
links: {
|
|
62
|
+
self: string;
|
|
63
|
+
html: string;
|
|
64
|
+
photos: string;
|
|
65
|
+
likes: string;
|
|
66
|
+
portfolio: string;
|
|
67
|
+
following: string;
|
|
68
|
+
followers: string;
|
|
69
|
+
};
|
|
70
|
+
profile_image: {
|
|
71
|
+
small: string;
|
|
72
|
+
medium: string;
|
|
73
|
+
large: string;
|
|
74
|
+
};
|
|
75
|
+
instagram_username?: string;
|
|
76
|
+
total_collections: number;
|
|
77
|
+
total_likes: number;
|
|
78
|
+
total_photos: number;
|
|
79
|
+
accepted_tos: boolean;
|
|
80
|
+
for_hire: boolean;
|
|
81
|
+
social: {
|
|
82
|
+
instagram_username?: string;
|
|
83
|
+
portfolio_url?: string;
|
|
84
|
+
twitter_username?: string;
|
|
85
|
+
paypal_email: any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
tags: Array<{
|
|
89
|
+
type: string;
|
|
90
|
+
title: string;
|
|
91
|
+
source?: {
|
|
92
|
+
ancestry: {
|
|
93
|
+
type: {
|
|
94
|
+
slug: string;
|
|
95
|
+
pretty_slug: string;
|
|
96
|
+
};
|
|
97
|
+
category: {
|
|
98
|
+
slug: string;
|
|
99
|
+
pretty_slug: string;
|
|
100
|
+
};
|
|
101
|
+
subcategory?: {
|
|
102
|
+
slug: string;
|
|
103
|
+
pretty_slug: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
title: string;
|
|
107
|
+
subtitle: string;
|
|
108
|
+
description: string;
|
|
109
|
+
meta_title: string;
|
|
110
|
+
meta_description: string;
|
|
111
|
+
cover_photo: {
|
|
112
|
+
id: string;
|
|
113
|
+
slug: string;
|
|
114
|
+
created_at: string;
|
|
115
|
+
updated_at: string;
|
|
116
|
+
promoted_at: string;
|
|
117
|
+
width: number;
|
|
118
|
+
height: number;
|
|
119
|
+
color: string;
|
|
120
|
+
blur_hash: string;
|
|
121
|
+
description?: string;
|
|
122
|
+
alt_description: string;
|
|
123
|
+
urls: {
|
|
124
|
+
raw: string;
|
|
125
|
+
full: string;
|
|
126
|
+
regular: string;
|
|
127
|
+
small: string;
|
|
128
|
+
thumb: string;
|
|
129
|
+
small_s3: string;
|
|
130
|
+
};
|
|
131
|
+
links: {
|
|
132
|
+
self: string;
|
|
133
|
+
html: string;
|
|
134
|
+
download: string;
|
|
135
|
+
download_location: string;
|
|
136
|
+
};
|
|
137
|
+
likes: number;
|
|
138
|
+
liked_by_user: boolean;
|
|
139
|
+
current_user_collections: Array<any>;
|
|
140
|
+
sponsorship: any;
|
|
141
|
+
topic_submissions: {
|
|
142
|
+
people?: {
|
|
143
|
+
status: string;
|
|
144
|
+
approved_on: string;
|
|
145
|
+
};
|
|
146
|
+
"current-events"?: {
|
|
147
|
+
status: string;
|
|
148
|
+
approved_on: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
premium: boolean;
|
|
152
|
+
plus: boolean;
|
|
153
|
+
user: {
|
|
154
|
+
id: string;
|
|
155
|
+
updated_at: string;
|
|
156
|
+
username: string;
|
|
157
|
+
name: string;
|
|
158
|
+
first_name: string;
|
|
159
|
+
last_name: string;
|
|
160
|
+
twitter_username?: string;
|
|
161
|
+
portfolio_url?: string;
|
|
162
|
+
bio?: string;
|
|
163
|
+
location?: string;
|
|
164
|
+
links: {
|
|
165
|
+
self: string;
|
|
166
|
+
html: string;
|
|
167
|
+
photos: string;
|
|
168
|
+
likes: string;
|
|
169
|
+
portfolio: string;
|
|
170
|
+
following: string;
|
|
171
|
+
followers: string;
|
|
172
|
+
};
|
|
173
|
+
profile_image: {
|
|
174
|
+
small: string;
|
|
175
|
+
medium: string;
|
|
176
|
+
large: string;
|
|
177
|
+
};
|
|
178
|
+
instagram_username: string;
|
|
179
|
+
total_collections: number;
|
|
180
|
+
total_likes: number;
|
|
181
|
+
total_photos: number;
|
|
182
|
+
accepted_tos: boolean;
|
|
183
|
+
for_hire: boolean;
|
|
184
|
+
social: {
|
|
185
|
+
instagram_username: string;
|
|
186
|
+
portfolio_url?: string;
|
|
187
|
+
twitter_username?: string;
|
|
188
|
+
paypal_email: any;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
}>;
|
|
194
|
+
}>;
|
|
195
|
+
};
|
|
196
|
+
export interface UnsplashImagesProps {
|
|
197
|
+
onSelect: (url: string) => void;
|
|
198
|
+
value: string | undefined;
|
|
199
|
+
clientId: string;
|
|
200
|
+
presetList?: Array<{
|
|
201
|
+
query: string;
|
|
202
|
+
label: string;
|
|
203
|
+
image: string;
|
|
204
|
+
}>;
|
|
205
|
+
}
|
|
206
|
+
export declare const UnsplashImages: (props: UnsplashImagesProps) => JSX.Element;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export * from "./Providers";
|
|
3
|
+
export declare const SharedComponents: {
|
|
4
|
+
PreviewEmailDrawer: ({ children }: {
|
|
5
|
+
children: import("react").ReactNode;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
PreviewEmail: ({ isDesktop, universalElementSetting, values, mergetagsData, }: {
|
|
8
|
+
isDesktop: boolean;
|
|
9
|
+
universalElementSetting: ({
|
|
10
|
+
elements: Record<string, import("../easy-email-pro-core/lib/typings").Element>;
|
|
11
|
+
} & {
|
|
12
|
+
elements: Record<string, import("../easy-email-pro-core/lib/typings").Element>;
|
|
13
|
+
list: {
|
|
14
|
+
label: string;
|
|
15
|
+
elements: {
|
|
16
|
+
element: import("../easy-email-pro-core/lib/typings").Element;
|
|
17
|
+
thumbnail: string;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
onAddElement: (params: {
|
|
21
|
+
name: string;
|
|
22
|
+
element: import("../easy-email-pro-core/lib/typings").Element;
|
|
23
|
+
thumbnail: Blob;
|
|
24
|
+
}) => Promise<import("../easy-email-pro-core/lib/typings").Element>;
|
|
25
|
+
onUpdateElement: (params: {
|
|
26
|
+
uid: string;
|
|
27
|
+
element: import("../easy-email-pro-core/lib/typings").Element;
|
|
28
|
+
thumbnail: Blob;
|
|
29
|
+
}) => Promise<any>;
|
|
30
|
+
}) | undefined;
|
|
31
|
+
values: import("easy-email-pro-editor").BasicEmailTemplate;
|
|
32
|
+
mergetagsData: Record<string, any> | undefined;
|
|
33
|
+
}) => JSX.Element;
|
|
34
|
+
BlockSideBar: ({ height }: import("./BlockSideBar").BlockSideBarProps) => JSX.Element;
|
|
35
|
+
ColumnLayout: ({ onSelectColumn, }: {
|
|
36
|
+
onSelectColumn: (columns: string[]) => void;
|
|
37
|
+
}) => JSX.Element;
|
|
38
|
+
ConfigurationDrawer: ({ height, onClose: propsOnClose, }: {
|
|
39
|
+
height: string;
|
|
40
|
+
onClose: () => void;
|
|
41
|
+
}) => JSX.Element;
|
|
42
|
+
ConfigurationPanel: ({ height, onClose, }: import("./ConfigurationPanel").ConfigurationPanelProps) => JSX.Element | null;
|
|
43
|
+
EditorTabs: import("react").FC<{
|
|
44
|
+
children: import("react").ReactNode;
|
|
45
|
+
}>;
|
|
46
|
+
UniversalElementEditorDrawer: import("react").FC<{
|
|
47
|
+
children: import("react").ReactNode;
|
|
48
|
+
}>;
|
|
49
|
+
RichTextBar: ({ list }: {
|
|
50
|
+
list: import("easy-email-pro-editor").TextFormat[];
|
|
51
|
+
}) => JSX.Element;
|
|
52
|
+
HoveringToolbar: () => import("react").ReactPortal | null;
|
|
53
|
+
Hotkeys: import("react").FC<{}>;
|
|
54
|
+
Controller: () => JSX.Element;
|
|
55
|
+
UnsplashImages: (props: import("./UnsplashImages").UnsplashImagesProps) => JSX.Element;
|
|
56
|
+
FullHeightOverlayScrollbars: import("react").FC<{
|
|
57
|
+
height: string | number;
|
|
58
|
+
children: import("react").ReactNode;
|
|
59
|
+
} | {
|
|
60
|
+
maxHeight: string | number;
|
|
61
|
+
children: import("react").ReactNode;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
export { CollapseWrapper } from "./ConfigurationPanel/components/CollapseWrapper";
|
|
65
|
+
export { AttributesPanelWrapper } from "./ConfigurationPanel/components/AttributesPanelWrapper";
|
|
66
|
+
export { AttributeField } from "./ConfigurationPanel/components/AttributeField";
|
|
67
|
+
export { ConfigPanelsMap } from "./ConfigurationPanel/Elements";
|
|
68
|
+
export { ResponsiveField, ResponsiveTabs, } from "./ConfigurationPanel/components/ResponsiveTabs";
|
|
69
|
+
export { IconFont } from "./IconFont";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { useDragging } from "./useDragging";
|
|
2
|
+
export { useEditorForm } from "./useEditorForm";
|
|
3
|
+
export { useUniversalContent } from "./useUniversalContent";
|
|
4
|
+
export { useElementDefault } from "./useElementDefault";
|
|
5
|
+
export { useElementInteract } from "./useElementInteract";
|
|
6
|
+
export { useFontFamily } from "./useFontFamily";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Element } from "easy-email-pro-core";
|
|
3
|
+
export declare const useDragging: ({ element, nodeElement, action, cloneGhost, }: {
|
|
4
|
+
element: Element;
|
|
5
|
+
nodeElement?: HTMLElement | null | undefined;
|
|
6
|
+
action: "move" | "copy";
|
|
7
|
+
cloneGhost?: boolean | undefined;
|
|
8
|
+
}) => {
|
|
9
|
+
dragHandle: {
|
|
10
|
+
onDragStart: (e: any) => void;
|
|
11
|
+
onPointerDown(event: import("react").PointerEvent<any>): void;
|
|
12
|
+
onDragEnd(): void;
|
|
13
|
+
draggable: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EditorContextProps } from "easy-email-pro-editor";
|
|
2
|
+
import { Path } from "slate";
|
|
3
|
+
export declare const getNodePathName: (path: Path, name: string) => string;
|
|
4
|
+
export declare const useEditorForm: () => {
|
|
5
|
+
getFieldValue: (path: Path, name: string) => any;
|
|
6
|
+
setFieldValue: (path: Path, name: string, val: any) => void;
|
|
7
|
+
getFieldDirty: (path: Path, name: string) => boolean;
|
|
8
|
+
reset: (newValues: EditorContextProps["values"]) => void;
|
|
9
|
+
values: import("easy-email-pro-editor").BasicEmailTemplate;
|
|
10
|
+
dirty: boolean;
|
|
11
|
+
valid: boolean;
|
|
12
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Element } from "easy-email-pro-core";
|
|
2
|
+
import { Path } from "slate";
|
|
3
|
+
export declare const useElementDefault: <T extends Element>({ path, type, }: {
|
|
4
|
+
path: Path | null;
|
|
5
|
+
type: Element["type"] | null;
|
|
6
|
+
}) => {
|
|
7
|
+
attributes: T["attributes"];
|
|
8
|
+
mobileAttributes: Partial<T["attributes"]>;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useUniversalContent: () => import("../components/Providers/UniversalElementProvider").UniversalElementProps;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare class EditorState {
|
|
2
|
+
state: {
|
|
3
|
+
isPreview: boolean;
|
|
4
|
+
zoom: number;
|
|
5
|
+
};
|
|
6
|
+
constructor();
|
|
7
|
+
setIsPreview: (preview: boolean) => void;
|
|
8
|
+
togglePreview: () => void;
|
|
9
|
+
setZoom: (zoom: number) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const editorState: EditorState;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare class UI {
|
|
2
|
+
constructor();
|
|
3
|
+
blockMenusOverlay: {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
search: string;
|
|
6
|
+
};
|
|
7
|
+
columnsOverlay: {
|
|
8
|
+
visible: boolean;
|
|
9
|
+
};
|
|
10
|
+
moreActionsMenusOverlay: {
|
|
11
|
+
visible: boolean;
|
|
12
|
+
left: number;
|
|
13
|
+
top: number;
|
|
14
|
+
};
|
|
15
|
+
imageUploaderOverlay: {
|
|
16
|
+
visible: boolean;
|
|
17
|
+
left: number;
|
|
18
|
+
top: number;
|
|
19
|
+
};
|
|
20
|
+
setSearch: (v: string) => void;
|
|
21
|
+
setBlockMenusOverlayVisible: (v: boolean) => void;
|
|
22
|
+
setMoreActionsMenusOverlayVisible: (v: boolean) => void;
|
|
23
|
+
setMoreActionsMenusOverlayPosition: (pos: {
|
|
24
|
+
left: number;
|
|
25
|
+
top: number;
|
|
26
|
+
}) => void;
|
|
27
|
+
serImageUploaderOverlayVisible: (v: boolean) => void;
|
|
28
|
+
serImageUploaderOverlayPosition: (pos: {
|
|
29
|
+
left: number;
|
|
30
|
+
top: number;
|
|
31
|
+
}) => void;
|
|
32
|
+
serColumnsOverlayVisible: (v: boolean) => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const ui: UI;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const store: {
|
|
2
|
+
ui: {
|
|
3
|
+
blockMenusOverlay: {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
search: string;
|
|
6
|
+
};
|
|
7
|
+
columnsOverlay: {
|
|
8
|
+
visible: boolean;
|
|
9
|
+
};
|
|
10
|
+
moreActionsMenusOverlay: {
|
|
11
|
+
visible: boolean;
|
|
12
|
+
left: number;
|
|
13
|
+
top: number;
|
|
14
|
+
};
|
|
15
|
+
imageUploaderOverlay: {
|
|
16
|
+
visible: boolean;
|
|
17
|
+
left: number;
|
|
18
|
+
top: number;
|
|
19
|
+
};
|
|
20
|
+
setSearch: (v: string) => void;
|
|
21
|
+
setBlockMenusOverlayVisible: (v: boolean) => void;
|
|
22
|
+
setMoreActionsMenusOverlayVisible: (v: boolean) => void;
|
|
23
|
+
setMoreActionsMenusOverlayPosition: (pos: {
|
|
24
|
+
left: number;
|
|
25
|
+
top: number;
|
|
26
|
+
}) => void;
|
|
27
|
+
serImageUploaderOverlayVisible: (v: boolean) => void;
|
|
28
|
+
serImageUploaderOverlayPosition: (pos: {
|
|
29
|
+
left: number;
|
|
30
|
+
top: number;
|
|
31
|
+
}) => void;
|
|
32
|
+
serColumnsOverlayVisible: (v: boolean) => void;
|
|
33
|
+
};
|
|
34
|
+
editorState: {
|
|
35
|
+
state: {
|
|
36
|
+
isPreview: boolean;
|
|
37
|
+
zoom: number;
|
|
38
|
+
};
|
|
39
|
+
setIsPreview: (preview: boolean) => void;
|
|
40
|
+
togglePreview: () => void;
|
|
41
|
+
setZoom: (zoom: number) => void;
|
|
42
|
+
};
|
|
43
|
+
colorState: {
|
|
44
|
+
state: {
|
|
45
|
+
list: string[];
|
|
46
|
+
};
|
|
47
|
+
addCurrentColor: import("lodash").DebouncedFunc<(newColor: string) => void>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Element } from "easy-email-pro-core";
|
|
3
|
+
export declare const BlockResizer: ({ element, top, bottom, left, right, percent, verticalScale, horizontalScale, }: {
|
|
4
|
+
element: Element;
|
|
5
|
+
top?: boolean | undefined;
|
|
6
|
+
bottom?: boolean | undefined;
|
|
7
|
+
left?: boolean | undefined;
|
|
8
|
+
right?: boolean | undefined;
|
|
9
|
+
percent?: boolean | undefined;
|
|
10
|
+
verticalScale?: number | undefined;
|
|
11
|
+
horizontalScale?: number | undefined;
|
|
12
|
+
}) => JSX.Element;
|
package/lib/typings/themes/Minimalist/components/ImageAction/MoreActionsMenusOverlay/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MoreActionsMenusOverlayProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
setVisible: (visible: boolean) => void;
|
|
5
|
+
top: number;
|
|
6
|
+
left: number;
|
|
7
|
+
onToggleImageActionVisible: (ev: Event) => void;
|
|
8
|
+
moreIconRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
+
}
|
|
10
|
+
export declare const MoreActionsMenusOverlay: (props: MoreActionsMenusOverlayProps) => JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EmailEditorProps } from "easy-email-pro-editor";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ThemeConfigProps } from "../../typings";
|
|
4
|
+
export declare const Minimalist: {
|
|
5
|
+
useCreateConfig: ({ interactiveStyle, hoveringToolbar, ...rest }: Omit<ThemeConfigProps, "editor">) => Omit<EmailEditorProps, "children"> & Omit<EmailEditorProps, "children">;
|
|
6
|
+
Layout: React.FC<{
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
height: string;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EmailEditorProps } from "easy-email-pro-editor";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ThemeConfigProps } from "../../typings";
|
|
4
|
+
export declare const Retro: {
|
|
5
|
+
useCreateConfig: ({ interactiveStyle, hoveringToolbar, ...rest }: Omit<ThemeConfigProps, "editor">) => Omit<EmailEditorProps, "children"> & Omit<EmailEditorProps, "children">;
|
|
6
|
+
Layout: React.FC<{
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
height: string;
|
|
9
|
+
}>;
|
|
10
|
+
};
|