@comercti/vue-components 0.33.0 → 0.37.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 +14 -14
- package/comerc-style-guide.es.js +2962 -2891
- package/comerc-style-guide.umd.js +36 -36
- package/index.d.ts +17 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ loading: boolean;
|
|
|
43
43
|
loadingType: "spinner" | "semi-circle" | "dots";
|
|
44
44
|
truncated: boolean;
|
|
45
45
|
copyable: boolean;
|
|
46
|
-
editable: boolean;
|
|
47
46
|
editColumnStyle: {
|
|
48
47
|
fields: string[];
|
|
49
48
|
style?: Record<string, string>;
|
|
@@ -287,12 +286,12 @@ focus: () => void;
|
|
|
287
286
|
valorSemMascara: Ref<string | number, string | number>;
|
|
288
287
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
289
288
|
"update:modelValue": (value: string | number | CustomEvent<any>) => any;
|
|
290
|
-
input: (value:
|
|
289
|
+
input: (value: Event) => any;
|
|
291
290
|
blur: (value: string | number | CustomEvent<any>) => any;
|
|
292
291
|
change: (value: string | number | CustomEvent<any>) => any;
|
|
293
292
|
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
294
293
|
"onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
|
|
295
|
-
onInput?: (value:
|
|
294
|
+
onInput?: (value: Event) => any;
|
|
296
295
|
onBlur?: (value: string | number | CustomEvent<any>) => any;
|
|
297
296
|
onChange?: (value: string | number | CustomEvent<any>) => any;
|
|
298
297
|
}>, {
|
|
@@ -355,6 +354,7 @@ sendRemovedFile: boolean;
|
|
|
355
354
|
tertiaryVariantTitle: string;
|
|
356
355
|
showUploadedFile: boolean;
|
|
357
356
|
showRemoveButton: boolean;
|
|
357
|
+
showRemoveButtonPerFile: Record<string, boolean>;
|
|
358
358
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
359
359
|
inputFile: HTMLInputElement;
|
|
360
360
|
}, HTMLDivElement>;
|
|
@@ -1408,9 +1408,17 @@ declare function __VLS_template_7(): {
|
|
|
1408
1408
|
slots: Readonly<{
|
|
1409
1409
|
/** Slot para o conteúdo do file upload */
|
|
1410
1410
|
content: () => VNode[];
|
|
1411
|
+
/** Slot para ações relacionadas a cada arquivo (ex: botões de download, etc) */
|
|
1412
|
+
actions?: (scope: {
|
|
1413
|
+
file: FileItem;
|
|
1414
|
+
}) => VNode[];
|
|
1411
1415
|
}> & {
|
|
1412
1416
|
/** Slot para o conteúdo do file upload */
|
|
1413
1417
|
content: () => VNode[];
|
|
1418
|
+
/** Slot para ações relacionadas a cada arquivo (ex: botões de download, etc) */
|
|
1419
|
+
actions?: (scope: {
|
|
1420
|
+
file: FileItem;
|
|
1421
|
+
}) => VNode[];
|
|
1414
1422
|
};
|
|
1415
1423
|
refs: {
|
|
1416
1424
|
inputFile: HTMLInputElement;
|
|
@@ -2025,6 +2033,10 @@ declare type DataTableProps = {
|
|
|
2025
2033
|
*
|
|
2026
2034
|
* width?: string
|
|
2027
2035
|
*
|
|
2036
|
+
* editableField?: {
|
|
2037
|
+
* type: InputType | 'boolean'
|
|
2038
|
+
* mask?: string | string[]
|
|
2039
|
+
* }
|
|
2028
2040
|
*/
|
|
2029
2041
|
headers: Header[];
|
|
2030
2042
|
/** Ativa a opção de selecinar os conteúdos da tabela */
|
|
@@ -2055,8 +2067,6 @@ declare type DataTableProps = {
|
|
|
2055
2067
|
paginationStyle?: string;
|
|
2056
2068
|
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
|
|
2057
2069
|
copyable?: boolean;
|
|
2058
|
-
/** Habilita a funcionalidade de editar o conteúdo da célula ao clicar */
|
|
2059
|
-
editable?: boolean;
|
|
2060
2070
|
/** Configurações para estilizar colunas editáveis */
|
|
2061
2071
|
editColumnStyle?: {
|
|
2062
2072
|
fields: string[];
|
|
@@ -2185,6 +2195,8 @@ declare interface IDropzone {
|
|
|
2185
2195
|
removableFileName?: string;
|
|
2186
2196
|
/** Exibi o botão de remover arquivo */
|
|
2187
2197
|
showRemoveButton?: boolean;
|
|
2198
|
+
/** Exibi o botão de remover arquivo para cada arquivo */
|
|
2199
|
+
showRemoveButtonPerFile?: Record<string, boolean>;
|
|
2188
2200
|
}
|
|
2189
2201
|
|
|
2190
2202
|
declare interface IFields {
|