@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.
Files changed (103) hide show
  1. package/dist/index.iife.js +1 -1
  2. package/dist/index.js +790 -245
  3. package/dist/index.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/es/_virtual/_plugin-vue_export-helper.js +9 -0
  6. package/es/bar/Bar.vue.js +6 -8
  7. package/es/components.d.ts +2 -0
  8. package/es/components.js +6 -2
  9. package/es/config/Config.css +1 -0
  10. package/es/config/Config.d.ts +2 -0
  11. package/es/config/Config.vue.js +7 -0
  12. package/es/config/Config.vue2.js +207 -0
  13. package/es/config/index.d.ts +14 -0
  14. package/es/config/index.js +6 -0
  15. package/es/index.js +26 -22
  16. package/es/line/Line.d.ts +5 -0
  17. package/es/line/Line.vue.js +20 -0
  18. package/es/line/Line.vue2.js +4 -0
  19. package/es/line/index.d.ts +15 -0
  20. package/es/line/index.js +6 -0
  21. package/es/pie/Pie.d.ts +5 -0
  22. package/es/pie/index.d.ts +15 -0
  23. package/es/report/Report.d.ts +7 -0
  24. package/es/report/index.d.ts +17 -0
  25. package/es/select/Select.d.ts +9 -0
  26. package/es/select/index.d.ts +25 -0
  27. package/es/settingCharts/SettingCharts.d.ts +5 -0
  28. package/es/settingCharts/index.d.ts +14 -0
  29. package/es/settingFilter/index.d.ts +15 -0
  30. package/es/settingFilter/settingFilter.d.ts +5 -0
  31. package/es/settingTable/SettingTable.d.ts +2 -0
  32. package/es/settingTable/index.d.ts +14 -0
  33. package/es/settingText/index.d.ts +15 -0
  34. package/es/settingText/settingText.d.ts +5 -0
  35. package/es/settingTitle/index.d.ts +14 -0
  36. package/es/settingTitle/settingTitle.d.ts +2 -0
  37. package/es/stores/interface/index.d.ts +18 -0
  38. package/es/stores/modules/report.d.ts +35 -0
  39. package/es/stores/modules/report.js +45 -0
  40. package/es/table/Table.d.ts +5 -0
  41. package/es/table/index.d.ts +15 -0
  42. package/es/text/Text.d.ts +5 -0
  43. package/es/text/index.d.ts +15 -0
  44. package/es/time/Time.d.ts +9 -0
  45. package/es/time/index.d.ts +25 -0
  46. package/es/utils/api.d.ts +12 -0
  47. package/es/utils/api.js +9 -0
  48. package/es/utils/chartsOption.d.ts +298 -0
  49. package/es/utils/chartsOption.js +187 -0
  50. package/es/utils/data.d.ts +4 -0
  51. package/es/utils/data.js +101 -0
  52. package/es/utils/index.d.ts +2 -0
  53. package/es/utils/index.js +82 -79
  54. package/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
  55. package/lib/bar/Bar.vue.cjs +1 -1
  56. package/lib/components.cjs +1 -1
  57. package/lib/components.d.ts +2 -0
  58. package/lib/config/Config.css +1 -0
  59. package/lib/config/Config.d.ts +2 -0
  60. package/lib/config/Config.vue.cjs +1 -0
  61. package/lib/config/Config.vue2.cjs +1 -0
  62. package/lib/config/index.cjs +1 -0
  63. package/lib/config/index.d.ts +14 -0
  64. package/lib/index.cjs +1 -1
  65. package/lib/line/Line.d.ts +5 -0
  66. package/lib/line/Line.vue.cjs +1 -0
  67. package/lib/line/Line.vue2.cjs +1 -0
  68. package/lib/line/index.cjs +1 -0
  69. package/lib/line/index.d.ts +15 -0
  70. package/lib/pie/Pie.d.ts +5 -0
  71. package/lib/pie/index.d.ts +15 -0
  72. package/lib/report/Report.d.ts +7 -0
  73. package/lib/report/index.d.ts +17 -0
  74. package/lib/select/Select.d.ts +9 -0
  75. package/lib/select/index.d.ts +25 -0
  76. package/lib/settingCharts/SettingCharts.d.ts +5 -0
  77. package/lib/settingCharts/index.d.ts +14 -0
  78. package/lib/settingFilter/index.d.ts +15 -0
  79. package/lib/settingFilter/settingFilter.d.ts +5 -0
  80. package/lib/settingTable/SettingTable.d.ts +2 -0
  81. package/lib/settingTable/index.d.ts +14 -0
  82. package/lib/settingText/index.d.ts +15 -0
  83. package/lib/settingText/settingText.d.ts +5 -0
  84. package/lib/settingTitle/index.d.ts +14 -0
  85. package/lib/settingTitle/settingTitle.d.ts +2 -0
  86. package/lib/stores/interface/index.d.ts +18 -0
  87. package/lib/stores/modules/report.cjs +1 -0
  88. package/lib/stores/modules/report.d.ts +35 -0
  89. package/lib/table/Table.d.ts +5 -0
  90. package/lib/table/index.d.ts +15 -0
  91. package/lib/text/Text.d.ts +5 -0
  92. package/lib/text/index.d.ts +15 -0
  93. package/lib/time/Time.d.ts +9 -0
  94. package/lib/time/index.d.ts +25 -0
  95. package/lib/utils/api.cjs +1 -0
  96. package/lib/utils/api.d.ts +12 -0
  97. package/lib/utils/chartsOption.cjs +1 -0
  98. package/lib/utils/chartsOption.d.ts +298 -0
  99. package/lib/utils/data.cjs +1 -0
  100. package/lib/utils/data.d.ts +4 -0
  101. package/lib/utils/index.cjs +1 -1
  102. package/lib/utils/index.d.ts +2 -0
  103. package/package.json +9 -4
@@ -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;
package/lib/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */const u=require("./components.cjs"),e=require("./utils/index.cjs"),o=require("./utils/resolver.cjs"),a=require("./bar/index.cjs"),s=function(t){return Object.values(u).forEach(r=>{r&&r.install&&t.use(r)}),t},i={install:s};exports.add=e.add;exports.cancelRaf=e.cancelRaf;exports.dateFormat=e.dateFormat;exports.debounce=e.debounce;exports.downloadFile=e.downloadFile;exports.formatNumber=e.formatNumber;exports.rafTimeout=e.rafTimeout;exports.throttle=e.throttle;exports.toggleDark=e.toggleDark;exports.useEventListener=e.useEventListener;exports.useFps=e.useFps;exports.useMediaQuery=e.useMediaQuery;exports.useMutationObserver=e.useMutationObserver;exports.useResizeObserver=e.useResizeObserver;exports.useScroll=e.useScroll;exports.useSlotsExist=e.useSlotsExist;exports.VueAmazingUIResolver=o.VueAmazingUIResolver;exports.TdsReportBar=a.default;exports.default=i;exports.install=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */const u=require("./components.cjs"),e=require("./utils/index.cjs"),o=require("./utils/resolver.cjs"),i=require("./bar/index.cjs"),a=require("./config/index.cjs"),l=require("./line/index.cjs"),s=function(t){return Object.values(u).forEach(r=>{r&&r.install&&t.use(r)}),t},n={install:s};exports.add=e.add;exports.cancelRaf=e.cancelRaf;exports.dateFormat=e.dateFormat;exports.debounce=e.debounce;exports.downloadFile=e.downloadFile;exports.formatNumber=e.formatNumber;exports.rafTimeout=e.rafTimeout;exports.throttle=e.throttle;exports.toggleDark=e.toggleDark;exports.useEventListener=e.useEventListener;exports.useFps=e.useFps;exports.useMediaQuery=e.useMediaQuery;exports.useMutationObserver=e.useMutationObserver;exports.useResizeObserver=e.useResizeObserver;exports.useScroll=e.useScroll;exports.useSlotsExist=e.useSlotsExist;exports.VueAmazingUIResolver=o.VueAmazingUIResolver;exports.TdsReportBar=i.default;exports.TdsReportConfig=a.default;exports.TdsReportLine=l.default;exports.default=n;exports.install=s;
@@ -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 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c={class:"chart-components"},r=e.defineComponent({name:"TdsReportLine",__name:"Line",props:{data:{}},setup(o){const t=o,n=e.computed(()=>t.data.options);return(a,p)=>{const s=e.resolveComponent("TdsChart");return e.openBlock(),e.createElementBlock("div",c,[e.createVNode(s,{option:n.value},null,8,["option"])])}}});exports.default=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Line.vue.cjs");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Line.vue.cjs"),t=require("../utils/type.cjs"),u=t.withInstall(e.default);exports.default=u;
@@ -0,0 +1,15 @@
1
+ export type { Props } from './Line';
2
+ declare const _default: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line').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('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
+ __isFragment?: never;
12
+ __isTeleport?: never;
13
+ __isSuspense?: never;
14
+ } & import('vue').ComponentOptionsBase<Readonly<import('./Line').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 './Pie';
2
+ declare const _default: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Pie').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('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
+ __isFragment?: never;
12
+ __isTeleport?: never;
13
+ __isSuspense?: never;
14
+ } & import('vue').ComponentOptionsBase<Readonly<import('./Pie').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,7 @@
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, {
5
+ proTable: unknown;
6
+ }, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export type { Props } from './Report';
2
+ declare const _default: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
4
+ proTable: unknown;
5
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
6
+ P: {};
7
+ B: {};
8
+ D: {};
9
+ C: {};
10
+ M: {};
11
+ Defaults: {};
12
+ }, Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
13
+ __isFragment?: never;
14
+ __isTeleport?: never;
15
+ __isSuspense?: never;
16
+ } & import('vue').ComponentOptionsBase<Readonly<import('./Report').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;
17
+ 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, {}, any>;
9
+ export default _default;
@@ -0,0 +1,25 @@
1
+ export type { Props } from './Select';
2
+ declare const _default: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Select').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, {}, any, import('vue').ComponentProvideOptions, {
8
+ P: {};
9
+ B: {};
10
+ D: {};
11
+ C: {};
12
+ M: {};
13
+ Defaults: {};
14
+ }, Readonly<import('./Select').Props> & Readonly<{
15
+ onChange?: ((...args: any[]) => any) | undefined;
16
+ }>, {}, {}, {}, {}, {}>;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
+ } & import('vue').ComponentOptionsBase<Readonly<import('./Select').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,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, {}, HTMLDivElement>;
5
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, 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<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import('vue').ComponentOptionsBase<Readonly<import('./SettingCharts').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;
14
+ export default _default;
@@ -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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("pinia"),r=require("../../utils/api.cjs"),n=require("../../utils/index.cjs"),a=require("../../utils/data.cjs"),p=s.defineStore("tds-report",{state:()=>({componentList:[],activeComponents:{},notDraggableList:[],titleComponent:{},filterForm:{range_time:1,filter_uuid:""}}),getters:{getActiveComponents:t=>t.activeComponents},actions:{setComponentList(t){this.componentList=t},async getReportDemo(t){let e=[];t?e=(await r.getReportDemoApi({report_uuid:t})).data:e={content:n.deepClone(a.normalValue),range_time:1};const i=[];e.content.forEach(o=>{(o.type==="report-select"||o.type==="range-time")&&i.push(o),o.type==="h1"&&(this.titleComponent=o),o.id=n.getUniId()}),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},setActiveComponents(t){this.activeComponents=t},clearComponents(){this.activeComponents={},this.componentList=[],this.notDraggableList=[],this.titleComponent={},this.filterForm={range_time:1,filter_uuid:""}}}});exports.useReportStore=p;
@@ -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,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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=window.$envURL,o=t=>e.request({url:`${e}/tds/report/demo/get`,method:"get",params:t,isError:!1});exports.getReportDemoApi=o;
@@ -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;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("echarts");const n="rgba(51, 51, 51, 0.15)",r="rgba(51, 51, 51, 1)",c=12,m=(o=!1)=>{const t={left:"3%",right:"3%",bottom:"2%",containLabel:!0};return o&&(t.top="5%"),t},e=["46, 145, 255","48, 212, 183","108, 108, 255","109, 237, 124","128, 218, 236","58, 200, 218","146, 218, 89","118, 218, 218","143, 192, 244","192, 192, 145","153, 136, 204","212, 217, 230","124, 186, 255","209, 182, 225","255, 197, 84","249, 140, 106","246, 179, 82","100, 161, 206","246, 175, 159","238, 97, 97"],b=(o=[{name:"数据1",value:63},{name:"数据2",value:45},{name:"数据3",value:43}],t={name:"name",value:"value"})=>{const i=(a="rgba(46, 145, 255, 0.7)",s="rgba(46, 145, 255, 0.2)")=>({color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:a},{offset:.8,color:s}]}}),l=o.map(a=>a[t.value]);return{tooltip:{trigger:"item"},grid:m(),title:{show:!0,text:"样例数据",textStyle:{color:"#333",fontSize:18},x:10,y:10},xAxis:[{type:"category",nameGap:8,nameRotate:0,axisLabel:{color:r,rotate:0},axisLine:{show:!0,lineStyle:{color:n,width:1}},axisTick:{show:!1},splitLine:{show:!1},data:o.map(a=>a[t.name])}],yAxis:[{type:"value",min:0,position:"left",nameTextStyle:{fontSize:c,color:r,fontWeight:"bold"},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:r,formatter:"{value}",inside:!1}}],series:[{type:"bar",barWidth:15,barGap:"0%",itemStyle:i(`rgba(${e[0]}, 0.7)`,`rgba(${e[0]}, 0.2)`),data:l,label:{show:!0,position:"top",color:"inherit",lineHeight:24}},{name:"",type:"pictorialBar",symbolSize:[15,10],symbolOffset:[0,5],itemStyle:i(`rgba(${e[0]}, 0.7)`,`rgba(${e[0]}, 0.2)`),data:l},{name:"",type:"pictorialBar",symbolSize:[15,10],symbolOffset:[0,-5],symbolPosition:"end",itemStyle:i(`rgba(${e[0]}, 0.9)`,`rgba(${e[0]}, 1)`),data:l}]}};exports.chartsBar=b;