diff --git a/README.md b/README.md index da3212f..705d7b4 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Timegrass Viewer ### 使用者需要注意 开发工具链配对正式 **Calcit CLI / @calcit/procs 0.42.1**,请重新安装完整模块图、生成 JS 并刷新。 -直接依赖使用已发布正式 Reel 0.11.0、UI 0.15.2、Respo 0.19.5、JS-FFI 0.2.13, -传递 Router 0.12.2。UI 升级可能影响细节样式,不承诺逐像素一致。 +直接依赖使用已发布正式 Reel 0.11.1、UI 0.15.3、Respo 0.19.9、JS-FFI 0.2.16, +传递 Router 0.12.7。UI 升级可能影响细节样式,不承诺逐像素一致。 其他 npm 版本保持,安装隔离期为一小时。 输入回调使用 RespoEvent,编辑状态用具名 EditorState,可选结果与错误使用 Option。应用的 dispatch 类型槽直接绑定 `Op | reel.typed/Control`。状态路径按 CoordKey 校验。任务和笔记从各自的解码入口进入泛型分组函数,源 EDN 的校验规则保持。开发模式的 Reel 面板在 managed memo 帧内构造,快捷键打开面板和 Merge 可正常工作。渲染、更新器和 Reel 回放使用具名 `Store`。保存时仍写出原有 Map,保留未知根字段。 diff --git a/calcit.cirru b/calcit.cirru index 64f60e1..f12d498 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -79,7 +79,7 @@ :schema $ quote $ Fn (reel.typed/State schema/Op schema/Store) Fn reel.typed/Control $ -> Unit -> respo.schema/Component - :features :js-ffi + :features :js-ffi :state 'comp-viewer $ %{} 'CodeEntry (:doc |) :code $ quote $ defcomp comp-viewer (data) let @@ -315,7 +315,7 @@ :doc "|Records an application operation received from Respo." :code $ quote $ defn dispatch! (op) (dispatch-resolved! op) :examples $ [] - :schema $ quote $ Fn schema/Op (-> Unit) + :schema $ quote $ Fn schema/Op (-> Unit) (:features :state) 'dispatch-resolved! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn dispatch-resolved! (op) reset! *reel $ match op @@ -347,7 +347,7 @@ 'on-control! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn on-control! (control) (dispatch-resolved! control) :examples $ [] - :schema $ quote $ Fn typed/Control (-> Unit) + :schema $ quote $ Fn typed/Control (-> Unit) (:features :state) 'persist-storage! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn persist-storage! () when-not @*storage-failed? $ js-ffi.browser/storage-set! |timegrass-viewer $ format-cirru-edn @@ -369,7 +369,7 @@ fn () $ comp-container @*reel on-control! , dispatch! :examples $ [] - :schema $ quote $ Fn (-> Unit) (:features :js-ffi :state) + :schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state) 'restore-storage! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn restore-storage! (raw) try diff --git a/deps.cirru b/deps.cirru index d89558c..86776df 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,6 +1,6 @@ {} (:calcit-version |0.42.1) :version |0.0.1 - :dependencies $ {} (|Respo/reel.calcit |0.11.0) - |Respo/respo-ui.calcit |0.15.2 - |Respo/respo.calcit |0.19.5 - |calcit-lang/js-ffi |0.2.13 + :dependencies $ {} (|Respo/reel.calcit |0.11.1) + |Respo/respo-ui.calcit |0.15.3 + |Respo/respo.calcit |0.19.9 + |calcit-lang/js-ffi |0.2.16