@mantine-vue/tiptap 3.2.0 → 3.4.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/cjs/index.cjs +462 -15
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +449 -16
- package/esm/index.mjs.map +1 -1
- package/lib/RichTextEditor.context.d.ts +2 -2
- package/lib/RichTextEditor.d.ts +17 -0
- package/lib/RichTextEditor.types.d.ts +19 -2
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.types.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.vue.d.ts +202 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.types.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.vue.d.ts +202 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.types.d.ts +21 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.vue.d.ts +209 -0
- package/lib/RichTextEditorControl/controls.d.ts +88 -0
- package/lib/RichTextEditorControl/index.d.ts +3 -0
- package/lib/icons/Icons.d.ts +14 -0
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/labels.d.ts +17 -1
- package/package.json +3 -3
- package/styles.css +276 -108
- package/styles.layer.css +276 -108
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import type { PopoverProps } from '@mantine-vue/core';
|
|
2
|
+
import type { RichTextEditorControlBaseRuntimeProps } from './RichTextEditorControl.types';
|
|
3
|
+
interface RuntimeProps extends RichTextEditorControlBaseRuntimeProps {
|
|
4
|
+
maxColumns?: number;
|
|
5
|
+
maxRows?: number;
|
|
6
|
+
withHeaderRow?: boolean;
|
|
7
|
+
popoverProps?: Partial<PopoverProps>;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_25: {
|
|
10
|
+
innerHTML?: string | undefined;
|
|
11
|
+
class?: import("vue").ClassValue | undefined;
|
|
12
|
+
style?: import("vue").StyleValue | undefined;
|
|
13
|
+
accesskey?: string | undefined;
|
|
14
|
+
contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
15
|
+
contextmenu?: string | undefined;
|
|
16
|
+
dir?: string | undefined;
|
|
17
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
18
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
19
|
+
enterKeyHint?: import("vue").HTMLAttributes["enterkeyhint"];
|
|
20
|
+
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
inert?: (boolean | "true" | "false") | undefined;
|
|
23
|
+
lang?: string | undefined;
|
|
24
|
+
placeholder?: string | undefined;
|
|
25
|
+
spellcheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
tabindex?: (string | number) | undefined;
|
|
27
|
+
title?: string | undefined;
|
|
28
|
+
translate?: "yes" | "no" | undefined;
|
|
29
|
+
radiogroup?: string | undefined;
|
|
30
|
+
role?: string | undefined;
|
|
31
|
+
about?: string | undefined;
|
|
32
|
+
datatype?: string | undefined;
|
|
33
|
+
inlist?: any;
|
|
34
|
+
prefix?: string | undefined;
|
|
35
|
+
property?: string | undefined;
|
|
36
|
+
resource?: string | undefined;
|
|
37
|
+
typeof?: string | undefined;
|
|
38
|
+
vocab?: string | undefined;
|
|
39
|
+
autocapitalize?: string | undefined;
|
|
40
|
+
autocorrect?: string | undefined;
|
|
41
|
+
autosave?: string | undefined;
|
|
42
|
+
color?: string | undefined;
|
|
43
|
+
itemprop?: string | undefined;
|
|
44
|
+
itemscope?: (boolean | "true" | "false") | undefined;
|
|
45
|
+
itemtype?: string | undefined;
|
|
46
|
+
itemid?: string | undefined;
|
|
47
|
+
itemref?: string | undefined;
|
|
48
|
+
results?: (string | number) | undefined;
|
|
49
|
+
security?: string | undefined;
|
|
50
|
+
unselectable?: "on" | "off" | undefined;
|
|
51
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
52
|
+
is?: string | undefined;
|
|
53
|
+
exportparts?: string;
|
|
54
|
+
part?: string;
|
|
55
|
+
'aria-activedescendant'?: string | undefined;
|
|
56
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
57
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
58
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
59
|
+
'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
60
|
+
'aria-colcount'?: (string | number) | undefined;
|
|
61
|
+
'aria-colindex'?: (string | number) | undefined;
|
|
62
|
+
'aria-colspan'?: (string | number) | undefined;
|
|
63
|
+
'aria-controls'?: string | undefined;
|
|
64
|
+
'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
65
|
+
'aria-describedby'?: string | undefined;
|
|
66
|
+
'aria-details'?: string | undefined;
|
|
67
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
69
|
+
'aria-errormessage'?: string | undefined;
|
|
70
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
71
|
+
'aria-flowto'?: string | undefined;
|
|
72
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
74
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
|
|
76
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
77
|
+
'aria-label'?: string | undefined;
|
|
78
|
+
'aria-labelledby'?: string | undefined;
|
|
79
|
+
'aria-level'?: (string | number) | undefined;
|
|
80
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
81
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
82
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
84
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
85
|
+
'aria-owns'?: string | undefined;
|
|
86
|
+
'aria-placeholder'?: string | undefined;
|
|
87
|
+
'aria-posinset'?: (string | number) | undefined;
|
|
88
|
+
'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
89
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
91
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
'aria-roledescription'?: string | undefined;
|
|
93
|
+
'aria-rowcount'?: (string | number) | undefined;
|
|
94
|
+
'aria-rowindex'?: (string | number) | undefined;
|
|
95
|
+
'aria-rowspan'?: (string | number) | undefined;
|
|
96
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
'aria-setsize'?: (string | number) | undefined;
|
|
98
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
99
|
+
'aria-valuemax'?: (string | number) | undefined;
|
|
100
|
+
'aria-valuemin'?: (string | number) | undefined;
|
|
101
|
+
'aria-valuenow'?: (string | number) | undefined;
|
|
102
|
+
'aria-valuetext'?: string | undefined;
|
|
103
|
+
onCopy?: ((payload: ClipboardEvent) => void) | undefined;
|
|
104
|
+
onCut?: ((payload: ClipboardEvent) => void) | undefined;
|
|
105
|
+
onPaste?: ((payload: ClipboardEvent) => void) | undefined;
|
|
106
|
+
onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
|
|
107
|
+
onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
|
|
108
|
+
onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
|
|
109
|
+
onDrag?: ((payload: DragEvent) => void) | undefined;
|
|
110
|
+
onDragend?: ((payload: DragEvent) => void) | undefined;
|
|
111
|
+
onDragenter?: ((payload: DragEvent) => void) | undefined;
|
|
112
|
+
onDragexit?: ((payload: DragEvent) => void) | undefined;
|
|
113
|
+
onDragleave?: ((payload: DragEvent) => void) | undefined;
|
|
114
|
+
onDragover?: ((payload: DragEvent) => void) | undefined;
|
|
115
|
+
onDragstart?: ((payload: DragEvent) => void) | undefined;
|
|
116
|
+
onDrop?: ((payload: DragEvent) => void) | undefined;
|
|
117
|
+
onFocus?: ((payload: FocusEvent) => void) | undefined;
|
|
118
|
+
onFocusin?: ((payload: FocusEvent) => void) | undefined;
|
|
119
|
+
onFocusout?: ((payload: FocusEvent) => void) | undefined;
|
|
120
|
+
onBlur?: ((payload: FocusEvent) => void) | undefined;
|
|
121
|
+
onChange?: ((payload: Event) => void) | undefined;
|
|
122
|
+
onBeforeinput?: ((payload: InputEvent) => void) | undefined;
|
|
123
|
+
onFormdata?: ((payload: FormDataEvent) => void) | undefined;
|
|
124
|
+
onInput?: ((payload: InputEvent) => void) | undefined;
|
|
125
|
+
onReset?: ((payload: Event) => void) | undefined;
|
|
126
|
+
onSubmit?: ((payload: SubmitEvent) => void) | undefined;
|
|
127
|
+
onInvalid?: ((payload: Event) => void) | undefined;
|
|
128
|
+
onFullscreenchange?: ((payload: Event) => void) | undefined;
|
|
129
|
+
onFullscreenerror?: ((payload: Event) => void) | undefined;
|
|
130
|
+
onLoad?: ((payload: Event) => void) | undefined;
|
|
131
|
+
onError?: ((payload: Event) => void) | undefined;
|
|
132
|
+
onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
|
|
133
|
+
onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
|
|
134
|
+
onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
|
|
135
|
+
onDblclick?: ((payload: MouseEvent) => void) | undefined;
|
|
136
|
+
onMousedown?: ((payload: MouseEvent) => void) | undefined;
|
|
137
|
+
onMouseenter?: ((payload: MouseEvent) => void) | undefined;
|
|
138
|
+
onMouseleave?: ((payload: MouseEvent) => void) | undefined;
|
|
139
|
+
onMousemove?: ((payload: MouseEvent) => void) | undefined;
|
|
140
|
+
onMouseout?: ((payload: MouseEvent) => void) | undefined;
|
|
141
|
+
onMouseover?: ((payload: MouseEvent) => void) | undefined;
|
|
142
|
+
onMouseup?: ((payload: MouseEvent) => void) | undefined;
|
|
143
|
+
onAbort?: ((payload: UIEvent) => void) | undefined;
|
|
144
|
+
onCanplay?: ((payload: Event) => void) | undefined;
|
|
145
|
+
onCanplaythrough?: ((payload: Event) => void) | undefined;
|
|
146
|
+
onDurationchange?: ((payload: Event) => void) | undefined;
|
|
147
|
+
onEmptied?: ((payload: Event) => void) | undefined;
|
|
148
|
+
onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
|
|
149
|
+
onEnded?: ((payload: Event) => void) | undefined;
|
|
150
|
+
onLoadeddata?: ((payload: Event) => void) | undefined;
|
|
151
|
+
onLoadedmetadata?: ((payload: Event) => void) | undefined;
|
|
152
|
+
onLoadstart?: ((payload: Event) => void) | undefined;
|
|
153
|
+
onPause?: ((payload: Event) => void) | undefined;
|
|
154
|
+
onPlay?: ((payload: Event) => void) | undefined;
|
|
155
|
+
onPlaying?: ((payload: Event) => void) | undefined;
|
|
156
|
+
onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
|
|
157
|
+
onRatechange?: ((payload: Event) => void) | undefined;
|
|
158
|
+
onSeeked?: ((payload: Event) => void) | undefined;
|
|
159
|
+
onSeeking?: ((payload: Event) => void) | undefined;
|
|
160
|
+
onStalled?: ((payload: Event) => void) | undefined;
|
|
161
|
+
onSuspend?: ((payload: Event) => void) | undefined;
|
|
162
|
+
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
163
|
+
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
164
|
+
onWaiting?: ((payload: Event) => void) | undefined;
|
|
165
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
166
|
+
onScroll?: ((payload: Event) => void) | undefined;
|
|
167
|
+
onScrollend?: ((payload: Event) => void) | undefined;
|
|
168
|
+
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
169
|
+
onTouchend?: ((payload: TouchEvent) => void) | undefined;
|
|
170
|
+
onTouchmove?: ((payload: TouchEvent) => void) | undefined;
|
|
171
|
+
onTouchstart?: ((payload: TouchEvent) => void) | undefined;
|
|
172
|
+
onAuxclick?: ((payload: PointerEvent) => void) | undefined;
|
|
173
|
+
onClick?: ((payload: PointerEvent) => void) | undefined;
|
|
174
|
+
onContextmenu?: ((payload: PointerEvent) => void) | undefined;
|
|
175
|
+
onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
176
|
+
onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
177
|
+
onPointerdown?: ((payload: PointerEvent) => void) | undefined;
|
|
178
|
+
onPointermove?: ((payload: PointerEvent) => void) | undefined;
|
|
179
|
+
onPointerup?: ((payload: PointerEvent) => void) | undefined;
|
|
180
|
+
onPointercancel?: ((payload: PointerEvent) => void) | undefined;
|
|
181
|
+
onPointerenter?: ((payload: PointerEvent) => void) | undefined;
|
|
182
|
+
onPointerleave?: ((payload: PointerEvent) => void) | undefined;
|
|
183
|
+
onPointerover?: ((payload: PointerEvent) => void) | undefined;
|
|
184
|
+
onPointerout?: ((payload: PointerEvent) => void) | undefined;
|
|
185
|
+
onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
186
|
+
onToggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
187
|
+
onWheel?: ((payload: WheelEvent) => void) | undefined;
|
|
188
|
+
onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
|
|
189
|
+
onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
|
|
190
|
+
onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
|
|
191
|
+
onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
|
|
192
|
+
onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
|
|
193
|
+
onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
|
|
194
|
+
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
195
|
+
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
196
|
+
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
197
|
+
};
|
|
198
|
+
type __VLS_Slots = {} & {
|
|
199
|
+
icon?: (props: typeof __VLS_25) => any;
|
|
200
|
+
};
|
|
201
|
+
declare const __VLS_base: import("vue").DefineComponent<RuntimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RuntimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
202
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
203
|
+
declare const _default: typeof __VLS_export;
|
|
204
|
+
export default _default;
|
|
205
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
206
|
+
new (): {
|
|
207
|
+
$slots: S;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
@@ -246,3 +246,91 @@ export declare const TaskListLiftControl: import("@mantine-vue/core").MantineCom
|
|
|
246
246
|
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
247
247
|
compound: true;
|
|
248
248
|
}>;
|
|
249
|
+
export declare const TableDeleteControl: import("@mantine-vue/core").MantineComponent<{
|
|
250
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
251
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
252
|
+
ref: HTMLButtonElement;
|
|
253
|
+
element: "button";
|
|
254
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
255
|
+
compound: true;
|
|
256
|
+
}>;
|
|
257
|
+
export declare const TableColumnBeforeControl: import("@mantine-vue/core").MantineComponent<{
|
|
258
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
259
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
260
|
+
ref: HTMLButtonElement;
|
|
261
|
+
element: "button";
|
|
262
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
263
|
+
compound: true;
|
|
264
|
+
}>;
|
|
265
|
+
export declare const TableColumnAfterControl: import("@mantine-vue/core").MantineComponent<{
|
|
266
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
267
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
268
|
+
ref: HTMLButtonElement;
|
|
269
|
+
element: "button";
|
|
270
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
271
|
+
compound: true;
|
|
272
|
+
}>;
|
|
273
|
+
export declare const TableColumnDeleteControl: import("@mantine-vue/core").MantineComponent<{
|
|
274
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
275
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
276
|
+
ref: HTMLButtonElement;
|
|
277
|
+
element: "button";
|
|
278
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
279
|
+
compound: true;
|
|
280
|
+
}>;
|
|
281
|
+
export declare const TableRowBeforeControl: import("@mantine-vue/core").MantineComponent<{
|
|
282
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
283
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
284
|
+
ref: HTMLButtonElement;
|
|
285
|
+
element: "button";
|
|
286
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
287
|
+
compound: true;
|
|
288
|
+
}>;
|
|
289
|
+
export declare const TableRowAfterControl: import("@mantine-vue/core").MantineComponent<{
|
|
290
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
291
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
292
|
+
ref: HTMLButtonElement;
|
|
293
|
+
element: "button";
|
|
294
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
295
|
+
compound: true;
|
|
296
|
+
}>;
|
|
297
|
+
export declare const TableRowDeleteControl: import("@mantine-vue/core").MantineComponent<{
|
|
298
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
299
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
300
|
+
ref: HTMLButtonElement;
|
|
301
|
+
element: "button";
|
|
302
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
303
|
+
compound: true;
|
|
304
|
+
}>;
|
|
305
|
+
export declare const TableToggleHeaderRowControl: import("@mantine-vue/core").MantineComponent<{
|
|
306
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
307
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
308
|
+
ref: HTMLButtonElement;
|
|
309
|
+
element: "button";
|
|
310
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
311
|
+
compound: true;
|
|
312
|
+
}>;
|
|
313
|
+
export declare const TableToggleHeaderColumnControl: import("@mantine-vue/core").MantineComponent<{
|
|
314
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
315
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
316
|
+
ref: HTMLButtonElement;
|
|
317
|
+
element: "button";
|
|
318
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
319
|
+
compound: true;
|
|
320
|
+
}>;
|
|
321
|
+
export declare const TableMergeCellsControl: import("@mantine-vue/core").MantineComponent<{
|
|
322
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
323
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
324
|
+
ref: HTMLButtonElement;
|
|
325
|
+
element: "button";
|
|
326
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
327
|
+
compound: true;
|
|
328
|
+
}>;
|
|
329
|
+
export declare const TableSplitCellControl: import("@mantine-vue/core").MantineComponent<{
|
|
330
|
+
props: import("./RichTextEditorControl.types").RichTextEditorControlBaseProps;
|
|
331
|
+
slots: import("./RichTextEditorControl.types").RichTextEditorControlBaseSlots;
|
|
332
|
+
ref: HTMLButtonElement;
|
|
333
|
+
element: "button";
|
|
334
|
+
stylesNames: import("./RichTextEditorControl.types").RichTextEditorControlStylesNames;
|
|
335
|
+
compound: true;
|
|
336
|
+
}>;
|
|
@@ -3,4 +3,7 @@ export * from './RichTextEditorColorControl';
|
|
|
3
3
|
export * from './RichTextEditorColorPickerControl';
|
|
4
4
|
export * from './RichTextEditorLinkControl';
|
|
5
5
|
export * from './RichTextEditorSourceCodeControl';
|
|
6
|
+
export * from './RichTextEditorTableInsertControl';
|
|
7
|
+
export * from './RichTextEditorDetailsControl';
|
|
8
|
+
export * from './RichTextEditorInvisibleCharactersControl';
|
|
6
9
|
export * from './controls';
|
package/lib/icons/Icons.d.ts
CHANGED
|
@@ -40,3 +40,17 @@ export declare const IconListCheck: Component<IconProps>;
|
|
|
40
40
|
export declare const IconIndentIncrease: Component<IconProps>;
|
|
41
41
|
export declare const IconIndentDecrease: Component<IconProps>;
|
|
42
42
|
export declare const IconBraces: Component<IconProps>;
|
|
43
|
+
export declare const IconTablePlus: Component<IconProps>;
|
|
44
|
+
export declare const IconTableOff: Component<IconProps>;
|
|
45
|
+
export declare const IconColumnInsertLeft: Component<IconProps>;
|
|
46
|
+
export declare const IconColumnInsertRight: Component<IconProps>;
|
|
47
|
+
export declare const IconColumnRemove: Component<IconProps>;
|
|
48
|
+
export declare const IconRowInsertTop: Component<IconProps>;
|
|
49
|
+
export declare const IconRowInsertBottom: Component<IconProps>;
|
|
50
|
+
export declare const IconRowRemove: Component<IconProps>;
|
|
51
|
+
export declare const IconTableHeaderRow: Component<IconProps>;
|
|
52
|
+
export declare const IconTableHeaderColumn: Component<IconProps>;
|
|
53
|
+
export declare const IconTableMergeCells: Component<IconProps>;
|
|
54
|
+
export declare const IconTableSplitCell: Component<IconProps>;
|
|
55
|
+
export declare const IconDetails: Component<IconProps>;
|
|
56
|
+
export declare const IconPilcrow: Component<IconProps>;
|
package/lib/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ export { RichTextEditor } from './RichTextEditor';
|
|
|
2
2
|
export { useRichTextEditorContext } from './RichTextEditor.context';
|
|
3
3
|
export type { RichTextEditorContextValue } from './RichTextEditor.context';
|
|
4
4
|
export type { RichTextEditorFactory, RichTextEditorProps, RichTextEditorStylesNames, RichTextEditorVariant, RichTextEditorContentProps, RichTextEditorControlProps, RichTextEditorControlsGroupProps, RichTextEditorToolbarProps, } from './RichTextEditor';
|
|
5
|
-
export type { RichTextEditorLabels } from './labels';
|
|
5
|
+
export type { ResolvedRichTextEditorLabels, RichTextEditorLabels } from './labels';
|
|
6
6
|
export { DEFAULT_LABELS } from './labels';
|
|
7
7
|
export * from './RichTextEditorControl';
|
|
8
8
|
export * from './extensions';
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { RichTextEditor } from './RichTextEditor';
|
|
|
2
2
|
export { useRichTextEditorContext } from './RichTextEditor.context';
|
|
3
3
|
export type { RichTextEditorContextValue } from './RichTextEditor.context';
|
|
4
4
|
export type { RichTextEditorFactory, RichTextEditorProps, RichTextEditorStylesNames, RichTextEditorVariant, RichTextEditorContentProps, RichTextEditorControlProps, RichTextEditorControlsGroupProps, RichTextEditorToolbarProps, } from './RichTextEditor';
|
|
5
|
-
export type { RichTextEditorLabels } from './labels';
|
|
5
|
+
export type { ResolvedRichTextEditorLabels, RichTextEditorLabels } from './labels';
|
|
6
6
|
export { DEFAULT_LABELS } from './labels';
|
|
7
7
|
export * from './RichTextEditorControl';
|
|
8
8
|
export * from './extensions';
|
package/lib/labels.d.ts
CHANGED
|
@@ -45,5 +45,21 @@ export interface RichTextEditorLabels {
|
|
|
45
45
|
tasksControlLabel: string;
|
|
46
46
|
tasksSinkLabel: string;
|
|
47
47
|
tasksLiftLabel: string;
|
|
48
|
+
tableInsertControlLabel?: string;
|
|
49
|
+
tableInsertLabel?: (columns: number, rows: number) => string;
|
|
50
|
+
tableDeleteControlLabel?: string;
|
|
51
|
+
tableColumnBeforeControlLabel?: string;
|
|
52
|
+
tableColumnAfterControlLabel?: string;
|
|
53
|
+
tableColumnDeleteControlLabel?: string;
|
|
54
|
+
tableRowBeforeControlLabel?: string;
|
|
55
|
+
tableRowAfterControlLabel?: string;
|
|
56
|
+
tableRowDeleteControlLabel?: string;
|
|
57
|
+
tableToggleHeaderRowControlLabel?: string;
|
|
58
|
+
tableToggleHeaderColumnControlLabel?: string;
|
|
59
|
+
tableMergeCellsControlLabel?: string;
|
|
60
|
+
tableSplitCellControlLabel?: string;
|
|
61
|
+
detailsControlLabel?: string;
|
|
62
|
+
invisibleCharactersControlLabel?: string;
|
|
48
63
|
}
|
|
49
|
-
export
|
|
64
|
+
export type ResolvedRichTextEditorLabels = Required<RichTextEditorLabels>;
|
|
65
|
+
export declare const DEFAULT_LABELS: ResolvedRichTextEditorLabels;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/tiptap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Vue rich text editor based on tiptap, equivalent to @mantine/tiptap",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@floating-ui/dom": "^1.0.0",
|
|
48
|
-
"@mantine-vue/core": "3.
|
|
49
|
-
"@mantine-vue/hooks": "3.
|
|
48
|
+
"@mantine-vue/core": "3.4.0",
|
|
49
|
+
"@mantine-vue/hooks": "3.4.0",
|
|
50
50
|
"@tiptap/core": ">=3.3.0",
|
|
51
51
|
"@tiptap/extension-link": ">=3.3.0",
|
|
52
52
|
"@tiptap/pm": ">=3.3.0",
|