designertool 0.58.0 → 0.59.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.
@@ -34,6 +34,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
34
34
  type: BooleanConstructor;
35
35
  default: boolean;
36
36
  };
37
+ enableLists: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
37
41
  }>, {
38
42
  applyFormat: typeof applyFormat;
39
43
  getSelectionFormat: typeof getSelectionFormat;
@@ -57,6 +61,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
57
61
  type: BooleanConstructor;
58
62
  default: boolean;
59
63
  };
64
+ enableLists: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
60
68
  }>> & Readonly<{
61
69
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
62
70
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
@@ -64,5 +72,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
72
  }>, {
65
73
  modelValue: string;
66
74
  editable: boolean;
75
+ enableLists: boolean;
67
76
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
68
77
  export default _default;
@@ -1,14 +1,123 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- id: {
3
- type: NumberConstructor;
4
- required: true;
5
- };
6
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
- id: {
8
- type: NumberConstructor;
9
- required: true;
10
- };
11
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
12
- paragraphItem: HTMLDivElement;
13
- }, HTMLDivElement>;
1
+ interface Props {
2
+ id: number;
3
+ }
4
+ declare function applyFormat(format: string, value: any): void;
5
+ declare function getSelectionFormat(): any;
6
+ declare function hasSelection(): any;
7
+ declare const _default: import('vue').DefineComponent<Props, {
8
+ applyFormat: typeof applyFormat;
9
+ getSelectionFormat: typeof getSelectionFormat;
10
+ hasSelection: typeof hasSelection;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
+ editorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
13
+ id: {
14
+ type: NumberConstructor;
15
+ required: true;
16
+ };
17
+ modelValue: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ editable: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ enableLists: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{
30
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
32
+ "onContent-update"?: ((...args: any[]) => any) | undefined;
33
+ }>, {
34
+ applyFormat: (format: string, value: any) => void;
35
+ getSelectionFormat: () => {
36
+ bold?: undefined;
37
+ italic?: undefined;
38
+ underline?: undefined;
39
+ strike?: undefined;
40
+ color?: undefined;
41
+ fontFamily?: undefined;
42
+ fontSize?: undefined;
43
+ textAlign?: undefined;
44
+ } | {
45
+ bold: boolean;
46
+ italic: boolean;
47
+ underline: boolean;
48
+ strike: boolean;
49
+ color: any;
50
+ fontFamily: any;
51
+ fontSize: any;
52
+ textAlign: any;
53
+ };
54
+ hasSelection: () => boolean;
55
+ applyToAll: (command: (chain: any) => void) => void;
56
+ editor: import('vue').ComputedRef<import('@tiptap/vue-3').Editor | undefined>;
57
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ "update:modelValue": (...args: any[]) => void;
59
+ "selection-change": (...args: any[]) => void;
60
+ "content-update": (...args: any[]) => void;
61
+ }, import('vue').PublicProps, {
62
+ modelValue: string;
63
+ editable: boolean;
64
+ enableLists: boolean;
65
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
66
+ P: {};
67
+ B: {};
68
+ D: {};
69
+ C: {};
70
+ M: {};
71
+ Defaults: {};
72
+ }, Readonly<import('vue').ExtractPropTypes<{
73
+ id: {
74
+ type: NumberConstructor;
75
+ required: true;
76
+ };
77
+ modelValue: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ editable: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ enableLists: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ }>> & Readonly<{
90
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
92
+ "onContent-update"?: ((...args: any[]) => any) | undefined;
93
+ }>, {
94
+ applyFormat: (format: string, value: any) => void;
95
+ getSelectionFormat: () => {
96
+ bold?: undefined;
97
+ italic?: undefined;
98
+ underline?: undefined;
99
+ strike?: undefined;
100
+ color?: undefined;
101
+ fontFamily?: undefined;
102
+ fontSize?: undefined;
103
+ textAlign?: undefined;
104
+ } | {
105
+ bold: boolean;
106
+ italic: boolean;
107
+ underline: boolean;
108
+ strike: boolean;
109
+ color: any;
110
+ fontFamily: any;
111
+ fontSize: any;
112
+ textAlign: any;
113
+ };
114
+ hasSelection: () => boolean;
115
+ applyToAll: (command: (chain: any) => void) => void;
116
+ editor: import('vue').ComputedRef<import('@tiptap/vue-3').Editor | undefined>;
117
+ }, {}, {}, {}, {
118
+ modelValue: string;
119
+ editable: boolean;
120
+ enableLists: boolean;
121
+ }> | null;
122
+ }, any>;
14
123
  export default _default;
@@ -22,6 +22,10 @@ declare const _default: import('vue').DefineComponent<Props, {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ enableLists: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
25
29
  }>> & Readonly<{
26
30
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
31
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
@@ -57,6 +61,7 @@ declare const _default: import('vue').DefineComponent<Props, {
57
61
  }, import('vue').PublicProps, {
58
62
  modelValue: string;
59
63
  editable: boolean;
64
+ enableLists: boolean;
60
65
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
61
66
  P: {};
62
67
  B: {};
@@ -77,6 +82,10 @@ declare const _default: import('vue').DefineComponent<Props, {
77
82
  type: BooleanConstructor;
78
83
  default: boolean;
79
84
  };
85
+ enableLists: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
80
89
  }>> & Readonly<{
81
90
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
82
91
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
@@ -108,6 +117,7 @@ declare const _default: import('vue').DefineComponent<Props, {
108
117
  }, {}, {}, {}, {
109
118
  modelValue: string;
110
119
  editable: boolean;
120
+ enableLists: boolean;
111
121
  }> | null;
112
122
  }, any>;
113
123
  export default _default;