@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-75065.1 → 0.0.0-bugfix-dev-KB-74406.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/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-badge.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +2 -2
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +366 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +59 -185
- package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +2 -2
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +61 -1
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +186 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/{ez-multi-selection-list_2.cjs.entry.js → ez-popover-core_2.cjs.entry.js} +116 -197
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +2 -2
- package/dist/cjs/ez-search.cjs.entry.js +1 -1
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +1 -1
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/filter-column.cjs.entry.js +1 -1
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +8 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +405 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +0 -250
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +61 -194
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +5 -0
- package/dist/collection/components/ez-grid/ez-grid.js +56 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +0 -64
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +47 -127
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +468 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +3 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +375 -206
- package/dist/esm/ez-actions-button.entry.js +1 -1
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-badge.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-card-item_2.entry.js +1 -1
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +2 -2
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box-list_3.entry.js +360 -0
- package/dist/esm/ez-combo-box.entry.js +60 -186
- package/dist/esm/ez-date-input.entry.js +1 -1
- package/dist/esm/ez-date-time-input.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +1 -1
- package/dist/esm/ez-dropdown_2.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-filter-input.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +2 -2
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +62 -2
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +182 -0
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/{ez-multi-selection-list_2.entry.js → ez-popover-core_2.entry.js} +116 -197
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +2 -2
- package/dist/esm/ez-search.entry.js +1 -1
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +1 -1
- package/dist/esm/ez-split-item.entry.js +1 -1
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +1 -1
- package/dist/esm/ez-text-input.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +1 -1
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +1 -1
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +1 -1
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +9 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
- package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
- package/dist/ezui/{p-88c615f0.entry.js → p-0fa52b0f.entry.js} +1 -1
- package/dist/ezui/{p-92fbaf2b.entry.js → p-0faf71c5.entry.js} +1 -1
- package/dist/ezui/p-15134d97.entry.js +1 -0
- package/dist/ezui/{p-c96fbbef.entry.js → p-17de16e5.entry.js} +1 -1
- package/dist/ezui/{p-24b42f3d.entry.js → p-17eabf46.entry.js} +1 -1
- package/dist/ezui/{p-3885e66e.entry.js → p-1ad6c61b.entry.js} +1 -1
- package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
- package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
- package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
- package/dist/ezui/p-20cb13fa.entry.js +1 -0
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/{p-6d31c43c.entry.js → p-2bb2a0c4.entry.js} +1 -1
- package/dist/ezui/{p-ca8936df.entry.js → p-2f45506d.entry.js} +1 -1
- package/dist/ezui/{p-9fc250d4.entry.js → p-3195a7a7.entry.js} +1 -1
- package/dist/ezui/{p-23dab72f.entry.js → p-31b71e50.entry.js} +1 -1
- package/dist/ezui/{p-b22889ea.entry.js → p-3429080c.entry.js} +1 -1
- package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
- package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
- package/dist/ezui/{p-3791d9c8.entry.js → p-556468d9.entry.js} +1 -1
- package/dist/ezui/{p-9066b0b0.entry.js → p-56fe5341.entry.js} +1 -1
- package/dist/ezui/{p-cf3b60fd.entry.js → p-58783dcf.entry.js} +1 -1
- package/dist/ezui/{p-044d46d5.entry.js → p-5b205c80.entry.js} +1 -1
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/{p-03b0ed5a.entry.js → p-65f471bc.entry.js} +1 -1
- package/dist/ezui/{p-a3319796.entry.js → p-664b91e8.entry.js} +46 -46
- package/dist/ezui/{p-6d8b3298.entry.js → p-6cdd3e0a.entry.js} +1 -1
- package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
- package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
- package/dist/ezui/p-7bd15498.entry.js +1 -0
- package/dist/ezui/{p-2069c78a.entry.js → p-7e677b7b.entry.js} +1 -1
- package/dist/ezui/{p-e18d9e6a.entry.js → p-7fdd479f.entry.js} +1 -1
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/{p-0cfbbe82.entry.js → p-a4cee65d.entry.js} +1 -1
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
- package/dist/ezui/{p-4818b8ce.entry.js → p-c1527804.entry.js} +1 -1
- package/dist/ezui/{p-b9282c79.entry.js → p-cb1535f7.entry.js} +1 -1
- package/dist/ezui/{p-f4da7e1e.entry.js → p-cf87aacb.entry.js} +1 -1
- package/dist/ezui/{p-5010315a.entry.js → p-d9548bdf.entry.js} +1 -1
- package/dist/ezui/{p-708b196e.entry.js → p-da1b4a38.entry.js} +1 -1
- package/dist/ezui/p-dc73e1fe.entry.js +1 -0
- package/dist/ezui/{p-b2f6bc0a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/ezui/{p-bef7daac.entry.js → p-e347df9c.entry.js} +1 -1
- package/dist/ezui/{p-9e95bfeb.entry.js → p-e6a9041d.entry.js} +1 -1
- package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
- package/dist/ezui/{p-68b2e579.entry.js → p-ea54d056.entry.js} +1 -1
- package/dist/ezui/p-f5931caa.entry.js +1 -0
- package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
- package/dist/ezui/{p-e3f8660b.entry.js → p-fd0a19d6.entry.js} +1 -1
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +7 -16
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +5 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +6 -19
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +81 -0
- package/dist/types/components.d.ts +218 -3
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -236
- package/dist/esm/ez-custom-form-input_2.entry.js +0 -231
- package/dist/ezui/p-3af64edd.entry.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-a921e3e7.entry.js +0 -1
- package/dist/ezui/p-cba34702.entry.js +0 -1
- package/dist/ezui/p-f30e0590.entry.js +0 -1
- package/dist/ezui/p-fcc78b7f.entry.js +0 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { IOption } from "../ez-combo-box";
|
|
2
|
+
export declare class EzComboBoxList {
|
|
3
|
+
private _optionsList;
|
|
4
|
+
private _listWrapper;
|
|
5
|
+
/**
|
|
6
|
+
* Indica se o indicador de carregamento deve ser exibido.
|
|
7
|
+
*
|
|
8
|
+
* @tipo {boolean}
|
|
9
|
+
*/
|
|
10
|
+
showLoading: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Lista de opções visíveis que serão exibidas no componente.
|
|
13
|
+
*
|
|
14
|
+
* @tipo {Array<IOption>}
|
|
15
|
+
*/
|
|
16
|
+
visibleOptions: Array<IOption>;
|
|
17
|
+
/**
|
|
18
|
+
* Mensagem exibida quando a lista de opções está vazia.
|
|
19
|
+
*
|
|
20
|
+
* @padrão "Nenhum resultado encontrado"
|
|
21
|
+
* @tipo {string}
|
|
22
|
+
*/
|
|
23
|
+
textEmptyList: string;
|
|
24
|
+
/**
|
|
25
|
+
* Indica se o valor de cada opção deve ser exibido junto com o rótulo.
|
|
26
|
+
*
|
|
27
|
+
* @tipo {boolean}
|
|
28
|
+
*/
|
|
29
|
+
showOptionValue: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Índice da opção pré-selecionada na lista.
|
|
32
|
+
*
|
|
33
|
+
* @tipo {number}
|
|
34
|
+
*/
|
|
35
|
+
preSelection: number;
|
|
36
|
+
/**
|
|
37
|
+
* Largura máxima da lista, em pixels.
|
|
38
|
+
*
|
|
39
|
+
* @tipo {number}
|
|
40
|
+
*/
|
|
41
|
+
maxWidth: number;
|
|
42
|
+
/**
|
|
43
|
+
* Largura fixa da lista, em pixels.
|
|
44
|
+
*
|
|
45
|
+
* @tipo {number}
|
|
46
|
+
*/
|
|
47
|
+
width: number;
|
|
48
|
+
/**
|
|
49
|
+
* Callback chamado quando uma opção é selecionada.
|
|
50
|
+
*
|
|
51
|
+
* @param option A opção selecionada.
|
|
52
|
+
* @tipo {(option: IOption) => void}
|
|
53
|
+
*/
|
|
54
|
+
onOptionSelect: (option: IOption) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Callback chamado quando o mouse passa sobre uma opção.
|
|
57
|
+
*
|
|
58
|
+
* @param index O índice da opção em foco.
|
|
59
|
+
* @tipo {(index: number) => void}
|
|
60
|
+
*/
|
|
61
|
+
onOptionHover: (index: number) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Move a seleção para a próxima opção na lista.
|
|
64
|
+
*/
|
|
65
|
+
nextOption(): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Move a seleção para a opção anterior na lista.
|
|
68
|
+
*/
|
|
69
|
+
previousOption(): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Seleciona a opção atualmente pré-selecionada.
|
|
72
|
+
*/
|
|
73
|
+
selectCurrentOption(): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Observa mudanças na propriedade `width` e ajusta a largura da lista.
|
|
76
|
+
*
|
|
77
|
+
* @param newValue O novo valor da largura.
|
|
78
|
+
* @param oldValue O valor anterior da largura.
|
|
79
|
+
*/
|
|
80
|
+
observeWidth(newValue: number, oldValue: number): void;
|
|
81
|
+
/**
|
|
82
|
+
* Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
|
|
83
|
+
*
|
|
84
|
+
* @param newValue O novo valor da largura máxima.
|
|
85
|
+
* @param oldValue O valor anterior da largura máxima.
|
|
86
|
+
*/
|
|
87
|
+
observeMaxWidth(newValue: number, oldValue: number): void;
|
|
88
|
+
/**
|
|
89
|
+
* Gerencia a navegação por teclado na lista do combo box.
|
|
90
|
+
*
|
|
91
|
+
* - `ArrowDown`: Move para a próxima opção.
|
|
92
|
+
* - `ArrowUp`: Move para a opção anterior.
|
|
93
|
+
* - `Enter`: Seleciona a opção atual.
|
|
94
|
+
* - `Escape`: Limpa a pré-seleção.
|
|
95
|
+
*
|
|
96
|
+
* @param event O evento de teclado.
|
|
97
|
+
*/
|
|
98
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
99
|
+
private buildItem;
|
|
100
|
+
private scrollToOption;
|
|
101
|
+
componentDidLoad(): void;
|
|
102
|
+
componentDidRender(): void;
|
|
103
|
+
render(): any;
|
|
104
|
+
}
|
|
@@ -2,11 +2,9 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { TFocusOptions } from "../ez-text-input/ez-text-input";
|
|
3
3
|
export declare class EzComboBox {
|
|
4
4
|
private _textInput;
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
private _listWrapper;
|
|
5
|
+
private _comboBoxList;
|
|
6
|
+
private _popover;
|
|
8
7
|
private _itemValueBasis;
|
|
9
|
-
private _floatingID;
|
|
10
8
|
private _source;
|
|
11
9
|
private _changeDeboucingTimeout;
|
|
12
10
|
private _deboucingTime;
|
|
@@ -15,12 +13,14 @@ export declare class EzComboBox {
|
|
|
15
13
|
private _textEmptyList;
|
|
16
14
|
private _lookupMode;
|
|
17
15
|
private _resizeObserver;
|
|
16
|
+
isOpen: boolean;
|
|
18
17
|
private el;
|
|
19
18
|
private _preSelection;
|
|
20
19
|
private _visibleOptions;
|
|
21
20
|
private _startLoading;
|
|
22
21
|
private _showLoading;
|
|
23
22
|
private _criteria;
|
|
23
|
+
private _textInputReady;
|
|
24
24
|
/**
|
|
25
25
|
* Define o limite de caracteres mínimo para realizar uma pesquisa
|
|
26
26
|
*/
|
|
@@ -118,9 +118,6 @@ export declare class EzComboBox {
|
|
|
118
118
|
* Limpa o valor do campo de pesquisa
|
|
119
119
|
*/
|
|
120
120
|
clearValue(): Promise<void>;
|
|
121
|
-
scrollListener(): void;
|
|
122
|
-
private updateListPosition;
|
|
123
|
-
private getListPosition;
|
|
124
121
|
private isDifferentValues;
|
|
125
122
|
private getFormattedText;
|
|
126
123
|
private getText;
|
|
@@ -129,15 +126,8 @@ export declare class EzComboBox {
|
|
|
129
126
|
private hasToAddEmptyoption;
|
|
130
127
|
private getMaxWidthValue;
|
|
131
128
|
private getWidthValue;
|
|
132
|
-
private buildItem;
|
|
133
129
|
private showOptions;
|
|
134
130
|
private hideOptions;
|
|
135
|
-
private isOptionsVisible;
|
|
136
|
-
private nextOption;
|
|
137
|
-
private previousOption;
|
|
138
|
-
private scrollToOption;
|
|
139
|
-
private selectCurrentOption;
|
|
140
|
-
private controlListWithOnlyOne;
|
|
141
131
|
private updateSource;
|
|
142
132
|
private selectOption;
|
|
143
133
|
private loadOptions;
|
|
@@ -145,17 +135,18 @@ export declare class EzComboBox {
|
|
|
145
135
|
private setInputValue;
|
|
146
136
|
private clearSearch;
|
|
147
137
|
private resetOptions;
|
|
148
|
-
componentWillLoad(): void;
|
|
149
138
|
componentDidRender(): void;
|
|
139
|
+
componentWillLoad(): void;
|
|
150
140
|
componentDidLoad(): void;
|
|
141
|
+
disconnectedCallback(): void;
|
|
151
142
|
private handlerIconClick;
|
|
152
143
|
private onTextInputChangeHandler;
|
|
153
144
|
private clearDeboucingTimeout;
|
|
154
145
|
private onTextInputClickHandler;
|
|
155
146
|
private keyDownHandler;
|
|
156
|
-
private handleEventPropagation;
|
|
157
147
|
private onTextInputFocusOutHandler;
|
|
158
148
|
private canShowListOptions;
|
|
149
|
+
private openPopover;
|
|
159
150
|
render(): any;
|
|
160
151
|
}
|
|
161
152
|
export interface IOption {
|
|
@@ -13,6 +13,7 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
13
13
|
private readonly RECORD_ARCHIVE_COL_ID;
|
|
14
14
|
private readonly BLOCK_LOAD_DEBOUNCE;
|
|
15
15
|
private readonly DEFAULT_FONT_SIZE;
|
|
16
|
+
private readonly DEFAULT_FONT_SIZE_HTML5;
|
|
16
17
|
private readonly DEFAULT_ICON_SIZE;
|
|
17
18
|
private readonly DEFAULT_MAX_SIZE;
|
|
18
19
|
private readonly DOC_WIDTH;
|
|
@@ -20,6 +20,7 @@ export declare class EzGrid {
|
|
|
20
20
|
private _headerOverflowWatcher;
|
|
21
21
|
private _customEditor;
|
|
22
22
|
private _customRenders;
|
|
23
|
+
private _keyboardManager;
|
|
23
24
|
_element: HTMLElement;
|
|
24
25
|
private _paginationInfo;
|
|
25
26
|
private _paginationChangedByKeyboard;
|
|
@@ -225,6 +226,8 @@ export declare class EzGrid {
|
|
|
225
226
|
private buildDataElementId;
|
|
226
227
|
private previousPage;
|
|
227
228
|
private nextPage;
|
|
229
|
+
private nextRecord;
|
|
230
|
+
private previousRecord;
|
|
228
231
|
private resetPaginationState;
|
|
229
232
|
private resolvePaginationClassMode;
|
|
230
233
|
private handleCancelPagination;
|
|
@@ -251,5 +254,7 @@ export declare class EzGrid {
|
|
|
251
254
|
private getDataSource;
|
|
252
255
|
private hideHeader;
|
|
253
256
|
private resolveLeftHeaderClass;
|
|
257
|
+
private initKeyboardManager;
|
|
258
|
+
private removeShortcuts;
|
|
254
259
|
render(): any;
|
|
255
260
|
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
export declare class EzPopoverPlus {
|
|
3
|
-
private
|
|
4
|
-
private _overlay;
|
|
5
|
-
private _overlayIsActive;
|
|
6
|
-
private _timeoutDebounce;
|
|
7
|
-
private _resizeObserver;
|
|
8
|
-
private TIME_DEBOUNCE;
|
|
3
|
+
private _popOverCore;
|
|
9
4
|
_host: HTMLElement;
|
|
10
5
|
/**
|
|
11
6
|
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
@@ -35,7 +30,10 @@ export declare class EzPopoverPlus {
|
|
|
35
30
|
* Emitido quando acontece a alteração de estado do componente.
|
|
36
31
|
*/
|
|
37
32
|
ezVisibilityChange: EventEmitter<boolean>;
|
|
38
|
-
|
|
33
|
+
listenerEzVisibilityChange({ detail }: {
|
|
34
|
+
detail: any;
|
|
35
|
+
}): void;
|
|
36
|
+
observeOpened(newValue: boolean): Promise<void>;
|
|
39
37
|
/**
|
|
40
38
|
* Atualiza a posição do popover.
|
|
41
39
|
*/
|
|
@@ -60,18 +58,7 @@ export declare class EzPopoverPlus {
|
|
|
60
58
|
* Altera o elemento de ancoragem.
|
|
61
59
|
*/
|
|
62
60
|
setAnchorElement(anchor: HTMLElement | string): Promise<void>;
|
|
63
|
-
private
|
|
64
|
-
private updateOptionPosition;
|
|
65
|
-
private updatePositionPopover;
|
|
66
|
-
private hidePopover;
|
|
67
|
-
private openPopover;
|
|
68
|
-
private openOverlay;
|
|
69
|
-
private hideOverlay;
|
|
70
|
-
private checkStatusOverlay;
|
|
71
|
-
private updatePositionDebounce;
|
|
72
|
-
componentWillLoad(): void;
|
|
73
|
-
componentDidLoad(): void;
|
|
74
|
-
disconnectedCallback(): void;
|
|
61
|
+
private renderPopoverCore;
|
|
75
62
|
render(): any;
|
|
76
63
|
}
|
|
77
64
|
export interface IEzPopoverAnchorOptions {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class EzPopoverCore {
|
|
3
|
+
private _box;
|
|
4
|
+
private _overlay;
|
|
5
|
+
private _overlayIsActive;
|
|
6
|
+
private _timeoutDebounce;
|
|
7
|
+
private _resizeObserver;
|
|
8
|
+
private TIME_DEBOUNCE;
|
|
9
|
+
_host: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
12
|
+
*/
|
|
13
|
+
autoClose: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Ajusta o comportamento da largura do popover.
|
|
16
|
+
*/
|
|
17
|
+
boxWidth: "full-width" | "fit-content";
|
|
18
|
+
/**
|
|
19
|
+
* Define se o ez-popover está aberto.
|
|
20
|
+
*/
|
|
21
|
+
opened: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Define o tipo de overlay do popover.
|
|
24
|
+
*/
|
|
25
|
+
overlayType: "medium" | "light" | "none";
|
|
26
|
+
/**
|
|
27
|
+
* Define o elemento de ancoragem.
|
|
28
|
+
*/
|
|
29
|
+
anchorElement: HTMLElement | string;
|
|
30
|
+
/**
|
|
31
|
+
* Define as opções do elemento.
|
|
32
|
+
*/
|
|
33
|
+
options: IEzPopoverAnchorOptions;
|
|
34
|
+
/**
|
|
35
|
+
* Emitido quando acontece a alteração de estado do componente.
|
|
36
|
+
*/
|
|
37
|
+
ezVisibilityChange: EventEmitter<boolean>;
|
|
38
|
+
observeOpened(newValue: boolean, oldValue: boolean): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Atualiza a posição do popover.
|
|
41
|
+
*/
|
|
42
|
+
updatePosition(top?: string, left?: string): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Exibe o ez-popover.
|
|
45
|
+
*/
|
|
46
|
+
show(top?: string | number, left?: string | number): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
49
|
+
*/
|
|
50
|
+
showUnder(element: HTMLElement | string, options?: IEzPopoverAnchorOptions): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Oculta o ez-popover.
|
|
53
|
+
*/
|
|
54
|
+
hide(): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Altera as opções.
|
|
57
|
+
*/
|
|
58
|
+
setOptions(options: IEzPopoverAnchorOptions): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Altera o elemento de ancoragem.
|
|
61
|
+
*/
|
|
62
|
+
setAnchorElement(anchor: HTMLElement | string): Promise<void>;
|
|
63
|
+
private parseSizePixel;
|
|
64
|
+
private updateOptionPosition;
|
|
65
|
+
private updatePositionPopover;
|
|
66
|
+
private hidePopover;
|
|
67
|
+
private openPopover;
|
|
68
|
+
private openOverlay;
|
|
69
|
+
private hideOverlay;
|
|
70
|
+
private checkStatusOverlay;
|
|
71
|
+
private updatePositionDebounce;
|
|
72
|
+
componentWillLoad(): void;
|
|
73
|
+
componentDidLoad(): void;
|
|
74
|
+
disconnectedCallback(): void;
|
|
75
|
+
render(): any;
|
|
76
|
+
}
|
|
77
|
+
export interface IEzPopoverAnchorOptions {
|
|
78
|
+
horizontalGap?: number;
|
|
79
|
+
verticalGap?: number;
|
|
80
|
+
fromRight?: boolean;
|
|
81
|
+
}
|
|
@@ -16,6 +16,7 @@ import { ChartSerie, SerieClickEvent } from "./components/ez-chart/interfaces/Ch
|
|
|
16
16
|
import { CheckMode } from "./components/ez-check/CheckMode";
|
|
17
17
|
import { IEzCheckBoxListPosition, IOption, ISearchArgument } from "./components/ez-combo-box/ez-combo-box";
|
|
18
18
|
import { TFocusOptions } from "./components/ez-text-input/ez-text-input";
|
|
19
|
+
import { IEzCheckBoxListPosition as IEzCheckBoxListPosition1, IOption as IOption1 } from "./components/ez-combo-box/ez-combo-box";
|
|
19
20
|
import { ICustomEditor } from "./utils/customEditor/interfaces/ICustomEditor";
|
|
20
21
|
import { IFormViewField } from "./components/ez-form-view/interfaces";
|
|
21
22
|
import { DataUnit, Record, WaitingChange } from "@sankhyalabs/core";
|
|
@@ -33,11 +34,11 @@ import { ListGroup, ListItem as ListItem1, SlotBuilder as SlotBuilder1, TListMod
|
|
|
33
34
|
import { THeightMode } from "./components/ez-modal/ez-modal";
|
|
34
35
|
import { IMultiSelectionOption } from "./components/ez-multi-selection-list/interfaces/IMultiSelectionOption";
|
|
35
36
|
import { IEzPopoverAnchorOptions } from "./components/ez-popover/ez-popover";
|
|
36
|
-
import { IEzPopoverAnchorOptions as IEzPopoverAnchorOptions1 } from "./components/ez-popover-plus/ez-popover-
|
|
37
|
+
import { IEzPopoverAnchorOptions as IEzPopoverAnchorOptions1 } from "./components/ez-popover-plus/subcomponent/ez-popover-core";
|
|
38
|
+
import { IEzPopoverAnchorOptions as IEzPopoverAnchorOptions2 } from "./components/ez-popover-plus/ez-popover-plus";
|
|
37
39
|
import { Radio } from "./components/ez-radio-button/ez-radio-button";
|
|
38
40
|
import { EzScrollDirection } from "./components/ez-scroller/EzScrollDirection";
|
|
39
|
-
import { IOption as
|
|
40
|
-
import { IEzCheckBoxListPosition as IEzCheckBoxListPosition1 } from "./components/ez-combo-box/ez-combo-box";
|
|
41
|
+
import { IOption as IOption2, ISearchArgument as ISearchArgument1 } from "./components/ez-search/ez-search";
|
|
41
42
|
import { ModeMenuEnum, SizeMenuEnum, TypeMenuEnum } from "./components/ez-sidebar-navigator/interfaces";
|
|
42
43
|
import { Tab } from "./components/ez-tabselector/ez-tabselector";
|
|
43
44
|
import { IStyled } from "./components/ez-text-edit/ez-text-edit";
|
|
@@ -508,6 +509,68 @@ export namespace Components {
|
|
|
508
509
|
*/
|
|
509
510
|
"value": IOption | string;
|
|
510
511
|
}
|
|
512
|
+
interface EzComboBoxList {
|
|
513
|
+
/**
|
|
514
|
+
* Largura máxima da lista, em pixels.
|
|
515
|
+
* @tipo {number}
|
|
516
|
+
*/
|
|
517
|
+
"maxWidth": number;
|
|
518
|
+
/**
|
|
519
|
+
* Move a seleção para a próxima opção na lista.
|
|
520
|
+
*/
|
|
521
|
+
"nextOption": () => Promise<void>;
|
|
522
|
+
/**
|
|
523
|
+
* Callback chamado quando o mouse passa sobre uma opção.
|
|
524
|
+
* @param index O índice da opção em foco.
|
|
525
|
+
* @tipo {(index: number) => void}
|
|
526
|
+
*/
|
|
527
|
+
"onOptionHover": (index: number) => void;
|
|
528
|
+
/**
|
|
529
|
+
* Callback chamado quando uma opção é selecionada.
|
|
530
|
+
* @param option A opção selecionada.
|
|
531
|
+
* @tipo {(option: IOption) => void}
|
|
532
|
+
*/
|
|
533
|
+
"onOptionSelect": (option: IOption1) => void;
|
|
534
|
+
/**
|
|
535
|
+
* Índice da opção pré-selecionada na lista.
|
|
536
|
+
* @tipo {number}
|
|
537
|
+
*/
|
|
538
|
+
"preSelection": number;
|
|
539
|
+
/**
|
|
540
|
+
* Move a seleção para a opção anterior na lista.
|
|
541
|
+
*/
|
|
542
|
+
"previousOption": () => Promise<void>;
|
|
543
|
+
/**
|
|
544
|
+
* Seleciona a opção atualmente pré-selecionada.
|
|
545
|
+
*/
|
|
546
|
+
"selectCurrentOption": () => Promise<void>;
|
|
547
|
+
/**
|
|
548
|
+
* Indica se o indicador de carregamento deve ser exibido.
|
|
549
|
+
* @tipo {boolean}
|
|
550
|
+
*/
|
|
551
|
+
"showLoading": boolean;
|
|
552
|
+
/**
|
|
553
|
+
* Indica se o valor de cada opção deve ser exibido junto com o rótulo.
|
|
554
|
+
* @tipo {boolean}
|
|
555
|
+
*/
|
|
556
|
+
"showOptionValue": boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Mensagem exibida quando a lista de opções está vazia.
|
|
559
|
+
* @padrão "Nenhum resultado encontrado"
|
|
560
|
+
* @tipo {string}
|
|
561
|
+
*/
|
|
562
|
+
"textEmptyList": string;
|
|
563
|
+
/**
|
|
564
|
+
* Lista de opções visíveis que serão exibidas no componente.
|
|
565
|
+
* @tipo {Array<IOption>}
|
|
566
|
+
*/
|
|
567
|
+
"visibleOptions": Array<IOption1>;
|
|
568
|
+
/**
|
|
569
|
+
* Largura fixa da lista, em pixels.
|
|
570
|
+
* @tipo {number}
|
|
571
|
+
*/
|
|
572
|
+
"width": number;
|
|
573
|
+
}
|
|
511
574
|
interface EzCustomFormInput {
|
|
512
575
|
/**
|
|
513
576
|
* Builder original do FormView que será chamado caso o custom não retorne nenhum valor.
|
|
@@ -1329,6 +1392,56 @@ export namespace Components {
|
|
|
1329
1392
|
*/
|
|
1330
1393
|
"updatePosition": (top?: string, left?: string) => Promise<void>;
|
|
1331
1394
|
}
|
|
1395
|
+
interface EzPopoverCore {
|
|
1396
|
+
/**
|
|
1397
|
+
* Define o elemento de ancoragem.
|
|
1398
|
+
*/
|
|
1399
|
+
"anchorElement": HTMLElement | string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
1402
|
+
*/
|
|
1403
|
+
"autoClose": boolean;
|
|
1404
|
+
/**
|
|
1405
|
+
* Ajusta o comportamento da largura do popover.
|
|
1406
|
+
*/
|
|
1407
|
+
"boxWidth": "full-width" | "fit-content";
|
|
1408
|
+
/**
|
|
1409
|
+
* Oculta o ez-popover.
|
|
1410
|
+
*/
|
|
1411
|
+
"hide": () => Promise<void>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Define se o ez-popover está aberto.
|
|
1414
|
+
*/
|
|
1415
|
+
"opened": boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* Define as opções do elemento.
|
|
1418
|
+
*/
|
|
1419
|
+
"options": IEzPopoverAnchorOptions;
|
|
1420
|
+
/**
|
|
1421
|
+
* Define o tipo de overlay do popover.
|
|
1422
|
+
*/
|
|
1423
|
+
"overlayType": "medium" | "light" | "none";
|
|
1424
|
+
/**
|
|
1425
|
+
* Altera o elemento de ancoragem.
|
|
1426
|
+
*/
|
|
1427
|
+
"setAnchorElement": (anchor: HTMLElement | string) => Promise<void>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Altera as opções.
|
|
1430
|
+
*/
|
|
1431
|
+
"setOptions": (options: IEzPopoverAnchorOptions) => Promise<void>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Exibe o ez-popover.
|
|
1434
|
+
*/
|
|
1435
|
+
"show": (top?: string | number, left?: string | number) => Promise<void>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
1438
|
+
*/
|
|
1439
|
+
"showUnder": (element: HTMLElement | string, options?: IEzPopoverAnchorOptions) => Promise<void>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Atualiza a posição do popover.
|
|
1442
|
+
*/
|
|
1443
|
+
"updatePosition": (top?: string, left?: string) => Promise<void>;
|
|
1444
|
+
}
|
|
1332
1445
|
interface EzPopoverPlus {
|
|
1333
1446
|
/**
|
|
1334
1447
|
* Define o elemento de ancoragem.
|
|
@@ -2189,6 +2302,10 @@ export interface EzPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
|
2189
2302
|
detail: T;
|
|
2190
2303
|
target: HTMLEzPopoverElement;
|
|
2191
2304
|
}
|
|
2305
|
+
export interface EzPopoverCoreCustomEvent<T> extends CustomEvent<T> {
|
|
2306
|
+
detail: T;
|
|
2307
|
+
target: HTMLEzPopoverCoreElement;
|
|
2308
|
+
}
|
|
2192
2309
|
export interface EzPopoverPlusCustomEvent<T> extends CustomEvent<T> {
|
|
2193
2310
|
detail: T;
|
|
2194
2311
|
target: HTMLEzPopoverPlusElement;
|
|
@@ -2338,6 +2455,12 @@ declare global {
|
|
|
2338
2455
|
prototype: HTMLEzComboBoxElement;
|
|
2339
2456
|
new (): HTMLEzComboBoxElement;
|
|
2340
2457
|
};
|
|
2458
|
+
interface HTMLEzComboBoxListElement extends Components.EzComboBoxList, HTMLStencilElement {
|
|
2459
|
+
}
|
|
2460
|
+
var HTMLEzComboBoxListElement: {
|
|
2461
|
+
prototype: HTMLEzComboBoxListElement;
|
|
2462
|
+
new (): HTMLEzComboBoxListElement;
|
|
2463
|
+
};
|
|
2341
2464
|
interface HTMLEzCustomFormInputElement extends Components.EzCustomFormInput, HTMLStencilElement {
|
|
2342
2465
|
}
|
|
2343
2466
|
var HTMLEzCustomFormInputElement: {
|
|
@@ -2458,6 +2581,12 @@ declare global {
|
|
|
2458
2581
|
prototype: HTMLEzPopoverElement;
|
|
2459
2582
|
new (): HTMLEzPopoverElement;
|
|
2460
2583
|
};
|
|
2584
|
+
interface HTMLEzPopoverCoreElement extends Components.EzPopoverCore, HTMLStencilElement {
|
|
2585
|
+
}
|
|
2586
|
+
var HTMLEzPopoverCoreElement: {
|
|
2587
|
+
prototype: HTMLEzPopoverCoreElement;
|
|
2588
|
+
new (): HTMLEzPopoverCoreElement;
|
|
2589
|
+
};
|
|
2461
2590
|
interface HTMLEzPopoverPlusElement extends Components.EzPopoverPlus, HTMLStencilElement {
|
|
2462
2591
|
}
|
|
2463
2592
|
var HTMLEzPopoverPlusElement: {
|
|
@@ -2611,6 +2740,7 @@ declare global {
|
|
|
2611
2740
|
"ez-chip": HTMLEzChipElement;
|
|
2612
2741
|
"ez-collapsible-box": HTMLEzCollapsibleBoxElement;
|
|
2613
2742
|
"ez-combo-box": HTMLEzComboBoxElement;
|
|
2743
|
+
"ez-combo-box-list": HTMLEzComboBoxListElement;
|
|
2614
2744
|
"ez-custom-form-input": HTMLEzCustomFormInputElement;
|
|
2615
2745
|
"ez-date-input": HTMLEzDateInputElement;
|
|
2616
2746
|
"ez-date-time-input": HTMLEzDateTimeInputElement;
|
|
@@ -2631,6 +2761,7 @@ declare global {
|
|
|
2631
2761
|
"ez-multi-selection-list": HTMLEzMultiSelectionListElement;
|
|
2632
2762
|
"ez-number-input": HTMLEzNumberInputElement;
|
|
2633
2763
|
"ez-popover": HTMLEzPopoverElement;
|
|
2764
|
+
"ez-popover-core": HTMLEzPopoverCoreElement;
|
|
2634
2765
|
"ez-popover-plus": HTMLEzPopoverPlusElement;
|
|
2635
2766
|
"ez-popup": HTMLEzPopupElement;
|
|
2636
2767
|
"ez-radio-button": HTMLEzRadioButtonElement;
|
|
@@ -3105,6 +3236,56 @@ declare namespace LocalJSX {
|
|
|
3105
3236
|
*/
|
|
3106
3237
|
"value"?: IOption | string;
|
|
3107
3238
|
}
|
|
3239
|
+
interface EzComboBoxList {
|
|
3240
|
+
/**
|
|
3241
|
+
* Largura máxima da lista, em pixels.
|
|
3242
|
+
* @tipo {number}
|
|
3243
|
+
*/
|
|
3244
|
+
"maxWidth"?: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* Callback chamado quando o mouse passa sobre uma opção.
|
|
3247
|
+
* @param index O índice da opção em foco.
|
|
3248
|
+
* @tipo {(index: number) => void}
|
|
3249
|
+
*/
|
|
3250
|
+
"onOptionHover"?: (index: number) => void;
|
|
3251
|
+
/**
|
|
3252
|
+
* Callback chamado quando uma opção é selecionada.
|
|
3253
|
+
* @param option A opção selecionada.
|
|
3254
|
+
* @tipo {(option: IOption) => void}
|
|
3255
|
+
*/
|
|
3256
|
+
"onOptionSelect"?: (option: IOption1) => void;
|
|
3257
|
+
/**
|
|
3258
|
+
* Índice da opção pré-selecionada na lista.
|
|
3259
|
+
* @tipo {number}
|
|
3260
|
+
*/
|
|
3261
|
+
"preSelection"?: number;
|
|
3262
|
+
/**
|
|
3263
|
+
* Indica se o indicador de carregamento deve ser exibido.
|
|
3264
|
+
* @tipo {boolean}
|
|
3265
|
+
*/
|
|
3266
|
+
"showLoading"?: boolean;
|
|
3267
|
+
/**
|
|
3268
|
+
* Indica se o valor de cada opção deve ser exibido junto com o rótulo.
|
|
3269
|
+
* @tipo {boolean}
|
|
3270
|
+
*/
|
|
3271
|
+
"showOptionValue"?: boolean;
|
|
3272
|
+
/**
|
|
3273
|
+
* Mensagem exibida quando a lista de opções está vazia.
|
|
3274
|
+
* @padrão "Nenhum resultado encontrado"
|
|
3275
|
+
* @tipo {string}
|
|
3276
|
+
*/
|
|
3277
|
+
"textEmptyList"?: string;
|
|
3278
|
+
/**
|
|
3279
|
+
* Lista de opções visíveis que serão exibidas no componente.
|
|
3280
|
+
* @tipo {Array<IOption>}
|
|
3281
|
+
*/
|
|
3282
|
+
"visibleOptions"?: Array<IOption1>;
|
|
3283
|
+
/**
|
|
3284
|
+
* Largura fixa da lista, em pixels.
|
|
3285
|
+
* @tipo {number}
|
|
3286
|
+
*/
|
|
3287
|
+
"width"?: number;
|
|
3288
|
+
}
|
|
3108
3289
|
interface EzCustomFormInput {
|
|
3109
3290
|
/**
|
|
3110
3291
|
* Builder original do FormView que será chamado caso o custom não retorne nenhum valor.
|
|
@@ -3847,6 +4028,36 @@ declare namespace LocalJSX {
|
|
|
3847
4028
|
*/
|
|
3848
4029
|
"overlayType"?: "medium" | "light" | "none";
|
|
3849
4030
|
}
|
|
4031
|
+
interface EzPopoverCore {
|
|
4032
|
+
/**
|
|
4033
|
+
* Define o elemento de ancoragem.
|
|
4034
|
+
*/
|
|
4035
|
+
"anchorElement"?: HTMLElement | string;
|
|
4036
|
+
/**
|
|
4037
|
+
* Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
|
|
4038
|
+
*/
|
|
4039
|
+
"autoClose"?: boolean;
|
|
4040
|
+
/**
|
|
4041
|
+
* Ajusta o comportamento da largura do popover.
|
|
4042
|
+
*/
|
|
4043
|
+
"boxWidth"?: "full-width" | "fit-content";
|
|
4044
|
+
/**
|
|
4045
|
+
* Emitido quando acontece a alteração de estado do componente.
|
|
4046
|
+
*/
|
|
4047
|
+
"onEzVisibilityChange"?: (event: EzPopoverCoreCustomEvent<boolean>) => void;
|
|
4048
|
+
/**
|
|
4049
|
+
* Define se o ez-popover está aberto.
|
|
4050
|
+
*/
|
|
4051
|
+
"opened"?: boolean;
|
|
4052
|
+
/**
|
|
4053
|
+
* Define as opções do elemento.
|
|
4054
|
+
*/
|
|
4055
|
+
"options"?: IEzPopoverAnchorOptions;
|
|
4056
|
+
/**
|
|
4057
|
+
* Define o tipo de overlay do popover.
|
|
4058
|
+
*/
|
|
4059
|
+
"overlayType"?: "medium" | "light" | "none";
|
|
4060
|
+
}
|
|
3850
4061
|
interface EzPopoverPlus {
|
|
3851
4062
|
/**
|
|
3852
4063
|
* Define o elemento de ancoragem.
|
|
@@ -4524,6 +4735,7 @@ declare namespace LocalJSX {
|
|
|
4524
4735
|
"ez-chip": EzChip;
|
|
4525
4736
|
"ez-collapsible-box": EzCollapsibleBox;
|
|
4526
4737
|
"ez-combo-box": EzComboBox;
|
|
4738
|
+
"ez-combo-box-list": EzComboBoxList;
|
|
4527
4739
|
"ez-custom-form-input": EzCustomFormInput;
|
|
4528
4740
|
"ez-date-input": EzDateInput;
|
|
4529
4741
|
"ez-date-time-input": EzDateTimeInput;
|
|
@@ -4544,6 +4756,7 @@ declare namespace LocalJSX {
|
|
|
4544
4756
|
"ez-multi-selection-list": EzMultiSelectionList;
|
|
4545
4757
|
"ez-number-input": EzNumberInput;
|
|
4546
4758
|
"ez-popover": EzPopover;
|
|
4759
|
+
"ez-popover-core": EzPopoverCore;
|
|
4547
4760
|
"ez-popover-plus": EzPopoverPlus;
|
|
4548
4761
|
"ez-popup": EzPopup;
|
|
4549
4762
|
"ez-radio-button": EzRadioButton;
|
|
@@ -4587,6 +4800,7 @@ declare module "@stencil/core" {
|
|
|
4587
4800
|
"ez-chip": LocalJSX.EzChip & JSXBase.HTMLAttributes<HTMLEzChipElement>;
|
|
4588
4801
|
"ez-collapsible-box": LocalJSX.EzCollapsibleBox & JSXBase.HTMLAttributes<HTMLEzCollapsibleBoxElement>;
|
|
4589
4802
|
"ez-combo-box": LocalJSX.EzComboBox & JSXBase.HTMLAttributes<HTMLEzComboBoxElement>;
|
|
4803
|
+
"ez-combo-box-list": LocalJSX.EzComboBoxList & JSXBase.HTMLAttributes<HTMLEzComboBoxListElement>;
|
|
4590
4804
|
"ez-custom-form-input": LocalJSX.EzCustomFormInput & JSXBase.HTMLAttributes<HTMLEzCustomFormInputElement>;
|
|
4591
4805
|
"ez-date-input": LocalJSX.EzDateInput & JSXBase.HTMLAttributes<HTMLEzDateInputElement>;
|
|
4592
4806
|
"ez-date-time-input": LocalJSX.EzDateTimeInput & JSXBase.HTMLAttributes<HTMLEzDateTimeInputElement>;
|
|
@@ -4607,6 +4821,7 @@ declare module "@stencil/core" {
|
|
|
4607
4821
|
"ez-multi-selection-list": LocalJSX.EzMultiSelectionList & JSXBase.HTMLAttributes<HTMLEzMultiSelectionListElement>;
|
|
4608
4822
|
"ez-number-input": LocalJSX.EzNumberInput & JSXBase.HTMLAttributes<HTMLEzNumberInputElement>;
|
|
4609
4823
|
"ez-popover": LocalJSX.EzPopover & JSXBase.HTMLAttributes<HTMLEzPopoverElement>;
|
|
4824
|
+
"ez-popover-core": LocalJSX.EzPopoverCore & JSXBase.HTMLAttributes<HTMLEzPopoverCoreElement>;
|
|
4610
4825
|
"ez-popover-plus": LocalJSX.EzPopoverPlus & JSXBase.HTMLAttributes<HTMLEzPopoverPlusElement>;
|
|
4611
4826
|
"ez-popup": LocalJSX.EzPopup & JSXBase.HTMLAttributes<HTMLEzPopupElement>;
|
|
4612
4827
|
"ez-radio-button": LocalJSX.EzRadioButton & JSXBase.HTMLAttributes<HTMLEzRadioButtonElement>;
|
package/package.json
CHANGED