g-ui-web 0.10.39 → 0.11.0-test.2

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 (93) hide show
  1. package/global.d.ts +4 -1
  2. package/lib/bar/index.d.ts +4 -59
  3. package/lib/bar/src/chart.d.ts +1 -1
  4. package/lib/bar/src/index.vue.d.ts +6 -12
  5. package/lib/bar/src/options.d.ts +18 -5
  6. package/lib/bar-compare/index.d.ts +4 -55
  7. package/lib/bar-compare/src/chart.d.ts +1 -1
  8. package/lib/bar-compare/src/index.vue.d.ts +6 -12
  9. package/lib/bar-compare/src/options.d.ts +27 -2
  10. package/lib/bar-conv/index.d.ts +4 -49
  11. package/lib/bar-conv/src/index.vue.d.ts +6 -10
  12. package/lib/bar-line/index.d.ts +4 -49
  13. package/lib/bar-line/src/chart.d.ts +1 -1
  14. package/lib/bar-line/src/index.vue.d.ts +6 -10
  15. package/lib/bar-line/src/options.d.ts +25 -4
  16. package/lib/box/index.d.ts +15 -0
  17. package/lib/box/src/index.vue.d.ts +9 -0
  18. package/lib/calendar/index.d.ts +132 -0
  19. package/lib/calendar/src/index.vue.d.ts +865 -0
  20. package/lib/cashflow/index.d.ts +5 -55
  21. package/lib/cashflow/src/index.vue.d.ts +7 -10
  22. package/lib/chart/index.d.ts +1 -0
  23. package/lib/chart/src/index.vue.d.ts +6 -4
  24. package/lib/datatable/index.d.ts +42 -3
  25. package/lib/datatable/src/index.vue.d.ts +25 -1
  26. package/lib/ele/drawer/index.d.ts +16 -0
  27. package/lib/ele/drawer/src/index.vue.d.ts +14 -0
  28. package/lib/ele/menu/index.d.ts +16 -0
  29. package/lib/ele/menu/src/index.vue.d.ts +14 -0
  30. package/lib/ele/menu-item/index.d.ts +18 -0
  31. package/lib/ele/menu-item/src/index.vue.d.ts +16 -0
  32. package/lib/ele/menu-item-group/index.d.ts +16 -0
  33. package/lib/ele/menu-item-group/src/index.vue.d.ts +14 -0
  34. package/lib/ele/popover/index.d.ts +16 -0
  35. package/lib/ele/popover/src/index.vue.d.ts +14 -0
  36. package/lib/ele/sub-menu/index.d.ts +18 -0
  37. package/lib/ele/sub-menu/src/index.vue.d.ts +16 -0
  38. package/lib/ele/table/index.d.ts +41 -13
  39. package/lib/ele/table/src/index.vue.d.ts +40 -9
  40. package/lib/fonts/font.css +5 -5
  41. package/lib/funnel/index.d.ts +4 -49
  42. package/lib/funnel/src/chart.d.ts +1 -1
  43. package/lib/funnel/src/index.vue.d.ts +6 -10
  44. package/lib/funnel/src/options.d.ts +19 -2
  45. package/lib/g-ui-web.js +41161 -38658
  46. package/lib/g-ui-web.js.gz +0 -0
  47. package/lib/g-ui-web.umd.cjs +78 -72
  48. package/lib/line/index.d.ts +4 -53
  49. package/lib/line/src/chart.d.ts +1 -1
  50. package/lib/line/src/index.vue.d.ts +6 -10
  51. package/lib/line/src/options.d.ts +21 -1
  52. package/lib/map/index.d.ts +4 -49
  53. package/lib/map/src/index.vue.d.ts +6 -10
  54. package/lib/node-achievement/index.d.ts +22 -1
  55. package/lib/node-achievement/src/index.vue.d.ts +28 -1
  56. package/lib/pie/index.d.ts +4 -67
  57. package/lib/pie/src/chart.d.ts +1 -1
  58. package/lib/pie/src/index.vue.d.ts +6 -14
  59. package/lib/pie/src/options.d.ts +18 -1
  60. package/lib/pie-distri/index.d.ts +4 -77
  61. package/lib/pie-distri/src/index.vue.d.ts +6 -18
  62. package/lib/pie-distri/src/options.d.ts +28 -3
  63. package/lib/pie-level/index.d.ts +4 -112
  64. package/lib/pie-level/src/chart.d.ts +2 -0
  65. package/lib/pie-level/src/index.vue.d.ts +5 -28
  66. package/lib/pie-level/src/options.d.ts +18 -0
  67. package/lib/pie-table/index.d.ts +25 -1
  68. package/lib/pie-table/src/index.vue.d.ts +29 -1
  69. package/lib/plan/index.d.ts +22 -1
  70. package/lib/plan/src/index.vue.d.ts +214 -1
  71. package/lib/radar/index.d.ts +4 -49
  72. package/lib/radar/src/index.vue.d.ts +6 -10
  73. package/lib/radar/src/options.d.ts +17 -2
  74. package/lib/ranking-cup/index.d.ts +25 -1
  75. package/lib/ranking-cup/src/index.vue.d.ts +27 -1
  76. package/lib/ranking-list/index.d.ts +25 -1
  77. package/lib/ranking-list/src/index.vue.d.ts +29 -1
  78. package/lib/ranking-rb/index.d.ts +43 -1
  79. package/lib/ranking-rb/src/index.vue.d.ts +37 -1
  80. package/lib/ranking-table/index.d.ts +25 -1
  81. package/lib/ranking-table/src/index.vue.d.ts +29 -1
  82. package/lib/reserve/index.d.ts +5 -55
  83. package/lib/reserve/src/index.vue.d.ts +7 -10
  84. package/lib/style.css +1 -1
  85. package/lib/style.css.gz +0 -0
  86. package/lib/target-achievement/src/options.d.ts +1 -1
  87. package/lib/utils/index.d.ts +1 -0
  88. package/lib/utils/loading/index.d.ts +9 -0
  89. package/lib/utils/theme/config/black-gold.d.ts +24 -0
  90. package/lib/utils/theme/config/white-blue.d.ts +24 -0
  91. package/lib/utils/theme/config/white-green.d.ts +24 -0
  92. package/lib/utils/theme/index.d.ts +1 -1
  93. package/package.json +7 -5
@@ -1,4 +1,26 @@
1
1
  export declare const pieOptions: (total: any, size: any, type: any) => {
2
+ textStyle: {
3
+ fontFamily: string;
4
+ };
5
+ legend: {
6
+ trigger: string;
7
+ show: boolean;
8
+ orient: string;
9
+ left: string;
10
+ itemWidth: number;
11
+ itemHeight: number;
12
+ textStyle: {
13
+ fontSize: number;
14
+ color: string;
15
+ lineHeight: number;
16
+ rich: {
17
+ a: {
18
+ verticalAlign: string;
19
+ };
20
+ };
21
+ padding: number[];
22
+ };
23
+ };
2
24
  backgroundColor: any;
3
25
  color: any;
4
26
  title: {
@@ -14,18 +36,17 @@ export declare const pieOptions: (total: any, size: any, type: any) => {
14
36
  textStyle: {
15
37
  fontSize: number;
16
38
  align: string;
39
+ color: string;
17
40
  };
18
41
  subtextStyle: {
19
42
  fontSize: number;
20
43
  align: string;
21
44
  lineHeight: number;
45
+ color: string;
22
46
  };
23
47
  x: string;
24
48
  y: string;
25
49
  };
26
- tooltip: {
27
- trigger: string;
28
- };
29
50
  series: {
30
51
  type: string;
31
52
  minAngle: number;
@@ -45,11 +66,15 @@ export declare const pieOptions: (total: any, size: any, type: any) => {
45
66
  lineHeight: number;
46
67
  fontSize: number;
47
68
  align: string;
69
+ color: string;
70
+ fontFamily: string;
48
71
  };
49
72
  f: {
50
73
  fontSize: number;
51
74
  align: string;
52
75
  lineHeight: number;
76
+ color: string;
77
+ fontFamily: string;
53
78
  };
54
79
  };
55
80
  };
@@ -1,123 +1,15 @@
1
1
  declare const GPieLevel: ({
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
3
- size: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- options: {
8
- type: ObjectConstructor;
9
- default: {};
10
- };
11
- type: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- isMarkLine: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- markLineData: {
20
- type: ArrayConstructor;
21
- default: {
22
- x: string;
23
- y: string;
24
- }[][];
25
- };
26
- dbOptions: {
27
- type: ObjectConstructor;
28
- default: {};
29
- };
30
- }>> & Readonly<{}>, {
31
- props: any;
32
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
33
- type: string;
34
- size: string;
35
- options: Record<string, any>;
36
- dbOptions: Record<string, any>;
37
- isMarkLine: boolean;
38
- markLineData: unknown[];
39
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
- P: {};
41
- B: {};
42
- D: {};
43
- C: {};
44
- M: {};
45
- Defaults: {};
46
- }, Readonly<globalThis.ExtractPropTypes<{
47
- size: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- options: {
52
- type: ObjectConstructor;
53
- default: {};
54
- };
55
- type: {
56
- type: StringConstructor;
57
- default: string;
58
- };
59
- isMarkLine: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- markLineData: {
64
- type: ArrayConstructor;
65
- default: {
66
- x: string;
67
- y: string;
68
- }[][];
69
- };
70
- dbOptions: {
71
- type: ObjectConstructor;
72
- default: {};
73
- };
74
- }>> & Readonly<{}>, {
75
- props: any;
76
- }, {}, {}, {}, {
77
- type: string;
78
- size: string;
79
- options: Record<string, any>;
80
- dbOptions: Record<string, any>;
81
- isMarkLine: boolean;
82
- markLineData: unknown[];
83
- }>;
2
+ new (...args: any[]): any;
84
3
  __isFragment?: never;
85
4
  __isTeleport?: never;
86
5
  __isSuspense?: never;
87
- } & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
88
- size: {
89
- type: StringConstructor;
90
- default: string;
91
- };
92
- options: {
93
- type: ObjectConstructor;
94
- default: {};
95
- };
96
- type: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- isMarkLine: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- markLineData: {
105
- type: ArrayConstructor;
106
- default: {
107
- x: string;
108
- y: string;
109
- }[][];
110
- };
111
- dbOptions: {
112
- type: ObjectConstructor;
113
- default: {};
114
- };
115
- }>> & Readonly<{}>, {
6
+ } & import('vue').ComponentOptionsBase<any, {
116
7
  props: any;
117
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, {
118
9
  type: string;
119
10
  size: string;
120
11
  options: Record<string, any>;
12
+ description: string;
121
13
  dbOptions: Record<string, any>;
122
14
  isMarkLine: boolean;
123
15
  markLineData: unknown[];
@@ -3,6 +3,8 @@ interface PieProps {
3
3
  size: string;
4
4
  isMarkLine: boolean;
5
5
  markLineData: Array<any>;
6
+ title: string;
7
+ unit: string;
6
8
  }
7
9
  declare const getPieOptions: (options?: object, props?: PieProps) => {};
8
10
  declare const changePieSeries: (options?: any, props?: PieProps, dataIndex?: number) => {
@@ -1,34 +1,8 @@
1
1
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
- size: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- options: {
7
- type: ObjectConstructor;
8
- default: {};
9
- };
10
- type: {
2
+ description: {
11
3
  type: StringConstructor;
12
4
  default: string;
13
5
  };
14
- isMarkLine: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- markLineData: {
19
- type: ArrayConstructor;
20
- default: {
21
- x: string;
22
- y: string;
23
- }[][];
24
- };
25
- dbOptions: {
26
- type: ObjectConstructor;
27
- default: {};
28
- };
29
- }>, {
30
- props: any;
31
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
6
  size: {
33
7
  type: StringConstructor;
34
8
  default: string;
@@ -56,10 +30,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
56
30
  type: ObjectConstructor;
57
31
  default: {};
58
32
  };
59
- }>> & Readonly<{}>, {
33
+ }>, {
34
+ props: any;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
60
36
  type: string;
61
37
  size: string;
62
38
  options: Record<string, any>;
39
+ description: string;
63
40
  dbOptions: Record<string, any>;
64
41
  isMarkLine: boolean;
65
42
  markLineData: unknown[];
@@ -2,15 +2,33 @@ export declare const pieOptions: (props: any, flag?: boolean) => {
2
2
  backgroundColor: any;
3
3
  color: any;
4
4
  tooltip: {
5
+ show: boolean;
5
6
  trigger: string;
7
+ formatter: (params: any) => any;
6
8
  };
7
9
  legend: {
8
10
  trigger: string;
9
11
  show: boolean;
12
+ orient: string;
13
+ left: string;
14
+ itemWidth: number;
15
+ itemHeight: number;
16
+ textStyle: {
17
+ fontSize: number;
18
+ color: string;
19
+ lineHeight: number;
20
+ rich: {
21
+ a: {
22
+ verticalAlign: string;
23
+ };
24
+ };
25
+ padding: number[];
26
+ };
10
27
  };
11
28
  grid: any;
12
29
  textStyle: {
13
30
  fontSize: any;
31
+ color: string;
14
32
  };
15
33
  series: any;
16
34
  };
@@ -16,6 +16,10 @@ declare const GPieTable: ({
16
16
  type: ObjectConstructor;
17
17
  default: () => void;
18
18
  };
19
+ description: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
19
23
  dbOptions: {
20
24
  type: ObjectConstructor;
21
25
  default: () => void;
@@ -25,6 +29,7 @@ declare const GPieTable: ({
25
29
  readonly type: string;
26
30
  readonly size: string;
27
31
  readonly options: Record<string, any>;
32
+ readonly description: string;
28
33
  readonly dbOptions: Record<string, any>;
29
34
  readonly color: unknown[];
30
35
  };
@@ -33,6 +38,7 @@ declare const GPieTable: ({
33
38
  type: string;
34
39
  size: string;
35
40
  options: Record<string, any>;
41
+ description: string;
36
42
  dbOptions: Record<string, any>;
37
43
  color: unknown[];
38
44
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -59,6 +65,10 @@ declare const GPieTable: ({
59
65
  type: ObjectConstructor;
60
66
  default: () => void;
61
67
  };
68
+ description: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
62
72
  dbOptions: {
63
73
  type: ObjectConstructor;
64
74
  default: () => void;
@@ -68,6 +78,7 @@ declare const GPieTable: ({
68
78
  readonly type: string;
69
79
  readonly size: string;
70
80
  readonly options: Record<string, any>;
81
+ readonly description: string;
71
82
  readonly dbOptions: Record<string, any>;
72
83
  readonly color: unknown[];
73
84
  };
@@ -76,6 +87,7 @@ declare const GPieTable: ({
76
87
  type: string;
77
88
  size: string;
78
89
  options: Record<string, any>;
90
+ description: string;
79
91
  dbOptions: Record<string, any>;
80
92
  color: unknown[];
81
93
  }>;
@@ -99,6 +111,10 @@ declare const GPieTable: ({
99
111
  type: ObjectConstructor;
100
112
  default: () => void;
101
113
  };
114
+ description: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
102
118
  dbOptions: {
103
119
  type: ObjectConstructor;
104
120
  default: () => void;
@@ -108,6 +124,7 @@ declare const GPieTable: ({
108
124
  readonly type: string;
109
125
  readonly size: string;
110
126
  readonly options: Record<string, any>;
127
+ readonly description: string;
111
128
  readonly dbOptions: Record<string, any>;
112
129
  readonly color: unknown[];
113
130
  };
@@ -116,7 +133,14 @@ declare const GPieTable: ({
116
133
  type: string;
117
134
  size: string;
118
135
  options: Record<string, any>;
136
+ description: string;
119
137
  dbOptions: Record<string, any>;
120
138
  color: unknown[];
121
- }, {}, 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>;
139
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
140
+ $slots: {
141
+ empty?(_: {
142
+ class: string;
143
+ }): any;
144
+ };
145
+ }) & import('vue').Plugin) & Record<string, any>;
122
146
  export default GPieTable;
@@ -1,4 +1,16 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ empty?(_: {
4
+ class: string;
5
+ }): any;
6
+ };
7
+ refs: {
8
+ pieTableRef: HTMLDivElement;
9
+ };
10
+ attrs: Partial<{}>;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
14
  type: {
3
15
  type: StringConstructor;
4
16
  default: string;
@@ -15,6 +27,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
15
27
  type: ObjectConstructor;
16
28
  default: () => void;
17
29
  };
30
+ description: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
18
34
  dbOptions: {
19
35
  type: ObjectConstructor;
20
36
  default: () => void;
@@ -24,6 +40,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
24
40
  readonly type: string;
25
41
  readonly size: string;
26
42
  readonly options: Record<string, any>;
43
+ readonly description: string;
27
44
  readonly dbOptions: Record<string, any>;
28
45
  readonly color: unknown[];
29
46
  };
@@ -45,6 +62,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
45
62
  type: ObjectConstructor;
46
63
  default: () => void;
47
64
  };
65
+ description: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
48
69
  dbOptions: {
49
70
  type: ObjectConstructor;
50
71
  default: () => void;
@@ -53,7 +74,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
53
74
  type: string;
54
75
  size: string;
55
76
  options: Record<string, any>;
77
+ description: string;
56
78
  dbOptions: Record<string, any>;
57
79
  color: unknown[];
58
80
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
82
  export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -8,6 +8,10 @@ declare const GPlan: ({
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  };
11
+ description: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
11
15
  dbOptions: {
12
16
  type: ObjectConstructor;
13
17
  default: () => {};
@@ -16,6 +20,7 @@ declare const GPlan: ({
16
20
  props: any;
17
21
  planRef: globalThis.Ref<null, null>;
18
22
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
23
+ description: string;
19
24
  dbOptions: Record<string, any>;
20
25
  isYearDate: boolean;
21
26
  isLegend: boolean;
@@ -35,6 +40,10 @@ declare const GPlan: ({
35
40
  type: BooleanConstructor;
36
41
  default: boolean;
37
42
  };
43
+ description: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
38
47
  dbOptions: {
39
48
  type: ObjectConstructor;
40
49
  default: () => {};
@@ -43,6 +52,7 @@ declare const GPlan: ({
43
52
  props: any;
44
53
  planRef: globalThis.Ref<null, null>;
45
54
  }, {}, {}, {}, {
55
+ description: string;
46
56
  dbOptions: Record<string, any>;
47
57
  isYearDate: boolean;
48
58
  isLegend: boolean;
@@ -59,6 +69,10 @@ declare const GPlan: ({
59
69
  type: BooleanConstructor;
60
70
  default: boolean;
61
71
  };
72
+ description: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
62
76
  dbOptions: {
63
77
  type: ObjectConstructor;
64
78
  default: () => {};
@@ -67,8 +81,15 @@ declare const GPlan: ({
67
81
  props: any;
68
82
  planRef: globalThis.Ref<null, null>;
69
83
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
84
+ description: string;
70
85
  dbOptions: Record<string, any>;
71
86
  isYearDate: boolean;
72
87
  isLegend: boolean;
73
- }, {}, 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>;
88
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
89
+ $slots: {
90
+ empty?(_: {
91
+ class: string;
92
+ }): any;
93
+ };
94
+ }) & import('vue').Plugin) & Record<string, any>;
74
95
  export default GPlan;