nemesischart 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +52 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -83,9 +83,60 @@ export interface PolarProps {
|
|
|
83
83
|
label_quantidade?: string
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
export interface CardColumnDadosItem {
|
|
87
|
+
rotulo: string
|
|
88
|
+
quantidade: number
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface CardColumnProps {
|
|
92
|
+
/**
|
|
93
|
+
* Title text displayed at the top of the card.
|
|
94
|
+
* @default 'CardColumn'
|
|
95
|
+
*/
|
|
96
|
+
titulo?: string
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Subtitle text displayed below the title.
|
|
100
|
+
* @default ''
|
|
101
|
+
*/
|
|
102
|
+
subtitulo?: string
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Primary value displayed in the card body.
|
|
106
|
+
* @default '0'
|
|
107
|
+
*/
|
|
108
|
+
valor?: string
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Description text shown below the value.
|
|
112
|
+
* @default 'This is a card component.'
|
|
113
|
+
*/
|
|
114
|
+
descricao?: string
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Array of data items to render as a bar chart.
|
|
118
|
+
* Each item must have `rotulo` (label) and `quantidade` (value).
|
|
119
|
+
* @default []
|
|
120
|
+
*/
|
|
121
|
+
dados?: CardColumnDadosItem[]
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Background color theme of the card.
|
|
125
|
+
* @default 'light'
|
|
126
|
+
*/
|
|
127
|
+
cor?: 'light' | 'dark' | 'transparent'
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Base color used to auto-generate the bar chart color palette.
|
|
131
|
+
* @default '#1E40AF'
|
|
132
|
+
*/
|
|
133
|
+
corPaleta?: string
|
|
134
|
+
}
|
|
135
|
+
|
|
86
136
|
declare const Cards: DefineComponent<CardsProps, {}, {}, {}, {}, {}, {}, { click: () => void }>
|
|
87
137
|
declare const Polar: DefineComponent<PolarProps>
|
|
138
|
+
declare const CardColumn: DefineComponent<CardColumnProps>
|
|
88
139
|
declare const NemesisChart: Plugin
|
|
89
140
|
|
|
90
|
-
export { Cards, Polar }
|
|
141
|
+
export { Cards, Polar, CardColumn }
|
|
91
142
|
export default NemesisChart
|