@vizejs/fresco 0.716.0 → 0.717.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.
@@ -1 +1 @@
1
- {"version":3,"file":"composables-DbJGVNSG.mjs","names":[],"sources":["../src/composables/useIme.ts","../src/composables/useWindowSize.ts","../src/composables/useAnimation.ts","../src/composables/useBoxMetrics.ts"],"sourcesContent":["/**\n * useIme - IME (Input Method Editor) composable\n */\n\nimport { ref, computed, type Ref } from \"vue\";\n\nexport interface UseImeOptions {\n /** Initial IME mode */\n mode?: ImeMode;\n /** Called when IME mode changes */\n onModeChange?: (mode: ImeMode) => void;\n /** Called when composition updates */\n onCompositionUpdate?: (text: string, cursor: number) => void;\n /** Called when text is committed */\n onCommit?: (text: string) => void;\n}\n\nexport type ImeMode =\n | \"direct\"\n | \"hiragana\"\n | \"katakana\"\n | \"half-katakana\"\n | \"full-alpha\"\n | \"pinyin\"\n | \"hangul\";\n\nexport interface ImeManager {\n /** Whether IME is active */\n isActive: Ref<boolean>;\n /** Current input mode */\n mode: Ref<ImeMode>;\n /** Whether currently composing */\n isComposing: Ref<boolean>;\n /** Preedit text */\n preedit: Ref<string>;\n /** Cursor position in preedit */\n preeditCursor: Ref<number>;\n /** Candidate list */\n candidates: Ref<string[]>;\n /** Selected candidate index */\n selectedCandidate: Ref<number>;\n /** Mode display name */\n modeDisplay: Ref<string>;\n /** Enable IME */\n enable: () => void;\n /** Disable IME */\n disable: () => void;\n /** Set input mode */\n setMode: (mode: ImeMode) => void;\n /** Handle key event for IME */\n handleKey: (key: string, modifiers: { ctrl: boolean; alt: boolean }) => boolean;\n /** Commit current composition */\n commit: () => void;\n /** Cancel current composition */\n cancel: () => void;\n /** Select next candidate */\n nextCandidate: () => void;\n /** Select previous candidate */\n prevCandidate: () => void;\n /** Select candidate by number (1-9) */\n selectCandidate: (num: number) => void;\n}\n\nconst MODE_DISPLAY: Record<ImeMode, string> = {\n direct: \"A\",\n hiragana: \"あ\",\n katakana: \"ア\",\n \"half-katakana\": \"ア\",\n \"full-alpha\": \"A\",\n pinyin: \"拼\",\n hangul: \"한\",\n};\n\nexport function useIme(options: UseImeOptions = {}): ImeManager {\n const { mode: initialMode = \"direct\", onModeChange, onCompositionUpdate, onCommit } = options;\n\n const isActive = ref(false);\n const mode = ref<ImeMode>(initialMode);\n const isComposing = ref(false);\n const preedit = ref(\"\");\n const preeditCursor = ref(0);\n const candidates = ref<string[]>([]);\n const selectedCandidate = ref(0);\n\n const modeDisplay = computed(() => MODE_DISPLAY[mode.value] ?? \"A\");\n\n const enable = () => {\n isActive.value = true;\n };\n\n const disable = () => {\n isActive.value = false;\n cancel();\n };\n\n const setMode = (newMode: ImeMode) => {\n if (mode.value !== newMode) {\n cancel();\n mode.value = newMode;\n onModeChange?.(newMode);\n }\n };\n\n const handleKey = (key: string, modifiers: { ctrl: boolean; alt: boolean }): boolean => {\n if (!isActive.value || mode.value === \"direct\") {\n return false;\n }\n\n // IME mode toggle (usually Ctrl+Space or similar)\n // If we're here, mode is not 'direct' (filtered above), so toggle to 'direct'\n if (modifiers.ctrl && key === \" \") {\n setMode(\"direct\");\n return true;\n }\n\n // Handle composition\n if (isComposing.value) {\n switch (key) {\n case \"enter\":\n commit();\n return true;\n case \"escape\":\n cancel();\n return true;\n case \"backspace\":\n if (preedit.value.length > 0) {\n preedit.value = preedit.value.slice(0, -1);\n preeditCursor.value = Math.min(preeditCursor.value, preedit.value.length);\n onCompositionUpdate?.(preedit.value, preeditCursor.value);\n return true;\n }\n break;\n case \"space\":\n // Convert / select candidate\n if (candidates.value.length > 0) {\n nextCandidate();\n return true;\n }\n break;\n }\n\n // Number for candidate selection\n if (/^[1-9]$/.test(key)) {\n selectCandidate(parseInt(key, 10));\n return true;\n }\n }\n\n // Start/continue composition for printable characters\n if (key.length === 1 && !modifiers.ctrl && !modifiers.alt) {\n if (!isComposing.value) {\n isComposing.value = true;\n }\n preedit.value += key;\n preeditCursor.value = preedit.value.length;\n onCompositionUpdate?.(preedit.value, preeditCursor.value);\n return true;\n }\n\n return false;\n };\n\n const commit = () => {\n if (preedit.value) {\n const text = candidates.value[selectedCandidate.value] ?? preedit.value;\n onCommit?.(text);\n }\n preedit.value = \"\";\n preeditCursor.value = 0;\n candidates.value = [];\n selectedCandidate.value = 0;\n isComposing.value = false;\n };\n\n const cancel = () => {\n preedit.value = \"\";\n preeditCursor.value = 0;\n candidates.value = [];\n selectedCandidate.value = 0;\n isComposing.value = false;\n };\n\n const nextCandidate = () => {\n if (candidates.value.length > 0) {\n selectedCandidate.value = (selectedCandidate.value + 1) % candidates.value.length;\n }\n };\n\n const prevCandidate = () => {\n if (candidates.value.length > 0) {\n selectedCandidate.value =\n (selectedCandidate.value - 1 + candidates.value.length) % candidates.value.length;\n }\n };\n\n const selectCandidate = (num: number) => {\n if (num >= 1 && num <= candidates.value.length) {\n selectedCandidate.value = num - 1;\n commit();\n }\n };\n\n return {\n isActive,\n mode,\n isComposing,\n preedit,\n preeditCursor,\n candidates,\n selectedCandidate,\n modeDisplay,\n enable,\n disable,\n setMode,\n handleKey,\n commit,\n cancel,\n nextCandidate,\n prevCandidate,\n selectCandidate,\n };\n}\n","/**\n * useWindowSize - terminal dimensions.\n */\n\nimport { reactive } from \"vue\";\nimport { useApp } from \"./useApp.js\";\n\nexport interface WindowSize {\n columns: number;\n rows: number;\n}\n\nexport function useWindowSize() {\n const { width, height } = useApp();\n\n return reactive({\n get columns() {\n return width.value;\n },\n get rows() {\n return height.value;\n },\n }) as WindowSize;\n}\n","/**\n * useAnimation - Ink-compatible shared animation state.\n */\n\nimport { computed, onMounted, onUnmounted, reactive, watch } from \"vue\";\n\nexport interface UseAnimationOptions {\n /** Time between ticks in milliseconds */\n interval?: number;\n /** Whether the animation is running */\n isActive?: boolean;\n}\n\nexport interface AnimationResult {\n frame: number;\n time: number;\n delta: number;\n reset: () => void;\n}\n\nconst defaultAnimationInterval = 100;\nconst maximumTimerInterval = 2_147_483_647;\n\ntype AnimationCallback = (currentTime: number) => void;\n\ninterface AnimationSubscriber {\n callback: AnimationCallback;\n interval: number;\n startTime: number;\n nextDueTime: number;\n}\n\nconst animationSubscribers = new Map<AnimationCallback, AnimationSubscriber>();\nlet animationTimer: ReturnType<typeof setTimeout> | null = null;\n\nfunction currentTime(): number {\n return performance.now();\n}\n\nfunction normalizeAnimationInterval(interval: number): number {\n if (!Number.isFinite(interval)) {\n return defaultAnimationInterval;\n }\n\n return Math.min(maximumTimerInterval, Math.max(1, interval));\n}\n\nfunction clearAnimationTimer() {\n if (!animationTimer) return;\n clearTimeout(animationTimer);\n animationTimer = null;\n}\n\nfunction scheduleAnimationTick() {\n clearAnimationTimer();\n if (animationSubscribers.size === 0) return;\n\n let nextDueTime = Number.POSITIVE_INFINITY;\n for (const subscriber of animationSubscribers.values()) {\n nextDueTime = Math.min(nextDueTime, subscriber.nextDueTime);\n }\n\n animationTimer = setTimeout(\n () => {\n animationTimer = null;\n const now = currentTime();\n\n for (const subscriber of animationSubscribers.values()) {\n if (now < subscriber.nextDueTime) continue;\n\n subscriber.callback(now);\n\n const elapsedTime = now - subscriber.startTime;\n const elapsedFrames = Math.floor(elapsedTime / subscriber.interval) + 1;\n subscriber.nextDueTime = subscriber.startTime + elapsedFrames * subscriber.interval;\n }\n\n scheduleAnimationTick();\n },\n Math.max(0, nextDueTime - currentTime()),\n );\n}\n\nfunction subscribeToAnimation(callback: AnimationCallback, interval: number) {\n const startTime = currentTime();\n animationSubscribers.set(callback, {\n callback,\n interval,\n startTime,\n nextDueTime: startTime + interval,\n });\n scheduleAnimationTick();\n\n return {\n startTime,\n unsubscribe() {\n animationSubscribers.delete(callback);\n scheduleAnimationTick();\n },\n };\n}\n\nexport function useAnimation(options: UseAnimationOptions = {}): AnimationResult {\n const safeInterval = computed(() =>\n normalizeAnimationInterval(options.interval ?? defaultAnimationInterval),\n );\n const active = computed(() => options.isActive ?? true);\n let unsubscribe: (() => void) | null = null;\n let startedAt = currentTime();\n let previousTick = startedAt;\n\n const state = reactive<AnimationResult>({\n frame: 0,\n time: 0,\n delta: 0,\n reset: () => {\n if (active.value) {\n start();\n } else {\n resetState(currentTime());\n }\n },\n });\n\n const resetState = (now: number) => {\n startedAt = now;\n previousTick = now;\n state.frame = 0;\n state.time = 0;\n state.delta = 0;\n };\n\n const tick = (now: number) => {\n const elapsed = now - startedAt;\n state.frame = Math.floor(elapsed / safeInterval.value);\n state.time = elapsed;\n state.delta = now - previousTick;\n previousTick = now;\n };\n\n const stop = () => {\n unsubscribe?.();\n unsubscribe = null;\n };\n\n const start = () => {\n stop();\n resetState(currentTime());\n const subscription = subscribeToAnimation(tick, safeInterval.value);\n startedAt = subscription.startTime;\n previousTick = subscription.startTime;\n unsubscribe = () => subscription.unsubscribe();\n };\n\n onMounted(() => {\n if (active.value) {\n start();\n }\n });\n\n watch([active, safeInterval], ([isActive]) => {\n if (isActive) {\n start();\n } else {\n stop();\n }\n });\n\n onUnmounted(stop);\n\n return state;\n}\n","/**\n * useBoxMetrics - best-effort layout metrics for a rendered Fresco node.\n */\n\nimport { onMounted, onUnmounted, reactive, type Ref } from \"vue\";\nimport { getLastRenderLayout, updateLastRenderLayouts, type DOMElement } from \"../layoutMetrics.js\";\n\nexport interface BoxMetrics {\n width: number;\n height: number;\n left: number;\n top: number;\n}\n\nexport interface UseBoxMetricsResult extends BoxMetrics {\n hasMeasured: boolean;\n}\n\nexport type MetricTarget = DOMElement;\n\nasync function loadNative() {\n return import(\"@vizejs/fresco-native\");\n}\n\nfunction targetId(target: MetricTarget | null | undefined): number | undefined {\n return target?.id ?? target?.$el?.id;\n}\n\nexport function useBoxMetrics(ref: Ref<MetricTarget | null>): UseBoxMetricsResult {\n const metrics = reactive<UseBoxMetricsResult>({\n width: 0,\n height: 0,\n left: 0,\n top: 0,\n hasMeasured: false,\n });\n\n let timer: ReturnType<typeof setInterval> | null = null;\n\n const refresh = () => {\n const id = targetId(ref.value);\n if (id === undefined) {\n metrics.width = 0;\n metrics.height = 0;\n metrics.left = 0;\n metrics.top = 0;\n metrics.hasMeasured = false;\n return;\n }\n\n void loadNative()\n .then((native) => {\n const layouts = \"getLastRenderLayouts\" in native ? native.getLastRenderLayouts() : [];\n updateLastRenderLayouts(layouts);\n const layout = layouts.find((item: { id: number }) => item.id === id);\n if (!layout) return;\n\n metrics.width = layout.width;\n metrics.height = layout.height;\n metrics.left = layout.x;\n metrics.top = layout.y;\n metrics.hasMeasured = true;\n })\n .catch(() => {});\n };\n\n onMounted(() => {\n const layout = getLastRenderLayout(ref.value);\n if (layout) {\n metrics.width = layout.width;\n metrics.height = layout.height;\n metrics.left = layout.x;\n metrics.top = layout.y;\n metrics.hasMeasured = true;\n }\n\n refresh();\n timer = setInterval(refresh, 100);\n });\n\n onUnmounted(() => {\n if (timer) clearInterval(timer);\n });\n\n return metrics;\n}\n"],"mappings":";;;;;;;AA+DA,MAAM,eAAwC;CAC5C,QAAQ;CACR,UAAU;CACV,UAAU;CACV,iBAAiB;CACjB,cAAc;CACd,QAAQ;CACR,QAAQ;AACV;AAEA,SAAgB,OAAO,UAAyB,CAAC,GAAe;CAC9D,MAAM,EAAE,MAAM,cAAc,UAAU,cAAc,qBAAqB,aAAa;CAEtF,MAAM,WAAW,IAAI,KAAK;CAC1B,MAAM,OAAO,IAAa,WAAW;CACrC,MAAM,cAAc,IAAI,KAAK;CAC7B,MAAM,UAAU,IAAI,EAAE;CACtB,MAAM,gBAAgB,IAAI,CAAC;CAC3B,MAAM,aAAa,IAAc,CAAC,CAAC;CACnC,MAAM,oBAAoB,IAAI,CAAC;CAE/B,MAAM,cAAc,eAAe,aAAa,KAAK,UAAU,GAAG;CAElE,MAAM,eAAe;EACnB,SAAS,QAAQ;CACnB;CAEA,MAAM,gBAAgB;EACpB,SAAS,QAAQ;EACjB,OAAO;CACT;CAEA,MAAM,WAAW,YAAqB;EACpC,IAAI,KAAK,UAAU,SAAS;GAC1B,OAAO;GACP,KAAK,QAAQ;GACb,eAAe,OAAO;EACxB;CACF;CAEA,M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BAAgB;EACd,MAAM,SAAS,oBAAoB,IAAI,KAAK;EAC5C,IAAI,QAAQ;GACV,QAAQ,QAAQ,OAAO;GACvB,QAAQ,SAAS,OAAO;GACxB,QAAQ,OAAO,OAAO;GACtB,QAAQ,MAAM,OAAO;GACrB,QAAQ,cAAc;EACxB;EAEA,QAAQ;EACR,QAAQ,YAAY,SAAS,GAAG;CAClC,CAAC;CAED,kBAAkB;EAChB,IAAI,OAAO,cAAc,KAAK;CAChC,CAAC;CAED,OAAO;AACT"}
1
+ {"version":3,"file":"composables-uj7hkBfP.mjs","names":[],"sources":["../src/composables/useIme.ts","../src/composables/useWindowSize.ts","../src/composables/useAnimation.ts","../src/composables/useBoxMetrics.ts"],"sourcesContent":["/**\n * useIme - IME (Input Method Editor) composable\n */\n\nimport { ref, computed, type Ref } from \"vue\";\n\nexport interface UseImeOptions {\n /** Initial IME mode */\n mode?: ImeMode;\n /** Called when IME mode changes */\n onModeChange?: (mode: ImeMode) => void;\n /** Called when composition updates */\n onCompositionUpdate?: (text: string, cursor: number) => void;\n /** Called when text is committed */\n onCommit?: (text: string) => void;\n}\n\nexport type ImeMode =\n | \"direct\"\n | \"hiragana\"\n | \"katakana\"\n | \"half-katakana\"\n | \"full-alpha\"\n | \"pinyin\"\n | \"hangul\";\n\nexport interface ImeManager {\n /** Whether IME is active */\n isActive: Ref<boolean>;\n /** Current input mode */\n mode: Ref<ImeMode>;\n /** Whether currently composing */\n isComposing: Ref<boolean>;\n /** Preedit text */\n preedit: Ref<string>;\n /** Cursor position in preedit */\n preeditCursor: Ref<number>;\n /** Candidate list */\n candidates: Ref<string[]>;\n /** Selected candidate index */\n selectedCandidate: Ref<number>;\n /** Mode display name */\n modeDisplay: Ref<string>;\n /** Enable IME */\n enable: () => void;\n /** Disable IME */\n disable: () => void;\n /** Set input mode */\n setMode: (mode: ImeMode) => void;\n /** Handle key event for IME */\n handleKey: (key: string, modifiers: { ctrl: boolean; alt: boolean }) => boolean;\n /** Commit current composition */\n commit: () => void;\n /** Cancel current composition */\n cancel: () => void;\n /** Select next candidate */\n nextCandidate: () => void;\n /** Select previous candidate */\n prevCandidate: () => void;\n /** Select candidate by number (1-9) */\n selectCandidate: (num: number) => void;\n}\n\nconst MODE_DISPLAY: Record<ImeMode, string> = {\n direct: \"A\",\n hiragana: \"あ\",\n katakana: \"ア\",\n \"half-katakana\": \"ア\",\n \"full-alpha\": \"A\",\n pinyin: \"拼\",\n hangul: \"한\",\n};\n\nexport function useIme(options: UseImeOptions = {}): ImeManager {\n const { mode: initialMode = \"direct\", onModeChange, onCompositionUpdate, onCommit } = options;\n\n const isActive = ref(false);\n const mode = ref<ImeMode>(initialMode);\n const isComposing = ref(false);\n const preedit = ref(\"\");\n const preeditCursor = ref(0);\n const candidates = ref<string[]>([]);\n const selectedCandidate = ref(0);\n\n const modeDisplay = computed(() => MODE_DISPLAY[mode.value] ?? \"A\");\n\n const enable = () => {\n isActive.value = true;\n };\n\n const disable = () => {\n isActive.value = false;\n cancel();\n };\n\n const setMode = (newMode: ImeMode) => {\n if (mode.value !== newMode) {\n cancel();\n mode.value = newMode;\n onModeChange?.(newMode);\n }\n };\n\n const handleKey = (key: string, modifiers: { ctrl: boolean; alt: boolean }): boolean => {\n if (!isActive.value || mode.value === \"direct\") {\n return false;\n }\n\n // IME mode toggle (usually Ctrl+Space or similar)\n // If we're here, mode is not 'direct' (filtered above), so toggle to 'direct'\n if (modifiers.ctrl && key === \" \") {\n setMode(\"direct\");\n return true;\n }\n\n // Handle composition\n if (isComposing.value) {\n switch (key) {\n case \"enter\":\n commit();\n return true;\n case \"escape\":\n cancel();\n return true;\n case \"backspace\":\n if (preedit.value.length > 0) {\n preedit.value = preedit.value.slice(0, -1);\n preeditCursor.value = Math.min(preeditCursor.value, preedit.value.length);\n onCompositionUpdate?.(preedit.value, preeditCursor.value);\n return true;\n }\n break;\n case \"space\":\n // Convert / select candidate\n if (candidates.value.length > 0) {\n nextCandidate();\n return true;\n }\n break;\n }\n\n // Number for candidate selection\n if (/^[1-9]$/.test(key)) {\n selectCandidate(parseInt(key, 10));\n return true;\n }\n }\n\n // Start/continue composition for printable characters\n if (key.length === 1 && !modifiers.ctrl && !modifiers.alt) {\n if (!isComposing.value) {\n isComposing.value = true;\n }\n preedit.value += key;\n preeditCursor.value = preedit.value.length;\n onCompositionUpdate?.(preedit.value, preeditCursor.value);\n return true;\n }\n\n return false;\n };\n\n const commit = () => {\n if (preedit.value) {\n const text = candidates.value[selectedCandidate.value] ?? preedit.value;\n onCommit?.(text);\n }\n preedit.value = \"\";\n preeditCursor.value = 0;\n candidates.value = [];\n selectedCandidate.value = 0;\n isComposing.value = false;\n };\n\n const cancel = () => {\n preedit.value = \"\";\n preeditCursor.value = 0;\n candidates.value = [];\n selectedCandidate.value = 0;\n isComposing.value = false;\n };\n\n const nextCandidate = () => {\n if (candidates.value.length > 0) {\n selectedCandidate.value = (selectedCandidate.value + 1) % candidates.value.length;\n }\n };\n\n const prevCandidate = () => {\n if (candidates.value.length > 0) {\n selectedCandidate.value =\n (selectedCandidate.value - 1 + candidates.value.length) % candidates.value.length;\n }\n };\n\n const selectCandidate = (num: number) => {\n if (num >= 1 && num <= candidates.value.length) {\n selectedCandidate.value = num - 1;\n commit();\n }\n };\n\n return {\n isActive,\n mode,\n isComposing,\n preedit,\n preeditCursor,\n candidates,\n selectedCandidate,\n modeDisplay,\n enable,\n disable,\n setMode,\n handleKey,\n commit,\n cancel,\n nextCandidate,\n prevCandidate,\n selectCandidate,\n };\n}\n","/**\n * useWindowSize - terminal dimensions.\n */\n\nimport { reactive } from \"vue\";\nimport { useApp } from \"./useApp.js\";\n\nexport interface WindowSize {\n columns: number;\n rows: number;\n}\n\nexport function useWindowSize() {\n const { width, height } = useApp();\n\n return reactive({\n get columns() {\n return width.value;\n },\n get rows() {\n return height.value;\n },\n }) as WindowSize;\n}\n","/**\n * useAnimation - Ink-compatible shared animation state.\n */\n\nimport { computed, onMounted, onUnmounted, reactive, watch } from \"vue\";\n\nexport interface UseAnimationOptions {\n /** Time between ticks in milliseconds */\n interval?: number;\n /** Whether the animation is running */\n isActive?: boolean;\n}\n\nexport interface AnimationResult {\n frame: number;\n time: number;\n delta: number;\n reset: () => void;\n}\n\nconst defaultAnimationInterval = 100;\nconst maximumTimerInterval = 2_147_483_647;\n\ntype AnimationCallback = (currentTime: number) => void;\n\ninterface AnimationSubscriber {\n callback: AnimationCallback;\n interval: number;\n startTime: number;\n nextDueTime: number;\n}\n\nconst animationSubscribers = new Map<AnimationCallback, AnimationSubscriber>();\nlet animationTimer: ReturnType<typeof setTimeout> | null = null;\n\nfunction currentTime(): number {\n return performance.now();\n}\n\nfunction normalizeAnimationInterval(interval: number): number {\n if (!Number.isFinite(interval)) {\n return defaultAnimationInterval;\n }\n\n return Math.min(maximumTimerInterval, Math.max(1, interval));\n}\n\nfunction clearAnimationTimer() {\n if (!animationTimer) return;\n clearTimeout(animationTimer);\n animationTimer = null;\n}\n\nfunction scheduleAnimationTick() {\n clearAnimationTimer();\n if (animationSubscribers.size === 0) return;\n\n let nextDueTime = Number.POSITIVE_INFINITY;\n for (const subscriber of animationSubscribers.values()) {\n nextDueTime = Math.min(nextDueTime, subscriber.nextDueTime);\n }\n\n animationTimer = setTimeout(\n () => {\n animationTimer = null;\n const now = currentTime();\n\n for (const subscriber of animationSubscribers.values()) {\n if (now < subscriber.nextDueTime) continue;\n\n subscriber.callback(now);\n\n const elapsedTime = now - subscriber.startTime;\n const elapsedFrames = Math.floor(elapsedTime / subscriber.interval) + 1;\n subscriber.nextDueTime = subscriber.startTime + elapsedFrames * subscriber.interval;\n }\n\n scheduleAnimationTick();\n },\n Math.max(0, nextDueTime - currentTime()),\n );\n}\n\nfunction subscribeToAnimation(callback: AnimationCallback, interval: number) {\n const startTime = currentTime();\n animationSubscribers.set(callback, {\n callback,\n interval,\n startTime,\n nextDueTime: startTime + interval,\n });\n scheduleAnimationTick();\n\n return {\n startTime,\n unsubscribe() {\n animationSubscribers.delete(callback);\n scheduleAnimationTick();\n },\n };\n}\n\nexport function useAnimation(options: UseAnimationOptions = {}): AnimationResult {\n const safeInterval = computed(() =>\n normalizeAnimationInterval(options.interval ?? defaultAnimationInterval),\n );\n const active = computed(() => options.isActive ?? true);\n let unsubscribe: (() => void) | null = null;\n let startedAt = currentTime();\n let previousTick = startedAt;\n\n const state = reactive<AnimationResult>({\n frame: 0,\n time: 0,\n delta: 0,\n reset: () => {\n if (active.value) {\n start();\n } else {\n resetState(currentTime());\n }\n },\n });\n\n const resetState = (now: number) => {\n startedAt = now;\n previousTick = now;\n state.frame = 0;\n state.time = 0;\n state.delta = 0;\n };\n\n const tick = (now: number) => {\n const elapsed = now - startedAt;\n state.frame = Math.floor(elapsed / safeInterval.value);\n state.time = elapsed;\n state.delta = now - previousTick;\n previousTick = now;\n };\n\n const stop = () => {\n unsubscribe?.();\n unsubscribe = null;\n };\n\n const start = () => {\n stop();\n resetState(currentTime());\n const subscription = subscribeToAnimation(tick, safeInterval.value);\n startedAt = subscription.startTime;\n previousTick = subscription.startTime;\n unsubscribe = () => subscription.unsubscribe();\n };\n\n onMounted(() => {\n if (active.value) {\n start();\n }\n });\n\n watch([active, safeInterval], ([isActive]) => {\n if (isActive) {\n start();\n } else {\n stop();\n }\n });\n\n onUnmounted(stop);\n\n return state;\n}\n","/**\n * useBoxMetrics - best-effort layout metrics for a rendered Fresco node.\n */\n\nimport { onMounted, onUnmounted, reactive, type Ref } from \"vue\";\nimport { getLastRenderLayout, updateLastRenderLayouts, type DOMElement } from \"../layoutMetrics.js\";\n\nexport interface BoxMetrics {\n width: number;\n height: number;\n left: number;\n top: number;\n}\n\nexport interface UseBoxMetricsResult extends BoxMetrics {\n hasMeasured: boolean;\n}\n\nexport type MetricTarget = DOMElement;\n\nasync function loadNative() {\n return import(\"@vizejs/fresco-native\");\n}\n\nfunction targetId(target: MetricTarget | null | undefined): number | undefined {\n return target?.id ?? target?.$el?.id;\n}\n\nexport function useBoxMetrics(ref: Ref<MetricTarget | null>): UseBoxMetricsResult {\n const metrics = reactive<UseBoxMetricsResult>({\n width: 0,\n height: 0,\n left: 0,\n top: 0,\n hasMeasured: false,\n });\n\n let timer: ReturnType<typeof setInterval> | null = null;\n\n const refresh = () => {\n const id = targetId(ref.value);\n if (id === undefined) {\n metrics.width = 0;\n metrics.height = 0;\n metrics.left = 0;\n metrics.top = 0;\n metrics.hasMeasured = false;\n return;\n }\n\n void loadNative()\n .then((native) => {\n const layouts = \"getLastRenderLayouts\" in native ? native.getLastRenderLayouts() : [];\n updateLastRenderLayouts(layouts);\n const layout = layouts.find((item: { id: number }) => item.id === id);\n if (!layout) return;\n\n metrics.width = layout.width;\n metrics.height = layout.height;\n metrics.left = layout.x;\n metrics.top = layout.y;\n metrics.hasMeasured = true;\n })\n .catch(() => {});\n };\n\n onMounted(() => {\n const layout = getLastRenderLayout(ref.value);\n if (layout) {\n metrics.width = layout.width;\n metrics.height = layout.height;\n metrics.left = layout.x;\n metrics.top = layout.y;\n metrics.hasMeasured = true;\n }\n\n refresh();\n timer = setInterval(refresh, 100);\n });\n\n onUnmounted(() => {\n if (timer) clearInterval(timer);\n });\n\n return metrics;\n}\n"],"mappings":";;;;;;;AA+DA,MAAM,eAAwC;CAC5C,QAAQ;CACR,UAAU;CACV,UAAU;CACV,iBAAiB;CACjB,cAAc;CACd,QAAQ;CACR,QAAQ;AACV;AAEA,SAAgB,OAAO,UAAyB,CAAC,GAAe;CAC9D,MAAM,EAAE,MAAM,cAAc,UAAU,cAAc,qBAAqB,aAAa;CAEtF,MAAM,WAAW,IAAI,KAAK;CAC1B,MAAM,OAAO,IAAa,WAAW;CACrC,MAAM,cAAc,IAAI,KAAK;CAC7B,MAAM,UAAU,IAAI,EAAE;CACtB,MAAM,gBAAgB,IAAI,CAAC;CAC3B,MAAM,aAAa,IAAc,CAAC,CAAC;CACnC,MAAM,oBAAoB,IAAI,CAAC;CAE/B,MAAM,cAAc,eAAe,aAAa,KAAK,UAAU,GAAG;CAElE,MAAM,eAAe;EACnB,SA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GACpE,IAAI,CAAC,QAAQ;GAEb,QAAQ,QAAQ,OAAO;GACvB,QAAQ,SAAS,OAAO;GACxB,QAAQ,OAAO,OAAO;GACtB,QAAQ,MAAM,OAAO;GACrB,QAAQ,cAAc;EACxB,CAAC,EACA,YAAY,CAAC,CAAC;CACnB;CAEA,gBAAgB;EACd,MAAM,SAAS,oBAAoB,IAAI,KAAK;EAC5C,IAAI,QAAQ;GACV,QAAQ,QAAQ,OAAO;GACvB,QAAQ,SAAS,OAAO;GACxB,QAAQ,OAAO,OAAO;GACtB,QAAQ,MAAM,OAAO;GACrB,QAAQ,cAAc;EACxB;EAEA,QAAQ;EACR,QAAQ,YAAY,SAAS,GAAG;CAClC,CAAC;CAED,kBAAkB;EAChB,IAAI,OAAO,cAAc,KAAK;CAChC,CAAC;CAED,OAAO;AACT"}
@@ -1,5 +1,5 @@
1
1
  import { E as FrescoStyle, l as FrescoCanonicalStyle, o as FrescoAppearance, s as FrescoBorderStyle, u as FrescoDimension } from "./protocol-D8xt3DG7.mjs";
2
- import { n as AriaState, t as AriaRole } from "./accessibility-OEhyYUxd.mjs";
2
+ import { n as AriaState, t as AriaRole } from "./accessibility-DY_alnTr.mjs";
3
3
  import { i as VirtualViewportRange, t as VirtualScrollAlignment } from "./useVirtualViewport-TxTapifg.mjs";
4
4
  import { PropType, VNode } from "vue";
5
5
 
@@ -214,10 +214,10 @@ declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<
214
214
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
215
215
  //#endregion
216
216
  //#region src/components/FrescoSpacer.vue.d.ts
217
- declare const __VLS_export$14: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
218
- declare const _default$14: typeof __VLS_export$14;
217
+ declare const __VLS_export$18: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
218
+ declare const _default$18: typeof __VLS_export$18;
219
219
  //#endregion
220
- //#region src/components/Divider.d.ts
220
+ //#region src/components/layout-primitive-types.d.ts
221
221
  interface DividerProps {
222
222
  /** Divider direction */
223
223
  direction?: "horizontal" | "vertical";
@@ -230,38 +230,6 @@ interface DividerProps {
230
230
  /** Title foreground color */
231
231
  titleFg?: string;
232
232
  }
233
- declare const Divider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
234
- direction: {
235
- type: PropType<"horizontal" | "vertical">;
236
- default: string;
237
- };
238
- char: StringConstructor;
239
- title: StringConstructor;
240
- fg: {
241
- type: StringConstructor;
242
- default: string;
243
- };
244
- titleFg: StringConstructor;
245
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
246
- [key: string]: any;
247
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
248
- direction: {
249
- type: PropType<"horizontal" | "vertical">;
250
- default: string;
251
- };
252
- char: StringConstructor;
253
- title: StringConstructor;
254
- fg: {
255
- type: StringConstructor;
256
- default: string;
257
- };
258
- titleFg: StringConstructor;
259
- }>> & Readonly<{}>, {
260
- fg: string;
261
- direction: "horizontal" | "vertical";
262
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
263
- //#endregion
264
- //#region src/components/Stack.d.ts
265
233
  interface StackProps {
266
234
  /** Stack direction */
267
235
  direction?: "horizontal" | "vertical";
@@ -274,95 +242,53 @@ interface StackProps {
274
242
  /** Wrap children */
275
243
  wrap?: boolean;
276
244
  }
277
- declare const Stack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
278
- direction: {
279
- type: PropType<"horizontal" | "vertical">;
280
- default: string;
281
- };
282
- gap: {
283
- type: NumberConstructor;
284
- default: number;
285
- };
286
- align: {
287
- type: PropType<StackProps["align"]>;
288
- default: string;
289
- };
290
- justify: {
291
- type: PropType<StackProps["justify"]>;
292
- default: string;
293
- };
294
- wrap: {
295
- type: BooleanConstructor;
296
- default: boolean;
297
- };
298
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
299
- [key: string]: any;
300
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
301
- direction: {
302
- type: PropType<"horizontal" | "vertical">;
303
- default: string;
304
- };
305
- gap: {
306
- type: NumberConstructor;
307
- default: number;
308
- };
309
- align: {
310
- type: PropType<StackProps["align"]>;
311
- default: string;
312
- };
313
- justify: {
314
- type: PropType<StackProps["justify"]>;
315
- default: string;
316
- };
317
- wrap: {
318
- type: BooleanConstructor;
319
- default: boolean;
320
- };
321
- }>> & Readonly<{}>, {
322
- wrap: boolean;
323
- gap: number;
324
- align: "start" | "end" | "center" | "stretch" | undefined;
325
- justify: "start" | "end" | "center" | "between" | "around" | "evenly" | undefined;
326
- direction: "horizontal" | "vertical";
327
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
328
- declare const HStack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
329
- gap: {
330
- type: NumberConstructor;
331
- default: number;
332
- };
333
- align: PropType<StackProps["align"]>;
334
- justify: PropType<StackProps["justify"]>;
335
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
336
- [key: string]: any;
337
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
338
- gap: {
339
- type: NumberConstructor;
340
- default: number;
245
+ type ConvenienceStackProps = Pick<StackProps, "gap" | "align" | "justify">;
246
+ //#endregion
247
+ //#region src/components/FrescoDivider.vue.d.ts
248
+ declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<DividerProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
249
+ declare const _default$17: typeof __VLS_export$17;
250
+ //#endregion
251
+ //#region src/components/FrescoStack.vue.d.ts
252
+ declare var __VLS_1$2: {};
253
+ type __VLS_Slots$7 = {} & {
254
+ default?: (props: typeof __VLS_1$2) => any;
255
+ };
256
+ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<StackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<StackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
257
+ declare const __VLS_export$16: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
258
+ declare const _default$16: typeof __VLS_export$16;
259
+ type __VLS_WithSlots$7<T, S> = T & {
260
+ new (): {
261
+ $slots: S;
341
262
  };
342
- align: PropType<StackProps["align"]>;
343
- justify: PropType<StackProps["justify"]>;
344
- }>> & Readonly<{}>, {
345
- gap: number;
346
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
347
- declare const VStack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
348
- gap: {
349
- type: NumberConstructor;
350
- default: number;
263
+ }; //# sourceMappingURL=FrescoStack.vue.d.ts.map
264
+ //#endregion
265
+ //#region src/components/FrescoHStack.vue.d.ts
266
+ declare var __VLS_8$1: {};
267
+ type __VLS_Slots$6 = {} & {
268
+ default?: (props: typeof __VLS_8$1) => any;
269
+ };
270
+ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
271
+ declare const __VLS_export$15: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
272
+ declare const _default$15: typeof __VLS_export$15;
273
+ type __VLS_WithSlots$6<T, S> = T & {
274
+ new (): {
275
+ $slots: S;
351
276
  };
352
- align: PropType<StackProps["align"]>;
353
- justify: PropType<StackProps["justify"]>;
354
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
355
- [key: string]: any;
356
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
357
- gap: {
358
- type: NumberConstructor;
359
- default: number;
277
+ }; //# sourceMappingURL=FrescoHStack.vue.d.ts.map
278
+ //#endregion
279
+ //#region src/components/FrescoVStack.vue.d.ts
280
+ declare var __VLS_8: {};
281
+ type __VLS_Slots$5 = {} & {
282
+ default?: (props: typeof __VLS_8) => any;
283
+ };
284
+ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
285
+ declare const __VLS_export$14: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
286
+ declare const _default$14: typeof __VLS_export$14;
287
+ type __VLS_WithSlots$5<T, S> = T & {
288
+ new (): {
289
+ $slots: S;
360
290
  };
361
- align: PropType<StackProps["align"]>;
362
- justify: PropType<StackProps["justify"]>;
363
- }>> & Readonly<{}>, {
364
- gap: number;
365
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
291
+ }; //# sourceMappingURL=FrescoVStack.vue.d.ts.map
366
292
  //#endregion
367
293
  //#region src/components/Grid.d.ts
368
294
  interface GridProps {
@@ -648,13 +574,13 @@ declare const Text: import("vue").DefineComponent<import("vue").ExtractPropTypes
648
574
  hidden: boolean;
649
575
  bold: boolean;
650
576
  ariaHidden: boolean;
651
- blink: boolean;
652
577
  dim: boolean;
653
578
  dimColor: boolean;
654
579
  italic: boolean;
655
580
  underline: boolean;
656
581
  strikethrough: boolean;
657
582
  inverse: boolean;
583
+ blink: boolean;
658
584
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
659
585
  //#endregion
660
586
  //#region src/components/text-utility-types.d.ts
@@ -881,11 +807,7 @@ declare const Code: import("vue").DefineComponent<import("vue").ExtractPropTypes
881
807
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
882
808
  //#endregion
883
809
  //#region src/components/FrescoLink.vue.d.ts
884
- declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<LinkProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
885
- click: () => any;
886
- }, string, import("@vue/runtime-core").PublicProps, Readonly<LinkProps> & Readonly<{
887
- onClick?: (() => any) | undefined;
888
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
810
+ declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<LinkProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
889
811
  declare const _default$7: typeof __VLS_export$7;
890
812
  //#endregion
891
813
  //#region src/components/TextInput.d.ts
@@ -987,8 +909,8 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
987
909
  onCompositionupdate?: ((...args: any[]) => any) | undefined;
988
910
  onCompositionend?: ((...args: any[]) => any) | undefined;
989
911
  }>, {
990
- modelValue: string;
991
912
  focused: boolean;
913
+ modelValue: string;
992
914
  placeholder: string;
993
915
  focus: boolean;
994
916
  mask: boolean;
@@ -1113,9 +1035,9 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
1113
1035
  }>> & Readonly<{
1114
1036
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1115
1037
  }>, {
1038
+ focused: boolean;
1116
1039
  border: "none" | "single" | "double" | "rounded" | undefined;
1117
1040
  modelValue: string;
1118
- focused: boolean;
1119
1041
  disabled: boolean;
1120
1042
  lineNumbers: boolean;
1121
1043
  lineNumberFg: string;
@@ -1218,10 +1140,10 @@ declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTyp
1218
1140
  onSelect?: ((...args: any[]) => any) | undefined;
1219
1141
  }>, {
1220
1142
  focused: boolean;
1221
- selectedFg: string;
1222
- placeholder: string;
1223
1143
  indicator: string;
1224
1144
  indicatorEmpty: string;
1145
+ selectedFg: string;
1146
+ placeholder: string;
1225
1147
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1226
1148
  //#endregion
1227
1149
  //#region src/components/Checkbox.d.ts
@@ -1306,8 +1228,8 @@ declare const Checkbox: import("vue").DefineComponent<import("vue").ExtractPropT
1306
1228
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1307
1229
  onChange?: ((...args: any[]) => any) | undefined;
1308
1230
  }>, {
1309
- modelValue: boolean;
1310
1231
  focused: boolean;
1232
+ modelValue: boolean;
1311
1233
  disabled: boolean;
1312
1234
  checked: string;
1313
1235
  unchecked: string;
@@ -1393,9 +1315,9 @@ declare const RadioGroup: import("vue").DefineComponent<import("vue").ExtractPro
1393
1315
  onChange?: ((...args: any[]) => any) | undefined;
1394
1316
  }>, {
1395
1317
  direction: "horizontal" | "vertical";
1318
+ selectedFg: string;
1396
1319
  selected: string;
1397
1320
  unselected: string;
1398
- selectedFg: string;
1399
1321
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1400
1322
  //#endregion
1401
1323
  //#region src/components/Confirm.d.ts
@@ -1449,7 +1371,7 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
1449
1371
  };
1450
1372
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1451
1373
  [key: string]: any;
1452
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel" | "select")[], "confirm" | "cancel" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1374
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "confirm" | "cancel")[], "select" | "confirm" | "cancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1453
1375
  message: {
1454
1376
  type: StringConstructor;
1455
1377
  required: true;
@@ -1479,9 +1401,9 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
1479
1401
  default: string;
1480
1402
  };
1481
1403
  }>> & Readonly<{
1404
+ onSelect?: ((...args: any[]) => any) | undefined;
1482
1405
  onConfirm?: ((...args: any[]) => any) | undefined;
1483
1406
  onCancel?: ((...args: any[]) => any) | undefined;
1484
- onSelect?: ((...args: any[]) => any) | undefined;
1485
1407
  }>, {
1486
1408
  selectedFg: string;
1487
1409
  confirmText: string;
@@ -1913,9 +1835,9 @@ declare const List: import("vue").DefineComponent<import("vue").ExtractPropTypes
1913
1835
  onSelect?: ((...args: any[]) => any) | undefined;
1914
1836
  }>, {
1915
1837
  focused: boolean;
1916
- selectedFg: string;
1917
1838
  indicator: string;
1918
1839
  indicatorEmpty: string;
1840
+ selectedFg: string;
1919
1841
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1920
1842
  //#endregion
1921
1843
  //#region src/components/Table.d.ts
@@ -2678,5 +2600,5 @@ declare const KeyHint: import("vue").DefineComponent<import("vue").ExtractPropTy
2678
2600
  declare const __VLS_export: import("@vue/runtime-core").DefineComponent<AvatarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2679
2601
  declare const _default: typeof __VLS_export;
2680
2602
  //#endregion
2681
- export { TextArea as $, ListProps as A, BreadcrumbProps as At, Form as B, VStack as Bt, TreeNode as C, ScrollBoxItemSlot as Ct, TableProps as D, AlertType as Dt, TableColumn as E, AlertProps as Et, _default$4 as F, Grid as Ft, RadioGroup as G, BoxProps as Gt, FormProps as H, DividerProps as Ht, _default$5 as I, GridProps as It, Checkbox as J, RadioGroupProps as K, ProgressBar as L, HStack as Lt, Timer as M, HeaderProps as Mt, TimerMode as N, TooltipPosition as Nt, List as O, AvatarProps as Ot, TimerProps as P, TooltipProps as Pt, SelectProps as Q, ProgressBarProps as R, Stack as Rt, Tree as S, ScrollBoxExposed as St, Table as T, _default$13 as Tt, Confirm as U, _default$14 as Ut, FormField as V, Divider as Vt, ConfirmProps as W, Box as Wt, Select as X, CheckboxProps as Y, SelectOption as Z, Tabs as _, TextProps as _t, _default$1 as a, CodeProps as at, MenuItem as b, ScrollBarOrientation as bt, StatusBarProps as c, BadgeVariant as ct, Step as d, StaticProps as dt, TextAreaProps as et, StepStatus as f, _default$9 as ft, Tab as g, Text as gt, _default$2 as h, TransformProps as ht, KeyHintProps as i, Code as it, _default$3 as j, CardProps as jt, ListItem as k, BreadcrumbItem as kt, Modal as l, LinkProps as lt, StepperProps as m, NewlineProps as mt, KeyBinding as n, TextInputProps as nt, StatusBar as o, _default$8 as ot, Stepper as p, _default$10 as pt, RadioOption as q, KeyHint as r, _default$7 as rt, StatusBarItem as s, BadgeProps as st, _default as t, TextInput as tt, ModalProps as u, SpinnerProps as ut, TabsProps as v, _default$11 as vt, TreeProps as w, ScrollBoxProps as wt, MenuProps as x, ScrollBarProps as xt, Menu as y, _default$12 as yt, _default$6 as z, StackProps as zt };
2682
- //# sourceMappingURL=index-CWRginDz.d.mts.map
2603
+ export { TextArea as $, ListProps as A, BreadcrumbProps as At, Form as B, _default$17 as Bt, TreeNode as C, ScrollBoxItemSlot as Ct, TableProps as D, AlertType as Dt, TableColumn as E, AlertProps as Et, _default$4 as F, Grid as Ft, RadioGroup as G, BoxProps as Gt, FormProps as H, StackProps as Ht, _default$5 as I, GridProps as It, Checkbox as J, RadioGroupProps as K, ProgressBar as L, _default$14 as Lt, Timer as M, HeaderProps as Mt, TimerMode as N, TooltipPosition as Nt, List as O, AvatarProps as Ot, TimerProps as P, TooltipProps as Pt, SelectProps as Q, ProgressBarProps as R, _default$15 as Rt, Tree as S, ScrollBoxExposed as St, Table as T, _default$13 as Tt, Confirm as U, _default$18 as Ut, FormField as V, DividerProps as Vt, ConfirmProps as W, Box as Wt, Select as X, CheckboxProps as Y, SelectOption as Z, Tabs as _, TextProps as _t, _default$1 as a, CodeProps as at, MenuItem as b, ScrollBarOrientation as bt, StatusBarProps as c, BadgeVariant as ct, Step as d, StaticProps as dt, TextAreaProps as et, StepStatus as f, _default$9 as ft, Tab as g, Text as gt, _default$2 as h, TransformProps as ht, KeyHintProps as i, Code as it, _default$3 as j, CardProps as jt, ListItem as k, BreadcrumbItem as kt, Modal as l, LinkProps as lt, StepperProps as m, NewlineProps as mt, KeyBinding as n, TextInputProps as nt, StatusBar as o, _default$8 as ot, Stepper as p, _default$10 as pt, RadioOption as q, KeyHint as r, _default$7 as rt, StatusBarItem as s, BadgeProps as st, _default as t, TextInput as tt, ModalProps as u, SpinnerProps as ut, TabsProps as v, _default$11 as vt, TreeProps as w, ScrollBoxProps as wt, MenuProps as x, ScrollBarProps as xt, Menu as y, _default$12 as yt, _default$6 as z, _default$16 as zt };
2604
+ //# sourceMappingURL=index-BjK3JSNo.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BjK3JSNo.d.mts","names":[],"sources":["../src/components/Box.ts","../src/components/FrescoSpacer.vue","../src/components/layout-primitive-types.ts","../src/components/FrescoDivider.vue","../src/components/FrescoStack.vue","../src/components/FrescoHStack.vue","../src/components/FrescoVStack.vue","../src/components/Grid.ts","../src/components/presentational-primitive-types.ts","../src/components/FrescoCard.vue","../src/components/scroll-types.ts","../src/components/ScrollBox.vue","../src/components/ScrollBar.vue","../src/components/Text.ts","../src/components/text-utility-types.ts","../src/components/FrescoNewline.vue","../src/components/FrescoStatic.vue","../src/components/display-primitive-types.ts","../src/components/FrescoTransform.vue","../src/components/Code.ts","../src/components/FrescoLink.vue","../src/components/TextInput.ts","../src/components/TextArea.ts","../src/components/Select.ts","../src/components/Checkbox.ts","../src/components/RadioGroup.ts","../src/components/Confirm.ts","../src/components/Form.ts","../src/components/FrescoSpinner.vue","../src/components/ProgressBar.ts","../src/components/FrescoAlert.vue","../src/components/FrescoBadge.vue","../src/components/Timer.ts","../src/components/FrescoTooltip.vue","../src/components/List.ts","../src/components/Table.ts","../src/components/Tree.ts","../src/components/Menu.ts","../src/components/Tabs.ts","../src/components/FrescoBreadcrumb.vue","../src/components/Stepper.ts","../src/components/Modal.ts","../src/components/StatusBar.ts","../src/components/FrescoHeader.vue","../src/components/KeyHint.ts","../src/components/FrescoAvatar.vue"],"mappings":";;;;;;KAeY,eAAA,GAAkB,iBAAiB;AAAA,UAE9B,QAAA,SAAiB,oBAAA;EAFa;EAI7C,QAAA;EAFe;EAIf,QAAA;;EAEA,OAAA;EAMc;EAJd,OAAA;EAuCe;EArCf,MAAA,GAAS,eAAA;EAV2C;EAYp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AA;EACtB,KAAA,IAAS,KAAA,SAAc,OAAO;AAAA;AAAA,cAK5B,UAAA,8BAAU,eAAA,CAAA,WAAA,8CAAA,qBAAA,8BAAA,qBAAA,0CAAA,WAAA,EAAA,QAAA,CAAA,WAAA,IAAA,QAAA,0DAAA,uBAAA;AAAA,cAGV,cAAA,EAAqB,eAAA,QAAuB,UAAA,EAAY,WAAA;AAAA,cAAW,UAAA,SAC7C,cAAY;AAAA,KACnC,eAAA,SAAwB,CAAA;EAAA;IAE3B,MAAA,EAAQ,CAAC;EAAA;AAAA;;;UC9JM,UAAA;EACf,IAAA;EACA,WAAW;AAAA;AAAA,UAGI,YAAA;E5CI8B;E4CF7C,QAAA,EAAU,UAAU;E5CIL;E4CFf,SAAA;;EAEA,KAAA;E5CYc;E4CVd,KAAA;E5C6Ce;E4C3Cf,MAAA;E5CJoD;E4CMpD,SAAA;AAAA;AAAA,cAGW,OAAA,gBAAO,eAAA,eAAA,gBAAA;;UAIC,QAAA,CAAS,UAAA;;;;UAIR,QAAA;;;;;;;;;;;;;;;;;;;;;;;UAJD,QAAA,CAAS,UAAA;;;;UAIR,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC8FhB,YAAA,8BAAY,eAAA,CAAA,WAAA,8CAAA,qBAAA,8BAAA,qBAAA,0CAAA,WAAA,EAAA,QAAA,CAAA,WAAA,IAAA,QAAA,0DAAA,uBAAA;AAAA,cAAA,QAAA,SAGU,YAAY"}
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { A as KeyEvent, C as FrescoRenderStyle, D as FrescoTextRenderNode, E as FrescoStyle, M as MouseEvent, N as PasteEvent, O as FrescoTextWrapMode, P as ResizeEvent, S as FrescoRenderNodeKind, T as FrescoSnakeStyleAliases, _ as FrescoModifiers, a as FrescoAlignSelf, b as FrescoPosition, c as FrescoBoxRenderNode, d as FrescoDisplay, f as FrescoFlexDirection, g as FrescoJustifyContent, h as FrescoInputRenderNode, i as FrescoAlignItems, j as KeyEventType, k as InputEvent, l as FrescoCanonicalStyle, m as FrescoInputEvent, n as FocusEvent, o as FrescoAppearance, p as FrescoFlexWrap, r as FrescoAlignContent, s as FrescoBorderStyle, t as CompositionEvent, u as FrescoDimension, v as FrescoMouseEventKind, w as FrescoRootRenderNode, x as FrescoRenderNode, y as FrescoOverflow } from "./protocol-D8xt3DG7.mjs";
2
- import { a as FrescoHostNode, c as FrescoNodeUpdateKind, l as FrescoRendererOptions, r as FrescoDeclaredSize, s as FrescoNodeLifecycleHooks, u as createRenderer } from "./accessibility-OEhyYUxd.mjs";
3
- import { $ as TextArea, A as ListProps, At as BreadcrumbProps, B as Form, Bt as VStack, C as TreeNode, Ct as ScrollBoxItemSlot, D as TableProps, Dt as AlertType, E as TableColumn, Et as AlertProps, F as _default$2, Ft as Grid, G as RadioGroup, Gt as BoxProps, H as FormProps, Ht as DividerProps, I as _default, It as GridProps, J as Checkbox, K as RadioGroupProps, L as ProgressBar, Lt as HStack, M as Timer, Mt as HeaderProps, N as TimerMode, Nt as TooltipPosition, O as List, Ot as AvatarProps, P as TimerProps, Pt as TooltipProps, Q as SelectProps, R as ProgressBarProps, Rt as Stack, S as Tree, St as ScrollBoxExposed, T as Table, Tt as _default$4, U as Confirm, Ut as _default$10, V as FormField, Vt as Divider, W as ConfirmProps, Wt as Box, X as Select, Y as CheckboxProps, Z as SelectOption, _ as Tabs, _t as TextProps, a as _default$5, at as CodeProps, b as MenuItem, bt as ScrollBarOrientation, c as StatusBarProps, ct as BadgeVariant, d as Step, dt as StaticProps, et as TextAreaProps, f as StepStatus, ft as _default$12, g as Tab, gt as Text, h as _default$3, ht as TransformProps, i as KeyHintProps, it as Code, j as _default$13, jt as CardProps, k as ListItem, kt as BreadcrumbItem, l as Modal, lt as LinkProps, m as StepperProps, mt as NewlineProps, n as KeyBinding, nt as TextInputProps, o as StatusBar, ot as _default$14, p as Stepper, pt as _default$7, q as RadioOption, r as KeyHint, rt as _default$6, s as StatusBarItem, st as BadgeProps, t as _default$1, tt as TextInput, u as ModalProps, ut as SpinnerProps, v as TabsProps, vt as _default$8, w as TreeProps, wt as ScrollBoxProps, x as MenuProps, xt as ScrollBarProps, y as Menu, yt as _default$9, z as _default$11, zt as StackProps } from "./index-CWRginDz.mjs";
2
+ import { a as FrescoHostNode, c as FrescoInputEventPhase, d as FrescoNodeUpdateKind, f as FrescoRendererOptions, m as createRenderer, o as FrescoInputDispatchResult, p as FrescoRoutedInputEvent, r as FrescoDeclaredSize, s as FrescoInputEventHandler, u as FrescoNodeLifecycleHooks } from "./accessibility-DY_alnTr.mjs";
3
+ import { $ as TextArea, A as ListProps, At as BreadcrumbProps, B as Form, Bt as _default$5, C as TreeNode, Ct as ScrollBoxItemSlot, D as TableProps, Dt as AlertType, E as TableColumn, Et as AlertProps, F as _default$2, Ft as Grid, G as RadioGroup, Gt as BoxProps, H as FormProps, Ht as StackProps, I as _default, It as GridProps, J as Checkbox, K as RadioGroupProps, L as ProgressBar, Lt as _default$18, M as Timer, Mt as HeaderProps, N as TimerMode, Nt as TooltipPosition, O as List, Ot as AvatarProps, P as TimerProps, Pt as TooltipProps, Q as SelectProps, R as ProgressBarProps, Rt as _default$6, S as Tree, St as ScrollBoxExposed, T as Table, Tt as _default$4, U as Confirm, Ut as _default$12, V as FormField, Vt as DividerProps, W as ConfirmProps, Wt as Box, X as Select, Y as CheckboxProps, Z as SelectOption, _ as Tabs, _t as TextProps, a as _default$7, at as CodeProps, b as MenuItem, bt as ScrollBarOrientation, c as StatusBarProps, ct as BadgeVariant, d as Step, dt as StaticProps, et as TextAreaProps, f as StepStatus, ft as _default$15, g as Tab, gt as Text, h as _default$3, ht as TransformProps, i as KeyHintProps, it as Code, j as _default$16, jt as CardProps, k as ListItem, kt as BreadcrumbItem, l as Modal, lt as LinkProps, m as StepperProps, mt as NewlineProps, n as KeyBinding, nt as TextInputProps, o as StatusBar, ot as _default$17, p as Stepper, pt as _default$9, q as RadioOption, r as KeyHint, rt as _default$8, s as StatusBarItem, st as BadgeProps, t as _default$1, tt as TextInput, u as ModalProps, ut as SpinnerProps, v as TabsProps, vt as _default$10, w as TreeProps, wt as ScrollBoxProps, x as MenuProps, xt as ScrollBarProps, y as Menu, yt as _default$11, z as _default$13, zt as _default$14 } from "./index-BjK3JSNo.mjs";
4
4
  import { a as createVirtualViewport, i as VirtualViewportRange, n as VirtualViewport, o as useVirtualViewport, r as VirtualViewportOptions, t as VirtualScrollAlignment } from "./useVirtualViewport-TxTapifg.mjs";
5
5
  import { A as KeyHandler, C as UseMouseOptions, D as usePaste, E as UsePasteOptions, M as UseInputReturn, N as useInput, O as InputHandler, P as useKeyPress, S as useIme, T as useMouse, _ as useStderr, a as DOMElement, b as ImeManager, c as UseAnimationOptions, d as useCursor, f as WindowSize, g as UseStdoutReturn, h as UseStdinReturn, i as useBoxMetrics, j as UseInputOptions, k as Key, l as useAnimation, m as UseStderrReturn, n as BoxMetrics, o as measureElement, p as useWindowSize, r as UseBoxMetricsResult, s as AnimationResult, t as useIsScreenReaderEnabled, u as CursorPosition, v as useStdin, w as UseMouseReturn, x as UseImeOptions, y as useStdout } from "./index-Dikou9bu.mjs";
6
6
  import { a as useFocus, i as UseFocusOptions, n as useApp, o as useFocusManager, r as FocusManager, t as UseAppReturn } from "./useApp-CVB2jNCO.mjs";
7
7
  import { _ as KittyFlagName, a as RenderMetrics, b as kittyModifiers, c as createApp, d as lastKeyEvent, f as lastMouseEvent, g as renderToString, h as render, i as RenderInstance, l as lastCompositionEvent, m as lastResizeEvent, n as AppOptions, o as RenderOptions, p as lastPasteEvent, r as Instance, s as RenderToStringOptions, t as App, u as lastFocusEvent, v as KittyKeyboardOptions, x as resolveKittyFlags, y as kittyFlags } from "./app-CKsTWQuP.mjs";
8
8
  import { FlexStyleNapi, ImeStateNapi, InputEventNapi, LayoutResultNapi, ModifiersNapi, RenderNodeNapi, StyleNapi, TerminalInfoNapi, TerminalOptionsNapi } from "@vizejs/fresco-native";
9
- export { _default as Alert, type AlertProps, type AlertType, type AnimationResult, type App, type AppOptions, _default$1 as Avatar, type AvatarProps, _default$2 as Badge, type BadgeProps, type BadgeVariant, Box, type BoxMetrics, type BoxProps, _default$3 as Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, _default$4 as Card, type CardProps, Checkbox, type CheckboxProps, Code, type CodeProps, type CompositionEvent, Confirm, type ConfirmProps, type CursorPosition, type DOMElement, Divider, type DividerProps, type FlexStyleNapi, type FocusEvent, type FocusManager, Form, type FormField, type FormProps, type FrescoAlignContent, type FrescoAlignItems, type FrescoAlignSelf, type FrescoAppearance, type FrescoBorderStyle, type FrescoBoxRenderNode, type FrescoCanonicalStyle, type FrescoDeclaredSize, type FrescoDimension, type FrescoDisplay, type FrescoFlexDirection, type FrescoFlexWrap, type FrescoHostNode, type FrescoInputEvent, type FrescoInputRenderNode, type FrescoJustifyContent, type FrescoModifiers, type FrescoMouseEventKind, type FrescoNodeLifecycleHooks, type FrescoNodeUpdateKind, type FrescoOverflow, type FrescoPosition, type FrescoRenderNode, type FrescoRenderNodeKind, type FrescoRenderStyle, type FrescoRendererOptions, type FrescoRootRenderNode, type FrescoSnakeStyleAliases, type FrescoStyle, type FrescoTextRenderNode, type FrescoTextWrapMode, Grid, type GridProps, HStack, _default$5 as Header, type HeaderProps, type ImeManager, type ImeStateNapi, type InputEvent, type InputEventNapi, type InputHandler, type Instance, type Key, type KeyBinding, type KeyEvent, type KeyEventType, type KeyHandler, KeyHint, type KeyHintProps, type KittyFlagName, type KittyKeyboardOptions, type LayoutResultNapi, _default$6 as Link, type LinkProps, List, type ListItem, type ListProps, Menu, type MenuItem, type MenuProps, Modal, type ModalProps, type ModifiersNapi, type MouseEvent, _default$7 as Newline, type NewlineProps, type PasteEvent, ProgressBar, type ProgressBarProps, RadioGroup, type RadioGroupProps, type RadioOption, type RenderInstance, type RenderMetrics, type RenderNodeNapi, type RenderOptions, type RenderToStringOptions, type ResizeEvent, _default$8 as ScrollBar, type ScrollBarOrientation, type ScrollBarProps, _default$9 as ScrollBox, type ScrollBoxExposed, type ScrollBoxItemSlot, type ScrollBoxProps, Select, type SelectOption, type SelectProps, _default$10 as Spacer, _default$11 as Spinner, type SpinnerProps, Stack, type StackProps, _default$12 as Static, type StaticProps, StatusBar, type StatusBarItem, type StatusBarProps, type Step, type StepStatus, Stepper, type StepperProps, type StyleNapi, type Tab, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TerminalInfoNapi, type TerminalOptionsNapi, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Timer, type TimerMode, type TimerProps, _default$13 as Tooltip, type TooltipPosition, type TooltipProps, _default$14 as Transform, type TransformProps, Tree, type TreeNode, type TreeProps, type UseAnimationOptions, type UseAppReturn, type UseBoxMetricsResult, type UseFocusOptions, type UseImeOptions, type UseInputOptions, type UseInputReturn, type UseMouseOptions, type UseMouseReturn, type UsePasteOptions, type UseStderrReturn, type UseStdinReturn, type UseStdoutReturn, VStack, type VirtualScrollAlignment, type VirtualViewport, type VirtualViewportOptions, type VirtualViewportRange, type WindowSize, createApp, createRenderer, createVirtualViewport, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, useMouse, usePaste, useStderr, useStdin, useStdout, useVirtualViewport, useWindowSize };
9
+ export { _default as Alert, type AlertProps, type AlertType, type AnimationResult, type App, type AppOptions, _default$1 as Avatar, type AvatarProps, _default$2 as Badge, type BadgeProps, type BadgeVariant, Box, type BoxMetrics, type BoxProps, _default$3 as Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, _default$4 as Card, type CardProps, Checkbox, type CheckboxProps, Code, type CodeProps, type CompositionEvent, Confirm, type ConfirmProps, type CursorPosition, type DOMElement, _default$5 as Divider, type DividerProps, type FlexStyleNapi, type FocusEvent, type FocusManager, Form, type FormField, type FormProps, type FrescoAlignContent, type FrescoAlignItems, type FrescoAlignSelf, type FrescoAppearance, type FrescoBorderStyle, type FrescoBoxRenderNode, type FrescoCanonicalStyle, type FrescoDeclaredSize, type FrescoDimension, type FrescoDisplay, type FrescoFlexDirection, type FrescoFlexWrap, type FrescoHostNode, type FrescoInputDispatchResult, type FrescoInputEvent, type FrescoInputEventHandler, type FrescoInputEventPhase, type FrescoInputRenderNode, type FrescoJustifyContent, type FrescoModifiers, type FrescoMouseEventKind, type FrescoNodeLifecycleHooks, type FrescoNodeUpdateKind, type FrescoOverflow, type FrescoPosition, type FrescoRenderNode, type FrescoRenderNodeKind, type FrescoRenderStyle, type FrescoRendererOptions, type FrescoRootRenderNode, type FrescoRoutedInputEvent, type FrescoSnakeStyleAliases, type FrescoStyle, type FrescoTextRenderNode, type FrescoTextWrapMode, Grid, type GridProps, _default$6 as HStack, _default$7 as Header, type HeaderProps, type ImeManager, type ImeStateNapi, type InputEvent, type InputEventNapi, type InputHandler, type Instance, type Key, type KeyBinding, type KeyEvent, type KeyEventType, type KeyHandler, KeyHint, type KeyHintProps, type KittyFlagName, type KittyKeyboardOptions, type LayoutResultNapi, _default$8 as Link, type LinkProps, List, type ListItem, type ListProps, Menu, type MenuItem, type MenuProps, Modal, type ModalProps, type ModifiersNapi, type MouseEvent, _default$9 as Newline, type NewlineProps, type PasteEvent, ProgressBar, type ProgressBarProps, RadioGroup, type RadioGroupProps, type RadioOption, type RenderInstance, type RenderMetrics, type RenderNodeNapi, type RenderOptions, type RenderToStringOptions, type ResizeEvent, _default$10 as ScrollBar, type ScrollBarOrientation, type ScrollBarProps, _default$11 as ScrollBox, type ScrollBoxExposed, type ScrollBoxItemSlot, type ScrollBoxProps, Select, type SelectOption, type SelectProps, _default$12 as Spacer, _default$13 as Spinner, type SpinnerProps, _default$14 as Stack, type StackProps, _default$15 as Static, type StaticProps, StatusBar, type StatusBarItem, type StatusBarProps, type Step, type StepStatus, Stepper, type StepperProps, type StyleNapi, type Tab, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TerminalInfoNapi, type TerminalOptionsNapi, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Timer, type TimerMode, type TimerProps, _default$16 as Tooltip, type TooltipPosition, type TooltipProps, _default$17 as Transform, type TransformProps, Tree, type TreeNode, type TreeProps, type UseAnimationOptions, type UseAppReturn, type UseBoxMetricsResult, type UseFocusOptions, type UseImeOptions, type UseInputOptions, type UseInputReturn, type UseMouseOptions, type UseMouseReturn, type UsePasteOptions, type UseStderrReturn, type UseStdinReturn, type UseStdoutReturn, _default$18 as VStack, type VirtualScrollAlignment, type VirtualViewport, type VirtualViewportOptions, type VirtualViewportRange, type WindowSize, createApp, createRenderer, createVirtualViewport, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, useMouse, usePaste, useStderr, useStdin, useStdout, useVirtualViewport, useWindowSize };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { C as useStdin, M as useApp, O as useFocus, S as useStderr, a as lastMouseEvent, c as render, f as createRenderer, h as measureElement, i as lastKeyEvent, k as useFocusManager, l as renderToString, n as lastCompositionEvent, o as lastPasteEvent, r as lastFocusEvent, s as lastResizeEvent, t as createApp, w as useStdout, y as useCursor } from "./app-CIX6NAW-.mjs";
2
- import { a as useKeyPress, i as useInput, n as useVirtualViewport, o as usePaste, r as useMouse, s as useIsScreenReaderEnabled, t as createVirtualViewport } from "./useVirtualViewport-pPZWmwUC.mjs";
3
- import { A as FrescoNewline_default, B as FrescoSpacer_default, C as Select, D as Code, E as FrescoLink_default, F as Grid, I as HStack, L as Stack, M as ScrollBar_default, N as Text, O as FrescoTransform_default, P as FrescoCard_default, R as VStack, S as Checkbox, T as TextInput, V as Box, _ as ProgressBar, a as Modal, b as Confirm, c as Tabs, d as Table, f as List, g as FrescoAlert_default, h as FrescoBadge_default, i as StatusBar, j as ScrollBox_default, k as FrescoStatic_default, l as Menu, m as Timer, n as KeyHint, o as Stepper, p as FrescoTooltip_default, r as FrescoHeader_default, s as FrescoBreadcrumb_default, t as FrescoAvatar_default, u as Tree, v as FrescoSpinner_default, w as TextArea, x as RadioGroup, y as Form, z as Divider } from "./components-D9SeB0Be.mjs";
4
- import { i as useIme, n as useAnimation, r as useWindowSize, t as useBoxMetrics } from "./composables-DbJGVNSG.mjs";
1
+ import { C as useStdin, M as useApp, O as useFocus, S as useStderr, a as lastMouseEvent, c as render, f as createRenderer, h as measureElement, i as lastKeyEvent, k as useFocusManager, l as renderToString, n as lastCompositionEvent, o as lastPasteEvent, r as lastFocusEvent, s as lastResizeEvent, t as createApp, w as useStdout, y as useCursor } from "./app-B9yJzz5S.mjs";
2
+ import { a as useKeyPress, i as useInput, n as useVirtualViewport, o as usePaste, r as useMouse, s as useIsScreenReaderEnabled, t as createVirtualViewport } from "./useVirtualViewport-DYuUlTxU.mjs";
3
+ import { A as FrescoNewline_default, B as FrescoSpacer_default, C as Select, D as Code, E as FrescoLink_default, F as Grid, I as FrescoVStack_default, L as FrescoHStack_default, M as ScrollBar_default, N as Text, O as FrescoTransform_default, P as FrescoCard_default, R as FrescoStack_default, S as Checkbox, T as TextInput, V as Box, _ as ProgressBar, a as Modal, b as Confirm, c as Tabs, d as Table, f as List, g as FrescoAlert_default, h as FrescoBadge_default, i as StatusBar, j as ScrollBox_default, k as FrescoStatic_default, l as Menu, m as Timer, n as KeyHint, o as Stepper, p as FrescoTooltip_default, r as FrescoHeader_default, s as FrescoBreadcrumb_default, t as FrescoAvatar_default, u as Tree, v as FrescoSpinner_default, w as TextArea, x as RadioGroup, y as Form, z as FrescoDivider_default } from "./components-C57eT1BL.mjs";
4
+ import { i as useIme, n as useAnimation, r as useWindowSize, t as useBoxMetrics } from "./composables-uj7hkBfP.mjs";
5
5
  //#region src/kittyKeyboard.ts
6
6
  /**
7
7
  * Kitty keyboard protocol constants compatible with Ink.
@@ -30,6 +30,6 @@ const kittyModifiers = {
30
30
  numLock: 128
31
31
  };
32
32
  //#endregion
33
- export { FrescoAlert_default as Alert, FrescoAvatar_default as Avatar, FrescoBadge_default as Badge, Box, FrescoBreadcrumb_default as Breadcrumb, FrescoCard_default as Card, Checkbox, Code, Confirm, Divider, Form, Grid, HStack, FrescoHeader_default as Header, KeyHint, FrescoLink_default as Link, List, Menu, Modal, FrescoNewline_default as Newline, ProgressBar, RadioGroup, ScrollBar_default as ScrollBar, ScrollBox_default as ScrollBox, Select, FrescoSpacer_default as Spacer, FrescoSpinner_default as Spinner, Stack, FrescoStatic_default as Static, StatusBar, Stepper, Table, Tabs, Text, TextArea, TextInput, Timer, FrescoTooltip_default as Tooltip, FrescoTransform_default as Transform, Tree, VStack, createApp, createRenderer, createVirtualViewport, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, useMouse, usePaste, useStderr, useStdin, useStdout, useVirtualViewport, useWindowSize };
33
+ export { FrescoAlert_default as Alert, FrescoAvatar_default as Avatar, FrescoBadge_default as Badge, Box, FrescoBreadcrumb_default as Breadcrumb, FrescoCard_default as Card, Checkbox, Code, Confirm, FrescoDivider_default as Divider, Form, Grid, FrescoHStack_default as HStack, FrescoHeader_default as Header, KeyHint, FrescoLink_default as Link, List, Menu, Modal, FrescoNewline_default as Newline, ProgressBar, RadioGroup, ScrollBar_default as ScrollBar, ScrollBox_default as ScrollBox, Select, FrescoSpacer_default as Spacer, FrescoSpinner_default as Spinner, FrescoStack_default as Stack, FrescoStatic_default as Static, StatusBar, Stepper, Table, Tabs, Text, TextArea, TextInput, Timer, FrescoTooltip_default as Tooltip, FrescoTransform_default as Transform, Tree, FrescoVStack_default as VStack, createApp, createRenderer, createVirtualViewport, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, useMouse, usePaste, useStderr, useStdin, useStdout, useVirtualViewport, useWindowSize };
34
34
 
35
35
  //# sourceMappingURL=index.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { A as KeyEvent, M as MouseEvent, x as FrescoRenderNode } from "../protocol-D8xt3DG7.mjs";
2
- import { i as FrescoElement, n as AriaState, o as FrescoNode, s as FrescoNodeLifecycleHooks, t as AriaRole, u as createRenderer$1 } from "../accessibility-OEhyYUxd.mjs";
2
+ import { i as FrescoElement, l as FrescoNode, m as createRenderer$1, n as AriaState, t as AriaRole, u as FrescoNodeLifecycleHooks } from "../accessibility-DY_alnTr.mjs";
3
3
  import { r as FocusManager, t as UseAppReturn } from "../useApp-CVB2jNCO.mjs";
4
4
  import { App, Component, Ref, VNodeChild } from "vue";
5
5
 
@@ -1,4 +1,4 @@
1
- import { A as APP_KEY, D as createFocusManager, E as FOCUS_KEY, N as SCREEN_READER_KEY, _ as CURSOR_KEY, a as lastMouseEvent, b as STREAMS_KEY, d as isStaticNode, f as createRenderer$1, i as lastKeyEvent, j as createAppContext, n as lastCompositionEvent, o as lastPasteEvent, p as treeToRenderNodes, r as lastFocusEvent, s as lastResizeEvent, u as isStaticItemNode, v as createCursorContext, x as createStreamsContext } from "../app-CIX6NAW-.mjs";
1
+ import { A as APP_KEY, D as createFocusManager, E as FOCUS_KEY, N as SCREEN_READER_KEY, _ as CURSOR_KEY, a as lastMouseEvent, b as STREAMS_KEY, d as isStaticNode, f as createRenderer$1, i as lastKeyEvent, j as createAppContext, n as lastCompositionEvent, o as lastPasteEvent, p as treeToRenderNodes, r as lastFocusEvent, s as lastResizeEvent, u as isStaticItemNode, v as createCursorContext, x as createStreamsContext } from "../app-B9yJzz5S.mjs";
2
2
  import { h, nextTick, ref } from "vue";
3
3
  //#region src/testing/mount.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { N as SCREEN_READER_KEY, P as isScreenReaderEnabledByDefault, T as useStreamsContext, a as lastMouseEvent, i as lastKeyEvent, n as lastCompositionEvent, o as lastPasteEvent } from "./app-CIX6NAW-.mjs";
1
+ import { N as SCREEN_READER_KEY, P as isScreenReaderEnabledByDefault, T as useStreamsContext, a as lastMouseEvent, i as lastKeyEvent, n as lastCompositionEvent, o as lastPasteEvent } from "./app-B9yJzz5S.mjs";
2
2
  import { computed, inject, isRef, onUnmounted, ref, watch } from "vue";
3
3
  //#region src/composables/useIsScreenReaderEnabled.ts
4
4
  /**
@@ -325,4 +325,4 @@ const useVirtualViewport = createVirtualViewport;
325
325
  //#endregion
326
326
  export { useKeyPress as a, useInput as i, useVirtualViewport as n, usePaste as o, useMouse as r, useIsScreenReaderEnabled as s, createVirtualViewport as t };
327
327
 
328
- //# sourceMappingURL=useVirtualViewport-pPZWmwUC.mjs.map
328
+ //# sourceMappingURL=useVirtualViewport-DYuUlTxU.mjs.map