aegon-lv97 1.0.0
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/gen-ai/build-report/chartStreamRefs.ts +227 -0
- package/gen-ai/build-report/coherence-check/index.vue +559 -0
- package/gen-ai/build-report/components/ReportChapterWorkspace.vue +4571 -0
- package/gen-ai/build-report/components/ReportConfigPanel.vue +727 -0
- package/gen-ai/build-report/components/ReportGenerateSettingsPanel.vue +2361 -0
- package/gen-ai/build-report/components/ReportGeneratingPanel.vue +1765 -0
- package/gen-ai/build-report/components/ReportPromptPanel.vue +625 -0
- package/gen-ai/build-report/components/ReportSourceFileSummary.vue +665 -0
- package/gen-ai/build-report/components/ReportSourcesPanel.vue +1327 -0
- package/gen-ai/build-report/components/ReportTemplateDetail.vue +191 -0
- package/gen-ai/build-report/components/ReportTemplateEditorFormPanel.vue +667 -0
- package/gen-ai/build-report/components/ReportTemplatePicker.vue +302 -0
- package/gen-ai/build-report/components/ReportWorkflowSidebar.vue +148 -0
- package/gen-ai/build-report/components/paramsSetting.vue +886 -0
- package/gen-ai/build-report/components/reportEdit.vue +2283 -0
- package/gen-ai/build-report/index.vue +856 -0
- package/gen-ai/build-report/report-domain.ts +1133 -0
- package/gen-ai/build-report/report-template-data.ts +295 -0
- package/gen-ai/build-report/useReportWorkflow.ts +1386 -0
- package/gen-ai/common/assets/NotoSans-SC.woff2 +0 -0
- package/gen-ai/common/assets/NotoSans-TC.woff2 +0 -0
- package/gen-ai/common/assets/NotoSans.woff2 +0 -0
- package/gen-ai/common/assets/fonts.css +278 -0
- package/gen-ai/common/assets/pagination.css +163 -0
- package/gen-ai/common/directives/btnLoading.ts +455 -0
- package/gen-ai/common/directives/debounce.ts +98 -0
- package/gen-ai/common/directives/index.ts +30 -0
- package/gen-ai/common/en.md +417 -0
- package/gen-ai/common/index.ts +36 -0
- package/gen-ai/common/types/component-expose.ts +9 -0
- package/gen-ai/common/utils/api-res-status.ts +7 -0
- package/gen-ai/common/utils/navigation.ts +59 -0
- package/gen-ai/common/utils/remote-request.ts +45 -0
- package/gen-ai/common/utils/scroll.ts +577 -0
- package/gen-ai/components/AIExport/docx-export.ts +950 -0
- package/gen-ai/components/AIExport/docxExport.ts +2566 -0
- package/gen-ai/components/AIExport/index.ts +52 -0
- package/gen-ai/components/AIExport/parseMarkdownHtml.ts +653 -0
- package/gen-ai/components/CapsuleScrollbar.vue +149 -0
- package/gen-ai/components/ChapterTitleScroll.vue +468 -0
- package/gen-ai/components/EntryHeroNavCards.vue +379 -0
- package/gen-ai/components/GenAiPagination.vue +52 -0
- package/gen-ai/components/ModelCard.vue +1114 -0
- package/gen-ai/components/Preview/FilePreviewPage.vue +949 -0
- package/gen-ai/components/Preview/PreviewCapsuleScroll.vue +205 -0
- package/gen-ai/components/Preview/PreviewOutlineTree.vue +148 -0
- package/gen-ai/components/Preview/index.ts +11 -0
- package/gen-ai/components/Preview/preview.ts +724 -0
- package/gen-ai/components/PromptField.vue +505 -0
- package/gen-ai/components/RecentReportsTable.vue +974 -0
- package/gen-ai/components/ReportCollapsibleSection.vue +172 -0
- package/gen-ai/components/ReportHistoryList.vue +637 -0
- package/gen-ai/components/ReportSectionConfirmPopover.vue +251 -0
- package/gen-ai/components/editor/ChapterTiptapEditor.vue +3718 -0
- package/gen-ai/components/editor/StructureBlockView.vue +441 -0
- package/gen-ai/components/editor/TiptapToolbar.vue +1036 -0
- package/gen-ai/components/editor/TypewriterDocEditor.vue +422 -0
- package/gen-ai/components/editor/_StructureOrgNode.vue +326 -0
- package/gen-ai/components/editor/index.ts +28 -0
- package/gen-ai/components/editor/parseMarkdownHtml.ts +754 -0
- package/gen-ai/components/editor/reviewCitationTip.ts +163 -0
- package/gen-ai/gen-entry/api/index.ts +32 -0
- package/gen-ai/gen-entry/index.vue +287 -0
- package/gen-ai/gen-entry/types/index.ts +4 -0
- package/gen-ai/i.mark +2 -0
- package/gen-ai/management-center/index.vue +1815 -0
- package/gen-ai/management-center/mockData.ts +248 -0
- package/gen-ai/management-center/types/index.ts +37 -0
- package/gen-ai/model-manager/TemplateEditorFormPanel.vue +661 -0
- package/gen-ai/model-manager/api/index.ts +32 -0
- package/gen-ai/model-manager/api/mockApi.ts +33 -0
- package/gen-ai/model-manager/index.vue +1583 -0
- package/gen-ai/model-manager/mockData.ts +177 -0
- package/gen-ai/model-manager/template-detail-shared.ts +154 -0
- package/gen-ai/model-manager/template-editor.vue +345 -0
- package/gen-ai/model-manager/types/index.ts +40 -0
- package/gen-ai/model-manager/utils.ts +25 -0
- package/package.json +12 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import type { ManagementOption, PendingOption, TransferRecord, TransferReport } from './types'
|
|
2
|
+
|
|
3
|
+
export const INDUSTRY_OPTIONS: ManagementOption[] = [
|
|
4
|
+
{ id: 'ind-1', name: '新能源汽車' },
|
|
5
|
+
{ id: 'ind-2', name: '新能源發電' },
|
|
6
|
+
{ id: 'ind-3', name: '數據中心' },
|
|
7
|
+
{ id: 'ind-4', name: '本港房地產' },
|
|
8
|
+
{ id: 'ind-5', name: '內地房地產' },
|
|
9
|
+
{ id: 'ind-6', name: '香港股票市場' },
|
|
10
|
+
{ id: 'ind-7', name: '戰略新興產業' },
|
|
11
|
+
{ id: 'ind-8', name: '半導體' },
|
|
12
|
+
{ id: 'ind-9', name: '消費電子' },
|
|
13
|
+
{ id: 'ind-10', name: '醫療健康' },
|
|
14
|
+
{ id: 'ind-11', name: '生物醫藥' },
|
|
15
|
+
{ id: 'ind-12', name: '物流運輸' },
|
|
16
|
+
{ id: 'ind-13', name: '航空旅遊' },
|
|
17
|
+
{ id: 'ind-14', name: '零售消費' },
|
|
18
|
+
{ id: 'ind-15', name: '食品飲料' },
|
|
19
|
+
{ id: 'ind-16', name: '化工材料' },
|
|
20
|
+
{ id: 'ind-17', name: '機械裝備' },
|
|
21
|
+
{ id: 'ind-18', name: '建築工程' },
|
|
22
|
+
{ id: 'ind-19', name: '電信運營' },
|
|
23
|
+
{ id: 'ind-20', name: '互聯網科技' },
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
export const RESEARCH_FOCUS_OPTIONS: ManagementOption[] = [
|
|
27
|
+
{ id: 'res-1', name: '中國香港' },
|
|
28
|
+
{ id: 'res-2', name: '中國內地' },
|
|
29
|
+
{ id: 'res-3', name: '東南亞' },
|
|
30
|
+
{ id: 'res-4', name: '歐美市場' },
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
export const PENDING_OPTIONS: PendingOption[] = [
|
|
34
|
+
{
|
|
35
|
+
id: 'pend-1',
|
|
36
|
+
changeType: '新增',
|
|
37
|
+
category: 'industry',
|
|
38
|
+
name: '人工智慧',
|
|
39
|
+
applicant: '陳小文',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: 'pend-2',
|
|
43
|
+
changeType: '新增',
|
|
44
|
+
category: 'industry',
|
|
45
|
+
name: '跨境電商',
|
|
46
|
+
applicant: '陳中文',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'pend-3',
|
|
50
|
+
changeType: '新增',
|
|
51
|
+
category: 'research',
|
|
52
|
+
name: '大中華區',
|
|
53
|
+
applicant: '豪大大',
|
|
54
|
+
},
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
export const TRANSFER_REPORTS: TransferReport[] = [
|
|
58
|
+
{
|
|
59
|
+
id: 'tr-1',
|
|
60
|
+
name: '香港房地產風控年報 2024',
|
|
61
|
+
industry: '香港房地產',
|
|
62
|
+
year: '2024',
|
|
63
|
+
status: '草稿',
|
|
64
|
+
initiator: '陳大文(單位)',
|
|
65
|
+
editors: '豪大大(單位)、陳中文(單位)、陳小文(單位)…',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: 'tr-2',
|
|
69
|
+
name: '內地房地產季度分析 2025',
|
|
70
|
+
industry: '內地房地產',
|
|
71
|
+
year: '2025',
|
|
72
|
+
status: '審核中',
|
|
73
|
+
initiator: '豪大大(單位)',
|
|
74
|
+
editors: '陳中文(單位)、陳小文(單位)',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 'tr-3',
|
|
78
|
+
name: '新能源汽車行業展望 2024',
|
|
79
|
+
industry: '新能源汽車',
|
|
80
|
+
year: '2024',
|
|
81
|
+
status: '已發布',
|
|
82
|
+
initiator: '陳中文(單位)',
|
|
83
|
+
editors: '陳小文(單位)',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: 'tr-4',
|
|
87
|
+
name: '半導體產業鏈研究 2025',
|
|
88
|
+
industry: '半導體',
|
|
89
|
+
year: '2025',
|
|
90
|
+
status: '草稿',
|
|
91
|
+
initiator: '陳小文(單位)',
|
|
92
|
+
editors: '陳大文(單位)、豪大大(單位)',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: 'tr-5',
|
|
96
|
+
name: '香港股票市場週報 2026',
|
|
97
|
+
industry: '香港股票市場',
|
|
98
|
+
year: '2026',
|
|
99
|
+
status: '草稿',
|
|
100
|
+
initiator: '陳大文(單位)',
|
|
101
|
+
editors: '豪大大(單位)',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: 'tr-6',
|
|
105
|
+
name: '數據中心投資分析 2024',
|
|
106
|
+
industry: '數據中心',
|
|
107
|
+
year: '2024',
|
|
108
|
+
status: '審核中',
|
|
109
|
+
initiator: '豪大大(單位)',
|
|
110
|
+
editors: '陳中文(單位)',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: 'tr-7',
|
|
114
|
+
name: '航空旅遊復甦報告 2025',
|
|
115
|
+
industry: '航空旅遊',
|
|
116
|
+
year: '2025',
|
|
117
|
+
status: '已發布',
|
|
118
|
+
initiator: '陳中文(單位)',
|
|
119
|
+
editors: '陳小文(單位)、陳大文(單位)',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: 'tr-8',
|
|
123
|
+
name: '零售消費趨勢年報 2024',
|
|
124
|
+
industry: '零售消費',
|
|
125
|
+
year: '2024',
|
|
126
|
+
status: '草稿',
|
|
127
|
+
initiator: '陳小文(單位)',
|
|
128
|
+
editors: '豪大大(單位)',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: 'tr-9',
|
|
132
|
+
name: '生物醫藥創新研究 2026',
|
|
133
|
+
industry: '生物醫藥',
|
|
134
|
+
year: '2026',
|
|
135
|
+
status: '草稿',
|
|
136
|
+
initiator: '陳大文(單位)',
|
|
137
|
+
editors: '陳中文(單位)、陳小文(單位)',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: 'tr-10',
|
|
141
|
+
name: '互聯網科技競爭格局 2025',
|
|
142
|
+
industry: '互聯網科技',
|
|
143
|
+
year: '2025',
|
|
144
|
+
status: '審核中',
|
|
145
|
+
initiator: '豪大大(單位)',
|
|
146
|
+
editors: '陳大文(單位)',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: 'tr-11',
|
|
150
|
+
name: '建築工程行業展望 2024',
|
|
151
|
+
industry: '建築工程',
|
|
152
|
+
year: '2024',
|
|
153
|
+
status: '已發布',
|
|
154
|
+
initiator: '陳中文(單位)',
|
|
155
|
+
editors: '陳小文(單位)',
|
|
156
|
+
},
|
|
157
|
+
]
|
|
158
|
+
|
|
159
|
+
export const TRANSFER_RECORDS: TransferRecord[] = [
|
|
160
|
+
{
|
|
161
|
+
id: 'rec-1',
|
|
162
|
+
reportName: '香港房地產風控年報 2024',
|
|
163
|
+
originalInitiator: '豪大大(單位)',
|
|
164
|
+
currentInitiator: '陳大文(單位)',
|
|
165
|
+
operator: '陳小文(單位)',
|
|
166
|
+
operatedAt: '2026-05-08 15:05:22',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: 'rec-2',
|
|
170
|
+
reportName: '香港房地產風控年報 2024',
|
|
171
|
+
originalInitiator: '豪大大(單位)',
|
|
172
|
+
currentInitiator: '陳大文(單位)',
|
|
173
|
+
operator: '陳小文(單位)',
|
|
174
|
+
operatedAt: '2026-05-08 15:05:22',
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: 'rec-3',
|
|
178
|
+
reportName: '香港房地產風控年報 2024',
|
|
179
|
+
originalInitiator: '豪大大(單位)',
|
|
180
|
+
currentInitiator: '陳大文(單位)',
|
|
181
|
+
operator: '陳小文(單位)',
|
|
182
|
+
operatedAt: '2026-05-08 15:05:22',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: 'rec-4',
|
|
186
|
+
reportName: '香港房地產風控年報 2024',
|
|
187
|
+
originalInitiator: '豪大大(單位)',
|
|
188
|
+
currentInitiator: '陳大文(單位)',
|
|
189
|
+
operator: '陳小文(單位)',
|
|
190
|
+
operatedAt: '2026-05-08 15:05:22',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: 'rec-5',
|
|
194
|
+
reportName: '香港房地產風控年報 2024',
|
|
195
|
+
originalInitiator: '豪大大(單位)',
|
|
196
|
+
currentInitiator: '陳大文(單位)',
|
|
197
|
+
operator: '陳小文(單位)',
|
|
198
|
+
operatedAt: '2026-05-08 15:05:22',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: 'rec-6',
|
|
202
|
+
reportName: '內地房地產季度分析 2025',
|
|
203
|
+
originalInitiator: '陳小文(單位)',
|
|
204
|
+
currentInitiator: '豪大大(單位)',
|
|
205
|
+
operator: '陳中文(單位)',
|
|
206
|
+
operatedAt: '2026-04-12 09:30:15',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
id: 'rec-7',
|
|
210
|
+
reportName: '半導體產業鏈研究 2025',
|
|
211
|
+
originalInitiator: '陳大文(單位)',
|
|
212
|
+
currentInitiator: '陳小文(單位)',
|
|
213
|
+
operator: '豪大大(單位)',
|
|
214
|
+
operatedAt: '2026-03-20 11:18:40',
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: 'rec-8',
|
|
218
|
+
reportName: '新能源汽車行業展望 2024',
|
|
219
|
+
originalInitiator: '豪大大(單位)',
|
|
220
|
+
currentInitiator: '陳中文(單位)',
|
|
221
|
+
operator: '陳大文(單位)',
|
|
222
|
+
operatedAt: '2026-02-05 16:42:08',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
id: 'rec-9',
|
|
226
|
+
reportName: '數據中心投資分析 2024',
|
|
227
|
+
originalInitiator: '陳中文(單位)',
|
|
228
|
+
currentInitiator: '豪大大(單位)',
|
|
229
|
+
operator: '陳小文(單位)',
|
|
230
|
+
operatedAt: '2026-01-15 10:22:33',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
id: 'rec-10',
|
|
234
|
+
reportName: '航空旅遊復甦報告 2025',
|
|
235
|
+
originalInitiator: '陳小文(單位)',
|
|
236
|
+
currentInitiator: '陳大文(單位)',
|
|
237
|
+
operator: '陳中文(單位)',
|
|
238
|
+
operatedAt: '2025-12-28 14:55:01',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
id: 'rec-11',
|
|
242
|
+
reportName: '零售消費趨勢年報 2024',
|
|
243
|
+
originalInitiator: '陳大文(單位)',
|
|
244
|
+
currentInitiator: '陳小文(單位)',
|
|
245
|
+
operator: '豪大大(單位)',
|
|
246
|
+
operatedAt: '2025-11-10 08:15:47',
|
|
247
|
+
},
|
|
248
|
+
]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type ManagementTab = 'industry' | 'research' | 'transfer'
|
|
2
|
+
|
|
3
|
+
export type PendingCategory = 'industry' | 'research'
|
|
4
|
+
|
|
5
|
+
export interface ManagementOption {
|
|
6
|
+
id: string
|
|
7
|
+
name: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface TransferReport {
|
|
11
|
+
id: string
|
|
12
|
+
name: string
|
|
13
|
+
industry: string
|
|
14
|
+
year: string
|
|
15
|
+
status: string
|
|
16
|
+
initiator: string
|
|
17
|
+
editors: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface TransferRecord {
|
|
21
|
+
id: string
|
|
22
|
+
reportName: string
|
|
23
|
+
originalInitiator: string
|
|
24
|
+
currentInitiator: string
|
|
25
|
+
operator: string
|
|
26
|
+
operatedAt: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface PendingOption {
|
|
30
|
+
id: string
|
|
31
|
+
changeType: '新增'
|
|
32
|
+
category: PendingCategory
|
|
33
|
+
name: string
|
|
34
|
+
applicant: string
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type PendingDecision = 'approve' | 'reject' | null
|