@melt-js/docs-all 2026.11.16-1 → 2026.11.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/404.html +5 -5
  2. package/dist/README.html +10 -10
  3. package/dist/assets/{README.md.3oyqMuS9.js → README.md.DhKcEW_7.js} +1 -1
  4. package/dist/assets/{README.md.3oyqMuS9.lean.js → README.md.DhKcEW_7.lean.js} +1 -1
  5. package/dist/assets/{app.DQbC6m_i.js → app.F2-Avr0J.js} +1 -1
  6. package/dist/assets/chunks/@localSearchIndexroot.DXFlel7a.js +1 -0
  7. package/dist/assets/chunks/{VPLocalSearchBox.Z-GU2mRG.js → VPLocalSearchBox.LhvELOMD.js} +2 -2
  8. package/dist/assets/chunks/{framework.DvDCk5Jp.js → framework.qU75dRxB.js} +1 -1
  9. package/dist/assets/chunks/{theme.B-moiCuV.js → theme.f6-9NYKe.js} +2 -2
  10. package/dist/assets/{guide_browser-esm.md.BqfODNTi.js → guide_browser-esm.md.CexU_fRZ.js} +1 -1
  11. package/dist/assets/{guide_browser-esm.md.BqfODNTi.lean.js → guide_browser-esm.md.CexU_fRZ.lean.js} +1 -1
  12. package/dist/assets/{guide_core.md.B-2GaTvv.js → guide_core.md.Cy4oOLrM.js} +1 -1
  13. package/dist/assets/{guide_core.md.B-2GaTvv.lean.js → guide_core.md.Cy4oOLrM.lean.js} +1 -1
  14. package/dist/assets/{guide_getting-started.md.BaUTrzhp.js → guide_getting-started.md.BTeUsIYn.js} +1 -1
  15. package/dist/assets/{guide_getting-started.md.BaUTrzhp.lean.js → guide_getting-started.md.BTeUsIYn.lean.js} +1 -1
  16. package/dist/assets/{guide_introduction.md.CJ35LSsk.js → guide_introduction.md.DbHnY0iE.js} +1 -1
  17. package/dist/assets/{guide_introduction.md.CJ35LSsk.lean.js → guide_introduction.md.DbHnY0iE.lean.js} +1 -1
  18. package/dist/assets/{guide_loading.md.eRhSGzPW.js → guide_loading.md.DXPJ5dne.js} +2 -2
  19. package/dist/assets/{guide_loading.md.eRhSGzPW.lean.js → guide_loading.md.DXPJ5dne.lean.js} +1 -1
  20. package/dist/assets/{guide_remote-components-migration.md.D9opXcKu.js → guide_remote-components-migration.md.CfBojXod.js} +1 -1
  21. package/dist/assets/{guide_remote-components-migration.md.D9opXcKu.lean.js → guide_remote-components-migration.md.CfBojXod.lean.js} +1 -1
  22. package/dist/assets/{index.md.H6vS8PKh.js → index.md.CHI5A_dl.js} +1 -1
  23. package/dist/assets/{index.md.H6vS8PKh.lean.js → index.md.CHI5A_dl.lean.js} +1 -1
  24. package/dist/assets/{modules_catalog_antd.md.wRZC0lxK.js → modules_catalog_antd.md.Bo7SBEIt.js} +1 -1
  25. package/dist/assets/{modules_catalog_antd.md.wRZC0lxK.lean.js → modules_catalog_antd.md.Bo7SBEIt.lean.js} +1 -1
  26. package/dist/assets/{modules_catalog_art.md.BUIzlI0Q.js → modules_catalog_art.md.DV6UFGT7.js} +1 -1
  27. package/dist/assets/{modules_catalog_art.md.BUIzlI0Q.lean.js → modules_catalog_art.md.DV6UFGT7.lean.js} +1 -1
  28. package/dist/assets/{modules_catalog_bag.md.CzpNJ01F.js → modules_catalog_bag.md.DGaUWUT2.js} +1 -1
  29. package/dist/assets/{modules_catalog_bag.md.CzpNJ01F.lean.js → modules_catalog_bag.md.DGaUWUT2.lean.js} +1 -1
  30. package/dist/assets/{modules_catalog_basic.md.BsMKhB-I.js → modules_catalog_basic.md.agdjRCNL.js} +1 -1
  31. package/dist/assets/{modules_catalog_basic.md.BsMKhB-I.lean.js → modules_catalog_basic.md.agdjRCNL.lean.js} +1 -1
  32. package/dist/assets/{modules_catalog_core.md.C7M53s-5.js → modules_catalog_core.md.BLxyo-Ea.js} +1 -1
  33. package/dist/assets/{modules_catalog_core.md.C7M53s-5.lean.js → modules_catalog_core.md.BLxyo-Ea.lean.js} +1 -1
  34. package/dist/assets/{modules_catalog_datav.md.Bq7W-fjl.js → modules_catalog_datav.md.Cs2ZcEOi.js} +1 -1
  35. package/dist/assets/{modules_catalog_datav.md.Bq7W-fjl.lean.js → modules_catalog_datav.md.Cs2ZcEOi.lean.js} +1 -1
  36. package/dist/assets/{modules_catalog_element.md.Cb4j88LA.js → modules_catalog_element.md.BOhg5UCa.js} +1 -1
  37. package/dist/assets/{modules_catalog_element.md.Cb4j88LA.lean.js → modules_catalog_element.md.BOhg5UCa.lean.js} +1 -1
  38. package/dist/assets/{modules_catalog_fan.md.ByMAfMFa.js → modules_catalog_fan.md.DM-_cUln.js} +1 -1
  39. package/dist/assets/{modules_catalog_fan.md.ByMAfMFa.lean.js → modules_catalog_fan.md.DM-_cUln.lean.js} +1 -1
  40. package/dist/assets/{modules_catalog_finance.md.D0s5j4M-.js → modules_catalog_finance.md.Bil6fi8q.js} +1 -1
  41. package/dist/assets/{modules_catalog_finance.md.D0s5j4M-.lean.js → modules_catalog_finance.md.Bil6fi8q.lean.js} +1 -1
  42. package/dist/assets/{modules_catalog_iot.md.DjHegJUC.js → modules_catalog_iot.md.sax5E-JG.js} +1 -1
  43. package/dist/assets/{modules_catalog_iot.md.DjHegJUC.lean.js → modules_catalog_iot.md.sax5E-JG.lean.js} +1 -1
  44. package/dist/assets/{modules_catalog_leva.md.C6g1IIMg.js → modules_catalog_leva.md.DArN8WeP.js} +1 -1
  45. package/dist/assets/{modules_catalog_leva.md.C6g1IIMg.lean.js → modules_catalog_leva.md.DArN8WeP.lean.js} +1 -1
  46. package/dist/assets/{modules_catalog_medical.md.CYkl61KJ.js → modules_catalog_medical.md.CODEMAnE.js} +1 -1
  47. package/dist/assets/{modules_catalog_medical.md.CYkl61KJ.lean.js → modules_catalog_medical.md.CODEMAnE.lean.js} +1 -1
  48. package/dist/assets/{modules_catalog_picker.md.CLJxDkqS.js → modules_catalog_picker.md.CcLQZdXG.js} +1 -1
  49. package/dist/assets/{modules_catalog_picker.md.CLJxDkqS.lean.js → modules_catalog_picker.md.CcLQZdXG.lean.js} +1 -1
  50. package/dist/assets/{modules_catalog_popular.md.CnncQMJM.js → modules_catalog_popular.md.B12xaSbQ.js} +1 -1
  51. package/dist/assets/{modules_catalog_popular.md.CnncQMJM.lean.js → modules_catalog_popular.md.B12xaSbQ.lean.js} +1 -1
  52. package/dist/assets/{modules_catalog_pure.md.DF1hvvY7.js → modules_catalog_pure.md.BsB_PSSM.js} +1 -1
  53. package/dist/assets/{modules_catalog_pure.md.DF1hvvY7.lean.js → modules_catalog_pure.md.BsB_PSSM.lean.js} +1 -1
  54. package/dist/assets/{modules_catalog_qiankun.md.CMSAlH_e.js → modules_catalog_qiankun.md.D0XCiuWW.js} +1 -1
  55. package/dist/assets/{modules_catalog_qiankun.md.CMSAlH_e.lean.js → modules_catalog_qiankun.md.D0XCiuWW.lean.js} +1 -1
  56. package/dist/assets/{modules_catalog_station.md.CD0uBfy2.js → modules_catalog_station.md.Bkaxjv14.js} +1 -1
  57. package/dist/assets/{modules_catalog_station.md.CD0uBfy2.lean.js → modules_catalog_station.md.Bkaxjv14.lean.js} +1 -1
  58. package/dist/assets/{modules_catalog_tdesign.md.B-nPpETh.js → modules_catalog_tdesign.md.CHkWuylZ.js} +1 -1
  59. package/dist/assets/{modules_catalog_tdesign.md.B-nPpETh.lean.js → modules_catalog_tdesign.md.CHkWuylZ.lean.js} +1 -1
  60. package/dist/assets/{modules_catalog_tools.md.B65QzQl0.js → modules_catalog_tools.md.MW_PyYD-.js} +1 -1
  61. package/dist/assets/{modules_catalog_tools.md.B65QzQl0.lean.js → modules_catalog_tools.md.MW_PyYD-.lean.js} +1 -1
  62. package/dist/assets/{modules_catalog_vben.md.CwadHZte.js → modules_catalog_vben.md.BrdjVOHn.js} +1 -1
  63. package/dist/assets/{modules_catalog_vben.md.CwadHZte.lean.js → modules_catalog_vben.md.BrdjVOHn.lean.js} +1 -1
  64. package/dist/assets/{modules_components.md.Cs4p-whz.js → modules_components.md.BXIU-AjT.js} +1 -1
  65. package/dist/assets/{modules_components.md.Cs4p-whz.lean.js → modules_components.md.BXIU-AjT.lean.js} +1 -1
  66. package/dist/assets/{modules_demos.md.CcMubvZ-.js → modules_demos.md.C0ZBcij2.js} +1 -1
  67. package/dist/assets/{modules_demos.md.CcMubvZ-.lean.js → modules_demos.md.C0ZBcij2.lean.js} +1 -1
  68. package/dist/assets/{modules_docs-and-services.md.HM7T2-rY.js → modules_docs-and-services.md.guWEE5JY.js} +1 -1
  69. package/dist/assets/{modules_docs-and-services.md.HM7T2-rY.lean.js → modules_docs-and-services.md.guWEE5JY.lean.js} +1 -1
  70. package/dist/assets/{modules_index.md.BAfftVvl.js → modules_index.md.D0y53qiC.js} +1 -1
  71. package/dist/assets/{modules_index.md.BAfftVvl.lean.js → modules_index.md.D0y53qiC.lean.js} +1 -1
  72. package/dist/assets/{modules_libs.md.BjSRuqIN.js → modules_libs.md.CAP1L7ZR.js} +1 -1
  73. package/dist/assets/{modules_libs.md.BjSRuqIN.lean.js → modules_libs.md.CAP1L7ZR.lean.js} +1 -1
  74. package/dist/assets/{modules_templates.md.D3IIqxu2.js → modules_templates.md.Bc3EFQEE.js} +1 -1
  75. package/dist/assets/{modules_templates.md.D3IIqxu2.lean.js → modules_templates.md.Bc3EFQEE.lean.js} +1 -1
  76. package/dist/assets/style.Cp10hIad.css +1 -0
  77. package/dist/guide/browser-esm.html +10 -10
  78. package/dist/guide/core.html +9 -9
  79. package/dist/guide/getting-started.html +10 -10
  80. package/dist/guide/introduction.html +10 -10
  81. package/dist/guide/loading.html +11 -11
  82. package/dist/guide/remote-components-migration.html +9 -9
  83. package/dist/hashmap.json +1 -1
  84. package/dist/index.html +9 -9
  85. package/dist/logo.svg +11 -11
  86. package/dist/modules/catalog/antd.html +9 -9
  87. package/dist/modules/catalog/art.html +9 -9
  88. package/dist/modules/catalog/bag.html +9 -9
  89. package/dist/modules/catalog/basic.html +9 -9
  90. package/dist/modules/catalog/core.html +9 -9
  91. package/dist/modules/catalog/datav.html +9 -9
  92. package/dist/modules/catalog/element.html +9 -9
  93. package/dist/modules/catalog/fan.html +9 -9
  94. package/dist/modules/catalog/finance.html +9 -9
  95. package/dist/modules/catalog/iot.html +9 -9
  96. package/dist/modules/catalog/leva.html +9 -9
  97. package/dist/modules/catalog/medical.html +9 -9
  98. package/dist/modules/catalog/picker.html +9 -9
  99. package/dist/modules/catalog/popular.html +9 -9
  100. package/dist/modules/catalog/pure.html +9 -9
  101. package/dist/modules/catalog/qiankun.html +9 -9
  102. package/dist/modules/catalog/station.html +9 -9
  103. package/dist/modules/catalog/tdesign.html +9 -9
  104. package/dist/modules/catalog/tools.html +9 -9
  105. package/dist/modules/catalog/vben.html +9 -9
  106. package/dist/modules/components.html +9 -9
  107. package/dist/modules/demos.html +9 -9
  108. package/dist/modules/docs-and-services.html +10 -10
  109. package/dist/modules/index.html +9 -9
  110. package/dist/modules/libs.html +9 -9
  111. package/dist/modules/templates.html +9 -9
  112. package/package.json +2 -2
  113. package/dist/assets/chunks/@localSearchIndexroot.C_bK2xXO.js +0 -1
  114. package/dist/assets/style.C6SSFbtd.css +0 -1
@@ -1 +1 @@
1
- import{_ as t,o as e,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"Fantastic Admin · 基础库、Fa 组件与模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/fan.md","filePath":"modules/catalog/fan.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/fan.md"};function r(n,a,c,i,s,h){return e(),d("div",null,[...a[0]||(a[0]=[o('<h1 id="fantastic-admin-·-基础库、fa-组件与模板" tabindex="-1">Fantastic Admin · 基础库、Fa 组件与模板 <a class="header-anchor" href="#fantastic-admin-·-基础库、fa-组件与模板" aria-label="Permalink to &quot;Fantastic Admin · 基础库、Fa 组件与模板&quot;">​</a></h1><p>将 Fan 的 libs、comps 和 Element Plus / Reka UI 两个模板集中介绍,公共接入步骤只维护一份。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-fan</code></td><td>composables、设置、主题、快捷键等普通基础库</td></tr><tr><td><code>@melt-js/comps-fan</code></td><td>Fa 系列远程组件、hooks 与 examples</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-fan</code></td><td>Element Plus 后台宿主</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-reka-fan</code></td><td>Reka UI 完整示例宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-fan</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-fan/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-reka-fan</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-reka-fan/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs:<code>usePagination</code> 等 composables</td><td>通过公开子路径组织,完整清单待补</td></tr><tr><td>comps:<code>useFaToast</code> / <code>useFaDrawer</code> / <code>useFaModal</code></td><td>消息、抽屉与弹层 hooks</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>FaButton</code> / <code>FaTable</code> / <code>FaForm</code> / <code>FaTabs</code></td><td>基础交互与数据展示</td></tr><tr><td><code>examples</code></td><td>组件示例集合,具体分类待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p><code>libs-fan</code> 按普通依赖使用,<code>comps-fan</code> 预加载后从包根具名使用。两种模板的 UI 差异在此补表,不复制两套接入说明。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>两个模板均属 Fantastic-admin 体系,公共基础能力归 <code>libs-fan</code>、公共 Fa 组件归 <code>comps-fan</code>,页面与业务编排保留在模板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>将原分散基础模块引用改为 <code>libs-fan</code> 的公开子路径,公共 Fa 组件改为 <code>comps-fan</code>。</li><li>main 共享 Vue、设置宿主雪碧图地址并预加载组件,再动态进入 loadApp。</li><li>loadApp 注册全局 Fa 组件并完成应用、路由初始化;自动导入 hooks 指向包根。</li><li>保留模板 loading,等待 ready;组件联调时显式配置本地地址。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补 libs 子路径和 hooks 完整清单。</li><li>[ ] 补 Fa 组件分类、examples 索引和 props / 事件。</li><li>[ ] 补两模板差异、资源路径与逐文件改造表。</li></ul>',21)])])}const b=t(l,[["render",r]]);export{p as __pageData,b as default};
1
+ import{_ as t,o as e,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"Fantastic Admin · 基础库、Fa 组件与模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/fan.md","filePath":"modules/catalog/fan.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/fan.md"};function r(n,a,c,i,s,h){return e(),d("div",null,[...a[0]||(a[0]=[o('<h1 id="fantastic-admin-·-基础库、fa-组件与模板" tabindex="-1">Fantastic Admin · 基础库、Fa 组件与模板 <a class="header-anchor" href="#fantastic-admin-·-基础库、fa-组件与模板" aria-label="Permalink to &quot;Fantastic Admin · 基础库、Fa 组件与模板&quot;">​</a></h1><p>将 Fan 的 libs、comps 和 Element Plus / Reka UI 两个模板集中介绍,公共接入步骤只维护一份。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-fan</code></td><td>composables、设置、主题、快捷键等普通基础库</td></tr><tr><td><code>@melt-js/comps-fan</code></td><td>Fa 系列远程组件、hooks 与 examples</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-fan</code></td><td>Element Plus 后台宿主</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-reka-fan</code></td><td>Reka UI 完整示例宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-fan</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-fan/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-reka-fan</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-reka-fan/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs:<code>usePagination</code> 等 composables</td><td>通过公开子路径组织,完整清单待补</td></tr><tr><td>comps:<code>useFaToast</code> / <code>useFaDrawer</code> / <code>useFaModal</code></td><td>消息、抽屉与弹层 hooks</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>FaButton</code> / <code>FaTable</code> / <code>FaForm</code> / <code>FaTabs</code></td><td>基础交互与数据展示</td></tr><tr><td><code>examples</code></td><td>组件示例集合,具体分类待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p><code>libs-fan</code> 按普通依赖使用,<code>comps-fan</code> 预加载后从包根具名使用。两种模板的 UI 差异在此补表,不复制两套接入说明。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>两个模板均属 Fantastic-admin 体系,公共基础能力归 <code>libs-fan</code>、公共 Fa 组件归 <code>comps-fan</code>,页面与业务编排保留在模板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>将原分散基础模块引用改为 <code>libs-fan</code> 的公开子路径,公共 Fa 组件改为 <code>comps-fan</code>。</li><li>main 共享 Vue、设置宿主雪碧图地址并预加载组件,再动态进入 loadApp。</li><li>loadApp 注册全局 Fa 组件并完成应用、路由初始化;自动导入 hooks 指向包根。</li><li>保留模板 loading,等待 ready;组件联调时显式配置本地地址。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补 libs 子路径和 hooks 完整清单。</li><li>[ ] 补 Fa 组件分类、examples 索引和 props / 事件。</li><li>[ ] 补两模板差异、资源路径与逐文件改造表。</li></ul>',21)])])}const b=t(l,[["render",r]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as t,o as e,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"Fantastic Admin · 基础库、Fa 组件与模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/fan.md","filePath":"modules/catalog/fan.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/fan.md"};function r(n,a,c,i,s,h){return e(),d("div",null,[...a[0]||(a[0]=[o("",21)])])}const b=t(l,[["render",r]]);export{p as __pageData,b as default};
1
+ import{_ as t,o as e,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"Fantastic Admin · 基础库、Fa 组件与模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/fan.md","filePath":"modules/catalog/fan.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/fan.md"};function r(n,a,c,i,s,h){return e(),d("div",null,[...a[0]||(a[0]=[o("",21)])])}const b=t(l,[["render",r]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const m=JSON.parse('{"title":"金融组件 · Vue 3 / React","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/finance.md","filePath":"modules/catalog/finance.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/finance.md"};function c(l,t,n,i,h,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="金融组件-·-vue-3-react" tabindex="-1">金融组件 · Vue 3 / React <a class="header-anchor" href="#金融组件-·-vue-3-react" aria-label="Permalink to &quot;金融组件 · Vue 3 / React&quot;">​</a></h1><p>按金融主题合并 Vue 3 与 React 的入口,分别记录当前能力,后续统一补充业务使用示例。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-fin</code></td><td>Vue 3 金融组件</td></tr><tr><td><code>@melt-js/comps-react-fin</code></td><td>React 金融方向示例包</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-fin</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-fin/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>demo-react-fin</code></td><td><a href="https://unpkg.com/@melt-js/demo-react-fin/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>整理格式化、数据转换等实际公开能力;当前不预设新增 API</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vue 3:<code>FinAmount</code> / <code>FinKpiCard</code> / <code>FinSparkline</code></td><td>金额、指标卡与迷你趋势图</td></tr><tr><td>React:<code>HelloRemoteReactComp</code></td><td>当前代理仍为基础示例,金融业务组件待补齐后更新文档</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-fin</code> 与 <code>demo-react-fin</code>。Vue 3 当前通过整包代理提供领域组件,最终具名入口与示例待实现定稿后补充。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补金额精度、单位、涨跌状态和趋势数据结构。</li><li>[ ] 补实际导出方式、属性与事件示例。</li><li>[ ] 明确 React 已实现组件与后续计划。</li></ul>',16)])])}const b=e(r,[["render",c]]);export{m as __pageData,b as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const m=JSON.parse('{"title":"金融组件 · Vue 3 / React","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/finance.md","filePath":"modules/catalog/finance.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/finance.md"};function c(l,t,n,i,h,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="金融组件-·-vue-3-react" tabindex="-1">金融组件 · Vue 3 / React <a class="header-anchor" href="#金融组件-·-vue-3-react" aria-label="Permalink to &quot;金融组件 · Vue 3 / React&quot;">​</a></h1><p>按金融主题合并 Vue 3 与 React 的入口,分别记录当前能力,后续统一补充业务使用示例。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-fin</code></td><td>Vue 3 金融组件</td></tr><tr><td><code>@melt-js/comps-react-fin</code></td><td>React 金融方向示例包</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-fin</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-fin/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>demo-react-fin</code></td><td><a href="https://unpkg.com/@melt-js/demo-react-fin/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>整理格式化、数据转换等实际公开能力;当前不预设新增 API</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vue 3:<code>FinAmount</code> / <code>FinKpiCard</code> / <code>FinSparkline</code></td><td>金额、指标卡与迷你趋势图</td></tr><tr><td>React:<code>HelloRemoteReactComp</code></td><td>当前代理仍为基础示例,金融业务组件待补齐后更新文档</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-fin</code> 与 <code>demo-react-fin</code>。Vue 3 当前通过整包代理提供领域组件,最终具名入口与示例待实现定稿后补充。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补金额精度、单位、涨跌状态和趋势数据结构。</li><li>[ ] 补实际导出方式、属性与事件示例。</li><li>[ ] 明确 React 已实现组件与后续计划。</li></ul>',16)])])}const b=e(r,[["render",c]]);export{m as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const m=JSON.parse('{"title":"金融组件 · Vue 3 / React","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/finance.md","filePath":"modules/catalog/finance.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/finance.md"};function c(l,t,n,i,h,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const b=e(r,[["render",c]]);export{m as __pageData,b as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const m=JSON.parse('{"title":"金融组件 · Vue 3 / React","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/finance.md","filePath":"modules/catalog/finance.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/finance.md"};function c(l,t,n,i,h,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const b=e(r,[["render",c]]);export{m as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"工业组件 · 设备与实时指标","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/iot.md","filePath":"modules/catalog/iot.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/iot.md"};function l(i,t,h,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="工业组件-·-设备与实时指标" tabindex="-1">工业组件 · 设备与实时指标 <a class="header-anchor" href="#工业组件-·-设备与实时指标" aria-label="Permalink to &quot;工业组件 · 设备与实时指标&quot;">​</a></h1><p>统一介绍设备监控场景中的状态、仪表盘与实时指标组件。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-iot</code></td><td>Vue 3 工业领域组件</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-iot</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-iot/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>核对实时更新、数据映射等实际公开方法</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>IotDeviceStatus</code></td><td>设备状态</td></tr><tr><td><code>IotGauge</code></td><td>仪表盘</td></tr><tr><td><code>IotMetricCard</code></td><td>实时指标卡</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-iot</code>。当前领域组件由整包代理提供,接入语法以最终公开入口为准。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补状态枚举、单位、阈值及指标数据格式。</li><li>[ ] 补组件属性、事件与刷新方式。</li><li>[ ] 补加载入口、样式依赖及完整监控面板示例。</li></ul>',16)])])}const m=e(r,[["render",l]]);export{u as __pageData,m as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"工业组件 · 设备与实时指标","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/iot.md","filePath":"modules/catalog/iot.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/iot.md"};function l(i,t,h,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="工业组件-·-设备与实时指标" tabindex="-1">工业组件 · 设备与实时指标 <a class="header-anchor" href="#工业组件-·-设备与实时指标" aria-label="Permalink to &quot;工业组件 · 设备与实时指标&quot;">​</a></h1><p>统一介绍设备监控场景中的状态、仪表盘与实时指标组件。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-iot</code></td><td>Vue 3 工业领域组件</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-iot</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-iot/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>核对实时更新、数据映射等实际公开方法</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>IotDeviceStatus</code></td><td>设备状态</td></tr><tr><td><code>IotGauge</code></td><td>仪表盘</td></tr><tr><td><code>IotMetricCard</code></td><td>实时指标卡</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-iot</code>。当前领域组件由整包代理提供,接入语法以最终公开入口为准。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补状态枚举、单位、阈值及指标数据格式。</li><li>[ ] 补组件属性、事件与刷新方式。</li><li>[ ] 补加载入口、样式依赖及完整监控面板示例。</li></ul>',16)])])}const m=e(r,[["render",l]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"工业组件 · 设备与实时指标","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/iot.md","filePath":"modules/catalog/iot.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/iot.md"};function l(i,t,h,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const m=e(r,[["render",l]]);export{u as __pageData,m as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"工业组件 · 设备与实时指标","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/iot.md","filePath":"modules/catalog/iot.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/iot.md"};function l(i,t,h,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const m=e(r,[["render",l]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"Leva · 属性面板与组件 Playground","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/leva.md","filePath":"modules/catalog/leva.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/leva.md"};function r(c,t,h,i,s,n){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="leva-·-属性面板与组件-playground" tabindex="-1">Leva · 属性面板与组件 Playground <a class="header-anchor" href="#leva-·-属性面板与组件-playground" aria-label="Permalink to &quot;Leva · 属性面板与组件 Playground&quot;">​</a></h1><p>把三个框架的属性调试面板、示例工具栏和 schema 生成方式放在同一篇介绍,共同流程只写一次,框架差异用表格补充。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-vue2-leva</code></td><td>Vue 2 属性面板</td></tr><tr><td><code>@melt-js/libs-vue3-leva</code></td><td>Vue 3 属性面板</td></tr><tr><td><code>@melt-js/libs-react-leva</code></td><td>React 属性面板</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>schema 生成 CLI</td><td>从组件信息生成属性面板 schema;命令、输入与输出示例待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>PropsPanel</code> / <code>PropsPlayground</code></td><td>属性编辑与组件交互调试</td></tr><tr><td><code>SplitPane</code> / <code>DemoTabs</code></td><td>分栏和示例标签页</td></tr><tr><td><code>DemoToolbar</code> / <code>ScreenfullButton</code> / <code>DownloadExampleButton</code></td><td>示例工具栏、全屏和下载</td></tr><tr><td><code>ComponentDocs</code></td><td>组件说明展示</td></tr><tr><td>React 的 <code>DemoStage</code></td><td>演示舞台;三端导出不完全相同</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>选用与宿主框架匹配的一个包,在加载完成后的业务模块使用面板。Vue 版控件基于 tweakpane,React 版基于 Leva。当前没有独立的 <code>libs-leva</code> 或 <code>libs-vue-leva</code> 包,这里用 Leva 作为专题名。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补通用 schema 结构、字段控件与双向更新规则。</li><li>[ ] 补三端组件参数、插槽 / children 与布局差异。</li><li>[ ] 补生成 CLI、示例下载和宿主样式接入步骤。</li></ul>',13)])])}const m=e(l,[["render",r]]);export{b as __pageData,m as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"Leva · 属性面板与组件 Playground","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/leva.md","filePath":"modules/catalog/leva.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/leva.md"};function r(c,t,h,i,s,n){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="leva-·-属性面板与组件-playground" tabindex="-1">Leva · 属性面板与组件 Playground <a class="header-anchor" href="#leva-·-属性面板与组件-playground" aria-label="Permalink to &quot;Leva · 属性面板与组件 Playground&quot;">​</a></h1><p>把三个框架的属性调试面板、示例工具栏和 schema 生成方式放在同一篇介绍,共同流程只写一次,框架差异用表格补充。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-vue2-leva</code></td><td>Vue 2 属性面板</td></tr><tr><td><code>@melt-js/libs-vue3-leva</code></td><td>Vue 3 属性面板</td></tr><tr><td><code>@melt-js/libs-react-leva</code></td><td>React 属性面板</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>schema 生成 CLI</td><td>从组件信息生成属性面板 schema;命令、输入与输出示例待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>PropsPanel</code> / <code>PropsPlayground</code></td><td>属性编辑与组件交互调试</td></tr><tr><td><code>SplitPane</code> / <code>DemoTabs</code></td><td>分栏和示例标签页</td></tr><tr><td><code>DemoToolbar</code> / <code>ScreenfullButton</code> / <code>DownloadExampleButton</code></td><td>示例工具栏、全屏和下载</td></tr><tr><td><code>ComponentDocs</code></td><td>组件说明展示</td></tr><tr><td>React 的 <code>DemoStage</code></td><td>演示舞台;三端导出不完全相同</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>选用与宿主框架匹配的一个包,在加载完成后的业务模块使用面板。Vue 版控件基于 tweakpane,React 版基于 Leva。当前没有独立的 <code>libs-leva</code> 或 <code>libs-vue-leva</code> 包,这里用 Leva 作为专题名。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补通用 schema 结构、字段控件与双向更新规则。</li><li>[ ] 补三端组件参数、插槽 / children 与布局差异。</li><li>[ ] 补生成 CLI、示例下载和宿主样式接入步骤。</li></ul>',13)])])}const m=e(l,[["render",r]]);export{b as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"Leva · 属性面板与组件 Playground","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/leva.md","filePath":"modules/catalog/leva.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/leva.md"};function r(c,t,h,i,s,n){return a(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const m=e(l,[["render",r]]);export{b as __pageData,m as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"Leva · 属性面板与组件 Playground","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/leva.md","filePath":"modules/catalog/leva.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/leva.md"};function r(c,t,h,i,s,n){return a(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const m=e(l,[["render",r]]);export{b as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"医疗组件 · 患者与诊疗信息","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/medical.md","filePath":"modules/catalog/medical.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/medical.md"};function l(h,t,i,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="医疗组件-·-患者与诊疗信息" tabindex="-1">医疗组件 · 患者与诊疗信息 <a class="header-anchor" href="#医疗组件-·-患者与诊疗信息" aria-label="Permalink to &quot;医疗组件 · 患者与诊疗信息&quot;">​</a></h1><p>先建立医疗信息展示组件的入口与目录,参数和使用细节待本轮实现定稿后补充。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-med</code></td><td>Vue 3 医疗领域组件</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-med</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-med/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>核对是否有独立公开的工具或格式化方法</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>MedPatientCard</code></td><td>患者信息卡</td></tr><tr><td><code>MedVitalSign</code></td><td>生命体征展示</td></tr><tr><td><code>MedExamTimeline</code></td><td>检查进度时间线</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-med</code>。当前领域组件由整包代理提供,接入语法以最终公开入口为准。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补患者字段、生命体征单位和检查状态的数据结构。</li><li>[ ] 补组件 props、事件、插槽和空态。</li><li>[ ] 补整包代理 / 具名导出的使用示例与样式要求。</li></ul>',16)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"医疗组件 · 患者与诊疗信息","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/medical.md","filePath":"modules/catalog/medical.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/medical.md"};function l(h,t,i,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="医疗组件-·-患者与诊疗信息" tabindex="-1">医疗组件 · 患者与诊疗信息 <a class="header-anchor" href="#医疗组件-·-患者与诊疗信息" aria-label="Permalink to &quot;医疗组件 · 患者与诊疗信息&quot;">​</a></h1><p>先建立医疗信息展示组件的入口与目录,参数和使用细节待本轮实现定稿后补充。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-med</code></td><td>Vue 3 医疗领域组件</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>demo-vue3-med</code></td><td><a href="https://unpkg.com/@melt-js/demo-vue3-med/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>核对是否有独立公开的工具或格式化方法</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>MedPatientCard</code></td><td>患者信息卡</td></tr><tr><td><code>MedVitalSign</code></td><td>生命体征展示</td></tr><tr><td><code>MedExamTimeline</code></td><td>检查进度时间线</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>对应 <code>demo-vue3-med</code>。当前领域组件由整包代理提供,接入语法以最终公开入口为准。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补患者字段、生命体征单位和检查状态的数据结构。</li><li>[ ] 补组件 props、事件、插槽和空态。</li><li>[ ] 补整包代理 / 具名导出的使用示例与样式要求。</li></ul>',16)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"医疗组件 · 患者与诊疗信息","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/medical.md","filePath":"modules/catalog/medical.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/medical.md"};function l(h,t,i,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"医疗组件 · 患者与诊疗信息","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/medical.md","filePath":"modules/catalog/medical.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/medical.md"};function l(h,t,i,c,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",16)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"选择器 · 分类与分组地区","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/picker.md","filePath":"modules/catalog/picker.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/picker.md"};function l(i,t,c,h,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="选择器-·-分类与分组地区" tabindex="-1">选择器 · 分类与分组地区 <a class="header-anchor" href="#选择器-·-分类与分组地区" aria-label="Permalink to &quot;选择器 · 分类与分组地区&quot;">​</a></h1><p>把分类和地区选择器集中介绍,两者独立使用,共享接入说明。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-picker</code></td><td>Vue 3 选择器远程包</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>整理数据源转换与校验能力,以实际公开导出为准</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>CategoryPicker</code></td><td>分类选择器</td></tr><tr><td><code>RegionGroupPicker</code></td><td>分组地区选择器</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>当前通过整包代理提供组件。懒加载可使用 Vue 3 适配包的 <code>defineHelComponent</code>,该包依赖描述需保留实际注册的平台 <code>picker</code>。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补单选 / 多选、数据结构、回显与禁用规则。</li><li>[ ] 补 props、事件、插槽和自定义数据源。</li><li>[ ] 补预加载与懒加载的最小示例。</li></ul>',13)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"选择器 · 分类与分组地区","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/picker.md","filePath":"modules/catalog/picker.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/picker.md"};function l(i,t,c,h,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="选择器-·-分类与分组地区" tabindex="-1">选择器 · 分类与分组地区 <a class="header-anchor" href="#选择器-·-分类与分组地区" aria-label="Permalink to &quot;选择器 · 分类与分组地区&quot;">​</a></h1><p>把分类和地区选择器集中介绍,两者独立使用,共享接入说明。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-picker</code></td><td>Vue 3 选择器远程包</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>整理数据源转换与校验能力,以实际公开导出为准</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>CategoryPicker</code></td><td>分类选择器</td></tr><tr><td><code>RegionGroupPicker</code></td><td>分组地区选择器</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>当前通过整包代理提供组件。懒加载可使用 Vue 3 适配包的 <code>defineHelComponent</code>,该包依赖描述需保留实际注册的平台 <code>picker</code>。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补单选 / 多选、数据结构、回显与禁用规则。</li><li>[ ] 补 props、事件、插槽和自定义数据源。</li><li>[ ] 补预加载与懒加载的最小示例。</li></ul>',13)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const b=JSON.parse('{"title":"选择器 · 分类与分组地区","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/picker.md","filePath":"modules/catalog/picker.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/picker.md"};function l(i,t,c,h,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const b=JSON.parse('{"title":"选择器 · 分类与分组地区","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/picker.md","filePath":"modules/catalog/picker.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/picker.md"};function l(i,t,c,h,n,s){return a(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const u=e(r,[["render",l]]);export{b as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as r,a2 as d}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"热门交互 · TierRanking","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/popular.md","filePath":"modules/catalog/popular.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/popular.md"};function o(i,t,h,n,s,c){return e(),r("div",null,[...t[0]||(t[0]=[d('<h1 id="热门交互-·-tierranking" tabindex="-1">热门交互 · TierRanking <a class="header-anchor" href="#热门交互-·-tierranking" aria-label="Permalink to &quot;热门交互 · TierRanking&quot;">​</a></h1><p>为热门交互组件预留统一文档,当前先说明 Vue 3 排行榜能力与已有 Vue 2 实现的关系。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-popular</code></td><td>Vue 3 热门交互组件</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>区分组件内部能力与真正公开的方法 / 事件</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>TierRanking</code></td><td>图片排行:上传压缩、跨评级拖拽、评级编辑、IndexedDB 持久化与按需截图</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>Vue 3 版本位于此包,已有 Vue 2 实现见<a href="./basic.html">基础组件</a>和<a href="./element.html">Element 组件</a>。共同交互说明在此集中补充,框架接入按各包实际入口区分。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补排行榜数据结构、存储键与恢复规则。</li><li>[ ] 补上传限制、截图依赖及公开事件。</li><li>[ ] 补 Vue 2 / Vue 3 差异和示例。</li></ul>',13)])])}const b=a(l,[["render",o]]);export{p as __pageData,b as default};
1
+ import{_ as a,o as e,c as r,a2 as d}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"热门交互 · TierRanking","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/popular.md","filePath":"modules/catalog/popular.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/popular.md"};function o(i,t,h,n,s,c){return e(),r("div",null,[...t[0]||(t[0]=[d('<h1 id="热门交互-·-tierranking" tabindex="-1">热门交互 · TierRanking <a class="header-anchor" href="#热门交互-·-tierranking" aria-label="Permalink to &quot;热门交互 · TierRanking&quot;">​</a></h1><p>为热门交互组件预留统一文档,当前先说明 Vue 3 排行榜能力与已有 Vue 2 实现的关系。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-vue3-popular</code></td><td>Vue 3 热门交互组件</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>待补</td><td>区分组件内部能力与真正公开的方法 / 事件</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>TierRanking</code></td><td>图片排行:上传压缩、跨评级拖拽、评级编辑、IndexedDB 持久化与按需截图</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>Vue 3 版本位于此包,已有 Vue 2 实现见<a href="./basic.html">基础组件</a>和<a href="./element.html">Element 组件</a>。共同交互说明在此集中补充,框架接入按各包实际入口区分。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补排行榜数据结构、存储键与恢复规则。</li><li>[ ] 补上传限制、截图依赖及公开事件。</li><li>[ ] 补 Vue 2 / Vue 3 差异和示例。</li></ul>',13)])])}const b=a(l,[["render",o]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as r,a2 as d}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"热门交互 · TierRanking","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/popular.md","filePath":"modules/catalog/popular.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/popular.md"};function o(i,t,h,n,s,c){return e(),r("div",null,[...t[0]||(t[0]=[d("",13)])])}const b=a(l,[["render",o]]);export{p as __pageData,b as default};
1
+ import{_ as a,o as e,c as r,a2 as d}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"热门交互 · TierRanking","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/popular.md","filePath":"modules/catalog/popular.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/popular.md"};function o(i,t,h,n,s,c){return e(),r("div",null,[...t[0]||(t[0]=[d("",13)])])}const b=a(l,[["render",o]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as d,a2 as r}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"Pure Admin · 组件与两种模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/pure.md","filePath":"modules/catalog/pure.md","lastUpdated":1794731419000}'),o={name:"modules/catalog/pure.md"};function l(i,e,c,n,h,u){return a(),d("div",null,[...e[0]||(e[0]=[r('<h1 id="pure-admin-·-组件与两种模板" tabindex="-1">Pure Admin · 组件与两种模板 <a class="header-anchor" href="#pure-admin-·-组件与两种模板" aria-label="Permalink to &quot;Pure Admin · 组件与两种模板&quot;">​</a></h1><p>Pure 精简版与完整 / 国际化版共用一个组件包,组件、工具和两种模板的接入集中维护。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-pure</code></td><td>Pure 公共组件、布局、工具和指令</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-pure</code></td><td>Pure 精简后台</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-pure-full</code></td><td>Pure 完整 / 国际化后台</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-pure</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-pure/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-ele-pure-full</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-pure-full/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td><code>addDialog</code> / <code>closeDialog</code> / <code>addDrawer</code></td><td>命令式弹窗与抽屉</td></tr><tr><td><code>useNav</code> / <code>getStaticUrl</code></td><td>导航与静态资源工具;完整清单待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>ReLayout</code> / <code>ReDialog</code> / <code>ReDrawer</code></td><td>布局与弹层</td></tr><tr><td><code>ReText</code> / <code>ReSegmented</code> / <code>PureTableBar</code></td><td>文本、分段选择与表格工具栏</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>精简版与完整版的公共实现只介绍一次,国际化、路由与功能开关差异在本篇补表说明。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>两个模板分别来自 pure-admin-thin 及其 i18n 完整版;公共 components、layout、utils 与 directives 合并到 <code>comps-pure</code>,业务页面留在模板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>声明 <code>libs-core</code> 与 <code>comps-pure</code>,用包公开入口替换原公共组件 / 布局 / 工具引用。</li><li>main 共享运行时并预加载,再动态导入 loadApp;保留原模板 loading。</li><li>在 <code>src/plugins/pure.js</code> 注入宿主路由、store、权限、主题与文案,注册组件和指令。</li><li>按模板初始化平台配置与 pinia,完成宿主注入后安装路由,等待 ready 再挂载。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补完整组件 / 方法 / 指令清单和参数。</li><li>[ ] 补两版差异表:国际化、主题、布局开关与系统管理页面。</li><li>[ ] 补逐文件改造步骤、资源地址与独立运行检查。</li></ul>',21)])])}const m=t(o,[["render",l]]);export{p as __pageData,m as default};
1
+ import{_ as t,o as a,c as d,a2 as r}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"Pure Admin · 组件与两种模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/pure.md","filePath":"modules/catalog/pure.md","lastUpdated":1794731419000}'),o={name:"modules/catalog/pure.md"};function l(i,e,c,n,h,u){return a(),d("div",null,[...e[0]||(e[0]=[r('<h1 id="pure-admin-·-组件与两种模板" tabindex="-1">Pure Admin · 组件与两种模板 <a class="header-anchor" href="#pure-admin-·-组件与两种模板" aria-label="Permalink to &quot;Pure Admin · 组件与两种模板&quot;">​</a></h1><p>Pure 精简版与完整 / 国际化版共用一个组件包,组件、工具和两种模板的接入集中维护。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-pure</code></td><td>Pure 公共组件、布局、工具和指令</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-pure</code></td><td>Pure 精简后台</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-pure-full</code></td><td>Pure 完整 / 国际化后台</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-pure</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-pure/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-ele-pure-full</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-pure-full/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td><code>addDialog</code> / <code>closeDialog</code> / <code>addDrawer</code></td><td>命令式弹窗与抽屉</td></tr><tr><td><code>useNav</code> / <code>getStaticUrl</code></td><td>导航与静态资源工具;完整清单待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>ReLayout</code> / <code>ReDialog</code> / <code>ReDrawer</code></td><td>布局与弹层</td></tr><tr><td><code>ReText</code> / <code>ReSegmented</code> / <code>PureTableBar</code></td><td>文本、分段选择与表格工具栏</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>精简版与完整版的公共实现只介绍一次,国际化、路由与功能开关差异在本篇补表说明。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>两个模板分别来自 pure-admin-thin 及其 i18n 完整版;公共 components、layout、utils 与 directives 合并到 <code>comps-pure</code>,业务页面留在模板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>声明 <code>libs-core</code> 与 <code>comps-pure</code>,用包公开入口替换原公共组件 / 布局 / 工具引用。</li><li>main 共享运行时并预加载,再动态导入 loadApp;保留原模板 loading。</li><li>在 <code>src/plugins/pure.js</code> 注入宿主路由、store、权限、主题与文案,注册组件和指令。</li><li>按模板初始化平台配置与 pinia,完成宿主注入后安装路由,等待 ready 再挂载。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补完整组件 / 方法 / 指令清单和参数。</li><li>[ ] 补两版差异表:国际化、主题、布局开关与系统管理页面。</li><li>[ ] 补逐文件改造步骤、资源地址与独立运行检查。</li></ul>',21)])])}const m=t(o,[["render",l]]);export{p as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as d,a2 as r}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"Pure Admin · 组件与两种模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/pure.md","filePath":"modules/catalog/pure.md","lastUpdated":1794731419000}'),o={name:"modules/catalog/pure.md"};function l(i,e,c,n,h,u){return a(),d("div",null,[...e[0]||(e[0]=[r("",21)])])}const m=t(o,[["render",l]]);export{p as __pageData,m as default};
1
+ import{_ as t,o as a,c as d,a2 as r}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"Pure Admin · 组件与两种模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/pure.md","filePath":"modules/catalog/pure.md","lastUpdated":1794731419000}'),o={name:"modules/catalog/pure.md"};function l(i,e,c,n,h,u){return a(),d("div",null,[...e[0]||(e[0]=[r("",21)])])}const m=t(o,[["render",l]]);export{p as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as r}from"./chunks/framework.DvDCk5Jp.js";const s=JSON.parse('{"title":"qiankun 2 · 页签核心与主微应用模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/qiankun.md","filePath":"modules/catalog/qiankun.md","lastUpdated":1794731419000}'),n={name:"modules/catalog/qiankun.md"};function o(l,t,i,u,p,c){return a(),d("div",null,[...t[0]||(t[0]=[r('<h1 id="qiankun-2-·-页签核心与主微应用模板" tabindex="-1">qiankun 2 · 页签核心与主微应用模板 <a class="header-anchor" href="#qiankun-2-·-页签核心与主微应用模板" aria-label="Permalink to &quot;qiankun 2 · 页签核心与主微应用模板&quot;">​</a></h1><p>页签核心、Vue 3 适配及 Vue 2 / Vue 3 各自的主应用、app1、app2 合并介绍;同一方案的应用角色不再各拆一篇。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-qiankun-tabs-core</code></td><td>框架无关的页签身份、路由状态与微应用运行时</td></tr><tr><td><code>@melt-js/libs-qiankun-tabs-vue3</code></td><td>Vue 3 页签管理与宿主 / 子应用适配</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-main</code></td><td>Vue 2 主应用</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-app1</code></td><td>Vue 2 微应用一</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-app2</code></td><td>Vue 2 微应用二</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-main</code></td><td>Vue 3 主应用</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-app1</code></td><td>Vue 3 微应用一</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-app2</code></td><td>Vue 3 微应用二</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-qiankun2-vue2-main</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-main/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue2-app1</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-app1/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue2-app2</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-app2/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-main</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-main/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-app1</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-app1/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-app2</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-app2/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><p>qiankun 场景先打开对应主应用;app1 / app2 链接也用于主应用配置微应用入口。</p><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>core:<code>MicroAppRuntime</code> / <code>RouteDispatcher</code> / <code>MicroPageCache</code></td><td>运行时、路由调度与页面缓存</td></tr><tr><td>Vue 3:<code>installMicroTabsBridge</code> / <code>createMicroAppCache</code></td><td>主应用桥接与微应用缓存</td></tr><tr><td>Vue 3:<code>useTabQuery</code> / <code>createTabsUrlSync</code></td><td>页签查询状态与 URL 同步</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vue 3:<code>MicroAppView</code> 与页签 UI</td><td>微应用容器与标签页,完整清单待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>Vue 2 与 Vue 3 是两套宿主示例;Vue 3 适配包不能用于 Vue 2。普通页签工具与微应用中的 hel 组件加载分别配置。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>Vue 2 模板来自 qiankun-tabsCache,Vue 3 模板来自 qiankun-vue3-tabsPage。主应用负责导航与应用注册,app1 / app2 用来验证多微应用和多页签。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>先按框架整理主应用注册项、微应用入口、路由 base 和构建 public path。</li><li>Vue 3 接入 tabs-core 与 tabs-vue3 的实际公开能力,建立宿主桥接与子应用缓存;Vue 2 保留对应实现。</li><li>处理 qiankun bootstrap / mount / unmount / update 生命周期及同一微应用多页签的路由传递。</li><li>仅对需要 hel 组件的微应用增加对应运行时与加载步骤,分别验证切页、回退、刷新和卸载。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补 Vue 2 / Vue 3、主应用 / app1 / app2 的职责与差异表。</li><li>[ ] 补页签身份、路由状态、keep-alive 与 URL 同步 API。</li><li>[ ] 补两种上游模板的逐文件改造表、启动组合和部署路径。</li></ul>',22)])])}const k=e(n,[["render",o]]);export{s as __pageData,k as default};
1
+ import{_ as e,o as a,c as d,a2 as r}from"./chunks/framework.qU75dRxB.js";const s=JSON.parse('{"title":"qiankun 2 · 页签核心与主微应用模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/qiankun.md","filePath":"modules/catalog/qiankun.md","lastUpdated":1794731419000}'),n={name:"modules/catalog/qiankun.md"};function o(l,t,i,u,p,c){return a(),d("div",null,[...t[0]||(t[0]=[r('<h1 id="qiankun-2-·-页签核心与主微应用模板" tabindex="-1">qiankun 2 · 页签核心与主微应用模板 <a class="header-anchor" href="#qiankun-2-·-页签核心与主微应用模板" aria-label="Permalink to &quot;qiankun 2 · 页签核心与主微应用模板&quot;">​</a></h1><p>页签核心、Vue 3 适配及 Vue 2 / Vue 3 各自的主应用、app1、app2 合并介绍;同一方案的应用角色不再各拆一篇。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-qiankun-tabs-core</code></td><td>框架无关的页签身份、路由状态与微应用运行时</td></tr><tr><td><code>@melt-js/libs-qiankun-tabs-vue3</code></td><td>Vue 3 页签管理与宿主 / 子应用适配</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-main</code></td><td>Vue 2 主应用</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-app1</code></td><td>Vue 2 微应用一</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue2-app2</code></td><td>Vue 2 微应用二</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-main</code></td><td>Vue 3 主应用</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-app1</code></td><td>Vue 3 微应用一</td></tr><tr><td><code>@melt-js/tpl-qiankun2-vue3-app2</code></td><td>Vue 3 微应用二</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-qiankun2-vue2-main</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-main/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue2-app1</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-app1/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue2-app2</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue2-app2/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-main</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-main/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-app1</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-app1/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-qiankun2-vue3-app2</code></td><td><a href="https://unpkg.com/@melt-js/tpl-qiankun2-vue3-app2/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><p>qiankun 场景先打开对应主应用;app1 / app2 链接也用于主应用配置微应用入口。</p><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>core:<code>MicroAppRuntime</code> / <code>RouteDispatcher</code> / <code>MicroPageCache</code></td><td>运行时、路由调度与页面缓存</td></tr><tr><td>Vue 3:<code>installMicroTabsBridge</code> / <code>createMicroAppCache</code></td><td>主应用桥接与微应用缓存</td></tr><tr><td>Vue 3:<code>useTabQuery</code> / <code>createTabsUrlSync</code></td><td>页签查询状态与 URL 同步</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vue 3:<code>MicroAppView</code> 与页签 UI</td><td>微应用容器与标签页,完整清单待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>Vue 2 与 Vue 3 是两套宿主示例;Vue 3 适配包不能用于 Vue 2。普通页签工具与微应用中的 hel 组件加载分别配置。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>Vue 2 模板来自 qiankun-tabsCache,Vue 3 模板来自 qiankun-vue3-tabsPage。主应用负责导航与应用注册,app1 / app2 用来验证多微应用和多页签。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>先按框架整理主应用注册项、微应用入口、路由 base 和构建 public path。</li><li>Vue 3 接入 tabs-core 与 tabs-vue3 的实际公开能力,建立宿主桥接与子应用缓存;Vue 2 保留对应实现。</li><li>处理 qiankun bootstrap / mount / unmount / update 生命周期及同一微应用多页签的路由传递。</li><li>仅对需要 hel 组件的微应用增加对应运行时与加载步骤,分别验证切页、回退、刷新和卸载。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补 Vue 2 / Vue 3、主应用 / app1 / app2 的职责与差异表。</li><li>[ ] 补页签身份、路由状态、keep-alive 与 URL 同步 API。</li><li>[ ] 补两种上游模板的逐文件改造表、启动组合和部署路径。</li></ul>',22)])])}const k=e(n,[["render",o]]);export{s as __pageData,k as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as r}from"./chunks/framework.DvDCk5Jp.js";const s=JSON.parse('{"title":"qiankun 2 · 页签核心与主微应用模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/qiankun.md","filePath":"modules/catalog/qiankun.md","lastUpdated":1794731419000}'),n={name:"modules/catalog/qiankun.md"};function o(l,t,i,u,p,c){return a(),d("div",null,[...t[0]||(t[0]=[r("",22)])])}const k=e(n,[["render",o]]);export{s as __pageData,k as default};
1
+ import{_ as e,o as a,c as d,a2 as r}from"./chunks/framework.qU75dRxB.js";const s=JSON.parse('{"title":"qiankun 2 · 页签核心与主微应用模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/qiankun.md","filePath":"modules/catalog/qiankun.md","lastUpdated":1794731419000}'),n={name:"modules/catalog/qiankun.md"};function o(l,t,i,u,p,c){return a(),d("div",null,[...t[0]||(t[0]=[r("",22)])])}const k=e(n,[["render",o]]);export{s as __pageData,k as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as o,a2 as l}from"./chunks/framework.DvDCk5Jp.js";const m=JSON.parse('{"title":"MF Station · 变电站数字孪生模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/station.md","filePath":"modules/catalog/station.md","lastUpdated":1794731419000}'),i={name:"modules/catalog/station.md"};function d(r,t,n,s,h,c){return e(),o("div",null,[...t[0]||(t[0]=[l('<h1 id="mf-station-·-变电站数字孪生模板" tabindex="-1">MF Station · 变电站数字孪生模板 <a class="header-anchor" href="#mf-station-·-变电站数字孪生模板" aria-label="Permalink to &quot;MF Station · 变电站数字孪生模板&quot;">​</a></h1><p>为独立静态数字孪生大屏保留简介与改造步骤,当前没有依赖 hel 远程组件包。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/tpl-vue3-datav-mf-station</code></td><td>Vue 3 + Three.js 变电站数字孪生大屏</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-datav-mf-station</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-datav-mf-station/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>源自 MF-StationMonitor,模型、场景、页面、图表与皮肤均随模板交付,包含设备标签、漫游巡检、告警与数据面板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>整理原项目为独立模板包,自带构建配置、页面资源与默认环境。</li><li>保留场景与模型加载逻辑,核对 models、DRACO、字体和贴图的相对地址。</li><li>统一图表 resize / dispose、场景卸载与大屏自适应,保留模型加载进度。</li><li>按部署路径检查静态资源、漫游、设备点击与告警;若后续提取公共组件,再单独记录远程接入改造。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补上游与当前目录对照、模型和资源清单。</li><li>[ ] 补场景 hooks、面板组件与数据接入位置。</li><li>[ ] 补逐文件改造、静态部署和资源加载验证步骤。</li></ul>',15)])])}const u=a(i,[["render",d]]);export{m as __pageData,u as default};
1
+ import{_ as a,o as e,c as o,a2 as l}from"./chunks/framework.qU75dRxB.js";const m=JSON.parse('{"title":"MF Station · 变电站数字孪生模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/station.md","filePath":"modules/catalog/station.md","lastUpdated":1794731419000}'),i={name:"modules/catalog/station.md"};function d(r,t,n,s,h,c){return e(),o("div",null,[...t[0]||(t[0]=[l('<h1 id="mf-station-·-变电站数字孪生模板" tabindex="-1">MF Station · 变电站数字孪生模板 <a class="header-anchor" href="#mf-station-·-变电站数字孪生模板" aria-label="Permalink to &quot;MF Station · 变电站数字孪生模板&quot;">​</a></h1><p>为独立静态数字孪生大屏保留简介与改造步骤,当前没有依赖 hel 远程组件包。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/tpl-vue3-datav-mf-station</code></td><td>Vue 3 + Three.js 变电站数字孪生大屏</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-datav-mf-station</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-datav-mf-station/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>源自 MF-StationMonitor,模型、场景、页面、图表与皮肤均随模板交付,包含设备标签、漫游巡检、告警与数据面板。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>整理原项目为独立模板包,自带构建配置、页面资源与默认环境。</li><li>保留场景与模型加载逻辑,核对 models、DRACO、字体和贴图的相对地址。</li><li>统一图表 resize / dispose、场景卸载与大屏自适应,保留模型加载进度。</li><li>按部署路径检查静态资源、漫游、设备点击与告警;若后续提取公共组件,再单独记录远程接入改造。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补上游与当前目录对照、模型和资源清单。</li><li>[ ] 补场景 hooks、面板组件与数据接入位置。</li><li>[ ] 补逐文件改造、静态部署和资源加载验证步骤。</li></ul>',15)])])}const u=a(i,[["render",d]]);export{m as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as o,a2 as l}from"./chunks/framework.DvDCk5Jp.js";const m=JSON.parse('{"title":"MF Station · 变电站数字孪生模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/station.md","filePath":"modules/catalog/station.md","lastUpdated":1794731419000}'),i={name:"modules/catalog/station.md"};function d(r,t,n,s,h,c){return e(),o("div",null,[...t[0]||(t[0]=[l("",15)])])}const u=a(i,[["render",d]]);export{m as __pageData,u as default};
1
+ import{_ as a,o as e,c as o,a2 as l}from"./chunks/framework.qU75dRxB.js";const m=JSON.parse('{"title":"MF Station · 变电站数字孪生模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/station.md","filePath":"modules/catalog/station.md","lastUpdated":1794731419000}'),i={name:"modules/catalog/station.md"};function d(r,t,n,s,h,c){return e(),o("div",null,[...t[0]||(t[0]=[l("",15)])])}const u=a(i,[["render",d]]);export{m as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"TDesign · React 组件与 Pro 模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tdesign.md","filePath":"modules/catalog/tdesign.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/tdesign.md"};function c(i,t,l,n,s,h){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="tdesign-·-react-组件与-pro-模板" tabindex="-1">TDesign · React 组件与 Pro 模板 <a class="header-anchor" href="#tdesign-·-react-组件与-pro-模板" aria-label="Permalink to &quot;TDesign · React 组件与 Pro 模板&quot;">​</a></h1><p>把 TDesign React 提供方与官方 starter 改造模板放在一篇介绍,避免重复说明运行时、图标和样式接入。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-react-tdesign</code></td><td>TDesign React 远程 UI</td></tr><tr><td><code>@melt-js/tpl-react-admin-tdesign-pro</code></td><td>基于 tdesign-react-starter 完整示例的宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-react-admin-tdesign-pro</code></td><td><a href="https://unpkg.com/@melt-js/tpl-react-admin-tdesign-pro/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>demo-react-tdesign</code></td><td><a href="https://unpkg.com/@melt-js/demo-react-tdesign/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td><code>DialogPlugin</code> / <code>MessagePlugin</code> / <code>LoadingPlugin</code></td><td>命令式对话框、消息和加载提示;签名待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>Button</code> / <code>Form</code> / <code>Table</code> / <code>Dialog</code> / <code>ConfigProvider</code></td><td>TDesign React 组件,完整清单待补</td></tr><tr><td>图标与配套样式</td><td>由远程提供方交付,具体入口待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>最小消费示例为 <code>demo-react-tdesign</code>,完整后台使用本专题模板。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p><code>tpl-react-admin-tdesign-pro</code> 来自 tdesign-react-starter,保留 Redux、React Router 和完整示例,精确来源由模板的 <code>upstream.json</code> 记录。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>安装 <code>libs-core</code> 与 <code>comps-react-tdesign</code>,统一宿主 React 运行时。</li><li>入口先绑定 React、预加载并校验导出,再动态加载应用入口。</li><li>使用模板的 <code>scripts/remote-ui.mjs</code> 生成远程 facade,处理 UI 导入;组件样式与图标从提供方获取。</li><li>生成远程类型配置,保留上游路由与 mock,构建后执行 <code>check:remote</code> 核对 UI 来源。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补完整导出表、命令式 API 和图标入口。</li><li>[ ] 补 Vite 配置与 facade 生成的改造 diff。</li><li>[ ] 补 mock 切换、静态部署及框架版本差异。</li></ul>',21)])])}const b=e(r,[["render",c]]);export{p as __pageData,b as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"TDesign · React 组件与 Pro 模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tdesign.md","filePath":"modules/catalog/tdesign.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/tdesign.md"};function c(i,t,l,n,s,h){return a(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="tdesign-·-react-组件与-pro-模板" tabindex="-1">TDesign · React 组件与 Pro 模板 <a class="header-anchor" href="#tdesign-·-react-组件与-pro-模板" aria-label="Permalink to &quot;TDesign · React 组件与 Pro 模板&quot;">​</a></h1><p>把 TDesign React 提供方与官方 starter 改造模板放在一篇介绍,避免重复说明运行时、图标和样式接入。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/comps-react-tdesign</code></td><td>TDesign React 远程 UI</td></tr><tr><td><code>@melt-js/tpl-react-admin-tdesign-pro</code></td><td>基于 tdesign-react-starter 完整示例的宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-react-admin-tdesign-pro</code></td><td><a href="https://unpkg.com/@melt-js/tpl-react-admin-tdesign-pro/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>demo-react-tdesign</code></td><td><a href="https://unpkg.com/@melt-js/demo-react-tdesign/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td><code>DialogPlugin</code> / <code>MessagePlugin</code> / <code>LoadingPlugin</code></td><td>命令式对话框、消息和加载提示;签名待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td><code>Button</code> / <code>Form</code> / <code>Table</code> / <code>Dialog</code> / <code>ConfigProvider</code></td><td>TDesign React 组件,完整清单待补</td></tr><tr><td>图标与配套样式</td><td>由远程提供方交付,具体入口待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>最小消费示例为 <code>demo-react-tdesign</code>,完整后台使用本专题模板。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p><code>tpl-react-admin-tdesign-pro</code> 来自 tdesign-react-starter,保留 Redux、React Router 和完整示例,精确来源由模板的 <code>upstream.json</code> 记录。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>安装 <code>libs-core</code> 与 <code>comps-react-tdesign</code>,统一宿主 React 运行时。</li><li>入口先绑定 React、预加载并校验导出,再动态加载应用入口。</li><li>使用模板的 <code>scripts/remote-ui.mjs</code> 生成远程 facade,处理 UI 导入;组件样式与图标从提供方获取。</li><li>生成远程类型配置,保留上游路由与 mock,构建后执行 <code>check:remote</code> 核对 UI 来源。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补完整导出表、命令式 API 和图标入口。</li><li>[ ] 补 Vite 配置与 facade 生成的改造 diff。</li><li>[ ] 补 mock 切换、静态部署及框架版本差异。</li></ul>',21)])])}const b=e(r,[["render",c]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const p=JSON.parse('{"title":"TDesign · React 组件与 Pro 模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tdesign.md","filePath":"modules/catalog/tdesign.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/tdesign.md"};function c(i,t,l,n,s,h){return a(),d("div",null,[...t[0]||(t[0]=[o("",21)])])}const b=e(r,[["render",c]]);export{p as __pageData,b as default};
1
+ import{_ as e,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const p=JSON.parse('{"title":"TDesign · React 组件与 Pro 模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tdesign.md","filePath":"modules/catalog/tdesign.md","lastUpdated":1794731419000}'),r={name:"modules/catalog/tdesign.md"};function c(i,t,l,n,s,h){return a(),d("div",null,[...t[0]||(t[0]=[o("",21)])])}const b=e(r,[["render",c]]);export{p as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"工具库 · Utils 与 Lodash","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tools.md","filePath":"modules/catalog/tools.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/tools.md"};function s(r,t,h,i,c,n){return e(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="工具库-·-utils-与-lodash" tabindex="-1">工具库 · Utils 与 Lodash <a class="header-anchor" href="#工具库-·-utils-与-lodash" aria-label="Permalink to &quot;工具库 · Utils 与 Lodash&quot;">​</a></h1><p>集中说明远程工具库的选择和加载方式,保留两个包各自的能力边界。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-utils</code></td><td>远程通用工具</td></tr><tr><td><code>@melt-js/libs-lodash</code></td><td>远程 Lodash</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs-utils:<code>regs</code> / <code>num</code> / <code>myMod</code></td><td>当前代理公开的工具分组;组内方法及用途待补</td></tr><tr><td>libs-lodash:Lodash 工具集合</td><td>完整方法表与当前版本对应关系待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>无独立 UI 组件</td><td>本专题提供工具能力</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>两个包均为远程库,使用前先加载实现。后续在此补充默认导出与具名导出的实际差异,不把第三方全量 API 默认写成代理的具名导出。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 盘点 utils 各分组实际方法和边界。</li><li>[ ] 补 Lodash 代理导出方式、常用方法和类型示例。</li><li>[ ] 补与 comps 一起预加载的最小示例。</li></ul>',13)])])}const m=a(l,[["render",s]]);export{u as __pageData,m as default};
1
+ import{_ as a,o as e,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"工具库 · Utils 与 Lodash","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tools.md","filePath":"modules/catalog/tools.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/tools.md"};function s(r,t,h,i,c,n){return e(),d("div",null,[...t[0]||(t[0]=[o('<h1 id="工具库-·-utils-与-lodash" tabindex="-1">工具库 · Utils 与 Lodash <a class="header-anchor" href="#工具库-·-utils-与-lodash" aria-label="Permalink to &quot;工具库 · Utils 与 Lodash&quot;">​</a></h1><p>集中说明远程工具库的选择和加载方式,保留两个包各自的能力边界。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-utils</code></td><td>远程通用工具</td></tr><tr><td><code>@melt-js/libs-lodash</code></td><td>远程 Lodash</td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs-utils:<code>regs</code> / <code>num</code> / <code>myMod</code></td><td>当前代理公开的工具分组;组内方法及用途待补</td></tr><tr><td>libs-lodash:Lodash 工具集合</td><td>完整方法表与当前版本对应关系待补</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>无独立 UI 组件</td><td>本专题提供工具能力</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p>两个包均为远程库,使用前先加载实现。后续在此补充默认导出与具名导出的实际差异,不把第三方全量 API 默认写成代理的具名导出。</p><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 盘点 utils 各分组实际方法和边界。</li><li>[ ] 补 Lodash 代理导出方式、常用方法和类型示例。</li><li>[ ] 补与 comps 一起预加载的最小示例。</li></ul>',13)])])}const m=a(l,[["render",s]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as a,o as e,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"工具库 · Utils 与 Lodash","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tools.md","filePath":"modules/catalog/tools.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/tools.md"};function s(r,t,h,i,c,n){return e(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const m=a(l,[["render",s]]);export{u as __pageData,m as default};
1
+ import{_ as a,o as e,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"工具库 · Utils 与 Lodash","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/tools.md","filePath":"modules/catalog/tools.md","lastUpdated":1794731419000}'),l={name:"modules/catalog/tools.md"};function s(r,t,h,i,c,n){return e(),d("div",null,[...t[0]||(t[0]=[o("",13)])])}const m=a(l,[["render",s]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"Vben · 基础库、组件与后台模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/vben.md","filePath":"modules/catalog/vben.md","lastUpdated":1794734946000}'),l={name:"modules/catalog/vben.md"};function n(r,e,c,i,b,s){return a(),d("div",null,[...e[0]||(e[0]=[o('<h1 id="vben-·-基础库、组件与后台模板" tabindex="-1">Vben · 基础库、组件与后台模板 <a class="header-anchor" href="#vben-·-基础库、组件与后台模板" aria-label="Permalink to &quot;Vben · 基础库、组件与后台模板&quot;">​</a></h1><p>Vben 的基础层、UI 层与 Element Plus / Ant Design Vue 模板共享同一条依赖链,集中介绍层级与改造步骤。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-vben</code></td><td>状态、偏好、请求、国际化、工具与主题等普通基础库</td></tr><tr><td><code>@melt-js/comps-vben</code></td><td>Vben UI、布局与插件远程组件层</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-vben</code></td><td>Vben Element Plus 宿主</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-antd-vben</code></td><td>Vben Ant Design Vue 宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-vben</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-vben/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-antd-vben</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-antd-vben/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs-vben 的公开子路径</td><td><code>preferences</code>、<code>stores</code>、<code>request</code>、<code>locales</code>、<code>composables</code>、<code>utils</code> 等,具体方法待补</td></tr><tr><td>组件层 hooks / utils / form / VXE 入口</td><td>按真实入口补表;当前部分入口仍使用整包代理</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vben UI / layouts / common-ui</td><td>表单、布局、菜单、弹层与标签页,具体导出待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p><code>libs-vben</code> 为共享基础层,<code>comps-vben</code> 依赖它,Element Plus / Ant Design Vue 模板组合基础库与组件层。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>Vben 模板分别由 vue-vben-admin 的 web-ele 与 playground 提取,共享 Vben 基础层与组件层。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>把 <code>@vben/*</code> / <code>@vben-core/*</code> 基础能力映射到 <code>libs-vben</code> 公开子路径,组件改由对应 comps 提供。</li><li>共享框架与 UI 运行时,先注入 libs-vben 模块,再准备 Vben 组件层。</li><li>预加载完成后动态进入业务入口,保留宿主表单、UI、请求、路由和权限适配器。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补各基础子路径的方法和组件入口清单。</li><li>[ ] 补两个模板的上游来源、UI 适配与 mock 差异。</li><li>[ ] 补运行时注入顺序、逐文件改造和主题样式。</li></ul>',21)])])}const m=t(l,[["render",n]]);export{u as __pageData,m as default};
1
+ import{_ as t,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"Vben · 基础库、组件与后台模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/vben.md","filePath":"modules/catalog/vben.md","lastUpdated":1794734946000}'),l={name:"modules/catalog/vben.md"};function n(r,e,c,i,b,s){return a(),d("div",null,[...e[0]||(e[0]=[o('<h1 id="vben-·-基础库、组件与后台模板" tabindex="-1">Vben · 基础库、组件与后台模板 <a class="header-anchor" href="#vben-·-基础库、组件与后台模板" aria-label="Permalink to &quot;Vben · 基础库、组件与后台模板&quot;">​</a></h1><p>Vben 的基础层、UI 层与 Element Plus / Ant Design Vue 模板共享同一条依赖链,集中介绍层级与改造步骤。</p><div class="info custom-block"><p class="custom-block-title">文档骨架</p><p>先占位目录与已核对的代表性能力,不是完整 API 清单。参数、完整示例和逐文件改造细节待本轮实现定稿后补充;待补项不表示已实现或已发布。</p></div><h2 id="包范围" tabindex="-1">包范围 <a class="header-anchor" href="#包范围" aria-label="Permalink to &quot;包范围&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包名</th><th>职责</th></tr></thead><tbody><tr><td><code>@melt-js/libs-vben</code></td><td>状态、偏好、请求、国际化、工具与主题等普通基础库</td></tr><tr><td><code>@melt-js/comps-vben</code></td><td>Vben UI、布局与插件远程组件层</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-ele-vben</code></td><td>Vben Element Plus 宿主</td></tr><tr><td><code>@melt-js/tpl-vue3-admin-antd-vben</code></td><td>Vben Ant Design Vue 宿主</td></tr></tbody></table><h2 id="在线演示" tabindex="-1">在线演示 <a class="header-anchor" href="#在线演示" aria-label="Permalink to &quot;在线演示&quot;">​</a></h2><p>链接按各包 <code>package.json</code> 的 <code>unpkg</code> 入口生成,打开 npm 已发布的默认版本;页面内容随包发布更新。</p><table tabindex="0"><thead><tr><th>模板 / 示例</th><th>unpkg 演示</th></tr></thead><tbody><tr><td><code>tpl-vue3-admin-ele-vben</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-ele-vben/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr><tr><td><code>tpl-vue3-admin-antd-vben</code></td><td><a href="https://unpkg.com/@melt-js/tpl-vue3-admin-antd-vben/dist/index.html" target="_blank" rel="noreferrer">打开演示</a></td></tr></tbody></table><h2 id="提供的方法与工具" tabindex="-1">提供的方法与工具 <a class="header-anchor" href="#提供的方法与工具" aria-label="Permalink to &quot;提供的方法与工具&quot;">​</a></h2><table tabindex="0"><thead><tr><th>入口 / 能力</th><th>用途</th></tr></thead><tbody><tr><td>libs-vben 的公开子路径</td><td><code>preferences</code>、<code>stores</code>、<code>request</code>、<code>locales</code>、<code>composables</code>、<code>utils</code> 等,具体方法待补</td></tr><tr><td>组件层 hooks / utils / form / VXE 入口</td><td>按真实入口补表;当前部分入口仍使用整包代理</td></tr></tbody></table><h2 id="提供的组件" tabindex="-1">提供的组件 <a class="header-anchor" href="#提供的组件" aria-label="Permalink to &quot;提供的组件&quot;">​</a></h2><table tabindex="0"><thead><tr><th>组件 / 分组</th><th>用途</th></tr></thead><tbody><tr><td>Vben UI / layouts / common-ui</td><td>表单、布局、菜单、弹层与标签页,具体导出待补</td></tr></tbody></table><h2 id="接入骨架" tabindex="-1">接入骨架 <a class="header-anchor" href="#接入骨架" aria-label="Permalink to &quot;接入骨架&quot;">​</a></h2><p><code>libs-vben</code> 为共享基础层,<code>comps-vben</code> 依赖它,Element Plus / Ant Design Vue 模板组合基础库与组件层。</p><h2 id="模板简介" tabindex="-1">模板简介 <a class="header-anchor" href="#模板简介" aria-label="Permalink to &quot;模板简介&quot;">​</a></h2><p>Vben 模板分别由 vue-vben-admin 的 web-ele 与 playground 提取,共享 Vben 基础层与组件层。</p><h2 id="从原开源模板快速接入" tabindex="-1">从原开源模板快速接入 <a class="header-anchor" href="#从原开源模板快速接入" aria-label="Permalink to &quot;从原开源模板快速接入&quot;">​</a></h2><p>以下先列改造顺序,具体文件、配置和代码差异在实现定稿后补齐。</p><ol><li>把 <code>@vben/*</code> / <code>@vben-core/*</code> 基础能力映射到 <code>libs-vben</code> 公开子路径,组件改由对应 comps 提供。</li><li>共享框架与 UI 运行时,先注入 libs-vben 模块,再准备 Vben 组件层。</li><li>预加载完成后动态进入业务入口,保留宿主表单、UI、请求、路由和权限适配器。</li></ol><h2 id="待补内容" tabindex="-1">待补内容 <a class="header-anchor" href="#待补内容" aria-label="Permalink to &quot;待补内容&quot;">​</a></h2><ul><li>[ ] 补各基础子路径的方法和组件入口清单。</li><li>[ ] 补两个模板的上游来源、UI 适配与 mock 差异。</li><li>[ ] 补运行时注入顺序、逐文件改造和主题样式。</li></ul>',21)])])}const m=t(l,[["render",n]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as d,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const u=JSON.parse('{"title":"Vben · 基础库、组件与后台模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/vben.md","filePath":"modules/catalog/vben.md","lastUpdated":1794734946000}'),l={name:"modules/catalog/vben.md"};function n(r,e,c,i,b,s){return a(),d("div",null,[...e[0]||(e[0]=[o("",21)])])}const m=t(l,[["render",n]]);export{u as __pageData,m as default};
1
+ import{_ as t,o as a,c as d,a2 as o}from"./chunks/framework.qU75dRxB.js";const u=JSON.parse('{"title":"Vben · 基础库、组件与后台模板","description":"","frontmatter":{},"headers":[],"relativePath":"modules/catalog/vben.md","filePath":"modules/catalog/vben.md","lastUpdated":1794734946000}'),l={name:"modules/catalog/vben.md"};function n(r,e,c,i,b,s){return a(),d("div",null,[...e[0]||(e[0]=[o("",21)])])}const m=t(l,[["render",n]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as d,o as e,c as a,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const i=JSON.parse('{"title":"组件包 · comps","description":"","frontmatter":{},"headers":[],"relativePath":"modules/components.md","filePath":"modules/components.md","lastUpdated":1794734946000}'),c={name:"modules/components.md"};function r(m,t,s,l,n,p){return e(),a("div",null,[...t[0]||(t[0]=[o('<h1 id="组件包-·-comps" tabindex="-1">组件包 · comps <a class="header-anchor" href="#组件包-·-comps" aria-label="Permalink to &quot;组件包 · comps&quot;">​</a></h1><p>按组件体系或业务能力合并介绍,同一主题的 Vue 2 / Vue 3 / React 版本在一篇内列出差异。Pure、Art、Fan、Vben、Bag 的组件和配套模板共用专题。</p><table tabindex="0"><thead><tr><th>专题</th><th>包(均为 <code>@melt-js/</code>)</th><th>内容</th></tr></thead><tbody><tr><td><a href="./catalog/basic.html">基础组件 · Vue 2 / Vue 3 / React</a></td><td><code>comps-vue2</code>、<code>comps-vue3</code>、<code>comps-react</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/element.html">Element · Vue 2 / Vue 3 组件与后台模板</a></td><td><code>comps-vue2-ele</code>、<code>comps-vue3-ele</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/antd.html">Ant Design · 多框架组件与 Pro 模板</a></td><td><code>comps-vue2-antd</code>、<code>comps-vue3-antd</code>、<code>comps-react-antd</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/tdesign.html">TDesign · React 组件与 Pro 模板</a></td><td><code>comps-react-tdesign</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/finance.html">金融组件 · Vue 3 / React</a></td><td><code>comps-vue3-fin</code>、<code>comps-react-fin</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/medical.html">医疗组件 · 患者与诊疗信息</a></td><td><code>comps-vue3-med</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/iot.html">工业组件 · 设备与实时指标</a></td><td><code>comps-vue3-iot</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/picker.html">选择器 · 分类与分组地区</a></td><td><code>comps-vue3-picker</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/popular.html">热门交互 · TierRanking</a></td><td><code>comps-vue3-popular</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/datav.html">DataV · 2.5D 地图与行政区</a></td><td><code>comps-vue3-datav</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/pure.html">Pure Admin · 组件与两种模板</a></td><td><code>comps-pure</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/art.html">Art Design Pro · 组件与模板</a></td><td><code>comps-art</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/fan.html">Fantastic Admin · 基础库、Fa 组件与模板</a></td><td><code>comps-fan</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/vben.html">Vben · 基础库、组件与后台模板</a></td><td><code>comps-vben</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/bag.html">Bag · 基础库、业务插件与宿主模板</a></td><td><code>comps-bag-shop</code>、<code>comps-bag-sys</code></td><td>含模板简介、改造步骤与待补清单</td></tr></tbody></table><h2 id="接入约定" tabindex="-1">接入约定 <a class="header-anchor" href="#接入约定" aria-label="Permalink to &quot;接入约定&quot;">​</a></h2><p>高频组件先预加载再动态进入业务,低频组件使用对应框架适配包按需加载。部分领域包仍通过整包代理提供组件,不能把类型清单当成已有具名导出。Bag 业务插件按普通库接入。</p><p>方法、组件与辅助工具先占位,完整 props、事件、插槽和示例待实现定稿后补齐。参见<a href="./../guide/loading.html">加载策略</a>与<a href="./demos.html">消费示例</a>。</p>',6)])])}const u=d(c,[["render",r]]);export{i as __pageData,u as default};
1
+ import{_ as d,o as e,c as a,a2 as o}from"./chunks/framework.qU75dRxB.js";const i=JSON.parse('{"title":"组件包 · comps","description":"","frontmatter":{},"headers":[],"relativePath":"modules/components.md","filePath":"modules/components.md","lastUpdated":1794734946000}'),c={name:"modules/components.md"};function r(m,t,s,l,n,p){return e(),a("div",null,[...t[0]||(t[0]=[o('<h1 id="组件包-·-comps" tabindex="-1">组件包 · comps <a class="header-anchor" href="#组件包-·-comps" aria-label="Permalink to &quot;组件包 · comps&quot;">​</a></h1><p>按组件体系或业务能力合并介绍,同一主题的 Vue 2 / Vue 3 / React 版本在一篇内列出差异。Pure、Art、Fan、Vben、Bag 的组件和配套模板共用专题。</p><table tabindex="0"><thead><tr><th>专题</th><th>包(均为 <code>@melt-js/</code>)</th><th>内容</th></tr></thead><tbody><tr><td><a href="./catalog/basic.html">基础组件 · Vue 2 / Vue 3 / React</a></td><td><code>comps-vue2</code>、<code>comps-vue3</code>、<code>comps-react</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/element.html">Element · Vue 2 / Vue 3 组件与后台模板</a></td><td><code>comps-vue2-ele</code>、<code>comps-vue3-ele</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/antd.html">Ant Design · 多框架组件与 Pro 模板</a></td><td><code>comps-vue2-antd</code>、<code>comps-vue3-antd</code>、<code>comps-react-antd</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/tdesign.html">TDesign · React 组件与 Pro 模板</a></td><td><code>comps-react-tdesign</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/finance.html">金融组件 · Vue 3 / React</a></td><td><code>comps-vue3-fin</code>、<code>comps-react-fin</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/medical.html">医疗组件 · 患者与诊疗信息</a></td><td><code>comps-vue3-med</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/iot.html">工业组件 · 设备与实时指标</a></td><td><code>comps-vue3-iot</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/picker.html">选择器 · 分类与分组地区</a></td><td><code>comps-vue3-picker</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/popular.html">热门交互 · TierRanking</a></td><td><code>comps-vue3-popular</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/datav.html">DataV · 2.5D 地图与行政区</a></td><td><code>comps-vue3-datav</code></td><td>含方法、组件与接入占位</td></tr><tr><td><a href="./catalog/pure.html">Pure Admin · 组件与两种模板</a></td><td><code>comps-pure</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/art.html">Art Design Pro · 组件与模板</a></td><td><code>comps-art</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/fan.html">Fantastic Admin · 基础库、Fa 组件与模板</a></td><td><code>comps-fan</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/vben.html">Vben · 基础库、组件与后台模板</a></td><td><code>comps-vben</code></td><td>含模板简介、改造步骤与待补清单</td></tr><tr><td><a href="./catalog/bag.html">Bag · 基础库、业务插件与宿主模板</a></td><td><code>comps-bag-shop</code>、<code>comps-bag-sys</code></td><td>含模板简介、改造步骤与待补清单</td></tr></tbody></table><h2 id="接入约定" tabindex="-1">接入约定 <a class="header-anchor" href="#接入约定" aria-label="Permalink to &quot;接入约定&quot;">​</a></h2><p>高频组件先预加载再动态进入业务,低频组件使用对应框架适配包按需加载。部分领域包仍通过整包代理提供组件,不能把类型清单当成已有具名导出。Bag 业务插件按普通库接入。</p><p>方法、组件与辅助工具先占位,完整 props、事件、插槽和示例待实现定稿后补齐。参见<a href="./../guide/loading.html">加载策略</a>与<a href="./demos.html">消费示例</a>。</p>',6)])])}const u=d(c,[["render",r]]);export{i as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as d,o as e,c as a,a2 as o}from"./chunks/framework.DvDCk5Jp.js";const i=JSON.parse('{"title":"组件包 · comps","description":"","frontmatter":{},"headers":[],"relativePath":"modules/components.md","filePath":"modules/components.md","lastUpdated":1794734946000}'),c={name:"modules/components.md"};function r(m,t,s,l,n,p){return e(),a("div",null,[...t[0]||(t[0]=[o("",6)])])}const u=d(c,[["render",r]]);export{i as __pageData,u as default};
1
+ import{_ as d,o as e,c as a,a2 as o}from"./chunks/framework.qU75dRxB.js";const i=JSON.parse('{"title":"组件包 · comps","description":"","frontmatter":{},"headers":[],"relativePath":"modules/components.md","filePath":"modules/components.md","lastUpdated":1794734946000}'),c={name:"modules/components.md"};function r(m,t,s,l,n,p){return e(),a("div",null,[...t[0]||(t[0]=[o("",6)])])}const u=d(c,[["render",r]]);export{i as __pageData,u as default};