@fses/workbench-app 0.2.15 → 0.2.17
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-r8ayksVF.js +23176 -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-C0L5xASu.js → index-DEOR_GPc.js} +350 -346
- 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 +0 -5
- 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-DDD22mdF.js} +7817 -7813
- 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 +5 -0
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +6225 -6075
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -19
- 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 +4 -3
- 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-_r17G1XR.js +0 -22895
- package/dist/cardFactory-BK3CA-Gn.js +0 -1443
|
@@ -16,177 +16,177 @@ export interface ChartRendererDefinition {
|
|
|
16
16
|
export declare const CHART_RENDERER_DEFINITIONS: readonly [{
|
|
17
17
|
readonly key: "network";
|
|
18
18
|
readonly title: "网络关系图";
|
|
19
|
-
readonly subtitle:
|
|
20
|
-
readonly label:
|
|
21
|
-
readonly aliases: [
|
|
19
|
+
readonly subtitle: string;
|
|
20
|
+
readonly label: string;
|
|
21
|
+
readonly aliases: [string, string, "network"];
|
|
22
22
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
23
23
|
}, {
|
|
24
24
|
readonly key: "drilldownTree";
|
|
25
|
-
readonly title:
|
|
26
|
-
readonly subtitle:
|
|
27
|
-
readonly label:
|
|
28
|
-
readonly aliases: [
|
|
25
|
+
readonly title: string;
|
|
26
|
+
readonly subtitle: string;
|
|
27
|
+
readonly label: string;
|
|
28
|
+
readonly aliases: [string, "drilldownTree"];
|
|
29
29
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
30
30
|
}, {
|
|
31
31
|
readonly key: "pareto";
|
|
32
|
-
readonly title:
|
|
33
|
-
readonly subtitle:
|
|
34
|
-
readonly label:
|
|
35
|
-
readonly aliases: [
|
|
32
|
+
readonly title: string;
|
|
33
|
+
readonly subtitle: string;
|
|
34
|
+
readonly label: string;
|
|
35
|
+
readonly aliases: [string, "pareto"];
|
|
36
36
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
37
37
|
}, {
|
|
38
38
|
readonly key: "stackedBar";
|
|
39
39
|
readonly title: "堆叠柱状图";
|
|
40
|
-
readonly subtitle:
|
|
40
|
+
readonly subtitle: string;
|
|
41
41
|
readonly label: "堆叠柱状图";
|
|
42
|
-
readonly aliases: ["堆叠柱状图",
|
|
42
|
+
readonly aliases: ["堆叠柱状图", string, "stackedBar"];
|
|
43
43
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
44
44
|
}, {
|
|
45
45
|
readonly key: "area";
|
|
46
|
-
readonly title:
|
|
47
|
-
readonly subtitle:
|
|
48
|
-
readonly label:
|
|
49
|
-
readonly aliases: [
|
|
46
|
+
readonly title: string;
|
|
47
|
+
readonly subtitle: string;
|
|
48
|
+
readonly label: string;
|
|
49
|
+
readonly aliases: [string, "area"];
|
|
50
50
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
51
51
|
}, {
|
|
52
52
|
readonly key: "boxplot";
|
|
53
|
-
readonly title:
|
|
54
|
-
readonly subtitle:
|
|
55
|
-
readonly label:
|
|
56
|
-
readonly aliases: [
|
|
53
|
+
readonly title: string;
|
|
54
|
+
readonly subtitle: string;
|
|
55
|
+
readonly label: string;
|
|
56
|
+
readonly aliases: [string, "boxplot"];
|
|
57
57
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
58
58
|
}, {
|
|
59
59
|
readonly key: "geoGlobe";
|
|
60
|
-
readonly title:
|
|
61
|
-
readonly subtitle:
|
|
62
|
-
readonly label:
|
|
63
|
-
readonly aliases: [
|
|
60
|
+
readonly title: string;
|
|
61
|
+
readonly subtitle: string;
|
|
62
|
+
readonly label: string;
|
|
63
|
+
readonly aliases: [string, string, "geoGlobe"];
|
|
64
64
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
65
65
|
}, {
|
|
66
66
|
readonly key: "donut";
|
|
67
|
-
readonly title:
|
|
68
|
-
readonly subtitle:
|
|
69
|
-
readonly label:
|
|
70
|
-
readonly aliases: [
|
|
67
|
+
readonly title: string;
|
|
68
|
+
readonly subtitle: string;
|
|
69
|
+
readonly label: string;
|
|
70
|
+
readonly aliases: [string, "donut"];
|
|
71
71
|
readonly defaultResourceKey: "sales.region_mix";
|
|
72
72
|
}, {
|
|
73
73
|
readonly key: "pie";
|
|
74
|
-
readonly title:
|
|
75
|
-
readonly subtitle:
|
|
76
|
-
readonly label:
|
|
77
|
-
readonly aliases: [
|
|
74
|
+
readonly title: string;
|
|
75
|
+
readonly subtitle: string;
|
|
76
|
+
readonly label: string;
|
|
77
|
+
readonly aliases: [string, "pie"];
|
|
78
78
|
readonly defaultResourceKey: "sales.region_mix";
|
|
79
79
|
}, {
|
|
80
80
|
readonly key: "radar";
|
|
81
|
-
readonly title:
|
|
82
|
-
readonly subtitle:
|
|
83
|
-
readonly label:
|
|
84
|
-
readonly aliases: [
|
|
81
|
+
readonly title: string;
|
|
82
|
+
readonly subtitle: string;
|
|
83
|
+
readonly label: string;
|
|
84
|
+
readonly aliases: [string, "radar"];
|
|
85
85
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
86
86
|
}, {
|
|
87
87
|
readonly key: "bubble";
|
|
88
|
-
readonly title:
|
|
89
|
-
readonly subtitle:
|
|
90
|
-
readonly label:
|
|
91
|
-
readonly aliases: [
|
|
88
|
+
readonly title: string;
|
|
89
|
+
readonly subtitle: string;
|
|
90
|
+
readonly label: string;
|
|
91
|
+
readonly aliases: [string, "bubble"];
|
|
92
92
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
93
93
|
}, {
|
|
94
94
|
readonly key: "scatter";
|
|
95
|
-
readonly title:
|
|
96
|
-
readonly subtitle:
|
|
97
|
-
readonly label:
|
|
98
|
-
readonly aliases: [
|
|
95
|
+
readonly title: string;
|
|
96
|
+
readonly subtitle: string;
|
|
97
|
+
readonly label: string;
|
|
98
|
+
readonly aliases: [string, "scatter"];
|
|
99
99
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
100
100
|
}, {
|
|
101
101
|
readonly key: "funnel";
|
|
102
|
-
readonly title:
|
|
103
|
-
readonly subtitle:
|
|
104
|
-
readonly label:
|
|
105
|
-
readonly aliases: [
|
|
102
|
+
readonly title: string;
|
|
103
|
+
readonly subtitle: string;
|
|
104
|
+
readonly label: string;
|
|
105
|
+
readonly aliases: [string, "funnel"];
|
|
106
106
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
107
107
|
}, {
|
|
108
108
|
readonly key: "gauge";
|
|
109
|
-
readonly title:
|
|
110
|
-
readonly subtitle:
|
|
111
|
-
readonly label:
|
|
112
|
-
readonly aliases: [
|
|
109
|
+
readonly title: string;
|
|
110
|
+
readonly subtitle: string;
|
|
111
|
+
readonly label: string;
|
|
112
|
+
readonly aliases: [string, "gauge"];
|
|
113
113
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
114
114
|
}, {
|
|
115
115
|
readonly key: "map";
|
|
116
|
-
readonly title:
|
|
117
|
-
readonly subtitle:
|
|
118
|
-
readonly label:
|
|
119
|
-
readonly aliases: [
|
|
116
|
+
readonly title: string;
|
|
117
|
+
readonly subtitle: string;
|
|
118
|
+
readonly label: string;
|
|
119
|
+
readonly aliases: [string, "map"];
|
|
120
120
|
readonly defaultResourceKey: "sales.region_map";
|
|
121
121
|
}, {
|
|
122
122
|
readonly key: "sankey";
|
|
123
|
-
readonly title:
|
|
124
|
-
readonly subtitle:
|
|
125
|
-
readonly label:
|
|
126
|
-
readonly aliases: [
|
|
123
|
+
readonly title: string;
|
|
124
|
+
readonly subtitle: string;
|
|
125
|
+
readonly label: string;
|
|
126
|
+
readonly aliases: [string, "sankey"];
|
|
127
127
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
128
128
|
}, {
|
|
129
129
|
readonly key: "tree";
|
|
130
|
-
readonly title:
|
|
131
|
-
readonly subtitle:
|
|
132
|
-
readonly label:
|
|
133
|
-
readonly aliases: [
|
|
130
|
+
readonly title: string;
|
|
131
|
+
readonly subtitle: string;
|
|
132
|
+
readonly label: string;
|
|
133
|
+
readonly aliases: [string, "tree"];
|
|
134
134
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
135
135
|
}, {
|
|
136
136
|
readonly key: "gantt";
|
|
137
|
-
readonly title:
|
|
138
|
-
readonly subtitle:
|
|
139
|
-
readonly label:
|
|
140
|
-
readonly aliases: [
|
|
137
|
+
readonly title: string;
|
|
138
|
+
readonly subtitle: string;
|
|
139
|
+
readonly label: string;
|
|
140
|
+
readonly aliases: [string, "gantt"];
|
|
141
141
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
142
142
|
}, {
|
|
143
143
|
readonly key: "kline";
|
|
144
|
-
readonly title:
|
|
145
|
-
readonly subtitle:
|
|
146
|
-
readonly label:
|
|
147
|
-
readonly aliases: [
|
|
144
|
+
readonly title: string;
|
|
145
|
+
readonly subtitle: string;
|
|
146
|
+
readonly label: string;
|
|
147
|
+
readonly aliases: [string, string, "kline", "candlestick"];
|
|
148
148
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
149
149
|
}, {
|
|
150
150
|
readonly key: "candlestick";
|
|
151
|
-
readonly title:
|
|
152
|
-
readonly subtitle:
|
|
153
|
-
readonly label:
|
|
151
|
+
readonly title: string;
|
|
152
|
+
readonly subtitle: string;
|
|
153
|
+
readonly label: string;
|
|
154
154
|
readonly aliases: ["candlestick"];
|
|
155
155
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
156
156
|
}, {
|
|
157
157
|
readonly key: "heatmap";
|
|
158
|
-
readonly title:
|
|
159
|
-
readonly subtitle:
|
|
160
|
-
readonly label:
|
|
161
|
-
readonly aliases: [
|
|
158
|
+
readonly title: string;
|
|
159
|
+
readonly subtitle: string;
|
|
160
|
+
readonly label: string;
|
|
161
|
+
readonly aliases: [string, "heatmap"];
|
|
162
162
|
readonly defaultResourceKey: (roleId: RoleId) => string;
|
|
163
163
|
}, {
|
|
164
164
|
readonly key: "waterfall";
|
|
165
|
-
readonly title:
|
|
166
|
-
readonly subtitle:
|
|
167
|
-
readonly label:
|
|
168
|
-
readonly aliases: [
|
|
165
|
+
readonly title: string;
|
|
166
|
+
readonly subtitle: string;
|
|
167
|
+
readonly label: string;
|
|
168
|
+
readonly aliases: [string, "waterfall"];
|
|
169
169
|
readonly defaultResourceKey: "finance.cashflow_trend";
|
|
170
170
|
}, {
|
|
171
171
|
readonly key: "mixedBarLine";
|
|
172
|
-
readonly title:
|
|
173
|
-
readonly subtitle:
|
|
174
|
-
readonly label:
|
|
175
|
-
readonly aliases: [
|
|
172
|
+
readonly title: string;
|
|
173
|
+
readonly subtitle: string;
|
|
174
|
+
readonly label: string;
|
|
175
|
+
readonly aliases: [string, string, string, "mixed", "mixedbarline"];
|
|
176
176
|
readonly defaultResourceKey: "sales.trend";
|
|
177
177
|
}, {
|
|
178
178
|
readonly key: "line";
|
|
179
|
-
readonly title:
|
|
180
|
-
readonly subtitle:
|
|
181
|
-
readonly label:
|
|
182
|
-
readonly aliases: [
|
|
179
|
+
readonly title: string;
|
|
180
|
+
readonly subtitle: string;
|
|
181
|
+
readonly label: string;
|
|
182
|
+
readonly aliases: [string, "line"];
|
|
183
183
|
readonly defaultResourceKey: "sales.trend";
|
|
184
184
|
}, {
|
|
185
185
|
readonly key: "bar";
|
|
186
|
-
readonly title:
|
|
187
|
-
readonly subtitle:
|
|
188
|
-
readonly label:
|
|
189
|
-
readonly aliases: [
|
|
186
|
+
readonly title: string;
|
|
187
|
+
readonly subtitle: string;
|
|
188
|
+
readonly label: string;
|
|
189
|
+
readonly aliases: [string, string, "bar"];
|
|
190
190
|
readonly defaultResourceKey: "sales.trend";
|
|
191
191
|
}];
|
|
192
192
|
export declare const CHART_RENDERER_KEYS: ("tree" | "network" | "bar" | "line" | "geoGlobe" | "donut" | "pie" | "scatter" | "map" | "candlestick" | "radar" | "boxplot" | "heatmap" | "sankey" | "funnel" | "gauge" | "mixedBarLine" | "waterfall" | "bubble" | "gantt" | "kline" | "area" | "stackedBar" | "pareto" | "drilldownTree")[];
|
|
@@ -214,6 +214,6 @@ export declare function resolveChartResourceKey(definition: ChartRendererDefinit
|
|
|
214
214
|
export declare function detectChartRenderer(text: string, roleId: RoleId): {
|
|
215
215
|
rendererKey: "tree" | "network" | "bar" | "line" | "geoGlobe" | "donut" | "pie" | "scatter" | "map" | "candlestick" | "radar" | "boxplot" | "heatmap" | "sankey" | "funnel" | "gauge" | "mixedBarLine" | "waterfall" | "bubble" | "gantt" | "kline" | "area" | "stackedBar" | "pareto" | "drilldownTree";
|
|
216
216
|
title: string;
|
|
217
|
-
subtitle:
|
|
217
|
+
subtitle: string;
|
|
218
218
|
resourceKey: string;
|
|
219
219
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.echarts-protocol-renderer[data-v-
|
|
1
|
+
.echarts-protocol-renderer[data-v-158b5c82]{width:100%;height:100%;min-height:0;overflow:hidden}.echarts-protocol-chart[data-v-158b5c82]{width:100%;height:100%;min-height:0}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fses/workbench-card",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
"vite": "^5.4.19",
|
|
74
74
|
"vue-tsc": "^2.2.10"
|
|
75
75
|
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@byteluck-fe/locale-message": "^1.0.16"
|
|
78
|
+
},
|
|
76
79
|
"scripts": {
|
|
77
80
|
"stub": "node ./scripts/clean-tsbuildinfo.mjs && node ./scripts/generate-echarts-registry-js.mjs && vue-tsc --emitDeclarationOnly",
|
|
78
81
|
"build": "node ./scripts/clean-tsbuildinfo.mjs && node ./scripts/generate-echarts-registry-js.mjs && vite build && vite build --config vite.config.renderers.ts --emptyOutDir false && vite build --config vite.config.echarts-protocol.ts --emptyOutDir false && vue-tsc --emitDeclarationOnly",
|