@topdatasec/report 1.0.10 → 1.0.11

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 (35) hide show
  1. package/lib/style.css +1 -1
  2. package/lib/{tds-report-ui.es.js → t-report-ui.es.js} +1629 -1640
  3. package/lib/{tds-report-ui.umd.js → t-report-ui.umd.js} +63 -63
  4. package/package.json +7 -10
  5. package/lib/index.d.ts +0 -7
  6. package/lib/report/components/Bar.vue.d.ts +0 -5
  7. package/lib/report/components/ChartsUniConfig.vue.d.ts +0 -2
  8. package/lib/report/components/Line.vue.d.ts +0 -5
  9. package/lib/report/components/Pie.vue.d.ts +0 -5
  10. package/lib/report/components/RangeTime.vue.d.ts +0 -9
  11. package/lib/report/components/Report.vue.d.ts +0 -18
  12. package/lib/report/components/ReportChart.vue.d.ts +0 -5
  13. package/lib/report/components/ReportDescribe.vue.d.ts +0 -5
  14. package/lib/report/components/ReportSelect.vue.d.ts +0 -9
  15. package/lib/report/components/ReportTable.vue.d.ts +0 -5
  16. package/lib/report/components/ReportText.vue.d.ts +0 -5
  17. package/lib/report/components/SettingCharts.vue.d.ts +0 -2
  18. package/lib/report/components/SettingDescribe.vue.d.ts +0 -2
  19. package/lib/report/components/SettingFilter.vue.d.ts +0 -2
  20. package/lib/report/components/SettingTable.vue.d.ts +0 -2
  21. package/lib/report/components/SettingText.vue.d.ts +0 -2
  22. package/lib/report/components/SettingTitle.vue.d.ts +0 -2
  23. package/lib/report/components/editor/components/Setting.vue.d.ts +0 -2
  24. package/lib/report/components/editor/index.vue.d.ts +0 -24
  25. package/lib/report/components/preview/Catalogue.vue.d.ts +0 -7
  26. package/lib/report/components/preview/index.vue.d.ts +0 -24
  27. package/lib/report/index.d.ts +0 -14
  28. package/lib/report/index.vue.d.ts +0 -2
  29. package/lib/stores/interface/index.d.ts +0 -19
  30. package/lib/stores/modules/report.d.ts +0 -36
  31. package/lib/utils/api.d.ts +0 -18
  32. package/lib/utils/chartsOption.d.ts +0 -331
  33. package/lib/utils/data.d.ts +0 -4
  34. package/lib/utils/index.d.ts +0 -3
  35. package/lib/withInstall.d.ts +0 -4
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@topdatasec/report",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Vue3 中基于Element-plus二次封装基础组件文档",
5
5
  "author": "wangguiwang",
6
6
  "license": "MIT",
7
7
  "private": false,
8
- "main": "lib/t-ui-plus.umd.js",
9
- "module": "lib/t-ui-plus.umd.js",
8
+ "main": "lib/t-report-ui.umd.js",
9
+ "module": "lib/t-report-ui.umd.js",
10
10
  "types": "lib/index.d.ts",
11
11
  "type": "module",
12
12
  "files": [
@@ -23,8 +23,7 @@
23
23
  "dependencies": {
24
24
  "@wangeditor/editor": "^5.1.23",
25
25
  "@wangeditor/editor-for-vue": "^1.0.2",
26
- "vue-draggable-plus": "^0.6.0",
27
- "vuedraggable": "^4.1.0"
26
+ "vue-draggable-plus": "^0.6.0"
28
27
  },
29
28
  "devDependencies": {
30
29
  "@iconify-json/fa6-regular": "^1.1.13",
@@ -33,7 +32,7 @@
33
32
  "@iconify-json/material-symbols": "^1.1.57",
34
33
  "@topdatasec/eslint-rc": "^1.0.4",
35
34
  "@types/nprogress": "^0.2.0",
36
- "@types/sortablejs": "^1.15.2",
35
+ "@types/sortablejs": "^1.15.8",
37
36
  "@typescript-eslint/eslint-plugin": "^6.7.0",
38
37
  "@typescript-eslint/parser": "^6.7.0",
39
38
  "@vitejs/plugin-vue": "^5.0.4",
@@ -49,7 +48,7 @@
49
48
  "rollup-plugin-visualizer": "^5.9.2",
50
49
  "sass": "~1.77.8",
51
50
  "standard-version": "^9.5.0",
52
- "typescript": "~5.2.2",
51
+ "typescript": "^5.2.2",
53
52
  "unplugin-auto-import": "^0.16.6",
54
53
  "unplugin-icons": "^0.17.0",
55
54
  "unplugin-vue-components": "^0.25.2",
@@ -71,10 +70,8 @@
71
70
  "vue": "^3.4.35"
72
71
  },
73
72
  "repository": {
74
- "type": "git",
75
- "url": "https://github.com/wocwin/t-ui-plus.git"
73
+ "type": "git"
76
74
  },
77
- "homepage": "https://wocwin.github.io/t-ui-plus/",
78
75
  "keywords": [
79
76
  "element-plus",
80
77
  "vite",
package/lib/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { App } from 'vue';
2
- import { default as TCReport } from './report';
3
- declare const TReportUI: {
4
- install(app: App): void;
5
- };
6
- export { TCReport };
7
- export default TReportUI;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,2 +0,0 @@
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;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,9 +0,0 @@
1
- type Props = {
2
- value: 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;
8
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
- export default _default;
@@ -1,18 +0,0 @@
1
- export interface TableData {
2
- name: string;
3
- report_data: string;
4
- remark: string;
5
- id?: number;
6
- report_uuid: string;
7
- }
8
- export type ReportProps = {
9
- prodType: string | number;
10
- };
11
- declare const _default: import('vue').DefineComponent<ReportProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- click: (...args: any[]) => void;
13
- }, string, import('vue').PublicProps, Readonly<ReportProps> & Readonly<{
14
- onClick?: (...args: any[]) => any;
15
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
- proTable: unknown;
17
- }, HTMLDivElement>;
18
- export default _default;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,9 +0,0 @@
1
- type Props = {
2
- value: 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;
8
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
- export default _default;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,5 +0,0 @@
1
- type Props = {
2
- value: 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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,24 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- reportId: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- modelValue: {
7
- type: import('vue').PropType<any>;
8
- };
9
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (value: any) => any;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
- reportId: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- modelValue: {
17
- type: import('vue').PropType<any>;
18
- };
19
- }>> & Readonly<{
20
- "onUpdate:modelValue"?: (value: any) => any;
21
- }>, {
22
- reportId: string;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
24
- export default _default;
@@ -1,7 +0,0 @@
1
- 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<{}>, {
5
- data: any[];
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
- export default _default;
@@ -1,24 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- reportId: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- modelValue: {
7
- type: import('vue').PropType<any>;
8
- };
9
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (value: any) => any;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
- reportId: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- modelValue: {
17
- type: import('vue').PropType<any>;
18
- };
19
- }>> & Readonly<{
20
- "onUpdate:modelValue"?: (value: any) => any;
21
- }>, {
22
- reportId: string;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const TCReport: ({
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) & Record<string, any>;
14
- export default TCReport;
@@ -1,2 +0,0 @@
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;
@@ -1,19 +0,0 @@
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
- prodType: string | number;
18
- titleComponent: any;
19
- }
@@ -1,36 +0,0 @@
1
- import { ReportState, ContentType } from '../interface';
2
- export declare const useReportStore: import('pinia').StoreDefinition<"tds-cl-report", ReportState, {
3
- getActiveComponents: (state: {
4
- componentList: {
5
- type: string;
6
- id: string;
7
- name?: string;
8
- hide?: boolean;
9
- active?: boolean;
10
- showColumn?: any;
11
- data: any;
12
- options?: any;
13
- rp_item_uuid?: string;
14
- }[];
15
- activeComponents: any;
16
- notDraggableList: {
17
- type: string;
18
- id: string;
19
- name?: string;
20
- hide?: boolean;
21
- active?: boolean;
22
- showColumn?: any;
23
- data: any;
24
- options?: any;
25
- rp_item_uuid?: string;
26
- }[];
27
- filterForm?: any;
28
- prodType: string | number;
29
- titleComponent: any;
30
- } & import('pinia').PiniaCustomStateProperties<ReportState>) => any;
31
- }, {
32
- setComponentList(list: ContentType[]): void;
33
- getReportDemo(reportId?: string): Promise<void>;
34
- setActiveComponents(item: any): void;
35
- clearComponents(): void;
36
- }>;
@@ -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;