@sankhyalabs/ezui-docs 6.2.0-ms.1 → 6.2.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.
- package/components/ez-check/readme.md +0 -2
- package/components/ez-combo-box/ez-combo-box-list/readme.md +11 -11
- package/components/ez-combo-box/readme.md +22 -23
- package/components/ez-form/readme.md +0 -25
- package/components/ez-form-view/readme.md +0 -26
- package/components/ez-icon/readme.md +0 -6
- package/components/ez-modal-container/readme.md +0 -7
- package/components/ez-popup/readme.md +0 -15
- package/components/ez-sortable-list/readme.md +16 -16
- package/components/ez-split-button/readme.md +13 -13
- package/components/ez-text-area/readme.md +2 -16
- package/components/ez-text-input/readme.md +0 -4
- package/components/ez-tooltip/readme.md +0 -4
- package/package.json +1 -1
- package/components/ez-rich-text/ez-link-builder/readme.md +0 -69
- package/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/readme.md +0 -29
- package/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/readme.md +0 -29
- package/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/readme.md +0 -49
- package/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/readme.md +0 -29
- package/components/ez-rich-text/ez-rich-toolbar/readme.md +0 -54
- package/components/ez-rich-text/ez-simple-image-uploader/readme.md +0 -78
- package/components/ez-rich-text/readme.md +0 -121
|
@@ -53,7 +53,6 @@ Type: `Promise<void>`
|
|
|
53
53
|
### Used by
|
|
54
54
|
|
|
55
55
|
- [ez-form-view](../ez-form-view)
|
|
56
|
-
- [ez-link-builder](../ez-rich-text/ez-link-builder)
|
|
57
56
|
- [ez-list](../ez-list)
|
|
58
57
|
- [ez-multi-selection-list](../ez-multi-selection-list)
|
|
59
58
|
|
|
@@ -61,7 +60,6 @@ Type: `Promise<void>`
|
|
|
61
60
|
```mermaid
|
|
62
61
|
graph TD;
|
|
63
62
|
ez-form-view --> ez-check
|
|
64
|
-
ez-link-builder --> ez-check
|
|
65
63
|
ez-list --> ez-check
|
|
66
64
|
ez-multi-selection-list --> ez-check
|
|
67
65
|
style ez-check fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type | Default
|
|
11
|
-
| ----------------- | ------------------- | -------------------------------------------------------------------- | --------------------------- |
|
|
12
|
-
| `maxWidth` | `max-width` | Largura máxima da lista, em pixels. | `number` | `undefined`
|
|
13
|
-
| `onOptionHover` | -- | Callback chamado quando o mouse passa sobre uma opção. | `(index: number) => void` | `undefined`
|
|
14
|
-
| `onOptionSelect` | -- | Callback chamado quando uma opção é selecionada. | `(option: IOption) => void` | `undefined`
|
|
15
|
-
| `preSelection` | `pre-selection` | Índice da opção pré-selecionada na lista. | `number` | `undefined`
|
|
16
|
-
| `showLoading` | `show-loading` | Indica se o indicador de carregamento deve ser exibido. | `boolean` | `undefined`
|
|
17
|
-
| `showOptionValue` | `show-option-value` | Indica se o valor de cada opção deve ser exibido junto com o rótulo. | `boolean` | `undefined`
|
|
18
|
-
| `textEmptyList` | `text-empty-list` | Mensagem exibida quando a lista de opções está vazia. | `string` | `
|
|
19
|
-
| `visibleOptions` | -- | Lista de opções visíveis que serão exibidas no componente. | `IOption[]` | `undefined`
|
|
20
|
-
| `width` | `width` | Largura fixa da lista, em pixels. | `number` | `undefined`
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------- | -------------------------------------------------------------------- | --------------------------- | ------------------------------- |
|
|
12
|
+
| `maxWidth` | `max-width` | Largura máxima da lista, em pixels. | `number` | `undefined` |
|
|
13
|
+
| `onOptionHover` | -- | Callback chamado quando o mouse passa sobre uma opção. | `(index: number) => void` | `undefined` |
|
|
14
|
+
| `onOptionSelect` | -- | Callback chamado quando uma opção é selecionada. | `(option: IOption) => void` | `undefined` |
|
|
15
|
+
| `preSelection` | `pre-selection` | Índice da opção pré-selecionada na lista. | `number` | `undefined` |
|
|
16
|
+
| `showLoading` | `show-loading` | Indica se o indicador de carregamento deve ser exibido. | `boolean` | `undefined` |
|
|
17
|
+
| `showOptionValue` | `show-option-value` | Indica se o valor de cada opção deve ser exibido junto com o rótulo. | `boolean` | `undefined` |
|
|
18
|
+
| `textEmptyList` | `text-empty-list` | Mensagem exibida quando a lista de opções está vazia. | `string` | `"Nenhum resultado encontrado"` |
|
|
19
|
+
| `visibleOptions` | -- | Lista de opções visíveis que serão exibidas no componente. | `IOption[]` | `undefined` |
|
|
20
|
+
| `width` | `width` | Largura fixa da lista, em pixels. | `number` | `undefined` |
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Methods
|
|
@@ -7,29 +7,28 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type | Default
|
|
11
|
-
| ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
|
|
12
|
-
| `alternativePlaceholder` | `alternative-placeholder` | Texto alternativo a ser apresentado como título do campo. | `string` | `undefined`
|
|
13
|
-
| `autoFocus` | `auto-focus` | Se true o campo de texto receberá o foco ao ser renderizado. | `boolean` | `false`
|
|
14
|
-
| `canShowError` | `can-show-error` | Se false deixa de exibir a mensagem de erro dentro do campo. | `boolean` | `true`
|
|
15
|
-
| `enabled` | `enabled` | Se false o usuário não pode interagir com o campo. | `boolean` | `true`
|
|
16
|
-
| `errorMessage` | `error-message` | Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido. | `string` | `undefined`
|
|
17
|
-
| `hideErrorOnFocusOut` | `hide-error-on-focus-out` | Quando verdadeiro deixa de exibir a mensagem de erro (se existente) quando focar em um elemento diferente. | `boolean` | `true`
|
|
18
|
-
| `isTextSearch` | `is-text-search` | Informa se a pesquisa é do tipo texto. | `boolean` | `false`
|
|
19
|
-
| `label` | `label` | Texto a ser apresentado como título do campo. | `string` | `undefined`
|
|
20
|
-
| `limitCharsToSearch` | `limit-chars-to-search` | Define o limite de caracteres mínimo para realizar uma pesquisa | `number` | `3`
|
|
21
|
-
| `listOptionsPosition` | -- | Define um posicionamento fixo para a lista de opções do CheckBox. | `IEzCheckBoxListPosition` | `undefined`
|
|
22
|
-
| `mode` | `mode` | Define o tamanho do campo. | `"regular" \| "slim"` | `"regular"`
|
|
23
|
-
| `optionLoader` | -- | Carrega as opções dinamicamente. | `(argument: ISearchArgument) => IOption \| IOption[] \| Promise<IOption[]>` | `undefined`
|
|
24
|
-
| `options` | -- | Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`. | `IOption[]` | `undefined`
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `value` | `value` | Define o valor do campo. | `IOption \| string` | `undefined` |
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------- |
|
|
12
|
+
| `alternativePlaceholder` | `alternative-placeholder` | Texto alternativo a ser apresentado como título do campo. | `string` | `undefined` |
|
|
13
|
+
| `autoFocus` | `auto-focus` | Se true o campo de texto receberá o foco ao ser renderizado. | `boolean` | `false` |
|
|
14
|
+
| `canShowError` | `can-show-error` | Se false deixa de exibir a mensagem de erro dentro do campo. | `boolean` | `true` |
|
|
15
|
+
| `enabled` | `enabled` | Se false o usuário não pode interagir com o campo. | `boolean` | `true` |
|
|
16
|
+
| `errorMessage` | `error-message` | Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido. | `string` | `undefined` |
|
|
17
|
+
| `hideErrorOnFocusOut` | `hide-error-on-focus-out` | Quando verdadeiro deixa de exibir a mensagem de erro (se existente) quando focar em um elemento diferente. | `boolean` | `true` |
|
|
18
|
+
| `isTextSearch` | `is-text-search` | Informa se a pesquisa é do tipo texto. | `boolean` | `false` |
|
|
19
|
+
| `label` | `label` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
|
|
20
|
+
| `limitCharsToSearch` | `limit-chars-to-search` | Define o limite de caracteres mínimo para realizar uma pesquisa | `number` | `3` |
|
|
21
|
+
| `listOptionsPosition` | -- | Define um posicionamento fixo para a lista de opções do CheckBox. | `IEzCheckBoxListPosition` | `undefined` |
|
|
22
|
+
| `mode` | `mode` | Define o tamanho do campo. | `"regular" \| "slim"` | `"regular"` |
|
|
23
|
+
| `optionLoader` | -- | Carrega as opções dinamicamente. | `(argument: ISearchArgument) => IOption \| IOption[] \| Promise<IOption[]>` | `undefined` |
|
|
24
|
+
| `options` | -- | Array com as opções do ez-combo-box. Os elementos devem obedecer o formato: `{value: string, label: string}`. | `IOption[]` | `undefined` |
|
|
25
|
+
| `showOptionValue` | `show-option-value` | Se true cada opção na lista exibe o `value` junto com `label`. | `boolean` | `false` |
|
|
26
|
+
| `showSelectedValue` | `show-selected-value` | Se true a opção selecionada exibe o `value` junto com `label`. | `boolean` | `false` |
|
|
27
|
+
| `stopPropagateEnterKeyEvent` | `stop-propagate-enter-key-event` | Se true, ineterrompe a propagação do evento de KeyDown da tecla enter | `boolean` | `true` |
|
|
28
|
+
| `suppressEmptyOption` | `suppress-empty-option` | Se true remove a opção vazia da lista. | `boolean` | `false` |
|
|
29
|
+
| `suppressSearch` | `suppress-search` | Se true desabilita a digitação dentro do componente. | `boolean` | `false` |
|
|
30
|
+
| `textEmptyOption` | `text-empty-option` | Texto a ser apresentado na opção de valor nulo. | `string` | `"Selecione um item"` |
|
|
31
|
+
| `value` | `value` | Define o valor do campo. | `IOption \| string` | `undefined` |
|
|
33
32
|
|
|
34
33
|
|
|
35
34
|
## Events
|
|
@@ -91,7 +91,6 @@ graph TD;
|
|
|
91
91
|
ez-form-view --> ez-text-input
|
|
92
92
|
ez-form-view --> ez-search-plus
|
|
93
93
|
ez-form-view --> ez-search
|
|
94
|
-
ez-form-view --> ez-rich-text
|
|
95
94
|
ez-collapsible-box --> ez-icon
|
|
96
95
|
ez-collapsible-box --> ez-text-edit
|
|
97
96
|
ez-text-edit --> ez-text-input
|
|
@@ -113,8 +112,6 @@ graph TD;
|
|
|
113
112
|
ez-date-time-input --> ez-popover-plus
|
|
114
113
|
ez-date-time-input --> ez-calendar
|
|
115
114
|
ez-number-input --> ez-text-input
|
|
116
|
-
ez-text-area --> ez-tooltip
|
|
117
|
-
ez-text-area --> ez-icon
|
|
118
115
|
ez-search-plus --> ez-icon
|
|
119
116
|
ez-search-plus --> ez-text-input
|
|
120
117
|
ez-search-plus --> ez-popover-plus
|
|
@@ -126,28 +123,6 @@ graph TD;
|
|
|
126
123
|
ez-search --> ez-popover-plus
|
|
127
124
|
ez-search --> search-list
|
|
128
125
|
search-list --> ez-card-item
|
|
129
|
-
ez-rich-text --> ez-text-area
|
|
130
|
-
ez-rich-text --> ez-rich-toolbar
|
|
131
|
-
ez-rich-text --> ez-link-builder
|
|
132
|
-
ez-rich-text --> ez-simple-image-uploader
|
|
133
|
-
ez-rich-toolbar --> ez-rich-toolbar-arrows
|
|
134
|
-
ez-rich-toolbar --> ez-rich-toolbar-letters
|
|
135
|
-
ez-rich-toolbar --> ez-rich-toolbar-configs
|
|
136
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
137
|
-
ez-rich-toolbar-item --> ez-icon
|
|
138
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
139
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
140
|
-
ez-link-builder --> ez-popup
|
|
141
|
-
ez-link-builder --> ez-modal-container
|
|
142
|
-
ez-link-builder --> ez-text-input
|
|
143
|
-
ez-link-builder --> ez-check
|
|
144
|
-
ez-modal-container --> ez-icon
|
|
145
|
-
ez-modal-container --> ez-button
|
|
146
|
-
ez-simple-image-uploader --> ez-popup
|
|
147
|
-
ez-simple-image-uploader --> ez-modal-container
|
|
148
|
-
ez-simple-image-uploader --> ez-tooltip
|
|
149
|
-
ez-simple-image-uploader --> ez-text-input
|
|
150
|
-
ez-simple-image-uploader --> ez-icon
|
|
151
126
|
style ez-form fill:#f9f,stroke:#333,stroke-width:4px
|
|
152
127
|
```
|
|
153
128
|
|
|
@@ -76,7 +76,6 @@ Type: `Promise<void>`
|
|
|
76
76
|
- [ez-text-input](../ez-text-input)
|
|
77
77
|
- [ez-search-plus](../ez-search-plus)
|
|
78
78
|
- [ez-search](../ez-search)
|
|
79
|
-
- [ez-rich-text](../ez-rich-text)
|
|
80
79
|
|
|
81
80
|
### Graph
|
|
82
81
|
```mermaid
|
|
@@ -94,7 +93,6 @@ graph TD;
|
|
|
94
93
|
ez-form-view --> ez-text-input
|
|
95
94
|
ez-form-view --> ez-search-plus
|
|
96
95
|
ez-form-view --> ez-search
|
|
97
|
-
ez-form-view --> ez-rich-text
|
|
98
96
|
ez-collapsible-box --> ez-icon
|
|
99
97
|
ez-collapsible-box --> ez-text-edit
|
|
100
98
|
ez-text-edit --> ez-text-input
|
|
@@ -116,8 +114,6 @@ graph TD;
|
|
|
116
114
|
ez-date-time-input --> ez-popover-plus
|
|
117
115
|
ez-date-time-input --> ez-calendar
|
|
118
116
|
ez-number-input --> ez-text-input
|
|
119
|
-
ez-text-area --> ez-tooltip
|
|
120
|
-
ez-text-area --> ez-icon
|
|
121
117
|
ez-search-plus --> ez-icon
|
|
122
118
|
ez-search-plus --> ez-text-input
|
|
123
119
|
ez-search-plus --> ez-popover-plus
|
|
@@ -129,28 +125,6 @@ graph TD;
|
|
|
129
125
|
ez-search --> ez-popover-plus
|
|
130
126
|
ez-search --> search-list
|
|
131
127
|
search-list --> ez-card-item
|
|
132
|
-
ez-rich-text --> ez-text-area
|
|
133
|
-
ez-rich-text --> ez-rich-toolbar
|
|
134
|
-
ez-rich-text --> ez-link-builder
|
|
135
|
-
ez-rich-text --> ez-simple-image-uploader
|
|
136
|
-
ez-rich-toolbar --> ez-rich-toolbar-arrows
|
|
137
|
-
ez-rich-toolbar --> ez-rich-toolbar-letters
|
|
138
|
-
ez-rich-toolbar --> ez-rich-toolbar-configs
|
|
139
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
140
|
-
ez-rich-toolbar-item --> ez-icon
|
|
141
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
142
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
143
|
-
ez-link-builder --> ez-popup
|
|
144
|
-
ez-link-builder --> ez-modal-container
|
|
145
|
-
ez-link-builder --> ez-text-input
|
|
146
|
-
ez-link-builder --> ez-check
|
|
147
|
-
ez-modal-container --> ez-icon
|
|
148
|
-
ez-modal-container --> ez-button
|
|
149
|
-
ez-simple-image-uploader --> ez-popup
|
|
150
|
-
ez-simple-image-uploader --> ez-modal-container
|
|
151
|
-
ez-simple-image-uploader --> ez-tooltip
|
|
152
|
-
ez-simple-image-uploader --> ez-text-input
|
|
153
|
-
ez-simple-image-uploader --> ez-icon
|
|
154
128
|
ez-form --> ez-form-view
|
|
155
129
|
style ez-form-view fill:#f9f,stroke:#333,stroke-width:4px
|
|
156
130
|
```
|
|
@@ -35,14 +35,11 @@
|
|
|
35
35
|
- [ez-grid](../ez-grid)
|
|
36
36
|
- [ez-modal-container](../ez-modal-container)
|
|
37
37
|
- [ez-multi-selection-list](../ez-multi-selection-list)
|
|
38
|
-
- [ez-rich-toolbar-item](../ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item)
|
|
39
38
|
- [ez-search](../ez-search)
|
|
40
39
|
- [ez-search-plus](../ez-search-plus)
|
|
41
40
|
- [ez-sidebar-button](../ez-sidebar-button)
|
|
42
|
-
- [ez-simple-image-uploader](../ez-rich-text/ez-simple-image-uploader)
|
|
43
41
|
- [ez-split-button](../ez-split-button)
|
|
44
42
|
- [ez-tabselector](../ez-tabselector)
|
|
45
|
-
- [ez-text-area](../ez-text-area)
|
|
46
43
|
- [ez-text-input](../ez-text-input)
|
|
47
44
|
- [ez-tile](../ez-tile)
|
|
48
45
|
- [ez-tile-medium](../ez-tile-medium)
|
|
@@ -68,14 +65,11 @@ graph TD;
|
|
|
68
65
|
ez-grid --> ez-icon
|
|
69
66
|
ez-modal-container --> ez-icon
|
|
70
67
|
ez-multi-selection-list --> ez-icon
|
|
71
|
-
ez-rich-toolbar-item --> ez-icon
|
|
72
68
|
ez-search --> ez-icon
|
|
73
69
|
ez-search-plus --> ez-icon
|
|
74
70
|
ez-sidebar-button --> ez-icon
|
|
75
|
-
ez-simple-image-uploader --> ez-icon
|
|
76
71
|
ez-split-button --> ez-icon
|
|
77
72
|
ez-tabselector --> ez-icon
|
|
78
|
-
ez-text-area --> ez-icon
|
|
79
73
|
ez-text-input --> ez-icon
|
|
80
74
|
ez-tile --> ez-icon
|
|
81
75
|
ez-tile-medium --> ez-icon
|
|
@@ -28,11 +28,6 @@
|
|
|
28
28
|
|
|
29
29
|
## Dependencies
|
|
30
30
|
|
|
31
|
-
### Used by
|
|
32
|
-
|
|
33
|
-
- [ez-link-builder](../ez-rich-text/ez-link-builder)
|
|
34
|
-
- [ez-simple-image-uploader](../ez-rich-text/ez-simple-image-uploader)
|
|
35
|
-
|
|
36
31
|
### Depends on
|
|
37
32
|
|
|
38
33
|
- [ez-icon](../ez-icon)
|
|
@@ -44,8 +39,6 @@ graph TD;
|
|
|
44
39
|
ez-modal-container --> ez-icon
|
|
45
40
|
ez-modal-container --> ez-button
|
|
46
41
|
ez-button --> ez-icon
|
|
47
|
-
ez-link-builder --> ez-modal-container
|
|
48
|
-
ez-simple-image-uploader --> ez-modal-container
|
|
49
42
|
style ez-modal-container fill:#f9f,stroke:#333,stroke-width:4px
|
|
50
43
|
```
|
|
51
44
|
|
|
@@ -25,21 +25,6 @@
|
|
|
25
25
|
| `ezPopupAction` | Evento emitido ao clicar no botão de fechar (ezPopupAction = OK) | `CustomEvent<string>` |
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
## Dependencies
|
|
29
|
-
|
|
30
|
-
### Used by
|
|
31
|
-
|
|
32
|
-
- [ez-link-builder](../ez-rich-text/ez-link-builder)
|
|
33
|
-
- [ez-simple-image-uploader](../ez-rich-text/ez-simple-image-uploader)
|
|
34
|
-
|
|
35
|
-
### Graph
|
|
36
|
-
```mermaid
|
|
37
|
-
graph TD;
|
|
38
|
-
ez-link-builder --> ez-popup
|
|
39
|
-
ez-simple-image-uploader --> ez-popup
|
|
40
|
-
style ez-popup fill:#f9f,stroke:#333,stroke-width:4px
|
|
41
|
-
```
|
|
42
|
-
|
|
43
28
|
----------------------------------------------
|
|
44
29
|
|
|
45
30
|
|
|
@@ -7,22 +7,22 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type | Default
|
|
11
|
-
| ------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
12
|
-
| `dataSource` | -- | Lista de itens para serem renderizados | `ListItem[]` | `[]`
|
|
13
|
-
| `emptyMessage` | `empty-message` | Mensagem exibida quando a lista está vazia | `string` | `
|
|
14
|
-
| `enableMultipleSelection` | `enable-multiple-selection` | Habilita seleção de múltiplos itens utilizando as teclas 'Ctrl/Command' ou 'Shift' | `boolean` | `false`
|
|
15
|
-
| `entityLabel` | `entity-label` | Nome da entidade listada. Exemplo: "Campo", "Item", "Empresa". | `string` | `
|
|
16
|
-
| `entityLabelPlural` | `entity-label-plural` | Variação plural do nome da entidade listada. Exemplo: "Campos", "Itens", "Empresas". | `string` | `
|
|
17
|
-
| `group` | `group` | Grupo ao qual o ez-sortable-list pertence | `string` | `'default'`
|
|
18
|
-
| `hideHeader` | `hide-header` | Define se o cabeçalho deve ficar oculto. | `boolean` | `false`
|
|
19
|
-
| `hideTotalizer` | `hide-totalizer` | Define se o totalizador deve ser escondido. | `boolean` | `false`
|
|
20
|
-
| `hoverFeedback` | `hover-feedback` | Quando verdadeiro, ativa o feedback visual ao efetuar hover nos itens da lista | `boolean` | `true`
|
|
21
|
-
| `idSortableList` | `id-sortable-list` | ID do sortable list | `string` | `'DEFAULT_LIST'`
|
|
22
|
-
| `itemLeftSlotBuilder` | -- | Função builder que possibilita gerar conteúdo dinâmico à esquerda do item da lista. * Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: ListItem, group?: ListGroup) => string \| HTMLElement` | `undefined`
|
|
23
|
-
| `itemRightSlotBuilder` | -- | Função builder que possibilita alterar como o item da lista vai ser apresentado. Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: ListItem, group?: ListGroup) => string \| HTMLElement` | `undefined`
|
|
24
|
-
| `removeItensMoved` | `remove-itens-moved` | Remove itens arrastados de uma lista para outra | `boolean` | `false`
|
|
25
|
-
| `title` | `title` | Define o título da lista. | `string` | `undefined`
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------ |
|
|
12
|
+
| `dataSource` | -- | Lista de itens para serem renderizados | `ListItem[]` | `[]` |
|
|
13
|
+
| `emptyMessage` | `empty-message` | Mensagem exibida quando a lista está vazia | `string` | `'Nenhum item na lista'` |
|
|
14
|
+
| `enableMultipleSelection` | `enable-multiple-selection` | Habilita seleção de múltiplos itens utilizando as teclas 'Ctrl/Command' ou 'Shift' | `boolean` | `false` |
|
|
15
|
+
| `entityLabel` | `entity-label` | Nome da entidade listada. Exemplo: "Campo", "Item", "Empresa". | `string` | `'item'` |
|
|
16
|
+
| `entityLabelPlural` | `entity-label-plural` | Variação plural do nome da entidade listada. Exemplo: "Campos", "Itens", "Empresas". | `string` | `'itens'` |
|
|
17
|
+
| `group` | `group` | Grupo ao qual o ez-sortable-list pertence | `string` | `'default'` |
|
|
18
|
+
| `hideHeader` | `hide-header` | Define se o cabeçalho deve ficar oculto. | `boolean` | `false` |
|
|
19
|
+
| `hideTotalizer` | `hide-totalizer` | Define se o totalizador deve ser escondido. | `boolean` | `false` |
|
|
20
|
+
| `hoverFeedback` | `hover-feedback` | Quando verdadeiro, ativa o feedback visual ao efetuar hover nos itens da lista | `boolean` | `true` |
|
|
21
|
+
| `idSortableList` | `id-sortable-list` | ID do sortable list | `string` | `'DEFAULT_LIST'` |
|
|
22
|
+
| `itemLeftSlotBuilder` | -- | Função builder que possibilita gerar conteúdo dinâmico à esquerda do item da lista. * Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: ListItem, group?: ListGroup) => string \| HTMLElement` | `undefined` |
|
|
23
|
+
| `itemRightSlotBuilder` | -- | Função builder que possibilita alterar como o item da lista vai ser apresentado. Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: ListItem, group?: ListGroup) => string \| HTMLElement` | `undefined` |
|
|
24
|
+
| `removeItensMoved` | `remove-itens-moved` | Remove itens arrastados de uma lista para outra | `boolean` | `false` |
|
|
25
|
+
| `title` | `title` | Define o título da lista. | `string` | `undefined` |
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
## Events
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type | Default
|
|
11
|
-
| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
12
|
-
| `enabled` | `enabled` | Se false o usuário não pode interagir com o botão. | `boolean` | `true`
|
|
13
|
-
| `iconName` | `icon-name` | Define o ícone a ser usado da biblioteca de ícones: [ez-icons](https://gilded-nasturtium-6b64dd.netlify.app/docs/components/layout-doc/icons/) | `string` | `undefined`
|
|
14
|
-
| `image` | `image` | Define o caminho usado nos modos `icon-only` e `icon-left` para imagens não contempladas na biblioteca de ícones. | `string` | `undefined`
|
|
15
|
-
| `itemBuilder` | -- | Função builder que possibilita alterar como o item da lista vai ser apresentado. Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: IDropdownItem, level: number) => string \| HTMLElement` | `undefined`
|
|
16
|
-
| `items` | -- | Define o conteúdo do dropdown. | `IDropdownItem[]` | `undefined`
|
|
17
|
-
| `label` | `label` | Texto a ser apresentado como label do botão. | `string` | `undefined`
|
|
18
|
-
| `leftTitle` | `left-title` | Texto a ser apresentado como title do botão principal | `string` | `undefined`
|
|
19
|
-
| `mode` | `mode` | Define o modo de uso do botão. | `"default" \| "icon-left" \| "icon-only"` | `'default'`
|
|
20
|
-
| `rightTitle` | `right-title` | Texto a ser apresentado como title do botão dropdown | `string` | `
|
|
21
|
-
| `show` | `show` | | `boolean` | `false`
|
|
22
|
-
| `size` | `size` | Define o tamanho do ez-split-button. | `"large" \| "medium" \| "small"` | `'medium'`
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | --------------- |
|
|
12
|
+
| `enabled` | `enabled` | Se false o usuário não pode interagir com o botão. | `boolean` | `true` |
|
|
13
|
+
| `iconName` | `icon-name` | Define o ícone a ser usado da biblioteca de ícones: [ez-icons](https://gilded-nasturtium-6b64dd.netlify.app/docs/components/layout-doc/icons/) | `string` | `undefined` |
|
|
14
|
+
| `image` | `image` | Define o caminho usado nos modos `icon-only` e `icon-left` para imagens não contempladas na biblioteca de ícones. | `string` | `undefined` |
|
|
15
|
+
| `itemBuilder` | -- | Função builder que possibilita alterar como o item da lista vai ser apresentado. Observação: No react ele se transforma em VNode e não como HTMLElement. | `(item: IDropdownItem, level: number) => string \| HTMLElement` | `undefined` |
|
|
16
|
+
| `items` | -- | Define o conteúdo do dropdown. | `IDropdownItem[]` | `undefined` |
|
|
17
|
+
| `label` | `label` | Texto a ser apresentado como label do botão. | `string` | `undefined` |
|
|
18
|
+
| `leftTitle` | `left-title` | Texto a ser apresentado como title do botão principal | `string` | `undefined` |
|
|
19
|
+
| `mode` | `mode` | Define o modo de uso do botão. | `"default" \| "icon-left" \| "icon-only"` | `'default'` |
|
|
20
|
+
| `rightTitle` | `right-title` | Texto a ser apresentado como title do botão dropdown | `string` | `'Mais opções'` |
|
|
21
|
+
| `show` | `show` | | `boolean` | `false` |
|
|
22
|
+
| `size` | `size` | Define o tamanho do ez-split-button. | `"large" \| "medium" \| "small"` | `'medium'` |
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
## Events
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
| `enabled` | `enabled` | Se false o usuário não pode interagir com o campo. | `boolean` | `true` |
|
|
18
18
|
| `errorMessage` | `error-message` | Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido. | `string` | `undefined` |
|
|
19
19
|
| `label` | `label` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
|
|
20
|
-
| `mode` | `mode` | Define o tamanho do campo. | `"regular" \| "slim"` | `
|
|
20
|
+
| `mode` | `mode` | Define o tamanho do campo. | `"regular" \| "slim"` | `"regular"` |
|
|
21
21
|
| `rows` | `rows` | Define o número de linhas. | `number` | `4` |
|
|
22
22
|
| `value` | `value` | Define o valor do campo. | `string` | `undefined` |
|
|
23
23
|
|
|
@@ -80,20 +80,11 @@ Type: `Promise<void>`
|
|
|
80
80
|
### Used by
|
|
81
81
|
|
|
82
82
|
- [ez-form-view](../ez-form-view)
|
|
83
|
-
- [ez-rich-text](../ez-rich-text)
|
|
84
|
-
|
|
85
|
-
### Depends on
|
|
86
|
-
|
|
87
|
-
- [ez-tooltip](../ez-tooltip)
|
|
88
|
-
- [ez-icon](../ez-icon)
|
|
89
83
|
|
|
90
84
|
### Graph
|
|
91
85
|
```mermaid
|
|
92
86
|
graph TD;
|
|
93
|
-
ez-text-area --> ez-tooltip
|
|
94
|
-
ez-text-area --> ez-icon
|
|
95
87
|
ez-form-view --> ez-text-area
|
|
96
|
-
ez-rich-text --> ez-text-area
|
|
97
88
|
style ez-text-area fill:#f9f,stroke:#333,stroke-width:4px
|
|
98
89
|
```
|
|
99
90
|
|
|
@@ -131,9 +122,4 @@ graph TD;
|
|
|
131
122
|
| --text-area\_\_scrollbar--color-hover | Define a cor do hover na barra de rolagem do componente. |
|
|
132
123
|
| --text-area\_\_scrollbar--color-clicked | Define a cor do active na barra de rolagem do componente. |
|
|
133
124
|
| --text-area\_\_scrollbar--border-radius | Define o raio da borda da barra de rolagem do componente. |
|
|
134
|
-
| --text-area\_\_scrollbar--width | Define a largura da barra de rolagem do componente. |
|
|
135
|
-
| --ez-text-area\_\_tooltip-icon--spacing | Define o espaçamento lateral do icone de erro. |
|
|
136
|
-
| --ez-text-area\_\_tooltip-icon---width | Define a largura do icone de erro. |
|
|
137
|
-
| --ez-text-area\_\_tooltip-icon---horizontal-margin | Define a margem horizontal do icone de erro. |
|
|
138
|
-
| --ez-text-area\_\_tooltip-icon---vertical-margin | Define a margem vertical do icone de erro. |
|
|
139
|
-
| --ez-text-area\_\_tooltip\_icon--error--color | Define a cor da fonte da mensagem quando erro. |
|
|
125
|
+
| --text-area\_\_scrollbar--width | Define a largura da barra de rolagem do componente. |
|
|
@@ -74,11 +74,9 @@ Type: `Promise<void>`
|
|
|
74
74
|
- [ez-date-time-input](../ez-date-time-input)
|
|
75
75
|
- [ez-filter-input](../ez-filter-input)
|
|
76
76
|
- [ez-form-view](../ez-form-view)
|
|
77
|
-
- [ez-link-builder](../ez-rich-text/ez-link-builder)
|
|
78
77
|
- [ez-number-input](../ez-number-input)
|
|
79
78
|
- [ez-search](../ez-search)
|
|
80
79
|
- [ez-search-plus](../ez-search-plus)
|
|
81
|
-
- [ez-simple-image-uploader](../ez-rich-text/ez-simple-image-uploader)
|
|
82
80
|
- [ez-text-edit](../ez-text-edit)
|
|
83
81
|
- [ez-time-input](../ez-time-input)
|
|
84
82
|
|
|
@@ -97,11 +95,9 @@ graph TD;
|
|
|
97
95
|
ez-date-time-input --> ez-text-input
|
|
98
96
|
ez-filter-input --> ez-text-input
|
|
99
97
|
ez-form-view --> ez-text-input
|
|
100
|
-
ez-link-builder --> ez-text-input
|
|
101
98
|
ez-number-input --> ez-text-input
|
|
102
99
|
ez-search --> ez-text-input
|
|
103
100
|
ez-search-plus --> ez-text-input
|
|
104
|
-
ez-simple-image-uploader --> ez-text-input
|
|
105
101
|
ez-text-edit --> ez-text-input
|
|
106
102
|
ez-time-input --> ez-text-input
|
|
107
103
|
style ez-text-input fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -24,15 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
### Used by
|
|
26
26
|
|
|
27
|
-
- [ez-simple-image-uploader](../ez-rich-text/ez-simple-image-uploader)
|
|
28
|
-
- [ez-text-area](../ez-text-area)
|
|
29
27
|
- [ez-text-input](../ez-text-input)
|
|
30
28
|
|
|
31
29
|
### Graph
|
|
32
30
|
```mermaid
|
|
33
31
|
graph TD;
|
|
34
|
-
ez-simple-image-uploader --> ez-tooltip
|
|
35
|
-
ez-text-area --> ez-tooltip
|
|
36
32
|
ez-text-input --> ez-tooltip
|
|
37
33
|
style ez-tooltip fill:#f9f,stroke:#333,stroke-width:4px
|
|
38
34
|
```
|
package/package.json
CHANGED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# ez-link-builder
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Events
|
|
9
|
-
|
|
10
|
-
| Event | Description | Type |
|
|
11
|
-
| ----------------------- | ----------- | --------------------------------- |
|
|
12
|
-
| `executeToolbarCommand` | | `CustomEvent<RichToolbarCommand>` |
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Methods
|
|
16
|
-
|
|
17
|
-
### `hide() => Promise<void>`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
#### Returns
|
|
22
|
-
|
|
23
|
-
Type: `Promise<void>`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### `show(text?: string) => Promise<void>`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#### Returns
|
|
32
|
-
|
|
33
|
-
Type: `Promise<void>`
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## Dependencies
|
|
39
|
-
|
|
40
|
-
### Used by
|
|
41
|
-
|
|
42
|
-
- [ez-rich-text](..)
|
|
43
|
-
|
|
44
|
-
### Depends on
|
|
45
|
-
|
|
46
|
-
- [ez-popup](../../ez-popup)
|
|
47
|
-
- [ez-modal-container](../../ez-modal-container)
|
|
48
|
-
- [ez-text-input](../../ez-text-input)
|
|
49
|
-
- [ez-check](../../ez-check)
|
|
50
|
-
|
|
51
|
-
### Graph
|
|
52
|
-
```mermaid
|
|
53
|
-
graph TD;
|
|
54
|
-
ez-link-builder --> ez-popup
|
|
55
|
-
ez-link-builder --> ez-modal-container
|
|
56
|
-
ez-link-builder --> ez-text-input
|
|
57
|
-
ez-link-builder --> ez-check
|
|
58
|
-
ez-modal-container --> ez-icon
|
|
59
|
-
ez-modal-container --> ez-button
|
|
60
|
-
ez-button --> ez-icon
|
|
61
|
-
ez-text-input --> ez-tooltip
|
|
62
|
-
ez-text-input --> ez-icon
|
|
63
|
-
ez-rich-text --> ez-link-builder
|
|
64
|
-
style ez-link-builder fill:#f9f,stroke:#333,stroke-width:4px
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
----------------------------------------------
|
|
68
|
-
|
|
69
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# ez-rich-toolbar-arrows
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Dependencies
|
|
9
|
-
|
|
10
|
-
### Used by
|
|
11
|
-
|
|
12
|
-
- [ez-rich-toolbar](..)
|
|
13
|
-
|
|
14
|
-
### Depends on
|
|
15
|
-
|
|
16
|
-
- [ez-rich-toolbar-item](../ez-rich-toolbar-item)
|
|
17
|
-
|
|
18
|
-
### Graph
|
|
19
|
-
```mermaid
|
|
20
|
-
graph TD;
|
|
21
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
22
|
-
ez-rich-toolbar-item --> ez-icon
|
|
23
|
-
ez-rich-toolbar --> ez-rich-toolbar-arrows
|
|
24
|
-
style ez-rich-toolbar-arrows fill:#f9f,stroke:#333,stroke-width:4px
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
----------------------------------------------
|
|
28
|
-
|
|
29
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# ez-rich-toolbar-configs
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Dependencies
|
|
9
|
-
|
|
10
|
-
### Used by
|
|
11
|
-
|
|
12
|
-
- [ez-rich-toolbar](..)
|
|
13
|
-
|
|
14
|
-
### Depends on
|
|
15
|
-
|
|
16
|
-
- [ez-rich-toolbar-item](../ez-rich-toolbar-item)
|
|
17
|
-
|
|
18
|
-
### Graph
|
|
19
|
-
```mermaid
|
|
20
|
-
graph TD;
|
|
21
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
22
|
-
ez-rich-toolbar-item --> ez-icon
|
|
23
|
-
ez-rich-toolbar --> ez-rich-toolbar-configs
|
|
24
|
-
style ez-rich-toolbar-configs fill:#f9f,stroke:#333,stroke-width:4px
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
----------------------------------------------
|
|
28
|
-
|
|
29
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# ez-rich-toolbar-item
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| --------- | --------- | ----------- | -------- | ----------- |
|
|
12
|
-
| `command` | `command` | | `string` | `undefined` |
|
|
13
|
-
| `icon` | `icon` | | `string` | `undefined` |
|
|
14
|
-
| `title` | `title` | | `string` | `undefined` |
|
|
15
|
-
| `value` | `value` | | `string` | `undefined` |
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Events
|
|
19
|
-
|
|
20
|
-
| Event | Description | Type |
|
|
21
|
-
| ----------------- | ----------- | --------------------------------- |
|
|
22
|
-
| `actionTriggered` | | `CustomEvent<RichToolbarCommand>` |
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Dependencies
|
|
26
|
-
|
|
27
|
-
### Used by
|
|
28
|
-
|
|
29
|
-
- [ez-rich-toolbar-arrows](../ez-rich-toolbar-arrows)
|
|
30
|
-
- [ez-rich-toolbar-configs](../ez-rich-toolbar-configs)
|
|
31
|
-
- [ez-rich-toolbar-letters](../ez-rich-toolbar-letters)
|
|
32
|
-
|
|
33
|
-
### Depends on
|
|
34
|
-
|
|
35
|
-
- [ez-icon](../../../ez-icon)
|
|
36
|
-
|
|
37
|
-
### Graph
|
|
38
|
-
```mermaid
|
|
39
|
-
graph TD;
|
|
40
|
-
ez-rich-toolbar-item --> ez-icon
|
|
41
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
42
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
43
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
44
|
-
style ez-rich-toolbar-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
----------------------------------------------
|
|
48
|
-
|
|
49
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# ez-rich-toolbar-letters
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Dependencies
|
|
9
|
-
|
|
10
|
-
### Used by
|
|
11
|
-
|
|
12
|
-
- [ez-rich-toolbar](..)
|
|
13
|
-
|
|
14
|
-
### Depends on
|
|
15
|
-
|
|
16
|
-
- [ez-rich-toolbar-item](../ez-rich-toolbar-item)
|
|
17
|
-
|
|
18
|
-
### Graph
|
|
19
|
-
```mermaid
|
|
20
|
-
graph TD;
|
|
21
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
22
|
-
ez-rich-toolbar-item --> ez-icon
|
|
23
|
-
ez-rich-toolbar --> ez-rich-toolbar-letters
|
|
24
|
-
style ez-rich-toolbar-letters fill:#f9f,stroke:#333,stroke-width:4px
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
----------------------------------------------
|
|
28
|
-
|
|
29
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# ez-rich-toolbar
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| ---------------- | ------------------ | --------------------------------------------------------------------------------------------------- | --------- | ------- |
|
|
12
|
-
| `isPreviewMode` | `is-preview-mode` | Informa se o editor está em modo preview. | `boolean` | `false` |
|
|
13
|
-
| `showConfigs` | `show-configs` | Informa se as opções de configurações (lista, imagem e link) devem ser apresentadas. | `boolean` | `true` |
|
|
14
|
-
| `showPreview` | `show-preview` | Informa se as opções a opção de pré-visualização deve ser apresentada. | `boolean` | `true` |
|
|
15
|
-
| `showTextFormat` | `show-text-format` | Informa se as opções de formatação de texto (itálico, sublinhado e negrito) devem ser apresentadas. | `boolean` | `true` |
|
|
16
|
-
| `showUndoRedo` | `show-undo-redo` | Informa se as opções de desfazer e refazer devem ser apresentadas. | `boolean` | `true` |
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Events
|
|
20
|
-
|
|
21
|
-
| Event | Description | Type |
|
|
22
|
-
| ----------------------- | ----------- | --------------------------------- |
|
|
23
|
-
| `executeToolbarCommand` | | `CustomEvent<RichToolbarCommand>` |
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Dependencies
|
|
27
|
-
|
|
28
|
-
### Used by
|
|
29
|
-
|
|
30
|
-
- [ez-rich-text](..)
|
|
31
|
-
|
|
32
|
-
### Depends on
|
|
33
|
-
|
|
34
|
-
- [ez-rich-toolbar-arrows](ez-rich-toolbar-arrows)
|
|
35
|
-
- [ez-rich-toolbar-letters](ez-rich-toolbar-letters)
|
|
36
|
-
- [ez-rich-toolbar-configs](ez-rich-toolbar-configs)
|
|
37
|
-
|
|
38
|
-
### Graph
|
|
39
|
-
```mermaid
|
|
40
|
-
graph TD;
|
|
41
|
-
ez-rich-toolbar --> ez-rich-toolbar-arrows
|
|
42
|
-
ez-rich-toolbar --> ez-rich-toolbar-letters
|
|
43
|
-
ez-rich-toolbar --> ez-rich-toolbar-configs
|
|
44
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
45
|
-
ez-rich-toolbar-item --> ez-icon
|
|
46
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
47
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
48
|
-
ez-rich-text --> ez-rich-toolbar
|
|
49
|
-
style ez-rich-toolbar fill:#f9f,stroke:#333,stroke-width:4px
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
----------------------------------------------
|
|
53
|
-
|
|
54
|
-
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# ez-simple-image-uploader
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| --------- | ---------- | ---------------------------------------------------- | -------- | ------- |
|
|
12
|
-
| `maxSize` | `max-size` | Tamanho máximo que a imagem poderá ter em kilobytes. | `number` | `500` |
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Events
|
|
16
|
-
|
|
17
|
-
| Event | Description | Type |
|
|
18
|
-
| ----------------------- | ----------- | --------------------------------- |
|
|
19
|
-
| `executeToolbarCommand` | | `CustomEvent<RichToolbarCommand>` |
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## Methods
|
|
23
|
-
|
|
24
|
-
### `hide() => Promise<void>`
|
|
25
|
-
|
|
26
|
-
Método responsável pelo fechamento do popup.
|
|
27
|
-
|
|
28
|
-
#### Returns
|
|
29
|
-
|
|
30
|
-
Type: `Promise<void>`
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### `show() => Promise<void>`
|
|
35
|
-
|
|
36
|
-
Método responsável pela abertura do popup.
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
Type: `Promise<void>`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## Dependencies
|
|
46
|
-
|
|
47
|
-
### Used by
|
|
48
|
-
|
|
49
|
-
- [ez-rich-text](..)
|
|
50
|
-
|
|
51
|
-
### Depends on
|
|
52
|
-
|
|
53
|
-
- [ez-popup](../../ez-popup)
|
|
54
|
-
- [ez-modal-container](../../ez-modal-container)
|
|
55
|
-
- [ez-tooltip](../../ez-tooltip)
|
|
56
|
-
- [ez-text-input](../../ez-text-input)
|
|
57
|
-
- [ez-icon](../../ez-icon)
|
|
58
|
-
|
|
59
|
-
### Graph
|
|
60
|
-
```mermaid
|
|
61
|
-
graph TD;
|
|
62
|
-
ez-simple-image-uploader --> ez-popup
|
|
63
|
-
ez-simple-image-uploader --> ez-modal-container
|
|
64
|
-
ez-simple-image-uploader --> ez-tooltip
|
|
65
|
-
ez-simple-image-uploader --> ez-text-input
|
|
66
|
-
ez-simple-image-uploader --> ez-icon
|
|
67
|
-
ez-modal-container --> ez-icon
|
|
68
|
-
ez-modal-container --> ez-button
|
|
69
|
-
ez-button --> ez-icon
|
|
70
|
-
ez-text-input --> ez-tooltip
|
|
71
|
-
ez-text-input --> ez-icon
|
|
72
|
-
ez-rich-text --> ez-simple-image-uploader
|
|
73
|
-
style ez-simple-image-uploader fill:#f9f,stroke:#333,stroke-width:4px
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
----------------------------------------------
|
|
77
|
-
|
|
78
|
-
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# ez-rich-text
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| ---------------- | ------------------ | -------------------------------------------------------------------------------------------------- | --------------------- | ----------- |
|
|
12
|
-
| `canShowError` | `can-show-error` | Se false deixa de exibir a mensagem de erro dentro do campo. | `boolean` | `true` |
|
|
13
|
-
| `enabled` | `enabled` | Se false o usuário não pode interagir com o campo. | `boolean` | `true` |
|
|
14
|
-
| `errorMessage` | `error-message` | Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido. | `string` | `undefined` |
|
|
15
|
-
| `label` | `label` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
|
|
16
|
-
| `mode` | `mode` | Define o tamanho do campo. | `"regular" \| "slim"` | `"regular"` |
|
|
17
|
-
| `rows` | `rows` | Define o número de linhas. | `number` | `6` |
|
|
18
|
-
| `showConfigs` | `show-configs` | Informa se as opções de configurações (lista, imagem e link) devem ser apresentadas | `boolean` | `true` |
|
|
19
|
-
| `showPreview` | `show-preview` | Informa se as opções a opção de pré-visualização deve ser apresentada. | `boolean` | `true` |
|
|
20
|
-
| `showTextFormat` | `show-text-format` | Informa se as opções de formatação de texto (itálico, sublinhado e negrito) devem ser apresentadas | `boolean` | `true` |
|
|
21
|
-
| `showUndoRedo` | `show-undo-redo` | Informa se as opções de desfazer e refazer devem ser habilitadas. | `boolean` | `true` |
|
|
22
|
-
| `value` | `value` | Define o valor HTML do campo. | `string` | `''` |
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Events
|
|
26
|
-
|
|
27
|
-
| Event | Description | Type |
|
|
28
|
-
| ---------- | ------------------------------------------------------ | --------------------- |
|
|
29
|
-
| `ezChange` | Emitido quando acontece a alteração de valor do campo. | `CustomEvent<string>` |
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Methods
|
|
33
|
-
|
|
34
|
-
### `isInvalid() => Promise<boolean>`
|
|
35
|
-
|
|
36
|
-
Retorna se o conteúdo é inválido.
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
Type: `Promise<boolean>`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### `setBlur() => Promise<void>`
|
|
45
|
-
|
|
46
|
-
Remove o foco do campo.
|
|
47
|
-
|
|
48
|
-
#### Returns
|
|
49
|
-
|
|
50
|
-
Type: `Promise<void>`
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### `setFocus() => Promise<void>`
|
|
55
|
-
|
|
56
|
-
Aplica o foco no campo.
|
|
57
|
-
|
|
58
|
-
#### Returns
|
|
59
|
-
|
|
60
|
-
Type: `Promise<void>`
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
## Dependencies
|
|
66
|
-
|
|
67
|
-
### Used by
|
|
68
|
-
|
|
69
|
-
- [ez-form-view](../ez-form-view)
|
|
70
|
-
|
|
71
|
-
### Depends on
|
|
72
|
-
|
|
73
|
-
- [ez-text-area](../ez-text-area)
|
|
74
|
-
- [ez-rich-toolbar](ez-rich-toolbar)
|
|
75
|
-
- [ez-link-builder](ez-link-builder)
|
|
76
|
-
- [ez-simple-image-uploader](ez-simple-image-uploader)
|
|
77
|
-
|
|
78
|
-
### Graph
|
|
79
|
-
```mermaid
|
|
80
|
-
graph TD;
|
|
81
|
-
ez-rich-text --> ez-text-area
|
|
82
|
-
ez-rich-text --> ez-rich-toolbar
|
|
83
|
-
ez-rich-text --> ez-link-builder
|
|
84
|
-
ez-rich-text --> ez-simple-image-uploader
|
|
85
|
-
ez-text-area --> ez-tooltip
|
|
86
|
-
ez-text-area --> ez-icon
|
|
87
|
-
ez-rich-toolbar --> ez-rich-toolbar-arrows
|
|
88
|
-
ez-rich-toolbar --> ez-rich-toolbar-letters
|
|
89
|
-
ez-rich-toolbar --> ez-rich-toolbar-configs
|
|
90
|
-
ez-rich-toolbar-arrows --> ez-rich-toolbar-item
|
|
91
|
-
ez-rich-toolbar-item --> ez-icon
|
|
92
|
-
ez-rich-toolbar-letters --> ez-rich-toolbar-item
|
|
93
|
-
ez-rich-toolbar-configs --> ez-rich-toolbar-item
|
|
94
|
-
ez-link-builder --> ez-popup
|
|
95
|
-
ez-link-builder --> ez-modal-container
|
|
96
|
-
ez-link-builder --> ez-text-input
|
|
97
|
-
ez-link-builder --> ez-check
|
|
98
|
-
ez-modal-container --> ez-icon
|
|
99
|
-
ez-modal-container --> ez-button
|
|
100
|
-
ez-button --> ez-icon
|
|
101
|
-
ez-text-input --> ez-tooltip
|
|
102
|
-
ez-text-input --> ez-icon
|
|
103
|
-
ez-simple-image-uploader --> ez-popup
|
|
104
|
-
ez-simple-image-uploader --> ez-modal-container
|
|
105
|
-
ez-simple-image-uploader --> ez-tooltip
|
|
106
|
-
ez-simple-image-uploader --> ez-text-input
|
|
107
|
-
ez-simple-image-uploader --> ez-icon
|
|
108
|
-
ez-form-view --> ez-rich-text
|
|
109
|
-
style ez-rich-text fill:#f9f,stroke:#333,stroke-width:4px
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
----------------------------------------------
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
## CSS Variables
|
|
118
|
-
| Variable | Description |
|
|
119
|
-
|-|-|
|
|
120
|
-
| --ez-rich-text--box-shadow | Define a sombra do header. |
|
|
121
|
-
| --ez-rich-text--shadow--outline | Define o outline usado como borda do header. |
|