@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
@@ -17,11 +17,224 @@ declare function __VLS_template(): {
17
17
  default?(_: {}): any;
18
18
  content?(_: {}): any;
19
19
  };
20
- refs: {};
20
+ refs: {
21
+ popperRef: ({
22
+ $: import('vue').ComponentInternalInstance;
23
+ $data: {};
24
+ $props: {
25
+ readonly closeDelay?: number | undefined;
26
+ readonly closeOnClickOutside?: boolean | undefined;
27
+ readonly disabled?: boolean | undefined;
28
+ readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
29
+ readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
30
+ readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
31
+ readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
32
+ readonly openDelay?: number | undefined;
33
+ readonly placement?: Placement | undefined;
34
+ readonly popperWidthClass?: string | undefined;
35
+ readonly rootClass?: string | string[] | undefined;
36
+ readonly sameWidthAsElement?: HTMLElement | undefined;
37
+ readonly sameWidthAsTrigger?: boolean | undefined;
38
+ readonly show?: boolean | undefined;
39
+ readonly teleportTarget?: string | undefined;
40
+ readonly trigger?: TPopperTrigger | undefined;
41
+ readonly triggerClass?: string | string[] | undefined;
42
+ readonly onClose?: ((...args: any[]) => any) | undefined;
43
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
44
+ readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
46
+ $attrs: {
47
+ [x: string]: unknown;
48
+ };
49
+ $refs: {
50
+ [x: string]: unknown;
51
+ } & {
52
+ containerRef: HTMLDivElement;
53
+ triggerRef: HTMLDivElement;
54
+ popperRef: HTMLDivElement;
55
+ };
56
+ $slots: Readonly<{
57
+ [name: string]: import('vue').Slot<any> | undefined;
58
+ }>;
59
+ $root: import('vue').ComponentPublicInstance | null;
60
+ $parent: import('vue').ComponentPublicInstance | null;
61
+ $host: Element | null;
62
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
63
+ $el: HTMLDivElement;
64
+ $options: import('vue').ComponentOptionsBase<Readonly<{
65
+ closeDelay?: number;
66
+ closeOnClickOutside?: boolean;
67
+ disabled?: boolean;
68
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
69
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
70
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
71
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
72
+ openDelay?: number;
73
+ placement?: Placement;
74
+ popperWidthClass?: string;
75
+ rootClass?: string | string[];
76
+ sameWidthAsElement?: HTMLElement;
77
+ sameWidthAsTrigger?: boolean;
78
+ show?: boolean;
79
+ teleportTarget?: string;
80
+ trigger?: TPopperTrigger;
81
+ triggerClass?: string | string[];
82
+ }> & Readonly<{
83
+ onClose?: ((...args: any[]) => any) | undefined;
84
+ onOpen?: ((...args: any[]) => any) | undefined;
85
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
86
+ }>, {
87
+ close: () => void;
88
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
89
+ open: () => Promise<void>;
90
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
91
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
92
+ close: (...args: any[]) => void;
93
+ open: (...args: any[]) => void;
94
+ updateClickOutside: (...args: any[]) => void;
95
+ }, string, {
96
+ disabled: boolean;
97
+ placement: Placement;
98
+ trigger: TPopperTrigger;
99
+ closeDelay: number;
100
+ closeOnClickOutside: boolean;
101
+ flipOptions: Partial<{
102
+ mainAxis?: boolean | undefined;
103
+ crossAxis?: boolean | "alignment" | undefined;
104
+ fallbackPlacements?: Array<Placement> | undefined;
105
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
106
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
107
+ flipAlignment?: boolean | undefined;
108
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
109
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
110
+ altBoundary?: boolean | undefined;
111
+ padding?: import('@floating-ui/utils').Padding | undefined;
112
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
113
+ }>;
114
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
115
+ shiftOptions: Partial<{
116
+ mainAxis?: boolean | undefined;
117
+ crossAxis?: boolean | undefined;
118
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
119
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
120
+ altBoundary?: boolean | undefined;
121
+ padding?: import('@floating-ui/utils').Padding | undefined;
122
+ limiter?: {
123
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
124
+ options?: any;
125
+ } | undefined;
126
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
127
+ }>;
128
+ openDelay: number;
129
+ rootClass: string | string[];
130
+ sameWidthAsTrigger: boolean;
131
+ show: boolean;
132
+ teleportTarget: string;
133
+ triggerClass: string | string[];
134
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
135
+ beforeCreate?: (() => void) | (() => void)[];
136
+ created?: (() => void) | (() => void)[];
137
+ beforeMount?: (() => void) | (() => void)[];
138
+ mounted?: (() => void) | (() => void)[];
139
+ beforeUpdate?: (() => void) | (() => void)[];
140
+ updated?: (() => void) | (() => void)[];
141
+ activated?: (() => void) | (() => void)[];
142
+ deactivated?: (() => void) | (() => void)[];
143
+ beforeDestroy?: (() => void) | (() => void)[];
144
+ beforeUnmount?: (() => void) | (() => void)[];
145
+ destroyed?: (() => void) | (() => void)[];
146
+ unmounted?: (() => void) | (() => void)[];
147
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
148
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
149
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
150
+ };
151
+ $forceUpdate: () => void;
152
+ $nextTick: typeof import('vue').nextTick;
153
+ $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;
154
+ } & Readonly<{
155
+ disabled: boolean;
156
+ placement: Placement;
157
+ trigger: TPopperTrigger;
158
+ closeDelay: number;
159
+ closeOnClickOutside: boolean;
160
+ flipOptions: Partial<{
161
+ mainAxis?: boolean | undefined;
162
+ crossAxis?: boolean | "alignment" | undefined;
163
+ fallbackPlacements?: Array<Placement> | undefined;
164
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
165
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
166
+ flipAlignment?: boolean | undefined;
167
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
168
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
169
+ altBoundary?: boolean | undefined;
170
+ padding?: import('@floating-ui/utils').Padding | undefined;
171
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
172
+ }>;
173
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
174
+ shiftOptions: Partial<{
175
+ mainAxis?: boolean | undefined;
176
+ crossAxis?: boolean | undefined;
177
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
178
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
179
+ altBoundary?: boolean | undefined;
180
+ padding?: import('@floating-ui/utils').Padding | undefined;
181
+ limiter?: {
182
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
183
+ options?: any;
184
+ } | undefined;
185
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
186
+ }>;
187
+ openDelay: number;
188
+ rootClass: string | string[];
189
+ sameWidthAsTrigger: boolean;
190
+ show: boolean;
191
+ teleportTarget: string;
192
+ triggerClass: string | string[];
193
+ }> & Omit<Readonly<{
194
+ closeDelay?: number;
195
+ closeOnClickOutside?: boolean;
196
+ disabled?: boolean;
197
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
198
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
199
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
200
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
201
+ openDelay?: number;
202
+ placement?: Placement;
203
+ popperWidthClass?: string;
204
+ rootClass?: string | string[];
205
+ sameWidthAsElement?: HTMLElement;
206
+ sameWidthAsTrigger?: boolean;
207
+ show?: boolean;
208
+ teleportTarget?: string;
209
+ trigger?: TPopperTrigger;
210
+ triggerClass?: string | string[];
211
+ }> & Readonly<{
212
+ onClose?: ((...args: any[]) => any) | undefined;
213
+ onOpen?: ((...args: any[]) => any) | undefined;
214
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
215
+ }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "closeOnClickOutside" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "teleportTarget" | "triggerClass")> & import('vue').ShallowUnwrapRef<{
216
+ close: () => void;
217
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
218
+ open: () => Promise<void>;
219
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
220
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
221
+ $slots: {
222
+ default?(_: {
223
+ visible: boolean;
224
+ }): any;
225
+ content?(_: {
226
+ close: () => void;
227
+ isOpen: true;
228
+ }): any;
229
+ };
230
+ }) | null;
231
+ };
21
232
  rootEl: HTMLDivElement;
22
233
  };
23
234
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
235
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
236
+ hide: () => void;
237
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
238
  bgColorClass: string;
26
239
  delay: number;
27
240
  offsetMain: number;
@@ -30,7 +243,218 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
30
243
  textColorClass: string;
31
244
  trigger: TPopperTrigger;
32
245
  triggerFullWidth: boolean;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
246
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
247
+ popperRef: ({
248
+ $: import('vue').ComponentInternalInstance;
249
+ $data: {};
250
+ $props: {
251
+ readonly closeDelay?: number | undefined;
252
+ readonly closeOnClickOutside?: boolean | undefined;
253
+ readonly disabled?: boolean | undefined;
254
+ readonly flipOptions?: Partial<import('@floating-ui/dom').FlipOptions> | undefined;
255
+ readonly limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions> | undefined;
256
+ readonly offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions> | undefined;
257
+ readonly shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions> | undefined;
258
+ readonly openDelay?: number | undefined;
259
+ readonly placement?: Placement | undefined;
260
+ readonly popperWidthClass?: string | undefined;
261
+ readonly rootClass?: string | string[] | undefined;
262
+ readonly sameWidthAsElement?: HTMLElement | undefined;
263
+ readonly sameWidthAsTrigger?: boolean | undefined;
264
+ readonly show?: boolean | undefined;
265
+ readonly teleportTarget?: string | undefined;
266
+ readonly trigger?: TPopperTrigger | undefined;
267
+ readonly triggerClass?: string | string[] | undefined;
268
+ readonly onClose?: ((...args: any[]) => any) | undefined;
269
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
270
+ readonly onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
271
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
272
+ $attrs: {
273
+ [x: string]: unknown;
274
+ };
275
+ $refs: {
276
+ [x: string]: unknown;
277
+ } & {
278
+ containerRef: HTMLDivElement;
279
+ triggerRef: HTMLDivElement;
280
+ popperRef: HTMLDivElement;
281
+ };
282
+ $slots: Readonly<{
283
+ [name: string]: import('vue').Slot<any> | undefined;
284
+ }>;
285
+ $root: import('vue').ComponentPublicInstance | null;
286
+ $parent: import('vue').ComponentPublicInstance | null;
287
+ $host: Element | null;
288
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "updateClickOutside", ...args: any[]) => void);
289
+ $el: HTMLDivElement;
290
+ $options: import('vue').ComponentOptionsBase<Readonly<{
291
+ closeDelay?: number;
292
+ closeOnClickOutside?: boolean;
293
+ disabled?: boolean;
294
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
295
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
296
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
297
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
298
+ openDelay?: number;
299
+ placement?: Placement;
300
+ popperWidthClass?: string;
301
+ rootClass?: string | string[];
302
+ sameWidthAsElement?: HTMLElement;
303
+ sameWidthAsTrigger?: boolean;
304
+ show?: boolean;
305
+ teleportTarget?: string;
306
+ trigger?: TPopperTrigger;
307
+ triggerClass?: string | string[];
308
+ }> & Readonly<{
309
+ onClose?: ((...args: any[]) => any) | undefined;
310
+ onOpen?: ((...args: any[]) => any) | undefined;
311
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
312
+ }>, {
313
+ close: () => void;
314
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
315
+ open: () => Promise<void>;
316
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
317
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
318
+ close: (...args: any[]) => void;
319
+ open: (...args: any[]) => void;
320
+ updateClickOutside: (...args: any[]) => void;
321
+ }, string, {
322
+ disabled: boolean;
323
+ placement: Placement;
324
+ trigger: TPopperTrigger;
325
+ closeDelay: number;
326
+ closeOnClickOutside: boolean;
327
+ flipOptions: Partial<{
328
+ mainAxis?: boolean | undefined;
329
+ crossAxis?: boolean | "alignment" | undefined;
330
+ fallbackPlacements?: Array<Placement> | undefined;
331
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
332
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
333
+ flipAlignment?: boolean | undefined;
334
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
335
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
336
+ altBoundary?: boolean | undefined;
337
+ padding?: import('@floating-ui/utils').Padding | undefined;
338
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
339
+ }>;
340
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
341
+ shiftOptions: Partial<{
342
+ mainAxis?: boolean | undefined;
343
+ crossAxis?: boolean | undefined;
344
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
345
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
346
+ altBoundary?: boolean | undefined;
347
+ padding?: import('@floating-ui/utils').Padding | undefined;
348
+ limiter?: {
349
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
350
+ options?: any;
351
+ } | undefined;
352
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
353
+ }>;
354
+ openDelay: number;
355
+ rootClass: string | string[];
356
+ sameWidthAsTrigger: boolean;
357
+ show: boolean;
358
+ teleportTarget: string;
359
+ triggerClass: string | string[];
360
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
361
+ beforeCreate?: (() => void) | (() => void)[];
362
+ created?: (() => void) | (() => void)[];
363
+ beforeMount?: (() => void) | (() => void)[];
364
+ mounted?: (() => void) | (() => void)[];
365
+ beforeUpdate?: (() => void) | (() => void)[];
366
+ updated?: (() => void) | (() => void)[];
367
+ activated?: (() => void) | (() => void)[];
368
+ deactivated?: (() => void) | (() => void)[];
369
+ beforeDestroy?: (() => void) | (() => void)[];
370
+ beforeUnmount?: (() => void) | (() => void)[];
371
+ destroyed?: (() => void) | (() => void)[];
372
+ unmounted?: (() => void) | (() => void)[];
373
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
374
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
375
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
376
+ };
377
+ $forceUpdate: () => void;
378
+ $nextTick: typeof import('vue').nextTick;
379
+ $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;
380
+ } & Readonly<{
381
+ disabled: boolean;
382
+ placement: Placement;
383
+ trigger: TPopperTrigger;
384
+ closeDelay: number;
385
+ closeOnClickOutside: boolean;
386
+ flipOptions: Partial<{
387
+ mainAxis?: boolean | undefined;
388
+ crossAxis?: boolean | "alignment" | undefined;
389
+ fallbackPlacements?: Array<Placement> | undefined;
390
+ fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
391
+ fallbackAxisSideDirection?: "none" | "start" | "end" | undefined;
392
+ flipAlignment?: boolean | undefined;
393
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
394
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
395
+ altBoundary?: boolean | undefined;
396
+ padding?: import('@floating-ui/utils').Padding | undefined;
397
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
398
+ }>;
399
+ offsetOptions: Partial<import('@floating-ui/dom').OffsetOptions>;
400
+ shiftOptions: Partial<{
401
+ mainAxis?: boolean | undefined;
402
+ crossAxis?: boolean | undefined;
403
+ rootBoundary?: import('@floating-ui/core').RootBoundary | undefined;
404
+ elementContext?: import('@floating-ui/core').ElementContext | undefined;
405
+ altBoundary?: boolean | undefined;
406
+ padding?: import('@floating-ui/utils').Padding | undefined;
407
+ limiter?: {
408
+ fn: (state: import('@floating-ui/core').MiddlewareState) => import('@floating-ui/utils').Coords;
409
+ options?: any;
410
+ } | undefined;
411
+ boundary?: import('@floating-ui/dom').Boundary | undefined;
412
+ }>;
413
+ openDelay: number;
414
+ rootClass: string | string[];
415
+ sameWidthAsTrigger: boolean;
416
+ show: boolean;
417
+ teleportTarget: string;
418
+ triggerClass: string | string[];
419
+ }> & Omit<Readonly<{
420
+ closeDelay?: number;
421
+ closeOnClickOutside?: boolean;
422
+ disabled?: boolean;
423
+ flipOptions?: Partial<import('@floating-ui/dom').FlipOptions>;
424
+ limitShiftOptions?: Partial<import('@floating-ui/core').LimitShiftOptions>;
425
+ offsetOptions?: Partial<import('@floating-ui/dom').OffsetOptions>;
426
+ shiftOptions?: Partial<import('@floating-ui/dom').ShiftOptions>;
427
+ openDelay?: number;
428
+ placement?: Placement;
429
+ popperWidthClass?: string;
430
+ rootClass?: string | string[];
431
+ sameWidthAsElement?: HTMLElement;
432
+ sameWidthAsTrigger?: boolean;
433
+ show?: boolean;
434
+ teleportTarget?: string;
435
+ trigger?: TPopperTrigger;
436
+ triggerClass?: string | string[];
437
+ }> & Readonly<{
438
+ onClose?: ((...args: any[]) => any) | undefined;
439
+ onOpen?: ((...args: any[]) => any) | undefined;
440
+ onUpdateClickOutside?: ((...args: any[]) => any) | undefined;
441
+ }>, "close" | "open" | "containerRef" | "updateClickOutsideTargets" | ("disabled" | "placement" | "trigger" | "closeDelay" | "closeOnClickOutside" | "flipOptions" | "offsetOptions" | "shiftOptions" | "openDelay" | "rootClass" | "sameWidthAsTrigger" | "show" | "teleportTarget" | "triggerClass")> & import('vue').ShallowUnwrapRef<{
442
+ close: () => void;
443
+ containerRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
444
+ open: () => Promise<void>;
445
+ updateClickOutsideTargets: (targets: HTMLElement[]) => void;
446
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
447
+ $slots: {
448
+ default?(_: {
449
+ visible: boolean;
450
+ }): any;
451
+ content?(_: {
452
+ close: () => void;
453
+ isOpen: true;
454
+ }): any;
455
+ };
456
+ }) | null;
457
+ }, HTMLDivElement>;
34
458
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
459
  export default _default;
36
460
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ChildNode } from './ChildNode.vue';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ConnectionLines } from './ConnectionLines.vue';
@@ -0,0 +1,3 @@
1
+ export * from './child-node';
2
+ export * from './connection-lines';
3
+ export * from './root-node';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as RootNode } from './RootNode.vue';
@@ -0,0 +1 @@
1
+ export {};
@@ -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-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", "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];