@comercti/vue-components 0.18.0 → 0.21.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 +32 -29
- package/comerc-style-guide.es.js +4077 -3051
- package/comerc-style-guide.umd.js +32 -29
- package/index.d.ts +24 -15
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -152,8 +152,11 @@ showCloseButton: boolean;
|
|
|
152
152
|
|
|
153
153
|
declare const __VLS_component_22: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
154
154
|
focus: boolean;
|
|
155
|
-
location: "
|
|
156
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
155
|
+
location: "top" | "bottom" | "left" | "right";
|
|
156
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
157
|
+
activatorRef: HTMLDivElement;
|
|
158
|
+
tooltipRef: HTMLDivElement;
|
|
159
|
+
}, any>;
|
|
157
160
|
|
|
158
161
|
declare const __VLS_component_23: DefineComponent<__VLS_Props_31, {
|
|
159
162
|
rootRef: Ref<HTMLElement, HTMLElement>;
|
|
@@ -336,6 +339,8 @@ declare type __VLS_Props_10 = {
|
|
|
336
339
|
maxFileSize?: number;
|
|
337
340
|
/** habilita a opção de selecionar múltiplos arquivos */
|
|
338
341
|
selectAll?: boolean;
|
|
342
|
+
/** Mensagem personalizada de tipos de arquivos */
|
|
343
|
+
customMessage?: string[];
|
|
339
344
|
/** limpa a lista de arquivos */
|
|
340
345
|
clear: boolean;
|
|
341
346
|
};
|
|
@@ -460,6 +465,8 @@ declare type __VLS_Props_16 = {
|
|
|
460
465
|
isSearch?: boolean;
|
|
461
466
|
/** Se true inicializa o menu aberto */
|
|
462
467
|
isOpen?: boolean;
|
|
468
|
+
/** Título do menu */
|
|
469
|
+
title?: string;
|
|
463
470
|
};
|
|
464
471
|
|
|
465
472
|
declare type __VLS_Props_17 = {
|
|
@@ -586,11 +593,8 @@ declare type __VLS_Props_27 = {
|
|
|
586
593
|
};
|
|
587
594
|
|
|
588
595
|
declare type __VLS_Props_28 = {
|
|
589
|
-
/** Texto do tooltip */
|
|
590
596
|
text: string;
|
|
591
|
-
|
|
592
|
-
location: 'left' | 'top' | 'right' | 'bottom';
|
|
593
|
-
/** Ativa o tooltip quando o elemento estiver em foco */
|
|
597
|
+
location?: 'top' | 'bottom' | 'left' | 'right';
|
|
594
598
|
focus?: boolean;
|
|
595
599
|
};
|
|
596
600
|
|
|
@@ -1083,15 +1087,14 @@ declare function __VLS_template_21(): {
|
|
|
1083
1087
|
|
|
1084
1088
|
declare function __VLS_template_22(): {
|
|
1085
1089
|
attrs: Partial<{}>;
|
|
1086
|
-
slots:
|
|
1087
|
-
|
|
1088
|
-
activator: () => VNode[];
|
|
1089
|
-
}> & {
|
|
1090
|
-
/** Permite passar qualquer elemento como ativador do tooltip */
|
|
1091
|
-
activator: () => VNode[];
|
|
1090
|
+
slots: {
|
|
1091
|
+
activator?(_: {}): any;
|
|
1092
1092
|
};
|
|
1093
|
-
refs: {
|
|
1094
|
-
|
|
1093
|
+
refs: {
|
|
1094
|
+
activatorRef: HTMLDivElement;
|
|
1095
|
+
tooltipRef: HTMLDivElement;
|
|
1096
|
+
};
|
|
1097
|
+
rootEl: any;
|
|
1095
1098
|
};
|
|
1096
1099
|
|
|
1097
1100
|
declare function __VLS_template_23(): {
|
|
@@ -1578,7 +1581,10 @@ multiple: boolean;
|
|
|
1578
1581
|
maxFile: number;
|
|
1579
1582
|
maxFileSize: number;
|
|
1580
1583
|
selectAll: boolean;
|
|
1581
|
-
|
|
1584
|
+
customMessage: string[];
|
|
1585
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1586
|
+
inputFile: HTMLInputElement;
|
|
1587
|
+
}, HTMLDivElement>;
|
|
1582
1588
|
|
|
1583
1589
|
export declare const CeFilterGroup: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1584
1590
|
|
|
@@ -1624,6 +1630,7 @@ toggleMenu: (clicado: boolean) => any;
|
|
|
1624
1630
|
onRedirect?: (item: SubMenu | ItensMenu_2) => any;
|
|
1625
1631
|
onToggleMenu?: (clicado: boolean) => any;
|
|
1626
1632
|
}>, {
|
|
1633
|
+
title: string;
|
|
1627
1634
|
itemsSearch: ItensMenu_2[];
|
|
1628
1635
|
isHome: boolean;
|
|
1629
1636
|
isSearch: boolean;
|
|
@@ -1802,6 +1809,8 @@ declare type DataTableProps = {
|
|
|
1802
1809
|
loadingType?: 'spinner' | 'semi-circle' | 'dots';
|
|
1803
1810
|
/** Define se o texto das células será truncado */
|
|
1804
1811
|
truncated?: boolean;
|
|
1812
|
+
/** String com as diretivas tailwind a serem aplicadas ao slot pagination */
|
|
1813
|
+
paginationStyle?: string;
|
|
1805
1814
|
};
|
|
1806
1815
|
|
|
1807
1816
|
export declare const disableCeLoading: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/vue-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"description": "",
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@popperjs/core": "^2.11.8",
|
|
13
14
|
"@wdns/vue-code-block": "^2.3.5",
|
|
14
15
|
"date-fns": "^4.1.0",
|
|
15
16
|
"highlight.js": "^11.11.1",
|