@fses/workbench-app 0.2.16 → 0.2.18

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 (64) hide show
  1. package/WORKBENCH-CLOSURE.json +18 -12
  2. package/dist/Workspace-JvnSC-w9.js +23186 -0
  3. package/dist/canvas/api/index.js +1 -1
  4. package/dist/{canvasFacade-B2EHgdqA.js → canvasFacade-B8jYm_aO.js} +748 -748
  5. package/dist/cardFactory-DmEBcCf4.js +1460 -0
  6. package/dist/extensions/index.js +1 -1
  7. package/dist/fses-workbench-app.js +5 -5
  8. package/dist/{index-CMM-5ObU.js → index-D-WW3bXH.js} +350 -346
  9. package/dist/internal/personal-workbench/components/workbench/WorkbenchStudio.vue.d.ts +3 -2
  10. package/dist/internal/personal-workbench/fde-skill-cards/runtime/fdeSkillProtocolChartDisplayData.d.ts +0 -5
  11. package/dist/internal/personal-workbench/lib/assistantPersonaProfiles.d.ts +6 -6
  12. package/dist/internal/personal-workbench/lib/cardStyleConfig.d.ts +26 -26
  13. package/dist/internal/personal-workbench/lib/echartsOptionEditorBridge.d.ts +0 -5
  14. package/dist/internal/personal-workbench/lib/historyCardBindingRestore.fixture.d.ts +0 -5
  15. package/dist/internal/personal-workbench/lib/runtimePrimitiveRegistry.d.ts +1 -1
  16. package/dist/internal/personal-workbench/lib/vueRuntimeAdapters.d.ts +18 -6
  17. package/dist/internal/personal-workbench/lib/workbenchCanvasBusinessGapChecklist.d.ts +1 -1
  18. package/dist/internal/personal-workbench/lib/workbenchCardRecommendationFallback.d.ts +1 -1
  19. package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts +0 -5
  20. package/dist/internal/personal-workbench/lib/workbenchDataBindingBadge.d.ts +0 -5
  21. package/dist/internal/personal-workbench/lib/workbenchImageComposeEntry.d.ts +1 -1
  22. package/dist/internal/personal-workbench/lib/workbenchLayout.d.ts +0 -5
  23. package/dist/runtime/index.js +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useWorkbenchRuntime-DLf_FgC7.js → useWorkbenchRuntime-D_AtkXIX.js} +7938 -7900
  26. package/dist/version.d.ts +1 -1
  27. package/dist/{workbenchCustomComponentRegistry-Bt94Lgko.js → workbenchCustomComponentRegistry-CWUPjCnJ.js} +74 -74
  28. package/node_modules/@byteluck-fe/locale-message/README.md +2 -0
  29. package/node_modules/@byteluck-fe/locale-message/dist/index.d.ts +37 -0
  30. package/node_modules/@byteluck-fe/locale-message/dist/locale-message.js +55 -0
  31. package/node_modules/@byteluck-fe/locale-message/package.json +37 -0
  32. package/node_modules/@fses/ai-chat/dist/components/ContextUsageRing.vue.d.ts +5 -0
  33. package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +14 -1
  34. package/node_modules/@fses/ai-chat/dist/composables/types.d.ts +9 -0
  35. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +5832 -5670
  36. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +16 -18
  37. package/node_modules/@fses/ai-chat/dist/index.d.ts +1 -1
  38. package/node_modules/@fses/ai-chat/dist/style.css +1 -1
  39. package/node_modules/@fses/ai-chat/dist/utils/attachment-upload.d.ts +0 -5
  40. package/node_modules/@fses/ai-chat/package.json +6 -5
  41. package/node_modules/@fses/workbench-card/dist/fses-workbench-card-renderers.js +10144 -9914
  42. package/node_modules/@fses/workbench-card/dist/fses-workbench-card.js +1517 -1503
  43. package/node_modules/@fses/workbench-card/dist/fses-workbench-card.umd.cjs +1 -1
  44. package/node_modules/@fses/workbench-card/dist/renderers/chart/chartRendererRegistry.d.ts +97 -97
  45. package/node_modules/@fses/workbench-card/dist/renderers/style.css +1 -1
  46. package/node_modules/@fses/workbench-card/package.json +4 -1
  47. package/node_modules/@fses/workbench-card/src/registry/cardRegistry.ts +99 -98
  48. package/node_modules/@fses/workbench-card/src/registry/compositeCardPatterns.ts +31 -30
  49. package/node_modules/@fses/workbench-card/src/registry/echartsTemplateCategories.ts +24 -23
  50. package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.js +765 -764
  51. package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.ts +765 -764
  52. package/node_modules/@fses/workbench-card/src/renderers/WorkbenchBlockRenderer.vue +143 -129
  53. package/node_modules/@fses/workbench-card/src/renderers/chart/ChartRegistry.vue +4 -3
  54. package/node_modules/@fses/workbench-card/src/renderers/chart/EChartsProtocolRenderer.vue +2 -1
  55. package/node_modules/@fses/workbench-card/src/renderers/chart/chartRendererRegistry.ts +99 -98
  56. package/node_modules/@fses/workbench-card/src/renderers/chart/useEchart.ts +30 -29
  57. package/node_modules/@fses/workbench-card/src/renderers/native/nativeBindings.ts +11 -10
  58. package/node_modules/@fses/workbench-card/src/renderers/nested/nestedBlockBindings.ts +102 -101
  59. package/node_modules/@fses/workbench-card/src/renderers/reference-composite/referenceCompositeBindings.ts +364 -363
  60. package/node_modules/@fses/workbench-card/src/renderers/reference-composite/referenceRiskAndStrategyBindings.ts +90 -89
  61. package/node_modules/@fses/workbench-card/src/renderers/useWorkbenchBlockRendererBindings.ts +33 -32
  62. package/package.json +4 -3
  63. package/dist/Workspace-CfKvji6S.js +0 -22896
  64. package/dist/cardFactory-BK3CA-Gn.js +0 -1443
@@ -1,3 +1,4 @@
1
+ import { getLocaleText } from '@byteluck-fe/locale-message'
1
2
  /**
2
3
  * @fileoverview ECharts 模板主类别归类 - 将官方 category、seriesTypes 和 protocolType 映射到系统卡片分类。
3
4
  * @author seadon
@@ -24,29 +25,29 @@ export const ECHARTS_AUXILIARY_TAGS = new Set([
24
25
  ]);
25
26
 
26
27
  export const ECHARTS_MAIN_CATEGORIES: EChartsMainCategoryDefinition[] = [
27
- { id: 'line', name: '折线图', categoryId: 'card.echarts.line', description: '折线、面积、趋势类 ECharts 模板。', officialKeys: ['line'], seriesTypeKeys: ['line'], protocolFallbacks: [] },
28
- { id: 'bar', name: '柱状图', categoryId: 'card.echarts.bar', description: '柱状、堆叠、瀑布、排序柱图模板。', officialKeys: ['bar'], seriesTypeKeys: ['bar'], protocolFallbacks: [] },
29
- { id: 'pie', name: '饼图', categoryId: 'card.echarts.pie', description: '饼图、环图和占比结构模板。', officialKeys: ['pie'], seriesTypeKeys: ['pie'], protocolFallbacks: [] },
30
- { id: 'scatter', name: '散点图', categoryId: 'card.echarts.scatter', description: '散点、气泡和分布类模板。', officialKeys: ['scatter'], seriesTypeKeys: ['scatter', 'effectScatter', 'scatterGL'], protocolFallbacks: [] },
31
- { id: 'geoMap', name: '地理坐标/地图', categoryId: 'card.echarts.geoMap', description: '地图、地理坐标和区域分布模板。', officialKeys: ['map', 'geo'], seriesTypeKeys: ['map'], protocolFallbacks: ['geo'] },
32
- { id: 'candlestick', name: 'K 线图', categoryId: 'card.echarts.candlestick', description: 'K 线和金融走势模板。', officialKeys: ['candlestick'], seriesTypeKeys: ['candlestick'], protocolFallbacks: [] },
33
- { id: 'radar', name: '雷达图', categoryId: 'card.echarts.radar', description: '雷达指标模板。', officialKeys: ['radar'], seriesTypeKeys: ['radar'], protocolFallbacks: [] },
34
- { id: 'boxplot', name: '盒须图', categoryId: 'card.echarts.boxplot', description: '箱线、离群值和统计分布模板。', officialKeys: ['boxplot'], seriesTypeKeys: ['boxplot'], protocolFallbacks: [] },
35
- { id: 'heatmap', name: '热力图', categoryId: 'card.echarts.heatmap', description: '热力矩阵、日历热力和笛卡尔热力模板。', officialKeys: ['heatmap'], seriesTypeKeys: ['heatmap'], protocolFallbacks: [] },
36
- { id: 'graph', name: '关系图', categoryId: 'card.echarts.graph', description: '关系、力导向和网络节点模板。', officialKeys: ['graph', 'chord'], seriesTypeKeys: ['graph', 'graphGL', 'chord'], protocolFallbacks: ['network'] },
37
- { id: 'lines', name: '路径图', categoryId: 'card.echarts.lines', description: '飞线、轨迹和路径模板。', officialKeys: ['lines'], seriesTypeKeys: ['lines', 'lines3D', 'linesGL'], protocolFallbacks: [] },
38
- { id: 'tree', name: '树图', categoryId: 'card.echarts.tree', description: '树形层级模板。', officialKeys: ['tree'], seriesTypeKeys: ['tree'], protocolFallbacks: ['tree'] },
39
- { id: 'treemap', name: '矩形树图', categoryId: 'card.echarts.treemap', description: '矩形树图和面积占比层级模板。', officialKeys: ['treemap'], seriesTypeKeys: ['treemap'], protocolFallbacks: [] },
40
- { id: 'sunburst', name: '旭日图', categoryId: 'card.echarts.sunburst', description: '旭日层级占比模板。', officialKeys: ['sunburst'], seriesTypeKeys: ['sunburst'], protocolFallbacks: [] },
41
- { id: 'parallel', name: '平行坐标', categoryId: 'card.echarts.parallel', description: '多变量平行坐标模板。', officialKeys: ['parallel'], seriesTypeKeys: ['parallel'], protocolFallbacks: [] },
42
- { id: 'sankey', name: '桑基图', categoryId: 'card.echarts.sankey', description: '流向、能量流和路径转化模板。', officialKeys: ['sankey'], seriesTypeKeys: ['sankey'], protocolFallbacks: [] },
43
- { id: 'funnel', name: '漏斗图', categoryId: 'card.echarts.funnel', description: '转化漏斗和分阶段流失模板。', officialKeys: ['funnel'], seriesTypeKeys: ['funnel'], protocolFallbacks: [] },
44
- { id: 'gauge', name: '仪表盘', categoryId: 'card.echarts.gauge', description: '仪表盘和进度仪表模板。', officialKeys: ['gauge'], seriesTypeKeys: ['gauge'], protocolFallbacks: [] },
45
- { id: 'pictorialBar', name: '象形柱图', categoryId: 'card.echarts.pictorialBar', description: '象形柱、符号柱和图形化柱图模板。', officialKeys: ['pictorialBar'], seriesTypeKeys: ['pictorialBar'], protocolFallbacks: [] },
46
- { id: 'themeRiver', name: '主题河流图', categoryId: 'card.echarts.themeRiver', description: '主题河流和时序构成模板。', officialKeys: ['themeRiver'], seriesTypeKeys: ['themeRiver'], protocolFallbacks: [] },
47
- { id: 'calendar', name: '日历坐标', categoryId: 'card.echarts.calendar', description: '日历热力和日历坐标模板。', officialKeys: ['calendar'], seriesTypeKeys: [], protocolFallbacks: [] },
48
- { id: 'custom', name: '自定义系列', categoryId: 'card.echarts.custom', description: 'custom series 和自由绘制模板。', officialKeys: ['custom'], seriesTypeKeys: ['custom'], protocolFallbacks: ['graphic', 'layout', 'composite', 'configOnly', 'transition'] },
49
- { id: 'gl3d', name: '3D/GL 图表', categoryId: 'card.echarts.gl3d', description: '3D 散点、曲面、地球和 GL 模板。', officialKeys: ['3D', 'gl', 'globe'], seriesTypeKeys: ['bar3D', 'scatter3D', 'surface', 'lines3D', 'line3D', 'map3D', 'scatterGL', 'linesGL', 'graphGL'], protocolFallbacks: ['scene3D'] },
28
+ { id: 'line', name: getLocaleText('FWC.3ede1787581443960'), categoryId: 'card.echarts.line', description: getLocaleText('FWC.aad11787579106147'), officialKeys: ['line'], seriesTypeKeys: ['line'], protocolFallbacks: [] },
29
+ { id: 'bar', name: getLocaleText('FWC.4b8f1787581443473'), categoryId: 'card.echarts.bar', description: getLocaleText('FWC.34431787579204372'), officialKeys: ['bar'], seriesTypeKeys: ['bar'], protocolFallbacks: [] },
30
+ { id: 'pie', name: getLocaleText('FWC.80b51787581593919'), categoryId: 'card.echarts.pie', description: getLocaleText('FWC.70c61787579343134'), officialKeys: ['pie'], seriesTypeKeys: ['pie'], protocolFallbacks: [] },
31
+ { id: 'scatter', name: getLocaleText('FWC.897b1787581453666'), categoryId: 'card.echarts.scatter', description: getLocaleText('FWC.c2a71787579408201'), officialKeys: ['scatter'], seriesTypeKeys: ['scatter', 'effectScatter', 'scatterGL'], protocolFallbacks: [] },
32
+ { id: 'geoMap', name: getLocaleText('FWC.87691787580028857'), categoryId: 'card.echarts.geoMap', description: getLocaleText('FWC.c36d1787579255576'), officialKeys: ['map', 'geo'], seriesTypeKeys: ['map'], protocolFallbacks: ['geo'] },
33
+ { id: 'candlestick', name: getLocaleText('FWC.56b11787581114702'), categoryId: 'card.echarts.candlestick', description: getLocaleText('FWC.1c0a1787579527391'), officialKeys: ['candlestick'], seriesTypeKeys: ['candlestick'], protocolFallbacks: [] },
34
+ { id: 'radar', name: getLocaleText('FWC.2c2c1787581453612'), categoryId: 'card.echarts.radar', description: getLocaleText('FWC.c6081787580029427'), officialKeys: ['radar'], seriesTypeKeys: ['radar'], protocolFallbacks: [] },
35
+ { id: 'boxplot', name: getLocaleText('FWC.20631787581478016'), categoryId: 'card.echarts.boxplot', description: getLocaleText('FWC.ccb71787579294901'), officialKeys: ['boxplot'], seriesTypeKeys: ['boxplot'], protocolFallbacks: [] },
36
+ { id: 'heatmap', name: getLocaleText('FWC.38741787581445010'), categoryId: 'card.echarts.heatmap', description: getLocaleText('FWC.49721787579159628'), officialKeys: ['heatmap'], seriesTypeKeys: ['heatmap'], protocolFallbacks: [] },
37
+ { id: 'graph', name: getLocaleText('FWC.441c1787581478021'), categoryId: 'card.echarts.graph', description: getLocaleText('FWC.05911787579295434'), officialKeys: ['graph', 'chord'], seriesTypeKeys: ['graph', 'graphGL', 'chord'], protocolFallbacks: ['network'] },
38
+ { id: 'lines', name: getLocaleText('FWC.b1e11787581478026'), categoryId: 'card.echarts.lines', description: getLocaleText('FWC.de071787579528365'), officialKeys: ['lines'], seriesTypeKeys: ['lines', 'lines3D', 'linesGL'], protocolFallbacks: [] },
39
+ { id: 'tree', name: getLocaleText('FWC.a7b81787581594437'), categoryId: 'card.echarts.tree', description: getLocaleText('FWC.3aeb1787580029908'), officialKeys: ['tree'], seriesTypeKeys: ['tree'], protocolFallbacks: ['tree'] },
40
+ { id: 'treemap', name: getLocaleText('FWC.8f321787581117308'), categoryId: 'card.echarts.treemap', description: getLocaleText('FWC.8d1e1787579296472'), officialKeys: ['treemap'], seriesTypeKeys: ['treemap'], protocolFallbacks: [] },
41
+ { id: 'sunburst', name: getLocaleText('FWC.8d3e1787581478034'), categoryId: 'card.echarts.sunburst', description: getLocaleText('FWC.0c551787579738044'), officialKeys: ['sunburst'], seriesTypeKeys: ['sunburst'], protocolFallbacks: [] },
42
+ { id: 'parallel', name: getLocaleText('FWC.5d6f1787581117832'), categoryId: 'card.echarts.parallel', description: getLocaleText('FWC.db981787579600042'), officialKeys: ['parallel'], seriesTypeKeys: ['parallel'], protocolFallbacks: [] },
43
+ { id: 'sankey', name: getLocaleText('FWC.4df41787581477692'), categoryId: 'card.echarts.sankey', description: getLocaleText('FWC.77391787579297097'), officialKeys: ['sankey'], seriesTypeKeys: ['sankey'], protocolFallbacks: [] },
44
+ { id: 'funnel', name: getLocaleText('FWC.e3ff1787581461805'), categoryId: 'card.echarts.funnel', description: getLocaleText('FWC.046e1787579344217'), officialKeys: ['funnel'], seriesTypeKeys: ['funnel'], protocolFallbacks: [] },
45
+ { id: 'gauge', name: getLocaleText('FWC.b3b31787581477646'), categoryId: 'card.echarts.gauge', description: getLocaleText('FWC.9d4f1787579529260'), officialKeys: ['gauge'], seriesTypeKeys: ['gauge'], protocolFallbacks: [] },
46
+ { id: 'pictorialBar', name: getLocaleText('FWC.ce711787581118357'), categoryId: 'card.echarts.pictorialBar', description: getLocaleText('FWC.5a4b1787579205395'), officialKeys: ['pictorialBar'], seriesTypeKeys: ['pictorialBar'], protocolFallbacks: [] },
47
+ { id: 'themeRiver', name: getLocaleText('FWC.a6c51787580635479'), categoryId: 'card.echarts.themeRiver', description: getLocaleText('FWC.d4461787579408205'), officialKeys: ['themeRiver'], seriesTypeKeys: ['themeRiver'], protocolFallbacks: [] },
48
+ { id: 'calendar', name: getLocaleText('FWC.8c801787581118531'), categoryId: 'card.echarts.calendar', description: getLocaleText('FWC.91261787579408208'), officialKeys: ['calendar'], seriesTypeKeys: [], protocolFallbacks: [] },
49
+ { id: 'custom', name: getLocaleText('FWC.f66d1787580641924'), categoryId: 'card.echarts.custom', description: getLocaleText('FWC.fa2d1787579036941'), officialKeys: ['custom'], seriesTypeKeys: ['custom'], protocolFallbacks: ['graphic', 'layout', 'composite', 'configOnly', 'transition'] },
50
+ { id: 'gl3d', name: getLocaleText('FWC.72b11787579911965'), categoryId: 'card.echarts.gl3d', description: getLocaleText('FWC.0c691787579146710'), officialKeys: ['3D', 'gl', 'globe'], seriesTypeKeys: ['bar3D', 'scatter3D', 'surface', 'lines3D', 'line3D', 'map3D', 'scatterGL', 'linesGL', 'graphGL'], protocolFallbacks: ['scene3D'] },
50
51
  ];
51
52
 
52
53
  /**