@firstnoodle-ui/bui 0.0.54 → 0.0.58

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 (46) hide show
  1. package/dist/bui.css +1 -1
  2. package/dist/components/avatar-upload/AvatarUpload.vue.d.ts +173 -0
  3. package/dist/components/avatar-upload/index.d.ts +1 -0
  4. package/dist/components/button/Button.vue.d.ts +10 -10
  5. package/dist/components/confirm-cancel/ConfirmCancel.vue.d.ts +2 -2
  6. package/dist/components/horizontal-layout/Aside.vue.d.ts +1 -1
  7. package/dist/components/index.d.ts +3 -0
  8. package/dist/components/inline-form-wrapper/InlineFormWrapper.vue.d.ts +2 -2
  9. package/dist/components/modal/Modal.vue.d.ts +2 -2
  10. package/dist/components/panel-layout/ResizablePanel.vue.d.ts +2 -2
  11. package/dist/components/pop-calendar/PopCalendar.vue.d.ts +18 -18
  12. package/dist/components/pop-confirm/PopConfirm.vue.d.ts +18 -18
  13. package/dist/components/pop-select/option.vue.d.ts +2 -2
  14. package/dist/components/popper/Popper.vue.d.ts +4 -4
  15. package/dist/components/screen-overlay/ScreenOverlay.vue.d.ts +2 -2
  16. package/dist/components/scrollbar/Bar.vue.d.ts +2 -2
  17. package/dist/components/scrollbar/Scrollbar.vue.d.ts +2 -2
  18. package/dist/components/segmented-controls/SegmentButton.vue.d.ts +11 -0
  19. package/dist/components/segmented-controls/SegmentedControls.vue.d.ts +11 -0
  20. package/dist/components/segmented-controls/index.d.ts +2 -0
  21. package/dist/components/segmented-controls/types.d.ts +5 -0
  22. package/dist/components/select-list/SelectList.vue.d.ts +10 -10
  23. package/dist/components/select-list/components/select-list-option/SelectListOption.vue.d.ts +2 -2
  24. package/dist/components/tab/Tab.vue.d.ts +2 -2
  25. package/dist/components/text-editor/TextEditor.vue.d.ts +5 -5
  26. package/dist/components/text-editor/components/FormattingMenuDivider.vue.d.ts +2 -0
  27. package/dist/components/text-editor/components/InserLink.vue.d.ts +412 -0
  28. package/dist/components/text-editor/components/InsertImage.vue.d.ts +7 -0
  29. package/dist/components/text-editor/components/index.d.ts +3 -0
  30. package/dist/components/text-editor/index.d.ts +1 -0
  31. package/dist/components/tiptap-editor/TiptapEditor.vue.d.ts +41 -0
  32. package/dist/components/tiptap-editor/index.d.ts +1 -0
  33. package/dist/components/toggle-button/ToggleButton.vue.d.ts +1 -1
  34. package/dist/components/tooltip/Tooltip.vue.d.ts +16 -16
  35. package/dist/components/tree-list/types.d.ts +14 -0
  36. package/dist/components/types.d.ts +1 -1
  37. package/dist/components/vertical-layout/RunningSection.vue.d.ts +1 -1
  38. package/dist/components/vertical-layout/VerticalLayout.vue.d.ts +1 -1
  39. package/dist/index.mjs +17684 -14323
  40. package/dist/utils/tiptap/enterKeyBehaviour.d.ts +4 -0
  41. package/dist/utils/tiptap/getCurrentWord.d.ts +1 -0
  42. package/dist/utils/tiptap/index.d.ts +5 -0
  43. package/dist/utils/tiptap/pasteImage.d.ts +2 -0
  44. package/dist/utils/tiptap/replaceCurrentWord.d.ts +1 -0
  45. package/dist/utils/tiptap/useExtensionStorage.d.ts +2 -0
  46. package/package.json +23 -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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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('../..').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,41 @@
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
+ reset: () => void;
17
+ toggleBold: () => boolean;
18
+ toggleBulletList: () => boolean;
19
+ toggleItalic: () => boolean;
20
+ toggleHighlight: () => boolean;
21
+ toggleHeading: () => boolean;
22
+ toggleHeading2: () => boolean;
23
+ toggleOrderedList: () => boolean;
24
+ toggleUnderline: () => boolean;
25
+ undo: () => boolean;
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
+ change: (value: string) => any;
28
+ blur: () => any;
29
+ focus: () => any;
30
+ "editor-ready": () => any;
31
+ "new-line-state-changed": (state: boolean) => any;
32
+ "enter-key": () => any;
33
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ onChange?: ((value: string) => any) | undefined;
35
+ onBlur?: (() => any) | undefined;
36
+ onFocus?: (() => any) | undefined;
37
+ "onEditor-ready"?: (() => any) | undefined;
38
+ "onNew-line-state-changed"?: ((state: boolean) => any) | undefined;
39
+ "onEnter-key"?: (() => any) | undefined;
40
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BTiptapEditor } from './TiptapEditor.vue';
@@ -20,8 +20,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
20
20
  onClick?: ((...args: any[]) => any) | undefined;
21
21
  onBlur?: ((...args: any[]) => any) | undefined;
22
22
  }>, {
23
- focus: boolean;
24
23
  disabled: boolean;
24
+ focus: boolean;
25
25
  stopPropagation: boolean;
26
26
  tooltipDelay: number;
27
27
  tooltipPlacement: Placement;
@@ -100,7 +100,7 @@ declare function __VLS_template(): {
100
100
  closeOnClickOutside: boolean;
101
101
  flipOptions: Partial<{
102
102
  mainAxis?: boolean | undefined;
103
- crossAxis?: boolean | undefined;
103
+ crossAxis?: boolean | "alignment" | undefined;
104
104
  fallbackPlacements?: Array<Placement> | undefined;
105
105
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
106
106
  fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
@@ -108,7 +108,7 @@ declare function __VLS_template(): {
108
108
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
109
109
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
110
110
  altBoundary?: boolean | undefined;
111
- padding?: import('@floating-ui/core').Padding | undefined;
111
+ padding?: import('@floating-ui/utils').Padding | undefined;
112
112
  boundary?: import('@floating-ui/dom').Boundary | undefined;
113
113
  }>;
114
114
  offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
@@ -118,9 +118,9 @@ declare function __VLS_template(): {
118
118
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
119
119
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
120
120
  altBoundary?: boolean | undefined;
121
- padding?: import('@floating-ui/core').Padding | undefined;
121
+ padding?: import('@floating-ui/utils').Padding | undefined;
122
122
  limiter?: {
123
- fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
123
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
124
124
  options?: any;
125
125
  } | undefined;
126
126
  boundary?: import('@floating-ui/dom').Boundary | undefined;
@@ -159,7 +159,7 @@ declare function __VLS_template(): {
159
159
  closeOnClickOutside: boolean;
160
160
  flipOptions: Partial<{
161
161
  mainAxis?: boolean | undefined;
162
- crossAxis?: boolean | undefined;
162
+ crossAxis?: boolean | "alignment" | undefined;
163
163
  fallbackPlacements?: Array<Placement> | undefined;
164
164
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
165
165
  fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
@@ -167,7 +167,7 @@ declare function __VLS_template(): {
167
167
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
168
168
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
169
169
  altBoundary?: boolean | undefined;
170
- padding?: import('@floating-ui/core').Padding | undefined;
170
+ padding?: import('@floating-ui/utils').Padding | undefined;
171
171
  boundary?: import('@floating-ui/dom').Boundary | undefined;
172
172
  }>;
173
173
  offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
@@ -177,9 +177,9 @@ declare function __VLS_template(): {
177
177
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
178
178
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
179
179
  altBoundary?: boolean | undefined;
180
- padding?: import('@floating-ui/core').Padding | undefined;
180
+ padding?: import('@floating-ui/utils').Padding | undefined;
181
181
  limiter?: {
182
- fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
182
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
183
183
  options?: any;
184
184
  } | undefined;
185
185
  boundary?: import('@floating-ui/dom').Boundary | undefined;
@@ -326,7 +326,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
326
326
  closeOnClickOutside: boolean;
327
327
  flipOptions: Partial<{
328
328
  mainAxis?: boolean | undefined;
329
- crossAxis?: boolean | undefined;
329
+ crossAxis?: boolean | "alignment" | undefined;
330
330
  fallbackPlacements?: Array<Placement> | undefined;
331
331
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
332
332
  fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
@@ -334,7 +334,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
334
334
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
335
335
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
336
336
  altBoundary?: boolean | undefined;
337
- padding?: import('@floating-ui/core').Padding | undefined;
337
+ padding?: import('@floating-ui/utils').Padding | undefined;
338
338
  boundary?: import('@floating-ui/dom').Boundary | undefined;
339
339
  }>;
340
340
  offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
@@ -344,9 +344,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
344
344
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
345
345
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
346
346
  altBoundary?: boolean | undefined;
347
- padding?: import('@floating-ui/core').Padding | undefined;
347
+ padding?: import('@floating-ui/utils').Padding | undefined;
348
348
  limiter?: {
349
- fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
349
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
350
350
  options?: any;
351
351
  } | undefined;
352
352
  boundary?: import('@floating-ui/dom').Boundary | undefined;
@@ -385,7 +385,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
385
385
  closeOnClickOutside: boolean;
386
386
  flipOptions: Partial<{
387
387
  mainAxis?: boolean | undefined;
388
- crossAxis?: boolean | undefined;
388
+ crossAxis?: boolean | "alignment" | undefined;
389
389
  fallbackPlacements?: Array<Placement> | undefined;
390
390
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
391
391
  fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
@@ -393,7 +393,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
393
393
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
394
394
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
395
395
  altBoundary?: boolean | undefined;
396
- padding?: import('@floating-ui/core').Padding | undefined;
396
+ padding?: import('@floating-ui/utils').Padding | undefined;
397
397
  boundary?: import('@floating-ui/dom').Boundary | undefined;
398
398
  }>;
399
399
  offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
@@ -403,9 +403,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
403
403
  rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
404
404
  elementContext?: import('@floating-ui/core').ElementContext | undefined;
405
405
  altBoundary?: boolean | undefined;
406
- padding?: import('@floating-ui/core').Padding | undefined;
406
+ padding?: import('@floating-ui/utils').Padding | undefined;
407
407
  limiter?: {
408
- fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/core').Coords;
408
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
409
409
  options?: any;
410
410
  } | undefined;
411
411
  boundary?: import('@floating-ui/dom').Boundary | undefined;
@@ -0,0 +1,14 @@
1
+ import { TIcon } from '../types';
2
+ export type TreeNodeAction<T> = {
3
+ label: string;
4
+ icon?: TIcon;
5
+ handler: (path: TreeNode<T>[]) => void;
6
+ };
7
+ export type TreeNode<T> = {
8
+ id: string | number;
9
+ label: string;
10
+ open: boolean;
11
+ value: T;
12
+ children?: TreeNode<T>[];
13
+ actions: TreeNodeAction<T>[];
14
+ };
@@ -56,5 +56,5 @@ export type TTreeListNode = {
56
56
  value: unknown;
57
57
  open: boolean;
58
58
  };
59
- export declare const icons: readonly ["admin", "agent", "agent-message", "agent-reply", "arrow-deviate", "arrow-down-plus", "arrow-down", "arrow-from", "arrow-left", "arrow-move", "arrow-right", "arrow-sub", "arrow-trend", "arrow-up-plus", "arrow-up", "at-symbol", "audio", "authority", "beams", "bell", "bold", "books", "box", "building", "bullet-list", "calendar", "camera", "categories", "check-circled", "check-outline", "check", "chevron-down", "chevron-down-small", "chevron-left-double", "chevron-left", "chevron-left-small", "chevron-right-double", "chevron-right", "chevron-right-small", "chevron-up", "chevron-up-small", "clock", "close-outline", "close", "columns", "conclusion", "conversation", "copy", "crosshair", "dash", "dashboard", "delete", "delta", "download", "drag", "drag-vertical", "drilldown", "edit", "envelope", "error", "export-document", "filter", "filters", "flag", "folder", "frequency", "fullscreen-off", "fullscreen-on", "graduate", "hamburger", "handshake", "hash-symbol", "heading-1", "heading-2", "heading", "history", "home", "id-card", "id", "incognito", "indent-left", "indent-right", "information", "insert-below", "italics", "itenary", "keyboard", "lightning", "link", "list-collapse", "list-expand", "location", "lock-locked", "lock-unlocked", "magnifying-glass", "map", "match-case", "match-diacritics", "match-full-word", "megaphone", "message", "message-question", "microscope", "moon", "new-document", "news", "numbered-list", "open-link", "options", "page", "panel-left-show", "panel-left-hide", "panel-right-show", "panel-right-hide", "paper-plane", "paper", "pdf", "pen-and-paper", "phase", "photo", "pie-chart", "plus", "point-left", "point-up", "popup", "question", "radio-tower", "recycle", "redo", "refresh", "route", "rows", "scope", "settings", "share", "sign-in", "sign-out", "sign-up", "slideshow", "sort-down", "sort-up", "sort", "square-solid", "star-solid", "star", "stop-watch", "structure", "sun", "table", "tag", "teacher", "team", "telescope", "text-select", "trash", "triangle-angle", "triangle-side", "underline", "undo", "user", "venn", "video", "visibility-off-alt", "visibility-off", "visibility-on", "warning", "zoom"];
59
+ export declare const icons: readonly ["admin", "agent", "agent-message", "agent-reply", "arrow-deviate", "arrow-down-plus", "arrow-down", "arrow-from", "arrow-left", "arrow-move", "arrow-right", "arrow-sub", "arrow-trend", "arrow-up-plus", "arrow-up", "at-symbol", "audio", "authority", "beams", "bell", "bold", "books", "box", "building", "bullet-list", "calendar", "camera", "categories", "check-circled", "check-outline", "check", "chevron-down", "chevron-down-small", "chevron-left-double", "chevron-left", "chevron-left-small", "chevron-right-double", "chevron-right", "chevron-right-small", "chevron-up", "chevron-up-small", "clock", "close-outline", "close", "columns", "conclusion", "conversation", "copy", "crosshair", "dash", "dashboard", "delete", "delta", "download", "drag", "drag-vertical", "drilldown", "edit", "envelope", "error", "export-document", "filter", "filters", "flag", "folder", "frequency", "fullscreen-off", "fullscreen-on", "graduate", "hamburger", "handshake", "hash-symbol", "heading-1", "heading-2", "heading", "history", "home", "id-card", "id", "incognito", "indent-left", "indent-right", "information", "insert-below", "italics", "itenary", "keyboard", "key-cmd", "key-ctrl", "key-return", "key-shift", "lightning", "link", "list-collapse", "list-expand", "location", "lock-locked", "lock-unlocked", "magnifying-glass", "map", "match-case", "match-diacritics", "match-full-word", "megaphone", "message", "message-question", "microscope", "moon", "new-document", "news", "numbered-list", "open-link", "options", "page", "panel-left-show", "panel-left-hide", "panel-right-show", "panel-right-hide", "paper-plane", "paper", "pdf", "pen-and-paper", "phase", "photo", "pie-chart", "plus", "point-left", "point-up", "popup", "question", "radio-tower", "recycle", "redo", "refresh", "route", "rows", "scope", "settings", "share", "sign-in", "sign-out", "sign-up", "slideshow", "sort-down", "sort-up", "sort", "square-solid", "star-solid", "star", "stop-watch", "structure", "sun", "table", "tag", "teacher", "team", "telescope", "text-select", "trash", "triangle-angle", "triangle-side", "underline", "undo", "user", "venn", "video", "visibility-off-alt", "visibility-off", "visibility-on", "warning", "zoom"];
60
60
  export type TIcon = (typeof icons)[number];