@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,49 +1,49 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class EzTextArea {
|
|
3
|
-
private _inputElem;
|
|
4
|
-
private _labelElem;
|
|
5
|
-
private _messageBoxElem;
|
|
6
|
-
private _hostElement;
|
|
7
|
-
ezChange: EventEmitter<string>;
|
|
8
|
-
/**
|
|
9
|
-
* Label é o título do campo
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
14
|
-
*/
|
|
15
|
-
value: string;
|
|
16
|
-
/**
|
|
17
|
-
* Deixa o campo disponível ou não para digitação.
|
|
18
|
-
*/
|
|
19
|
-
enabled: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Deixa o componente em modo "carregando".
|
|
22
|
-
*/
|
|
23
|
-
loading: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
26
|
-
*/
|
|
27
|
-
errormessage: string;
|
|
28
|
-
/**
|
|
29
|
-
* Ajusta o numero de linhas e consequentemente o height do textarea. Valor default: 4
|
|
30
|
-
*/
|
|
31
|
-
rows: number;
|
|
32
|
-
showError(): void;
|
|
33
|
-
updateInputValue(): void;
|
|
34
|
-
adjustFloatingLabel(): void;
|
|
35
|
-
isFocused(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Faz o foco no componente de input
|
|
38
|
-
*/
|
|
39
|
-
setFocus(): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* Remove o foco no componente de input
|
|
42
|
-
*/
|
|
43
|
-
setBlur(): Promise<void>;
|
|
44
|
-
handleFocusout(): void;
|
|
45
|
-
handleChange(): void;
|
|
46
|
-
handleFocus(): void;
|
|
47
|
-
componentDidLoad(): void;
|
|
48
|
-
render(): any;
|
|
49
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EzTextArea {
|
|
3
|
+
private _inputElem;
|
|
4
|
+
private _labelElem;
|
|
5
|
+
private _messageBoxElem;
|
|
6
|
+
private _hostElement;
|
|
7
|
+
ezChange: EventEmitter<string>;
|
|
8
|
+
/**
|
|
9
|
+
* Label é o título do campo
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
14
|
+
*/
|
|
15
|
+
value: string;
|
|
16
|
+
/**
|
|
17
|
+
* Deixa o campo disponível ou não para digitação.
|
|
18
|
+
*/
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Deixa o componente em modo "carregando".
|
|
22
|
+
*/
|
|
23
|
+
loading: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
26
|
+
*/
|
|
27
|
+
errormessage: string;
|
|
28
|
+
/**
|
|
29
|
+
* Ajusta o numero de linhas e consequentemente o height do textarea. Valor default: 4
|
|
30
|
+
*/
|
|
31
|
+
rows: number;
|
|
32
|
+
showError(): void;
|
|
33
|
+
updateInputValue(): void;
|
|
34
|
+
adjustFloatingLabel(): void;
|
|
35
|
+
isFocused(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Faz o foco no componente de input
|
|
38
|
+
*/
|
|
39
|
+
setFocus(): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Remove o foco no componente de input
|
|
42
|
+
*/
|
|
43
|
+
setBlur(): Promise<void>;
|
|
44
|
+
handleFocusout(): void;
|
|
45
|
+
handleChange(): void;
|
|
46
|
+
handleFocus(): void;
|
|
47
|
+
componentDidLoad(): void;
|
|
48
|
+
render(): any;
|
|
49
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class EzTextInput {
|
|
3
|
-
private _inputElem;
|
|
4
|
-
private _labelElem;
|
|
5
|
-
private _messageBoxElem;
|
|
6
|
-
private _lastValidValue;
|
|
7
|
-
private _maskFormatter;
|
|
8
|
-
private _hostElement;
|
|
9
|
-
ezChange: EventEmitter<string>;
|
|
10
|
-
/**
|
|
11
|
-
* Label é o título do campo
|
|
12
|
-
*/
|
|
13
|
-
label: string;
|
|
14
|
-
/**
|
|
15
|
-
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
16
|
-
*/
|
|
17
|
-
value: string;
|
|
18
|
-
/**
|
|
19
|
-
* Deixa o campo disponível ou não para digitação.
|
|
20
|
-
*/
|
|
21
|
-
enabled: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Deixa o componente em modo "carregando".
|
|
24
|
-
*/
|
|
25
|
-
loading: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
28
|
-
*/
|
|
29
|
-
errormessage: string;
|
|
30
|
-
/**
|
|
31
|
-
* Faz com que o componente só aceite números
|
|
32
|
-
*/
|
|
33
|
-
onlynumber: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Aplica uma máscara no conteúdo conforme um o padrão estabelecido
|
|
36
|
-
*/
|
|
37
|
-
mask: string;
|
|
38
|
-
/**
|
|
39
|
-
* Restringe o que o usuário pode digitar. Cada caractere digitado será testado
|
|
40
|
-
* e deve estar contido nessa string ou será descartado.
|
|
41
|
-
*/
|
|
42
|
-
restrict: string;
|
|
43
|
-
showError(): void;
|
|
44
|
-
prepareMask(): void;
|
|
45
|
-
updateInputValue(): void;
|
|
46
|
-
adjustFloatingLabel(): void;
|
|
47
|
-
isFocused(): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Faz o foco no componente de input
|
|
50
|
-
*/
|
|
51
|
-
setFocus(): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Remove o foco no componente de input
|
|
54
|
-
*/
|
|
55
|
-
setBlur(): Promise<void>;
|
|
56
|
-
handleFocusout(): void;
|
|
57
|
-
isValidValue(value: string): boolean;
|
|
58
|
-
handleChange(): void;
|
|
59
|
-
handleSlotChange(ev: Event): void;
|
|
60
|
-
doFocus(): void;
|
|
61
|
-
componentDidLoad(): void;
|
|
62
|
-
componentWillLoad(): void;
|
|
63
|
-
render(): any;
|
|
64
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EzTextInput {
|
|
3
|
+
private _inputElem;
|
|
4
|
+
private _labelElem;
|
|
5
|
+
private _messageBoxElem;
|
|
6
|
+
private _lastValidValue;
|
|
7
|
+
private _maskFormatter;
|
|
8
|
+
private _hostElement;
|
|
9
|
+
ezChange: EventEmitter<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Label é o título do campo
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
16
|
+
*/
|
|
17
|
+
value: string;
|
|
18
|
+
/**
|
|
19
|
+
* Deixa o campo disponível ou não para digitação.
|
|
20
|
+
*/
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Deixa o componente em modo "carregando".
|
|
24
|
+
*/
|
|
25
|
+
loading: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
28
|
+
*/
|
|
29
|
+
errormessage: string;
|
|
30
|
+
/**
|
|
31
|
+
* Faz com que o componente só aceite números
|
|
32
|
+
*/
|
|
33
|
+
onlynumber: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Aplica uma máscara no conteúdo conforme um o padrão estabelecido
|
|
36
|
+
*/
|
|
37
|
+
mask: string;
|
|
38
|
+
/**
|
|
39
|
+
* Restringe o que o usuário pode digitar. Cada caractere digitado será testado
|
|
40
|
+
* e deve estar contido nessa string ou será descartado.
|
|
41
|
+
*/
|
|
42
|
+
restrict: string;
|
|
43
|
+
showError(): void;
|
|
44
|
+
prepareMask(): void;
|
|
45
|
+
updateInputValue(): void;
|
|
46
|
+
adjustFloatingLabel(): void;
|
|
47
|
+
isFocused(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Faz o foco no componente de input
|
|
50
|
+
*/
|
|
51
|
+
setFocus(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Remove o foco no componente de input
|
|
54
|
+
*/
|
|
55
|
+
setBlur(): Promise<void>;
|
|
56
|
+
handleFocusout(): void;
|
|
57
|
+
isValidValue(value: string): boolean;
|
|
58
|
+
handleChange(): void;
|
|
59
|
+
handleSlotChange(ev: Event): void;
|
|
60
|
+
doFocus(): void;
|
|
61
|
+
componentDidLoad(): void;
|
|
62
|
+
componentWillLoad(): void;
|
|
63
|
+
render(): any;
|
|
64
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export declare class EzTimeInput {
|
|
2
|
-
private _inputElem;
|
|
3
|
-
private _labelElem;
|
|
4
|
-
private _iconElement;
|
|
5
|
-
private _messageBoxElem;
|
|
6
|
-
private _maskFormatter;
|
|
7
|
-
/**
|
|
8
|
-
* Label é o título do campo
|
|
9
|
-
*/
|
|
10
|
-
label: string;
|
|
11
|
-
/**
|
|
12
|
-
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
13
|
-
*/
|
|
14
|
-
viewValue: string;
|
|
15
|
-
/**
|
|
16
|
-
* Valor que será transmitido para o back-end.
|
|
17
|
-
*/
|
|
18
|
-
value: number;
|
|
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
|
-
* Define se o componente irá ou não considerar os segundos
|
|
29
|
-
*/
|
|
30
|
-
showSeconds: boolean;
|
|
31
|
-
showError(): void;
|
|
32
|
-
prepareMask(): void;
|
|
33
|
-
adjustFloatingLabel(): void;
|
|
34
|
-
onValueChanged(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Faz o foco no componente de input
|
|
37
|
-
*/
|
|
38
|
-
setFocus(): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Remove o foco no componente de input
|
|
41
|
-
*/
|
|
42
|
-
setBlur(): Promise<void>;
|
|
43
|
-
setInputElemnt(input: HTMLInputElement): void;
|
|
44
|
-
handleFocusout(): void;
|
|
45
|
-
prepareValue(value: string): void;
|
|
46
|
-
clearField(): void;
|
|
47
|
-
handleChange(): void;
|
|
48
|
-
adjustIconStyle(): void;
|
|
49
|
-
doFocus(): void;
|
|
50
|
-
componentDidLoad(): void;
|
|
51
|
-
componentWillLoad(): void;
|
|
52
|
-
render(): any;
|
|
53
|
-
}
|
|
1
|
+
export declare class EzTimeInput {
|
|
2
|
+
private _inputElem;
|
|
3
|
+
private _labelElem;
|
|
4
|
+
private _iconElement;
|
|
5
|
+
private _messageBoxElem;
|
|
6
|
+
private _maskFormatter;
|
|
7
|
+
/**
|
|
8
|
+
* Label é o título do campo
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
13
|
+
*/
|
|
14
|
+
viewValue: string;
|
|
15
|
+
/**
|
|
16
|
+
* Valor que será transmitido para o back-end.
|
|
17
|
+
*/
|
|
18
|
+
value: number;
|
|
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
|
+
* Define se o componente irá ou não considerar os segundos
|
|
29
|
+
*/
|
|
30
|
+
showSeconds: boolean;
|
|
31
|
+
showError(): void;
|
|
32
|
+
prepareMask(): void;
|
|
33
|
+
adjustFloatingLabel(): void;
|
|
34
|
+
onValueChanged(): void;
|
|
35
|
+
/**
|
|
36
|
+
* Faz o foco no componente de input
|
|
37
|
+
*/
|
|
38
|
+
setFocus(): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Remove o foco no componente de input
|
|
41
|
+
*/
|
|
42
|
+
setBlur(): Promise<void>;
|
|
43
|
+
setInputElemnt(input: HTMLInputElement): void;
|
|
44
|
+
handleFocusout(): void;
|
|
45
|
+
prepareValue(value: string): void;
|
|
46
|
+
clearField(): void;
|
|
47
|
+
handleChange(): void;
|
|
48
|
+
adjustIconStyle(): void;
|
|
49
|
+
doFocus(): void;
|
|
50
|
+
componentDidLoad(): void;
|
|
51
|
+
componentWillLoad(): void;
|
|
52
|
+
render(): any;
|
|
53
|
+
}
|
|
@@ -146,11 +146,14 @@ export namespace Components {
|
|
|
146
146
|
}
|
|
147
147
|
interface EzForm {
|
|
148
148
|
"fieldsearchexecutor": string | Function;
|
|
149
|
+
"getChanges": () => Promise<any[]>;
|
|
149
150
|
"loadexecutor": string | Function;
|
|
150
151
|
"metadata": Array<Form>;
|
|
151
152
|
"metadataexecutor": string | Function;
|
|
152
153
|
"removeexecutor": string | Function;
|
|
153
154
|
"saveexecutor": string | Function;
|
|
155
|
+
"slavemode": boolean;
|
|
156
|
+
"validate": () => Promise<boolean>;
|
|
154
157
|
}
|
|
155
158
|
interface EzIcon {
|
|
156
159
|
"href": string;
|
|
@@ -727,6 +730,7 @@ declare namespace LocalJSX {
|
|
|
727
730
|
"metadataexecutor"?: string | Function;
|
|
728
731
|
"removeexecutor"?: string | Function;
|
|
729
732
|
"saveexecutor"?: string | Function;
|
|
733
|
+
"slavemode"?: boolean;
|
|
730
734
|
}
|
|
731
735
|
interface EzIcon {
|
|
732
736
|
"href"?: string;
|
|
@@ -769,6 +773,10 @@ declare namespace LocalJSX {
|
|
|
769
773
|
* Define o tamanho do modal devem ser utilizados os tamanhos definidos de colunas como "col-sd-3"
|
|
770
774
|
*/
|
|
771
775
|
"modalsize"?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Um evento disparado quando a propriedade oppened é alterada.
|
|
778
|
+
*/
|
|
779
|
+
"onEzChange"?: (event: CustomEvent<boolean>) => void;
|
|
772
780
|
/**
|
|
773
781
|
* Controle de exibição do Modal
|
|
774
782
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Components, JSX } from './components';
|
|
1
|
+
export { Components, JSX } from './components';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function format(first: string, middle: string, last: string): string;
|
|
2
|
-
export declare function isValidNumber(strValue: string): boolean;
|
|
1
|
+
export declare function format(first: string, middle: string, last: string): string;
|
|
2
|
+
export declare function isValidNumber(strValue: string): boolean;
|
package/loader/cdn.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
export * from '../dist/types/components';
|
|
3
|
+
export interface CustomElementsDefineOptions {
|
|
4
|
+
exclude?: string[];
|
|
5
|
+
resourcesUrl?: string;
|
|
6
|
+
syncQueue?: boolean;
|
|
7
|
+
jmp?: (c: Function) => any;
|
|
8
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
9
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
13
|
+
export declare function applyPolyfills(): Promise<void>;
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
|
|
2
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
3
|
+
export * from '../dist/esm/polyfills/index.js';
|
|
4
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
CHANGED
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@sankhyalabs/ezui",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Biblioteca de componentes Sankhya.",
|
|
5
|
-
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "dist/custom-elements/index.js",
|
|
7
|
-
"es2015": "dist/esm/index.mjs",
|
|
8
|
-
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/custom-elements/index.d.ts",
|
|
10
|
-
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
-
"collection:main": "dist/collection/index.js",
|
|
12
|
-
"unpkg": "dist/ezui/ezui.esm.js",
|
|
13
|
-
"files": [
|
|
14
|
-
"dist/",
|
|
15
|
-
"loader/",
|
|
16
|
-
"react/"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"start.storybook": "start-storybook --ci -c .storybook-dev -s .diststorybook -p $PORT --quiet",
|
|
20
|
-
"start.server": "http-server ./storybook-static -p $PORT",
|
|
21
|
-
"build.sb": "build-storybook",
|
|
22
|
-
"build": "stencil build --docs",
|
|
23
|
-
"build.prod": "stencil build --docs --prod",
|
|
24
|
-
"start": "stencil build --dev --watch --serve",
|
|
25
|
-
"test": "stencil test --spec --e2e",
|
|
26
|
-
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
27
|
-
"generate": "stencil generate",
|
|
28
|
-
"storybook": "npm run start.storybook",
|
|
29
|
-
"build.watch": "stencil build --dev --watch",
|
|
30
|
-
"build.css.docs": " node docscsstask.js",
|
|
31
|
-
"gulp": "gulp default",
|
|
32
|
-
"link": "node link.js",
|
|
33
|
-
"dev": "run-p storybook build.watch gulp",
|
|
34
|
-
"semantic-release": "semantic-release"
|
|
35
|
-
},
|
|
36
|
-
"repository": {
|
|
37
|
-
"type": "git",
|
|
38
|
-
"url": "https://git.sankhya.com.br/sankhyalabs/ez-ui.git"
|
|
39
|
-
},
|
|
40
|
-
"publishConfig": {
|
|
41
|
-
"access": "public"
|
|
42
|
-
},
|
|
43
|
-
"engines": {
|
|
44
|
-
"node": "14.x"
|
|
45
|
-
},
|
|
46
|
-
"author": "",
|
|
47
|
-
"license": "ISC",
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@sankhyalabs/core": "^1.0.18",
|
|
50
|
-
"@sankhyalabs/ez-design": "^1.0.12",
|
|
51
|
-
"@storybook/addon-notes": "^5.3.21",
|
|
52
|
-
"@storybook/html": "^6.1.16",
|
|
53
|
-
"http-server": "^0.12.3",
|
|
54
|
-
"jest": "^26.6.3",
|
|
55
|
-
"redux": "^4.1.0",
|
|
56
|
-
"redux-thunk": "^2.3.0",
|
|
57
|
-
"redux-undo": "^1.0.1",
|
|
58
|
-
"run-p": "0.0.0"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@babel/preset-env": "^7.13.12",
|
|
62
|
-
"@sankhyalabs/docscss": "^1.0.1",
|
|
63
|
-
"@semantic-release/git": "^9.0.0",
|
|
64
|
-
"@semantic-release/gitlab": "^6.1.0",
|
|
65
|
-
"@semantic-release/npm": "^7.1.3",
|
|
66
|
-
"@stencil/core": "^2.4.0",
|
|
67
|
-
"@stencil/react-output-target": "0.0.9",
|
|
68
|
-
"@storybook/addon-knobs": "6.2.9",
|
|
69
|
-
"@types/jest": "^26.0.20",
|
|
70
|
-
"@types/puppeteer": "^5.4.2",
|
|
71
|
-
"gulp": "^4.0.2",
|
|
72
|
-
"gulp-run": "^1.7.1",
|
|
73
|
-
"gulp-watch": "^5.0.1",
|
|
74
|
-
"jest-cli": "^26.6.3",
|
|
75
|
-
"npm-run-all": "^4.1.5",
|
|
76
|
-
"puppeteer": "^5.5.0",
|
|
77
|
-
"semantic-release": "^17.4.3",
|
|
78
|
-
"ws": "^7.4.4"
|
|
79
|
-
},
|
|
80
|
-
"jest": {
|
|
81
|
-
"verbose": true
|
|
82
|
-
},
|
|
83
|
-
"release": {
|
|
84
|
-
"plugins": [
|
|
85
|
-
[
|
|
86
|
-
"@semantic-release/commit-analyzer",
|
|
87
|
-
{
|
|
88
|
-
"preset": "angular",
|
|
89
|
-
"releaseRules": [
|
|
90
|
-
{
|
|
91
|
-
"type": "breaking",
|
|
92
|
-
"scope": "API",
|
|
93
|
-
"release": "major"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"@semantic-release/release-notes-generator",
|
|
99
|
-
[
|
|
100
|
-
"@semantic-release/npm",
|
|
101
|
-
{
|
|
102
|
-
"npmPublish": true
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
[
|
|
106
|
-
"@semantic-release/gitlab",
|
|
107
|
-
{
|
|
108
|
-
"gitlabUrl": "https://git.sankhya.com.br",
|
|
109
|
-
"gitlabApiPathPrefix": "/api/v4"
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@sankhyalabs/ezui",
|
|
3
|
+
"version": "1.1.8",
|
|
4
|
+
"description": "Biblioteca de componentes Sankhya.",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/custom-elements/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.mjs",
|
|
8
|
+
"es2017": "dist/esm/index.mjs",
|
|
9
|
+
"types": "dist/custom-elements/index.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"collection:main": "dist/collection/index.js",
|
|
12
|
+
"unpkg": "dist/ezui/ezui.esm.js",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/",
|
|
15
|
+
"loader/",
|
|
16
|
+
"react/"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start.storybook": "start-storybook --ci -c .storybook-dev -s .diststorybook -p $PORT --quiet",
|
|
20
|
+
"start.server": "http-server ./storybook-static -p $PORT",
|
|
21
|
+
"build.sb": "build-storybook",
|
|
22
|
+
"build": "stencil build --docs",
|
|
23
|
+
"build.prod": "stencil build --docs --prod",
|
|
24
|
+
"start": "stencil build --dev --watch --serve",
|
|
25
|
+
"test": "stencil test --spec --e2e",
|
|
26
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
27
|
+
"generate": "stencil generate",
|
|
28
|
+
"storybook": "npm run start.storybook",
|
|
29
|
+
"build.watch": "stencil build --dev --watch",
|
|
30
|
+
"build.css.docs": " node docscsstask.js",
|
|
31
|
+
"gulp": "gulp default",
|
|
32
|
+
"link": "node link.js",
|
|
33
|
+
"dev": "run-p storybook build.watch gulp",
|
|
34
|
+
"semantic-release": "semantic-release"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://git.sankhya.com.br/sankhyalabs/ez-ui.git"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": "14.x"
|
|
45
|
+
},
|
|
46
|
+
"author": "",
|
|
47
|
+
"license": "ISC",
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@sankhyalabs/core": "^1.0.18",
|
|
50
|
+
"@sankhyalabs/ez-design": "^1.0.12",
|
|
51
|
+
"@storybook/addon-notes": "^5.3.21",
|
|
52
|
+
"@storybook/html": "^6.1.16",
|
|
53
|
+
"http-server": "^0.12.3",
|
|
54
|
+
"jest": "^26.6.3",
|
|
55
|
+
"redux": "^4.1.0",
|
|
56
|
+
"redux-thunk": "^2.3.0",
|
|
57
|
+
"redux-undo": "^1.0.1",
|
|
58
|
+
"run-p": "0.0.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@babel/preset-env": "^7.13.12",
|
|
62
|
+
"@sankhyalabs/docscss": "^1.0.1",
|
|
63
|
+
"@semantic-release/git": "^9.0.0",
|
|
64
|
+
"@semantic-release/gitlab": "^6.1.0",
|
|
65
|
+
"@semantic-release/npm": "^7.1.3",
|
|
66
|
+
"@stencil/core": "^2.4.0",
|
|
67
|
+
"@stencil/react-output-target": "0.0.9",
|
|
68
|
+
"@storybook/addon-knobs": "6.2.9",
|
|
69
|
+
"@types/jest": "^26.0.20",
|
|
70
|
+
"@types/puppeteer": "^5.4.2",
|
|
71
|
+
"gulp": "^4.0.2",
|
|
72
|
+
"gulp-run": "^1.7.1",
|
|
73
|
+
"gulp-watch": "^5.0.1",
|
|
74
|
+
"jest-cli": "^26.6.3",
|
|
75
|
+
"npm-run-all": "^4.1.5",
|
|
76
|
+
"puppeteer": "^5.5.0",
|
|
77
|
+
"semantic-release": "^17.4.3",
|
|
78
|
+
"ws": "^7.4.4"
|
|
79
|
+
},
|
|
80
|
+
"jest": {
|
|
81
|
+
"verbose": true
|
|
82
|
+
},
|
|
83
|
+
"release": {
|
|
84
|
+
"plugins": [
|
|
85
|
+
[
|
|
86
|
+
"@semantic-release/commit-analyzer",
|
|
87
|
+
{
|
|
88
|
+
"preset": "angular",
|
|
89
|
+
"releaseRules": [
|
|
90
|
+
{
|
|
91
|
+
"type": "breaking",
|
|
92
|
+
"scope": "API",
|
|
93
|
+
"release": "major"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"@semantic-release/release-notes-generator",
|
|
99
|
+
[
|
|
100
|
+
"@semantic-release/npm",
|
|
101
|
+
{
|
|
102
|
+
"npmPublish": true
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
[
|
|
106
|
+
"@semantic-release/gitlab",
|
|
107
|
+
{
|
|
108
|
+
"gitlabUrl": "https://git.sankhya.com.br",
|
|
109
|
+
"gitlabApiPathPrefix": "/api/v4"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
}
|