@halo-dev/richtext-editor 0.0.0-alpha.24 → 0.0.0-alpha.26

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.
@@ -0,0 +1,79 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ editor: {
3
+ type: any;
4
+ required: false;
5
+ default: any;
6
+ };
7
+ isActive: {
8
+ type: BooleanConstructor;
9
+ required: false;
10
+ default: boolean;
11
+ };
12
+ disabled: {
13
+ type: BooleanConstructor;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ title: {
18
+ type: StringConstructor;
19
+ required: false;
20
+ default: any;
21
+ };
22
+ action: {
23
+ type: FunctionConstructor;
24
+ required: false;
25
+ default: any;
26
+ };
27
+ icon: {
28
+ type: any;
29
+ required: false;
30
+ default: any;
31
+ };
32
+ }, {
33
+ props: any;
34
+ handleSetColor: (color?: string) => void;
35
+ handleUnsetColor: () => void;
36
+ readonly ToolbarItem: any;
37
+ ColorPickerDropdown: any;
38
+ readonly MdiFormatColorMarkerCancel: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
39
+ readonly i18n: any;
40
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ editor: {
42
+ type: any;
43
+ required: false;
44
+ default: any;
45
+ };
46
+ isActive: {
47
+ type: BooleanConstructor;
48
+ required: false;
49
+ default: boolean;
50
+ };
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ required: false;
54
+ default: boolean;
55
+ };
56
+ title: {
57
+ type: StringConstructor;
58
+ required: false;
59
+ default: any;
60
+ };
61
+ action: {
62
+ type: FunctionConstructor;
63
+ required: false;
64
+ default: any;
65
+ };
66
+ icon: {
67
+ type: any;
68
+ required: false;
69
+ default: any;
70
+ };
71
+ }>>, {
72
+ editor: any;
73
+ title: string;
74
+ isActive: boolean;
75
+ action: Function;
76
+ icon: any;
77
+ disabled: boolean;
78
+ }>;
79
+ export default _sfc_main;
@@ -42,6 +42,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  handleToggleFrameborder: () => void;
43
43
  sizeMatch: (width: string, height: string) => boolean;
44
44
  handleOpenLink: () => void;
45
+ frameRef: import("vue").Ref<any>;
46
+ handleRefresh: () => void;
47
+ inputRef: import("vue").Ref<any>;
45
48
  readonly NodeViewWrapper: import("vue").DefineComponent<{
46
49
  as: {
47
50
  type: StringConstructor;
@@ -55,16 +58,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
58
  }>>, {
56
59
  as: string;
57
60
  }>;
61
+ readonly VDropdown: any;
58
62
  BlockCard: any;
59
63
  BlockActionButton: any;
60
64
  BlockActionInput: any;
61
65
  BlockActionSeparator: any;
62
- readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
63
- readonly MdiCellphoneIphone: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
64
- readonly MdiTabletIpad: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
65
- readonly MdiDesktopMac: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
66
- readonly MdiBorderAllVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
67
- readonly MdiBorderNoneVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
66
+ readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
67
+ readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
68
+ readonly MdiCellphoneIphone: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
69
+ readonly MdiTabletIpad: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
70
+ readonly MdiDesktopMac: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
71
+ readonly MdiBorderAllVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
72
+ readonly MdiBorderNoneVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
73
+ readonly MdiFormatAlignLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
74
+ readonly MdiFormatAlignCenter: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
75
+ readonly MdiFormatAlignRight: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
76
+ readonly MdiFormatAlignJustify: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
77
+ readonly MdiWebSync: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
68
78
  readonly i18n: any;
69
79
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
70
80
  editor: {
@@ -38,17 +38,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
38
38
  width: import("vue").WritableComputedRef<any>;
39
39
  height: import("vue").WritableComputedRef<any>;
40
40
  resizeRef: import("vue").Ref<HTMLElement>;
41
+ mounted: boolean;
41
42
  reuseResizeObserver: () => {
42
- isSupported: import("vue").Ref<boolean>;
43
+ isSupported: import("vue").ComputedRef<boolean>;
43
44
  stop: () => void;
44
45
  };
45
46
  resizeObserver: {
46
- isSupported: import("vue").Ref<boolean>;
47
+ isSupported: import("vue").ComputedRef<boolean>;
47
48
  stop: () => void;
48
49
  };
49
- handleSetSize: (width: string, height: string) => void;
50
+ resetResizeObserver: () => void;
51
+ handleSetSize: (width?: string, height?: string) => void;
50
52
  handleSetFocus: () => void;
51
53
  handleOpenLink: () => void;
54
+ inputRef: import("vue").Ref<any>;
52
55
  readonly NodeViewWrapper: import("vue").DefineComponent<{
53
56
  as: {
54
57
  type: StringConstructor;
@@ -67,11 +70,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
67
70
  BlockActionSeparator: any;
68
71
  BlockActionInput: any;
69
72
  readonly VDropdown: any;
70
- readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
71
- readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
72
- readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
73
- readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
74
- readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
73
+ readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
74
+ readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
75
+ readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
76
+ readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
77
+ readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
78
+ readonly MdiFormatAlignLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
79
+ readonly MdiFormatAlignCenter: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
80
+ readonly MdiFormatAlignRight: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
81
+ readonly MdiFormatAlignJustify: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
82
+ readonly MdiBackupRestore: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
75
83
  readonly i18n: any;
76
84
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
77
85
  editor: {
@@ -1,2 +1,2 @@
1
- declare const Image: import("@tiptap/vue-3").Node<import("@tiptap/extension-image").ImageOptions, any>;
1
+ declare const Image: import("@tiptap/vue-3").Node<any, any>;
2
2
  export default Image;
@@ -15,6 +15,8 @@ import ExtensionTaskList from "./task-list";
15
15
  import ExtensionTable from "./table";
16
16
  import ExtensionTextAlign from "./text-align";
17
17
  import ExtensionLink from "./link";
18
+ import ExtensionColor from "./color";
19
+ import ExtensionFontSize from "./font-size";
18
20
  import ExtensionDropcursor from "@tiptap/extension-dropcursor";
19
21
  import ExtensionGapcursor from "@tiptap/extension-gapcursor";
20
22
  import ExtensionHardBreak from "@tiptap/extension-hard-break";
@@ -29,4 +31,4 @@ import ExtensionVideo from "./video";
29
31
  import ExtensionAudio from "./audio";
30
32
  import ExtensionImage from "./image";
31
33
  declare const allExtensions: any[];
32
- export { allExtensions, ExtensionBlockquote, ExtensionBold, ExtensionBulletList, ExtensionCode, ExtensionDocument, ExtensionDropcursor, ExtensionGapcursor, ExtensionHardBreak, ExtensionHeading, ExtensionHistory, ExtensionHorizontalRule, ExtensionItalic, ExtensionOrderedList, ExtensionStrike, ExtensionText, ExtensionImage, ExtensionTaskList, ExtensionLink, ExtensionTextAlign, ExtensionUnderline, ExtensionTable, ExtensionSubscript, ExtensionSuperscript, ExtensionPlaceholder, ExtensionHighlight, ExtensionCommands, ExtensionCodeBlock, lowlight, ExtensionIframe, ExtensionVideo, ExtensionAudio, };
34
+ export { allExtensions, ExtensionBlockquote, ExtensionBold, ExtensionBulletList, ExtensionCode, ExtensionDocument, ExtensionDropcursor, ExtensionGapcursor, ExtensionHardBreak, ExtensionHeading, ExtensionHistory, ExtensionHorizontalRule, ExtensionItalic, ExtensionOrderedList, ExtensionStrike, ExtensionText, ExtensionImage, ExtensionTaskList, ExtensionLink, ExtensionTextAlign, ExtensionUnderline, ExtensionTable, ExtensionSubscript, ExtensionSuperscript, ExtensionPlaceholder, ExtensionHighlight, ExtensionCommands, ExtensionCodeBlock, lowlight, ExtensionIframe, ExtensionVideo, ExtensionAudio, ExtensionColor, ExtensionFontSize, };
@@ -33,7 +33,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
33
33
  href: import("vue").WritableComputedRef<any>;
34
34
  target: import("vue").WritableComputedRef<boolean>;
35
35
  readonly VDropdown: any;
36
- readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
36
+ readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
37
37
  readonly i18n: any;
38
38
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
39
  editor: {
@@ -45,6 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
45
45
  handleToggleAutoplay: () => void;
46
46
  handleToggleLoop: () => void;
47
47
  handleOpenLink: () => void;
48
+ inputRef: import("vue").Ref<any>;
48
49
  readonly NodeViewWrapper: import("vue").DefineComponent<{
49
50
  as: {
50
51
  type: StringConstructor;
@@ -58,20 +59,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
58
59
  }>>, {
59
60
  as: string;
60
61
  }>;
62
+ readonly VDropdown: any;
61
63
  BlockCard: any;
62
64
  BlockActionButton: any;
63
65
  BlockActionInput: any;
64
66
  BlockActionSeparator: any;
65
- readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
66
- readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
67
- readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
68
- readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
69
- readonly MdiCogPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
70
- readonly MdiCogPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
71
- readonly MdiPlayCircle: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
72
- readonly MdiPlayCircleOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
73
- readonly MdiMotionPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
74
- readonly MdiMotionPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
67
+ readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
68
+ readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
69
+ readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
70
+ readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
71
+ readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
72
+ readonly MdiFormatAlignLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
73
+ readonly MdiFormatAlignCenter: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
74
+ readonly MdiFormatAlignRight: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
75
+ readonly MdiFormatAlignJustify: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
76
+ readonly MdiCogPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
77
+ readonly MdiCogPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
78
+ readonly MdiPlayCircle: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
79
+ readonly MdiPlayCircleOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
80
+ readonly MdiMotionPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
81
+ readonly MdiMotionPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
75
82
  readonly i18n: any;
76
83
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
77
84
  editor: {