import { nextTick, reactive, ref, computed, onMounted, onUnmounted } from "vue"; import { state } from "../stateMgr.js"; import { getQuery } from "../kirby.js"; import { initSubState, ArrowVerticalKeyHandler, ArrowHorizontalKeyHandler, NumberKeyHandler } from "../handlers.js"; const html = (v) => { return v[0] }; function initView(view){ const back = state.view; state.back.push(() => { state.view = back }); state.backActive.push(state.activeIndex); state.view = view; } const togo = { props: ['togo'], setup(props) { return { } }, template: html`