import Component from "@glimmer/component"; import { Input } from "@ember/component"; export default class SchemaThemeSettingField extends Component { #bufferVal; get component() { if (this.args.type === "string") { return Input; } } get value() { return this.#bufferVal || this.args.value; } set value(v) { this.#bufferVal = v; this.args.onValueChange(v); } }