@vizejs/fresco 0.712.0 → 0.714.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.
Files changed (36) hide show
  1. package/dist/accessibility-D1R9HiTE.d.mts +40 -0
  2. package/dist/accessibility-D1R9HiTE.d.mts.map +1 -0
  3. package/dist/{app-D1EmYPR5.mjs → app-DoXcF_Dn.mjs} +23 -8
  4. package/dist/app-DoXcF_Dn.mjs.map +1 -0
  5. package/dist/{app-BnHjO4sM.d.mts → app-adHHi99c.d.mts} +2 -2
  6. package/dist/{app-BnHjO4sM.d.mts.map → app-adHHi99c.d.mts.map} +1 -1
  7. package/dist/components/index.d.mts +2 -2
  8. package/dist/components/index.mjs +2 -2
  9. package/dist/{components-CqGU-NNE.mjs → components-DWIDBGTL.mjs} +299 -4
  10. package/dist/components-DWIDBGTL.mjs.map +1 -0
  11. package/dist/composables/index.d.mts +3 -2
  12. package/dist/composables/index.mjs +4 -4
  13. package/dist/{composables-CZLZwicA.mjs → composables-b_R5s4QQ.mjs} +3 -3
  14. package/dist/{composables-CZLZwicA.mjs.map → composables-b_R5s4QQ.mjs.map} +1 -1
  15. package/dist/{index-DqiuvriA.d.mts → index-B-asCcvK.d.mts} +20 -2
  16. package/dist/index-B-asCcvK.d.mts.map +1 -0
  17. package/dist/{index-DHSs5acI.d.mts → index-Ck5VFXgP.d.mts} +103 -34
  18. package/dist/index-Ck5VFXgP.d.mts.map +1 -0
  19. package/dist/index.d.mts +7 -5
  20. package/dist/index.mjs +5 -5
  21. package/dist/{accessibility-CsJ09kle.d.mts → protocol--xy80nuC.d.mts} +5 -25
  22. package/dist/protocol--xy80nuC.d.mts.map +1 -0
  23. package/dist/testing/index.d.mts +2 -1
  24. package/dist/testing/index.d.mts.map +1 -1
  25. package/dist/testing/index.mjs +1 -1
  26. package/dist/{useInput-BmjmkjZ9.mjs → useVirtualViewport-CcJuIc7U.mjs} +113 -4
  27. package/dist/useVirtualViewport-CcJuIc7U.mjs.map +1 -0
  28. package/dist/useVirtualViewport-TxTapifg.d.mts +49 -0
  29. package/dist/useVirtualViewport-TxTapifg.d.mts.map +1 -0
  30. package/package.json +11 -6
  31. package/dist/accessibility-CsJ09kle.d.mts.map +0 -1
  32. package/dist/app-D1EmYPR5.mjs.map +0 -1
  33. package/dist/components-CqGU-NNE.mjs.map +0 -1
  34. package/dist/index-DHSs5acI.d.mts.map +0 -1
  35. package/dist/index-DqiuvriA.d.mts.map +0 -1
  36. package/dist/useInput-BmjmkjZ9.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"composables-CZLZwicA.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,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,MAAM,SAAyB,KAAK,OAAO,EAAE;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
+ {"version":3,"file":"composables-b_R5s4QQ.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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,QAAQ,OAAO;GACf,QAAQ,MAAM;GACd,QAAQ,cAAc;GACtB;EACF;EAEA,WAAgB,EACb,MAAM,WAAW;GAChB,MAAM,UAAU,0BAA0B,SAAS,OAAO,qBAAqB,IAAI,CAAC;GACpF,wBAAwB,OAAO;GAC/B,MAAM,SAAS,QAAQ,MAAM,SAAyB,KAAK,OAAO,EAAE;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,3 +1,4 @@
1
+ import { M as MouseEvent } from "./protocol--xy80nuC.mjs";
1
2
  import { Ref } from "vue";
2
3
  //#region src/composables/useInput.d.ts
3
4
  interface Key {
@@ -88,6 +89,23 @@ declare function usePaste(handler: (text: string) => void, options?: UsePasteOpt
88
89
  disable: () => void;
89
90
  };
90
91
  //#endregion
92
+ //#region src/composables/useMouse.d.ts
93
+ interface UseMouseOptions {
94
+ /** Whether the handler receives events. */
95
+ isActive?: boolean | Readonly<Ref<boolean>>;
96
+ }
97
+ interface UseMouseReturn {
98
+ isActive: Readonly<Ref<boolean>>;
99
+ /** Start delivering normalized mouse events. */
100
+ enable: () => void;
101
+ /** Stop delivering normalized mouse events. */
102
+ disable: () => void;
103
+ /** Unsubscribe the handler from the shared mouse event stream. */
104
+ stop: () => void;
105
+ }
106
+ /** Subscribe to normalized mouse actions, including wheel direction. */
107
+ declare function useMouse(handler: (event: MouseEvent) => void, options?: UseMouseOptions): UseMouseReturn;
108
+ //#endregion
91
109
  //#region src/composables/useIme.d.ts
92
110
  interface UseImeOptions {
93
111
  /** Initial IME mode */
@@ -228,5 +246,5 @@ declare function useBoxMetrics(ref: Ref<MetricTarget | null>): UseBoxMetricsResu
228
246
  */
229
247
  declare function useIsScreenReaderEnabled(): boolean;
230
248
  //#endregion
231
- export { useInput as A, UsePasteOptions as C, KeyHandler as D, Key as E, UseInputOptions as O, useIme as S, InputHandler as T, useStderr as _, DOMElement as a, ImeManager as b, UseAnimationOptions as c, useCursor as d, WindowSize as f, UseStdoutReturn as g, UseStdinReturn as h, useBoxMetrics as i, useKeyPress as j, UseInputReturn as k, useAnimation as l, UseStderrReturn as m, BoxMetrics as n, measureElement as o, useWindowSize as p, UseBoxMetricsResult as r, AnimationResult as s, useIsScreenReaderEnabled as t, CursorPosition as u, useStdin as v, usePaste as w, UseImeOptions as x, useStdout as y };
232
- //# sourceMappingURL=index-DqiuvriA.d.mts.map
249
+ export { KeyHandler as A, UseMouseOptions as C, usePaste as D, UsePasteOptions as E, UseInputReturn as M, useInput as N, InputHandler as O, useKeyPress as P, useIme as S, useMouse as T, useStderr as _, DOMElement as a, ImeManager as b, UseAnimationOptions as c, useCursor as d, WindowSize as f, UseStdoutReturn as g, UseStdinReturn as h, useBoxMetrics as i, UseInputOptions as j, Key as k, useAnimation as l, UseStderrReturn as m, BoxMetrics as n, measureElement as o, useWindowSize as p, UseBoxMetricsResult as r, AnimationResult as s, useIsScreenReaderEnabled as t, CursorPosition as u, useStdin as v, UseMouseReturn as w, UseImeOptions as x, useStdout as y };
250
+ //# sourceMappingURL=index-B-asCcvK.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-B-asCcvK.d.mts","names":[],"sources":["../src/composables/useInput.ts","../src/composables/usePaste.ts","../src/composables/useMouse.ts","../src/composables/useIme.ts","../src/composables/useStreams.ts","../src/composables/useWindowSize.ts","../src/composables/useCursor.ts","../src/composables/useAnimation.ts","../src/layoutMetrics.ts","../src/composables/useBoxMetrics.ts","../src/composables/useIsScreenReaderEnabled.ts"],"mappings":";;;UASiB,GAAA;EACf,OAAA;EACA,SAAA;EACA,SAAA;EACA,UAAA;EACA,QAAA;EACA,MAAA;EACA,IAAA;EACA,GAAA;EACA,MAAA;EACA,MAAA;EACA,IAAA;EACA,KAAA;EACA,GAAA;EACA,SAAA;EACA,MAAA;EACA,IAAA;EACA,KAAA;EACA,KAAA;EACA,QAAA;EACA,OAAA;EACA,SAAA;AAAA;AAAA,UAGe,UAAA;EAAA,CACd,GAAA,UAAa,SAAA;IAAa,IAAA;IAAe,GAAA;IAAc,KAAA;IAAgB,IAAA;EAAA;AAAA;AAAA,UAGzD,eAAA;;EAEf,MAAA,aAAmB,GAAA;EALlB;EAOD,QAAA,aAAqB,GAAA;EAPqB;EAS1C,OAAA,IAAW,KAAA,UAAe,GAAA,EAAK,GAAA;EATyC;EAWxE,KAAA,GAAQ,UAAA;EAX+E;EAavF,MAAA,IAAU,IAAA;EAVK;EAYf,QAAA;;EAEA,QAAA;EAVqB;EAYrB,OAAA,IAAW,SAAA;EARH;EAUR,kBAAA;EAVkB;EAYlB,mBAAA,IAAuB,IAAA,UAAc,MAAA;EAlBlB;EAoBnB,gBAAA,IAAoB,IAAA;AAAA;AAAA,UAGL,cAAA;EACf,QAAA,EAAU,GAAA;EACV,OAAA,EAAS,GAAG;EACZ,MAAA;EACA,OAAA;AAAA;AAAA,KAGU,YAAA,IAAgB,KAAA,UAAe,GAAA,EAAK,GAAG;AAAA,UAElC,sBAAA;EACf,QAAA,aAAqB,GAAG;AAAA;AAAA,iBAwGV,QAAA,CAAS,OAAA,EAAS,YAAA,EAAc,OAAA,GAAU,sBAAA,GAAyB,cAAA;AAAA,iBACnE,QAAA,CAAS,OAAA,GAAU,eAAA,GAAkB,cAAc;;;;iB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as FrescoCanonicalStyle, n as AriaState, t as AriaRole } from "./accessibility-CsJ09kle.mjs";
1
+ import { E as FrescoStyle, l as FrescoCanonicalStyle, o as FrescoAppearance, s as FrescoBorderStyle, u as FrescoDimension } from "./protocol--xy80nuC.mjs";
2
+ import { n as AriaState, t as AriaRole } from "./accessibility-D1R9HiTE.mjs";
3
+ import { i as VirtualViewportRange, t as VirtualScrollAlignment } from "./useVirtualViewport-TxTapifg.mjs";
2
4
  import { PropType, VNode } from "vue";
3
5
 
4
6
  //#region src/components/Box.d.ts
@@ -322,10 +324,10 @@ declare const Stack: import("vue").DefineComponent<import("vue").ExtractPropType
322
324
  };
323
325
  }>> & Readonly<{}>, {
324
326
  direction: "horizontal" | "vertical";
327
+ wrap: boolean;
328
+ gap: number;
325
329
  align: "center" | "start" | "end" | "stretch" | undefined;
326
330
  justify: "center" | "start" | "end" | "between" | "around" | "evenly" | undefined;
327
- gap: number;
328
- wrap: boolean;
329
331
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
330
332
  declare const HStack: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
331
333
  gap: {
@@ -465,10 +467,77 @@ declare const Card: import("vue").DefineComponent<import("vue").ExtractPropTypes
465
467
  bg: StringConstructor;
466
468
  }>> & Readonly<{}>, {
467
469
  titleFg: string;
468
- border: "none" | "single" | "double" | "rounded" | "heavy" | undefined;
470
+ border: "single" | "double" | "rounded" | "heavy" | "none" | undefined;
469
471
  padding: number;
470
472
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
471
473
  //#endregion
474
+ //#region src/components/scroll-types.d.ts
475
+ /** Slot state exposed for one retained ScrollBox item. */
476
+ interface ScrollBoxItemSlot extends VirtualViewportRange {
477
+ index: number;
478
+ visible: boolean;
479
+ }
480
+ /** Public ScrollBox props for a bounded vertical viewport. */
481
+ interface ScrollBoxProps {
482
+ itemCount: number;
483
+ viewportSize: number;
484
+ modelValue?: number;
485
+ overscan?: number;
486
+ focused?: boolean;
487
+ disabled?: boolean;
488
+ wheelStep?: number;
489
+ showScrollbar?: boolean;
490
+ followOutput?: boolean;
491
+ scrollbarTrack?: string;
492
+ scrollbarThumb?: string;
493
+ }
494
+ /** Imperative methods exposed through a ScrollBox template ref. */
495
+ interface ScrollBoxExposed {
496
+ scrollTo(offset: number): boolean;
497
+ scrollBy(delta: number): boolean;
498
+ scrollIntoView(index: number, alignment?: VirtualScrollAlignment): boolean;
499
+ range(): VirtualViewportRange;
500
+ }
501
+ /** ScrollBar layout axis. */
502
+ type ScrollBarOrientation = "vertical" | "horizontal";
503
+ /** Public ScrollBar props for a bounded viewport indicator. */
504
+ interface ScrollBarProps {
505
+ itemCount: number;
506
+ viewportSize: number;
507
+ offset: number;
508
+ length?: number;
509
+ orientation?: ScrollBarOrientation;
510
+ track?: string;
511
+ thumb?: string;
512
+ fg?: string;
513
+ thumbFg?: string;
514
+ }
515
+ //#endregion
516
+ //#region src/components/ScrollBox.vue.d.ts
517
+ type __VLS_Slots = {
518
+ /** Rows retained by the virtual viewport. */default(props: ScrollBoxItemSlot): unknown; /** Content kept mounted before the viewport. */
519
+ start(): unknown; /** Content kept mounted after the viewport. */
520
+ end(): unknown;
521
+ };
522
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<ScrollBoxProps, ScrollBoxExposed, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
523
+ scroll: (range: VirtualViewportRange) => any;
524
+ "update:modelValue": (offset: number) => any;
525
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<ScrollBoxProps> & Readonly<{
526
+ onScroll?: ((range: VirtualViewportRange) => any) | undefined;
527
+ "onUpdate:modelValue"?: ((offset: number) => any) | undefined;
528
+ }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
529
+ declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
530
+ declare const _default$1: typeof __VLS_export$1;
531
+ type __VLS_WithSlots<T, S> = T & {
532
+ new (): {
533
+ $slots: S;
534
+ };
535
+ }; //# sourceMappingURL=ScrollBox.vue.d.ts.map
536
+ //#endregion
537
+ //#region src/components/ScrollBar.vue.d.ts
538
+ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<ScrollBarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ScrollBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
539
+ declare const _default: typeof __VLS_export;
540
+ //#endregion
472
541
  //#region src/components/Text.d.ts
473
542
  type TextWrap = boolean | "wrap" | "hard" | "truncate" | "truncate-start" | "truncate-middle" | "truncate-end" | "end" | "middle";
474
543
  interface TextProps extends FrescoAppearance {
@@ -527,13 +596,13 @@ declare const Text: import("vue").DefineComponent<import("vue").ExtractPropTypes
527
596
  ariaHidden: BooleanConstructor;
528
597
  }>> & Readonly<{}>, {
529
598
  bold: boolean;
530
- blink: boolean;
531
599
  hidden: boolean;
532
600
  ariaHidden: boolean;
601
+ blink: boolean;
533
602
  dim: boolean;
603
+ underline: boolean;
534
604
  dimColor: boolean;
535
605
  italic: boolean;
536
- underline: boolean;
537
606
  strikethrough: boolean;
538
607
  inverse: boolean;
539
608
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -705,7 +774,7 @@ declare const Code: import("vue").DefineComponent<import("vue").ExtractPropTypes
705
774
  };
706
775
  }>> & Readonly<{}>, {
707
776
  fg: string;
708
- border: "none" | "single" | "double" | "rounded" | undefined;
777
+ border: "single" | "double" | "rounded" | "none" | undefined;
709
778
  lineNumbers: boolean;
710
779
  startLine: number;
711
780
  highlightLines: number[];
@@ -838,7 +907,7 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
838
907
  bg: StringConstructor;
839
908
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
840
909
  [key: string]: any;
841
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend")[], "update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
910
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend")[], "update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
842
911
  modelValue: {
843
912
  type: StringConstructor;
844
913
  default: string;
@@ -868,15 +937,15 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
868
937
  bg: StringConstructor;
869
938
  }>> & Readonly<{
870
939
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
871
- onCancel?: ((...args: any[]) => any) | undefined;
872
940
  onSubmit?: ((...args: any[]) => any) | undefined;
941
+ onCancel?: ((...args: any[]) => any) | undefined;
873
942
  onCompositionstart?: ((...args: any[]) => any) | undefined;
874
943
  onCompositionupdate?: ((...args: any[]) => any) | undefined;
875
944
  onCompositionend?: ((...args: any[]) => any) | undefined;
876
945
  }>, {
877
946
  modelValue: string;
878
- focused: boolean;
879
947
  placeholder: string;
948
+ focused: boolean;
880
949
  focus: boolean;
881
950
  mask: boolean;
882
951
  maskChar: string;
@@ -1000,10 +1069,10 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
1000
1069
  }>> & Readonly<{
1001
1070
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1002
1071
  }>, {
1003
- border: "none" | "single" | "double" | "rounded" | undefined;
1004
- disabled: boolean;
1072
+ border: "single" | "double" | "rounded" | "none" | undefined;
1005
1073
  modelValue: string;
1006
1074
  focused: boolean;
1075
+ disabled: boolean;
1007
1076
  lineNumbers: boolean;
1008
1077
  lineNumberFg: string;
1009
1078
  rows: number;
@@ -1101,14 +1170,14 @@ declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTyp
1101
1170
  };
1102
1171
  selectedBg: StringConstructor;
1103
1172
  }>> & Readonly<{
1104
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1105
1173
  onSelect?: ((...args: any[]) => any) | undefined;
1174
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1106
1175
  }>, {
1107
- focused: boolean;
1108
- selectedFg: string;
1109
1176
  placeholder: string;
1177
+ focused: boolean;
1110
1178
  indicator: string;
1111
1179
  indicatorEmpty: string;
1180
+ selectedFg: string;
1112
1181
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1113
1182
  //#endregion
1114
1183
  //#region src/components/Checkbox.d.ts
@@ -1193,10 +1262,10 @@ declare const Checkbox: import("vue").DefineComponent<import("vue").ExtractPropT
1193
1262
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1194
1263
  onChange?: ((...args: any[]) => any) | undefined;
1195
1264
  }>, {
1196
- checked: string;
1197
- disabled: boolean;
1198
1265
  modelValue: boolean;
1199
1266
  focused: boolean;
1267
+ disabled: boolean;
1268
+ checked: string;
1200
1269
  unchecked: string;
1201
1270
  checkedFg: string;
1202
1271
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1280,9 +1349,9 @@ declare const RadioGroup: import("vue").DefineComponent<import("vue").ExtractPro
1280
1349
  onChange?: ((...args: any[]) => any) | undefined;
1281
1350
  }>, {
1282
1351
  direction: "horizontal" | "vertical";
1352
+ selectedFg: string;
1283
1353
  selected: string;
1284
1354
  unselected: string;
1285
- selectedFg: string;
1286
1355
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1287
1356
  //#endregion
1288
1357
  //#region src/components/Confirm.d.ts
@@ -1336,7 +1405,7 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
1336
1405
  };
1337
1406
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1338
1407
  [key: string]: any;
1339
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel" | "select")[], "confirm" | "cancel" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1408
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "confirm")[], "select" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1340
1409
  message: {
1341
1410
  type: StringConstructor;
1342
1411
  required: true;
@@ -1366,9 +1435,9 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
1366
1435
  default: string;
1367
1436
  };
1368
1437
  }>> & Readonly<{
1369
- onConfirm?: ((...args: any[]) => any) | undefined;
1370
- onCancel?: ((...args: any[]) => any) | undefined;
1371
1438
  onSelect?: ((...args: any[]) => any) | undefined;
1439
+ onCancel?: ((...args: any[]) => any) | undefined;
1440
+ onConfirm?: ((...args: any[]) => any) | undefined;
1372
1441
  }>, {
1373
1442
  selectedFg: string;
1374
1443
  confirmText: string;
@@ -1700,7 +1769,7 @@ declare const Alert: import("vue").DefineComponent<import("vue").ExtractPropType
1700
1769
  };
1701
1770
  }>> & Readonly<{}>, {
1702
1771
  type: AlertType;
1703
- border: "none" | "single" | "double" | "rounded" | undefined;
1772
+ border: "single" | "double" | "rounded" | "none" | undefined;
1704
1773
  showIcon: boolean;
1705
1774
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1706
1775
  //#endregion
@@ -1847,8 +1916,8 @@ declare const Timer: import("vue").DefineComponent<import("vue").ExtractPropType
1847
1916
  onTick?: ((...args: any[]) => any) | undefined;
1848
1917
  onComplete?: ((...args: any[]) => any) | undefined;
1849
1918
  }>, {
1850
- mode: TimerMode;
1851
1919
  fg: string;
1920
+ mode: TimerMode;
1852
1921
  initialSeconds: number;
1853
1922
  autoStart: boolean;
1854
1923
  showHours: boolean;
@@ -1927,10 +1996,10 @@ declare const Tooltip: import("vue").DefineComponent<import("vue").ExtractPropTy
1927
1996
  };
1928
1997
  }>> & Readonly<{}>, {
1929
1998
  fg: string;
1999
+ border: "single" | "rounded" | "none" | undefined;
2000
+ bg: string;
1930
2001
  position: TooltipPosition;
1931
2002
  visible: boolean;
1932
- border: "none" | "single" | "rounded" | undefined;
1933
- bg: string;
1934
2003
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1935
2004
  //#endregion
1936
2005
  //#region src/components/List.d.ts
@@ -2012,13 +2081,13 @@ declare const List: import("vue").DefineComponent<import("vue").ExtractPropTypes
2012
2081
  };
2013
2082
  selectedBg: StringConstructor;
2014
2083
  }>> & Readonly<{
2015
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2016
2084
  onSelect?: ((...args: any[]) => any) | undefined;
2085
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2017
2086
  }>, {
2018
2087
  focused: boolean;
2019
- selectedFg: string;
2020
2088
  indicator: string;
2021
2089
  indicatorEmpty: string;
2090
+ selectedFg: string;
2022
2091
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2023
2092
  //#endregion
2024
2093
  //#region src/components/Table.d.ts
@@ -2111,7 +2180,7 @@ declare const Table: import("vue").DefineComponent<import("vue").ExtractPropType
2111
2180
  default: number;
2112
2181
  };
2113
2182
  }>> & Readonly<{}>, {
2114
- border: "none" | "single" | "double" | "rounded" | undefined;
2183
+ border: "single" | "double" | "rounded" | "none" | undefined;
2115
2184
  showHeader: boolean;
2116
2185
  headerFg: string;
2117
2186
  cellPadding: number;
@@ -2223,8 +2292,8 @@ declare const Tree: import("vue").DefineComponent<import("vue").ExtractPropTypes
2223
2292
  onSelect?: ((...args: any[]) => any) | undefined;
2224
2293
  onToggle?: ((...args: any[]) => any) | undefined;
2225
2294
  }>, {
2226
- expanded: string[];
2227
2295
  selectedFg: string;
2296
+ expanded: string[];
2228
2297
  showLines: boolean;
2229
2298
  indent: number;
2230
2299
  expandedIcon: string;
@@ -2318,7 +2387,7 @@ declare const Menu: import("vue").DefineComponent<import("vue").ExtractPropTypes
2318
2387
  }>> & Readonly<{
2319
2388
  onSelect?: ((...args: any[]) => any) | undefined;
2320
2389
  }>, {
2321
- border: "none" | "single" | "double" | "rounded" | undefined;
2390
+ border: "single" | "double" | "rounded" | "none" | undefined;
2322
2391
  focusedIndex: number;
2323
2392
  focusedFg: string;
2324
2393
  focusedBg: string;
@@ -2680,8 +2749,8 @@ declare const Modal: import("vue").DefineComponent<import("vue").ExtractPropType
2680
2749
  width: string | number;
2681
2750
  height: string | number;
2682
2751
  titleFg: string;
2683
- visible: boolean;
2684
2752
  border: "single" | "double" | "rounded" | "heavy" | undefined;
2753
+ visible: boolean;
2685
2754
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2686
2755
  //#endregion
2687
2756
  //#region src/components/StatusBar.d.ts
@@ -2958,10 +3027,10 @@ declare const Avatar: import("vue").DefineComponent<import("vue").ExtractPropTyp
2958
3027
  };
2959
3028
  }>> & Readonly<{}>, {
2960
3029
  fg: string;
2961
- size: "sm" | "md" | "lg";
2962
3030
  border: boolean;
2963
3031
  bg: string;
3032
+ size: "sm" | "md" | "lg";
2964
3033
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2965
3034
  //#endregion
2966
- export { FormProps as $, TableColumn as A, HStack as At, TimerProps as B, Menu as C, NewlineProps as Ct, TreeNode as D, CardProps as Dt, Tree as E, Card as Et, Tooltip as F, DividerProps as Ft, AlertProps as G, BadgeProps as H, TooltipPosition as I, Spacer as It, ProgressBarProps as J, AlertType as K, TooltipProps as L, Box as Lt, List as M, StackProps as Mt, ListItem as N, VStack as Nt, TreeProps as O, Grid as Ot, ListProps as P, Divider as Pt, FormField as Q, Timer as R, BoxProps as Rt, TabsProps as S, Newline as St, MenuProps as T, TextProps as Tt, BadgeVariant as U, Badge as V, Alert as W, SpinnerProps as X, Spinner as Y, Form as Z, Breadcrumb as _, CodeProps as _t, KeyHintProps as a, Checkbox as at, Tab as b, Static as bt, StatusBar as c, SelectOption as ct, Modal as d, TextAreaProps as dt, Confirm as et, ModalProps as f, TextInput as ft, StepperProps as g, Code as gt, Stepper as h, LinkProps as ht, KeyHint as i, RadioOption as it, TableProps as j, Stack as jt, Table as k, GridProps as kt, StatusBarItem as l, SelectProps as lt, StepStatus as m, Link as mt, AvatarProps as n, RadioGroup as nt, Header as o, CheckboxProps as ot, Step as p, TextInputProps as pt, ProgressBar as q, KeyBinding as r, RadioGroupProps as rt, HeaderProps as s, Select as st, Avatar as t, ConfirmProps as tt, StatusBarProps as u, TextArea as ut, BreadcrumbItem as v, Transform as vt, MenuItem as w, Text as wt, Tabs as x, StaticProps as xt, BreadcrumbProps as y, TransformProps as yt, TimerMode as z };
2967
- //# sourceMappingURL=index-DHSs5acI.d.mts.map
3035
+ export { FormProps as $, TableColumn as A, ScrollBoxExposed as At, TimerProps as B, VStack as Bt, Menu as C, NewlineProps as Ct, TreeNode as D, _default$1 as Dt, Tree as E, _default as Et, Tooltip as F, Grid as Ft, AlertProps as G, BoxProps as Gt, BadgeProps as H, DividerProps as Ht, TooltipPosition as I, GridProps as It, ProgressBarProps as J, AlertType as K, TooltipProps as L, HStack as Lt, List as M, ScrollBoxProps as Mt, ListItem as N, Card as Nt, TreeProps as O, ScrollBarOrientation as Ot, ListProps as P, CardProps as Pt, FormField as Q, Timer as R, Stack as Rt, TabsProps as S, Newline as St, MenuProps as T, TextProps as Tt, BadgeVariant as U, Spacer as Ut, Badge as V, Divider as Vt, Alert as W, Box as Wt, SpinnerProps as X, Spinner as Y, Form as Z, Breadcrumb as _, CodeProps as _t, KeyHintProps as a, Checkbox as at, Tab as b, Static as bt, StatusBar as c, SelectOption as ct, Modal as d, TextAreaProps as dt, Confirm as et, ModalProps as f, TextInput as ft, StepperProps as g, Code as gt, Stepper as h, LinkProps as ht, KeyHint as i, RadioOption as it, TableProps as j, ScrollBoxItemSlot as jt, Table as k, ScrollBarProps as kt, StatusBarItem as l, SelectProps as lt, StepStatus as m, Link as mt, AvatarProps as n, RadioGroup as nt, Header as o, CheckboxProps as ot, Step as p, TextInputProps as pt, ProgressBar as q, KeyBinding as r, RadioGroupProps as rt, HeaderProps as s, Select as st, Avatar as t, ConfirmProps as tt, StatusBarProps as u, TextArea as ut, BreadcrumbItem as v, Transform as vt, MenuItem as w, Text as wt, Tabs as x, StaticProps as xt, BreadcrumbProps as y, TransformProps as yt, TimerMode as z, StackProps as zt };
3036
+ //# sourceMappingURL=index-Ck5VFXgP.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Ck5VFXgP.d.mts","names":[],"sources":["../src/components/Box.ts","../src/components/Spacer.ts","../src/components/Divider.ts","../src/components/Stack.ts","../src/components/Grid.ts","../src/components/Card.ts","../src/components/scroll-types.ts","../src/components/ScrollBox.vue","../src/components/ScrollBar.vue","../src/components/Text.ts","../src/components/Newline.ts","../src/components/Static.ts","../src/components/Transform.ts","../src/components/Code.ts","../src/components/Link.ts","../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/Spinner.ts","../src/components/ProgressBar.ts","../src/components/Alert.ts","../src/components/Badge.ts","../src/components/Timer.ts","../src/components/Tooltip.ts","../src/components/List.ts","../src/components/Table.ts","../src/components/Tree.ts","../src/components/Menu.ts","../src/components/Tabs.ts","../src/components/Breadcrumb.ts","../src/components/Stepper.ts","../src/components/Modal.ts","../src/components/StatusBar.ts","../src/components/Header.ts","../src/components/KeyHint.ts","../src/components/Avatar.ts"],"mappings":";;;;;;KAeY,eAAA,GAAkB,iBAAiB;AAAA,UAE9B,QAAA,SAAiB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QAAA,CAAS,aAAA;;;;;;;;;;;;;;;;;;;;;;UCxBb,WAAA;;EAEf,KAAA;ErCOyB;EqCLzB,QAAA;ErCK6C;EqCH7C,IAAA;ErCKe;EqCHf,KAAA;;EAEA,EAAA;ErCac;EqCXd,OAAA;ErC8Ce;EqC5Cf,UAAA;ErCHoD;EqCKpD,YAAA;AAAA;AAAA,cAGW,MAAA,gBAAM,eAAA,eAAA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCnBF,UAAA;EACf,IAAA;EACA,WAAW;AAAA;AAAA,UAGI,YAAA;EtCI8B;EsCF7C,QAAA,EAAU,UAAU;EtCIL;EsCFf,SAAA;;EAEA,KAAA;EtCYc;EsCVd,KAAA;EtC6Ce;EsC3Cf,MAAA;EtCJoD;EsCMpD,SAAA;AAAA;AAAA,cAGW,OAAA,gBAAO,eAAA,eAAA,gBAAA;;UAIC,QAAA,CAAS,UAAA;;;;UAIR,QAAA;;;;;;;;;;;;;;;;;;;;;;;UAJD,QAAA,CAAS,UAAA;;;;UAIR,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;UC5BL,WAAA;;EAEf,IAAA;EvCOyB;EuCLzB,QAAA;EvCK6C;EuCH7C,IAAA;EvCKe;EuCHf,EAAA;;EAEA,EAAA;EvCac;EuCXd,MAAA;EvC8Ce;EuC5Cf,MAAA;AAAA;AAAA,cAiBW,MAAA,gBAAM,eAAA,eAAA,gBAAA;;;;UAMG,QAAA;;;;;;;;;;;;;;;;UAgBA,QAAA,CAAS,WAAA;EAAA;AAAA;;;;;;UAhBT,QAAA;;;;;;;;;;;;;;;;UAgBA,QAAA,CAAS,WAAA;EAAA;AAAA"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,9 @@
1
- import { A as FrescoStyle, C as FrescoOverflow, D as FrescoRenderStyle, E as FrescoRenderNodeKind, F as KeyEventType, I as MouseEvent, L as PasteEvent, M as FrescoTextWrapMode, N as InputEvent, O as FrescoRootRenderNode, P as KeyEvent, R as ResizeEvent, S as FrescoModifiers, T as FrescoRenderNode, _ as FrescoFlexDirection, a as createRenderer, b as FrescoInputRenderNode, c as FrescoAlignContent, d as FrescoAppearance, f as FrescoBorderStyle, g as FrescoDisplay, h as FrescoDimension, j as FrescoTextRenderNode, k as FrescoSnakeStyleAliases, l as FrescoAlignItems, m as FrescoCanonicalStyle, o as CompositionEvent, p as FrescoBoxRenderNode, s as FocusEvent, u as FrescoAlignSelf, v as FrescoFlexWrap, w as FrescoPosition, x as FrescoJustifyContent, y as FrescoInputEvent } from "./accessibility-CsJ09kle.mjs";
2
- import { $ as FormProps, A as TableColumn, At as HStack, B as TimerProps, C as Menu, Ct as NewlineProps, D as TreeNode, Dt as CardProps, E as Tree, Et as Card, F as Tooltip, Ft as DividerProps, G as AlertProps, H as BadgeProps, I as TooltipPosition, It as Spacer, J as ProgressBarProps, K as AlertType, L as TooltipProps, Lt as Box, M as List, Mt as StackProps, N as ListItem, Nt as VStack, O as TreeProps, Ot as Grid, P as ListProps, Pt as Divider, Q as FormField, R as Timer, Rt as BoxProps, S as TabsProps, St as Newline, T as MenuProps, Tt as TextProps, U as BadgeVariant, V as Badge, W as Alert, X as SpinnerProps, Y as Spinner, Z as Form, _ as Breadcrumb, _t as CodeProps, a as KeyHintProps, at as Checkbox, b as Tab, bt as Static, c as StatusBar, ct as SelectOption, d as Modal, dt as TextAreaProps, et as Confirm, f as ModalProps, ft as TextInput, g as StepperProps, gt as Code, h as Stepper, ht as LinkProps, i as KeyHint, it as RadioOption, j as TableProps, jt as Stack, k as Table, kt as GridProps, l as StatusBarItem, lt as SelectProps, m as StepStatus, mt as Link, n as AvatarProps, nt as RadioGroup, o as Header, ot as CheckboxProps, p as Step, pt as TextInputProps, q as ProgressBar, r as KeyBinding, rt as RadioGroupProps, s as HeaderProps, st as Select, t as Avatar, tt as ConfirmProps, u as StatusBarProps, ut as TextArea, v as BreadcrumbItem, vt as Transform, w as MenuItem, wt as Text, x as Tabs, xt as StaticProps, y as BreadcrumbProps, yt as TransformProps, z as TimerMode } from "./index-DHSs5acI.mjs";
3
- import { A as useInput, C as UsePasteOptions, D as KeyHandler, E as Key, O as UseInputOptions, S as useIme, T as InputHandler, _ 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 useKeyPress, k as UseInputReturn, 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 usePaste, x as UseImeOptions, y as useStdout } from "./index-DqiuvriA.mjs";
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--xy80nuC.mjs";
2
+ import { a as createRenderer } from "./accessibility-D1R9HiTE.mjs";
3
+ import { $ as FormProps, A as TableColumn, At as ScrollBoxExposed, B as TimerProps, Bt as VStack, C as Menu, Ct as NewlineProps, D as TreeNode, Dt as _default$1, E as Tree, Et as _default, F as Tooltip, Ft as Grid, G as AlertProps, Gt as BoxProps, H as BadgeProps, Ht as DividerProps, I as TooltipPosition, It as GridProps, J as ProgressBarProps, K as AlertType, L as TooltipProps, Lt as HStack, M as List, Mt as ScrollBoxProps, N as ListItem, Nt as Card, O as TreeProps, Ot as ScrollBarOrientation, P as ListProps, Pt as CardProps, Q as FormField, R as Timer, Rt as Stack, S as TabsProps, St as Newline, T as MenuProps, Tt as TextProps, U as BadgeVariant, Ut as Spacer, V as Badge, Vt as Divider, W as Alert, Wt as Box, X as SpinnerProps, Y as Spinner, Z as Form, _ as Breadcrumb, _t as CodeProps, a as KeyHintProps, at as Checkbox, b as Tab, bt as Static, c as StatusBar, ct as SelectOption, d as Modal, dt as TextAreaProps, et as Confirm, f as ModalProps, ft as TextInput, g as StepperProps, gt as Code, h as Stepper, ht as LinkProps, i as KeyHint, it as RadioOption, j as TableProps, jt as ScrollBoxItemSlot, k as Table, kt as ScrollBarProps, l as StatusBarItem, lt as SelectProps, m as StepStatus, mt as Link, n as AvatarProps, nt as RadioGroup, o as Header, ot as CheckboxProps, p as Step, pt as TextInputProps, q as ProgressBar, r as KeyBinding, rt as RadioGroupProps, s as HeaderProps, st as Select, t as Avatar, tt as ConfirmProps, u as StatusBarProps, ut as TextArea, v as BreadcrumbItem, vt as Transform, w as MenuItem, wt as Text, x as Tabs, xt as StaticProps, y as BreadcrumbProps, yt as TransformProps, z as TimerMode, zt as StackProps } from "./index-Ck5VFXgP.mjs";
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
+ 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-B-asCcvK.mjs";
4
6
  import { a as useFocus, i as UseFocusOptions, n as useApp, o as useFocusManager, r as FocusManager, t as UseAppReturn } from "./useApp-CVB2jNCO.mjs";
5
- 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-BnHjO4sM.mjs";
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-adHHi99c.mjs";
6
8
  import { FlexStyleNapi, ImeStateNapi, InputEventNapi, LayoutResultNapi, ModifiersNapi, RenderNodeNapi, StyleNapi, TerminalInfoNapi, TerminalOptionsNapi } from "@vizejs/fresco-native";
7
- export { Alert, type AlertProps, type AlertType, type AnimationResult, type App, type AppOptions, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Box, type BoxMetrics, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, 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 FrescoDimension, type FrescoDisplay, type FrescoFlexDirection, type FrescoFlexWrap, type FrescoInputEvent, type FrescoInputRenderNode, type FrescoJustifyContent, type FrescoModifiers, type FrescoOverflow, type FrescoPosition, type FrescoRenderNode, type FrescoRenderNodeKind, type FrescoRenderStyle, type FrescoRootRenderNode, type FrescoSnakeStyleAliases, type FrescoStyle, type FrescoTextRenderNode, type FrescoTextWrapMode, Grid, type GridProps, HStack, 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, Link, type LinkProps, List, type ListItem, type ListProps, Menu, type MenuItem, type MenuProps, Modal, type ModalProps, type ModifiersNapi, type MouseEvent, 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, Select, type SelectOption, type SelectProps, Spacer, Spinner, type SpinnerProps, Stack, type StackProps, 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, Tooltip, type TooltipPosition, type TooltipProps, Transform, type TransformProps, Tree, type TreeNode, type TreeProps, type UseAnimationOptions, type UseAppReturn, type UseBoxMetricsResult, type UseFocusOptions, type UseImeOptions, type UseInputOptions, type UseInputReturn, type UsePasteOptions, type UseStderrReturn, type UseStdinReturn, type UseStdoutReturn, VStack, type WindowSize, createApp, createRenderer, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, usePaste, useStderr, useStdin, useStdout, useWindowSize };
9
+ export { Alert, type AlertProps, type AlertType, type AnimationResult, type App, type AppOptions, Avatar, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, Box, type BoxMetrics, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, 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 FrescoDimension, type FrescoDisplay, type FrescoFlexDirection, type FrescoFlexWrap, type FrescoInputEvent, type FrescoInputRenderNode, type FrescoJustifyContent, type FrescoModifiers, type FrescoMouseEventKind, type FrescoOverflow, type FrescoPosition, type FrescoRenderNode, type FrescoRenderNodeKind, type FrescoRenderStyle, type FrescoRootRenderNode, type FrescoSnakeStyleAliases, type FrescoStyle, type FrescoTextRenderNode, type FrescoTextWrapMode, Grid, type GridProps, HStack, 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, Link, type LinkProps, List, type ListItem, type ListProps, Menu, type MenuItem, type MenuProps, Modal, type ModalProps, type ModifiersNapi, type MouseEvent, 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 as ScrollBar, type ScrollBarOrientation, type ScrollBarProps, _default$1 as ScrollBox, type ScrollBoxExposed, type ScrollBoxItemSlot, type ScrollBoxProps, Select, type SelectOption, type SelectProps, Spacer, Spinner, type SpinnerProps, Stack, type StackProps, 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, Tooltip, type TooltipPosition, type TooltipProps, 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 };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { A as useApp, D as useFocusManager, E as useFocus, S as useStdout, _ as useCursor, a as lastMouseEvent, b as useStderr, c as render, i as lastKeyEvent, l as renderToString, n as lastCompositionEvent, o as lastPasteEvent, p as measureElement, r as lastFocusEvent, s as lastResizeEvent, t as createApp, u as createRenderer, x as useStdin } from "./app-D1EmYPR5.mjs";
2
- import { i as useIsScreenReaderEnabled, n as useKeyPress, r as usePaste, t as useInput } from "./useInput-BmjmkjZ9.mjs";
3
- import { A as Newline, C as Select, D as Code, E as Link, F as Stack, I as VStack, L as Divider, M as Card, N as Grid, O as Transform, P as HStack, R as Spacer, S as Checkbox, T as TextInput, _ as ProgressBar, a as Modal, b as Confirm, c as Tabs, d as Table, f as List, g as Alert, h as Badge, i as StatusBar, j as Text, k as Static, l as Menu, m as Timer, n as KeyHint, o as Stepper, p as Tooltip, r as Header, s as Breadcrumb, t as Avatar, u as Tree, v as Spinner, w as TextArea, x as RadioGroup, y as Form, z as Box } from "./components-CqGU-NNE.mjs";
4
- import { i as useIme, n as useAnimation, r as useWindowSize, t as useBoxMetrics } from "./composables-CZLZwicA.mjs";
1
+ import { A as useApp, D as useFocusManager, E as useFocus, S as useStdout, _ as useCursor, a as lastMouseEvent, b as useStderr, c as render, i as lastKeyEvent, l as renderToString, n as lastCompositionEvent, o as lastPasteEvent, p as measureElement, r as lastFocusEvent, s as lastResizeEvent, t as createApp, u as createRenderer, x as useStdin } from "./app-DoXcF_Dn.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-CcJuIc7U.mjs";
3
+ import { A as Newline, B as Spacer, C as Select, D as Code, E as Link, F as Grid, I as HStack, L as Stack, M as ScrollBar_default, N as Text, O as Transform, P as Card, 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 Alert, h as Badge, i as StatusBar, j as ScrollBox_default, k as Static, l as Menu, m as Timer, n as KeyHint, o as Stepper, p as Tooltip, r as Header, s as Breadcrumb, t as Avatar, u as Tree, v as Spinner, w as TextArea, x as RadioGroup, y as Form, z as Divider } from "./components-DWIDBGTL.mjs";
4
+ import { i as useIme, n as useAnimation, r as useWindowSize, t as useBoxMetrics } from "./composables-b_R5s4QQ.mjs";
5
5
  //#region src/kittyKeyboard.ts
6
6
  /**
7
7
  * Kitty keyboard protocol constants compatible with Ink.
@@ -27,6 +27,6 @@ const kittyModifiers = {
27
27
  numLock: 128
28
28
  };
29
29
  //#endregion
30
- export { Alert, Avatar, Badge, Box, Breadcrumb, Card, Checkbox, Code, Confirm, Divider, Form, Grid, HStack, Header, KeyHint, Link, List, Menu, Modal, Newline, ProgressBar, RadioGroup, Select, Spacer, Spinner, Stack, Static, StatusBar, Stepper, Table, Tabs, Text, TextArea, TextInput, Timer, Tooltip, Transform, Tree, VStack, createApp, createRenderer, kittyFlags, kittyModifiers, lastCompositionEvent, lastFocusEvent, lastKeyEvent, lastMouseEvent, lastPasteEvent, lastResizeEvent, measureElement, render, renderToString, resolveKittyFlags, useAnimation, useApp, useBoxMetrics, useCursor, useFocus, useFocusManager, useIme, useInput, useIsScreenReaderEnabled, useKeyPress, usePaste, useStderr, useStdin, useStdout, useWindowSize };
30
+ export { Alert, Avatar, Badge, Box, Breadcrumb, Card, Checkbox, Code, Confirm, Divider, Form, Grid, HStack, Header, KeyHint, Link, List, Menu, Modal, Newline, ProgressBar, RadioGroup, ScrollBar_default as ScrollBar, ScrollBox_default as ScrollBox, Select, Spacer, Spinner, Stack, Static, StatusBar, Stepper, Table, Tabs, Text, TextArea, TextInput, Timer, Tooltip, 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 };
31
31
 
32
32
  //# sourceMappingURL=index.mjs.map