@firstnoodle-ui/bui 0.0.53 → 0.0.57

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 (39) hide show
  1. package/dist/bui.css +1 -1
  2. package/dist/components/button/Button.vue.d.ts +307 -0
  3. package/dist/components/index.d.ts +3 -0
  4. package/dist/components/panel-layout/PanelLayout.vue.d.ts +48 -0
  5. package/dist/components/panel-layout/ResizablePanel.vue.d.ts +44 -0
  6. package/dist/components/panel-layout/index.d.ts +2 -0
  7. package/dist/components/pop-calendar/PopCalendar.vue.d.ts +16 -16
  8. package/dist/components/pop-confirm/PopConfirm.vue.d.ts +28 -27
  9. package/dist/components/popper/Popper.vue.d.ts +4 -4
  10. package/dist/components/segmented-controls/SegmentButton.vue.d.ts +11 -0
  11. package/dist/components/segmented-controls/SegmentedControls.vue.d.ts +11 -0
  12. package/dist/components/segmented-controls/index.d.ts +2 -0
  13. package/dist/components/segmented-controls/types.d.ts +5 -0
  14. package/dist/components/text-editor/components/FormattingMenuDivider.vue.d.ts +2 -0
  15. package/dist/components/text-editor/components/InserLink.vue.d.ts +412 -0
  16. package/dist/components/text-editor/components/InsertImage.vue.d.ts +7 -0
  17. package/dist/components/text-editor/components/index.d.ts +3 -0
  18. package/dist/components/text-editor/index.d.ts +1 -0
  19. package/dist/components/text-editor/utils.ts/getCurrentWord.d.ts +1 -0
  20. package/dist/components/text-editor/utils.ts/index.d.ts +3 -0
  21. package/dist/components/text-editor/utils.ts/pasteImage.d.ts +2 -0
  22. package/dist/components/text-editor/utils.ts/replaceCurrentWord.d.ts +1 -0
  23. package/dist/components/tiptap-editor/TiptapEditor.vue.d.ts +36 -0
  24. package/dist/components/tiptap-editor/index.d.ts +1 -0
  25. package/dist/components/tooltip/Tooltip.vue.d.ts +427 -3
  26. package/dist/components/tree-diagram/components/child-node/ChildNode.vue.d.ts +2 -0
  27. package/dist/components/tree-diagram/components/child-node/index.d.ts +1 -0
  28. package/dist/components/tree-diagram/components/connection-lines/ConnectionLines.vue.d.ts +2 -0
  29. package/dist/components/tree-diagram/components/connection-lines/index.d.ts +1 -0
  30. package/dist/components/tree-diagram/components/connection-lines/svgPath.d.ts +1 -0
  31. package/dist/components/tree-diagram/components/index.d.ts +3 -0
  32. package/dist/components/tree-diagram/components/root-node/RootNode.vue.d.ts +2 -0
  33. package/dist/components/tree-diagram/components/root-node/index.d.ts +1 -0
  34. package/dist/components/tree-diagram/composables/usePositioning.d.ts +1 -0
  35. package/dist/components/tree-diagram/index.d.ts +1 -0
  36. package/dist/components/tree-list/types.d.ts +14 -0
  37. package/dist/components/types.d.ts +1 -1
  38. package/dist/index.mjs +15988 -12554
  39. package/package.json +22 -17
@@ -0,0 +1,412 @@
1
+ type __VLS_Props = {
2
+ editor: any;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ cancel: () => any;
6
+ inserted: () => any;
7
+ updateTargets: (elements: HTMLElement[]) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onCancel?: (() => any) | undefined;
10
+ onInserted?: (() => any) | undefined;
11
+ onUpdateTargets?: ((elements: HTMLElement[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
+ popperRef: ({
14
+ $: import('vue').ComponentInternalInstance;
15
+ $data: {};
16
+ $props: {
17
+ readonly closeDelay?: number | undefined;
18
+ readonly closeOnClickOutside?: boolean | undefined;
19
+ readonly disabled?: boolean | undefined;
20
+ readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
21
+ readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
22
+ readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
23
+ readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
24
+ readonly openDelay?: number | undefined;
25
+ readonly placement?: import('@floating-ui/utils').Placement | undefined;
26
+ readonly popperWidthClass?: string | undefined;
27
+ readonly rootClass?: string | string[] | undefined;
28
+ readonly sameWidthAsElement?: HTMLElement | undefined;
29
+ readonly sameWidthAsTrigger?: boolean | undefined;
30
+ readonly show?: boolean | undefined;
31
+ readonly teleportTarget?: string | undefined;
32
+ readonly trigger?: import('../../types.ts').TPopperTrigger | undefined;
33
+ readonly triggerClass?: string | string[] | undefined;
34
+ readonly onClose?: ((...args: any[]) => any) | undefined;
35
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
36
+ readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
37
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
38
+ $attrs: {
39
+ [x: string]: unknown;
40
+ };
41
+ $refs: {
42
+ [x: string]: unknown;
43
+ } & {
44
+ containerRef: HTMLDivElement;
45
+ triggerRef: HTMLDivElement;
46
+ popperRef: HTMLDivElement;
47
+ };
48
+ $slots: Readonly<{
49
+ [name: string]: import('vue').Slot<any> | undefined;
50
+ }>;
51
+ $root: import('vue').ComponentPublicInstance | null;
52
+ $parent: import('vue').ComponentPublicInstance | null;
53
+ $host: Element | null;
54
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
55
+ $el: HTMLDivElement;
56
+ $options: import('vue').ComponentOptionsBase<Readonly<{
57
+ closeDelay?: number;
58
+ closeOnClickOutside?: boolean;
59
+ disabled?: boolean;
60
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
61
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
62
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
63
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
64
+ openDelay?: number;
65
+ placement?: import('@floating-ui/utils').Placement;
66
+ popperWidthClass?: string;
67
+ rootClass?: string | string[];
68
+ sameWidthAsElement?: HTMLElement;
69
+ sameWidthAsTrigger?: boolean;
70
+ show?: boolean;
71
+ teleportTarget?: string;
72
+ trigger?: import('../../types.ts').TPopperTrigger;
73
+ triggerClass?: string | string[];
74
+ }> & Readonly<{
75
+ onClose?: ((...args: any[]) => any) | undefined;
76
+ onOpen?: ((...args: any[]) => any) | undefined;
77
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
78
+ }>, {
79
+ close: () => void;
80
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
81
+ open: () => Promise<void>;
82
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
83
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
84
+ close: (...args: any[]) => void;
85
+ open: (...args: any[]) => void;
86
+ updateClickOutside: (...args: any[]) => void;
87
+ }, string, {
88
+ disabled: boolean;
89
+ placement: import('@floating-ui/utils').Placement;
90
+ trigger: import('../../types.ts').TPopperTrigger;
91
+ closeDelay: number;
92
+ closeOnClickOutside: boolean;
93
+ flipOptions: Partial<{
94
+ mainAxis?: boolean | undefined;
95
+ crossAxis?: boolean | "alignment" | undefined;
96
+ fallbackPlacements?: Array<import('@floating-ui/utils').Placement> | undefined;
97
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
98
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
99
+ flipAlignment?: boolean | undefined;
100
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
101
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
102
+ altBoundary?: boolean | undefined;
103
+ padding?: import('@floating-ui/utils').Padding | undefined;
104
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
105
+ }>;
106
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
107
+ shiftOptions: Partial<{
108
+ mainAxis?: boolean | undefined;
109
+ crossAxis?: boolean | undefined;
110
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
111
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
112
+ altBoundary?: boolean | undefined;
113
+ padding?: import('@floating-ui/utils').Padding | undefined;
114
+ limiter?: {
115
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
116
+ options?: any;
117
+ } | undefined;
118
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
119
+ }>;
120
+ openDelay: number;
121
+ rootClass: string | string[];
122
+ sameWidthAsTrigger: boolean;
123
+ show: boolean;
124
+ teleportTarget: string;
125
+ triggerClass: string | string[];
126
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
127
+ beforeCreate?: (() => void) | (() => void)[];
128
+ created?: (() => void) | (() => void)[];
129
+ beforeMount?: (() => void) | (() => void)[];
130
+ mounted?: (() => void) | (() => void)[];
131
+ beforeUpdate?: (() => void) | (() => void)[];
132
+ updated?: (() => void) | (() => void)[];
133
+ activated?: (() => void) | (() => void)[];
134
+ deactivated?: (() => void) | (() => void)[];
135
+ beforeDestroy?: (() => void) | (() => void)[];
136
+ beforeUnmount?: (() => void) | (() => void)[];
137
+ destroyed?: (() => void) | (() => void)[];
138
+ unmounted?: (() => void) | (() => void)[];
139
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
140
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
141
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
142
+ };
143
+ $forceUpdate: () => void;
144
+ $nextTick: typeof import('vue').nextTick;
145
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
146
+ } & Readonly<{
147
+ disabled: boolean;
148
+ placement: import('@floating-ui/utils').Placement;
149
+ trigger: import('../../types.ts').TPopperTrigger;
150
+ closeDelay: number;
151
+ closeOnClickOutside: boolean;
152
+ flipOptions: Partial<{
153
+ mainAxis?: boolean | undefined;
154
+ crossAxis?: boolean | "alignment" | undefined;
155
+ fallbackPlacements?: Array<import('@floating-ui/utils').Placement> | undefined;
156
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
157
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
158
+ flipAlignment?: boolean | undefined;
159
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
160
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
161
+ altBoundary?: boolean | undefined;
162
+ padding?: import('@floating-ui/utils').Padding | undefined;
163
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
164
+ }>;
165
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
166
+ shiftOptions: Partial<{
167
+ mainAxis?: boolean | undefined;
168
+ crossAxis?: boolean | undefined;
169
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
170
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
171
+ altBoundary?: boolean | undefined;
172
+ padding?: import('@floating-ui/utils').Padding | undefined;
173
+ limiter?: {
174
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
175
+ options?: any;
176
+ } | undefined;
177
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
178
+ }>;
179
+ openDelay: number;
180
+ rootClass: string | string[];
181
+ sameWidthAsTrigger: boolean;
182
+ show: boolean;
183
+ teleportTarget: string;
184
+ triggerClass: string | string[];
185
+ }> & Omit<Readonly<{
186
+ closeDelay?: number;
187
+ closeOnClickOutside?: boolean;
188
+ disabled?: boolean;
189
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
190
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
191
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
192
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
193
+ openDelay?: number;
194
+ placement?: import('@floating-ui/utils').Placement;
195
+ popperWidthClass?: string;
196
+ rootClass?: string | string[];
197
+ sameWidthAsElement?: HTMLElement;
198
+ sameWidthAsTrigger?: boolean;
199
+ show?: boolean;
200
+ teleportTarget?: string;
201
+ trigger?: import('../../types.ts').TPopperTrigger;
202
+ triggerClass?: string | string[];
203
+ }> & Readonly<{
204
+ onClose?: ((...args: any[]) => any) | undefined;
205
+ onOpen?: ((...args: any[]) => any) | undefined;
206
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
207
+ }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "closeOnClickOutside" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "teleportTarget" | "triggerClass")> & import('vue').ShallowUnwrapRef<{
208
+ close: () => void;
209
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
210
+ open: () => Promise<void>;
211
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
212
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
213
+ $slots: {
214
+ default?(_: {
215
+ visible: boolean;
216
+ }): any;
217
+ content?(_: {
218
+ close: () => void;
219
+ isOpen: true;
220
+ }): any;
221
+ };
222
+ }) | null;
223
+ displayNameRef: ({
224
+ $: import('vue').ComponentInternalInstance;
225
+ $data: {};
226
+ $props: {
227
+ readonly disabled?: boolean | undefined;
228
+ readonly clearable?: boolean | undefined;
229
+ readonly icon?: import('../../types.ts').TIcon | undefined;
230
+ readonly multiline?: boolean | undefined;
231
+ readonly placeholder?: string | undefined;
232
+ readonly size?: "default" | "small" | undefined;
233
+ readonly value: string;
234
+ readonly variant?: "border" | "fill" | undefined;
235
+ readonly inputType?: import('vue').InputTypeHTMLAttribute | undefined;
236
+ readonly autoFocus?: boolean | undefined;
237
+ readonly onChange?: ((...args: any[]) => any) | undefined;
238
+ readonly onEnter?: ((...args: any[]) => any) | undefined;
239
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
240
+ $attrs: {
241
+ [x: string]: unknown;
242
+ };
243
+ $refs: {
244
+ [x: string]: unknown;
245
+ } & {
246
+ textareaRef: HTMLTextAreaElement;
247
+ inputRef: HTMLInputElement;
248
+ };
249
+ $slots: Readonly<{
250
+ [name: string]: import('vue').Slot<any> | undefined;
251
+ }>;
252
+ $root: import('vue').ComponentPublicInstance | null;
253
+ $parent: import('vue').ComponentPublicInstance | null;
254
+ $host: Element | null;
255
+ $emit: ((event: "change", ...args: any[]) => void) & ((event: "enter", ...args: any[]) => void);
256
+ $el: HTMLDivElement;
257
+ $options: import('vue').ComponentOptionsBase<Readonly<{
258
+ disabled?: boolean;
259
+ clearable?: boolean;
260
+ icon?: import('../../types.ts').TIcon;
261
+ multiline?: boolean;
262
+ placeholder?: string;
263
+ size?: "default" | "small";
264
+ value: string;
265
+ variant?: "border" | "fill";
266
+ inputType?: import('vue').InputTypeHTMLAttribute;
267
+ autoFocus?: boolean;
268
+ }> & Readonly<{
269
+ onChange?: ((...args: any[]) => any) | undefined;
270
+ onEnter?: ((...args: any[]) => any) | undefined;
271
+ }>, {
272
+ focus: () => void;
273
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
274
+ change: (...args: any[]) => void;
275
+ enter: (...args: any[]) => void;
276
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
277
+ beforeCreate?: (() => void) | (() => void)[];
278
+ created?: (() => void) | (() => void)[];
279
+ beforeMount?: (() => void) | (() => void)[];
280
+ mounted?: (() => void) | (() => void)[];
281
+ beforeUpdate?: (() => void) | (() => void)[];
282
+ updated?: (() => void) | (() => void)[];
283
+ activated?: (() => void) | (() => void)[];
284
+ deactivated?: (() => void) | (() => void)[];
285
+ beforeDestroy?: (() => void) | (() => void)[];
286
+ beforeUnmount?: (() => void) | (() => void)[];
287
+ destroyed?: (() => void) | (() => void)[];
288
+ unmounted?: (() => void) | (() => void)[];
289
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
290
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
291
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
292
+ };
293
+ $forceUpdate: () => void;
294
+ $nextTick: typeof import('vue').nextTick;
295
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
296
+ } & Readonly<{}> & Omit<Readonly<{
297
+ disabled?: boolean;
298
+ clearable?: boolean;
299
+ icon?: import('../../types.ts').TIcon;
300
+ multiline?: boolean;
301
+ placeholder?: string;
302
+ size?: "default" | "small";
303
+ value: string;
304
+ variant?: "border" | "fill";
305
+ inputType?: import('vue').InputTypeHTMLAttribute;
306
+ autoFocus?: boolean;
307
+ }> & Readonly<{
308
+ onChange?: ((...args: any[]) => any) | undefined;
309
+ onEnter?: ((...args: any[]) => any) | undefined;
310
+ }>, "focus"> & import('vue').ShallowUnwrapRef<{
311
+ focus: () => void;
312
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
313
+ $slots: {
314
+ 'inline-controls'?(_: {}): any;
315
+ };
316
+ }) | null;
317
+ linkAddressRef: ({
318
+ $: import('vue').ComponentInternalInstance;
319
+ $data: {};
320
+ $props: {
321
+ readonly disabled?: boolean | undefined;
322
+ readonly clearable?: boolean | undefined;
323
+ readonly icon?: import('../../types.ts').TIcon | undefined;
324
+ readonly multiline?: boolean | undefined;
325
+ readonly placeholder?: string | undefined;
326
+ readonly size?: "default" | "small" | undefined;
327
+ readonly value: string;
328
+ readonly variant?: "border" | "fill" | undefined;
329
+ readonly inputType?: import('vue').InputTypeHTMLAttribute | undefined;
330
+ readonly autoFocus?: boolean | undefined;
331
+ readonly onChange?: ((...args: any[]) => any) | undefined;
332
+ readonly onEnter?: ((...args: any[]) => any) | undefined;
333
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
334
+ $attrs: {
335
+ [x: string]: unknown;
336
+ };
337
+ $refs: {
338
+ [x: string]: unknown;
339
+ } & {
340
+ textareaRef: HTMLTextAreaElement;
341
+ inputRef: HTMLInputElement;
342
+ };
343
+ $slots: Readonly<{
344
+ [name: string]: import('vue').Slot<any> | undefined;
345
+ }>;
346
+ $root: import('vue').ComponentPublicInstance | null;
347
+ $parent: import('vue').ComponentPublicInstance | null;
348
+ $host: Element | null;
349
+ $emit: ((event: "change", ...args: any[]) => void) & ((event: "enter", ...args: any[]) => void);
350
+ $el: HTMLDivElement;
351
+ $options: import('vue').ComponentOptionsBase<Readonly<{
352
+ disabled?: boolean;
353
+ clearable?: boolean;
354
+ icon?: import('../../types.ts').TIcon;
355
+ multiline?: boolean;
356
+ placeholder?: string;
357
+ size?: "default" | "small";
358
+ value: string;
359
+ variant?: "border" | "fill";
360
+ inputType?: import('vue').InputTypeHTMLAttribute;
361
+ autoFocus?: boolean;
362
+ }> & Readonly<{
363
+ onChange?: ((...args: any[]) => any) | undefined;
364
+ onEnter?: ((...args: any[]) => any) | undefined;
365
+ }>, {
366
+ focus: () => void;
367
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
368
+ change: (...args: any[]) => void;
369
+ enter: (...args: any[]) => void;
370
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
371
+ beforeCreate?: (() => void) | (() => void)[];
372
+ created?: (() => void) | (() => void)[];
373
+ beforeMount?: (() => void) | (() => void)[];
374
+ mounted?: (() => void) | (() => void)[];
375
+ beforeUpdate?: (() => void) | (() => void)[];
376
+ updated?: (() => void) | (() => void)[];
377
+ activated?: (() => void) | (() => void)[];
378
+ deactivated?: (() => void) | (() => void)[];
379
+ beforeDestroy?: (() => void) | (() => void)[];
380
+ beforeUnmount?: (() => void) | (() => void)[];
381
+ destroyed?: (() => void) | (() => void)[];
382
+ unmounted?: (() => void) | (() => void)[];
383
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
384
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
385
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
386
+ };
387
+ $forceUpdate: () => void;
388
+ $nextTick: typeof import('vue').nextTick;
389
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
390
+ } & Readonly<{}> & Omit<Readonly<{
391
+ disabled?: boolean;
392
+ clearable?: boolean;
393
+ icon?: import('../../types.ts').TIcon;
394
+ multiline?: boolean;
395
+ placeholder?: string;
396
+ size?: "default" | "small";
397
+ value: string;
398
+ variant?: "border" | "fill";
399
+ inputType?: import('vue').InputTypeHTMLAttribute;
400
+ autoFocus?: boolean;
401
+ }> & Readonly<{
402
+ onChange?: ((...args: any[]) => any) | undefined;
403
+ onEnter?: ((...args: any[]) => any) | undefined;
404
+ }>, "focus"> & import('vue').ShallowUnwrapRef<{
405
+ focus: () => void;
406
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
407
+ $slots: {
408
+ 'inline-controls'?(_: {}): any;
409
+ };
410
+ }) | null;
411
+ }, HTMLDivElement>;
412
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ editor: any;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
5
+ fileInputRef: HTMLInputElement;
6
+ }, any>;
7
+ export default _default;
@@ -1,3 +1,6 @@
1
1
  export { default as FormattingButton } from './FormattingButton.vue';
2
+ export { default as FormattingMenuDivider } from './FormattingMenuDivider.vue';
3
+ export { default as InsertLink } from './InserLink.vue';
4
+ export { default as InsertImage } from './InsertImage.vue';
2
5
  export { default as InsertLinkDialog } from './InsertLinkDialog.vue';
3
6
  export { default as InsertTextDialog } from './InsertTextDialog.vue';
@@ -1 +1,2 @@
1
+ export { FormattingButton as BFormattingButton, FormattingMenuDivider as BFormattingMenuDivider, InsertImage as BInsertImage, InsertLink as BInsertLink, } from './components';
1
2
  export { default as BTextEditor } from './TextEditor.vue';
@@ -0,0 +1 @@
1
+ export declare const getCurrentWord: (editor: any) => string | null;
@@ -0,0 +1,3 @@
1
+ export * from './getCurrentWord';
2
+ export * from './pasteImage';
3
+ export * from './replaceCurrentWord';
@@ -0,0 +1,2 @@
1
+ import { Extension } from '@tiptap/core';
2
+ export declare const PasteImage: Extension<any, any>;
@@ -0,0 +1 @@
1
+ export declare const replaceCurrentWord: (editor: any, replacement: string) => void;
@@ -0,0 +1,36 @@
1
+ type __VLS_Props = {
2
+ content: string;
3
+ placeholder?: string;
4
+ };
5
+ declare const focusPositions: readonly ["start", "end", "all"];
6
+ type FocusPosition = (typeof focusPositions)[number];
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
8
+ editor: import('vue').ShallowRef<import('@tiptap/vue-3').Editor | undefined, import('@tiptap/vue-3').Editor | undefined>;
9
+ blur: boolean | undefined;
10
+ focus: (position: FocusPosition) => void;
11
+ insertContent: (value: string) => boolean | undefined;
12
+ setContent: (value: string) => boolean | undefined;
13
+ indentLeft: () => boolean;
14
+ indentRight: () => boolean;
15
+ redo: () => boolean;
16
+ toggleBold: () => boolean;
17
+ toggleBulletList: () => boolean;
18
+ toggleItalic: () => boolean;
19
+ toggleHighlight: () => boolean;
20
+ toggleHeading: () => boolean;
21
+ toggleHeading2: () => boolean;
22
+ toggleOrderedList: () => boolean;
23
+ toggleUnderline: () => boolean;
24
+ undo: () => boolean;
25
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
26
+ focus: () => any;
27
+ blur: () => any;
28
+ change: (value: string) => any;
29
+ "editor-ready": () => any;
30
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
31
+ onFocus?: (() => any) | undefined;
32
+ onBlur?: (() => any) | undefined;
33
+ onChange?: ((value: string) => any) | undefined;
34
+ "onEditor-ready"?: (() => any) | undefined;
35
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BTiptapEditor } from './TiptapEditor.vue';