@sankhyalabs/ezui-docs 4.6.1 → 4.8.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.
@@ -9,6 +9,7 @@
9
9
 
10
10
  | Property | Attribute | Description | Type | Default |
11
11
  | ---------------------- | ------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ----------- |
12
+ | `beforeClose` | -- | Define função a ser executada antes de fechar o modal | `Function` | `undefined` |
12
13
  | `confirm` | `confirm` | Define se o ez-dialog será utilizado no modo de confirmação. | `boolean` | `false` |
13
14
  | `dialogType` | `dialog-type` | Define aparência do ez-dialog. | `DialogType.CRITICAL \| DialogType.DEFAULT \| DialogType.SUCCESS \| DialogType.WARN` | `undefined` |
14
15
  | `ezTitle` | `ez-title` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
@@ -27,7 +28,7 @@
27
28
 
28
29
  ## Methods
29
30
 
30
- ### `show(title: string, message: string, dialogType: DialogType, confirm: boolean, icon: string, labelCancel: string, labelConfirm: string, btnConfirmDanger: boolean) => Promise<boolean>`
31
+ ### `show(title: string, message: string, dialogType: DialogType, confirm: boolean, icon: string, labelCancel: string, labelConfirm: string, btnConfirmDanger: boolean, beforeClose: Function) => Promise<boolean>`
31
32
 
32
33
  Exibe o ez-dialog.
33
34
 
@@ -7,13 +7,14 @@
7
7
 
8
8
  ## Properties
9
9
 
10
- | Property | Attribute | Description | Type | Default |
11
- | ------------------- | --------------------- | -------------------------------------------------------------------------------------------- | ------------------- | ----------- |
12
- | `align` | `align` | Define o alinhamento do ez-modal. | `"left" \| "right"` | `undefined` |
13
- | `closeEsc` | `close-esc` | Define se o ez-modal será fechado ao clicar `ESC`. | `boolean` | `false` |
14
- | `closeOutsideClick` | `close-outside-click` | Define se o modal será fechado ao clicar fora do conteúdo. | `boolean` | `false` |
15
- | `modalSize` | `modal-size` | Define o tamanho do ez-modal. Devem ser definidas seguindo grid-layout. Exemplo: `col-sd-3`. | `string` | `undefined` |
16
- | `opened` | `opened` | Define se o ez-modal está aberto. | `boolean` | `true` |
10
+ | Property | Attribute | Description | Type | Default |
11
+ | ------------------- | --------------------- | ---------------------------------------------------------------------------------------------------- | --------------------- | ----------- |
12
+ | `align` | `align` | Define o alinhamento do ez-modal. | `"left" \| "right"` | `undefined` |
13
+ | `closeEsc` | `close-esc` | Define se o ez-modal será fechado ao clicar `ESC`. | `boolean` | `false` |
14
+ | `closeOutsideClick` | `close-outside-click` | Define se o modal será fechado ao clicar fora do conteúdo. | `boolean` | `false` |
15
+ | `heightMode` | `height-mode` | Ativa o modo Full, permitindo que o Modal expanda-se verticalmente e ocupe todo o espaço disponível. | `"full" \| "regular"` | `"regular"` |
16
+ | `modalSize` | `modal-size` | Define o tamanho do ez-modal. Devem ser definidas seguindo grid-layout. Exemplo: `col-sd-3`. | `string` | `undefined` |
17
+ | `opened` | `opened` | Define se o ez-modal está aberto. | `boolean` | `true` |
17
18
 
18
19
 
19
20
  ## Events
@@ -14,6 +14,7 @@
14
14
  | `maxFileSize` | `max-file-size` | Define o tamanho máximo (em bytes) de cada arquivo que pode ser transferido | `number` | `undefined` |
15
15
  | `maxFiles` | `max-files` | Define um limite para a quantidade de arquivos | `number` | `undefined` |
16
16
  | `requestHeaders` | `request-headers` | Headers para a requisição Http | `any` | `undefined` |
17
+ | `subtitle` | `subtitle` | Define o subtítulo utilizado no campo de upload | `string` | `undefined` |
17
18
  | `urlDelete` | `url-delete` | Define a URL de deleção | `string` | `undefined` |
18
19
  | `urlUpload` | `url-upload` | Define a URL de upload | `string` | `undefined` |
19
20
  | `value` | -- | Define o valor do campo. | `EzFile[]` | `undefined` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui-docs",
3
- "version": "4.6.1",
3
+ "version": "4.8.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [