grid: packing, pinning, resize steps (port of Layout.js and app.py's grid logic). gesture: pointer state machine (tap, long press, drag, release, swipe). updater: release/version parsing and the update decision. vdom: pure virtual DOM with an HTML-text renderer for tests. app: Elm-style Model/Msg/update/view with effects as data, persistence (JSON layout, import of the old WebView build's localStorage), drawer/search, menus, drag and resize. 60 headless tests drive it through pointer input. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
28 lines
508 B
Plaintext
28 lines
508 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "experiments/launcher/jsonx"
|
|
|
|
import {
|
|
"moonbitlang/core/json",
|
|
}
|
|
|
|
// Values
|
|
pub fn arr(@json.Json, String) -> Array[@json.Json]
|
|
|
|
pub fn bool(@json.Json, String, default? : Bool) -> Bool
|
|
|
|
pub fn get(@json.Json, String) -> @json.Json?
|
|
|
|
pub fn int(@json.Json, String, default? : Int32) -> Int32
|
|
|
|
pub fn parse(String) -> @json.Json?
|
|
|
|
pub fn str(@json.Json, String, default? : String) -> String
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|