@sankhyalabs/ezui 1.1.37 → 1.1.41
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-button_16.cjs.entry.js +318 -207
- package/dist/cjs/ez-dialog.cjs.entry.js +4 -4
- package/dist/cjs/ez-popup.cjs.entry.js +3 -3
- package/dist/cjs/ez-toast.cjs.entry.js +37 -0
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +18 -8
- package/dist/collection/components/ez-dialog/ez-dialog.js +16 -12
- package/dist/collection/components/ez-form/assets/trash-can-outline.svg +3 -0
- package/dist/collection/components/ez-form/ez-form.js +9 -0
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +2 -1
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +1 -5
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +2 -3
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +6 -3
- package/dist/collection/components/ez-popup/ez-popup.js +5 -5
- package/dist/collection/components/ez-search/ez-search.js +9 -7
- package/dist/collection/components/ez-toast/ez-toast.css +108 -0
- package/dist/collection/components/ez-toast/ez-toast.js +113 -0
- package/dist/collection/components/ez-upload/RemoteFile.js +89 -0
- package/dist/collection/components/ez-upload/ez-upload.css +16 -1
- package/dist/collection/components/ez-upload/ez-upload.js +246 -296
- package/dist/collection/utils/Application.js +34 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +364 -219
- package/dist/esm/ez-button_16.entry.js +318 -207
- package/dist/esm/ez-dialog.entry.js +4 -4
- package/dist/esm/ez-popup.entry.js +3 -3
- package/dist/esm/ez-toast.entry.js +33 -0
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/assets/trash-can-outline.svg +3 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-1ff02df6.entry.js +1 -0
- package/dist/ezui/p-4a87d740.entry.js +1 -0
- package/dist/ezui/p-c3b18332.entry.js +1 -0
- package/dist/ezui/p-e9784201.entry.js +1 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +2 -1
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +3 -3
- package/dist/types/components/ez-form/ez-form.d.ts +2 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +1 -1
- package/dist/types/components/ez-search/ez-search.d.ts +1 -1
- package/dist/types/components/ez-toast/ez-toast.d.ts +17 -0
- package/dist/types/components/ez-upload/RemoteFile.d.ts +14 -0
- package/dist/types/components/ez-upload/ez-upload.d.ts +49 -58
- package/dist/types/components.d.ts +95 -61
- package/dist/types/utils/Application.d.ts +6 -0
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-40fe4f51.entry.js +0 -1
- package/dist/ezui/p-964a1871.entry.js +0 -1
- package/dist/ezui/p-caa50ec5.entry.js +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class EzToast {
|
|
2
|
+
private container;
|
|
3
|
+
/**
|
|
4
|
+
* Mensagem exibida no componente.
|
|
5
|
+
*/
|
|
6
|
+
message: string;
|
|
7
|
+
/**
|
|
8
|
+
* Controla o tempo de exibição do componente em milissegundos.
|
|
9
|
+
*/
|
|
10
|
+
fadeTime: number;
|
|
11
|
+
/**
|
|
12
|
+
* Adiciona ícone de check no componente.
|
|
13
|
+
*/
|
|
14
|
+
useIcon: boolean;
|
|
15
|
+
show(): Promise<void>;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EzFile } from "./ez-upload";
|
|
2
|
+
export default class RemoteFile {
|
|
3
|
+
file: File;
|
|
4
|
+
size: number;
|
|
5
|
+
name: string;
|
|
6
|
+
progress: number;
|
|
7
|
+
private _aborted;
|
|
8
|
+
private _uploadingXhr;
|
|
9
|
+
constructor(file: File);
|
|
10
|
+
abortUpload(): void;
|
|
11
|
+
isUploading(): boolean;
|
|
12
|
+
upload(server: string, headers: Map<string, string>, updateCallBack: Function): Promise<Array<EzFile>>;
|
|
13
|
+
delete(item: EzFile, server: string, headers: Map<string, string>): Promise<boolean>;
|
|
14
|
+
}
|
|
@@ -1,83 +1,74 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
|
|
2
|
+
import RemoteFile from './RemoteFile';
|
|
3
|
+
export interface EzFile {
|
|
3
4
|
name: string;
|
|
4
5
|
size: number;
|
|
5
|
-
strSize?: string;
|
|
6
|
-
downloadUrl?: string;
|
|
7
6
|
lastModifiedDate?: Date;
|
|
8
|
-
|
|
9
|
-
xhr?: XMLHttpRequest;
|
|
10
|
-
error?: boolean;
|
|
7
|
+
downloadURL?: string;
|
|
11
8
|
properties?: Array<any>;
|
|
12
9
|
}
|
|
13
10
|
export declare class EzUpload {
|
|
11
|
+
private _host;
|
|
12
|
+
private _dropZone;
|
|
13
|
+
private _fileInput;
|
|
14
|
+
private _filePointers;
|
|
15
|
+
private _requestHeaders;
|
|
16
|
+
private _updatingValue;
|
|
14
17
|
/**
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
maxFileSize: number;
|
|
18
|
-
/**
|
|
19
|
-
* Headers da requisição XMLHttpRequest que será montada para fazer o upload
|
|
20
|
-
*/
|
|
21
|
-
headers: any;
|
|
22
|
-
/**
|
|
23
|
-
* Define o tempo permitido para realizar a requisição, após esse período é disparado um erro
|
|
18
|
+
* Label é o título do campo
|
|
24
19
|
*/
|
|
25
|
-
|
|
20
|
+
label: string;
|
|
26
21
|
/**
|
|
27
|
-
*
|
|
22
|
+
* Deixa o campo disponível ou não para digitação.
|
|
28
23
|
*/
|
|
29
|
-
|
|
24
|
+
enabled: boolean;
|
|
30
25
|
/**
|
|
31
|
-
* Define
|
|
26
|
+
* Define o tamanho máximo (em bytes) de cada arquivo que pode ser transferido
|
|
32
27
|
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Define a URL do servidor de destino
|
|
36
|
-
*/
|
|
37
|
-
target: string;
|
|
28
|
+
maxfilesize: number;
|
|
38
29
|
/**
|
|
39
|
-
*
|
|
30
|
+
* Define um limite para a quantidade de arquivos
|
|
40
31
|
*/
|
|
41
|
-
|
|
32
|
+
maxfiles: number;
|
|
42
33
|
/**
|
|
43
|
-
*
|
|
34
|
+
* Headers para a requisição Http
|
|
44
35
|
*/
|
|
45
|
-
|
|
46
|
-
isValid: boolean;
|
|
47
|
-
fileName: string;
|
|
48
|
-
}>;
|
|
36
|
+
requestheaders: any;
|
|
49
37
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
38
|
+
* Define a URL de upload
|
|
39
|
+
*/
|
|
40
|
+
urlupload: string;
|
|
53
41
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
isValid: boolean;
|
|
58
|
-
fileName: string;
|
|
59
|
-
}>;
|
|
42
|
+
* Define a URL do deleção
|
|
43
|
+
*/
|
|
44
|
+
urldelete: string;
|
|
60
45
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
addFiles(files:
|
|
71
|
-
addFile(file:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
46
|
+
* Lista de arquivos que sera tráfegada entre cliente e servidor
|
|
47
|
+
*/
|
|
48
|
+
value: Array<EzFile>;
|
|
49
|
+
/**
|
|
50
|
+
* Evento emitido ao finalizar o upload de um arquivo
|
|
51
|
+
*/
|
|
52
|
+
ezChange: EventEmitter<Array<EzFile>>;
|
|
53
|
+
updatePointers(newValue: Array<EzFile>): void;
|
|
54
|
+
normalizeRequestHeaders(): void;
|
|
55
|
+
addFiles(files: Array<File>): Promise<void>;
|
|
56
|
+
addFile(file: File): Promise<void>;
|
|
57
|
+
doAddFile(file: File): Promise<void>;
|
|
58
|
+
finishUpload(ezFile: EzFile): void;
|
|
59
|
+
updateValue(): void;
|
|
60
|
+
buildProgressId(uploading: RemoteFile): string;
|
|
61
|
+
updateFeedback(uf: RemoteFile): void;
|
|
62
|
+
validateFile(file: File): boolean;
|
|
63
|
+
showError(message: string): void;
|
|
76
64
|
formatBytes(bytes: any, decimals?: number): string;
|
|
77
65
|
onFileInputChange(event: any): void;
|
|
78
|
-
|
|
66
|
+
isRemoteFile(item: EzFile | RemoteFile): boolean;
|
|
67
|
+
removeFromList(name: any): void;
|
|
68
|
+
removeFile(name: any): void;
|
|
79
69
|
componentDidLoad(): void;
|
|
80
|
-
|
|
81
|
-
removeFileFromServer(name: any, donwloadURL: any): void;
|
|
70
|
+
openFilesDialog(): void;
|
|
82
71
|
render(): any;
|
|
72
|
+
buildFooter(): any;
|
|
73
|
+
buildFileItem(item: EzFile | RemoteFile): any;
|
|
83
74
|
}
|
|
@@ -9,7 +9,7 @@ import { ClickOptions } from "puppeteer";
|
|
|
9
9
|
import { Option } from "./components/ez-combo-box/ez-combo-box";
|
|
10
10
|
import { Form } from "./components/ez-form/subcomponents/FormMetadata";
|
|
11
11
|
import { Option as Option1 } from "./components/ez-combo-box/ez-combo-box";
|
|
12
|
-
import {
|
|
12
|
+
import { EzFile } from "./components/ez-upload/ez-upload";
|
|
13
13
|
export namespace Components {
|
|
14
14
|
interface EzActionChip {
|
|
15
15
|
/**
|
|
@@ -130,7 +130,7 @@ export namespace Components {
|
|
|
130
130
|
/**
|
|
131
131
|
* Valor selecionado no campo
|
|
132
132
|
*/
|
|
133
|
-
"value": Option;
|
|
133
|
+
"value": Option|string;
|
|
134
134
|
}
|
|
135
135
|
interface EzDateInput {
|
|
136
136
|
/**
|
|
@@ -159,7 +159,11 @@ export namespace Components {
|
|
|
159
159
|
* Define se o componente terá o visual de erro ou de aviso
|
|
160
160
|
*/
|
|
161
161
|
"critical": boolean;
|
|
162
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Define o título do componente.
|
|
164
|
+
*/
|
|
165
|
+
"ezTitle": string;
|
|
166
|
+
"handleButtonClick": (selectedOption: boolean) => Promise<void>;
|
|
163
167
|
/**
|
|
164
168
|
* Menssagem exibida dentro do Dialog
|
|
165
169
|
*/
|
|
@@ -172,10 +176,6 @@ export namespace Components {
|
|
|
172
176
|
* Define o ícone a ser exibido ao lado do título do
|
|
173
177
|
*/
|
|
174
178
|
"personalizedIconPath": string;
|
|
175
|
-
/**
|
|
176
|
-
* Define o título do componente.
|
|
177
|
-
*/
|
|
178
|
-
"title": string;
|
|
179
179
|
}
|
|
180
180
|
interface EzForm {
|
|
181
181
|
"changeFieldValue": (dataUnit: string, fieldName: string, value: any) => Promise<void>;
|
|
@@ -362,6 +362,10 @@ export namespace Components {
|
|
|
362
362
|
"updatePosition": (top?: string, left?: string, bottom?: string, right?: string) => Promise<void>;
|
|
363
363
|
}
|
|
364
364
|
interface EzPopup {
|
|
365
|
+
/**
|
|
366
|
+
* Define se o título do componente.
|
|
367
|
+
*/
|
|
368
|
+
"ezTitle": string;
|
|
365
369
|
/**
|
|
366
370
|
* Controla a exibição do componente.
|
|
367
371
|
*/
|
|
@@ -370,10 +374,6 @@ export namespace Components {
|
|
|
370
374
|
* Define o width que o componente deve ter, seguindo o grid system.
|
|
371
375
|
*/
|
|
372
376
|
"size": string;
|
|
373
|
-
/**
|
|
374
|
-
* Define se o título do componente.
|
|
375
|
-
*/
|
|
376
|
-
"title": string;
|
|
377
377
|
/**
|
|
378
378
|
* Define o componente utilizará um cabeçalho com botão de fechamento.
|
|
379
379
|
*/
|
|
@@ -407,7 +407,7 @@ export namespace Components {
|
|
|
407
407
|
/**
|
|
408
408
|
* Código do registro selecionado
|
|
409
409
|
*/
|
|
410
|
-
"value": Option;
|
|
410
|
+
"value": Option|string;
|
|
411
411
|
}
|
|
412
412
|
interface EzTabselector {
|
|
413
413
|
"selectedindex": string;
|
|
@@ -524,36 +524,55 @@ export namespace Components {
|
|
|
524
524
|
*/
|
|
525
525
|
"viewValue": string;
|
|
526
526
|
}
|
|
527
|
+
interface EzToast {
|
|
528
|
+
/**
|
|
529
|
+
* Controla o tempo de exibição do componente em milissegundos.
|
|
530
|
+
*/
|
|
531
|
+
"fadeTime": number;
|
|
532
|
+
/**
|
|
533
|
+
* Mensagem exibida no componente.
|
|
534
|
+
*/
|
|
535
|
+
"message": string;
|
|
536
|
+
"show": () => Promise<void>;
|
|
537
|
+
/**
|
|
538
|
+
* Adiciona ícone de check no componente.
|
|
539
|
+
*/
|
|
540
|
+
"useIcon": boolean;
|
|
541
|
+
}
|
|
527
542
|
interface EzUpload {
|
|
528
|
-
"addFiles": (files:
|
|
543
|
+
"addFiles": (files: Array<File>) => Promise<void>;
|
|
529
544
|
/**
|
|
530
|
-
*
|
|
545
|
+
* Deixa o campo disponível ou não para digitação.
|
|
531
546
|
*/
|
|
532
|
-
"
|
|
547
|
+
"enabled": boolean;
|
|
533
548
|
/**
|
|
534
|
-
*
|
|
549
|
+
* Label é o título do campo
|
|
535
550
|
*/
|
|
536
|
-
"
|
|
551
|
+
"label": string;
|
|
537
552
|
/**
|
|
538
|
-
* Define
|
|
553
|
+
* Define um limite para a quantidade de arquivos
|
|
539
554
|
*/
|
|
540
|
-
"
|
|
555
|
+
"maxfiles": number;
|
|
541
556
|
/**
|
|
542
|
-
* Define
|
|
557
|
+
* Define o tamanho máximo (em bytes) de cada arquivo que pode ser transferido
|
|
543
558
|
*/
|
|
544
|
-
"
|
|
559
|
+
"maxfilesize": number;
|
|
545
560
|
/**
|
|
546
|
-
*
|
|
561
|
+
* Headers para a requisição Http
|
|
547
562
|
*/
|
|
548
|
-
"
|
|
563
|
+
"requestheaders": any;
|
|
549
564
|
/**
|
|
550
|
-
*
|
|
565
|
+
* Define a URL do deleção
|
|
551
566
|
*/
|
|
552
|
-
"
|
|
567
|
+
"urldelete": string;
|
|
553
568
|
/**
|
|
554
|
-
* Define
|
|
569
|
+
* Define a URL de upload
|
|
555
570
|
*/
|
|
556
|
-
"
|
|
571
|
+
"urlupload": string;
|
|
572
|
+
/**
|
|
573
|
+
* Lista de arquivos que sera tráfegada entre cliente e servidor
|
|
574
|
+
*/
|
|
575
|
+
"value": Array<EzFile>;
|
|
557
576
|
}
|
|
558
577
|
interface FormMetadata {
|
|
559
578
|
"autoload": boolean;
|
|
@@ -693,6 +712,12 @@ declare global {
|
|
|
693
712
|
prototype: HTMLEzTimeInputElement;
|
|
694
713
|
new (): HTMLEzTimeInputElement;
|
|
695
714
|
};
|
|
715
|
+
interface HTMLEzToastElement extends Components.EzToast, HTMLStencilElement {
|
|
716
|
+
}
|
|
717
|
+
var HTMLEzToastElement: {
|
|
718
|
+
prototype: HTMLEzToastElement;
|
|
719
|
+
new (): HTMLEzToastElement;
|
|
720
|
+
};
|
|
696
721
|
interface HTMLEzUploadElement extends Components.EzUpload, HTMLStencilElement {
|
|
697
722
|
}
|
|
698
723
|
var HTMLEzUploadElement: {
|
|
@@ -733,6 +758,7 @@ declare global {
|
|
|
733
758
|
"ez-text-area": HTMLEzTextAreaElement;
|
|
734
759
|
"ez-text-input": HTMLEzTextInputElement;
|
|
735
760
|
"ez-time-input": HTMLEzTimeInputElement;
|
|
761
|
+
"ez-toast": HTMLEzToastElement;
|
|
736
762
|
"ez-upload": HTMLEzUploadElement;
|
|
737
763
|
"form-metadata": HTMLFormMetadataElement;
|
|
738
764
|
"place-holder": HTMLPlaceHolderElement;
|
|
@@ -849,7 +875,7 @@ declare namespace LocalJSX {
|
|
|
849
875
|
/**
|
|
850
876
|
* Valor selecionado no campo
|
|
851
877
|
*/
|
|
852
|
-
"value"?: Option;
|
|
878
|
+
"value"?: Option|string;
|
|
853
879
|
}
|
|
854
880
|
interface EzDateInput {
|
|
855
881
|
/**
|
|
@@ -879,6 +905,10 @@ declare namespace LocalJSX {
|
|
|
879
905
|
* Define se o componente terá o visual de erro ou de aviso
|
|
880
906
|
*/
|
|
881
907
|
"critical"?: boolean;
|
|
908
|
+
/**
|
|
909
|
+
* Define o título do componente.
|
|
910
|
+
*/
|
|
911
|
+
"ezTitle"?: string;
|
|
882
912
|
/**
|
|
883
913
|
* Menssagem exibida dentro do Dialog
|
|
884
914
|
*/
|
|
@@ -886,7 +916,7 @@ declare namespace LocalJSX {
|
|
|
886
916
|
/**
|
|
887
917
|
* Evento disparado ao clicar em algum dos botões de confirmação.
|
|
888
918
|
*/
|
|
889
|
-
"onEzChange"?: (event: CustomEvent<
|
|
919
|
+
"onEzChange"?: (event: CustomEvent<boolean>) => void;
|
|
890
920
|
/**
|
|
891
921
|
* Controla a exibição do componente
|
|
892
922
|
*/
|
|
@@ -895,10 +925,6 @@ declare namespace LocalJSX {
|
|
|
895
925
|
* Define o ícone a ser exibido ao lado do título do
|
|
896
926
|
*/
|
|
897
927
|
"personalizedIconPath"?: string;
|
|
898
|
-
/**
|
|
899
|
-
* Define o título do componente.
|
|
900
|
-
*/
|
|
901
|
-
"title"?: string;
|
|
902
928
|
}
|
|
903
929
|
interface EzForm {
|
|
904
930
|
"enabled"?: boolean;
|
|
@@ -1058,6 +1084,10 @@ declare namespace LocalJSX {
|
|
|
1058
1084
|
"top"?: string;
|
|
1059
1085
|
}
|
|
1060
1086
|
interface EzPopup {
|
|
1087
|
+
/**
|
|
1088
|
+
* Define se o título do componente.
|
|
1089
|
+
*/
|
|
1090
|
+
"ezTitle"?: string;
|
|
1061
1091
|
/**
|
|
1062
1092
|
* Evento disparado ao clicar no botão de fechar.
|
|
1063
1093
|
*/
|
|
@@ -1070,10 +1100,6 @@ declare namespace LocalJSX {
|
|
|
1070
1100
|
* Define o width que o componente deve ter, seguindo o grid system.
|
|
1071
1101
|
*/
|
|
1072
1102
|
"size"?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* Define se o título do componente.
|
|
1075
|
-
*/
|
|
1076
|
-
"title"?: string;
|
|
1077
1103
|
/**
|
|
1078
1104
|
* Define o componente utilizará um cabeçalho com botão de fechamento.
|
|
1079
1105
|
*/
|
|
@@ -1112,7 +1138,7 @@ declare namespace LocalJSX {
|
|
|
1112
1138
|
/**
|
|
1113
1139
|
* Código do registro selecionado
|
|
1114
1140
|
*/
|
|
1115
|
-
"value"?: Option;
|
|
1141
|
+
"value"?: Option|string;
|
|
1116
1142
|
}
|
|
1117
1143
|
interface EzTabselector {
|
|
1118
1144
|
"onChange"?: (event: CustomEvent<string>) => void;
|
|
@@ -1208,51 +1234,57 @@ declare namespace LocalJSX {
|
|
|
1208
1234
|
*/
|
|
1209
1235
|
"viewValue"?: string;
|
|
1210
1236
|
}
|
|
1211
|
-
interface
|
|
1237
|
+
interface EzToast {
|
|
1212
1238
|
/**
|
|
1213
|
-
*
|
|
1239
|
+
* Controla o tempo de exibição do componente em milissegundos.
|
|
1214
1240
|
*/
|
|
1215
|
-
"
|
|
1241
|
+
"fadeTime"?: number;
|
|
1216
1242
|
/**
|
|
1217
|
-
*
|
|
1243
|
+
* Mensagem exibida no componente.
|
|
1218
1244
|
*/
|
|
1219
|
-
"
|
|
1245
|
+
"message"?: string;
|
|
1220
1246
|
/**
|
|
1221
|
-
*
|
|
1247
|
+
* Adiciona ícone de check no componente.
|
|
1222
1248
|
*/
|
|
1223
|
-
"
|
|
1249
|
+
"useIcon"?: boolean;
|
|
1250
|
+
}
|
|
1251
|
+
interface EzUpload {
|
|
1224
1252
|
/**
|
|
1225
|
-
*
|
|
1253
|
+
* Deixa o campo disponível ou não para digitação.
|
|
1226
1254
|
*/
|
|
1227
|
-
"
|
|
1255
|
+
"enabled"?: boolean;
|
|
1228
1256
|
/**
|
|
1229
|
-
*
|
|
1257
|
+
* Label é o título do campo
|
|
1230
1258
|
*/
|
|
1231
|
-
"
|
|
1259
|
+
"label"?: string;
|
|
1232
1260
|
/**
|
|
1233
|
-
*
|
|
1261
|
+
* Define um limite para a quantidade de arquivos
|
|
1234
1262
|
*/
|
|
1235
|
-
"
|
|
1263
|
+
"maxfiles"?: number;
|
|
1236
1264
|
/**
|
|
1237
|
-
*
|
|
1265
|
+
* Define o tamanho máximo (em bytes) de cada arquivo que pode ser transferido
|
|
1238
1266
|
*/
|
|
1239
|
-
"
|
|
1267
|
+
"maxfilesize"?: number;
|
|
1240
1268
|
/**
|
|
1241
|
-
*
|
|
1269
|
+
* Evento emitido ao finalizar o upload de um arquivo
|
|
1242
1270
|
*/
|
|
1243
|
-
"
|
|
1271
|
+
"onEzChange"?: (event: CustomEvent<Array<EzFile>>) => void;
|
|
1244
1272
|
/**
|
|
1245
|
-
*
|
|
1273
|
+
* Headers para a requisição Http
|
|
1246
1274
|
*/
|
|
1247
|
-
"
|
|
1275
|
+
"requestheaders"?: any;
|
|
1248
1276
|
/**
|
|
1249
|
-
*
|
|
1277
|
+
* Define a URL do deleção
|
|
1250
1278
|
*/
|
|
1251
|
-
"
|
|
1279
|
+
"urldelete"?: string;
|
|
1252
1280
|
/**
|
|
1253
|
-
* Define
|
|
1281
|
+
* Define a URL de upload
|
|
1282
|
+
*/
|
|
1283
|
+
"urlupload"?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Lista de arquivos que sera tráfegada entre cliente e servidor
|
|
1254
1286
|
*/
|
|
1255
|
-
"
|
|
1287
|
+
"value"?: Array<EzFile>;
|
|
1256
1288
|
}
|
|
1257
1289
|
interface FormMetadata {
|
|
1258
1290
|
"autoload"?: boolean;
|
|
@@ -1286,6 +1318,7 @@ declare namespace LocalJSX {
|
|
|
1286
1318
|
"ez-text-area": EzTextArea;
|
|
1287
1319
|
"ez-text-input": EzTextInput;
|
|
1288
1320
|
"ez-time-input": EzTimeInput;
|
|
1321
|
+
"ez-toast": EzToast;
|
|
1289
1322
|
"ez-upload": EzUpload;
|
|
1290
1323
|
"form-metadata": FormMetadata;
|
|
1291
1324
|
"place-holder": PlaceHolder;
|
|
@@ -1316,6 +1349,7 @@ declare module "@stencil/core" {
|
|
|
1316
1349
|
"ez-text-area": LocalJSX.EzTextArea & JSXBase.HTMLAttributes<HTMLEzTextAreaElement>;
|
|
1317
1350
|
"ez-text-input": LocalJSX.EzTextInput & JSXBase.HTMLAttributes<HTMLEzTextInputElement>;
|
|
1318
1351
|
"ez-time-input": LocalJSX.EzTimeInput & JSXBase.HTMLAttributes<HTMLEzTimeInputElement>;
|
|
1352
|
+
"ez-toast": LocalJSX.EzToast & JSXBase.HTMLAttributes<HTMLEzToastElement>;
|
|
1319
1353
|
"ez-upload": LocalJSX.EzUpload & JSXBase.HTMLAttributes<HTMLEzUploadElement>;
|
|
1320
1354
|
"form-metadata": LocalJSX.FormMetadata & JSXBase.HTMLAttributes<HTMLFormMetadataElement>;
|
|
1321
1355
|
"place-holder": LocalJSX.PlaceHolder & JSXBase.HTMLAttributes<HTMLPlaceHolderElement>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default class Application {
|
|
2
|
+
private static showDialog;
|
|
3
|
+
static alert(title: string, message: string, icon?: string): Promise<boolean>;
|
|
4
|
+
static confirm(title: string, message: string, icon?: string, critical?: boolean): Promise<boolean>;
|
|
5
|
+
static info(message: string): Promise<void>;
|
|
6
|
+
}
|
package/package.json
CHANGED
package/react/components.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare const EzTabselector: import("react").ForwardRefExoticComponent<JS
|
|
|
21
21
|
export declare const EzTextArea: import("react").ForwardRefExoticComponent<JSX.EzTextArea & Pick<import("react").HTMLAttributes<HTMLEzTextAreaElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzTextAreaElement>>;
|
|
22
22
|
export declare const EzTextInput: import("react").ForwardRefExoticComponent<JSX.EzTextInput & Pick<import("react").HTMLAttributes<HTMLEzTextInputElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzTextInputElement>>;
|
|
23
23
|
export declare const EzTimeInput: import("react").ForwardRefExoticComponent<JSX.EzTimeInput & Pick<import("react").HTMLAttributes<HTMLEzTimeInputElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzTimeInputElement>>;
|
|
24
|
+
export declare const EzToast: import("react").ForwardRefExoticComponent<JSX.EzToast & Pick<import("react").HTMLAttributes<HTMLEzToastElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzToastElement>>;
|
|
24
25
|
export declare const EzUpload: import("react").ForwardRefExoticComponent<JSX.EzUpload & Pick<import("react").HTMLAttributes<HTMLEzUploadElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEzUploadElement>>;
|
|
25
26
|
export declare const FormMetadata: import("react").ForwardRefExoticComponent<JSX.FormMetadata & Pick<import("react").HTMLAttributes<HTMLFormMetadataElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLFormMetadataElement>>;
|
|
26
27
|
export declare const PlaceHolder: import("react").ForwardRefExoticComponent<JSX.PlaceHolder & Pick<import("react").HTMLAttributes<HTMLPlaceHolderElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPlaceHolderElement>>;
|
package/react/components.js
CHANGED
|
@@ -23,6 +23,7 @@ export const EzTabselector = /*@__PURE__*/ createReactComponent('ez-tabselector'
|
|
|
23
23
|
export const EzTextArea = /*@__PURE__*/ createReactComponent('ez-text-area');
|
|
24
24
|
export const EzTextInput = /*@__PURE__*/ createReactComponent('ez-text-input');
|
|
25
25
|
export const EzTimeInput = /*@__PURE__*/ createReactComponent('ez-time-input');
|
|
26
|
+
export const EzToast = /*@__PURE__*/ createReactComponent('ez-toast');
|
|
26
27
|
export const EzUpload = /*@__PURE__*/ createReactComponent('ez-upload');
|
|
27
28
|
export const FormMetadata = /*@__PURE__*/ createReactComponent('form-metadata');
|
|
28
29
|
export const PlaceHolder = /*@__PURE__*/ createReactComponent('place-holder');
|