@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,167 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
|
|
4
|
+
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
5
|
+
var chunkT3G35JSP_cjs = require('./chunk-T3G35JSP.cjs');
|
|
6
|
+
var TabsPrimitive = require('@radix-ui/react-tabs');
|
|
7
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
8
|
+
var react = require('react');
|
|
9
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
+
|
|
11
|
+
function _interopNamespace(e) {
|
|
12
|
+
if (e && e.__esModule) return e;
|
|
13
|
+
var n = Object.create(null);
|
|
14
|
+
if (e) {
|
|
15
|
+
Object.keys(e).forEach(function (k) {
|
|
16
|
+
if (k !== 'default') {
|
|
17
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return e[k]; }
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
n.default = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
|
|
30
|
+
|
|
31
|
+
var TabsContext = react.createContext(void 0);
|
|
32
|
+
var useTabsContext = () => {
|
|
33
|
+
const context = react.useContext(TabsContext);
|
|
34
|
+
if (!context) {
|
|
35
|
+
throw new Error("Tabs components must be used within a Tabs component");
|
|
36
|
+
}
|
|
37
|
+
return context;
|
|
38
|
+
};
|
|
39
|
+
function TabsRoot({ className, size = "base", ...props }) {
|
|
40
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TabsContext.Provider, { value: { size }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41
|
+
TabsPrimitive__namespace.Root,
|
|
42
|
+
{
|
|
43
|
+
"data-slot": "tabs",
|
|
44
|
+
className: chunkOHIB3TEN_cjs.cn("flex w-full flex-col", className),
|
|
45
|
+
...props
|
|
46
|
+
}
|
|
47
|
+
) });
|
|
48
|
+
}
|
|
49
|
+
function TabsFallback({ className, size = "base", ...props }) {
|
|
50
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TabsContext.Provider, { value: { size }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "tabs", className: chunkOHIB3TEN_cjs.cn("flex w-full flex-col", className), ...props }) });
|
|
51
|
+
}
|
|
52
|
+
var Tabs = chunkRPTRTGC2_cjs.createClientOnlyComponent(TabsRoot, TabsFallback);
|
|
53
|
+
var tabsListVariants = classVarianceAuthority.cva(["inline-flex", "items-center", "justify-center"], {
|
|
54
|
+
variants: {
|
|
55
|
+
size: {
|
|
56
|
+
sm: "gap-xs",
|
|
57
|
+
base: "gap-sm",
|
|
58
|
+
lg: "gap-md"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
defaultVariants: {
|
|
62
|
+
size: "base"
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
function TabsListRoot({ className, ...props }) {
|
|
66
|
+
const { setCursorTarget } = chunkT3G35JSP_cjs.useTabsCursor();
|
|
67
|
+
const { size } = useTabsContext();
|
|
68
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkT3G35JSP_cjs.TabsCursorProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
69
|
+
TabsPrimitive__namespace.List,
|
|
70
|
+
{
|
|
71
|
+
onMouseLeave: () => setCursorTarget(null),
|
|
72
|
+
"data-slot": "tabs-list",
|
|
73
|
+
className: chunkOHIB3TEN_cjs.cn(tabsListVariants({ size }), "justify-start", className),
|
|
74
|
+
...props
|
|
75
|
+
}
|
|
76
|
+
) });
|
|
77
|
+
}
|
|
78
|
+
function TabsListFallback({ className, ...props }) {
|
|
79
|
+
const { size } = useTabsContext();
|
|
80
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkT3G35JSP_cjs.TabsCursorProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
"data-slot": "tabs-list",
|
|
84
|
+
className: chunkOHIB3TEN_cjs.cn(tabsListVariants({ size }), "justify-start", className),
|
|
85
|
+
...props
|
|
86
|
+
}
|
|
87
|
+
) });
|
|
88
|
+
}
|
|
89
|
+
var TabsList = chunkRPTRTGC2_cjs.createClientOnlyComponent(TabsListRoot, TabsListFallback);
|
|
90
|
+
var tabsTriggerVariants = classVarianceAuthority.cva(
|
|
91
|
+
[
|
|
92
|
+
"inline-flex",
|
|
93
|
+
"items-center",
|
|
94
|
+
"justify-center",
|
|
95
|
+
"font-normal",
|
|
96
|
+
"whitespace-nowrap",
|
|
97
|
+
"transition-all",
|
|
98
|
+
"disabled:pointer-events-none",
|
|
99
|
+
"disabled:bg-bg-tertiary",
|
|
100
|
+
"[&_svg]:pointer-events-none",
|
|
101
|
+
"[&_svg:not([class*='size-'])]:size-xl",
|
|
102
|
+
"shrink-0",
|
|
103
|
+
"[&_svg]:shrink-0",
|
|
104
|
+
"outline-none",
|
|
105
|
+
"text-text-primary",
|
|
106
|
+
"data-[state=active]:bg-bg-secondary",
|
|
107
|
+
"data-[state=active]:font-medium"
|
|
108
|
+
],
|
|
109
|
+
{
|
|
110
|
+
variants: {
|
|
111
|
+
size: {
|
|
112
|
+
sm: "text-uk-sm leading-uk-sm px-md py-xs rounded-uk-sm",
|
|
113
|
+
base: "text-uk-md leading-uk-md px-lg py-sm rounded-uk-md",
|
|
114
|
+
lg: "text-uk-lg leading-uk-lg px-xl py-sm rounded-uk-md"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
defaultVariants: {
|
|
118
|
+
size: "base"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
);
|
|
122
|
+
function TabsTriggerRoot({ className, ...props }) {
|
|
123
|
+
const { setCursorTarget } = chunkT3G35JSP_cjs.useTabsCursor();
|
|
124
|
+
const { size } = useTabsContext();
|
|
125
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
126
|
+
TabsPrimitive__namespace.Trigger,
|
|
127
|
+
{
|
|
128
|
+
onMouseEnter: (e) => setCursorTarget(e.currentTarget),
|
|
129
|
+
"data-slot": "tabs-trigger",
|
|
130
|
+
className: chunkOHIB3TEN_cjs.cn(tabsTriggerVariants({ size }), className),
|
|
131
|
+
...props
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
function TabsTriggerFallback({ className, ...props }) {
|
|
136
|
+
const { setCursorTarget } = chunkT3G35JSP_cjs.useTabsCursor();
|
|
137
|
+
const { size } = useTabsContext();
|
|
138
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
139
|
+
"button",
|
|
140
|
+
{
|
|
141
|
+
onMouseEnter: (e) => setCursorTarget(e.currentTarget),
|
|
142
|
+
"data-slot": "tabs-trigger",
|
|
143
|
+
className: chunkOHIB3TEN_cjs.cn(tabsTriggerVariants({ size }), className),
|
|
144
|
+
...props
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
var TabsTrigger = chunkRPTRTGC2_cjs.createClientOnlyComponent(TabsTriggerRoot, TabsTriggerFallback);
|
|
149
|
+
function TabsContentRoot({ className, ...props }) {
|
|
150
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
151
|
+
TabsPrimitive__namespace.Content,
|
|
152
|
+
{
|
|
153
|
+
"data-slot": "tabs-content",
|
|
154
|
+
className: chunkOHIB3TEN_cjs.cn("flex-1 outline-none", className),
|
|
155
|
+
...props
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
function TabsContentFallback({ className, ...props }) {
|
|
160
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "tabs-content", className: chunkOHIB3TEN_cjs.cn("flex-1 outline-none", className), ...props });
|
|
161
|
+
}
|
|
162
|
+
var TabsContent = chunkRPTRTGC2_cjs.createClientOnlyComponent(TabsContentRoot, TabsContentFallback);
|
|
163
|
+
|
|
164
|
+
exports.Tabs = Tabs;
|
|
165
|
+
exports.TabsContent = TabsContent;
|
|
166
|
+
exports.TabsList = TabsList;
|
|
167
|
+
exports.TabsTrigger = TabsTrigger;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5MNZYCN2_cjs = require('./chunk-5MNZYCN2.cjs');
|
|
4
|
+
var chunkZ6UDRPC2_cjs = require('./chunk-Z6UDRPC2.cjs');
|
|
5
|
+
var chunkWJL5HMO6_cjs = require('./chunk-WJL5HMO6.cjs');
|
|
6
|
+
var chunkRJ7I6ZQK_cjs = require('./chunk-RJ7I6ZQK.cjs');
|
|
7
|
+
var chunk2J75MYQA_cjs = require('./chunk-2J75MYQA.cjs');
|
|
8
|
+
var chunkLP3AGGRK_cjs = require('./chunk-LP3AGGRK.cjs');
|
|
9
|
+
var chunk6TSA7KXX_cjs = require('./chunk-6TSA7KXX.cjs');
|
|
10
|
+
var chunkMVAFOQ67_cjs = require('./chunk-MVAFOQ67.cjs');
|
|
11
|
+
var chunkTUYG6BYZ_cjs = require('./chunk-TUYG6BYZ.cjs');
|
|
12
|
+
var chunkYXFHJKNW_cjs = require('./chunk-YXFHJKNW.cjs');
|
|
13
|
+
var chunkG2ZYONQO_cjs = require('./chunk-G2ZYONQO.cjs');
|
|
14
|
+
var chunk6E4NTY34_cjs = require('./chunk-6E4NTY34.cjs');
|
|
15
|
+
var chunkVBBJSIY7_cjs = require('./chunk-VBBJSIY7.cjs');
|
|
16
|
+
var chunkG4FJGNY5_cjs = require('./chunk-G4FJGNY5.cjs');
|
|
17
|
+
var chunkLCCNBVKZ_cjs = require('./chunk-LCCNBVKZ.cjs');
|
|
18
|
+
var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
|
|
19
|
+
var react = require('react');
|
|
20
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
21
|
+
|
|
22
|
+
function Waterfall({
|
|
23
|
+
logData,
|
|
24
|
+
temporalCursor,
|
|
25
|
+
onTemporalCursorChange,
|
|
26
|
+
getIcon,
|
|
27
|
+
panelWidth = 300,
|
|
28
|
+
className,
|
|
29
|
+
hoveredId: externalHoveredId,
|
|
30
|
+
onItemHover: externalOnItemHover,
|
|
31
|
+
minWindow = 0.01,
|
|
32
|
+
maxWindow,
|
|
33
|
+
zoomFactor = 1.1,
|
|
34
|
+
enabled = true,
|
|
35
|
+
children
|
|
36
|
+
}) {
|
|
37
|
+
const [visibleLogData, setVisibleLogData] = react.useState([]);
|
|
38
|
+
const [temporalMarkers, setTemporalMarkers] = react.useState([]);
|
|
39
|
+
const internalTimelineState = chunkWJL5HMO6_cjs.useTimelineState(logData);
|
|
40
|
+
const hoveredId = externalHoveredId ?? internalTimelineState.hoveredId;
|
|
41
|
+
const setHoveredId = externalOnItemHover ?? internalTimelineState.setHoveredId;
|
|
42
|
+
const {
|
|
43
|
+
viewStart,
|
|
44
|
+
viewDuration,
|
|
45
|
+
timelineContainerRef,
|
|
46
|
+
timeToPercent,
|
|
47
|
+
ticks,
|
|
48
|
+
eventDots,
|
|
49
|
+
handlePan,
|
|
50
|
+
handleZoomDragStart,
|
|
51
|
+
setViewStart,
|
|
52
|
+
setViewDuration,
|
|
53
|
+
cursorVisible,
|
|
54
|
+
cursorPosition,
|
|
55
|
+
cursorLabel,
|
|
56
|
+
showMagnet
|
|
57
|
+
} = chunkRJ7I6ZQK_cjs.useViewport({
|
|
58
|
+
visibleLogData,
|
|
59
|
+
onTemporalCursorChange,
|
|
60
|
+
temporalCursor
|
|
61
|
+
});
|
|
62
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLCCNBVKZ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkG4FJGNY5_cjs.SyncScrollProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: chunkOHIB3TEN_cjs.cn(
|
|
66
|
+
"bg-bg-primary text-text-primary rounded-uk-md border-line-primary/50 mx-auto flex w-full flex-col overflow-hidden border font-sans shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
67
|
+
className
|
|
68
|
+
),
|
|
69
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex h-full flex-row items-stretch", children: [
|
|
70
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: "border-line-primary/50 relative flex h-full flex-none flex-col border-r",
|
|
74
|
+
style: { width: panelWidth },
|
|
75
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
76
|
+
chunk6E4NTY34_cjs.TreeView,
|
|
77
|
+
{
|
|
78
|
+
className: "h-full",
|
|
79
|
+
alwaysShowExpand: true,
|
|
80
|
+
isSearchable: true,
|
|
81
|
+
data: logData,
|
|
82
|
+
getIcon,
|
|
83
|
+
onVisibleDataChange: setVisibleLogData,
|
|
84
|
+
onItemHover: setHoveredId,
|
|
85
|
+
hoveredId,
|
|
86
|
+
useSyncScroll: true
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
92
|
+
"div",
|
|
93
|
+
{
|
|
94
|
+
ref: timelineContainerRef,
|
|
95
|
+
className: "overflow-y-none scrollbar-hide relative flex h-full w-full flex-auto cursor-crosshair flex-col overflow-x-hidden pl-px active:cursor-grabbing",
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-bg-primary sticky top-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-line-primary/50 relative h-8 border-b", children: [
|
|
98
|
+
ticks.map((marker, ind) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
99
|
+
chunk6TSA7KXX_cjs.Tick,
|
|
100
|
+
{
|
|
101
|
+
time: marker.time,
|
|
102
|
+
label: marker.label,
|
|
103
|
+
timeToPercent,
|
|
104
|
+
zIndex: ind < ticks.length - 1 ? 10 : 0
|
|
105
|
+
},
|
|
106
|
+
marker.time
|
|
107
|
+
)),
|
|
108
|
+
eventDots.map(({ time }, tickIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
109
|
+
chunkMVAFOQ67_cjs.TimeRuleEventDot,
|
|
110
|
+
{
|
|
111
|
+
percent: timeToPercent(time)
|
|
112
|
+
},
|
|
113
|
+
`snap-${time}-${tickIndex}`
|
|
114
|
+
))
|
|
115
|
+
] }) }),
|
|
116
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
117
|
+
chunkZ6UDRPC2_cjs.WheelZoomContext,
|
|
118
|
+
{
|
|
119
|
+
className: "scrollbar-hide relative h-full max-h-full overflow-auto",
|
|
120
|
+
viewStart,
|
|
121
|
+
viewDuration,
|
|
122
|
+
onViewStartChange: setViewStart,
|
|
123
|
+
onWindowChange: setViewDuration,
|
|
124
|
+
minWindow,
|
|
125
|
+
maxWindow: maxWindow ?? chunkG2ZYONQO_cjs.TOTAL_DURATION * 10,
|
|
126
|
+
zoomFactor,
|
|
127
|
+
enabled,
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVBBJSIY7_cjs.SyncDragY, { className: "scrollbar-hide hide-scrollbar relative h-full w-full", children: visibleLogData.map(
|
|
130
|
+
(item, index) => item.time === void 0 ? (
|
|
131
|
+
// Render TimelineProcessBar for duration events
|
|
132
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
133
|
+
chunkYXFHJKNW_cjs.TimelineProcessBar,
|
|
134
|
+
{
|
|
135
|
+
index,
|
|
136
|
+
item,
|
|
137
|
+
isHovered: hoveredId === item.id,
|
|
138
|
+
onMouseEnter: () => setHoveredId(item.id),
|
|
139
|
+
onMouseLeave: () => setHoveredId(null),
|
|
140
|
+
onClick: (time) => {
|
|
141
|
+
setTemporalMarkers((prev) => [...prev, time]);
|
|
142
|
+
},
|
|
143
|
+
viewStart,
|
|
144
|
+
viewWindow: viewDuration,
|
|
145
|
+
timeToPercent
|
|
146
|
+
},
|
|
147
|
+
item.id
|
|
148
|
+
)
|
|
149
|
+
) : (
|
|
150
|
+
// Render TimelineEvent for instant events (with time property)
|
|
151
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
152
|
+
chunkTUYG6BYZ_cjs.TimelineEvent,
|
|
153
|
+
{
|
|
154
|
+
item,
|
|
155
|
+
isHovered: hoveredId === item.id,
|
|
156
|
+
onMouseEnter: () => setHoveredId(item.id),
|
|
157
|
+
onMouseLeave: () => setHoveredId(null),
|
|
158
|
+
onClick: (time) => {
|
|
159
|
+
setTemporalMarkers((prev) => [...prev, time]);
|
|
160
|
+
},
|
|
161
|
+
timeToPercent,
|
|
162
|
+
index
|
|
163
|
+
},
|
|
164
|
+
item.id
|
|
165
|
+
)
|
|
166
|
+
)
|
|
167
|
+
) }),
|
|
168
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVBBJSIY7_cjs.SyncScrollSlave, { className: "scrollbar-hide pointer-events-none absolute top-0 left-0 z-10 h-full w-2", children: visibleLogData.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
169
|
+
chunk5MNZYCN2_cjs.LeftWedge,
|
|
170
|
+
{
|
|
171
|
+
item,
|
|
172
|
+
classes: chunkG2ZYONQO_cjs.rightWedgeClasses,
|
|
173
|
+
viewStart,
|
|
174
|
+
index
|
|
175
|
+
},
|
|
176
|
+
`left-wedge-${item.id}`
|
|
177
|
+
)) }),
|
|
178
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVBBJSIY7_cjs.SyncScrollSlave, { className: "scrollbar-hide pointer-events-none absolute top-0 right-0 z-10 h-full w-2", children: visibleLogData.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
179
|
+
chunk5MNZYCN2_cjs.RightWedge,
|
|
180
|
+
{
|
|
181
|
+
item,
|
|
182
|
+
classes: chunkG2ZYONQO_cjs.leftWedgeClasses,
|
|
183
|
+
viewEnd: viewStart + viewDuration,
|
|
184
|
+
index
|
|
185
|
+
},
|
|
186
|
+
`right-wedge-${item.id}`
|
|
187
|
+
)) }),
|
|
188
|
+
children,
|
|
189
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-1 left-1/2 -translate-x-1/2 justify-center pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
190
|
+
chunkLP3AGGRK_cjs.NavigationControls,
|
|
191
|
+
{
|
|
192
|
+
viewDuration,
|
|
193
|
+
handlePan,
|
|
194
|
+
handleZoomDragStart
|
|
195
|
+
}
|
|
196
|
+
) })
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
),
|
|
200
|
+
temporalMarkers.map((time, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
201
|
+
"div",
|
|
202
|
+
{
|
|
203
|
+
className: "pointer-events-none absolute top-0 h-8 w-20 cursor-pointer",
|
|
204
|
+
style: {
|
|
205
|
+
zIndex: 110,
|
|
206
|
+
left: `calc(${timeToPercent(time)}% - 2.5rem)`
|
|
207
|
+
},
|
|
208
|
+
onClick: () => {
|
|
209
|
+
setTemporalMarkers((prev) => prev.filter((_, i) => i !== index));
|
|
210
|
+
},
|
|
211
|
+
title: "Click to remove marker",
|
|
212
|
+
children: [
|
|
213
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-auto relative h-full w-full" }),
|
|
214
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
215
|
+
chunk2J75MYQA_cjs.CursorOverlay,
|
|
216
|
+
{
|
|
217
|
+
left: 50,
|
|
218
|
+
label: `T${index + 1}`,
|
|
219
|
+
color: "#3b82f6",
|
|
220
|
+
showReadout: true,
|
|
221
|
+
variant: "static",
|
|
222
|
+
zIndex: 110
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
`marker-${time}-${index}`
|
|
228
|
+
)),
|
|
229
|
+
cursorVisible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
230
|
+
chunk2J75MYQA_cjs.CursorOverlay,
|
|
231
|
+
{
|
|
232
|
+
left: cursorPosition,
|
|
233
|
+
label: cursorLabel,
|
|
234
|
+
color: "#ef4444",
|
|
235
|
+
showReadout: true,
|
|
236
|
+
showMagnet,
|
|
237
|
+
className: "transition-opacity duration-150",
|
|
238
|
+
zIndex: 100
|
|
239
|
+
}
|
|
240
|
+
)
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
)
|
|
244
|
+
] })
|
|
245
|
+
}
|
|
246
|
+
) }) });
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
exports.Waterfall = Waterfall;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXKIB3LSS_cjs = require('./chunk-XKIB3LSS.cjs');
|
|
4
|
+
var chunk7DFI7CUK_cjs = require('./chunk-7DFI7CUK.cjs');
|
|
5
|
+
var chunkJBMXLVXM_cjs = require('./chunk-JBMXLVXM.cjs');
|
|
6
|
+
var chunkYQCSEMRB_cjs = require('./chunk-YQCSEMRB.cjs');
|
|
7
|
+
var chunkNSQOQD43_cjs = require('./chunk-NSQOQD43.cjs');
|
|
8
|
+
var chunkWJY6BMVR_cjs = require('./chunk-WJY6BMVR.cjs');
|
|
9
|
+
|
|
10
|
+
// src/highlight-cursor/enhanced-components.tsx
|
|
11
|
+
var CursorButton = chunkWJY6BMVR_cjs.withCursor(chunkNSQOQD43_cjs.Button);
|
|
12
|
+
var CursorTabs = chunkWJY6BMVR_cjs.withCursor(chunkXKIB3LSS_cjs.Tabs);
|
|
13
|
+
var CursorInputRoot = chunkWJY6BMVR_cjs.withCursor(chunkYQCSEMRB_cjs.InputRoot);
|
|
14
|
+
var CursorSelectTrigger = chunkWJY6BMVR_cjs.withCursor(chunkJBMXLVXM_cjs.SelectTrigger);
|
|
15
|
+
var CursorTextarea = chunkWJY6BMVR_cjs.withCursor(chunk7DFI7CUK_cjs.Textarea);
|
|
16
|
+
|
|
17
|
+
exports.CursorButton = CursorButton;
|
|
18
|
+
exports.CursorInputRoot = CursorInputRoot;
|
|
19
|
+
exports.CursorSelectTrigger = CursorSelectTrigger;
|
|
20
|
+
exports.CursorTabs = CursorTabs;
|
|
21
|
+
exports.CursorTextarea = CursorTextarea;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkZO3X2NDT_cjs = require('../chunk-ZO3X2NDT.cjs');
|
|
4
|
+
require('../chunk-XKIB3LSS.cjs');
|
|
5
5
|
require('../chunk-7DFI7CUK.cjs');
|
|
6
6
|
require('../chunk-JBMXLVXM.cjs');
|
|
7
7
|
require('../chunk-YQCSEMRB.cjs');
|
|
8
8
|
require('../chunk-NSQOQD43.cjs');
|
|
9
|
-
require('../chunk-T3G35JSP.cjs');
|
|
10
9
|
require('../chunk-WJY6BMVR.cjs');
|
|
11
10
|
require('../chunk-QN4N4I3Z.cjs');
|
|
12
11
|
require('../chunk-Q7E73DVJ.cjs');
|
|
@@ -19,26 +18,27 @@ require('../chunk-RPTRTGC2.cjs');
|
|
|
19
18
|
require('../chunk-LBWMTA5T.cjs');
|
|
20
19
|
require('../chunk-OHIB3TEN.cjs');
|
|
21
20
|
require('../chunk-P6DICGAV.cjs');
|
|
21
|
+
require('../chunk-T3G35JSP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
Object.defineProperty(exports, "CursorButton", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorButton; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "CursorInputRoot", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorInputRoot; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorSelectTrigger; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "CursorTabs", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorTabs; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "CursorTextarea", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorTextarea; }
|
|
44
44
|
});
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-IZJYFVS7.mjs';
|
|
2
|
+
import '../chunk-HOJOWLJT.mjs';
|
|
3
3
|
import '../chunk-25RDJXX7.mjs';
|
|
4
4
|
import '../chunk-KY4I766B.mjs';
|
|
5
5
|
import '../chunk-JXALL32A.mjs';
|
|
6
6
|
import '../chunk-INHZ5D7P.mjs';
|
|
7
|
-
import '../chunk-XMG3IVGZ.mjs';
|
|
8
7
|
import '../chunk-RAHKRYQJ.mjs';
|
|
9
8
|
import '../chunk-F7ZHPSLA.mjs';
|
|
10
9
|
import '../chunk-3QT5VABC.mjs';
|
|
@@ -17,3 +16,4 @@ import '../chunk-4F2GSF2T.mjs';
|
|
|
17
16
|
import '../chunk-IDUVYPN7.mjs';
|
|
18
17
|
import '../chunk-HMN4IKTG.mjs';
|
|
19
18
|
import '../chunk-3FR3WKI4.mjs';
|
|
19
|
+
import '../chunk-XMG3IVGZ.mjs';
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
require('../chunk-EFZ746FR.cjs');
|
|
4
4
|
var chunkA5LCX2UQ_cjs = require('../chunk-A5LCX2UQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunkZO3X2NDT_cjs = require('../chunk-ZO3X2NDT.cjs');
|
|
6
|
+
require('../chunk-XKIB3LSS.cjs');
|
|
7
7
|
require('../chunk-7DFI7CUK.cjs');
|
|
8
8
|
require('../chunk-JBMXLVXM.cjs');
|
|
9
9
|
require('../chunk-YQCSEMRB.cjs');
|
|
10
10
|
require('../chunk-NSQOQD43.cjs');
|
|
11
|
-
var chunkT3G35JSP_cjs = require('../chunk-T3G35JSP.cjs');
|
|
12
11
|
var chunkWJY6BMVR_cjs = require('../chunk-WJY6BMVR.cjs');
|
|
13
12
|
require('../chunk-QN4N4I3Z.cjs');
|
|
14
13
|
require('../chunk-Q7E73DVJ.cjs');
|
|
@@ -21,6 +20,7 @@ require('../chunk-RPTRTGC2.cjs');
|
|
|
21
20
|
require('../chunk-LBWMTA5T.cjs');
|
|
22
21
|
require('../chunk-OHIB3TEN.cjs');
|
|
23
22
|
require('../chunk-P6DICGAV.cjs');
|
|
23
|
+
var chunkT3G35JSP_cjs = require('../chunk-T3G35JSP.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -30,29 +30,29 @@ Object.defineProperty(exports, "CursorProvider", {
|
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "CursorButton", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorButton; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "CursorInputRoot", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorInputRoot; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorSelectTrigger; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "CursorTabs", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorTabs; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "CursorTextarea", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "TabsCursorProvider", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () { return chunkT3G35JSP_cjs.TabsCursorProvider; }
|
|
49
|
+
get: function () { return chunkZO3X2NDT_cjs.CursorTextarea; }
|
|
54
50
|
});
|
|
55
51
|
Object.defineProperty(exports, "withCursor", {
|
|
56
52
|
enumerable: true,
|
|
57
53
|
get: function () { return chunkWJY6BMVR_cjs.withCursor; }
|
|
58
54
|
});
|
|
55
|
+
Object.defineProperty(exports, "TabsCursorProvider", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkT3G35JSP_cjs.TabsCursorProvider; }
|
|
58
|
+
});
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import '../chunk-VGCVIHBR.mjs';
|
|
2
2
|
export { CursorProvider } from '../chunk-WWGF6TBZ.mjs';
|
|
3
|
-
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-IZJYFVS7.mjs';
|
|
4
|
+
import '../chunk-HOJOWLJT.mjs';
|
|
5
5
|
import '../chunk-25RDJXX7.mjs';
|
|
6
6
|
import '../chunk-KY4I766B.mjs';
|
|
7
7
|
import '../chunk-JXALL32A.mjs';
|
|
8
8
|
import '../chunk-INHZ5D7P.mjs';
|
|
9
|
-
export { TabsCursorProvider } from '../chunk-XMG3IVGZ.mjs';
|
|
10
9
|
export { withCursor } from '../chunk-RAHKRYQJ.mjs';
|
|
11
10
|
import '../chunk-F7ZHPSLA.mjs';
|
|
12
11
|
import '../chunk-3QT5VABC.mjs';
|
|
@@ -19,3 +18,4 @@ import '../chunk-4F2GSF2T.mjs';
|
|
|
19
18
|
import '../chunk-IDUVYPN7.mjs';
|
|
20
19
|
import '../chunk-HMN4IKTG.mjs';
|
|
21
20
|
import '../chunk-3FR3WKI4.mjs';
|
|
21
|
+
export { TabsCursorProvider } from '../chunk-XMG3IVGZ.mjs';
|