@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.
- package/WORKBENCH-CLOSURE.json +18 -12
- package/dist/Workspace-JvnSC-w9.js +23186 -0
- package/dist/canvas/api/index.js +1 -1
- package/dist/{canvasFacade-B2EHgdqA.js → canvasFacade-B8jYm_aO.js} +748 -748
- package/dist/cardFactory-DmEBcCf4.js +1460 -0
- package/dist/extensions/index.js +1 -1
- package/dist/fses-workbench-app.js +5 -5
- package/dist/{index-CMM-5ObU.js → index-D-WW3bXH.js} +350 -346
- package/dist/internal/personal-workbench/components/workbench/WorkbenchStudio.vue.d.ts +3 -2
- package/dist/internal/personal-workbench/fde-skill-cards/runtime/fdeSkillProtocolChartDisplayData.d.ts +0 -5
- package/dist/internal/personal-workbench/lib/assistantPersonaProfiles.d.ts +6 -6
- package/dist/internal/personal-workbench/lib/cardStyleConfig.d.ts +26 -26
- package/dist/internal/personal-workbench/lib/echartsOptionEditorBridge.d.ts +0 -5
- package/dist/internal/personal-workbench/lib/historyCardBindingRestore.fixture.d.ts +0 -5
- package/dist/internal/personal-workbench/lib/runtimePrimitiveRegistry.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/vueRuntimeAdapters.d.ts +18 -6
- package/dist/internal/personal-workbench/lib/workbenchCanvasBusinessGapChecklist.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/workbenchCardRecommendationFallback.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts +0 -5
- package/dist/internal/personal-workbench/lib/workbenchDataBindingBadge.d.ts +0 -5
- package/dist/internal/personal-workbench/lib/workbenchImageComposeEntry.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/workbenchLayout.d.ts +0 -5
- package/dist/runtime/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useWorkbenchRuntime-DLf_FgC7.js → useWorkbenchRuntime-D_AtkXIX.js} +7938 -7900
- package/dist/version.d.ts +1 -1
- package/dist/{workbenchCustomComponentRegistry-Bt94Lgko.js → workbenchCustomComponentRegistry-CWUPjCnJ.js} +74 -74
- package/node_modules/@byteluck-fe/locale-message/README.md +2 -0
- package/node_modules/@byteluck-fe/locale-message/dist/index.d.ts +37 -0
- package/node_modules/@byteluck-fe/locale-message/dist/locale-message.js +55 -0
- package/node_modules/@byteluck-fe/locale-message/package.json +37 -0
- package/node_modules/@fses/ai-chat/dist/components/ContextUsageRing.vue.d.ts +5 -0
- package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +14 -1
- package/node_modules/@fses/ai-chat/dist/composables/types.d.ts +9 -0
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +5832 -5670
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +16 -18
- package/node_modules/@fses/ai-chat/dist/index.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/style.css +1 -1
- package/node_modules/@fses/ai-chat/dist/utils/attachment-upload.d.ts +0 -5
- package/node_modules/@fses/ai-chat/package.json +6 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card-renderers.js +10144 -9914
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.js +1517 -1503
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.umd.cjs +1 -1
- package/node_modules/@fses/workbench-card/dist/renderers/chart/chartRendererRegistry.d.ts +97 -97
- package/node_modules/@fses/workbench-card/dist/renderers/style.css +1 -1
- package/node_modules/@fses/workbench-card/package.json +4 -1
- package/node_modules/@fses/workbench-card/src/registry/cardRegistry.ts +99 -98
- package/node_modules/@fses/workbench-card/src/registry/compositeCardPatterns.ts +31 -30
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateCategories.ts +24 -23
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.js +765 -764
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.ts +765 -764
- package/node_modules/@fses/workbench-card/src/renderers/WorkbenchBlockRenderer.vue +143 -129
- package/node_modules/@fses/workbench-card/src/renderers/chart/ChartRegistry.vue +4 -3
- package/node_modules/@fses/workbench-card/src/renderers/chart/EChartsProtocolRenderer.vue +2 -1
- package/node_modules/@fses/workbench-card/src/renderers/chart/chartRendererRegistry.ts +99 -98
- package/node_modules/@fses/workbench-card/src/renderers/chart/useEchart.ts +30 -29
- package/node_modules/@fses/workbench-card/src/renderers/native/nativeBindings.ts +11 -10
- package/node_modules/@fses/workbench-card/src/renderers/nested/nestedBlockBindings.ts +102 -101
- package/node_modules/@fses/workbench-card/src/renderers/reference-composite/referenceCompositeBindings.ts +364 -363
- package/node_modules/@fses/workbench-card/src/renderers/reference-composite/referenceRiskAndStrategyBindings.ts +90 -89
- package/node_modules/@fses/workbench-card/src/renderers/useWorkbenchBlockRendererBindings.ts +33 -32
- package/package.json +4 -3
- package/dist/Workspace-CfKvji6S.js +0 -22896
- 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: '
|
|
28
|
-
{ id: 'bar', name: '
|
|
29
|
-
{ id: 'pie', name: '
|
|
30
|
-
{ id: 'scatter', name: '
|
|
31
|
-
{ id: 'geoMap', name: '
|
|
32
|
-
{ id: 'candlestick', name: '
|
|
33
|
-
{ id: 'radar', name: '
|
|
34
|
-
{ id: 'boxplot', name: '
|
|
35
|
-
{ id: 'heatmap', name: '
|
|
36
|
-
{ id: 'graph', name: '
|
|
37
|
-
{ id: 'lines', name: '
|
|
38
|
-
{ id: 'tree', name: '
|
|
39
|
-
{ id: 'treemap', name: '
|
|
40
|
-
{ id: 'sunburst', name: '
|
|
41
|
-
{ id: 'parallel', name: '
|
|
42
|
-
{ id: 'sankey', name: '
|
|
43
|
-
{ id: 'funnel', name: '
|
|
44
|
-
{ id: 'gauge', name: '
|
|
45
|
-
{ id: 'pictorialBar', name: '
|
|
46
|
-
{ id: 'themeRiver', name: '
|
|
47
|
-
{ id: 'calendar', name: '
|
|
48
|
-
{ id: 'custom', name: '
|
|
49
|
-
{ id: 'gl3d', name: '
|
|
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
|
/**
|