Add text mode (#321)

* Pretty good spot

* Working draft

* Fix other mode

* Add js to git

* Working

* Add code

* fix

* Fix

* Add code

* Fix submit race condition

* demo

* fix

* Fix

* Fix
This commit is contained in:
Freddy Boulton
2025-06-03 19:24:21 -04:00
committed by GitHub
parent 1179f8ef21
commit 1877720231
69 changed files with 110161 additions and 22889 deletions

View File

@@ -0,0 +1,15 @@
import { _ as s } from "./mermaid.core-C0Blj36u.js";
var t, e = (t = class {
/**
* @param init - Function that creates the default state.
*/
constructor(i) {
this.init = i, this.records = this.init();
}
reset() {
this.records = this.init();
}
}, s(t, "ImperativeState"), t);
export {
e as I
};