@sankhyalabs/ezui-docs 0.0.0-feat-dev-KB-55842.0 → 0.0.0-feat-dev-KB-46477.9
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.
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
|
|
28
28
|
## Methods
|
|
29
29
|
|
|
30
|
+
### `setFieldProp(fieldName: string, propName: string, value: any) => Promise<void>`
|
|
31
|
+
|
|
32
|
+
Altera/adiciona uma propriedade nos metadados do campo.
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
Type: `Promise<void>`
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
30
40
|
### `validate() => Promise<void>`
|
|
31
41
|
|
|
32
42
|
Realiza validação no conteúdo de todos os campos.
|
|
@@ -22,6 +22,16 @@
|
|
|
22
22
|
|
|
23
23
|
## Methods
|
|
24
24
|
|
|
25
|
+
### `setFieldProp(fieldName: string, propName: string, value: any) => Promise<void>`
|
|
26
|
+
|
|
27
|
+
Altera/adiciona uma propriedade nos metados do campo.
|
|
28
|
+
|
|
29
|
+
#### Returns
|
|
30
|
+
|
|
31
|
+
Type: `Promise<void>`
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
25
35
|
### `showUp() => Promise<void>`
|
|
26
36
|
|
|
27
37
|
|
|
@@ -44,6 +44,16 @@ Type: `Promise<void>`
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
+
### `addCustomValueFormatter(columnName: string, customFormatter: ICustomFormatter) => Promise<void>`
|
|
48
|
+
|
|
49
|
+
Registra um formatador de valores para uma coluna da grid.
|
|
50
|
+
|
|
51
|
+
#### Returns
|
|
52
|
+
|
|
53
|
+
Type: `Promise<void>`
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
47
57
|
### `filterColumns(search: string) => Promise<Array<EzGridColumn>>`
|
|
48
58
|
|
|
49
59
|
Usa um argumento para filtrar as colunas po label
|
|
@@ -74,6 +84,16 @@ Type: `Promise<EzGridColumn[]>`
|
|
|
74
84
|
|
|
75
85
|
|
|
76
86
|
|
|
87
|
+
### `getCustomValueFormatter(columnName: string) => Promise<ICustomFormatter | undefined>`
|
|
88
|
+
|
|
89
|
+
Retorna o formatador customizado da coluna caso exista.
|
|
90
|
+
|
|
91
|
+
#### Returns
|
|
92
|
+
|
|
93
|
+
Type: `Promise<ICustomFormatter>`
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
77
97
|
### `getSelection() => Promise<Array<any>>`
|
|
78
98
|
|
|
79
99
|
Obtém as linhas selecionadas.
|
|
@@ -104,6 +124,26 @@ Type: `Promise<void>`
|
|
|
104
124
|
|
|
105
125
|
|
|
106
126
|
|
|
127
|
+
### `refreshSelectedRows() => Promise<void>`
|
|
128
|
+
|
|
129
|
+
Atualiza linhas da grade.
|
|
130
|
+
|
|
131
|
+
#### Returns
|
|
132
|
+
|
|
133
|
+
Type: `Promise<void>`
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### `removeCustomValueFormatter(columnName: string) => Promise<void>`
|
|
138
|
+
|
|
139
|
+
Remove o formatador de valores de uma coluna da grid.
|
|
140
|
+
|
|
141
|
+
#### Returns
|
|
142
|
+
|
|
143
|
+
Type: `Promise<void>`
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
107
147
|
### `setColumnsDef(cols: Array<EzGridColumn>) => Promise<void>`
|
|
108
148
|
|
|
109
149
|
Aplica a definição de colunas.
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# ez-chart
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| --------------- | ---------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------- |
|
|
12
|
-
| `legendEnabled` | `legend-enabled` | Define se a legenda do gráfico deve ser apresentada ou não. | `boolean` | `true` |
|
|
13
|
-
| `series` | -- | Define as series a serem apresentadas no gráfico | `ChartSerie[] \| ({ name: string; data: number[]; type: "line" \| "column"; yAxis: number; toolTipformatter?: (value: string \| number) => string; showDataLabel: boolean; })` | `undefined` |
|
|
14
|
-
| `subTitle` | `sub-title` | Define o sub titulo a ser apresentado no gráfico | `string` | `""` |
|
|
15
|
-
| `title` | `title` | Define o titulo a ser apresentado no gráfico | `string` | `""` |
|
|
16
|
-
| `type` | `type` | Define o tipo de gráfico apresentado pelo componente | `ChartType.COLUMN \| ChartType.COLUMN_AND_LINE \| ChartType.DONUT \| ChartType.LINE \| ChartType.PIE` | `ChartType.LINE` |
|
|
17
|
-
| `xAxis` | -- | Definições do eixo X do gráfico | `ChartAxis[] \| ({ color?: string; categories?: any[]; formatter?: (value: string \| number) => string; text?: string; })` | `undefined` |
|
|
18
|
-
| `yAxis` | -- | Definições do eixo Y do gráfico | `ChartAxis[] \| ({ color?: string; categories?: any[]; formatter?: (value: string \| number) => string; text?: string; })` | `undefined` |
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Events
|
|
22
|
-
|
|
23
|
-
| Event | Description | Type |
|
|
24
|
-
| -------------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
25
|
-
| `ezSerieClick` | Evento emitido quando ocorre um click em uma serie do gráfico | `CustomEvent<{ name: string; data: number[]; type: "line" \| "column"; yAxis: number; }>` |
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
----------------------------------------------
|
|
29
|
-
|
|
30
|
-
|