easy-email-extensions 3.1.4 → 3.1.5

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 (142) hide show
  1. package/lib/AttributePanel/AttributePanel.d.ts +3 -3
  2. package/lib/AttributePanel/components/UI/Help/index.d.ts +7 -7
  3. package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +5 -5
  4. package/lib/AttributePanel/components/attributes/Align.d.ts +3 -3
  5. package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +6 -6
  6. package/lib/AttributePanel/components/attributes/Background.d.ts +1 -1
  7. package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +3 -3
  8. package/lib/AttributePanel/components/attributes/Border.d.ts +1 -1
  9. package/lib/AttributePanel/components/attributes/BorderColor.d.ts +1 -1
  10. package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +5 -5
  11. package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +1 -1
  12. package/lib/AttributePanel/components/attributes/Color.d.ts +4 -4
  13. package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +3 -3
  14. package/lib/AttributePanel/components/attributes/Decoration.d.ts +1 -1
  15. package/lib/AttributePanel/components/attributes/Direction.d.ts +1 -1
  16. package/lib/AttributePanel/components/attributes/FontFamily.d.ts +1 -1
  17. package/lib/AttributePanel/components/attributes/FontSize.d.ts +1 -1
  18. package/lib/AttributePanel/components/attributes/FontStyle.d.ts +1 -1
  19. package/lib/AttributePanel/components/attributes/FontWeight.d.ts +1 -1
  20. package/lib/AttributePanel/components/attributes/Height.d.ts +3 -3
  21. package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +1 -1
  22. package/lib/AttributePanel/components/attributes/LineHeight.d.ts +1 -1
  23. package/lib/AttributePanel/components/attributes/Link.d.ts +1 -1
  24. package/lib/AttributePanel/components/attributes/Margin.d.ts +1 -1
  25. package/lib/AttributePanel/components/attributes/MergeTags.d.ts +6 -6
  26. package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +3 -3
  27. package/lib/AttributePanel/components/attributes/Padding.d.ts +5 -5
  28. package/lib/AttributePanel/components/attributes/TextAlign.d.ts +1 -1
  29. package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +1 -1
  30. package/lib/AttributePanel/components/attributes/TextTransform.d.ts +1 -1
  31. package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +3 -3
  32. package/lib/AttributePanel/components/attributes/Width.d.ts +5 -5
  33. package/lib/AttributePanel/components/attributes/index.d.ts +29 -29
  34. package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +1 -1
  35. package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +1 -1
  36. package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +1 -1
  37. package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +1 -1
  38. package/lib/AttributePanel/components/blocks/Button/index.d.ts +1 -1
  39. package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +1 -1
  40. package/lib/AttributePanel/components/blocks/Column/index.d.ts +1 -1
  41. package/lib/AttributePanel/components/blocks/Divider/index.d.ts +1 -1
  42. package/lib/AttributePanel/components/blocks/Group/index.d.ts +1 -1
  43. package/lib/AttributePanel/components/blocks/Hero/index.d.ts +1 -1
  44. package/lib/AttributePanel/components/blocks/Image/index.d.ts +1 -1
  45. package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +1 -1
  46. package/lib/AttributePanel/components/blocks/Page/index.d.ts +1 -1
  47. package/lib/AttributePanel/components/blocks/Raw/index.d.ts +1 -1
  48. package/lib/AttributePanel/components/blocks/Section/index.d.ts +1 -1
  49. package/lib/AttributePanel/components/blocks/Social/index.d.ts +1 -1
  50. package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +1 -1
  51. package/lib/AttributePanel/components/blocks/Table/index.d.ts +1 -1
  52. package/lib/AttributePanel/components/blocks/Text/index.d.ts +1 -1
  53. package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +1 -1
  54. package/lib/AttributePanel/components/blocks/index.d.ts +42 -42
  55. package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +6 -6
  56. package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +6 -6
  57. package/lib/AttributePanel/hooks/useSelectionRange.d.ts +6 -6
  58. package/lib/AttributePanel/index.d.ts +3 -3
  59. package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +10 -10
  60. package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +2 -2
  61. package/lib/AttributePanel/utils/PromiseEach.d.ts +1 -1
  62. package/lib/AttributePanel/utils/Uploader.d.ts +35 -35
  63. package/lib/AttributePanel/utils/awaitForElement.d.ts +4 -4
  64. package/lib/AttributePanel/utils/classnames.d.ts +1 -1
  65. package/lib/AttributePanel/utils/getIconNameByBlockType.d.ts +1 -1
  66. package/lib/AttributePanel/utils/getImg.d.ts +8 -8
  67. package/lib/AttributePanel/utils/onDrag.d.ts +10 -10
  68. package/lib/AttributePanel/utils/previewLoadImage.d.ts +1 -1
  69. package/lib/BlockLayer/components/BlockTree/index.d.ts +51 -51
  70. package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +1 -1
  71. package/lib/BlockLayer/components/ContextMenu/index.d.ts +14 -14
  72. package/lib/BlockLayer/components/EyeIcon/index.d.ts +7 -7
  73. package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +24 -24
  74. package/lib/BlockLayer/index.d.ts +10 -10
  75. package/lib/InteractivePrompt/components/FocusTooltip.d.ts +1 -1
  76. package/lib/InteractivePrompt/components/HoverTooltip.d.ts +1 -1
  77. package/lib/InteractivePrompt/components/Toolbar.d.ts +5 -5
  78. package/lib/InteractivePrompt/index.d.ts +1 -1
  79. package/lib/InteractivePrompt/utils/awaitForElement.d.ts +4 -4
  80. package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +1 -1
  81. package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +6 -6
  82. package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +2 -2
  83. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +1 -1
  84. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +1 -1
  85. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +1 -1
  86. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +1 -1
  87. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +1 -1
  88. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +1 -1
  89. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +1 -1
  90. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +1 -1
  91. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +1 -1
  92. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +1 -1
  93. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +1 -1
  94. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +1 -1
  95. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +1 -1
  96. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +1 -1
  97. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +1 -1
  98. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +18 -18
  99. package/lib/ShortcutToolbar/components/Picture/index.d.ts +7 -7
  100. package/lib/ShortcutToolbar/index.d.ts +4 -4
  101. package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +32 -32
  102. package/lib/ShortcutToolbar/utils/getImg.d.ts +68 -68
  103. package/lib/SimpleLayout/SimpleLayout.d.ts +2 -2
  104. package/lib/SimpleLayout/index.d.ts +1 -1
  105. package/lib/SourceCodePanel/index.d.ts +1 -1
  106. package/lib/components/AddToCollection/index.d.ts +5 -5
  107. package/lib/components/Form/AddFont.d.ts +1 -1
  108. package/lib/components/Form/AutoComplete.d.ts +11 -11
  109. package/lib/components/Form/CheckBoxGroup.d.ts +14 -14
  110. package/lib/components/Form/CodemirrorEditor/index.d.ts +8 -8
  111. package/lib/components/Form/ColorPicker.d.ts +10 -10
  112. package/lib/components/Form/EditTab.d.ts +10 -10
  113. package/lib/components/Form/ImageUploader/index.d.ts +8 -8
  114. package/lib/components/Form/InlineTextField/index.d.ts +7 -7
  115. package/lib/components/Form/Input.d.ts +7 -7
  116. package/lib/components/Form/InputWithUnit.d.ts +10 -10
  117. package/lib/components/Form/RadioGroup.d.ts +13 -13
  118. package/lib/components/Form/RichTextField/index.d.ts +2 -2
  119. package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +3 -1
  120. package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +3 -3
  121. package/lib/components/Form/RichTextToolBar/components/FontSizeList/index.d.ts +3 -3
  122. package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +3 -3
  123. package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +12 -12
  124. package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +7 -7
  125. package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +5 -5
  126. package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +1 -1
  127. package/lib/components/Form/RichTextToolBar/index.d.ts +1 -1
  128. package/lib/components/Form/Select.d.ts +11 -11
  129. package/lib/components/Form/UploadField.d.ts +8 -8
  130. package/lib/components/Form/enhancer.d.ts +20 -20
  131. package/lib/components/Form/index.d.ts +32 -32
  132. package/lib/components/RenderCount/index.d.ts +1 -1
  133. package/lib/components/ShadowDom/index.d.ts +2 -2
  134. package/lib/hooks/useAddToCollection.d.ts +6 -6
  135. package/lib/index.d.ts +8 -8
  136. package/lib/index2.js +11 -8
  137. package/lib/index2.js.map +1 -1
  138. package/lib/index3.js.map +1 -1
  139. package/lib/utils/awaitForElement.d.ts +4 -4
  140. package/lib/utils/classnames.d.ts +1 -1
  141. package/package.json +2 -2
  142. package/readme.md +138 -138
@@ -1,32 +1,32 @@
1
- import { SliderProps, InputNumberProps, SwitchProps, DatePickerProps, TextAreaProps, CheckboxGroupProps, TreeSelectProps } from '@arco-design/web-react';
2
- import { ImageUploaderProps } from './ImageUploader';
3
- import { UploadFieldProps } from './UploadField';
4
- import { ColorPickerProps } from './ColorPicker';
5
- import { SelectProps } from './Select';
6
- import { RadioGroupProps } from './RadioGroup';
7
- import enhancer from './enhancer';
8
- import { InputProps } from './Input';
9
- import { InputWithUnitProps } from './InputWithUnit';
10
- import { EditTabProps } from './EditTab';
11
- import { InlineTextProps } from './InlineTextField';
12
- import { AutoCompleteProps } from './AutoComplete';
13
- export { RichTextField } from './RichTextField';
14
- export declare const TextField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
15
- export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps<InputWithUnitProps> & Omit<InputWithUnitProps, "value" | "onChange" | "mutators">) => JSX.Element;
16
- export declare const SearchField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
17
- export declare const TextAreaField: (props: import("./enhancer").EnhancerProps<TextAreaProps> & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
18
- export declare const NumberField: (props: import("./enhancer").EnhancerProps<InputNumberProps> & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
19
- export declare const SliderField: (props: import("./enhancer").EnhancerProps<SliderProps> & Omit<SliderProps, "value" | "onChange" | "mutators">) => JSX.Element;
20
- export declare const ColorPickerField: (props: import("./enhancer").EnhancerProps<ColorPickerProps> & Omit<ColorPickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
21
- export declare const UploadField: (props: import("./enhancer").EnhancerProps<UploadFieldProps> & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
22
- export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps<ImageUploaderProps> & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
23
- export declare const SelectField: (props: import("./enhancer").EnhancerProps<SelectProps> & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
24
- export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps<TreeSelectProps> & Omit<TreeSelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
25
- export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps<AutoCompleteProps> & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
26
- export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps<RadioGroupProps> & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
27
- export declare const SwitchField: (props: import("./enhancer").EnhancerProps<SwitchProps> & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
28
- export declare const DatePickerField: (props: import("./enhancer").EnhancerProps<DatePickerProps> & Omit<DatePickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
29
- export declare const CheckboxField: (props: import("./enhancer").EnhancerProps<CheckboxGroupProps<any>> & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
30
- export declare const EditTabField: (props: import("./enhancer").EnhancerProps<EditTabProps<any>> & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
31
- export declare const InlineTextField: (props: import("./enhancer").EnhancerProps<InlineTextProps> & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
32
- export { enhancer };
1
+ import { SliderProps, InputNumberProps, SwitchProps, DatePickerProps, TextAreaProps, CheckboxGroupProps, TreeSelectProps } from '@arco-design/web-react';
2
+ import { ImageUploaderProps } from './ImageUploader';
3
+ import { UploadFieldProps } from './UploadField';
4
+ import { ColorPickerProps } from './ColorPicker';
5
+ import { SelectProps } from './Select';
6
+ import { RadioGroupProps } from './RadioGroup';
7
+ import enhancer from './enhancer';
8
+ import { InputProps } from './Input';
9
+ import { InputWithUnitProps } from './InputWithUnit';
10
+ import { EditTabProps } from './EditTab';
11
+ import { InlineTextProps } from './InlineTextField';
12
+ import { AutoCompleteProps } from './AutoComplete';
13
+ export { RichTextField } from './RichTextField';
14
+ export declare const TextField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
15
+ export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps<InputWithUnitProps> & Omit<InputWithUnitProps, "value" | "onChange" | "mutators">) => JSX.Element;
16
+ export declare const SearchField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
17
+ export declare const TextAreaField: (props: import("./enhancer").EnhancerProps<TextAreaProps> & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
18
+ export declare const NumberField: (props: import("./enhancer").EnhancerProps<InputNumberProps> & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
19
+ export declare const SliderField: (props: import("./enhancer").EnhancerProps<SliderProps> & Omit<SliderProps, "value" | "onChange" | "mutators">) => JSX.Element;
20
+ export declare const ColorPickerField: (props: import("./enhancer").EnhancerProps<ColorPickerProps> & Omit<ColorPickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
21
+ export declare const UploadField: (props: import("./enhancer").EnhancerProps<UploadFieldProps> & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
22
+ export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps<ImageUploaderProps> & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
23
+ export declare const SelectField: (props: import("./enhancer").EnhancerProps<SelectProps> & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
24
+ export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps<TreeSelectProps> & Omit<TreeSelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
25
+ export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps<AutoCompleteProps> & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
26
+ export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps<RadioGroupProps> & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
27
+ export declare const SwitchField: (props: import("./enhancer").EnhancerProps<SwitchProps> & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
28
+ export declare const DatePickerField: (props: import("./enhancer").EnhancerProps<DatePickerProps> & Omit<DatePickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
29
+ export declare const CheckboxField: (props: import("./enhancer").EnhancerProps<CheckboxGroupProps<any>> & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
30
+ export declare const EditTabField: (props: import("./enhancer").EnhancerProps<EditTabProps<any>> & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
31
+ export declare const InlineTextField: (props: import("./enhancer").EnhancerProps<InlineTextProps> & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
32
+ export { enhancer };
@@ -1 +1 @@
1
- export declare function RenderCount(): JSX.Element;
1
+ export declare function RenderCount(): JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
2
- export declare const ShadowDom: React.FC<React.HTMLProps<HTMLElement>>;
1
+ import React from 'react';
2
+ export declare const ShadowDom: React.FC<React.HTMLProps<HTMLElement>>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- export declare function useAddToCollection(): {
3
- modal: JSX.Element;
4
- modalVisible: boolean;
5
- setModalVisible: React.Dispatch<React.SetStateAction<boolean>>;
6
- };
1
+ import React from 'react';
2
+ export declare function useAddToCollection(): {
3
+ modal: JSX.Element;
4
+ modalVisible: boolean;
5
+ setModalVisible: React.Dispatch<React.SetStateAction<boolean>>;
6
+ };
package/lib/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import './index.scss';
2
- export * from './BlockLayer';
3
- export * from './AttributePanel';
4
- export * from './ShortcutToolbar';
5
- export * from './SourceCodePanel';
6
- export * from './InteractivePrompt';
7
- export * from './SimpleLayout';
8
- export * from './components/Form';
1
+ import './index.scss';
2
+ export * from './BlockLayer';
3
+ export * from './AttributePanel';
4
+ export * from './ShortcutToolbar';
5
+ export * from './SourceCodePanel';
6
+ export * from './InteractivePrompt';
7
+ export * from './SimpleLayout';
8
+ export * from './components/Form';
package/lib/index2.js CHANGED
@@ -38616,7 +38616,9 @@ function InputWithUnit(props) {
38616
38616
  useCallback((val) => {
38617
38617
  props.onChange(val);
38618
38618
  }, [props.onChange]);
38619
- return /* @__PURE__ */ React__default.createElement(Input, __spreadProps(__spreadValues({}, props), {
38619
+ return /* @__PURE__ */ React__default.createElement(Input, __spreadProps(__spreadValues({
38620
+ value
38621
+ }, restProps), {
38620
38622
  quickchange: true
38621
38623
  }));
38622
38624
  }
@@ -38817,7 +38819,7 @@ function Link$1(props) {
38817
38819
  let underline = true;
38818
38820
  let linkNode = getLinkNode(props.currentRange);
38819
38821
  if (linkNode) {
38820
- link = linkNode.href;
38822
+ link = linkNode.getAttribute("href") || "";
38821
38823
  blank = linkNode.getAttribute("target") === "_blank";
38822
38824
  underline = linkNode.style.textDecoration === "underline";
38823
38825
  }
@@ -41482,7 +41484,7 @@ function Tools(props) {
41482
41484
  })));
41483
41485
  }
41484
41486
  var styleText = ".easy-email-extensions-emailToolItem{display:inline-flex;position:relative;outline:none;font-weight:400;appearance:none;cursor:pointer!important;white-space:nowrap;transition:all .1s linear;box-sizing:border-box;line-height:1.5715;border:none;background-color:transparent;color:#fff}.easy-email-extensions-divider{position:relative;display:inline-flex;width:1px;height:16px;background-color:#808080e6}\n";
41485
- function RichTextToolBar() {
41487
+ function RichTextToolBar(props) {
41486
41488
  const [position, setPosition] = useState({ top: 0, left: 0 });
41487
41489
  const [blockNode, setBlockNode] = useState(null);
41488
41490
  const { focusBlock: focusBlock2 } = useBlock();
@@ -41541,8 +41543,7 @@ function RichTextToolBar() {
41541
41543
  }
41542
41544
  }), /* @__PURE__ */ React__default.createElement(Tools, {
41543
41545
  container: editorContainer,
41544
- onChange: () => {
41545
- }
41546
+ onChange: props.onChange
41546
41547
  }))), blockNode));
41547
41548
  }
41548
41549
  const RichTextField = (props) => {
@@ -41551,7 +41552,7 @@ const RichTextField = (props) => {
41551
41552
  if ((focusBlock2 == null ? void 0 : focusBlock2.type) !== BasicType.TEXT)
41552
41553
  return null;
41553
41554
  const name = `${focusIdx2}.data.value.content`;
41554
- return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(RichTextToolBar, null), /* @__PURE__ */ React__default.createElement(Field, {
41555
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Field, {
41555
41556
  name,
41556
41557
  parse: (v) => v
41557
41558
  }, ({ input }) => /* @__PURE__ */ React__default.createElement(FieldWrapper, __spreadProps(__spreadValues({}, props), {
@@ -41563,9 +41564,11 @@ function FieldWrapper(props) {
41563
41564
  const debounceCallbackChange = useCallback(lodash.exports.debounce((val) => {
41564
41565
  input.onChange(val);
41565
41566
  }, 500), [input]);
41566
- return /* @__PURE__ */ React__default.createElement(InlineText, __spreadProps(__spreadValues({}, rest), {
41567
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(RichTextToolBar, {
41567
41568
  onChange: debounceCallbackChange
41568
- }));
41569
+ }), /* @__PURE__ */ React__default.createElement(InlineText, __spreadProps(__spreadValues({}, rest), {
41570
+ onChange: debounceCallbackChange
41571
+ })), ";");
41569
41572
  }
41570
41573
  const TextField = enhancer(Input, (value) => value);
41571
41574
  const InputWithUnitField = enhancer(InputWithUnit, (value) => value);