@topdatasec/report 1.0.7 → 1.0.8
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/dist/index.iife.js +1 -1
- package/dist/index.js +790 -245
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/bar/Bar.vue.js +6 -8
- package/es/components.d.ts +2 -0
- package/es/components.js +6 -2
- package/es/config/Config.css +1 -0
- package/es/config/Config.d.ts +2 -0
- package/es/config/Config.vue.js +7 -0
- package/es/config/Config.vue2.js +207 -0
- package/es/config/index.d.ts +14 -0
- package/es/config/index.js +6 -0
- package/es/index.js +26 -22
- package/es/line/Line.d.ts +5 -0
- package/es/line/Line.vue.js +20 -0
- package/es/line/Line.vue2.js +4 -0
- package/es/line/index.d.ts +15 -0
- package/es/line/index.js +6 -0
- package/es/pie/Pie.d.ts +5 -0
- package/es/pie/index.d.ts +15 -0
- package/es/report/Report.d.ts +7 -0
- package/es/report/index.d.ts +17 -0
- package/es/select/Select.d.ts +9 -0
- package/es/select/index.d.ts +25 -0
- package/es/settingCharts/SettingCharts.d.ts +5 -0
- package/es/settingCharts/index.d.ts +14 -0
- package/es/settingFilter/index.d.ts +15 -0
- package/es/settingFilter/settingFilter.d.ts +5 -0
- package/es/settingTable/SettingTable.d.ts +2 -0
- package/es/settingTable/index.d.ts +14 -0
- package/es/settingText/index.d.ts +15 -0
- package/es/settingText/settingText.d.ts +5 -0
- package/es/settingTitle/index.d.ts +14 -0
- package/es/settingTitle/settingTitle.d.ts +2 -0
- package/es/stores/interface/index.d.ts +18 -0
- package/es/stores/modules/report.d.ts +35 -0
- package/es/stores/modules/report.js +45 -0
- package/es/table/Table.d.ts +5 -0
- package/es/table/index.d.ts +15 -0
- package/es/text/Text.d.ts +5 -0
- package/es/text/index.d.ts +15 -0
- package/es/time/Time.d.ts +9 -0
- package/es/time/index.d.ts +25 -0
- package/es/utils/api.d.ts +12 -0
- package/es/utils/api.js +9 -0
- package/es/utils/chartsOption.d.ts +298 -0
- package/es/utils/chartsOption.js +187 -0
- package/es/utils/data.d.ts +4 -0
- package/es/utils/data.js +101 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.js +82 -79
- package/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/lib/bar/Bar.vue.cjs +1 -1
- package/lib/components.cjs +1 -1
- package/lib/components.d.ts +2 -0
- package/lib/config/Config.css +1 -0
- package/lib/config/Config.d.ts +2 -0
- package/lib/config/Config.vue.cjs +1 -0
- package/lib/config/Config.vue2.cjs +1 -0
- package/lib/config/index.cjs +1 -0
- package/lib/config/index.d.ts +14 -0
- package/lib/index.cjs +1 -1
- package/lib/line/Line.d.ts +5 -0
- package/lib/line/Line.vue.cjs +1 -0
- package/lib/line/Line.vue2.cjs +1 -0
- package/lib/line/index.cjs +1 -0
- package/lib/line/index.d.ts +15 -0
- package/lib/pie/Pie.d.ts +5 -0
- package/lib/pie/index.d.ts +15 -0
- package/lib/report/Report.d.ts +7 -0
- package/lib/report/index.d.ts +17 -0
- package/lib/select/Select.d.ts +9 -0
- package/lib/select/index.d.ts +25 -0
- package/lib/settingCharts/SettingCharts.d.ts +5 -0
- package/lib/settingCharts/index.d.ts +14 -0
- package/lib/settingFilter/index.d.ts +15 -0
- package/lib/settingFilter/settingFilter.d.ts +5 -0
- package/lib/settingTable/SettingTable.d.ts +2 -0
- package/lib/settingTable/index.d.ts +14 -0
- package/lib/settingText/index.d.ts +15 -0
- package/lib/settingText/settingText.d.ts +5 -0
- package/lib/settingTitle/index.d.ts +14 -0
- package/lib/settingTitle/settingTitle.d.ts +2 -0
- package/lib/stores/interface/index.d.ts +18 -0
- package/lib/stores/modules/report.cjs +1 -0
- package/lib/stores/modules/report.d.ts +35 -0
- package/lib/table/Table.d.ts +5 -0
- package/lib/table/index.d.ts +15 -0
- package/lib/text/Text.d.ts +5 -0
- package/lib/text/index.d.ts +15 -0
- package/lib/time/Time.d.ts +9 -0
- package/lib/time/index.d.ts +25 -0
- package/lib/utils/api.cjs +1 -0
- package/lib/utils/api.d.ts +12 -0
- package/lib/utils/chartsOption.cjs +1 -0
- package/lib/utils/chartsOption.d.ts +298 -0
- package/lib/utils/data.cjs +1 -0
- package/lib/utils/data.d.ts +4 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +2 -0
- package/package.json +9 -4
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './settingFilter';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
prodType: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './settingText';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./settingText').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./settingText').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./settingText').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
prodType: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ContentType {
|
|
2
|
+
type: string;
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
hide?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
showColumn?: any;
|
|
8
|
+
data: any;
|
|
9
|
+
options?: any;
|
|
10
|
+
rp_item_uuid?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ReportState {
|
|
13
|
+
componentList: ContentType[];
|
|
14
|
+
activeComponents: any;
|
|
15
|
+
notDraggableList: ContentType[];
|
|
16
|
+
filterForm?: any;
|
|
17
|
+
titleComponent: any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReportState, ContentType } from '../interface';
|
|
2
|
+
export declare const useReportStore: import('pinia').StoreDefinition<"tds-report", ReportState, {
|
|
3
|
+
getActiveComponents: (state: {
|
|
4
|
+
componentList: {
|
|
5
|
+
type: string;
|
|
6
|
+
id: string;
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
hide?: boolean | undefined;
|
|
9
|
+
active?: boolean | undefined;
|
|
10
|
+
showColumn?: any;
|
|
11
|
+
data: any;
|
|
12
|
+
options?: any;
|
|
13
|
+
rp_item_uuid?: string | undefined;
|
|
14
|
+
}[];
|
|
15
|
+
activeComponents: any;
|
|
16
|
+
notDraggableList: {
|
|
17
|
+
type: string;
|
|
18
|
+
id: string;
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
hide?: boolean | undefined;
|
|
21
|
+
active?: boolean | undefined;
|
|
22
|
+
showColumn?: any;
|
|
23
|
+
data: any;
|
|
24
|
+
options?: any;
|
|
25
|
+
rp_item_uuid?: string | undefined;
|
|
26
|
+
}[];
|
|
27
|
+
filterForm?: any;
|
|
28
|
+
titleComponent: any;
|
|
29
|
+
} & import('pinia').PiniaCustomStateProperties<ReportState>) => any;
|
|
30
|
+
}, {
|
|
31
|
+
setComponentList(list: ContentType[]): void;
|
|
32
|
+
getReportDemo(reportId?: string): Promise<void>;
|
|
33
|
+
setActiveComponents(item: any): void;
|
|
34
|
+
clearComponents(): void;
|
|
35
|
+
}>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineStore as n } from "pinia";
|
|
2
|
+
import { getReportDemoApi as r } from "../../utils/api.js";
|
|
3
|
+
import { deepClone as s, getUniId as p } from "../../utils/index.js";
|
|
4
|
+
import { normalValue as a } from "../../utils/data.js";
|
|
5
|
+
const f = n("tds-report", {
|
|
6
|
+
state: () => ({
|
|
7
|
+
componentList: [],
|
|
8
|
+
activeComponents: {},
|
|
9
|
+
notDraggableList: [],
|
|
10
|
+
titleComponent: {},
|
|
11
|
+
filterForm: {
|
|
12
|
+
range_time: 1,
|
|
13
|
+
filter_uuid: ""
|
|
14
|
+
}
|
|
15
|
+
}),
|
|
16
|
+
getters: {
|
|
17
|
+
getActiveComponents: (t) => t.activeComponents
|
|
18
|
+
},
|
|
19
|
+
actions: {
|
|
20
|
+
// setComponentList
|
|
21
|
+
setComponentList(t) {
|
|
22
|
+
this.componentList = t;
|
|
23
|
+
},
|
|
24
|
+
async getReportDemo(t) {
|
|
25
|
+
let e = [];
|
|
26
|
+
t ? e = (await r({ report_uuid: t })).data : e = { content: s(a), range_time: 1 };
|
|
27
|
+
const i = [];
|
|
28
|
+
e.content.forEach((o) => {
|
|
29
|
+
(o.type === "report-select" || o.type === "range-time") && i.push(o), o.type === "h1" && (this.titleComponent = o), o.id = p();
|
|
30
|
+
}), this.notDraggableList = i, this.filterForm.range_time = e.range_time, this.filterForm.filter_uuid = e.filter_uuid, e.content.splice(0, 3), this.componentList = e.content;
|
|
31
|
+
},
|
|
32
|
+
setActiveComponents(t) {
|
|
33
|
+
this.activeComponents = t;
|
|
34
|
+
},
|
|
35
|
+
clearComponents() {
|
|
36
|
+
this.activeComponents = {}, this.componentList = [], this.notDraggableList = [], this.titleComponent = {}, this.filterForm = {
|
|
37
|
+
range_time: 1,
|
|
38
|
+
filter_uuid: ""
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
f as useReportStore
|
|
45
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './Table';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './Text';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
change: (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type { Props } from './Time';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Time').Props> & Readonly<{
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
change: (...args: any[]) => void;
|
|
7
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly<import('./Time').Props> & Readonly<{
|
|
15
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Time').Props> & Readonly<{
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
change: (...args: any[]) => void;
|
|
24
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const getReportDemoApi: (params: any) => any;
|
|
2
|
+
export declare const getReportItemApi: (params: any) => any;
|
|
3
|
+
export declare const getReportPreviewApi: (params: any) => any;
|
|
4
|
+
export declare const postReportAddApi: (data: any) => any;
|
|
5
|
+
export declare const putReportApi: (data: any) => any;
|
|
6
|
+
export declare const getReportListApi: (params: any) => any;
|
|
7
|
+
export declare const getReportFilterApi: (params: any) => any;
|
|
8
|
+
export declare const deleteReportApi: (data: any) => any;
|
|
9
|
+
export declare const getReportComponentsListApi: (params: any) => any;
|
|
10
|
+
export declare const deleteReportComponentsApi: (data: any) => any;
|
|
11
|
+
export declare const addReportComponentsApi: (data: any) => any;
|
|
12
|
+
export declare const putReportComponentsApi: (data: any) => any;
|
package/es/utils/api.js
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
export declare const barParseData: (chartOption: any, data: any[], name?: string, props?: {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}) => void;
|
|
5
|
+
export declare const chartsBar: (data?: any, props?: {
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}) => {
|
|
9
|
+
tooltip: {
|
|
10
|
+
trigger: string;
|
|
11
|
+
};
|
|
12
|
+
grid: any;
|
|
13
|
+
title: {
|
|
14
|
+
show: boolean;
|
|
15
|
+
text: string;
|
|
16
|
+
textStyle: {
|
|
17
|
+
color: string;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
};
|
|
23
|
+
xAxis: {
|
|
24
|
+
type: string;
|
|
25
|
+
nameGap: number;
|
|
26
|
+
nameRotate: number;
|
|
27
|
+
axisLabel: {
|
|
28
|
+
color: string;
|
|
29
|
+
rotate: number;
|
|
30
|
+
};
|
|
31
|
+
axisLine: {
|
|
32
|
+
show: boolean;
|
|
33
|
+
lineStyle: {
|
|
34
|
+
color: string;
|
|
35
|
+
width: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
axisTick: {
|
|
39
|
+
show: boolean;
|
|
40
|
+
};
|
|
41
|
+
splitLine: {
|
|
42
|
+
show: boolean;
|
|
43
|
+
};
|
|
44
|
+
data: any;
|
|
45
|
+
}[];
|
|
46
|
+
yAxis: {
|
|
47
|
+
type: string;
|
|
48
|
+
min: number;
|
|
49
|
+
position: string;
|
|
50
|
+
nameTextStyle: {
|
|
51
|
+
fontSize: number;
|
|
52
|
+
color: string;
|
|
53
|
+
fontWeight: string;
|
|
54
|
+
};
|
|
55
|
+
axisLine: {
|
|
56
|
+
show: boolean;
|
|
57
|
+
};
|
|
58
|
+
axisTick: {
|
|
59
|
+
show: boolean;
|
|
60
|
+
};
|
|
61
|
+
splitLine: {
|
|
62
|
+
show: boolean;
|
|
63
|
+
};
|
|
64
|
+
axisLabel: {
|
|
65
|
+
color: string;
|
|
66
|
+
formatter: string;
|
|
67
|
+
inside: boolean;
|
|
68
|
+
};
|
|
69
|
+
}[];
|
|
70
|
+
series: ({
|
|
71
|
+
type: string;
|
|
72
|
+
barWidth: number;
|
|
73
|
+
barGap: string;
|
|
74
|
+
itemStyle: {
|
|
75
|
+
color: {
|
|
76
|
+
type: string;
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
x2: number;
|
|
80
|
+
y2: number;
|
|
81
|
+
colorStops: {
|
|
82
|
+
offset: number;
|
|
83
|
+
color: string;
|
|
84
|
+
}[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
data: any;
|
|
88
|
+
label: {
|
|
89
|
+
show: boolean;
|
|
90
|
+
position: string;
|
|
91
|
+
color: string;
|
|
92
|
+
lineHeight: number;
|
|
93
|
+
};
|
|
94
|
+
name?: undefined;
|
|
95
|
+
symbolSize?: undefined;
|
|
96
|
+
symbolOffset?: undefined;
|
|
97
|
+
symbolPosition?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
name: string;
|
|
100
|
+
type: string;
|
|
101
|
+
symbolSize: number[];
|
|
102
|
+
symbolOffset: number[];
|
|
103
|
+
itemStyle: {
|
|
104
|
+
color: {
|
|
105
|
+
type: string;
|
|
106
|
+
x: number;
|
|
107
|
+
y: number;
|
|
108
|
+
x2: number;
|
|
109
|
+
y2: number;
|
|
110
|
+
colorStops: {
|
|
111
|
+
offset: number;
|
|
112
|
+
color: string;
|
|
113
|
+
}[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
data: any;
|
|
117
|
+
barWidth?: undefined;
|
|
118
|
+
barGap?: undefined;
|
|
119
|
+
label?: undefined;
|
|
120
|
+
symbolPosition?: undefined;
|
|
121
|
+
} | {
|
|
122
|
+
name: string;
|
|
123
|
+
type: string;
|
|
124
|
+
symbolSize: number[];
|
|
125
|
+
symbolOffset: number[];
|
|
126
|
+
symbolPosition: string;
|
|
127
|
+
itemStyle: {
|
|
128
|
+
color: {
|
|
129
|
+
type: string;
|
|
130
|
+
x: number;
|
|
131
|
+
y: number;
|
|
132
|
+
x2: number;
|
|
133
|
+
y2: number;
|
|
134
|
+
colorStops: {
|
|
135
|
+
offset: number;
|
|
136
|
+
color: string;
|
|
137
|
+
}[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
data: any;
|
|
141
|
+
barWidth?: undefined;
|
|
142
|
+
barGap?: undefined;
|
|
143
|
+
label?: undefined;
|
|
144
|
+
})[];
|
|
145
|
+
};
|
|
146
|
+
export declare const barHorizontalParseData: (chartOption: any, data: any[], props?: {
|
|
147
|
+
name: string;
|
|
148
|
+
value: string;
|
|
149
|
+
}) => void;
|
|
150
|
+
export declare const horizontalSeriesData: (val: number[]) => any;
|
|
151
|
+
export declare const horizontalMaxData: (val: number[]) => number[];
|
|
152
|
+
export declare const chartsHorizontalBar: (data: any, props?: {
|
|
153
|
+
name: string;
|
|
154
|
+
value: string;
|
|
155
|
+
}) => any;
|
|
156
|
+
export declare const pieParseData: ({ chartOption, data, props }: any) => void;
|
|
157
|
+
export declare const chartsPie: ({ data, radiusType, roseType, isLegend, isLine, center, isTitle }: any) => {
|
|
158
|
+
color: string[];
|
|
159
|
+
toolbox: {
|
|
160
|
+
show: boolean;
|
|
161
|
+
};
|
|
162
|
+
tooltip: {
|
|
163
|
+
trigger: string;
|
|
164
|
+
show: boolean;
|
|
165
|
+
formatter: (params: any) => string;
|
|
166
|
+
};
|
|
167
|
+
title: {
|
|
168
|
+
show: any;
|
|
169
|
+
text: string;
|
|
170
|
+
textStyle: {
|
|
171
|
+
color: string;
|
|
172
|
+
fontSize: number;
|
|
173
|
+
};
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
};
|
|
177
|
+
legend: {
|
|
178
|
+
show: any;
|
|
179
|
+
left: string;
|
|
180
|
+
formatter: (name: any) => string;
|
|
181
|
+
textStyle: {
|
|
182
|
+
fontSize: number;
|
|
183
|
+
color: string;
|
|
184
|
+
};
|
|
185
|
+
data: any;
|
|
186
|
+
orient: string;
|
|
187
|
+
itemWidth: number;
|
|
188
|
+
itemHeight: number;
|
|
189
|
+
borderRadius: number;
|
|
190
|
+
x: string;
|
|
191
|
+
top: string;
|
|
192
|
+
align: string;
|
|
193
|
+
itemGap: number;
|
|
194
|
+
};
|
|
195
|
+
series: {
|
|
196
|
+
type: string;
|
|
197
|
+
center: any;
|
|
198
|
+
radius: string[];
|
|
199
|
+
roseType: any;
|
|
200
|
+
itemStyle: {
|
|
201
|
+
borderRadius: number;
|
|
202
|
+
};
|
|
203
|
+
label: {
|
|
204
|
+
show: any;
|
|
205
|
+
position: string;
|
|
206
|
+
alignTo: string;
|
|
207
|
+
backgroundColor: string;
|
|
208
|
+
height: number;
|
|
209
|
+
width: number;
|
|
210
|
+
lineHeight: number;
|
|
211
|
+
distanceToLabelLine: number;
|
|
212
|
+
borderRadius: number;
|
|
213
|
+
borderWidth: number;
|
|
214
|
+
borderColor: string;
|
|
215
|
+
padding: number[];
|
|
216
|
+
formatter: (params: any) => string;
|
|
217
|
+
rich: {
|
|
218
|
+
a: {
|
|
219
|
+
padding: number[];
|
|
220
|
+
fontSize: string;
|
|
221
|
+
fontFamily: string;
|
|
222
|
+
color: string;
|
|
223
|
+
};
|
|
224
|
+
b: {
|
|
225
|
+
padding: number[];
|
|
226
|
+
fontSize: string;
|
|
227
|
+
fontFamily: string;
|
|
228
|
+
fontWeight: string;
|
|
229
|
+
color: string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
labelLine: {
|
|
234
|
+
show: boolean;
|
|
235
|
+
length: number;
|
|
236
|
+
length2: number;
|
|
237
|
+
align: string;
|
|
238
|
+
lineStyle: {
|
|
239
|
+
width: number;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
data: any;
|
|
243
|
+
}[];
|
|
244
|
+
graphic: {
|
|
245
|
+
invisible: boolean;
|
|
246
|
+
type: string;
|
|
247
|
+
left: string;
|
|
248
|
+
top: string;
|
|
249
|
+
style: {
|
|
250
|
+
text: string;
|
|
251
|
+
fontSize: number;
|
|
252
|
+
fill: string;
|
|
253
|
+
fontWeight: string;
|
|
254
|
+
};
|
|
255
|
+
}[];
|
|
256
|
+
};
|
|
257
|
+
export declare const lineParseData: (chartOption: any, data: any, props?: {
|
|
258
|
+
name: string;
|
|
259
|
+
value: any;
|
|
260
|
+
}) => void;
|
|
261
|
+
export declare const lineMode: () => {
|
|
262
|
+
name: string;
|
|
263
|
+
type: string;
|
|
264
|
+
symbol: string;
|
|
265
|
+
smooth: boolean;
|
|
266
|
+
lineStyle: {
|
|
267
|
+
width: number;
|
|
268
|
+
color: string;
|
|
269
|
+
};
|
|
270
|
+
showSymbol: boolean;
|
|
271
|
+
itemStyle: {
|
|
272
|
+
color: string;
|
|
273
|
+
label: {
|
|
274
|
+
show: boolean;
|
|
275
|
+
position: string;
|
|
276
|
+
formatter: (res: any) => any;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
areaStyle: {
|
|
280
|
+
color: {
|
|
281
|
+
type: string;
|
|
282
|
+
x: number;
|
|
283
|
+
y: number;
|
|
284
|
+
x2: number;
|
|
285
|
+
y2: number;
|
|
286
|
+
colorStops: {
|
|
287
|
+
offset: number;
|
|
288
|
+
color: string;
|
|
289
|
+
}[];
|
|
290
|
+
global: boolean;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
data: never[];
|
|
294
|
+
};
|
|
295
|
+
export declare const chartsLine: (data?: any[], props?: {
|
|
296
|
+
name: string;
|
|
297
|
+
value: any;
|
|
298
|
+
}) => any;
|