@comercti/react-components 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/comerc-style-guide.cjs.js +15 -15
- package/comerc-style-guide.es.js +2555 -2485
- package/comerc-style-guide.umd.js +36 -36
- package/index.d.ts +9 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ loading: boolean;
|
|
|
44
44
|
loadingType: "spinner" | "semi-circle" | "dots";
|
|
45
45
|
truncated: boolean;
|
|
46
46
|
copyable: boolean;
|
|
47
|
-
editable: boolean;
|
|
48
47
|
editColumnStyle: {
|
|
49
48
|
fields: string[];
|
|
50
49
|
style?: Record<string, string>;
|
|
@@ -332,6 +331,7 @@ sendRemovedFile: boolean;
|
|
|
332
331
|
tertiaryVariantTitle: string;
|
|
333
332
|
showUploadedFile: boolean;
|
|
334
333
|
showRemoveButton: boolean;
|
|
334
|
+
showRemoveButtonPerFile: Record<string, boolean>;
|
|
335
335
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
336
336
|
inputFile: HTMLInputElement;
|
|
337
337
|
}, HTMLDivElement>;
|
|
@@ -342,12 +342,12 @@ valorSemMascara: Ref<string | number, string | number>;
|
|
|
342
342
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
343
343
|
"update:modelValue": (value: string | number | CustomEvent<any>) => any;
|
|
344
344
|
change: (value: string | number | CustomEvent<any>) => any;
|
|
345
|
-
input: (value:
|
|
345
|
+
input: (value: Event) => any;
|
|
346
346
|
blur: (value: string | number | CustomEvent<any>) => any;
|
|
347
347
|
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
348
348
|
"onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
|
|
349
349
|
onChange?: (value: string | number | CustomEvent<any>) => any;
|
|
350
|
-
onInput?: (value:
|
|
350
|
+
onInput?: (value: Event) => any;
|
|
351
351
|
onBlur?: (value: string | number | CustomEvent<any>) => any;
|
|
352
352
|
}>, {
|
|
353
353
|
invalid: boolean;
|
|
@@ -1844,6 +1844,10 @@ declare type DataTableProps = {
|
|
|
1844
1844
|
*
|
|
1845
1845
|
* width?: string
|
|
1846
1846
|
*
|
|
1847
|
+
* editableField?: {
|
|
1848
|
+
* type: InputType | 'boolean'
|
|
1849
|
+
* mask?: string | string[]
|
|
1850
|
+
* }
|
|
1847
1851
|
*/
|
|
1848
1852
|
headers: Header[];
|
|
1849
1853
|
/** Ativa a opção de selecinar os conteúdos da tabela */
|
|
@@ -1874,8 +1878,6 @@ declare type DataTableProps = {
|
|
|
1874
1878
|
paginationStyle?: string;
|
|
1875
1879
|
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
|
|
1876
1880
|
copyable?: boolean;
|
|
1877
|
-
/** Habilita a funcionalidade de editar o conteúdo da célula ao clicar */
|
|
1878
|
-
editable?: boolean;
|
|
1879
1881
|
/** Configurações para estilizar colunas editáveis */
|
|
1880
1882
|
editColumnStyle?: {
|
|
1881
1883
|
fields: string[];
|
|
@@ -2286,6 +2288,8 @@ declare interface IDropzone {
|
|
|
2286
2288
|
removableFileName?: string;
|
|
2287
2289
|
/** Exibi o botão de remover arquivo */
|
|
2288
2290
|
showRemoveButton?: boolean;
|
|
2291
|
+
/** Exibi o botão de remover arquivo para cada arquivo */
|
|
2292
|
+
showRemoveButtonPerFile?: Record<string, boolean>;
|
|
2289
2293
|
}
|
|
2290
2294
|
|
|
2291
2295
|
declare interface IFields {
|