aegon-lv82 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.
Files changed (148) hide show
  1. package/package.json +12 -0
  2. package/src/App.vue +44 -0
  3. package/src/api/index.ts +19 -0
  4. package/src/api/modules/build-report/reportEditor.ts +526 -0
  5. package/src/api/modules/build-report/reportPermission.ts +64 -0
  6. package/src/api/modules/index.ts +69 -0
  7. package/src/api/modules/industry/green_mortgage.ts +42 -0
  8. package/src/api/modules/user/index.ts +4 -0
  9. package/src/api/request.ts +124 -0
  10. package/src/assets/sample-access-icon.png +0 -0
  11. package/src/assets/sample-pie-chart.png +0 -0
  12. package/src/assets/vue.svg +1 -0
  13. package/src/components/CapsuleScrollbar.vue +7 -0
  14. package/src/components/Export/ExcelExport.vue +592 -0
  15. package/src/components/Export/ExcelExport2.vue +494 -0
  16. package/src/components/Export/ExcelExport3.vue +342 -0
  17. package/src/components/Export/ExcelExport4.vue +665 -0
  18. package/src/components/Export/excelExport.js +547 -0
  19. package/src/components/Export/excelExport.ts +551 -0
  20. package/src/components/GEN-AI/index.vue +140 -0
  21. package/src/components/GEN-AI/index1.vue +422 -0
  22. package/src/components/GEN-AI/index10.vue +5 -0
  23. package/src/components/GEN-AI/index2.vue +548 -0
  24. package/src/components/GEN-AI/index3.vue +605 -0
  25. package/src/components/GEN-AI/index4.vue +609 -0
  26. package/src/components/GEN-AI/index5.vue +558 -0
  27. package/src/components/GEN-AI/index6.vue +634 -0
  28. package/src/components/GEN-AI/index7.vue +688 -0
  29. package/src/components/GEN-AI/index8.vue +458 -0
  30. package/src/components/GEN-AI/index9.vue +1217 -0
  31. package/src/components/GEN-AI/types.ts +12 -0
  32. package/src/components/GEN-AI/utils.ts +42 -0
  33. package/src/components/HelloWorld.vue +41 -0
  34. package/src/components/PageCard.vue +124 -0
  35. package/src/components/PageHeader.vue +32 -0
  36. package/src/components/backup/index5 copy.vue +556 -0
  37. package/src/components/backup/index5.vue +620 -0
  38. package/src/components/backup/index9 copy.vue +1029 -0
  39. package/src/components/backup/index9-pro.vue +1065 -0
  40. package/src/components/backup/index9.vue +1057 -0
  41. package/src/directives/btnLoading.ts +455 -0
  42. package/src/directives/debounce copy.ts +670 -0
  43. package/src/directives/debounce.ts +98 -0
  44. package/src/directives/index.ts +25 -0
  45. package/src/layouts/MainLayout.vue +129 -0
  46. package/src/main.ts +76 -0
  47. package/src/router/index.ts +142 -0
  48. package/src/router/menus.ts +28 -0
  49. package/src/store/modules/gen-ai/index.ts +1 -0
  50. package/src/store/modules/gen-ai/reportBuild.ts +37 -0
  51. package/src/style.css +79 -0
  52. package/src/styles/report-config-popover.css +39 -0
  53. package/src/styles/report-icon-btn.css +19 -0
  54. package/src/test/mock.ts +101 -0
  55. package/src/test/test1.vue +402 -0
  56. package/src/test/test2.vue +1689 -0
  57. package/src/types/gen-ai/build-report/reportEditor.ts +684 -0
  58. package/src/utils/function.ts +46 -0
  59. package/src/utils/gen-ai-navigation.ts +1 -0
  60. package/src/utils/gen-ai-scroll.ts +1 -0
  61. package/src/utils/openDataLoaderWordExport.ts +33 -0
  62. package/src/utils/pageScrollbar.ts +115 -0
  63. package/src/utils/randomTranscode.ts +87 -0
  64. package/src/utils/reportPdfExport.ts +44 -0
  65. package/src/views/Blank.vue +68 -0
  66. package/src/views/Home.vue +29 -0
  67. package/src/views/TemplateCenter/Knowledge.ts +83 -0
  68. package/src/views/TemplateCenter/data.d.ts +10 -0
  69. package/src/views/TemplateCenter/index.vue +1128 -0
  70. package/src/views/TemplateCenter/service.ts +69 -0
  71. package/src/views/gen-ai/build-report/chartStreamRefs.ts +174 -0
  72. package/src/views/gen-ai/build-report/coherence-check/index.vue +559 -0
  73. package/src/views/gen-ai/build-report/components/ReportChapterWorkspace.vue +4258 -0
  74. package/src/views/gen-ai/build-report/components/ReportConfigPanel.vue +727 -0
  75. package/src/views/gen-ai/build-report/components/ReportGenerateSettingsPanel.vue +2361 -0
  76. package/src/views/gen-ai/build-report/components/ReportGeneratingPanel.vue +1765 -0
  77. package/src/views/gen-ai/build-report/components/ReportPromptPanel.vue +614 -0
  78. package/src/views/gen-ai/build-report/components/ReportSourceFileSummary.vue +656 -0
  79. package/src/views/gen-ai/build-report/components/ReportSourcesPanel.vue +1327 -0
  80. package/src/views/gen-ai/build-report/components/ReportTemplateDetail.vue +191 -0
  81. package/src/views/gen-ai/build-report/components/ReportTemplateEditorFormPanel.vue +667 -0
  82. package/src/views/gen-ai/build-report/components/ReportTemplatePicker.vue +302 -0
  83. package/src/views/gen-ai/build-report/components/ReportWorkflowSidebar.vue +148 -0
  84. package/src/views/gen-ai/build-report/components/paramsSetting.vue +886 -0
  85. package/src/views/gen-ai/build-report/components/reportEdit.vue +2283 -0
  86. package/src/views/gen-ai/build-report/index.vue +856 -0
  87. package/src/views/gen-ai/build-report/report-domain.ts +1133 -0
  88. package/src/views/gen-ai/build-report/report-template-data.ts +295 -0
  89. package/src/views/gen-ai/build-report/useReportWorkflow.ts +1408 -0
  90. package/src/views/gen-ai/common/assets/NotoSans-SC.woff2 +0 -0
  91. package/src/views/gen-ai/common/assets/NotoSans-TC.woff2 +0 -0
  92. package/src/views/gen-ai/common/assets/NotoSans.woff2 +0 -0
  93. package/src/views/gen-ai/common/assets/fonts.css +278 -0
  94. package/src/views/gen-ai/common/assets/pagination.css +163 -0
  95. package/src/views/gen-ai/common/directives/btnLoading.ts +455 -0
  96. package/src/views/gen-ai/common/directives/debounce.ts +98 -0
  97. package/src/views/gen-ai/common/directives/index.ts +30 -0
  98. package/src/views/gen-ai/common/en.md +417 -0
  99. package/src/views/gen-ai/common/index.ts +36 -0
  100. package/src/views/gen-ai/common/types/component-expose.ts +9 -0
  101. package/src/views/gen-ai/common/utils/api-res-status.ts +7 -0
  102. package/src/views/gen-ai/common/utils/navigation.ts +59 -0
  103. package/src/views/gen-ai/common/utils/remote-request.ts +45 -0
  104. package/src/views/gen-ai/common/utils/scroll.ts +577 -0
  105. package/src/views/gen-ai/components/AIExport/docx-export.ts +950 -0
  106. package/src/views/gen-ai/components/AIExport/docxExport.ts +2566 -0
  107. package/src/views/gen-ai/components/AIExport/index.ts +52 -0
  108. package/src/views/gen-ai/components/AIExport/parseMarkdownHtml.ts +649 -0
  109. package/src/views/gen-ai/components/CapsuleScrollbar.vue +149 -0
  110. package/src/views/gen-ai/components/ChapterTitleScroll.vue +468 -0
  111. package/src/views/gen-ai/components/EntryHeroNavCards.vue +379 -0
  112. package/src/views/gen-ai/components/GenAiPagination.vue +52 -0
  113. package/src/views/gen-ai/components/ModelCard.vue +1114 -0
  114. package/src/views/gen-ai/components/Preview/FilePreviewPage.vue +947 -0
  115. package/src/views/gen-ai/components/Preview/PreviewCapsuleScroll.vue +205 -0
  116. package/src/views/gen-ai/components/Preview/PreviewOutlineTree.vue +148 -0
  117. package/src/views/gen-ai/components/Preview/index.ts +11 -0
  118. package/src/views/gen-ai/components/Preview/preview.ts +722 -0
  119. package/src/views/gen-ai/components/PromptField.vue +505 -0
  120. package/src/views/gen-ai/components/RecentReportsTable.vue +974 -0
  121. package/src/views/gen-ai/components/ReportCollapsibleSection.vue +172 -0
  122. package/src/views/gen-ai/components/ReportHistoryList.vue +637 -0
  123. package/src/views/gen-ai/components/ReportSectionConfirmPopover.vue +251 -0
  124. package/src/views/gen-ai/components/editor/ChapterTiptapEditor.vue +3139 -0
  125. package/src/views/gen-ai/components/editor/StructureBlockView.vue +441 -0
  126. package/src/views/gen-ai/components/editor/TiptapToolbar.vue +1036 -0
  127. package/src/views/gen-ai/components/editor/TypewriterDocEditor.vue +398 -0
  128. package/src/views/gen-ai/components/editor/_StructureOrgNode.vue +326 -0
  129. package/src/views/gen-ai/components/editor/index.ts +12 -0
  130. package/src/views/gen-ai/components/editor/parseMarkdownHtml.ts +667 -0
  131. package/src/views/gen-ai/gen-entry/api/index.ts +32 -0
  132. package/src/views/gen-ai/gen-entry/index.vue +287 -0
  133. package/src/views/gen-ai/gen-entry/types/index.ts +4 -0
  134. package/src/views/gen-ai/i.mark +2 -0
  135. package/src/views/gen-ai/management-center/index.vue +1815 -0
  136. package/src/views/gen-ai/management-center/mockData.ts +248 -0
  137. package/src/views/gen-ai/management-center/types/index.ts +37 -0
  138. package/src/views/gen-ai/model-manager/TemplateEditorFormPanel.vue +661 -0
  139. package/src/views/gen-ai/model-manager/api/index.ts +32 -0
  140. package/src/views/gen-ai/model-manager/api/mockApi.ts +33 -0
  141. package/src/views/gen-ai/model-manager/index.vue +1583 -0
  142. package/src/views/gen-ai/model-manager/mockData.ts +177 -0
  143. package/src/views/gen-ai/model-manager/template-detail-shared.ts +154 -0
  144. package/src/views/gen-ai/model-manager/template-editor.vue +345 -0
  145. package/src/views/gen-ai/model-manager/types/index.ts +40 -0
  146. package/src/views/gen-ai/model-manager/utils.ts +25 -0
  147. package/src/views/greenMortgage.vue +1834 -0
  148. package/src/vite-env.d.ts +46 -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