@sankhyalabs/ezui 1.1.4 → 1.1.8
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/README.md +72 -72
- package/dist/{ezui/DataUnit-285bec19.js → cjs/DataUnit-28b290cb.js} +382 -369
- package/dist/{ezui/index-919090de.js → cjs/RequestMetadata-2cd01e8a.js} +4 -383
- package/dist/cjs/ez-action-chip.cjs.entry.js +52 -0
- package/dist/cjs/ez-button_14.cjs.entry.js +3341 -0
- package/dist/cjs/ez-label-chip.cjs.entry.js +131 -0
- package/dist/cjs/ez-modal.cjs.entry.js +115 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +248 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +180 -0
- package/dist/cjs/ezui.cjs.js +19 -0
- package/dist/cjs/form-metadata.cjs.entry.js +74 -0
- package/dist/cjs/index-9403fe8f.js +1322 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/collection-manifest.json +31 -0
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -0
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -0
- package/dist/collection/components/ez-button/ez-button.css +94 -0
- package/dist/collection/components/ez-button/ez-button.js +125 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css +210 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js +215 -0
- package/dist/collection/components/ez-check/ez-check.css +266 -0
- package/dist/collection/components/ez-check/ez-check.js +168 -0
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +68 -0
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css +39 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js +172 -0
- package/dist/collection/components/ez-form/ez-form.css +19 -0
- package/dist/collection/components/ez-form/ez-form.js +368 -0
- package/dist/collection/components/ez-form/store/Form.actions.js +132 -0
- package/dist/collection/components/ez-form/store/Form.reducer.js +194 -0
- package/dist/collection/components/ez-form/store/Form.selectors.js +44 -0
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +207 -0
- package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -0
- package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +24 -0
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -0
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -0
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -0
- package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -0
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -0
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -0
- package/dist/collection/components/ez-icon/ez-icon.css +37 -0
- package/dist/collection/components/ez-icon/ez-icon.js +56 -0
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -0
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -0
- package/dist/collection/components/ez-modal/ez-modal.css +87 -0
- package/dist/collection/components/ez-modal/ez-modal.js +224 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css +144 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +465 -0
- package/dist/collection/components/ez-popover/ez-popover.css +39 -0
- package/dist/collection/components/ez-popover/ez-popover.js +323 -0
- package/dist/collection/components/ez-search/ez-search.css +296 -0
- package/dist/{ezui/ez-search.entry.js → collection/components/ez-search/ez-search.js} +527 -334
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +126 -0
- package/dist/{ezui/ez-tabselector.entry.js → collection/components/ez-tabselector/ez-tabselector.js} +283 -209
- package/dist/collection/components/ez-text-area/ez-text-area.css +140 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js +267 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css +170 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js +395 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css +155 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +326 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/servidor.js +101 -0
- package/dist/collection/utils/FloatingManager.js +16 -0
- package/dist/collection/utils/utils.js +6 -0
- package/dist/custom-elements/index.js +5071 -0
- package/dist/esm/DataUnit-69e518fa.js +378 -0
- package/dist/esm/RequestMetadata-c265c9d5.js +527 -0
- package/dist/{ezui → esm}/ez-action-chip.entry.js +42 -42
- package/dist/esm/ez-button_14.entry.js +3324 -0
- package/dist/{ezui → esm}/ez-label-chip.entry.js +121 -121
- package/dist/{ezui → esm}/ez-modal.entry.js +105 -96
- package/dist/{ezui → esm}/ez-number-input.entry.js +238 -238
- package/dist/{ezui → esm}/ez-time-input.entry.js +170 -170
- package/dist/esm/ezui.js +17 -0
- package/dist/{ezui → esm}/form-metadata.entry.js +66 -66
- package/dist/esm/index-95bb3fd9.js +1293 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/ezui/ezui.esm.js +1 -122
- package/dist/ezui/index.esm.js +0 -1
- package/dist/ezui/p-10ef58b3.js +1 -0
- package/dist/ezui/p-185c57f4.js +1 -0
- package/dist/ezui/p-22b82efb.entry.js +1 -0
- package/dist/ezui/p-77fdb4fd.entry.js +1 -0
- package/dist/ezui/p-9dfccb16.js +1 -0
- package/dist/ezui/p-b0974f4f.entry.js +1 -0
- package/dist/ezui/p-db11c600.entry.js +1 -0
- package/dist/ezui/p-dd4331b7.entry.js +1 -0
- package/dist/ezui/p-f6fd31ab.entry.js +1 -0
- package/dist/ezui/p-fa260f22.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
- package/dist/types/components/ez-button/ez-button.d.ts +20 -20
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
- package/dist/types/components/ez-check/ez-check.d.ts +32 -32
- package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
- package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
- package/dist/types/components/ez-form/ez-form.d.ts +31 -27
- package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -104
- package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -11
- package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -13
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +55 -48
- package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
- package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
- package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
- package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
- package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
- package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -7
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
- package/dist/types/components/ez-modal/ez-modal.d.ts +32 -26
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
- package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
- package/dist/types/components/ez-search/ez-search.d.ts +95 -95
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
- package/dist/types/components.d.ts +8 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +114 -114
- package/react/components.d.ts +22 -0
- package/react/components.js +25 -0
- package/react/components.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +59 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -0
- package/react/react-component-lib/createOverlayComponent.js +89 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +3 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +1 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +96 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +7 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +13 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +7 -0
- package/react/react-component-lib/utils/index.js +21 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/dist/ezui/app-globals-0f993ce5.js +0 -3
- package/dist/ezui/css-shim-003e9264.js +0 -4
- package/dist/ezui/dom-1b195079.js +0 -73
- package/dist/ezui/ez-button.entry.js +0 -47
- package/dist/ezui/ez-calendar.entry.js +0 -102
- package/dist/ezui/ez-check.entry.js +0 -62
- package/dist/ezui/ez-collapsable-box.entry.js +0 -32
- package/dist/ezui/ez-combo-box.entry.js +0 -181
- package/dist/ezui/ez-date-input.entry.js +0 -77
- package/dist/ezui/ez-form.entry.js +0 -1907
- package/dist/ezui/ez-icon.entry.js +0 -17
- package/dist/ezui/ez-popover.entry.js +0 -112
- package/dist/ezui/ez-text-area.entry.js +0 -105
- package/dist/ezui/ez-text-input.entry.js +0 -202
- package/dist/ezui/index-39044be2.js +0 -2832
- package/dist/ezui/place-holder.entry.js +0 -15
- package/dist/ezui/shadow-css-c1ad5fdc.js +0 -383
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { ClickOptions } from 'puppeteer';
|
|
3
|
-
export declare class EzLabelChip {
|
|
4
|
-
private _iconElement;
|
|
5
|
-
private _divElem;
|
|
6
|
-
private _labelElem;
|
|
7
|
-
removeChip: EventEmitter<ClickOptions>;
|
|
8
|
-
/**
|
|
9
|
-
* Label é o título exibido no componente.
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* Deixa o componente disponível ou não para seleção.
|
|
14
|
-
*/
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Indica se o componente terá a opção de ser removido.
|
|
18
|
-
*/
|
|
19
|
-
removable: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Indica se o componente está ou não ativado.
|
|
22
|
-
*/
|
|
23
|
-
value: boolean;
|
|
24
|
-
valueChange: EventEmitter<boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Faz o foco no componente de input
|
|
27
|
-
*/
|
|
28
|
-
setFocus(): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Remove o foco no componente de input
|
|
31
|
-
*/
|
|
32
|
-
setBlur(): Promise<void>;
|
|
33
|
-
handleClick(ev: any): void;
|
|
34
|
-
swichState(): void;
|
|
35
|
-
reflectChange(): void;
|
|
36
|
-
handleSlotChange(ev: Event): void;
|
|
37
|
-
componentDidLoad(): void;
|
|
38
|
-
handleEnabledState(): void;
|
|
39
|
-
render(): any;
|
|
40
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ClickOptions } from 'puppeteer';
|
|
3
|
+
export declare class EzLabelChip {
|
|
4
|
+
private _iconElement;
|
|
5
|
+
private _divElem;
|
|
6
|
+
private _labelElem;
|
|
7
|
+
removeChip: EventEmitter<ClickOptions>;
|
|
8
|
+
/**
|
|
9
|
+
* Label é o título exibido no componente.
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Deixa o componente disponível ou não para seleção.
|
|
14
|
+
*/
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Indica se o componente terá a opção de ser removido.
|
|
18
|
+
*/
|
|
19
|
+
removable: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Indica se o componente está ou não ativado.
|
|
22
|
+
*/
|
|
23
|
+
value: boolean;
|
|
24
|
+
valueChange: EventEmitter<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* Faz o foco no componente de input
|
|
27
|
+
*/
|
|
28
|
+
setFocus(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Remove o foco no componente de input
|
|
31
|
+
*/
|
|
32
|
+
setBlur(): Promise<void>;
|
|
33
|
+
handleClick(ev: any): void;
|
|
34
|
+
swichState(): void;
|
|
35
|
+
reflectChange(): void;
|
|
36
|
+
handleSlotChange(ev: Event): void;
|
|
37
|
+
componentDidLoad(): void;
|
|
38
|
+
handleEnabledState(): void;
|
|
39
|
+
render(): any;
|
|
40
|
+
}
|
|
@@ -1,26 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EzModal {
|
|
3
|
+
/**
|
|
4
|
+
* Define o tamanho do modal devem ser utilizados os tamanhos definidos de colunas como "col-sd-3"
|
|
5
|
+
*/
|
|
6
|
+
modalsize: string;
|
|
7
|
+
/**
|
|
8
|
+
* Define o alinhamento do modal, seus valores podem ser 'right' ou 'left'
|
|
9
|
+
*/
|
|
10
|
+
align: string;
|
|
11
|
+
/**
|
|
12
|
+
* Controle de exibição do Modal
|
|
13
|
+
*/
|
|
14
|
+
oppened: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Define se o modal será fechado ao digitar ESC
|
|
17
|
+
*/
|
|
18
|
+
closeesc: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Define se o modal será fechado ao clicar fora do conteúdo.
|
|
21
|
+
*/
|
|
22
|
+
closeoutsideclick: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Um evento disparado quando a propriedade oppened é alterada.
|
|
25
|
+
*/
|
|
26
|
+
ezChange: EventEmitter<boolean>;
|
|
27
|
+
handleClickOverlay(ev: any): void;
|
|
28
|
+
handleOppenedChange(): void;
|
|
29
|
+
handleKeyboardEvent: (ev: any) => void;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
render(): any;
|
|
32
|
+
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
export declare class NumberInput {
|
|
2
|
-
private _inputElem;
|
|
3
|
-
private _labelElem;
|
|
4
|
-
private _messageBoxElem;
|
|
5
|
-
el: HTMLElement;
|
|
6
|
-
/**
|
|
7
|
-
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
8
|
-
*/
|
|
9
|
-
strvalue: string;
|
|
10
|
-
/**
|
|
11
|
-
* Valor guardado pelo componente. Este valor é o que ira ser utilizado para alimentar o backend.
|
|
12
|
-
* Esta variável pode ser setada para alimentar o componente.
|
|
13
|
-
*/
|
|
14
|
-
value: number;
|
|
15
|
-
/**
|
|
16
|
-
* Label é o título do campo
|
|
17
|
-
*/
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* Deixa o campo disponível ou não para digitação.
|
|
21
|
-
*/
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
25
|
-
*/
|
|
26
|
-
errormessage: string;
|
|
27
|
-
/**
|
|
28
|
-
* Precisão de arredondamento do número
|
|
29
|
-
*/
|
|
30
|
-
precision: number;
|
|
31
|
-
/**
|
|
32
|
-
* Números de zeros retirados após arredondamento
|
|
33
|
-
*/
|
|
34
|
-
prettyprecision: number;
|
|
35
|
-
/**
|
|
36
|
-
* Deixa o campo disponível ou não para digitação.
|
|
37
|
-
*/
|
|
38
|
-
textleft: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Opção de configurar a transformação de string to number entre formatação pt-BR e en-US
|
|
41
|
-
* (formatação de ENTRADA e SAÍDA do componente: pt-BR="###.###,##" en-US="###,###.##"; Default: "pt-BR")
|
|
42
|
-
* Qualquer outro valor que não seja "en-US", adotará a formatação "pt-BR"
|
|
43
|
-
* Não é case sensitive
|
|
44
|
-
*/
|
|
45
|
-
formatnumber: string;
|
|
46
|
-
showError(): void;
|
|
47
|
-
onPrecisionChanged(newPrecision: number): void;
|
|
48
|
-
onPrettyPrecisionChanged(newPrettyPrecision: number): void;
|
|
49
|
-
onValueChanged(newValue: number): void;
|
|
50
|
-
adjustFloatingLabel(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Faz o foco no componente de input
|
|
53
|
-
*/
|
|
54
|
-
setFocus(): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Remove o foco no componente de input
|
|
57
|
-
*/
|
|
58
|
-
setBlur(): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* Promove a atualização do componente
|
|
61
|
-
*/
|
|
62
|
-
handleFocusout(): Promise<void>;
|
|
63
|
-
handleChange(): void;
|
|
64
|
-
handleSlotChange(ev: Event): void;
|
|
65
|
-
doFocus(): void;
|
|
66
|
-
settingComponent(): void;
|
|
67
|
-
settingStrValueIntNumber: (strvalue: string) => string;
|
|
68
|
-
checkNumberValidation: (valuePtBRorNumber: string) => boolean;
|
|
69
|
-
settingValue(): void;
|
|
70
|
-
componentDidLoad(): void;
|
|
71
|
-
componentWillLoad(): void;
|
|
72
|
-
render(): any;
|
|
73
|
-
}
|
|
1
|
+
export declare class NumberInput {
|
|
2
|
+
private _inputElem;
|
|
3
|
+
private _labelElem;
|
|
4
|
+
private _messageBoxElem;
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
/**
|
|
7
|
+
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
8
|
+
*/
|
|
9
|
+
strvalue: string;
|
|
10
|
+
/**
|
|
11
|
+
* Valor guardado pelo componente. Este valor é o que ira ser utilizado para alimentar o backend.
|
|
12
|
+
* Esta variável pode ser setada para alimentar o componente.
|
|
13
|
+
*/
|
|
14
|
+
value: number;
|
|
15
|
+
/**
|
|
16
|
+
* Label é o título do campo
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Deixa o campo disponível ou não para digitação.
|
|
21
|
+
*/
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
25
|
+
*/
|
|
26
|
+
errormessage: string;
|
|
27
|
+
/**
|
|
28
|
+
* Precisão de arredondamento do número
|
|
29
|
+
*/
|
|
30
|
+
precision: number;
|
|
31
|
+
/**
|
|
32
|
+
* Números de zeros retirados após arredondamento
|
|
33
|
+
*/
|
|
34
|
+
prettyprecision: number;
|
|
35
|
+
/**
|
|
36
|
+
* Deixa o campo disponível ou não para digitação.
|
|
37
|
+
*/
|
|
38
|
+
textleft: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Opção de configurar a transformação de string to number entre formatação pt-BR e en-US
|
|
41
|
+
* (formatação de ENTRADA e SAÍDA do componente: pt-BR="###.###,##" en-US="###,###.##"; Default: "pt-BR")
|
|
42
|
+
* Qualquer outro valor que não seja "en-US", adotará a formatação "pt-BR"
|
|
43
|
+
* Não é case sensitive
|
|
44
|
+
*/
|
|
45
|
+
formatnumber: string;
|
|
46
|
+
showError(): void;
|
|
47
|
+
onPrecisionChanged(newPrecision: number): void;
|
|
48
|
+
onPrettyPrecisionChanged(newPrettyPrecision: number): void;
|
|
49
|
+
onValueChanged(newValue: number): void;
|
|
50
|
+
adjustFloatingLabel(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Faz o foco no componente de input
|
|
53
|
+
*/
|
|
54
|
+
setFocus(): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Remove o foco no componente de input
|
|
57
|
+
*/
|
|
58
|
+
setBlur(): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Promove a atualização do componente
|
|
61
|
+
*/
|
|
62
|
+
handleFocusout(): Promise<void>;
|
|
63
|
+
handleChange(): void;
|
|
64
|
+
handleSlotChange(ev: Event): void;
|
|
65
|
+
doFocus(): void;
|
|
66
|
+
settingComponent(): void;
|
|
67
|
+
settingStrValueIntNumber: (strvalue: string) => string;
|
|
68
|
+
checkNumberValidation: (valuePtBRorNumber: string) => boolean;
|
|
69
|
+
settingValue(): void;
|
|
70
|
+
componentDidLoad(): void;
|
|
71
|
+
componentWillLoad(): void;
|
|
72
|
+
render(): any;
|
|
73
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export declare class EzPopover {
|
|
2
|
-
private _container;
|
|
3
|
-
private _box;
|
|
4
|
-
private _floatingID;
|
|
5
|
-
private _firstRender;
|
|
6
|
-
_host: any;
|
|
7
|
-
/**
|
|
8
|
-
* No modo floating = false o popover só se tornará visível
|
|
9
|
-
* quando o método show() for acionado.
|
|
10
|
-
*/
|
|
11
|
-
autoclose: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Offset top do popover em relação ao componente pai
|
|
14
|
-
*/
|
|
15
|
-
top: string;
|
|
16
|
-
/**
|
|
17
|
-
* Offset left do popover em relação ao componente pai
|
|
18
|
-
*/
|
|
19
|
-
left: string;
|
|
20
|
-
/**
|
|
21
|
-
* Offset bottom do popover em relação ao componente pai
|
|
22
|
-
*/
|
|
23
|
-
bottom: string;
|
|
24
|
-
/**
|
|
25
|
-
* Offset right do popover em relação ao componente pai
|
|
26
|
-
*/
|
|
27
|
-
right: string;
|
|
28
|
-
/**
|
|
29
|
-
* Ajusta o comportamento da largura do popover.
|
|
30
|
-
* Opções: "100% e "fit-content" (default)
|
|
31
|
-
*/
|
|
32
|
-
boxwidth: string;
|
|
33
|
-
/**
|
|
34
|
-
* Externaliza estado atual do componente.
|
|
35
|
-
*/
|
|
36
|
-
isOpened: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Atualiza a posição do popover em relação ao componente pai.
|
|
39
|
-
*/
|
|
40
|
-
updatePosition(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
* Faz com que o popover seja renderizado na DOM.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
show(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Usado no modo floating. Faz com que o componente seja ocultado.
|
|
48
|
-
*/
|
|
49
|
-
hide(): Promise<void>;
|
|
50
|
-
componentDidRender(): void;
|
|
51
|
-
render(): any;
|
|
52
|
-
}
|
|
1
|
+
export declare class EzPopover {
|
|
2
|
+
private _container;
|
|
3
|
+
private _box;
|
|
4
|
+
private _floatingID;
|
|
5
|
+
private _firstRender;
|
|
6
|
+
_host: any;
|
|
7
|
+
/**
|
|
8
|
+
* No modo floating = false o popover só se tornará visível
|
|
9
|
+
* quando o método show() for acionado.
|
|
10
|
+
*/
|
|
11
|
+
autoclose: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Offset top do popover em relação ao componente pai
|
|
14
|
+
*/
|
|
15
|
+
top: string;
|
|
16
|
+
/**
|
|
17
|
+
* Offset left do popover em relação ao componente pai
|
|
18
|
+
*/
|
|
19
|
+
left: string;
|
|
20
|
+
/**
|
|
21
|
+
* Offset bottom do popover em relação ao componente pai
|
|
22
|
+
*/
|
|
23
|
+
bottom: string;
|
|
24
|
+
/**
|
|
25
|
+
* Offset right do popover em relação ao componente pai
|
|
26
|
+
*/
|
|
27
|
+
right: string;
|
|
28
|
+
/**
|
|
29
|
+
* Ajusta o comportamento da largura do popover.
|
|
30
|
+
* Opções: "100% e "fit-content" (default)
|
|
31
|
+
*/
|
|
32
|
+
boxwidth: string;
|
|
33
|
+
/**
|
|
34
|
+
* Externaliza estado atual do componente.
|
|
35
|
+
*/
|
|
36
|
+
isOpened: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Atualiza a posição do popover em relação ao componente pai.
|
|
39
|
+
*/
|
|
40
|
+
updatePosition(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Faz com que o popover seja renderizado na DOM.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
show(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Usado no modo floating. Faz com que o componente seja ocultado.
|
|
48
|
+
*/
|
|
49
|
+
hide(): Promise<void>;
|
|
50
|
+
componentDidRender(): void;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
interface HotSearchOptions {
|
|
3
|
-
description: string;
|
|
4
|
-
dtRecent: string;
|
|
5
|
-
qtd: number;
|
|
6
|
-
}
|
|
7
|
-
export interface OptionsPesquisa {
|
|
8
|
-
value: string;
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
|
-
export interface OptionsPesquisaAjusted {
|
|
12
|
-
value: string;
|
|
13
|
-
label: string;
|
|
14
|
-
ajustedValue: string;
|
|
15
|
-
}
|
|
16
|
-
export declare class EzSearch {
|
|
17
|
-
private _options;
|
|
18
|
-
private _inputElem;
|
|
19
|
-
private _divElem;
|
|
20
|
-
private _popover;
|
|
21
|
-
private _changeDeboucing;
|
|
22
|
-
private _classSelect;
|
|
23
|
-
private _loadDataFunction;
|
|
24
|
-
/**
|
|
25
|
-
* Código do registro selecionado
|
|
26
|
-
*/
|
|
27
|
-
value: string;
|
|
28
|
-
/**
|
|
29
|
-
* Label é o título do campo
|
|
30
|
-
*/
|
|
31
|
-
label: string;
|
|
32
|
-
/**
|
|
33
|
-
* Deixa o campo disponível ou não para digitação.
|
|
34
|
-
*/
|
|
35
|
-
enabled: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Quantidade máxima de itens guardados no localstorage
|
|
38
|
-
*/
|
|
39
|
-
qtdHotItems: number;
|
|
40
|
-
/**
|
|
41
|
-
* Este evento emite o código do registro selecionado
|
|
42
|
-
*/
|
|
43
|
-
ezChange: EventEmitter<OptionsPesquisa>;
|
|
44
|
-
/**
|
|
45
|
-
* Ajusta a opção de mostrar o "value" para cada "label". Como default "value" não está presente (showvalue = false)
|
|
46
|
-
*/
|
|
47
|
-
showvalue: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
50
|
-
*/
|
|
51
|
-
errormessage: string;
|
|
52
|
-
/**
|
|
53
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
54
|
-
*/
|
|
55
|
-
loadexecutor: string | Function;
|
|
56
|
-
/**
|
|
57
|
-
* Define o identificador único do hotSearch, caso esta propriedade não seja preenchida, o hotSearch não funcionará.
|
|
58
|
-
*/
|
|
59
|
-
hotsearchid: string;
|
|
60
|
-
private _preSelection;
|
|
61
|
-
private _visibleOptions;
|
|
62
|
-
private el;
|
|
63
|
-
valueChanged(): void;
|
|
64
|
-
onInputTeste(): void;
|
|
65
|
-
buildId: () => string;
|
|
66
|
-
getStorageItems: (key: string) => Array<HotSearchOptions>;
|
|
67
|
-
getElement(storageItem: Array<HotSearchOptions>, value: string): HotSearchOptions;
|
|
68
|
-
getOnlyDate(): string;
|
|
69
|
-
orderHotList: (list: Array<HotSearchOptions>) => Array<HotSearchOptions>;
|
|
70
|
-
saveStorageItem: (key: string, value: string) => Array<HotSearchOptions>;
|
|
71
|
-
onInputChange(ev: Event): void;
|
|
72
|
-
buildDataList(): void;
|
|
73
|
-
buildItem(opt: OptionsPesquisaAjusted, index: number): any;
|
|
74
|
-
highlightMatch(label: string): any;
|
|
75
|
-
showOptions(): void;
|
|
76
|
-
nextOption(): void;
|
|
77
|
-
previousOption(): void;
|
|
78
|
-
scrollToOption(opt: OptionsPesquisa): void;
|
|
79
|
-
selectCurrentOption(): void;
|
|
80
|
-
selectOption(opt: OptionsPesquisaAjusted): void;
|
|
81
|
-
keyDownHandler(event: KeyboardEvent): void;
|
|
82
|
-
handleSetValueByOption(ev: Event): void;
|
|
83
|
-
handleChange(): void;
|
|
84
|
-
normalizeResult(data: any): void;
|
|
85
|
-
populateOptions(serverData: any): void;
|
|
86
|
-
buildOptions(): void;
|
|
87
|
-
setClassForSpanLabel(): string;
|
|
88
|
-
handleFocus(): void;
|
|
89
|
-
adjustOptions: (arrayOptions: Array<OptionsPesquisa>) => Array<OptionsPesquisaAjusted>;
|
|
90
|
-
sortArrayOptions: (array: any, propname: string) => any;
|
|
91
|
-
private parseExecutor;
|
|
92
|
-
componentDidLoad(): void;
|
|
93
|
-
render(): any;
|
|
94
|
-
}
|
|
95
|
-
export {};
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
interface HotSearchOptions {
|
|
3
|
+
description: string;
|
|
4
|
+
dtRecent: string;
|
|
5
|
+
qtd: number;
|
|
6
|
+
}
|
|
7
|
+
export interface OptionsPesquisa {
|
|
8
|
+
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export interface OptionsPesquisaAjusted {
|
|
12
|
+
value: string;
|
|
13
|
+
label: string;
|
|
14
|
+
ajustedValue: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class EzSearch {
|
|
17
|
+
private _options;
|
|
18
|
+
private _inputElem;
|
|
19
|
+
private _divElem;
|
|
20
|
+
private _popover;
|
|
21
|
+
private _changeDeboucing;
|
|
22
|
+
private _classSelect;
|
|
23
|
+
private _loadDataFunction;
|
|
24
|
+
/**
|
|
25
|
+
* Código do registro selecionado
|
|
26
|
+
*/
|
|
27
|
+
value: string;
|
|
28
|
+
/**
|
|
29
|
+
* Label é o título do campo
|
|
30
|
+
*/
|
|
31
|
+
label: string;
|
|
32
|
+
/**
|
|
33
|
+
* Deixa o campo disponível ou não para digitação.
|
|
34
|
+
*/
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Quantidade máxima de itens guardados no localstorage
|
|
38
|
+
*/
|
|
39
|
+
qtdHotItems: number;
|
|
40
|
+
/**
|
|
41
|
+
* Este evento emite o código do registro selecionado
|
|
42
|
+
*/
|
|
43
|
+
ezChange: EventEmitter<OptionsPesquisa>;
|
|
44
|
+
/**
|
|
45
|
+
* Ajusta a opção de mostrar o "value" para cada "label". Como default "value" não está presente (showvalue = false)
|
|
46
|
+
*/
|
|
47
|
+
showvalue: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
50
|
+
*/
|
|
51
|
+
errormessage: string;
|
|
52
|
+
/**
|
|
53
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
54
|
+
*/
|
|
55
|
+
loadexecutor: string | Function;
|
|
56
|
+
/**
|
|
57
|
+
* Define o identificador único do hotSearch, caso esta propriedade não seja preenchida, o hotSearch não funcionará.
|
|
58
|
+
*/
|
|
59
|
+
hotsearchid: string;
|
|
60
|
+
private _preSelection;
|
|
61
|
+
private _visibleOptions;
|
|
62
|
+
private el;
|
|
63
|
+
valueChanged(): void;
|
|
64
|
+
onInputTeste(): void;
|
|
65
|
+
buildId: () => string;
|
|
66
|
+
getStorageItems: (key: string) => Array<HotSearchOptions>;
|
|
67
|
+
getElement(storageItem: Array<HotSearchOptions>, value: string): HotSearchOptions;
|
|
68
|
+
getOnlyDate(): string;
|
|
69
|
+
orderHotList: (list: Array<HotSearchOptions>) => Array<HotSearchOptions>;
|
|
70
|
+
saveStorageItem: (key: string, value: string) => Array<HotSearchOptions>;
|
|
71
|
+
onInputChange(ev: Event): void;
|
|
72
|
+
buildDataList(): void;
|
|
73
|
+
buildItem(opt: OptionsPesquisaAjusted, index: number): any;
|
|
74
|
+
highlightMatch(label: string): any;
|
|
75
|
+
showOptions(): void;
|
|
76
|
+
nextOption(): void;
|
|
77
|
+
previousOption(): void;
|
|
78
|
+
scrollToOption(opt: OptionsPesquisa): void;
|
|
79
|
+
selectCurrentOption(): void;
|
|
80
|
+
selectOption(opt: OptionsPesquisaAjusted): void;
|
|
81
|
+
keyDownHandler(event: KeyboardEvent): void;
|
|
82
|
+
handleSetValueByOption(ev: Event): void;
|
|
83
|
+
handleChange(): void;
|
|
84
|
+
normalizeResult(data: any): void;
|
|
85
|
+
populateOptions(serverData: any): void;
|
|
86
|
+
buildOptions(): void;
|
|
87
|
+
setClassForSpanLabel(): string;
|
|
88
|
+
handleFocus(): void;
|
|
89
|
+
adjustOptions: (arrayOptions: Array<OptionsPesquisa>) => Array<OptionsPesquisaAjusted>;
|
|
90
|
+
sortArrayOptions: (array: any, propname: string) => any;
|
|
91
|
+
private parseExecutor;
|
|
92
|
+
componentDidLoad(): void;
|
|
93
|
+
render(): any;
|
|
94
|
+
}
|
|
95
|
+
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class EzTabselector {
|
|
3
|
-
private _hostElem;
|
|
4
|
-
private _scrollContainer;
|
|
5
|
-
private _backwardButton;
|
|
6
|
-
private _forwardButton;
|
|
7
|
-
private _startHidden;
|
|
8
|
-
private _endHidden;
|
|
9
|
-
private _processedTabs;
|
|
10
|
-
private foucusedindex;
|
|
11
|
-
private _scrollCallBackTeste;
|
|
12
|
-
selectedindex: string;
|
|
13
|
-
selectedtab: string;
|
|
14
|
-
tabs: string;
|
|
15
|
-
change: EventEmitter<string>;
|
|
16
|
-
handleTabClick(tab: string, index: number): void;
|
|
17
|
-
componentWillRender(): void;
|
|
18
|
-
handleSlotChange(ev: Event): void;
|
|
19
|
-
scrollBackward(): void;
|
|
20
|
-
scrollFoward(): void;
|
|
21
|
-
componentDidRender(): void;
|
|
22
|
-
updateScroll(): void;
|
|
23
|
-
_scrollCallBack: number;
|
|
24
|
-
domScrollHandler(): void;
|
|
25
|
-
setFocusedTab(index: string): void;
|
|
26
|
-
_textMesurement: HTMLCanvasElement;
|
|
27
|
-
getTextWidth(text: string): string;
|
|
28
|
-
setFoucusedParam: (ev: KeyboardEvent) => void;
|
|
29
|
-
setFoucusedBtn(visible: boolean, paramater: string): void;
|
|
30
|
-
render(): any;
|
|
31
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EzTabselector {
|
|
3
|
+
private _hostElem;
|
|
4
|
+
private _scrollContainer;
|
|
5
|
+
private _backwardButton;
|
|
6
|
+
private _forwardButton;
|
|
7
|
+
private _startHidden;
|
|
8
|
+
private _endHidden;
|
|
9
|
+
private _processedTabs;
|
|
10
|
+
private foucusedindex;
|
|
11
|
+
private _scrollCallBackTeste;
|
|
12
|
+
selectedindex: string;
|
|
13
|
+
selectedtab: string;
|
|
14
|
+
tabs: string;
|
|
15
|
+
change: EventEmitter<string>;
|
|
16
|
+
handleTabClick(tab: string, index: number): void;
|
|
17
|
+
componentWillRender(): void;
|
|
18
|
+
handleSlotChange(ev: Event): void;
|
|
19
|
+
scrollBackward(): void;
|
|
20
|
+
scrollFoward(): void;
|
|
21
|
+
componentDidRender(): void;
|
|
22
|
+
updateScroll(): void;
|
|
23
|
+
_scrollCallBack: number;
|
|
24
|
+
domScrollHandler(): void;
|
|
25
|
+
setFocusedTab(index: string): void;
|
|
26
|
+
_textMesurement: HTMLCanvasElement;
|
|
27
|
+
getTextWidth(text: string): string;
|
|
28
|
+
setFoucusedParam: (ev: KeyboardEvent) => void;
|
|
29
|
+
setFoucusedBtn(visible: boolean, paramater: string): void;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|