@comercti/react-components-hmg 0.23.8 → 0.23.10
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/comerc-style-guide.cjs.js +5 -5
- package/comerc-style-guide.es.js +1208 -1182
- package/comerc-style-guide.umd.js +5 -5
- package/index.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -279,9 +279,11 @@ dropdownRef: HTMLDivElement[];
|
|
|
279
279
|
|
|
280
280
|
declare const __VLS_component_7: DefineComponent<IDropzone, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
281
281
|
"update:modelValue": (file: FileItem | File | FileItem[]) => any;
|
|
282
|
+
delete: (files: FileItem | File | FileItem[]) => any;
|
|
282
283
|
updateFiles: (file: FileItem[]) => any;
|
|
283
284
|
}, string, PublicProps, Readonly<IDropzone> & Readonly<{
|
|
284
285
|
"onUpdate:modelValue"?: (file: FileItem | File | FileItem[]) => any;
|
|
286
|
+
onDelete?: (files: FileItem | File | FileItem[]) => any;
|
|
285
287
|
onUpdateFiles?: (file: FileItem[]) => any;
|
|
286
288
|
}>, {
|
|
287
289
|
invalid: boolean;
|
|
@@ -305,6 +307,7 @@ errorLabel: string;
|
|
|
305
307
|
successLabel: string;
|
|
306
308
|
tertiaryVariantTitle: string;
|
|
307
309
|
showUploadedFile: boolean;
|
|
310
|
+
showRemoveButton: boolean;
|
|
308
311
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
309
312
|
inputFile: HTMLInputElement;
|
|
310
313
|
}, HTMLDivElement>;
|
|
@@ -1938,8 +1941,10 @@ contoured: boolean;
|
|
|
1938
1941
|
|
|
1939
1942
|
declare const _default_22: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1940
1943
|
"update:modelValue": (valor: string) => any;
|
|
1944
|
+
change: (valor: string) => any;
|
|
1941
1945
|
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
1942
1946
|
"onUpdate:modelValue"?: (valor: string) => any;
|
|
1947
|
+
onChange?: (valor: string) => any;
|
|
1943
1948
|
}>, {
|
|
1944
1949
|
invalid: boolean;
|
|
1945
1950
|
disabled: boolean;
|
|
@@ -2203,6 +2208,10 @@ declare interface IDropzone {
|
|
|
2203
2208
|
reserveSpaceFeedback?: boolean;
|
|
2204
2209
|
/** Se deve mostrar o arquivo enviado */
|
|
2205
2210
|
showUploadedFile?: boolean;
|
|
2211
|
+
/** Sinaliza que pode remover o arquivo */
|
|
2212
|
+
canRemoveFile?: boolean;
|
|
2213
|
+
/** Exibi o botão de remover arquivo */
|
|
2214
|
+
showRemoveButton?: boolean;
|
|
2206
2215
|
}
|
|
2207
2216
|
|
|
2208
2217
|
declare interface IItems {
|