easy-email-extensions 4.17.0 → 4.17.1
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/License +0 -0
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/tableCellBgSelector.d.ts +6 -0
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/tableMenuConfig.d.ts +6 -0
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/tableOperationMenu.d.ts +5 -0
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/type.d.ts +2 -2
- package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +1 -0
- package/lib/components/Providers/ExtensionProvider.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index2.js +335 -174
- package/lib/index2.js.map +1 -1
- package/lib/utils/getIconNameByBlockType.d.ts +1 -0
- package/package.json +2 -2
- package/readme.md +0 -0
package/License
CHANGED
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface CellBackgroundSelectorProps {
|
|
2
|
+
bgColorHandler: (color: string) => void;
|
|
3
|
+
rootDom: Element;
|
|
4
|
+
}
|
|
5
|
+
declare const getCellBackgroundSelectorRoot: (bgColorHandler: CellBackgroundSelectorProps['bgColorHandler'], rootDom: any) => HTMLDivElement;
|
|
6
|
+
export default getCellBackgroundSelectorRoot;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import TableOperationMenu from './tableOperationMenu';
|
|
1
2
|
declare const MENU_CONFIG: {
|
|
2
3
|
insertColumnRight: {
|
|
3
4
|
text: string;
|
|
@@ -34,5 +35,10 @@ declare const MENU_CONFIG: {
|
|
|
34
35
|
icon: string;
|
|
35
36
|
handler(): void;
|
|
36
37
|
};
|
|
38
|
+
setCellBg: {
|
|
39
|
+
text: string;
|
|
40
|
+
render(tableOperationMenu: TableOperationMenu): HTMLDivElement;
|
|
41
|
+
handler(color: string): void;
|
|
42
|
+
};
|
|
37
43
|
};
|
|
38
44
|
export default MENU_CONFIG;
|
package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/tableOperationMenu.d.ts
CHANGED
|
@@ -36,6 +36,11 @@ export default class TableOperationMenu {
|
|
|
36
36
|
icon: string;
|
|
37
37
|
handler(): void;
|
|
38
38
|
};
|
|
39
|
+
setCellBg: {
|
|
40
|
+
text: string;
|
|
41
|
+
render(tableOperationMenu: TableOperationMenu): HTMLDivElement;
|
|
42
|
+
handler(color: string): void;
|
|
43
|
+
};
|
|
39
44
|
};
|
|
40
45
|
domNode: Element | undefined;
|
|
41
46
|
styleDom?: HTMLStyleElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IOperationData extends
|
|
1
|
+
import { IAdvancedTableData } from 'easy-email-core';
|
|
2
|
+
export interface IOperationData extends IAdvancedTableData {
|
|
3
3
|
top: number;
|
|
4
4
|
bottom: number;
|
|
5
5
|
left: number;
|
|
@@ -10,4 +10,5 @@ export interface LinkProps extends PopoverProps {
|
|
|
10
10
|
currentRange: Range | null | undefined;
|
|
11
11
|
onChange: (val: LinkParams) => void;
|
|
12
12
|
}
|
|
13
|
+
export declare function getLinkNode(currentRange: Range | null | undefined): HTMLAnchorElement | null;
|
|
13
14
|
export declare function Link(props: LinkProps): JSX.Element;
|
|
@@ -36,6 +36,7 @@ export interface ExtensionProps extends BlockLayerProps {
|
|
|
36
36
|
jsonReadOnly?: boolean;
|
|
37
37
|
mjmlReadOnly?: boolean;
|
|
38
38
|
compact?: boolean;
|
|
39
|
+
showBlockLayer?: boolean;
|
|
39
40
|
}
|
|
40
41
|
export declare const ExtensionContext: React.Context<ExtensionProps>;
|
|
41
42
|
export declare const ExtensionProvider: React.FC<ExtensionProps>;
|
package/lib/index.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export * from './constants';
|
|
|
12
12
|
export * from './components/Form';
|
|
13
13
|
export * from './components/ShadowDom';
|
|
14
14
|
export { getContextMergeTags } from './utils/getContextMergeTags';
|
|
15
|
-
export { getIconNameByBlockType } from './utils/getIconNameByBlockType';
|
|
15
|
+
export { getIconNameByBlockType, setIconsMap } from './utils/getIconNameByBlockType';
|
|
16
16
|
export { getBlockTitle } from './utils/getBlockTitle';
|
|
17
17
|
export { MjmlToJson } from './utils/MjmlToJson';
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper,
|
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, ac as AutoCompleteField, l as Background, o as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, O as BlockMarketManager, Q as BlockMaskWrapper, r as Border, u as BorderColor, x as BorderStyle, z as BorderWidth, af as CheckboxField, I as ClassName, h as CollapseWrapper, C as Color, aj as ColorPickerField, i as Condition, j as ContainerBackgroundColor, D as Decoration, P as DefaultPageConfigPanel, p as Direction, ah as EditGridTabField, ag as EditTabField, _ as ExtensionContext, $ as ExtensionProvider, F as FontFamily, v as FontSize, y as FontStyle, E as FontWeight, H as Height, a9 as ImageUploaderField, ai as InlineTextField, a3 as InputWithUnitField, U as InteractivePrompt, L as LetterSpacing, m as LineHeight, q as Link, t as Margin, Z as MergeTagBadgePrompt, w as MergeTags, M as MjmlToJson, N as NavbarLinkPadding, a6 as NumberField, G as Padding, J as PresetColorsProvider, a1 as RICH_TEXT_TOOL_BAR, ad as RadioGroupField, al as RichTextField, a4 as SearchField, aa as SelectField, S as SelectionRangeProvider, am as ShadowDom, K as ShortcutToolbar, X as SimpleLayout, a7 as SliderField, R as SourceCodePanel, Y as StandardLayout, ae as SwitchField, T as TextAlign, a5 as TextAreaField, k as TextDecoration, a2 as TextField, n as TextTransform, ab as TreeSelectField, a8 as UploadField, V as VerticalAlign, W as Width, ak as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, s as setIconsMap, a0 as useExtensionProps } from "./index2.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "easy-email-editor";
|
|
4
4
|
import "easy-email-core";
|