@comercti/vue-components 0.14.0 → 0.18.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 +28 -28
- package/comerc-style-guide.es.js +2809 -2590
- package/comerc-style-guide.umd.js +28 -28
- package/index.d.ts +19 -8
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -231,20 +231,20 @@ rootRef: HTMLDivElement;
|
|
|
231
231
|
}, any>;
|
|
232
232
|
|
|
233
233
|
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {
|
|
234
|
-
/** focus input */
|
|
235
234
|
focus: () => void;
|
|
235
|
+
valorSemMascara: Ref<string | number, string | number>;
|
|
236
236
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
237
237
|
"update:modelValue": (value: string | number | CustomEvent<any>) => any;
|
|
238
238
|
input: (value: string | number | CustomEvent<any>) => any;
|
|
239
|
-
blur: (value:
|
|
239
|
+
blur: (value: string | number | CustomEvent<any>) => any;
|
|
240
240
|
change: (value: string | number | CustomEvent<any>) => any;
|
|
241
241
|
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
242
242
|
"onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
|
|
243
243
|
onInput?: (value: string | number | CustomEvent<any>) => any;
|
|
244
|
-
onBlur?: (value:
|
|
244
|
+
onBlur?: (value: string | number | CustomEvent<any>) => any;
|
|
245
245
|
onChange?: (value: string | number | CustomEvent<any>) => any;
|
|
246
246
|
}>, {
|
|
247
|
-
type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date";
|
|
247
|
+
type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time" | "datetime-local";
|
|
248
248
|
invalid: boolean;
|
|
249
249
|
disabled: boolean;
|
|
250
250
|
reserveSpaceFeedback: boolean;
|
|
@@ -763,11 +763,11 @@ declare type __VLS_Props_8 = {
|
|
|
763
763
|
/** Valor do input para two-way binding (v-model) */
|
|
764
764
|
modelValue?: string | number | null;
|
|
765
765
|
/** Tipo do input (text, password, email, etc) */
|
|
766
|
-
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date';
|
|
766
|
+
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
|
|
767
767
|
/** ID única do input */
|
|
768
768
|
id?: string;
|
|
769
|
-
/** Máscara do input (
|
|
770
|
-
mask?:
|
|
769
|
+
/** Máscara do input (Exemplo de formato esperado: ###.###.###-##)*/
|
|
770
|
+
mask?: string | string[];
|
|
771
771
|
/** Texto do placeholder do input */
|
|
772
772
|
placeholder?: string;
|
|
773
773
|
/** Texto da label exibida acima do input */
|
|
@@ -1770,7 +1770,17 @@ declare interface Coluna {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
1772
|
declare type DataTableProps = {
|
|
1773
|
-
/** Array utilizado no header da tabela
|
|
1773
|
+
/** Array utilizado no header da tabela
|
|
1774
|
+
*
|
|
1775
|
+
* text: string
|
|
1776
|
+
*
|
|
1777
|
+
* value: string | ((item: Record<string, unknown>) => string)
|
|
1778
|
+
*
|
|
1779
|
+
* sortable?: boolean
|
|
1780
|
+
*
|
|
1781
|
+
* width?: string
|
|
1782
|
+
*
|
|
1783
|
+
*/
|
|
1774
1784
|
headers: Header[];
|
|
1775
1785
|
/** Ativa a opção de selecinar os conteúdos da tabela */
|
|
1776
1786
|
selectable?: boolean;
|
|
@@ -1817,6 +1827,7 @@ declare type Header = {
|
|
|
1817
1827
|
text: string;
|
|
1818
1828
|
value: string | ((item: Record<string, unknown>) => string);
|
|
1819
1829
|
sortable?: boolean;
|
|
1830
|
+
width?: string;
|
|
1820
1831
|
};
|
|
1821
1832
|
|
|
1822
1833
|
declare interface IBreadcrumbsProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/vue-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@wdns/vue-code-block": "^2.3.5",
|
|
14
14
|
"date-fns": "^4.1.0",
|
|
15
15
|
"highlight.js": "^11.11.1",
|
|
16
|
+
"maska": "^3.2.0",
|
|
16
17
|
"prismjs": "^1.30.0",
|
|
17
18
|
"react": "^17.0.2",
|
|
18
19
|
"react-dom": "^17.0.2",
|