@sankhyalabs/ezui-docs 2.5.2 → 2.6.0
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.
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# ez-file-item
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------- | ------------ | ---------------------------------------------------------------------- | --------- | ----------- |
|
|
12
|
+
| `canRemove` | `can-remove` | Define se o usuário pode remover o arquivo que está sendo apresentado. | `boolean` | `true` |
|
|
13
|
+
| `fileName` | `file-name` | Define o nome do arquivo, com extensão. | `string` | `undefined` |
|
|
14
|
+
| `fileSize` | `file-size` | Tamanho do arquivo (em bytes). | `number` | `undefined` |
|
|
15
|
+
| `iconName` | `icon-name` | Define qual ícone que representa o arquivo. | `string` | `undefined` |
|
|
16
|
+
| `progress` | `progress` | Percentual de carregamento do arquivo para o servidor. | `number` | `100` |
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Events
|
|
20
|
+
|
|
21
|
+
| Event | Description | Type |
|
|
22
|
+
| ---------- | ---------------------------------------------------------------- | --------------------- |
|
|
23
|
+
| `ezClick` | Emitido ao clicar no ez-file-input (exceto no botão de remover). | `CustomEvent<string>` |
|
|
24
|
+
| `ezRemove` | Emitido ao clicar no botão de remover. | `CustomEvent<string>` |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Dependencies
|
|
28
|
+
|
|
29
|
+
### Depends on
|
|
30
|
+
|
|
31
|
+
- [ez-icon](../ez-icon)
|
|
32
|
+
|
|
33
|
+
### Graph
|
|
34
|
+
```mermaid
|
|
35
|
+
graph TD;
|
|
36
|
+
ez-file-item --> ez-icon
|
|
37
|
+
style ez-file-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
----------------------------------------------
|
|
41
|
+
|
|
42
|
+
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
- [ez-collapsible-box](../ez-collapsible-box)
|
|
25
25
|
- [ez-combo-box](../ez-combo-box)
|
|
26
26
|
- [ez-dialog](../ez-dialog)
|
|
27
|
+
- [ez-file-item](../ez-file-item)
|
|
27
28
|
- [ez-filter-input](../ez-filter-input)
|
|
28
29
|
- [ez-modal-container](../ez-modal-container)
|
|
29
30
|
- [ez-tabselector](../ez-tabselector)
|
|
@@ -38,6 +39,7 @@ graph TD;
|
|
|
38
39
|
ez-collapsible-box --> ez-icon
|
|
39
40
|
ez-combo-box --> ez-icon
|
|
40
41
|
ez-dialog --> ez-icon
|
|
42
|
+
ez-file-item --> ez-icon
|
|
41
43
|
ez-filter-input --> ez-icon
|
|
42
44
|
ez-modal-container --> ez-icon
|
|
43
45
|
ez-tabselector --> ez-icon
|