@aiquants/directory-tree 3.1.3 → 3.2.0
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/index.cjs +2 -2
- package/dist/index.js +898 -794
- package/dist/src/DirectoryTree.d.ts.map +1 -1
- package/dist/src/entryRendering.d.ts +5 -0
- package/dist/src/entryRendering.d.ts.map +1 -1
- package/dist/src/scrollAnchor.d.ts +39 -0
- package/dist/src/scrollAnchor.d.ts.map +1 -0
- package/dist/src/types.d.ts +11 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/styles/directory-tree.standalone.css +1 -1
- package/package.json +3 -3
- package/src/DirectoryTree.spec.md +2 -1
- package/src/DirectoryTree.tsx +61 -7
- package/src/DirectoryTreeGrid.tsx +2 -2
- package/src/entryRendering.tsx +166 -5
- package/src/scrollAnchor.spec.ts +105 -0
- package/src/scrollAnchor.ts +86 -0
- package/src/types.ts +11 -0
- package/dist/directory-tree.css +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unit tests for the scroll-anchor pure helpers.
|
|
3
|
+
* スクロールアンカー純関数ヘルパーの単体テスト。
|
|
4
|
+
*/
|
|
5
|
+
import { describe, expect, it } from "vitest"
|
|
6
|
+
import { type AnchorableItem, captureScrollAnchor, resolveAnchorScroll } from "./scrollAnchor.ts"
|
|
7
|
+
|
|
8
|
+
/** 均一 28px 行のテストデータを生成する */
|
|
9
|
+
const buildItems = (paths: string[]): { items: AnchorableItem[]; offsets: number[] } => {
|
|
10
|
+
const items = paths.map((path) => ({ entry: { absolutePath: path } }))
|
|
11
|
+
const offsets = new Array<number>(paths.length + 1)
|
|
12
|
+
offsets[0] = 0
|
|
13
|
+
for (let index = 0; index < paths.length; index++) {
|
|
14
|
+
offsets[index + 1] = offsets[index] + 28
|
|
15
|
+
}
|
|
16
|
+
return { items, offsets }
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
describe("captureScrollAnchor", () => {
|
|
20
|
+
it("should return null at the top of the list (natural streaming view)", () => {
|
|
21
|
+
const { items, offsets } = buildItems(["/a", "/b", "/c"])
|
|
22
|
+
expect(captureScrollAnchor(items, offsets, 0)).toBeNull()
|
|
23
|
+
expect(captureScrollAnchor(items, offsets, -5)).toBeNull()
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
it("should return null for an empty list or mismatched offsets", () => {
|
|
27
|
+
expect(captureScrollAnchor([], [0], 100)).toBeNull()
|
|
28
|
+
const { items } = buildItems(["/a"])
|
|
29
|
+
expect(captureScrollAnchor(items, [0], 100)).toBeNull()
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
it("should capture the first visible row with its in-viewport offset", () => {
|
|
33
|
+
const { items, offsets } = buildItems(["/a", "/b", "/c", "/d"])
|
|
34
|
+
// 60px = 行 2 (/c, 上端 56px) の途中 4px まで見えている
|
|
35
|
+
const anchor = captureScrollAnchor(items, offsets, 60)
|
|
36
|
+
expect(anchor).toEqual({ path: "/c", offsetInViewport: 4 })
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
it("should capture a row boundary exactly at its top", () => {
|
|
40
|
+
const { items, offsets } = buildItems(["/a", "/b", "/c"])
|
|
41
|
+
const anchor = captureScrollAnchor(items, offsets, 28)
|
|
42
|
+
expect(anchor).toEqual({ path: "/b", offsetInViewport: 0 })
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
it("should clamp to the last row when scrolled past the end", () => {
|
|
46
|
+
const { items, offsets } = buildItems(["/a", "/b"])
|
|
47
|
+
const anchor = captureScrollAnchor(items, offsets, 999)
|
|
48
|
+
expect(anchor?.path).toBe("/b")
|
|
49
|
+
})
|
|
50
|
+
})
|
|
51
|
+
|
|
52
|
+
describe("resolveAnchorScroll", () => {
|
|
53
|
+
it("should keep the anchored row stationary when rows are inserted above it", () => {
|
|
54
|
+
const before = buildItems(["/a", "/b", "/c", "/d"])
|
|
55
|
+
const anchor = captureScrollAnchor(before.items, before.offsets, 60)
|
|
56
|
+
expect(anchor?.path).toBe("/c")
|
|
57
|
+
|
|
58
|
+
// /c の上に 2 行挿入される (ストリーミング追記を模擬)
|
|
59
|
+
const after = buildItems(["/a", "/x", "/y", "/b", "/c", "/d"])
|
|
60
|
+
const nextScroll = resolveAnchorScroll(anchor as NonNullable<typeof anchor>, after.items, after.offsets)
|
|
61
|
+
|
|
62
|
+
// /c の新しい上端 (4 * 28 = 112) + viewport 内オフセット 4
|
|
63
|
+
expect(nextScroll).toBe(116)
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
it("should return the same position when nothing changed above the anchor", () => {
|
|
67
|
+
const { items, offsets } = buildItems(["/a", "/b", "/c", "/d"])
|
|
68
|
+
const anchor = captureScrollAnchor(items, offsets, 60)
|
|
69
|
+
const nextScroll = resolveAnchorScroll(anchor as NonNullable<typeof anchor>, items, offsets)
|
|
70
|
+
expect(nextScroll).toBe(60)
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
it("should return null when the anchored row no longer exists", () => {
|
|
74
|
+
const before = buildItems(["/a", "/b", "/c"])
|
|
75
|
+
const anchor = captureScrollAnchor(before.items, before.offsets, 60)
|
|
76
|
+
const after = buildItems(["/a", "/b"])
|
|
77
|
+
expect(resolveAnchorScroll(anchor as NonNullable<typeof anchor>, after.items, after.offsets)).toBeNull()
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
it("should never return a negative scroll position", () => {
|
|
81
|
+
const anchor = { path: "/a", offsetInViewport: -10 }
|
|
82
|
+
const after = buildItems(["/a", "/b"])
|
|
83
|
+
expect(resolveAnchorScroll(anchor, after.items, after.offsets)).toBe(0)
|
|
84
|
+
})
|
|
85
|
+
|
|
86
|
+
it("should return null for an empty or mismatched new list", () => {
|
|
87
|
+
const anchor = { path: "/a", offsetInViewport: 0 }
|
|
88
|
+
expect(resolveAnchorScroll(anchor, [], [0])).toBeNull()
|
|
89
|
+
const { items } = buildItems(["/a"])
|
|
90
|
+
expect(resolveAnchorScroll(anchor, items, [0])).toBeNull()
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
it("should keep variable-height rows stationary (non-uniform offsets)", () => {
|
|
94
|
+
// 可変高さ: /a=40, /b=20, /c=60
|
|
95
|
+
const beforeItems: AnchorableItem[] = [{ entry: { absolutePath: "/a" } }, { entry: { absolutePath: "/b" } }, { entry: { absolutePath: "/c" } }]
|
|
96
|
+
const beforeOffsets = [0, 40, 60, 120]
|
|
97
|
+
const anchor = captureScrollAnchor(beforeItems, beforeOffsets, 65)
|
|
98
|
+
expect(anchor).toEqual({ path: "/c", offsetInViewport: 5 })
|
|
99
|
+
|
|
100
|
+
// /c の上に高さ 100 の行が入る
|
|
101
|
+
const afterItems: AnchorableItem[] = [{ entry: { absolutePath: "/a" } }, { entry: { absolutePath: "/x" } }, { entry: { absolutePath: "/b" } }, { entry: { absolutePath: "/c" } }]
|
|
102
|
+
const afterOffsets = [0, 40, 140, 160, 220]
|
|
103
|
+
expect(resolveAnchorScroll(anchor as NonNullable<typeof anchor>, afterItems, afterOffsets)).toBe(165)
|
|
104
|
+
})
|
|
105
|
+
})
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helpers for preserving the visual scroll anchor across row-list mutations.
|
|
3
|
+
* 行リストの変異を跨いで視覚的スクロールアンカーを保持するための純関数ヘルパーモジュール。
|
|
4
|
+
*
|
|
5
|
+
* ストリーミング追記などで viewport より上に行が挿入されると、ピクセル位置を維持する
|
|
6
|
+
* 通常のスクロールでは表示内容が下へずれる。本モジュールは「変更前の先頭可視行」を
|
|
7
|
+
* アンカーとして捕捉し、変更後の行リスト内で同じ行が同じ画面位置に来るスクロール量を
|
|
8
|
+
* 算出する。副作用を持たないため単体テストで全経路を検証できる。
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** アンカー捕捉に必要な最小の行形状 (構造的部分型) */
|
|
12
|
+
export type AnchorableItem = {
|
|
13
|
+
entry: { absolutePath: string }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** 捕捉されたスクロールアンカー */
|
|
17
|
+
export type ScrollAnchor = {
|
|
18
|
+
/** 変更前の先頭可視行のパス */
|
|
19
|
+
path: string
|
|
20
|
+
/** 行上端から viewport 上端までのピクセル差 (行の途中まで見えている量) */
|
|
21
|
+
offsetInViewport: number
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Binary-searches a cumulative offset table for the item covering a pixel position.
|
|
26
|
+
* 累積オフセット表を二分探索し、指定ピクセル位置を含むアイテムのインデックスを返す処理。
|
|
27
|
+
*/
|
|
28
|
+
const findItemIndexAtOffset = (offsets: number[], position: number): number => {
|
|
29
|
+
const itemCount = offsets.length - 1
|
|
30
|
+
if (itemCount <= 0) return 0
|
|
31
|
+
let low = 0
|
|
32
|
+
let high = itemCount - 1
|
|
33
|
+
let result = 0
|
|
34
|
+
while (low <= high) {
|
|
35
|
+
const mid = (low + high) >>> 1
|
|
36
|
+
if (offsets[mid] <= position) {
|
|
37
|
+
result = mid
|
|
38
|
+
low = mid + 1
|
|
39
|
+
} else {
|
|
40
|
+
high = mid - 1
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return result
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Captures the first visible row as a scroll anchor (null when anchoring is unnecessary).
|
|
48
|
+
* 先頭可視行をスクロールアンカーとして捕捉する処理 (アンカー不要時は null)。
|
|
49
|
+
*
|
|
50
|
+
* scrollPosition が 0 以下 (最上部) の場合は「先頭に張り付いて新着を眺める」挙動が
|
|
51
|
+
* 自然なため、意図的にアンカーしない。
|
|
52
|
+
*/
|
|
53
|
+
export const captureScrollAnchor = (items: ReadonlyArray<AnchorableItem>, offsets: number[], scrollPosition: number): ScrollAnchor | null => {
|
|
54
|
+
if (scrollPosition <= 0 || items.length === 0 || offsets.length !== items.length + 1) {
|
|
55
|
+
return null
|
|
56
|
+
}
|
|
57
|
+
const index = findItemIndexAtOffset(offsets, scrollPosition)
|
|
58
|
+
const item = items[index]
|
|
59
|
+
if (!item) {
|
|
60
|
+
return null
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
path: item.entry.absolutePath,
|
|
64
|
+
offsetInViewport: scrollPosition - offsets[index],
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Resolves the scroll position that keeps the anchored row visually stationary in the new list.
|
|
70
|
+
* 新しい行リスト内でアンカー行を同じ画面位置に保つスクロール量を解決する処理。
|
|
71
|
+
*
|
|
72
|
+
* アンカー行が新リストに存在しない場合 (折りたたみ・フィルタで消えた等) は null を返し、
|
|
73
|
+
* 呼び出し側は補正を行わない (ピクセル位置維持のフォールバック)。
|
|
74
|
+
*/
|
|
75
|
+
export const resolveAnchorScroll = (anchor: ScrollAnchor, items: ReadonlyArray<AnchorableItem>, offsets: number[]): number | null => {
|
|
76
|
+
if (items.length === 0 || offsets.length !== items.length + 1) {
|
|
77
|
+
return null
|
|
78
|
+
}
|
|
79
|
+
// パス一致検索は O(n) だが、呼び出し頻度はスナップショット到達時のみ (スロットル済) のため許容
|
|
80
|
+
for (let index = 0; index < items.length; index++) {
|
|
81
|
+
if (items[index].entry.absolutePath === anchor.path) {
|
|
82
|
+
return Math.max(0, offsets[index] + anchor.offsetInViewport)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return null
|
|
86
|
+
}
|
package/src/types.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type DirectoryEntry = {
|
|
|
24
24
|
type: "file" | "directory"
|
|
25
25
|
absolutePath: string
|
|
26
26
|
relativePath: string
|
|
27
|
+
mimeType?: string
|
|
27
28
|
children?: DirectoryEntry[]
|
|
28
29
|
icon?: DirectoryTreeIconRenderer
|
|
29
30
|
/**
|
|
@@ -72,6 +73,7 @@ export type DirectoryTreeIconRenderContext = {
|
|
|
72
73
|
isSelected: boolean
|
|
73
74
|
isItemSelected: boolean
|
|
74
75
|
extension?: string
|
|
76
|
+
mimeType?: string
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
/**
|
|
@@ -140,6 +142,15 @@ export type DirectoryTreeClickEvent = {
|
|
|
140
142
|
export type DirectoryTreeVirtualScrollOptions = Omit<ComponentProps<typeof VirtualScroll>, "itemCount" | "getItem" | "getItemHeight" | "children" | "viewportSize"> & {
|
|
141
143
|
/** Override for viewport height. / 内部計測をスキップするための任意の固定ビューポート高さ。 */
|
|
142
144
|
viewportHeightOverride?: number
|
|
145
|
+
/**
|
|
146
|
+
* Keeps the first visible row visually stationary when the row list mutates
|
|
147
|
+
* (e.g. streaming insertions above the viewport). Applies only while scrolled
|
|
148
|
+
* away from the top; at the top the list stays top-anchored as usual.
|
|
149
|
+
*
|
|
150
|
+
* 行リストの変異時 (ストリーミング追記など) に先頭可視行を画面上で静止させる。
|
|
151
|
+
* 最上部 (scroll 0) では通常どおり先頭アンカーのままとし、スクロール中のみ作用する。
|
|
152
|
+
*/
|
|
153
|
+
preserveScrollAnchor?: boolean
|
|
143
154
|
}
|
|
144
155
|
|
|
145
156
|
/**
|
package/dist/directory-tree.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}@layer theme{:root,:host{--color-amber-100:oklch(96.2% .059 95.617);--color-amber-900:oklch(41.4% .112 45.904);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-900:oklch(42.1% .095 57.708);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-900:oklch(37.8% .077 168.94);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base;@layer components{@layer theme,base;@layer components.utilities{.aqvs-scroll-pane{display:flex;position:relative}.aqvs-scroll-pane-content{flex:1;height:100%;position:relative;overflow:hidden}.aqvs-tap-scroll-circle{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition-property:transform;transition-duration:.1s;transition-timing-function:cubic-bezier(0,0,.2,1);display:flex;position:relative}.aqvs-tap-scroll-circle-visual-outer{border-radius:9999px;position:absolute;inset:0}.aqvs-tap-scroll-circle-gradient{background:linear-gradient(to bottom right,#1d4ed899,#60a5fa8c,#bfdbfe66);border-width:1px;border-color:#fff6;border-radius:9999px;position:absolute;inset:0;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.aqvs-tap-scroll-circle-inner{border-radius:9999px;position:absolute;inset:18%}.aqvs-sample-visual-rod{background-color:#ffffffd9;border-width:1px;border-color:#ffffff80;border-radius:9999px;position:absolute;top:50%;left:50%}.aqvs-sample-visual-pupil{background-color:#fffc;border-radius:9999px;position:absolute;top:50%;left:50%}.aqvs-sample-visual-highlight{background-color:#ffffff80;border-radius:9999px;position:absolute;top:50%;left:50%}.aqvs-scrollbar{z-index:50;cursor:default;-webkit-user-select:none;user-select:none;touch-action:none;background-color:#fff;position:relative}.aqvs-scrollbar-horizontal{flex-direction:row;align-items:stretch;display:flex}.aqvs-scrollbar-vertical{flex-direction:column;align-items:stretch;display:flex}.aqvs-scrollbar-tap-circle-wrapper{pointer-events:auto;transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);position:absolute}.aqvs-scrollbar-arrow-button{color:#313131;background-color:#e0e0e0;justify-content:center;align-items:center;font-size:.75rem;line-height:1rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:flex}.aqvs-scrollbar-arrow-button:focus{outline-offset:2px;outline:2px solid #0000}.aqvs-scrollbar-arrow-button:focus-visible{outline-offset:1px;outline:2px solid #60a5fa}.aqvs-scrollbar-arrow-button:disabled{cursor:not-allowed;opacity:.5}.aqvs-scrollbar-arrow-button:enabled:hover{background-color:#d4d4d4}.aqvs-scrollbar-track{background-color:#f5f5f5;flex:1;position:relative}.aqvs-scrollbar-overlay{pointer-events:none;position:absolute;inset:0}.aqvs-scrollbar-thumb-wrapper{touch-action:none;position:absolute}.aqvs-scrollbar-thumb{transform-origin:50%;background-color:#7f7f7f;transition:transform 80ms ease-out;position:absolute}.aqvs-scrollbar-thumb[data-thumb-state=disabled]{transition:none;transform:none}.aqvs-scrollbar-thumb[data-thumb-state=hover]{background-color:#5f5f5f}.aqvs-scrollbar-thumb[data-thumb-state=dragging]{background-color:#4f4f4f;transition:transform 60ms ease-out}.aqvs-scrollbar-thumb-horizontal{inset:1.5px 0}.aqvs-scrollbar-thumb-horizontal[data-thumb-state=hover]{top:-.5px;bottom:-.5px;transform:scaleY(1.06)}.aqvs-scrollbar-thumb-horizontal[data-thumb-state=dragging]{top:-.5px;bottom:-.5px;transform:scaleY(1.12)}.aqvs-scrollbar-thumb-vertical{inset:0 1.5px}.aqvs-scrollbar-thumb-vertical[data-thumb-state=hover]{left:-.5px;right:-.5px;transform:scaleX(1.06)}.aqvs-scrollbar-thumb-vertical[data-thumb-state=dragging]{left:-.5px;right:-.5px;transform:scaleX(1.12)}.aqvs-scroll-to-edge-button{pointer-events:auto;color:#fff;text-transform:uppercase;letter-spacing:.05em;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#1f2937cc;border-radius:9999px;padding:.25rem 3rem;font-size:10px;font-weight:500;transition-property:transform,background-color;transition-duration:.15s;transform:none;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.aqvs-scroll-to-edge-button:hover{background-color:#374151}.aqvs-scroll-to-edge-button:active{transform:scale(.95)}.aqvs-scroll-to-edge-overlay{pointer-events:none;z-index:10;transition-property:opacity;transition-duration:.5s;position:absolute;inset:0}.aqvs-scroll-to-edge-overlay[data-visible=true]{opacity:1}.aqvs-scroll-to-edge-overlay[data-visible=false]{opacity:0}.aqvs-scroll-to-edge-button-container{justify-content:center;display:flex;position:absolute;left:0;right:0}.aqvs-scroll-to-edge-button-container-top{top:.5rem}.aqvs-scroll-to-edge-button-container-bottom{bottom:.5rem}.aqvs-no-items-container{width:100%;position:absolute;top:0}.aqvs-no-items-text{text-align:center;color:#6b7280}.aqvs-item-container,.aqvs-bottom-inset,.aqvs-items-wrapper{width:100%;position:absolute}}@layer utilities{.dt-grid{flex-direction:column;display:flex;position:relative}.dt-grid-body{flex:1;min-height:0;position:relative}.dt-grid-header,.dt-grid-footer,.dt-grid-row,.dt-grid-hscrollbar-row{align-items:stretch;display:flex}.dt-grid-name-cell,.dt-grid-name-header,.dt-grid-name-footer{z-index:1;flex-shrink:0;align-items:center;display:flex;position:relative;overflow:hidden}.dt-grid-numeric-viewport{flex:1;position:relative;overflow:hidden}.dt-grid-numeric-track{transform:translate(calc(-1 * var(--dt-hscroll,0px)));will-change:transform;display:grid}.dt-grid-cell{white-space:nowrap;text-overflow:ellipsis;align-items:center;padding:0 8px;display:flex;overflow:hidden}.dt-grid-cell--right{text-align:right;justify-content:flex-end}.dt-grid-cell--center{text-align:center;justify-content:center}.dt-grid-name-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dt-grid-scrollbar-spacer{flex-shrink:0}}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.z-0{z-index:0}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-96{height:calc(var(--spacing) * 96)}.h-full{height:100%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-full{width:100%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.bg-amber-100{background-color:var(--color-amber-100)}.bg-blue-400\/10{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-400\/10{background-color:color-mix(in oklab,var(--color-blue-400) 10%,transparent)}}.bg-blue-400\/20{background-color:#54a2ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-400\/20{background-color:color-mix(in oklab,var(--color-blue-400) 20%,transparent)}}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-yellow-50{background-color:var(--color-yellow-50)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-1{padding-block:calc(var(--spacing) * 1)}.pr-\[3px\]{padding-right:3px}.pb-\[5px\]{padding-bottom:5px}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-blue-500{color:var(--color-blue-500)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-cyan-400{color:var(--color-cyan-400)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-slate-600{color:var(--color-slate-600)}.text-slate-800{color:var(--color-slate-800)}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_0_0_1px_rgba\(59\,130\,246\,0\.3\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#3b82f64d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hover\:bg-gray-400\/15:hover{background-color:#99a1af26}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-400\/15:hover{background-color:color-mix(in oklab,var(--color-gray-400) 15%,transparent)}}.hover\:bg-slate-100\/50:hover{background-color:#f1f5f980}@supports (color:color-mix(in lab,red,red)){.hover\:bg-slate-100\/50:hover{background-color:color-mix(in oklab,var(--color-slate-100) 50%,transparent)}}}@media(prefers-color-scheme:dark){.dark\:bg-amber-900\/20{background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/20{background-color:color-mix(in oklab,var(--color-amber-900) 20%,transparent)}}.dark\:bg-blue-400\/15{background-color:#54a2ff26}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-400\/15{background-color:color-mix(in oklab,var(--color-blue-400) 15%,transparent)}}.dark\:bg-blue-400\/25{background-color:#54a2ff40}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-400\/25{background-color:color-mix(in oklab,var(--color-blue-400) 25%,transparent)}}.dark\:bg-emerald-900\/20{background-color:#004e3b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/20{background-color:color-mix(in oklab,var(--color-emerald-900) 20%,transparent)}}.dark\:bg-gray-900{background-color:var(--color-gray-900)}.dark\:bg-indigo-900\/20{background-color:#312c8533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20{background-color:color-mix(in oklab,var(--color-indigo-900) 20%,transparent)}}.dark\:bg-yellow-900\/20{background-color:#733e0a33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-yellow-900\/20{background-color:color-mix(in oklab,var(--color-yellow-900) 20%,transparent)}}.dark\:text-blue-300{color:var(--color-blue-300)}.dark\:text-blue-400{color:var(--color-blue-400)}.dark\:text-gray-200{color:var(--color-gray-200)}.dark\:text-gray-300{color:var(--color-gray-300)}.dark\:text-gray-400{color:var(--color-gray-400)}.dark\:text-slate-100{color:var(--color-slate-100)}.dark\:text-slate-300{color:var(--color-slate-300)}.dark\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:shadow-\[0_0_0_1px_rgba\(96\,165\,250\,0\.4\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,#60a5fa66);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media(hover:hover){.dark\:hover\:bg-gray-200\/10:hover{background-color:#e5e7eb1a}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-200\/10:hover{background-color:color-mix(in oklab,var(--color-gray-200) 10%,transparent)}}}}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}
|