import { cx_ui } from "./cx-ui"; import { dictionary } from "./dictionary"; import { phrase } from "./phrase"; import { selector } from "./selector"; import { view } from "./view"; export class shelf extends view { #manager; constructor(manager) { super(); this.#manager = manager; } show() { const back = new phrase("selector.return"); const return_button = cx_ui.push("return", back, () => { this.#manager.view = new selector(this.#manager); }); return return_button; } }