diff --git a/docs/prototype/code-reader/openpencil/exports/rust-chain-a-setup.png b/docs/prototype/code-reader/openpencil/exports/rust-chain-a-setup.png new file mode 100644 index 0000000..2223abe Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-chain-a-setup.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/rust-chain-a.png b/docs/prototype/code-reader/openpencil/exports/rust-chain-a.png new file mode 100644 index 0000000..a8b0085 Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-chain-a.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/rust-chain-b.png b/docs/prototype/code-reader/openpencil/exports/rust-chain-b.png new file mode 100644 index 0000000..40caada Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-chain-b.png differ diff --git a/docs/prototype/code-reader/openpencil/exports/rust-chain-short.png b/docs/prototype/code-reader/openpencil/exports/rust-chain-short.png new file mode 100644 index 0000000..9b01be9 Binary files /dev/null and b/docs/prototype/code-reader/openpencil/exports/rust-chain-short.png differ diff --git a/docs/prototype/code-reader/openpencil/rust-chain.js b/docs/prototype/code-reader/openpencil/rust-chain.js new file mode 100644 index 0000000..6fd1920 --- /dev/null +++ b/docs/prototype/code-reader/openpencil/rust-chain.js @@ -0,0 +1,743 @@ +// 代码阅读 Rust:链式调用的专用卡片「调用链」。从左到右四张板:方案 A 步骤轨道、方案 B 按方法分组、 +// 方案 A 展开 setup、短链放在变量初始值里。 +// 数据取自 luffy-agent-platform 的 apps/desktop/src-tauri/src/lib.rs 第 461 行起:run 函数最后一句 +// `tauri::Builder::default()…run(…)` 整条链和第一个 .plugin 上面那行注释,方法名、实参、注释、命令名照抄; +// 展开 setup 的子块照抄同一段闭包体的前 14 句,上下文里露一角的是它前面的 `let app_state`。 +// 短链那张板的 `names` 是手写示例。 +// 配色、卡片画法取自同目录 build.js(VS Code Dark Modern);子块左边的竖线取自 react.js, +// 链接色是 Dark Modern 的 textLink.foreground(webview 的 .cr-link 用它)。 +// OpenPencil 自动折行量不准,长文字按估出的宽度手动断行,文字框都按内容长。 + +const C = { + editor: "#1f1f1f", + side: "#181818", + card: "#242424", + borderStrong: "#3c3c3c", + input: "#313131", + guide: "#404040", + fg: "#cccccc", + desc: "#9d9d9d", + dim: "#6e7681", + comment: "#6a9955", + control: "#c586c0", + storage: "#569cd6", + variable: "#9cdcfe", + fn: "#dcdcaa", + type: "#4ec9b0", + string: "#ce9178", + link: "#4daafc", +}; + +const KIND = { + chain: { label: "调用链", color: C.fn, icon: "workflow" }, + variable: { label: "变量", color: "#9cdcfe", icon: "variable" }, + statement: { label: "语句", color: "#9d9d9d", icon: "code" }, + return: { label: "返回", color: "#c586c0", icon: "corner-down-left" }, + if: { label: "如果", color: "#c586c0", icon: "split" }, +}; + +const COMMANDS = [ + "device_resume", + "device_connect", + "device_disconnect", + "settings_get", + "settings_set", + "workspace_move", + "open_workspace", + "desktop_state", + "desktop_activity", + "web::preview_open", + "web::preview_embed", + "update_check", + "update_install", + "screen_permission_get", + "notice::desktop_notify", + "screen_permission_open", + "app_restart", + "web::retry_connect", +]; + +const PLUGIN_NOTE = "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会注进远程网页版, 在那里调 open_url 没有权限"; + +// 一步一项:arg 是一行写完的实参;sub 是实参本身又是一条链;closure 是收起的闭包;commands 是 generate_handler! 里的命令 +const CHAIN = { + start: "tauri::Builder::default()", + steps: [ + { method: "plugin", sub: ["tauri_plugin_opener::Builder::new()", ".open_js_links_on_click(false)", ".build()"], note: PLUGIN_NOTE }, + { method: "plugin", arg: "tauri_plugin_dialog::init()" }, + { method: "plugin", arg: "tauri_plugin_autostart::init(tauri_plugin_autostart::MacosLauncher::LaunchAgent, None)" }, + { method: "plugin", arg: "tauri_plugin_global_shortcut::Builder::new().build()" }, + { method: "plugin", arg: "tauri_plugin_updater::Builder::new().build()" }, + { method: "setup", closure: { params: "|app|", count: "37 句" } }, + { method: "on_window_event", closure: { params: "|window, event|", count: "1 句" } }, + { method: "manage", arg: "app_state" }, + { method: "invoke_handler", macro: "tauri::generate_handler!", commands: COMMANDS }, + { method: "build", arg: "tauri::generate_context!()" }, + { method: "expect", arg: "\"error while building tauri application\"" }, + { method: "run", closure: { params: "|app, event|", head: "match event", count: "3 支" } }, + ], +}; + +// 方案 B 的插件表:插件名、配置(Builder 上调的方法或 init 的实参),没配置的写 — +const PLUGINS = [ + { name: "tauri_plugin_opener", config: "open_js_links_on_click(false)" }, + { name: "tauri_plugin_dialog" }, + { name: "tauri_plugin_autostart", config: "tauri_plugin_autostart::MacosLauncher::LaunchAgent, None" }, + { name: "tauri_plugin_global_shortcut" }, + { name: "tauri_plugin_updater" }, +]; + +// 编译条件的中文读法同编译属性的「生效条件」:「非」按运算符、系统名按字符串着色 +const CFG = { + macos: [["目标系统 ", C.fg], ["macos", C.string]], + debug: [["调试构建", C.fg]], + release: [["非", C.storage], [" 调试构建", C.fg]], +}; + +// setup 闭包体的前 14 句(板子截在第 14 句):variable 是名称 / 初始值;call 是跨几行写的调用,排成「调用 … · N 个参数」加实参表 +const SETUP_BODY = [ + { kind: "variable", name: "store", note: "记下的转发按原端口先开起来: 执行器重启后, 跑着的开发服务器重连就能接上", value: "app.path().app_data_dir()?.join(\"tunnels.json\")" }, + { kind: "variable", name: "tunnels", value: "Arc::new(Tunnels::new(store))" }, + { kind: "variable", name: "restoring", value: "Arc::clone(&tunnels)" }, + { kind: "statement", line: "tauri::async_runtime::spawn(async move { restoring.restore().await });", kids: [{ kind: "return", line: "restoring.restore().await" }] }, + { kind: "statement", line: "app.manage(tunnels);" }, + { + kind: "statement", + cfg: CFG.macos, + call: { callee: "app.manage", tail: ";", args: [{ call: { callee: "Arc::new", args: [{ call: { callee: "previewtls::PreviewTls::new", args: ["app.path().app_data_dir()?.join(\"preview-tls\")"] } }] } }] }, + }, + { kind: "variable", name: "credentials", cfg: CFG.debug, call: { callee: "credentials::FileStore::new", args: ["app.path().app_data_dir()?.join(\"dev-credentials.json\")"] } }, + { kind: "variable", name: "credentials", cfg: CFG.release, value: "credentials::Keychain" }, + { kind: "statement", line: "app.manage(Arc::new(credentials) as Arc);" }, + { kind: "variable", name: "settings", call: { callee: "Arc::new", args: [{ call: { callee: "settings::Store::new", args: ["app.path().app_data_dir()?.join(\"settings.json\")"] } }] } }, + { kind: "variable", name: "root", value: "settings.get().workspace_root" }, + { kind: "variable", name: "hub", call: { callee: "Arc::new", args: [{ call: { callee: "Hub::new", args: ["machine::facts(&root)", "root", "Arc::new(state::WindowEvents(app.handle().clone()))"] } }] } }, + { + kind: "if", + head: "如果 令 ", + line: "Some(e) = settings.load_error()", + kids: [{ kind: "statement", call: { callee: "hub.activity", tail: ";", args: ["\"warn\"", "\"settings\"", "&format!(\"设置文件读不出来, 已按缺省: {e}\")"] } }], + }, + { kind: "statement", line: "apply_autostart(app.handle(), &hub, settings.get().autostart);" }, +]; + +const APP_STATE = { name: "app_state", value: "AppState { connection: ConnectionSlot::default(), linked: Mutex::new(None) }" }; + +// 手写的短链:let names: Vec = rows.iter().filter(|r| r.active).map(|r| r.name.clone()).collect(); +const SHORT = { + name: "names", + type: "Vec", + steps: [ + { verb: "遍历", code: "rows" }, + { verb: "筛选", code: "|r| r.active" }, + { verb: "映射", code: "|r| r.name.clone()" }, + { verb: "收集" }, + ], +}; + +const BOARD_W = 1100; +const BOARD_GAP = 80; +const BOARD_PAD = 20; +const LABEL_W = 72; +const METHOD_W = 140; +// 上下文那张变量卡片的整高(上下内边距 8 + 两行 20 + 行距 4),露出它最下面的 SLICE_H +const APP_STATE_H = 60; +const SLICE_H = 32; +// 展开 setup 那张板截在第 14 句(apply_autostart)卡片中间,像滚动中的截图 +const SETUP_BOARD_H = 1938; +const MONO = "Menlo"; +const UI = "PingFang SC"; + +// 轨道:主链一步一个实心圆点,竖线是函数色淡到 35%;实参里的小链用空心小圆点 +const RAIL = { col: 20, dot: 8, up: 6, line: 2, color: mix(C.fn, C.card, 0.35), fill: C.fn, pad: 6 }; +const MINI = { col: 14, dot: 6, up: 7, line: 1, color: mix(C.desc, C.card, 0.45), fill: C.card, stroke: C.desc, pad: 0 }; +const SHORT_RAIL = { col: 14, dot: 6, up: 7, line: 2, color: mix(C.fn, C.card, 0.35), fill: C.fn, pad: 0 }; + +// 估出来比给的宽度还长的文字记在这里,Node 里先跑一遍时检查 +const OVERFLOW = []; + +// ─── 文字 ──────────────────────────────────────────────────────────────────── + +function solid(color) { + return [{ type: "solid", color }]; +} + +function rgb(hex) { + const h = hex.replace("#", ""); + return [0, 2, 4].map((i) => parseInt(h.slice(i, i + 2), 16)); +} + +/** color 按 t 盖在 base 上(color-mix(in srgb, color t, base))。 */ +function mix(color, base, t) { + const a = rgb(color); + const b = rgb(base); + return "#" + a.map((v, i) => Math.round(v * t + b[i] * (1 - t)).toString(16).padStart(2, "0")).join(""); +} + +function seg(text, fill, weight) { + return { text, fill, w: weight }; +} + +const WIDE = /[⺀-鿿 -〿＀-￯“”‘’…—·×→]/; + +function charWidth(ch, size, mono) { + if (WIDE.test(ch)) + return size; + if (mono) + return size * 0.61; + if (/[A-Z0-9]/.test(ch)) + return size * 0.68; + if (/[ilj.,:;'|!()[\] ]/.test(ch)) + return size * 0.34; + return size * 0.58; +} + +/** 估一段字的宽度,宁大勿小。 */ +function widthOf(s, size, mono) { + let w = 0; + for (const ch of s) w += charWidth(ch, size, mono); + return w * 1.04; +} + +/** 正文按宽度断行:汉字之间、空格处能断,句读跟着前一个字。 */ +function wrapProse(s, maxW, size) { + const tokens = s.match(/[⺀-鿿 -〿＀-￯]|[^\s⺀-鿿 -〿＀-￯]+|\s+/g) || []; + const lines = [""]; + let w = 0; + for (const tok of tokens) { + const tw = widthOf(tok, size, false); + if (/^\s+$/.test(tok)) { + if (w > 0) { + lines[lines.length - 1] += tok; + w += tw; + } + continue; + } + if (w > 0 && w + tw > maxW && !/^[,.;:!?,。;:、)」]/.test(tok)) { + lines[lines.length - 1] = lines[lines.length - 1].replace(/\s+$/, ""); + lines.push(""); + w = 0; + } + lines[lines.length - 1] += tok; + w += tw; + } + return lines.join("\n"); +} + +const RS_STORAGE = new Set(["let", "mut", "as", "dyn", "async", "move", "fn", "true", "false", "self", "ref"]); +const RS_CONTROL = new Set(["match", "if", "else", "return", "await", "for", "while", "loop", "in"]); +const RS_TOKEN = /"(?:[^"\\]|\\.)*"|[A-Za-z_][A-Za-z0-9_]*|\d+|\s+|[\s\S]/g; + +/** Rust 源码按 Dark Modern 着色:路径前段和大写名字是类型色,后面跟括号或 ! 的是函数色。 */ +function rs(src) { + const out = []; + let at = 0; + for (const tok of src.match(RS_TOKEN) || []) { + at += tok.length; + const rest = src.slice(at); + let color = C.fg; + if (tok[0] === "\"") + color = C.string; + else if (/^[A-Za-z_]/.test(tok)) { + if (RS_STORAGE.has(tok)) + color = C.storage; + else if (RS_CONTROL.has(tok)) + color = C.control; + else if (/^[A-Z]/.test(tok) || /^::/.test(rest)) + color = C.type; + else if (/^\s*[(!]/.test(rest)) + color = C.fn; + else + color = C.variable; + } + const last = out[out.length - 1]; + if (last && last.fill === color) + last.text += tok; + else + out.push(seg(tok, color)); + } + return out; +} + +/** 方法名写成 `.名字`:点是前景色,名字是函数色。 */ +function method(name, weight) { + return [seg(".", C.fg), seg(name, C.fn, weight)]; +} + +/** + * 文字:content 是字符串或着色的段。宽、高跟着字长,不靠 OpenPencil 折行;正文给了 maxW 就手动断行。 + * o: size、color、weight、mono、lh(行高 px)、maxW + */ +function text(parent, content, o) { + const opt = o || {}; + const size = opt.size || 13; + const mono = Boolean(opt.mono); + let segs = typeof content === "string" ? [seg(content, opt.color || C.fg)] : content; + if (opt.maxW && !mono && segs.length === 1) + segs = [seg(wrapProse(segs[0].text, opt.maxW, size), segs[0].fill, segs[0].w)]; + if (opt.maxW) { + for (const line of segs.map((s) => s.text).join("").split("\n")) + if (widthOf(line, size, mono) > opt.maxW) + OVERFLOW.push(line); + } + const node = { + type: "text", + name: segs.map((s) => s.text).join("").replace(/\n/g, " ").slice(0, 40), + fontFamily: mono ? MONO : UI, + fontSize: size, + fontWeight: opt.weight || 400, + lineHeight: (opt.lh || 20) / size, + width: "fit_content", + height: "fit_content", + textGrowth: "auto", + }; + if (segs.length === 1) { + node.content = segs[0].text; + node.fill = solid(segs[0].fill); + if (segs[0].w) + node.fontWeight = segs[0].w; + } + else { + node.content = segs.map((s) => { + const piece = { text: s.text, fill: s.fill }; + if (s.w) + piece.fontWeight = s.w; + return piece; + }); + node.fill = solid(C.fg); + } + return I(parent, node); +} + +function code(parent, src, maxW, size) { + return text(parent, rs(src), { mono: true, maxW, size }); +} + +function icon(parent, name, color, size) { + return I(parent, { type: "icon_font", name, iconFontName: name, width: size, height: size, fill: solid(color) }); +} + +// ─── 框 ────────────────────────────────────────────────────────────────────── + +function box(parent, name, o) { + const opt = o || {}; + const node = { + type: "frame", + name, + layout: opt.layout || "horizontal", + width: opt.width || "fill_container", + height: opt.height || "fit_content", + gap: opt.gap == null ? 0 : opt.gap, + clipContent: Boolean(opt.clip), + }; + if (opt.x != null) { + node.x = opt.x; + node.y = opt.y || 0; + } + if (opt.padding != null) + node.padding = opt.padding; + if (opt.align) + node.alignItems = opt.align; + if (opt.justify) + node.justifyContent = opt.justify; + if (opt.fill) + node.fill = solid(opt.fill); + if (opt.radius != null) + node.cornerRadius = opt.radius; + if (opt.stroke) + node.stroke = { thickness: 1, fill: solid(opt.stroke) }; + return I(parent, node); +} + +function row(parent, name, o) { + return box(parent, name, Object.assign({ layout: "horizontal", align: "center" }, o || {})); +} + +function col(parent, name, o) { + return box(parent, name, Object.assign({ layout: "vertical" }, o || {})); +} + +/** 一行里横排几样东西(方法名后面跟实参或收起的框)。 */ +function inline(parent, gap) { + return row(parent, "Inline", { height: 20, gap: gap == null ? 8 : gap }); +} + +/** 收起 / 展开的闭包、命令:一个小框,前面折叠箭头。 */ +function foldBox(parent, open, segs) { + const frame = row(parent, "Fold box", { + width: "fit_content", + height: 20, + padding: [0, 6, 0, 3], + gap: 3, + radius: 4, + fill: C.input, + stroke: C.borderStrong, + }); + icon(frame, open ? "chevron-down" : "chevron-right", C.desc, 13); + text(frame, segs, { mono: true, size: 12.5, lh: 18 }); + return frame; +} + +/** 「闭包 |app| · 37 句」:参数照抄,句数、分支数是提示色。 */ +function closureSegs(closure) { + const head = closure.head ? [seg(" · ", C.desc)].concat(rs(closure.head)) : []; + return [seg("闭包 ", C.desc)].concat(rs(closure.params), head, [seg(" · " + closure.count, C.desc)]); +} + +// ─── 卡片 ──────────────────────────────────────────────────────────────────── + +/** 卡片右上角:问 AI、编辑。 */ +function tools(parent) { + const bar = row(parent, "Tools", { width: "fit_content", height: 20, gap: 2 }); + for (const name of ["sparkles", "pencil"]) { + const button = row(bar, name, { width: 22, height: 20, justify: "center", radius: 4 }); + icon(button, name, C.desc, 14); + } +} + +/** + * 一张卡片:折叠箭头(有子块才有)、种类图标、内容、右上角两个按钮;描边用种类色。 + * w 是卡片外宽;给了 x 就是绝对定位(上下文那一角)。返回内容区和内容区的宽度。 + */ +function card(parent, kind, w, o) { + const opt = o || {}; + const node = box(parent, kind.label + (opt.name ? " / " + opt.name : ""), { + layout: "horizontal", + width: opt.x != null ? w : "fill_container", + x: opt.x, + y: opt.y, + gap: 10, + padding: [8, 10, 8, 8], + radius: 8, + align: "start", + fill: C.card, + stroke: kind.color, + }); + const fold = row(node, "Fold", { width: 14, height: 20, justify: "center" }); + if (opt.fold) + icon(fold, opt.fold === "open" ? "chevron-down" : "chevron-right", C.desc, 14); + const kindBox = row(node, "Kind / " + kind.label, { width: 18, height: 20, justify: "center" }); + icon(kindBox, kind.icon, kind.color, 18); + const content = col(node, "Content", { gap: 4 }); + tools(node); + return { node, content, w: w - 18 - 14 - 18 - 46 - 30 }; +} + +/** 属性行:左边标签列,右边值。value 是着色的段、字符串,或自己画的函数 (frame, width)。 */ +function prop(ctx, label, value, o) { + const opt = o || {}; + const line = row(ctx.content, "Prop / " + label, { gap: 12, align: "start" }); + const key = row(line, "Key", { width: LABEL_W, height: 20 }); + text(key, label, { size: 12, color: C.desc }); + const valueW = ctx.w - LABEL_W - 12; + const frame = col(line, "Value", { gap: 4 }); + if (typeof value === "function") + value(frame, valueW); + else + text(frame, value, { mono: opt.mono !== false, maxW: valueW, color: opt.color }); + return line; +} + +/** 表格:cols 是 {name, width?},最后一列分剩下的;格子是着色的段、字符串(按列色)或 (frame, width) 函数。 */ +function table(parent, w, cols, rows) { + const wrap = col(parent, "Table wrap", { padding: [2, 0, 2, 4] }); + const grid = col(wrap, "Table", { radius: 4, stroke: C.borderStrong, clip: true }); + const innerW = w - 4 - 2; + const fixed = cols.slice(0, -1).reduce((sum, c) => sum + c.width, 0); + const widths = cols.map((c, i) => (i < cols.length - 1 ? c.width : innerW - fixed)); + const drawRow = (cells, header) => { + const line = row(grid, header ? "Header" : "Row", { align: "start", fill: header ? C.side : null }); + cells.forEach((cell, i) => { + const last = i === cols.length - 1; + const frame = col(line, cols[i].name, { width: last ? "fill_container" : widths[i], padding: [3, 8], gap: 4 }); + const cellW = widths[i] - 16; + if (header) + text(frame, cell, { size: 12, color: C.desc }); + else if (typeof cell === "function") + cell(frame, cellW); + else + text(frame, cell, { size: 12.5, mono: cols[i].mono !== false, maxW: cellW, color: cols[i].color }); + }); + }; + drawRow(cols.map((c) => c.name), true); + for (const cells of rows) drawRow(cells, false); +} + +/** 「调用 app.manage · 1 个参数」:跨几行写的调用排成一行,后面是实参表。 */ +function callSegs(call) { + return [seg("调用", C.control), seg(" ", C.fg)] + .concat(rs(call.callee), [seg(" · " + call.args.length + " 个参数", C.desc)], call.tail ? [seg(call.tail, C.fg)] : []); +} + +/** 实参表「参数 | 值」:按位置传的写「第 N 个」;值又是跨几行写的调用时,格子里写它的一行、它的表套在格子里。 */ +function argTable(parent, w, args) { + table(parent, w, [{ name: "参数", width: 76, mono: false, color: C.desc }, { name: "值" }], args.map((arg, i) => [ + "第 " + (i + 1) + " 个", + typeof arg === "string" ? rs(arg) : (frame, cellW) => callValue(frame, cellW, arg.call, 12.5), + ])); +} + +function callValue(frame, w, call, size) { + text(frame, callSegs(call), { mono: true, size, maxW: w }); + argTable(frame, w, call.args); +} + +/** 一层子块:左边一条竖线标出这一层,块排在右边。 */ +function level(parent, w) { + const lv = row(parent, "Level", { gap: 8, align: "start" }); + const guide = row(lv, "Guide", { width: 12, height: "fill_container", justify: "center" }); + I(guide, { type: "rectangle", name: "Line", width: 1, height: "fill_container", fill: solid(C.guide) }); + const list = col(lv, "Blocks", { gap: 8 }); + return { list, w: w - 20 }; +} + +// ─── 函数体子块 ────────────────────────────────────────────────────────────── + +function variableBlock(list, w, block) { + const ctx = card(list, KIND.variable, w, { name: block.name }); + prop(ctx, "名称", [seg(block.name, C.variable, 600)]); + if (block.note) + prop(ctx, "注释", block.note, { mono: false, color: C.comment }); + if (block.cfg) + prop(ctx, "编译条件", block.cfg.map(([t, color]) => seg(t, color)), { mono: false }); + if (block.call) + prop(ctx, "初始值", (frame, fw) => callValue(frame, fw, block.call, 13)); + else + prop(ctx, "初始值", rs(block.value)); +} + +/** 一行译文的块(语句、返回、如果):编译条件排在译文前面,跨几行写的调用后面跟实参表。 */ +function lineBlock(list, w, block) { + const ctx = card(list, KIND[block.kind], w, { fold: block.kids ? "open" : null }); + if (block.cfg) + prop(ctx, "编译条件", block.cfg.map(([t, color]) => seg(t, color)), { mono: false }); + let segs = block.call ? callSegs(block.call) : rs(block.line); + if (block.kind === "return") + segs = [seg("返回 ", C.control)].concat(segs); + if (block.kind === "if") + segs = [seg(block.head, C.control)].concat(segs); + text(ctx.content, segs, { mono: true, maxW: ctx.w }); + if (block.call) + argTable(ctx.content, ctx.w, block.call.args); +} + +function drawBlocks(list, w, blocks) { + for (const block of blocks) { + if (block.kind === "variable") + variableBlock(list, w, block); + else + lineBlock(list, w, block); + if (block.kids) { + const lv = level(list, w); + drawBlocks(lv.list, lv.w, block.kids); + } + } +} + +// ─── 轨道 ──────────────────────────────────────────────────────────────────── + +/** + * 轨道上的一步:左边一列是竖线和圆点(第一步上面、最后一步下面不画线),右边是这一步的内容。 + * 步与步之间的空隙放在内容的下内边距里,竖线才能连上。 + */ +function railStep(list, index, count, spec, w, draw) { + const step = row(list, "Step " + (index + 1), { align: "start", gap: 4 }); + const rail = col(step, "Rail", { width: spec.col, height: "fill_container", align: "center" }); + I(rail, { type: "rectangle", name: "Up", width: spec.line, height: spec.up, fill: solid(index === 0 ? C.card : spec.color) }); + const dot = { type: "ellipse", name: "Dot", width: spec.dot, height: spec.dot, fill: solid(spec.fill) }; + if (spec.stroke) + dot.stroke = { thickness: 1, fill: solid(spec.stroke) }; + I(rail, dot); + I(rail, { type: "rectangle", name: "Down", width: spec.line, height: "fill_container", fill: solid(index === count - 1 ? C.card : spec.color) }); + const body = col(step, "Body", { gap: 2, padding: [0, 0, spec.pad, 0] }); + draw(body, w - spec.col - 4); +} + +/** 一步里的一行:方法名列(或「注释」标签)加值列。 */ +function stepLine(body, drawKey, drawValue) { + const line = row(body, "Line", { align: "start", gap: 8 }); + const key = row(line, "Method", { width: METHOD_W, height: 20 }); + drawKey(key); + const value = col(line, "Value", { gap: 2 }); + drawValue(value); +} + +/** 实参本身是一条链:在值列里缩进成一条小轨道,一节一行。 */ +function miniChain(parent, w, parts) { + const list = col(parent, "Sub chain"); + parts.forEach((src, i) => railStep(list, i, parts.length, MINI, w, (body, bodyW) => code(body, src, bodyW))); +} + +function stepValue(value, w, step, open) { + if (step.sub) + return miniChain(value, w, step.sub); + if (step.closure) + return foldBox(value, open, closureSegs(step.closure)); + if (step.commands) { + const line = inline(value); + code(line, step.macro); + foldBox(line, false, [seg("命令 " + step.commands.length + " 个", C.desc)]); + return line; + } + return code(value, step.arg, w); +} + +// ─── 调用链卡片 ────────────────────────────────────────────────────────────── + +function chainHead(ctx) { + prop(ctx, "起点", rs(CHAIN.start)); + prop(ctx, "步骤", CHAIN.steps.length + " 个", { mono: false }); +} + +/** 方案 A:一步一行排在竖轨道上。expand 是展开的那一步(方法名),它的闭包体子块排在这一步下面。 */ +function chainCardA(parent, w, expand) { + const ctx = card(parent, KIND.chain, w, { fold: "open" }); + chainHead(ctx); + const list = col(ctx.content, "Steps", { padding: [4, 0, 0, 4] }); + CHAIN.steps.forEach((step, i) => { + const open = step.method === expand; + railStep(list, i, CHAIN.steps.length, RAIL, ctx.w - 4, (body, bodyW) => { + const valueW = bodyW - METHOD_W - 8; + stepLine(body, (key) => text(key, method(step.method, 600), { mono: true }), (value) => stepValue(value, valueW, step, open)); + if (step.note) + stepLine(body, (key) => text(key, "注释", { size: 12, color: C.desc }), (value) => text(value, step.note, { color: C.comment, maxW: valueW })); + if (open) { + const lv = level(body, bodyW); + drawBlocks(lv.list, lv.w, SETUP_BODY); + } + }); + }); + return ctx; +} + +/** 名字列表:每行放得下几个放几个,名字是链接色,逗号是前景色。 */ +function nameList(parent, w, names) { + const segs = []; + let lineW = 0; + names.forEach((name, i) => { + const piece = name + (i < names.length - 1 ? "," : ""); + const pw = widthOf(piece + " ", 13, true); + if (lineW > 0 && lineW + pw > w) { + segs.push(seg("\n", C.fg)); + lineW = 0; + } + else if (lineW > 0) + segs.push(seg(" ", C.fg)); + segs.push(seg(name, C.link)); + if (i < names.length - 1) + segs.push(seg(",", C.fg)); + lineW += pw; + }); + text(parent, segs, { mono: true, maxW: w }); +} + +/** 方案 B:连着的同名调用合成一组,每组一行属性,按源码顺序。 */ +function chainCardB(parent, w) { + const ctx = card(parent, KIND.chain, w, { fold: "open" }); + chainHead(ctx); + const byMethod = (name) => CHAIN.steps.find((s) => s.method === name); + prop(ctx, "插件", (frame) => { + const line = inline(frame); + text(line, method("plugin"), { mono: true }); + text(line, PLUGINS.length + " 个", { color: C.desc }); + }); + prop(ctx, "注释", PLUGIN_NOTE, { mono: false, color: C.comment }); + table(ctx.content, ctx.w, [{ name: "插件", width: 260, color: C.type }, { name: "配置" }], + PLUGINS.map((p) => [p.name, p.config ? rs(p.config) : [seg("—", C.dim)]])); + prop(ctx, "启动时", (frame) => { + const line = inline(frame); + text(line, method("setup"), { mono: true }); + foldBox(line, false, closureSegs(byMethod("setup").closure)); + }); + prop(ctx, "窗口事件", (frame) => { + const line = inline(frame); + text(line, method("on_window_event"), { mono: true }); + foldBox(line, false, closureSegs(byMethod("on_window_event").closure)); + }); + prop(ctx, "托管状态", (frame) => { + const line = inline(frame); + text(line, method("manage"), { mono: true }); + code(line, byMethod("manage").arg); + }); + prop(ctx, "命令", (frame, fw) => { + const line = inline(frame); + text(line, method("invoke_handler"), { mono: true }); + text(line, COMMANDS.length + " 个", { color: C.desc }); + nameList(frame, fw, COMMANDS); + }); + prop(ctx, "构建并运行", (frame, fw) => { + const parts = [ + (line) => code(line, ".build(" + byMethod("build").arg + ")", fw - 22), + (line) => code(line, ".expect(" + byMethod("expect").arg + ")", fw - 22), + (line) => { + text(line, method("run"), { mono: true }); + foldBox(line, false, closureSegs(byMethod("run").closure)); + }, + ]; + parts.forEach((draw, i) => { + const line = inline(frame, 6); + const arrow = row(line, "Arrow", { width: 16, height: 20 }); + if (i > 0) + text(arrow, "→", { color: C.desc }); + draw(line); + }); + }); + return ctx; +} + +/** 上下文:前一句 `let app_state` 的卡片只露出最下面一截,像预览往下滚过了它。 */ +function contextSlice(list, w) { + const viewport = box(list, "Context / app_state", { layout: "none", width: w, height: SLICE_H, clip: true }); + const ctx = card(viewport, KIND.variable, w, { name: APP_STATE.name, x: 0, y: SLICE_H - APP_STATE_H }); + prop(ctx, "名称", [seg(APP_STATE.name, C.variable, 600)]); + prop(ctx, "初始值", rs(APP_STATE.value)); +} + +/** 短链:变量卡片的初始值排成几步,一步一个动词加照抄的闭包参数。 */ +function shortChainCard(parent, w) { + const ctx = card(parent, KIND.variable, w, { fold: "open", name: SHORT.name }); + prop(ctx, "名称", [seg(SHORT.name, C.variable, 600)]); + prop(ctx, "类型", rs(SHORT.type)); + prop(ctx, "初始值", (frame, fw) => { + const list = col(frame, "Steps"); + SHORT.steps.forEach((step, i) => railStep(list, i, SHORT.steps.length, SHORT_RAIL, fw, (body) => { + const line = inline(body, 6); + const verb = row(line, "Verb", { width: 34, height: 20 }); + text(verb, step.verb, { color: C.fn }); + if (step.code) + code(line, step.code); + })); + }); +} + +// ─── 画板 ──────────────────────────────────────────────────────────────────── + +function boardRoot(index, name, o) { + const opt = o || {}; + return I(null, { + type: "frame", + name, + x: index * (BOARD_W + BOARD_GAP), + y: 0, + width: BOARD_W, + height: opt.height || "fit_content", + layout: "vertical", + gap: 0, + padding: opt.padding, + fill: solid(C.editor), + clipContent: true, + }); +} + +/** run 函数体里的最后两句:露一角的 app_state,下面是调用链卡片。 */ +function inRunBody(root, drawChain) { + const lv = level(root, BOARD_W - BOARD_PAD * 2); + contextSlice(lv.list, lv.w); + drawChain(lv.list, lv.w); +} + +const RUN_PAD = [0, BOARD_PAD, BOARD_PAD, BOARD_PAD]; +inRunBody(boardRoot(0, "Prototype / 调用链 · 方案A 步骤轨道", { padding: RUN_PAD }), (list, w) => chainCardA(list, w)); +inRunBody(boardRoot(1, "Prototype / 调用链 · 方案B 按方法分组", { padding: RUN_PAD }), (list, w) => chainCardB(list, w)); +inRunBody(boardRoot(2, "Prototype / 调用链 · 方案A 展开 setup", { padding: RUN_PAD, height: SETUP_BOARD_H }), (list, w) => chainCardA(list, w, "setup")); +shortChainCard(boardRoot(3, "Prototype / 调用链 · 短链 变量初始值", { padding: BOARD_PAD }), BOARD_W - BOARD_PAD * 2); diff --git a/docs/prototype/code-reader/openpencil/rust-chain.op b/docs/prototype/code-reader/openpencil/rust-chain.op new file mode 100644 index 0000000..35644c2 --- /dev/null +++ b/docs/prototype/code-reader/openpencil/rust-chain.op @@ -0,0 +1,19191 @@ +{ + "version": "0.8.4", + "name": "OpenPencil CLI Session", + "children": [ + { + "type": "frame", + "id": "n1", + "name": "Prototype / 调用链 · 方案A 步骤轨道", + "x": 0.0, + "y": 0.0, + "width": 1100.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 0.0, + 20.0, + 20.0, + 20.0 + ], + "clipContent": true, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n2", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n3", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n4", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n5", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n6", + "name": "Context / app_state", + "width": 1040.0, + "height": 32.0, + "layout": "none", + "gap": 0.0, + "clipContent": true, + "children": [ + { + "type": "frame", + "id": "n7", + "name": "变量 / app_state", + "x": 0.0, + "y": -28.0, + "width": 1040.0, + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n8", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n9", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n10", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n11", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n12", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n13", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n14", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n15", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n16", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n17", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n18", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n19", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n20", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n21", + "name": "AppState { connection: ConnectionSlot::d", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "AppState", + "fill": "#4ec9b0" + }, + { + "text": " { ", + "fill": "#cccccc" + }, + { + "text": "connection", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "ConnectionSlot", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "(), ", + "fill": "#cccccc" + }, + { + "text": "linked", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "Mutex", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + }, + { + "text": ") }", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n22", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n23", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n24", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n25", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n26", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n27", + "name": "调用链", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n28", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n29", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n30", + "name": "Kind / 调用链", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n31", + "name": "workflow", + "iconFontName": "workflow", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n32", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n33", + "name": "Prop / 起点", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n34", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n35", + "name": "起点", + "width": "fit_content", + "height": "fit_content", + "content": "起点", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n36", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n37", + "name": "tauri::Builder::default()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n38", + "name": "Prop / 步骤", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n39", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n40", + "name": "步骤", + "width": "fit_content", + "height": "fit_content", + "content": "步骤", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n41", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n42", + "name": "12 个", + "width": "fit_content", + "height": "fit_content", + "content": "12 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n43", + "name": "Steps", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 4.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n44", + "name": "Step 1", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n45", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n46", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n47", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n48", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n49", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n50", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n51", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n52", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n53", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n54", + "name": "Sub chain", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n55", + "name": "Step 1", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n56", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n57", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n58", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n59", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n60", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n61", + "name": "tauri_plugin_opener::Builder::new()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_opener", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n62", + "name": "Step 2", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n63", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n64", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n65", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n66", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n67", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n68", + "name": ".open_js_links_on_click(false)", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "open_js_links_on_click", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "false", + "fill": "#569cd6" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n69", + "name": "Step 3", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n70", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n71", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n72", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n73", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n74", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n75", + "name": ".build()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n76", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n77", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n78", + "name": "注释", + "width": "fit_content", + "height": "fit_content", + "content": "注释", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n79", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n80", + "name": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会", + "width": "fit_content", + "height": "fit_content", + "content": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会注进远程网页版, 在那里调 open_url 没有权限", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n81", + "name": "Step 2", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n82", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n83", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n84", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n85", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n86", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n87", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n88", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n89", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n90", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n91", + "name": "tauri_plugin_dialog::init()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_dialog", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "init", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n92", + "name": "Step 3", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n93", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n94", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n95", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n96", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n97", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n98", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n99", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n100", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n101", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n102", + "name": "tauri_plugin_autostart::init(tauri_plugi", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_autostart", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "init", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "tauri_plugin_autostart", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "MacosLauncher", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "LaunchAgent", + "fill": "#4ec9b0" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n103", + "name": "Step 4", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n104", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n105", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n106", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n107", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n108", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n109", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n110", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n111", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n112", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n113", + "name": "tauri_plugin_global_shortcut::Builder::n", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_global_shortcut", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n114", + "name": "Step 5", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n115", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n116", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n117", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n118", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n119", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n120", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n121", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n122", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n123", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n124", + "name": "tauri_plugin_updater::Builder::new().bui", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_updater", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n125", + "name": "Step 6", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n126", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n127", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n128", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n129", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n130", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n131", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n132", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n133", + "name": ".setup", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "setup", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n134", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n135", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n136", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n137", + "name": "闭包 |app| · 37 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 37 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n138", + "name": "Step 7", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n139", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n140", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n141", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n142", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n143", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n144", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n145", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n146", + "name": ".on_window_event", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "on_window_event", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n147", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n148", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n149", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n150", + "name": "闭包 |window, event| · 1 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "window", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 1 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n151", + "name": "Step 8", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n152", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n153", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n154", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n155", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n156", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n157", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n158", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n159", + "name": ".manage", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n160", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n161", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n162", + "name": "Step 9", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n163", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n164", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n165", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n166", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n167", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n168", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n169", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n170", + "name": ".invoke_handler", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "invoke_handler", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n171", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n172", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n173", + "name": "tauri::generate_handler!", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "generate_handler", + "fill": "#dcdcaa" + }, + { + "text": "!", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n174", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n175", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n176", + "name": "命令 18 个", + "width": "fit_content", + "height": "fit_content", + "content": "命令 18 个", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n177", + "name": "Step 10", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n178", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n179", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n180", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n181", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n182", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n183", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n184", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n185", + "name": ".build", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "build", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n186", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n187", + "name": "tauri::generate_context!()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "generate_context", + "fill": "#dcdcaa" + }, + { + "text": "!()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n188", + "name": "Step 11", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n189", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n190", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n191", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n192", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n193", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n194", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n195", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n196", + "name": ".expect", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "expect", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n197", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n198", + "name": "\"error while building tauri application\"", + "width": "fit_content", + "height": "fit_content", + "content": "\"error while building tauri application\"", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n199", + "name": "Step 12", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n200", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n201", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n202", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n203", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n204", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n205", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n206", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n207", + "name": ".run", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "run", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n208", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n209", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n210", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n211", + "name": "闭包 |app, event| · match event · 3 支", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · ", + "fill": "#9d9d9d" + }, + { + "text": "match", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": " · 3 支", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n212", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n213", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n214", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n215", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n216", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n217", + "name": "Prototype / 调用链 · 方案B 按方法分组", + "x": 1180.0, + "y": 0.0, + "width": 1100.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 0.0, + 20.0, + 20.0, + 20.0 + ], + "clipContent": true, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n218", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n219", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n220", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n221", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n222", + "name": "Context / app_state", + "width": 1040.0, + "height": 32.0, + "layout": "none", + "gap": 0.0, + "clipContent": true, + "children": [ + { + "type": "frame", + "id": "n223", + "name": "变量 / app_state", + "x": 0.0, + "y": -28.0, + "width": 1040.0, + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n224", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n225", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n226", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n227", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n228", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n229", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n230", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n231", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n232", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n233", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n234", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n235", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n236", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n237", + "name": "AppState { connection: ConnectionSlot::d", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "AppState", + "fill": "#4ec9b0" + }, + { + "text": " { ", + "fill": "#cccccc" + }, + { + "text": "connection", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "ConnectionSlot", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "(), ", + "fill": "#cccccc" + }, + { + "text": "linked", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "Mutex", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + }, + { + "text": ") }", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n238", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n239", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n240", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n241", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n242", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n243", + "name": "调用链", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n244", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n245", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n246", + "name": "Kind / 调用链", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n247", + "name": "workflow", + "iconFontName": "workflow", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n248", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n249", + "name": "Prop / 起点", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n250", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n251", + "name": "起点", + "width": "fit_content", + "height": "fit_content", + "content": "起点", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n252", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n253", + "name": "tauri::Builder::default()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n254", + "name": "Prop / 步骤", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n255", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n256", + "name": "步骤", + "width": "fit_content", + "height": "fit_content", + "content": "步骤", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n257", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n258", + "name": "12 个", + "width": "fit_content", + "height": "fit_content", + "content": "12 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n259", + "name": "Prop / 插件", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n260", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n261", + "name": "插件", + "width": "fit_content", + "height": "fit_content", + "content": "插件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n262", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n263", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n264", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n265", + "name": "5 个", + "width": "fit_content", + "height": "fit_content", + "content": "5 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n266", + "name": "Prop / 注释", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n267", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n268", + "name": "注释", + "width": "fit_content", + "height": "fit_content", + "content": "注释", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n269", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n270", + "name": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会", + "width": "fit_content", + "height": "fit_content", + "content": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会注进远程网页版, 在那里调 open_url 没有权限", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n271", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n272", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n273", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n274", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n275", + "name": "插件", + "width": "fit_content", + "height": "fit_content", + "content": "插件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n276", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n277", + "name": "配置", + "width": "fit_content", + "height": "fit_content", + "content": "配置", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n278", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n279", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n280", + "name": "tauri_plugin_opener", + "width": "fit_content", + "height": "fit_content", + "content": "tauri_plugin_opener", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n281", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n282", + "name": "open_js_links_on_click(false)", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "open_js_links_on_click", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "false", + "fill": "#569cd6" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n283", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n284", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n285", + "name": "tauri_plugin_dialog", + "width": "fit_content", + "height": "fit_content", + "content": "tauri_plugin_dialog", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n286", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n287", + "name": "—", + "width": "fit_content", + "height": "fit_content", + "content": "—", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n288", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n289", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n290", + "name": "tauri_plugin_autostart", + "width": "fit_content", + "height": "fit_content", + "content": "tauri_plugin_autostart", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n291", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n292", + "name": "tauri_plugin_autostart::MacosLauncher::L", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_autostart", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "MacosLauncher", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "LaunchAgent", + "fill": "#4ec9b0" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n293", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n294", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n295", + "name": "tauri_plugin_global_shortcut", + "width": "fit_content", + "height": "fit_content", + "content": "tauri_plugin_global_shortcut", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n296", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n297", + "name": "—", + "width": "fit_content", + "height": "fit_content", + "content": "—", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n298", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n299", + "name": "插件", + "width": 260.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n300", + "name": "tauri_plugin_updater", + "width": "fit_content", + "height": "fit_content", + "content": "tauri_plugin_updater", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#4ec9b0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n301", + "name": "配置", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n302", + "name": "—", + "width": "fit_content", + "height": "fit_content", + "content": "—", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6e7681" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n303", + "name": "Prop / 启动时", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n304", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n305", + "name": "启动时", + "width": "fit_content", + "height": "fit_content", + "content": "启动时", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n306", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n307", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n308", + "name": ".setup", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "setup", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n309", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n310", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n311", + "name": "闭包 |app| · 37 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 37 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n312", + "name": "Prop / 窗口事件", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n313", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n314", + "name": "窗口事件", + "width": "fit_content", + "height": "fit_content", + "content": "窗口事件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n315", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n316", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n317", + "name": ".on_window_event", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "on_window_event", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n318", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n319", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n320", + "name": "闭包 |window, event| · 1 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "window", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 1 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n321", + "name": "Prop / 托管状态", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n322", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n323", + "name": "托管状态", + "width": "fit_content", + "height": "fit_content", + "content": "托管状态", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n324", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n325", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n326", + "name": ".manage", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n327", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n328", + "name": "Prop / 命令", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n329", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n330", + "name": "命令", + "width": "fit_content", + "height": "fit_content", + "content": "命令", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n331", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n332", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n333", + "name": ".invoke_handler", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "invoke_handler", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "text", + "id": "n334", + "name": "18 个", + "width": "fit_content", + "height": "fit_content", + "content": "18 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n335", + "name": "device_resume, device_connect, device_di", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "device_resume", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "device_connect", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "device_disconnect", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "settings_get", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "settings_set", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "workspace_move", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": "\n", + "fill": "#cccccc" + }, + { + "text": "open_workspace", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "desktop_state", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "desktop_activity", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "web::preview_open", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "web::preview_embed", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": "\n", + "fill": "#cccccc" + }, + { + "text": "update_check", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "update_install", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "screen_permission_get", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "notice::desktop_notify", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": "\n", + "fill": "#cccccc" + }, + { + "text": "screen_permission_open", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "app_restart", + "fill": "#4daafc" + }, + { + "text": ",", + "fill": "#cccccc" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "web::retry_connect", + "fill": "#4daafc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n336", + "name": "Prop / 构建并运行", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n337", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n338", + "name": "构建并运行", + "width": "fit_content", + "height": "fit_content", + "content": "构建并运行", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n339", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n340", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n341", + "name": "Arrow", + "width": 16.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "text", + "id": "n342", + "name": ".build(tauri::generate_context!())", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "generate_context", + "fill": "#dcdcaa" + }, + { + "text": "!())", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n343", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n344", + "name": "Arrow", + "width": 16.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n345", + "name": "→", + "width": "fit_content", + "height": "fit_content", + "content": "→", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n346", + "name": ".expect(\"error while building tauri appl", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "expect", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "\"error while building tauri application\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n347", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n348", + "name": "Arrow", + "width": 16.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n349", + "name": "→", + "width": "fit_content", + "height": "fit_content", + "content": "→", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "text", + "id": "n350", + "name": ".run", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "run", + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n351", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n352", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n353", + "name": "闭包 |app, event| · match event · 3 支", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · ", + "fill": "#9d9d9d" + }, + { + "text": "match", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": " · 3 支", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n354", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n355", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n356", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n357", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n358", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n359", + "name": "Prototype / 调用链 · 方案A 展开 setup", + "x": 2360.0, + "y": 0.0, + "width": 1100.0, + "height": 1938.0, + "layout": "vertical", + "gap": 0.0, + "padding": [ + 0.0, + 20.0, + 20.0, + 20.0 + ], + "clipContent": true, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n360", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n361", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n362", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n363", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n364", + "name": "Context / app_state", + "width": 1040.0, + "height": 32.0, + "layout": "none", + "gap": 0.0, + "clipContent": true, + "children": [ + { + "type": "frame", + "id": "n365", + "name": "变量 / app_state", + "x": 0.0, + "y": -28.0, + "width": 1040.0, + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n366", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n367", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n368", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n369", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n370", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n371", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n372", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n373", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n374", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n375", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n376", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n377", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n378", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n379", + "name": "AppState { connection: ConnectionSlot::d", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "AppState", + "fill": "#4ec9b0" + }, + { + "text": " { ", + "fill": "#cccccc" + }, + { + "text": "connection", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "ConnectionSlot", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "(), ", + "fill": "#cccccc" + }, + { + "text": "linked", + "fill": "#9cdcfe" + }, + { + "text": ": ", + "fill": "#cccccc" + }, + { + "text": "Mutex", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + }, + { + "text": ") }", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n380", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n381", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n382", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n383", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n384", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n385", + "name": "调用链", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n386", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n387", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n388", + "name": "Kind / 调用链", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n389", + "name": "workflow", + "iconFontName": "workflow", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n390", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n391", + "name": "Prop / 起点", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n392", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n393", + "name": "起点", + "width": "fit_content", + "height": "fit_content", + "content": "起点", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n394", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n395", + "name": "tauri::Builder::default()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "default", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n396", + "name": "Prop / 步骤", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n397", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n398", + "name": "步骤", + "width": "fit_content", + "height": "fit_content", + "content": "步骤", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n399", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n400", + "name": "12 个", + "width": "fit_content", + "height": "fit_content", + "content": "12 个", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n401", + "name": "Steps", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 4.0, + 0.0, + 0.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n402", + "name": "Step 1", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n403", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n404", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n405", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n406", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n407", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n408", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n409", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n410", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n411", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n412", + "name": "Sub chain", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n413", + "name": "Step 1", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n414", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n415", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n416", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n417", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n418", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n419", + "name": "tauri_plugin_opener::Builder::new()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_opener", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n420", + "name": "Step 2", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n421", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n422", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n423", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n424", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n425", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n426", + "name": ".open_js_links_on_click(false)", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "open_js_links_on_click", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "false", + "fill": "#569cd6" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n427", + "name": "Step 3", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n428", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n429", + "name": "Up", + "width": 1.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#5a5a5a" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n430", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + }, + { + "type": "rectangle", + "id": "n431", + "name": "Down", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n432", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n433", + "name": ".build()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n434", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n435", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n436", + "name": "注释", + "width": "fit_content", + "height": "fit_content", + "content": "注释", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n437", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n438", + "name": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会", + "width": "fit_content", + "height": "fit_content", + "content": "新窗口链接只走主窗口 on_new_window 一条路; 插件自带的点击脚本会注进远程网页版, 在那里调 open_url 没有权限", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n439", + "name": "Step 2", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n440", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n441", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n442", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n443", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n444", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n445", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n446", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n447", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n448", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n449", + "name": "tauri_plugin_dialog::init()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_dialog", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "init", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n450", + "name": "Step 3", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n451", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n452", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n453", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n454", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n455", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n456", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n457", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n458", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n459", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n460", + "name": "tauri_plugin_autostart::init(tauri_plugi", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_autostart", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "init", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "tauri_plugin_autostart", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "MacosLauncher", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "LaunchAgent", + "fill": "#4ec9b0" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "None", + "fill": "#4ec9b0" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n461", + "name": "Step 4", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n462", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n463", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n464", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n465", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n466", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n467", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n468", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n469", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n470", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n471", + "name": "tauri_plugin_global_shortcut::Builder::n", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_global_shortcut", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n472", + "name": "Step 5", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n473", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n474", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n475", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n476", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n477", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n478", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n479", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n480", + "name": ".plugin", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "plugin", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n481", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n482", + "name": "tauri_plugin_updater::Builder::new().bui", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri_plugin_updater", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Builder", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "build", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n483", + "name": "Step 6", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n484", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n485", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n486", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n487", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n488", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n489", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n490", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n491", + "name": ".setup", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "setup", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n492", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n493", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n494", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n495", + "name": "闭包 |app| · 37 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 37 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n496", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n497", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n498", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n499", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n500", + "name": "变量 / store", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n501", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n502", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n503", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n504", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n505", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n506", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n507", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n508", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n509", + "name": "store", + "width": "fit_content", + "height": "fit_content", + "content": "store", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n510", + "name": "Prop / 注释", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n511", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n512", + "name": "注释", + "width": "fit_content", + "height": "fit_content", + "content": "注释", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n513", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n514", + "name": "记下的转发按原端口先开起来: 执行器重启后, 跑着的开发服务器重连就能接上", + "width": "fit_content", + "height": "fit_content", + "content": "记下的转发按原端口先开起来: 执行器重启后, 跑着的开发服务器重连就能接上", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#6a9955" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n515", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n516", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n517", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n518", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n519", + "name": "app.path().app_data_dir()?.join(\"tunnels", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "path", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "app_data_dir", + "fill": "#dcdcaa" + }, + { + "text": "()?.", + "fill": "#cccccc" + }, + { + "text": "join", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "\"tunnels.json\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n520", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n521", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n522", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n523", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n524", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n525", + "name": "变量 / tunnels", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n526", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n527", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n528", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n529", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n530", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n531", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n532", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n533", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n534", + "name": "tunnels", + "width": "fit_content", + "height": "fit_content", + "content": "tunnels", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n535", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n536", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n537", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n538", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n539", + "name": "Arc::new(Tunnels::new(store))", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "Tunnels", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "store", + "fill": "#9cdcfe" + }, + { + "text": "))", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n540", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n541", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n542", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n543", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n544", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n545", + "name": "变量 / restoring", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n546", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n547", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n548", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n549", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n550", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n551", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n552", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n553", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n554", + "name": "restoring", + "width": "fit_content", + "height": "fit_content", + "content": "restoring", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n555", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n556", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n557", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n558", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n559", + "name": "Arc::clone(&tunnels)", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "clone", + "fill": "#dcdcaa" + }, + { + "text": "(&", + "fill": "#cccccc" + }, + { + "text": "tunnels", + "fill": "#9cdcfe" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n560", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n561", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n562", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n563", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n564", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n565", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n566", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n567", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n568", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n569", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n570", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n571", + "name": "tauri::async_runtime::spawn(async move {", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "async_runtime", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "spawn", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "async", + "fill": "#569cd6" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "move", + "fill": "#569cd6" + }, + { + "text": " { ", + "fill": "#cccccc" + }, + { + "text": "restoring", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "restore", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "await", + "fill": "#c586c0" + }, + { + "text": " });", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n572", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n573", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n574", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n575", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n576", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n577", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n578", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n579", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n580", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n581", + "name": "返回", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n582", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n583", + "name": "Kind / 返回", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n584", + "name": "corner-down-left", + "iconFontName": "corner-down-left", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n585", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n586", + "name": "返回 restoring.restore().await", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "返回 ", + "fill": "#c586c0" + }, + { + "text": "restoring", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "restore", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "await", + "fill": "#c586c0" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n587", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n588", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n589", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n590", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n591", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n592", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n593", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n594", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n595", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n596", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n597", + "name": "app.manage(tunnels);", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "tunnels", + "fill": "#9cdcfe" + }, + { + "text": ");", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n598", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n599", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n600", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n601", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n602", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n603", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n604", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n605", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n606", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n607", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n608", + "name": "Prop / 编译条件", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n609", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n610", + "name": "编译条件", + "width": "fit_content", + "height": "fit_content", + "content": "编译条件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n611", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n612", + "name": "目标系统 macos", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "目标系统 ", + "fill": "#cccccc" + }, + { + "text": "macos", + "fill": "#ce9178" + } + ], + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "text", + "id": "n613", + "name": "调用 app.manage · 1 个参数;", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + }, + { + "text": ";", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n614", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n615", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n616", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n617", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n618", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n619", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n620", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n621", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n622", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n623", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n624", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n625", + "name": "调用 Arc::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n626", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n627", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n628", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n629", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n630", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n631", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n632", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n633", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n634", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n635", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n636", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n637", + "name": "调用 previewtls::PreviewTls::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "previewtls", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "PreviewTls", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n638", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n639", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n640", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n641", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n642", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n643", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n644", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n645", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n646", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n647", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n648", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n649", + "name": "app.path().app_data_dir()?.join(\"preview", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "path", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "app_data_dir", + "fill": "#dcdcaa" + }, + { + "text": "()?.", + "fill": "#cccccc" + }, + { + "text": "join", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "\"preview-tls\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n650", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n651", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n652", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n653", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n654", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n655", + "name": "变量 / credentials", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n656", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n657", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n658", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n659", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n660", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n661", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n662", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n663", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n664", + "name": "credentials", + "width": "fit_content", + "height": "fit_content", + "content": "credentials", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n665", + "name": "Prop / 编译条件", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n666", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n667", + "name": "编译条件", + "width": "fit_content", + "height": "fit_content", + "content": "编译条件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n668", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n669", + "name": "调试构建", + "width": "fit_content", + "height": "fit_content", + "content": "调试构建", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n670", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n671", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n672", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n673", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n674", + "name": "调用 credentials::FileStore::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "credentials", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "FileStore", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n675", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n676", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n677", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n678", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n679", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n680", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n681", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n682", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n683", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n684", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n685", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n686", + "name": "app.path().app_data_dir()?.join(\"dev-cre", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "path", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "app_data_dir", + "fill": "#dcdcaa" + }, + { + "text": "()?.", + "fill": "#cccccc" + }, + { + "text": "join", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "\"dev-credentials.json\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n687", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n688", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n689", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n690", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n691", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n692", + "name": "变量 / credentials", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n693", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n694", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n695", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n696", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n697", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n698", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n699", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n700", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n701", + "name": "credentials", + "width": "fit_content", + "height": "fit_content", + "content": "credentials", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n702", + "name": "Prop / 编译条件", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n703", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n704", + "name": "编译条件", + "width": "fit_content", + "height": "fit_content", + "content": "编译条件", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n705", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n706", + "name": "非 调试构建", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "非", + "fill": "#569cd6" + }, + { + "text": " 调试构建", + "fill": "#cccccc" + } + ], + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n707", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n708", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n709", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n710", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n711", + "name": "credentials::Keychain", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "credentials", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Keychain", + "fill": "#4ec9b0" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n712", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n713", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n714", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n715", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n716", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n717", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n718", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n719", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n720", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n721", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n722", + "name": "app.manage(Arc::new(credentials) as Arc<", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "credentials", + "fill": "#9cdcfe" + }, + { + "text": ") ", + "fill": "#cccccc" + }, + { + "text": "as", + "fill": "#569cd6" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "<", + "fill": "#cccccc" + }, + { + "text": "dyn", + "fill": "#569cd6" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "CredentialStore", + "fill": "#4ec9b0" + }, + { + "text": ">);", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n723", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n724", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n725", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n726", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n727", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n728", + "name": "变量 / settings", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n729", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n730", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n731", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n732", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n733", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n734", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n735", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n736", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n737", + "name": "settings", + "width": "fit_content", + "height": "fit_content", + "content": "settings", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n738", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n739", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n740", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n741", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n742", + "name": "调用 Arc::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n743", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n744", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n745", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n746", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n747", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n748", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n749", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n750", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n751", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n752", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n753", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n754", + "name": "调用 settings::Store::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "settings", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "Store", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n755", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n756", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n757", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n758", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n759", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n760", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n761", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n762", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n763", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n764", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n765", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n766", + "name": "app.path().app_data_dir()?.join(\"setting", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "path", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "app_data_dir", + "fill": "#dcdcaa" + }, + { + "text": "()?.", + "fill": "#cccccc" + }, + { + "text": "join", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "\"settings.json\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n767", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n768", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n769", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n770", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n771", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n772", + "name": "变量 / root", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n773", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n774", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n775", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n776", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n777", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n778", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n779", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n780", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n781", + "name": "root", + "width": "fit_content", + "height": "fit_content", + "content": "root", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n782", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n783", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n784", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n785", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n786", + "name": "settings.get().workspace_root", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "settings", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "get", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "workspace_root", + "fill": "#9cdcfe" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n787", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n788", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n789", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n790", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n791", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n792", + "name": "变量 / hub", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n793", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n794", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n795", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n796", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n797", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n798", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n799", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n800", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n801", + "name": "hub", + "width": "fit_content", + "height": "fit_content", + "content": "hub", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n802", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n803", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n804", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n805", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n806", + "name": "调用 Arc::new · 1 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 1 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n807", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n808", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n809", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n810", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n811", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n812", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n813", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n814", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n815", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n816", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n817", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n818", + "name": "调用 Hub::new · 3 个参数", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "Hub", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#9cdcfe" + }, + { + "text": " · 3 个参数", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n819", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n820", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n821", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n822", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n823", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n824", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n825", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n826", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n827", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n828", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n829", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n830", + "name": "machine::facts(&root)", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "machine", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "facts", + "fill": "#dcdcaa" + }, + { + "text": "(&", + "fill": "#cccccc" + }, + { + "text": "root", + "fill": "#9cdcfe" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n831", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n832", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n833", + "name": "第 2 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 2 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n834", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n835", + "name": "root", + "width": "fit_content", + "height": "fit_content", + "content": "root", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n836", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n837", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n838", + "name": "第 3 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 3 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n839", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n840", + "name": "Arc::new(state::WindowEvents(app.handle(", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "Arc", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "new", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "state", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "WindowEvents", + "fill": "#4ec9b0" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "handle", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "clone", + "fill": "#dcdcaa" + }, + { + "text": "()))", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n841", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n842", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n843", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n844", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n845", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n846", + "name": "如果", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n847", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n848", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n849", + "name": "Kind / 如果", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n850", + "name": "split", + "iconFontName": "split", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#c586c0" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n851", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n852", + "name": "如果 令 Some(e) = settings.load_error()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "如果 令 ", + "fill": "#c586c0" + }, + { + "text": "Some", + "fill": "#4ec9b0" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "e", + "fill": "#9cdcfe" + }, + { + "text": ") = ", + "fill": "#cccccc" + }, + { + "text": "settings", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "load_error", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n853", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n854", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n855", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n856", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n857", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n858", + "name": "Level", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n859", + "name": "Guide", + "width": 12.0, + "height": "fill_container", + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n860", + "name": "Line", + "width": 1.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#404040" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n861", + "name": "Blocks", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 8.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n862", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n863", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n864", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n865", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n866", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n867", + "name": "调用 hub.activity · 3 个参数;", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "调用", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "hub", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "activity", + "fill": "#9cdcfe" + }, + { + "text": " · 3 个参数", + "fill": "#9d9d9d" + }, + { + "text": ";", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n868", + "name": "Table wrap", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": [ + 2.0, + 0.0, + 2.0, + 4.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n869", + "name": "Table", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": true, + "cornerRadius": 4.0, + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n870", + "name": "Header", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "fill": [ + { + "type": "solid", + "color": "#181818" + } + ], + "children": [ + { + "type": "frame", + "id": "n871", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n872", + "name": "参数", + "width": "fit_content", + "height": "fit_content", + "content": "参数", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n873", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n874", + "name": "值", + "width": "fit_content", + "height": "fit_content", + "content": "值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n875", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n876", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n877", + "name": "第 1 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 1 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n878", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n879", + "name": "\"warn\"", + "width": "fit_content", + "height": "fit_content", + "content": "\"warn\"", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n880", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n881", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n882", + "name": "第 2 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 2 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n883", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n884", + "name": "\"settings\"", + "width": "fit_content", + "height": "fit_content", + "content": "\"settings\"", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n885", + "name": "Row", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 0.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n886", + "name": "参数", + "width": 76.0, + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n887", + "name": "第 3 个", + "width": "fit_content", + "height": "fit_content", + "content": "第 3 个", + "fontFamily": "PingFang SC", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n888", + "name": "值", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "padding": [ + 3.0, + 8.0 + ], + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n889", + "name": "&format!(\"设置文件读不出来, 已按缺省: {e}\")", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "&", + "fill": "#cccccc" + }, + { + "text": "format", + "fill": "#dcdcaa" + }, + { + "text": "!(", + "fill": "#cccccc" + }, + { + "text": "\"设置文件读不出来, 已按缺省: {e}\"", + "fill": "#ce9178" + }, + { + "text": ")", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.6, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n890", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n891", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n892", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n893", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n894", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n895", + "name": "语句", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n896", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [] + }, + { + "type": "frame", + "id": "n897", + "name": "Kind / 语句", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n898", + "name": "code", + "iconFontName": "code", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n899", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n900", + "name": "apply_autostart(app.handle(), &hub, sett", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "apply_autostart", + "fill": "#dcdcaa" + }, + { + "text": "(", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "handle", + "fill": "#dcdcaa" + }, + { + "text": "(), &", + "fill": "#cccccc" + }, + { + "text": "hub", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "settings", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "get", + "fill": "#dcdcaa" + }, + { + "text": "().", + "fill": "#cccccc" + }, + { + "text": "autostart", + "fill": "#9cdcfe" + }, + { + "text": ");", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n901", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n902", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n903", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n904", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n905", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n906", + "name": "Step 7", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n907", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n908", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n909", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n910", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n911", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n912", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n913", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n914", + "name": ".on_window_event", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "on_window_event", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n915", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n916", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n917", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n918", + "name": "闭包 |window, event| · 1 句", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "window", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · 1 句", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n919", + "name": "Step 8", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n920", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n921", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n922", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n923", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n924", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n925", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n926", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n927", + "name": ".manage", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "manage", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n928", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n929", + "name": "app_state", + "width": "fit_content", + "height": "fit_content", + "content": "app_state", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n930", + "name": "Step 9", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n931", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n932", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n933", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n934", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n935", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n936", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n937", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n938", + "name": ".invoke_handler", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "invoke_handler", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n939", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n940", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 8.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n941", + "name": "tauri::generate_handler!", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "generate_handler", + "fill": "#dcdcaa" + }, + { + "text": "!", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + }, + { + "type": "frame", + "id": "n942", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n943", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n944", + "name": "命令 18 个", + "width": "fit_content", + "height": "fit_content", + "content": "命令 18 个", + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n945", + "name": "Step 10", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n946", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n947", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n948", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n949", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n950", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n951", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n952", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n953", + "name": ".build", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "build", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n954", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n955", + "name": "tauri::generate_context!()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "tauri", + "fill": "#4ec9b0" + }, + { + "text": "::", + "fill": "#cccccc" + }, + { + "text": "generate_context", + "fill": "#dcdcaa" + }, + { + "text": "!()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n956", + "name": "Step 11", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n957", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n958", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n959", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n960", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n961", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n962", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n963", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n964", + "name": ".expect", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "expect", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n965", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n966", + "name": "\"error while building tauri application\"", + "width": "fit_content", + "height": "fit_content", + "content": "\"error while building tauri application\"", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#ce9178" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n967", + "name": "Step 12", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n968", + "name": "Rail", + "width": 20.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n969", + "name": "Up", + "width": 2.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n970", + "name": "Dot", + "width": 8.0, + "height": 8.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n971", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n972", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 6.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n973", + "name": "Line", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 8.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n974", + "name": "Method", + "width": 140.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n975", + "name": ".run", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "run", + "fontWeight": 600, + "fill": "#dcdcaa" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n976", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n977", + "name": "Fold box", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 3.0, + "padding": [ + 0.0, + 6.0, + 0.0, + 3.0 + ], + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "fill": [ + { + "type": "solid", + "color": "#313131" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#3c3c3c" + } + ] + }, + "children": [ + { + "type": "icon_font", + "id": "n978", + "name": "chevron-right", + "iconFontName": "chevron-right", + "width": 13.0, + "height": 13.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + }, + { + "type": "text", + "id": "n979", + "name": "闭包 |app, event| · match event · 3 支", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "闭包 ", + "fill": "#9d9d9d" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "app", + "fill": "#9cdcfe" + }, + { + "text": ", ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": " · ", + "fill": "#9d9d9d" + }, + { + "text": "match", + "fill": "#c586c0" + }, + { + "text": " ", + "fill": "#cccccc" + }, + { + "text": "event", + "fill": "#9cdcfe" + }, + { + "text": " · 3 支", + "fill": "#9d9d9d" + } + ], + "fontFamily": "Menlo", + "fontSize": 12.5, + "fontWeight": 400, + "lineHeight": 1.44, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n980", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n981", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n982", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n983", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n984", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n985", + "name": "Prototype / 调用链 · 短链 变量初始值", + "x": 3540.0, + "y": 0.0, + "width": 1100.0, + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "padding": 20.0, + "clipContent": true, + "fill": [ + { + "type": "solid", + "color": "#1f1f1f" + } + ], + "children": [ + { + "type": "frame", + "id": "n986", + "name": "变量 / names", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 10.0, + "padding": [ + 8.0, + 10.0, + 8.0, + 8.0 + ], + "alignItems": "start", + "clipContent": false, + "cornerRadius": 8.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "stroke": { + "thickness": 1.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + }, + "children": [ + { + "type": "frame", + "id": "n987", + "name": "Fold", + "width": 14.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n988", + "name": "chevron-down", + "iconFontName": "chevron-down", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n989", + "name": "Kind / 变量", + "width": 18.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "icon_font", + "id": "n990", + "name": "variable", + "iconFontName": "variable", + "width": 18.0, + "height": 18.0, + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n991", + "name": "Content", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n992", + "name": "Prop / 名称", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n993", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n994", + "name": "名称", + "width": "fit_content", + "height": "fit_content", + "content": "名称", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n995", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n996", + "name": "names", + "width": "fit_content", + "height": "fit_content", + "content": "names", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 600, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n997", + "name": "Prop / 类型", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n998", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n999", + "name": "类型", + "width": "fit_content", + "height": "fit_content", + "content": "类型", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1000", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1001", + "name": "Vec", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "Vec", + "fill": "#4ec9b0" + }, + { + "text": "<", + "fill": "#cccccc" + }, + { + "text": "String", + "fill": "#4ec9b0" + }, + { + "text": ">", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1002", + "name": "Prop / 初始值", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 12.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1003", + "name": "Key", + "width": 72.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1004", + "name": "初始值", + "width": "fit_content", + "height": "fit_content", + "content": "初始值", + "fontFamily": "PingFang SC", + "fontSize": 12.0, + "fontWeight": 400, + "lineHeight": 1.6666666666666667, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1005", + "name": "Value", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 4.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1006", + "name": "Steps", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 0.0, + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1007", + "name": "Step 1", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1008", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n1009", + "name": "Up", + "width": 2.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n1010", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n1011", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n1012", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1013", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1014", + "name": "Verb", + "width": 34.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1015", + "name": "遍历", + "width": "fit_content", + "height": "fit_content", + "content": "遍历", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "text", + "id": "n1016", + "name": "rows", + "width": "fit_content", + "height": "fit_content", + "content": "rows", + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#9cdcfe" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1017", + "name": "Step 2", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1018", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n1019", + "name": "Up", + "width": 2.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n1020", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n1021", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n1022", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1023", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1024", + "name": "Verb", + "width": 34.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1025", + "name": "筛选", + "width": "fit_content", + "height": "fit_content", + "content": "筛选", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "text", + "id": "n1026", + "name": "|r| r.active", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "r", + "fill": "#9cdcfe" + }, + { + "text": "| ", + "fill": "#cccccc" + }, + { + "text": "r", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "active", + "fill": "#9cdcfe" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1027", + "name": "Step 3", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1028", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n1029", + "name": "Up", + "width": 2.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n1030", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n1031", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n1032", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1033", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1034", + "name": "Verb", + "width": 34.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1035", + "name": "映射", + "width": "fit_content", + "height": "fit_content", + "content": "映射", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + }, + { + "type": "text", + "id": "n1036", + "name": "|r| r.name.clone()", + "width": "fit_content", + "height": "fit_content", + "content": [ + { + "text": "|", + "fill": "#cccccc" + }, + { + "text": "r", + "fill": "#9cdcfe" + }, + { + "text": "| ", + "fill": "#cccccc" + }, + { + "text": "r", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "name", + "fill": "#9cdcfe" + }, + { + "text": ".", + "fill": "#cccccc" + }, + { + "text": "clone", + "fill": "#dcdcaa" + }, + { + "text": "()", + "fill": "#cccccc" + } + ], + "fontFamily": "Menlo", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#cccccc" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1037", + "name": "Step 4", + "width": "fill_container", + "height": "fit_content", + "layout": "horizontal", + "gap": 4.0, + "alignItems": "start", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1038", + "name": "Rail", + "width": 14.0, + "height": "fill_container", + "layout": "vertical", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "rectangle", + "id": "n1039", + "name": "Up", + "width": 2.0, + "height": 7.0, + "fill": [ + { + "type": "solid", + "color": "#646453" + } + ], + "children": [] + }, + { + "type": "ellipse", + "id": "n1040", + "name": "Dot", + "width": 6.0, + "height": 6.0, + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + }, + { + "type": "rectangle", + "id": "n1041", + "name": "Down", + "width": 2.0, + "height": "fill_container", + "fill": [ + { + "type": "solid", + "color": "#242424" + } + ], + "children": [] + } + ] + }, + { + "type": "frame", + "id": "n1042", + "name": "Body", + "width": "fill_container", + "height": "fit_content", + "layout": "vertical", + "gap": 2.0, + "padding": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1043", + "name": "Inline", + "width": "fill_container", + "height": 20.0, + "layout": "horizontal", + "gap": 6.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1044", + "name": "Verb", + "width": 34.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "text", + "id": "n1045", + "name": "收集", + "width": "fit_content", + "height": "fit_content", + "content": "收集", + "fontFamily": "PingFang SC", + "fontSize": 13.0, + "fontWeight": 400, + "lineHeight": 1.5384615384615383, + "textGrowth": "auto", + "fill": [ + { + "type": "solid", + "color": "#dcdcaa" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1046", + "name": "Tools", + "width": "fit_content", + "height": 20.0, + "layout": "horizontal", + "gap": 2.0, + "alignItems": "center", + "clipContent": false, + "children": [ + { + "type": "frame", + "id": "n1047", + "name": "sparkles", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1048", + "name": "sparkles", + "iconFontName": "sparkles", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + }, + { + "type": "frame", + "id": "n1049", + "name": "pencil", + "width": 22.0, + "height": 20.0, + "layout": "horizontal", + "gap": 0.0, + "justifyContent": "center", + "alignItems": "center", + "clipContent": false, + "cornerRadius": 4.0, + "children": [ + { + "type": "icon_font", + "id": "n1050", + "name": "pencil", + "iconFontName": "pencil", + "width": 14.0, + "height": 14.0, + "fill": [ + { + "type": "solid", + "color": "#9d9d9d" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "editorMeta": { + "activePageIndex": 0, + "preserveAuthoredGeometry": false + } +} \ No newline at end of file