@vuer-ai/vuer-uikit 0.0.75 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-P27TWGME.cjs → chunk-33ZAFHOY.cjs} +2 -2
- package/dist/{chunk-IZFHHQ6S.mjs → chunk-3HERIMKO.mjs} +2 -2
- package/dist/chunk-3LM4LVYM.mjs +187 -0
- package/dist/chunk-6E4NTY34.cjs +494 -0
- package/dist/{chunk-VNYP2IVJ.cjs → chunk-7644AY3P.cjs} +2 -2
- package/dist/chunk-AHNVEAOM.cjs +855 -0
- package/dist/{chunk-5432JOTN.mjs → chunk-AOAM6HV2.mjs} +2 -2
- package/dist/chunk-BWBBQCG2.mjs +217 -0
- package/dist/{chunk-P5T6EVSQ.mjs → chunk-CSSMBHBD.mjs} +1 -1
- package/dist/chunk-CW6FHIAT.cjs +624 -0
- package/dist/chunk-D4W2G6CY.cjs +494 -0
- package/dist/{chunk-NS2P4CPA.mjs → chunk-D5YKZOUG.mjs} +4 -4
- package/dist/{chunk-2274XZ2C.cjs → chunk-E6D3BSYY.cjs} +6 -6
- package/dist/chunk-HOJOWLJT.mjs +142 -0
- package/dist/chunk-HTAFERCZ.mjs +1 -0
- package/dist/chunk-HTHCG2AN.cjs +125 -0
- package/dist/chunk-HVVT3D2T.mjs +1 -0
- package/dist/chunk-IZJYFVS7.mjs +15 -0
- package/dist/chunk-KFPS5CCR.cjs +2 -0
- package/dist/chunk-KQXLV6YW.mjs +489 -0
- package/dist/chunk-LBENVTO2.mjs +853 -0
- package/dist/chunk-MMT74K7A.mjs +247 -0
- package/dist/chunk-NEOSSUNE.mjs +599 -0
- package/dist/chunk-OEM5OJDP.mjs +489 -0
- package/dist/chunk-RM7E3WGH.cjs +71 -0
- package/dist/chunk-SYXRPCBO.cjs +220 -0
- package/dist/chunk-TE5JNR5C.mjs +117 -0
- package/dist/chunk-UHDBWDHS.cjs +190 -0
- package/dist/{chunk-Z5P6VCGR.cjs → chunk-V2OROE7H.cjs} +2 -2
- package/dist/chunk-VOTZLQ6J.cjs +2 -0
- package/dist/chunk-W4CDQ2RJ.mjs +69 -0
- package/dist/chunk-XKIB3LSS.cjs +167 -0
- package/dist/chunk-YPQYI63K.cjs +249 -0
- package/dist/chunk-ZO3X2NDT.cjs +21 -0
- package/dist/highlight-cursor/enhanced-components.cjs +8 -8
- package/dist/highlight-cursor/enhanced-components.mjs +3 -3
- package/dist/highlight-cursor/index.cjs +12 -12
- package/dist/highlight-cursor/index.mjs +3 -3
- package/dist/index.cjs +442 -417
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +43 -38
- package/dist/ui/UIKitBadge.cjs +5 -5
- package/dist/ui/UIKitBadge.mjs +1 -1
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/index.cjs +362 -337
- package/dist/ui/index.d.cts +6 -2
- package/dist/ui/index.d.ts +6 -2
- package/dist/ui/index.mjs +42 -37
- package/dist/ui/inputs/index.cjs +5 -5
- package/dist/ui/inputs/index.mjs +1 -1
- package/dist/ui/inputs/input.d.cts +1 -1
- package/dist/ui/inputs/input.d.ts +1 -1
- package/dist/ui/layouts/index.cjs +6 -6
- package/dist/ui/layouts/index.mjs +2 -2
- package/dist/ui/pagination.cjs +9 -9
- package/dist/ui/pagination.mjs +2 -2
- package/dist/ui/select.d.cts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/sidebar.cjs +26 -26
- package/dist/ui/sidebar.mjs +2 -2
- package/dist/ui/{tree-view.cjs → simple-tree-view.cjs} +3 -3
- package/dist/ui/{tree-view.d.cts → simple-tree-view.d.cts} +1 -1
- package/dist/ui/{tree-view.d.ts → simple-tree-view.d.ts} +1 -1
- package/dist/ui/{tree-view.mjs → simple-tree-view.mjs} +1 -1
- package/dist/ui/tabs.cjs +6 -6
- package/dist/ui/tabs.mjs +2 -2
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/timeline.cjs +4 -4
- package/dist/ui/timeline.d.cts +1 -1
- package/dist/ui/timeline.d.ts +1 -1
- package/dist/ui/timeline.mjs +3 -3
- package/dist/ui/tree-view/TreeSearchBar.cjs +22 -0
- package/dist/ui/tree-view/TreeSearchBar.d.cts +16 -0
- package/dist/ui/tree-view/TreeSearchBar.d.ts +16 -0
- package/dist/ui/tree-view/TreeSearchBar.mjs +13 -0
- package/dist/ui/tree-view/TreeView.cjs +24 -0
- package/dist/ui/tree-view/TreeView.d.cts +48 -0
- package/dist/ui/tree-view/TreeView.d.ts +48 -0
- package/dist/ui/tree-view/TreeView.mjs +11 -0
- package/dist/ui/tree-view/hooks.cjs +14 -0
- package/dist/ui/tree-view/hooks.d.cts +38 -0
- package/dist/ui/tree-view/hooks.d.ts +38 -0
- package/dist/ui/tree-view/hooks.mjs +1 -0
- package/dist/ui/tree-view/index.cjs +42 -0
- package/dist/ui/tree-view/index.d.cts +6 -0
- package/dist/ui/tree-view/index.d.ts +6 -0
- package/dist/ui/tree-view/index.mjs +17 -0
- package/dist/ui/tree-view/types.cjs +4 -0
- package/dist/ui/tree-view/types.d.cts +24 -0
- package/dist/ui/tree-view/types.d.ts +24 -0
- package/dist/ui/tree-view/types.mjs +1 -0
- package/dist/ui/tree-view-legacy.cjs +37 -0
- package/dist/ui/tree-view-legacy.d.cts +108 -0
- package/dist/ui/tree-view-legacy.d.ts +108 -0
- package/dist/ui/{tree-view-v2.mjs → tree-view-legacy.mjs} +2 -2
- package/dist/ui/waterfall/TimelineEvent.d.cts +1 -1
- package/dist/ui/waterfall/TimelineEvent.d.ts +1 -1
- package/dist/ui/waterfall/TimelineProcessBar.d.cts +1 -1
- package/dist/ui/waterfall/TimelineProcessBar.d.ts +1 -1
- package/dist/ui/waterfall/Wedges.d.cts +1 -1
- package/dist/ui/waterfall/Wedges.d.ts +1 -1
- package/dist/ui/waterfall/hooks/useTimelineState.d.cts +1 -2
- package/dist/ui/waterfall/hooks/useTimelineState.d.ts +1 -2
- package/dist/ui/waterfall/hooks/useViewport.d.cts +1 -2
- package/dist/ui/waterfall/hooks/useViewport.d.ts +1 -2
- package/dist/ui/waterfall/index.cjs +6 -6
- package/dist/ui/waterfall/index.d.cts +1 -1
- package/dist/ui/waterfall/index.d.ts +1 -1
- package/dist/ui/waterfall/index.mjs +5 -5
- package/dist/ui/waterfall/types.d.cts +1 -2
- package/dist/ui/waterfall/types.d.ts +1 -2
- package/package.json +1 -1
- package/dist/chunk-FD5AAGON.cjs +0 -487
- package/dist/chunk-ILGNKXK2.mjs +0 -485
- package/dist/ui/tree-view-v2.cjs +0 -25
- package/dist/ui/tree-view-v2.d.cts +0 -43
- package/dist/ui/tree-view-v2.d.ts +0 -43
- /package/dist/{chunk-SUABRIFA.mjs → chunk-2SWBXWLK.mjs} +0 -0
- /package/dist/{chunk-XMUP5MIM.mjs → chunk-G3EIVAVR.mjs} +0 -0
- /package/dist/{chunk-OX2U5RAG.cjs → chunk-G5NT42YF.cjs} +0 -0
- /package/dist/{chunk-J5DLIKNB.cjs → chunk-X2A7TKER.cjs} +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Minimal tree node shape used by `TreeViewV2`.
|
|
6
|
+
*/
|
|
7
|
+
type TreeDataItem = {
|
|
8
|
+
id: string;
|
|
9
|
+
parentId: string | null;
|
|
10
|
+
label: string;
|
|
11
|
+
isCollapsible?: boolean;
|
|
12
|
+
actions?: ReactNode;
|
|
13
|
+
disable?: boolean;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
type TreeDataItemWithMeta<T extends TreeDataItem> = T & {
|
|
17
|
+
indent: number;
|
|
18
|
+
isLast: boolean;
|
|
19
|
+
ancestors: T[];
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Props for the virtualized filterable tree view.
|
|
23
|
+
*/
|
|
24
|
+
type TreeViewProps<T extends TreeDataItem> = {
|
|
25
|
+
data: T[];
|
|
26
|
+
getIcon: (item: T) => ReactNode;
|
|
27
|
+
onVisibleDataChange?: (data: (T & {
|
|
28
|
+
indent: number;
|
|
29
|
+
isLast: boolean;
|
|
30
|
+
ancestors: T[];
|
|
31
|
+
})[]) => void;
|
|
32
|
+
onItemHover?: (id: string | null) => void;
|
|
33
|
+
className?: string;
|
|
34
|
+
hoveredId?: string | null;
|
|
35
|
+
isSelectable?: boolean;
|
|
36
|
+
selectedItemId?: string | null;
|
|
37
|
+
onSelectChange?: (id: string | null) => void;
|
|
38
|
+
isSearchable?: boolean;
|
|
39
|
+
alwaysShowExpand?: boolean;
|
|
40
|
+
useSyncScroll?: boolean;
|
|
41
|
+
searchQuery?: string;
|
|
42
|
+
onSearchQueryChange?: (query: string) => void;
|
|
43
|
+
isCaseSensitive?: boolean;
|
|
44
|
+
onIsCaseSensitiveChange?: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
45
|
+
isRegex?: boolean;
|
|
46
|
+
onIsRegexChange?: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Filterable and highlightable tree view with keyboardless interactions.
|
|
50
|
+
* Supports search (plain or regex), hover highlights, and collapsible nodes.
|
|
51
|
+
*/
|
|
52
|
+
declare function TreeView<T extends TreeDataItem>({ data, getIcon, onVisibleDataChange, onItemHover, className, hoveredId, isSelectable, selectedItemId, onSelectChange, isSearchable, alwaysShowExpand, useSyncScroll, searchQuery: externalSearchQuery, onSearchQueryChange: externalOnSearchQueryChange, isCaseSensitive: externalIsCaseSensitive, onIsCaseSensitiveChange: externalOnIsCaseSensitiveChange, isRegex: externalIsRegex, onIsRegexChange: externalOnIsRegexChange, }: TreeViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* Search bar component for the TreeView
|
|
55
|
+
*/
|
|
56
|
+
type TreeSearchBarProps = {
|
|
57
|
+
searchQuery: string;
|
|
58
|
+
setSearchQuery: (query: string) => void;
|
|
59
|
+
isCaseSensitive: boolean;
|
|
60
|
+
setIsCaseSensitive: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
61
|
+
isRegex: boolean;
|
|
62
|
+
setIsRegex: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
63
|
+
isRegexValid: boolean;
|
|
64
|
+
searchResultsCount: number;
|
|
65
|
+
};
|
|
66
|
+
declare function TreeSearchBar({ searchQuery, setSearchQuery, isCaseSensitive, setIsCaseSensitive, isRegex, setIsRegex, isRegexValid, searchResultsCount, }: TreeSearchBarProps): react_jsx_runtime.JSX.Element;
|
|
67
|
+
/**
|
|
68
|
+
* Individual tree entry item component
|
|
69
|
+
*/
|
|
70
|
+
type TreeEntryItemProps<T extends TreeDataItem> = {
|
|
71
|
+
item: TreeDataItemWithMeta<T>;
|
|
72
|
+
hoveredId?: string | null;
|
|
73
|
+
onItemHover?: (id: string | null) => void;
|
|
74
|
+
isSelectable?: boolean;
|
|
75
|
+
selectedItemId?: string | null;
|
|
76
|
+
handleItemSelect: (id: string) => void;
|
|
77
|
+
expandedItems: Set<string>;
|
|
78
|
+
toggleItem: (id: string) => void;
|
|
79
|
+
alwaysShowExpand?: boolean;
|
|
80
|
+
hasDescendants: (id: string) => boolean;
|
|
81
|
+
getIcon: (item: T) => ReactNode;
|
|
82
|
+
renderLabel: (label: string) => ReactNode;
|
|
83
|
+
dataWithMeta: TreeDataItemWithMeta<T>[];
|
|
84
|
+
};
|
|
85
|
+
declare function TreeEntryItem<T extends TreeDataItem>({ item, hoveredId, onItemHover, isSelectable, selectedItemId, handleItemSelect, expandedItems, toggleItem, alwaysShowExpand, hasDescendants, getIcon, renderLabel, dataWithMeta, }: TreeEntryItemProps<T>): react_jsx_runtime.JSX.Element;
|
|
86
|
+
/**
|
|
87
|
+
* Tree entries wrapper component
|
|
88
|
+
*/
|
|
89
|
+
type TreeEntriesProps<T extends TreeDataItem> = {
|
|
90
|
+
visibleData: TreeDataItemWithMeta<T>[];
|
|
91
|
+
hoveredId?: string | null;
|
|
92
|
+
onItemHover?: (id: string | null) => void;
|
|
93
|
+
isSelectable?: boolean;
|
|
94
|
+
selectedItemId?: string | null;
|
|
95
|
+
handleItemSelect: (id: string) => void;
|
|
96
|
+
expandedItems: Set<string>;
|
|
97
|
+
toggleItem: (id: string) => void;
|
|
98
|
+
alwaysShowExpand?: boolean;
|
|
99
|
+
hasDescendants: (id: string) => boolean;
|
|
100
|
+
getIcon: (item: T) => ReactNode;
|
|
101
|
+
renderLabel: (label: string) => ReactNode;
|
|
102
|
+
dataWithMeta: TreeDataItemWithMeta<T>[];
|
|
103
|
+
useSyncScroll?: boolean;
|
|
104
|
+
className?: string;
|
|
105
|
+
};
|
|
106
|
+
declare function TreeEntries<T extends TreeDataItem>({ visibleData, hoveredId, onItemHover, isSelectable, selectedItemId, handleItemSelect, expandedItems, toggleItem, alwaysShowExpand, hasDescendants, getIcon, renderLabel, dataWithMeta, useSyncScroll, className, }: TreeEntriesProps<T>): react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
export { type TreeDataItem, type TreeDataItemWithMeta, TreeEntries, type TreeEntriesProps, TreeEntryItem, type TreeEntryItemProps, TreeSearchBar, type TreeSearchBarProps, TreeView, type TreeViewProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../chunk-PCSY5IJ2.mjs';
|
|
1
|
+
export { TreeEntries, TreeEntryItem, TreeSearchBar, TreeView } from '../chunk-KQXLV6YW.mjs';
|
|
3
2
|
import '../chunk-BNDRHLLZ.mjs';
|
|
4
3
|
import '../chunk-BEJIZ56L.mjs';
|
|
5
4
|
import '../chunk-SAGQV2YZ.mjs';
|
|
5
|
+
import '../chunk-PCSY5IJ2.mjs';
|
|
6
6
|
import '../chunk-JXALL32A.mjs';
|
|
7
7
|
import '../chunk-F7ZHPSLA.mjs';
|
|
8
8
|
import '../chunk-3QT5VABC.mjs';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { LogItemType, LogItemWithMeta } from '../types.cjs';
|
|
3
|
-
import '../../tree-view
|
|
4
|
-
import 'react/jsx-runtime';
|
|
3
|
+
import '../../tree-view/types.cjs';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Custom hook for managing timeline waterfall state including item expansion, hover interactions, and hierarchical data processing.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { LogItemType, LogItemWithMeta } from '../types.js';
|
|
3
|
-
import '../../tree-view
|
|
4
|
-
import 'react/jsx-runtime';
|
|
3
|
+
import '../../tree-view/types.js';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Custom hook for managing timeline waterfall state including item expansion, hover interactions, and hierarchical data processing.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYPQYI63K_cjs = require('../../chunk-YPQYI63K.cjs');
|
|
4
|
+
require('../../chunk-5MNZYCN2.cjs');
|
|
5
|
+
require('../../chunk-Z6UDRPC2.cjs');
|
|
4
6
|
require('../../chunk-WJL5HMO6.cjs');
|
|
5
7
|
require('../../chunk-RJ7I6ZQK.cjs');
|
|
6
|
-
require('../../chunk-Z6UDRPC2.cjs');
|
|
7
8
|
require('../../chunk-2J75MYQA.cjs');
|
|
8
9
|
require('../../chunk-LP3AGGRK.cjs');
|
|
9
10
|
require('../../chunk-6TSA7KXX.cjs');
|
|
@@ -11,12 +12,11 @@ require('../../chunk-MVAFOQ67.cjs');
|
|
|
11
12
|
require('../../chunk-TUYG6BYZ.cjs');
|
|
12
13
|
require('../../chunk-YXFHJKNW.cjs');
|
|
13
14
|
require('../../chunk-G2ZYONQO.cjs');
|
|
14
|
-
require('../../chunk-
|
|
15
|
-
require('../../chunk-FD5AAGON.cjs');
|
|
16
|
-
require('../../chunk-LCCNBVKZ.cjs');
|
|
15
|
+
require('../../chunk-6E4NTY34.cjs');
|
|
17
16
|
require('../../chunk-JMCH2AFN.cjs');
|
|
18
17
|
require('../../chunk-VBBJSIY7.cjs');
|
|
19
18
|
require('../../chunk-G4FJGNY5.cjs');
|
|
19
|
+
require('../../chunk-LCCNBVKZ.cjs');
|
|
20
20
|
require('../../chunk-YQCSEMRB.cjs');
|
|
21
21
|
require('../../chunk-QN4N4I3Z.cjs');
|
|
22
22
|
require('../../chunk-Q7E73DVJ.cjs');
|
|
@@ -33,5 +33,5 @@ require('../../chunk-OHIB3TEN.cjs');
|
|
|
33
33
|
|
|
34
34
|
Object.defineProperty(exports, "Waterfall", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkYPQYI63K_cjs.Waterfall; }
|
|
37
37
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
3
|
import { LogItemType } from './types.cjs';
|
|
4
|
-
import '../tree-view
|
|
4
|
+
import '../tree-view/types.cjs';
|
|
5
5
|
|
|
6
6
|
interface WaterfallProps {
|
|
7
7
|
logData: LogItemType[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
3
|
import { LogItemType } from './types.js';
|
|
4
|
-
import '../tree-view
|
|
4
|
+
import '../tree-view/types.js';
|
|
5
5
|
|
|
6
6
|
interface WaterfallProps {
|
|
7
7
|
logData: LogItemType[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { Waterfall } from '../../chunk-
|
|
1
|
+
export { Waterfall } from '../../chunk-D5YKZOUG.mjs';
|
|
2
|
+
import '../../chunk-IR334P7F.mjs';
|
|
3
|
+
import '../../chunk-CIPI2V54.mjs';
|
|
2
4
|
import '../../chunk-JWKOW2OV.mjs';
|
|
3
5
|
import '../../chunk-VPQ5SSY3.mjs';
|
|
4
|
-
import '../../chunk-CIPI2V54.mjs';
|
|
5
6
|
import '../../chunk-SA5WKLYB.mjs';
|
|
6
7
|
import '../../chunk-5EXV5EWF.mjs';
|
|
7
8
|
import '../../chunk-K22BEXUA.mjs';
|
|
@@ -9,12 +10,11 @@ import '../../chunk-OC4HRPZU.mjs';
|
|
|
9
10
|
import '../../chunk-N6DSPSMM.mjs';
|
|
10
11
|
import '../../chunk-CO6EASQO.mjs';
|
|
11
12
|
import '../../chunk-4U232QAX.mjs';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-ILGNKXK2.mjs';
|
|
14
|
-
import '../../chunk-PCSY5IJ2.mjs';
|
|
13
|
+
import '../../chunk-KQXLV6YW.mjs';
|
|
15
14
|
import '../../chunk-BNDRHLLZ.mjs';
|
|
16
15
|
import '../../chunk-BEJIZ56L.mjs';
|
|
17
16
|
import '../../chunk-SAGQV2YZ.mjs';
|
|
17
|
+
import '../../chunk-PCSY5IJ2.mjs';
|
|
18
18
|
import '../../chunk-JXALL32A.mjs';
|
|
19
19
|
import '../../chunk-F7ZHPSLA.mjs';
|
|
20
20
|
import '../../chunk-3QT5VABC.mjs';
|