@topdatasec/report 1.0.10 → 1.0.12

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 (37) hide show
  1. package/lib/t-report-ui.es.js +28 -0
  2. package/lib/t-report-ui.umd.js +1 -0
  3. package/package.json +6 -10
  4. package/lib/index.d.ts +0 -7
  5. package/lib/report/components/Bar.vue.d.ts +0 -5
  6. package/lib/report/components/ChartsUniConfig.vue.d.ts +0 -2
  7. package/lib/report/components/Line.vue.d.ts +0 -5
  8. package/lib/report/components/Pie.vue.d.ts +0 -5
  9. package/lib/report/components/RangeTime.vue.d.ts +0 -9
  10. package/lib/report/components/Report.vue.d.ts +0 -18
  11. package/lib/report/components/ReportChart.vue.d.ts +0 -5
  12. package/lib/report/components/ReportDescribe.vue.d.ts +0 -5
  13. package/lib/report/components/ReportSelect.vue.d.ts +0 -9
  14. package/lib/report/components/ReportTable.vue.d.ts +0 -5
  15. package/lib/report/components/ReportText.vue.d.ts +0 -5
  16. package/lib/report/components/SettingCharts.vue.d.ts +0 -2
  17. package/lib/report/components/SettingDescribe.vue.d.ts +0 -2
  18. package/lib/report/components/SettingFilter.vue.d.ts +0 -2
  19. package/lib/report/components/SettingTable.vue.d.ts +0 -2
  20. package/lib/report/components/SettingText.vue.d.ts +0 -2
  21. package/lib/report/components/SettingTitle.vue.d.ts +0 -2
  22. package/lib/report/components/editor/components/Setting.vue.d.ts +0 -2
  23. package/lib/report/components/editor/index.vue.d.ts +0 -24
  24. package/lib/report/components/preview/Catalogue.vue.d.ts +0 -7
  25. package/lib/report/components/preview/index.vue.d.ts +0 -24
  26. package/lib/report/index.d.ts +0 -14
  27. package/lib/report/index.vue.d.ts +0 -2
  28. package/lib/stores/interface/index.d.ts +0 -19
  29. package/lib/stores/modules/report.d.ts +0 -36
  30. package/lib/style.css +0 -1
  31. package/lib/tds-report-ui.es.js +0 -26431
  32. package/lib/tds-report-ui.umd.js +0 -205
  33. package/lib/utils/api.d.ts +0 -18
  34. package/lib/utils/chartsOption.d.ts +0 -331
  35. package/lib/utils/data.d.ts +0 -4
  36. package/lib/utils/index.d.ts +0 -3
  37. package/lib/withInstall.d.ts +0 -4
@@ -1,18 +0,0 @@
1
- /**
2
- * @name 获取自定义报表
3
- */
4
- export declare const getReportDemoApi: (params: any) => any;
5
- /**
6
- * @name 获取报表组件
7
- */
8
- export declare const getReportItemApi: (params: any) => any;
9
- export declare const getReportPreviewApi: (params: any) => any;
10
- export declare const postReportAddApi: (data: any) => any;
11
- export declare const putReportApi: (data: any) => any;
12
- export declare const getReportListApi: (params: any) => any;
13
- export declare const getReportFilterApi: (params: any) => any;
14
- export declare const deleteReportApi: (data: any) => any;
15
- export declare const getReportComponentsListApi: (params: any) => any;
16
- export declare const deleteReportComponentsApi: (data: any) => any;
17
- export declare const addReportComponentsApi: (data: any) => any;
18
- export declare const putReportComponentsApi: (data: any) => any;
@@ -1,331 +0,0 @@
1
- /**
2
- * 竖着的柱状图数据解释
3
- * @param chartOption 图option对象
4
- * @param data 解释的数据 例如:data[{name}]
5
- * @param props 解释数据映射的name和value
6
- */
7
- export declare const barParseData: (chartOption: any, data: any[], name?: string, props?: {
8
- name: string;
9
- value: string;
10
- }) => void;
11
- export declare const chartsBar: (data?: any, props?: {
12
- name: string;
13
- value: string;
14
- }) => {
15
- tooltip: {
16
- trigger: string;
17
- };
18
- grid: any;
19
- title: {
20
- show: boolean;
21
- text: string;
22
- textStyle: {
23
- color: string;
24
- fontSize: number;
25
- };
26
- x: number;
27
- y: number;
28
- };
29
- xAxis: {
30
- type: string;
31
- nameGap: number;
32
- nameRotate: number;
33
- axisLabel: {
34
- color: string;
35
- rotate: number;
36
- };
37
- axisLine: {
38
- show: boolean;
39
- lineStyle: {
40
- color: string;
41
- width: number;
42
- };
43
- };
44
- axisTick: {
45
- show: boolean;
46
- };
47
- splitLine: {
48
- show: boolean;
49
- };
50
- data: any;
51
- }[];
52
- yAxis: {
53
- type: string;
54
- min: number;
55
- position: string;
56
- nameTextStyle: {
57
- fontSize: number;
58
- color: string;
59
- fontWeight: string;
60
- };
61
- axisLine: {
62
- show: boolean;
63
- };
64
- axisTick: {
65
- show: boolean;
66
- };
67
- splitLine: {
68
- show: boolean;
69
- };
70
- axisLabel: {
71
- color: string;
72
- formatter: string;
73
- inside: boolean;
74
- };
75
- }[];
76
- series: ({
77
- type: string;
78
- barWidth: number;
79
- barGap: string;
80
- itemStyle: {
81
- color: {
82
- type: string;
83
- x: number;
84
- y: number;
85
- x2: number;
86
- y2: number;
87
- colorStops: {
88
- offset: number;
89
- color: string;
90
- }[];
91
- };
92
- };
93
- data: any;
94
- label: {
95
- show: boolean;
96
- position: string;
97
- color: string;
98
- lineHeight: number;
99
- };
100
- name?: undefined;
101
- symbolSize?: undefined;
102
- symbolOffset?: undefined;
103
- symbolPosition?: undefined;
104
- } | {
105
- name: string;
106
- type: string;
107
- symbolSize: number[];
108
- symbolOffset: number[];
109
- itemStyle: {
110
- color: {
111
- type: string;
112
- x: number;
113
- y: number;
114
- x2: number;
115
- y2: number;
116
- colorStops: {
117
- offset: number;
118
- color: string;
119
- }[];
120
- };
121
- };
122
- data: any;
123
- barWidth?: undefined;
124
- barGap?: undefined;
125
- label?: undefined;
126
- symbolPosition?: undefined;
127
- } | {
128
- name: string;
129
- type: string;
130
- symbolSize: number[];
131
- symbolOffset: number[];
132
- symbolPosition: string;
133
- itemStyle: {
134
- color: {
135
- type: string;
136
- x: number;
137
- y: number;
138
- x2: number;
139
- y2: number;
140
- colorStops: {
141
- offset: number;
142
- color: string;
143
- }[];
144
- };
145
- };
146
- data: any;
147
- barWidth?: undefined;
148
- barGap?: undefined;
149
- label?: undefined;
150
- })[];
151
- };
152
- /**
153
- * 横向的柱状图数据解释
154
- * @param chartOption 图option对象
155
- * @param data 解释的数据
156
- * @param props 解释数据映射的name和value
157
- */
158
- /**
159
- * 横向bar基础模型
160
- * @param data
161
- * @param props
162
- */
163
- /**
164
- * 拼图数据解释
165
- * @param chartOption 图option对象
166
- * @param data 解释的数据
167
- * @param props 解释数据映射的name和value
168
- */
169
- export declare const pieParseData: ({ chartOption, data, props }: any) => void;
170
- /**
171
- * pie基础模型
172
- * @param data 数据
173
- * @param radiusType 1:代表空心
174
- * @param roseType true为玫瑰图
175
- * @param isLegend 是否显示图例
176
- * @param isLine 是否显示名称对应的线
177
- * @param center 图显示的位置
178
- */
179
- export declare const chartsPie: ({ data, radiusType, roseType, isLegend, isLine, center, isTitle, }: any) => {
180
- color: string[];
181
- toolbox: {
182
- show: boolean;
183
- };
184
- tooltip: {
185
- trigger: string;
186
- show: boolean;
187
- formatter: (params: any) => string;
188
- };
189
- title: {
190
- show: any;
191
- text: string;
192
- textStyle: {
193
- color: string;
194
- fontSize: number;
195
- };
196
- x: number;
197
- y: number;
198
- };
199
- legend: {
200
- show: any;
201
- left: string;
202
- formatter: (name: any) => string;
203
- textStyle: {
204
- fontSize: number;
205
- color: string;
206
- };
207
- data: any;
208
- orient: string;
209
- itemWidth: number;
210
- itemHeight: number;
211
- borderRadius: number;
212
- x: string;
213
- top: string;
214
- align: string;
215
- itemGap: number;
216
- };
217
- series: {
218
- type: string;
219
- center: any;
220
- radius: string[];
221
- roseType: any;
222
- itemStyle: {
223
- borderRadius: number;
224
- };
225
- label: {
226
- show: any;
227
- position: string;
228
- alignTo: string;
229
- backgroundColor: string;
230
- height: number;
231
- width: number;
232
- lineHeight: number;
233
- distanceToLabelLine: number;
234
- borderRadius: number;
235
- borderWidth: number;
236
- borderColor: string;
237
- padding: number[];
238
- formatter: (params: any) => string;
239
- rich: {
240
- a: {
241
- padding: number[];
242
- fontSize: string;
243
- fontFamily: string;
244
- color: string;
245
- };
246
- b: {
247
- padding: number[];
248
- fontSize: string;
249
- fontFamily: string;
250
- fontWeight: string;
251
- color: string;
252
- };
253
- };
254
- };
255
- labelLine: {
256
- show: boolean;
257
- length: number;
258
- length2: number;
259
- align: string;
260
- lineStyle: {
261
- width: number;
262
- };
263
- };
264
- data: any;
265
- }[];
266
- graphic: {
267
- invisible: boolean;
268
- type: string;
269
- left: string;
270
- top: string;
271
- style: {
272
- text: string;
273
- fontSize: number;
274
- fill: string;
275
- fontWeight: string;
276
- };
277
- }[];
278
- };
279
- /**
280
- * 解释折线图数据
281
- * @param chartOption
282
- * @param data
283
- * @param props
284
- */
285
- export declare const lineParseData: (chartOption: any, data: any, props?: {
286
- name: string;
287
- value: any;
288
- }) => void;
289
- export declare const lineMode: () => {
290
- name: string;
291
- type: string;
292
- symbol: string;
293
- smooth: boolean;
294
- lineStyle: {
295
- width: number;
296
- color: string;
297
- };
298
- showSymbol: boolean;
299
- itemStyle: {
300
- color: string;
301
- label: {
302
- show: boolean;
303
- position: string;
304
- formatter: (res: any) => any;
305
- };
306
- };
307
- areaStyle: {
308
- color: {
309
- type: string;
310
- x: number;
311
- y: number;
312
- x2: number;
313
- y2: number;
314
- colorStops: {
315
- offset: number;
316
- color: string;
317
- }[];
318
- global: boolean;
319
- };
320
- };
321
- data: any[];
322
- };
323
- /**
324
- * 折线图
325
- * @param data
326
- * @param props
327
- */
328
- export declare const chartsLine: (data?: any[], props?: {
329
- name: string;
330
- value: any;
331
- }) => any;
@@ -1,4 +0,0 @@
1
- import { ContentType } from '../stores/interface';
2
- export declare const normalValue: any[];
3
- export declare const componentModelList: ContentType[];
4
- export declare const normalValueFn: (type: string) => any;
@@ -1,3 +0,0 @@
1
- export declare const getUniId: () => string;
2
- export declare const deepClone: <T>(obj: T | T[]) => any;
3
- export declare const isComponent: (components: any, component: string) => any;
@@ -1,4 +0,0 @@
1
- import { Plugin } from 'vue';
2
- type SFCWithInstall<T> = T & Plugin;
3
- export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
4
- export {};