@c3labsbr/vuetify-elements 1.2.6 → 1.3.2
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/dist/components/atoms/CInput/CInput.vue.d.ts +336 -0
- package/dist/components/atoms/CInput/CInput.vue.d.ts.map +1 -0
- package/dist/components/atoms/CInput/CInputNumber.vue.d.ts +266 -0
- package/dist/components/atoms/CInput/CInputNumber.vue.d.ts.map +1 -0
- package/dist/components/atoms/CInput/CInputSelect.vue.d.ts +335 -0
- package/dist/components/atoms/CInput/CInputSelect.vue.d.ts.map +1 -0
- package/dist/components/atoms/CInput/CInputText.vue.d.ts +266 -0
- package/dist/components/atoms/CInput/CInputText.vue.d.ts.map +1 -0
- package/dist/components/atoms/CInput/props.d.ts +181 -0
- package/dist/components/atoms/CInput/props.d.ts.map +1 -0
- package/dist/components/atoms/CInput/select-props.d.ts +53 -0
- package/dist/components/atoms/CInput/select-props.d.ts.map +1 -0
- package/dist/components/atoms/CircularLoading.vue.d.ts +3 -0
- package/dist/components/atoms/CircularLoading.vue.d.ts.map +1 -0
- package/dist/components/atoms/FormCardTitle.vue.d.ts +15 -0
- package/dist/components/atoms/FormCardTitle.vue.d.ts.map +1 -0
- package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts +3 -3
- package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts.map +1 -1
- package/dist/components/molecules/FormTitle.vue.d.ts +34 -0
- package/dist/components/molecules/FormTitle.vue.d.ts.map +1 -0
- package/dist/components/organisms/FormActionsButtons.vue.d.ts +24 -0
- package/dist/components/organisms/FormActionsButtons.vue.d.ts.map +1 -0
- package/dist/components/organisms/FormButtonOptionsField.vue.d.ts +20 -0
- package/dist/components/organisms/FormButtonOptionsField.vue.d.ts.map +1 -0
- package/dist/components/organisms/FormFields.vue.d.ts +47 -0
- package/dist/components/organisms/FormFields.vue.d.ts.map +1 -0
- package/dist/components/organisms/GenericHeaderActions.vue.d.ts +1 -1
- package/dist/components/organisms/GenericHeaderActions.vue.d.ts.map +1 -1
- package/dist/components/organisms/GenericItemActions.vue.d.ts +1 -1
- package/dist/components/organisms/GenericItemActions.vue.d.ts.map +1 -1
- package/dist/components/organisms/GenericTableHeader.vue.d.ts +3 -3
- package/dist/components/organisms/GenericTablePagination.vue.d.ts +3 -3
- package/dist/components/organisms/GenericTablePagination.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableCell.vue.d.ts +1 -1
- package/dist/components/organisms/TableCell.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts +28 -0
- package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts.map +1 -0
- package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts +1 -1
- package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableHeader.vue.d.ts +9 -4
- package/dist/components/organisms/TableHeader.vue.d.ts.map +1 -1
- package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts +2 -0
- package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts.map +1 -0
- package/dist/components/organisms/__tests__/GenericHeaderActions.spec.d.ts.map +1 -0
- package/dist/components/organisms/__tests__/GenericItemActions.spec.d.ts.map +1 -0
- package/dist/components/organisms/__tests__/GenericTableHeader.spec.d.ts.map +1 -0
- package/dist/components/templates/GenericForm.vue.d.ts +159 -0
- package/dist/components/templates/GenericForm.vue.d.ts.map +1 -0
- package/dist/components/templates/GenericFormFlat.vue.d.ts +149 -0
- package/dist/components/templates/GenericFormFlat.vue.d.ts.map +1 -0
- package/dist/components/templates/GenericTable.vue.d.ts +7 -7
- package/dist/components/templates/GenericTable.vue.d.ts.map +1 -1
- package/dist/components/templates/form-props.d.ts +102 -0
- package/dist/components/templates/form-props.d.ts.map +1 -0
- package/dist/composables/useAutoTableResize.d.ts +24 -0
- package/dist/composables/useAutoTableResize.d.ts.map +1 -0
- package/dist/helpers/__tests__/currency-formatters.spec.d.ts +2 -0
- package/dist/helpers/__tests__/currency-formatters.spec.d.ts.map +1 -0
- package/dist/helpers/__tests__/format-hour.spec.d.ts +2 -0
- package/dist/helpers/__tests__/format-hour.spec.d.ts.map +1 -0
- package/dist/helpers/__tests__/formatters.spec.d.ts.map +1 -0
- package/dist/helpers/__tests__/masks.spec.d.ts.map +1 -0
- package/dist/helpers/currency-formatters.d.ts +31 -0
- package/dist/helpers/currency-formatters.d.ts.map +1 -0
- package/dist/helpers/exceptions.d.ts +6 -0
- package/dist/helpers/exceptions.d.ts.map +1 -0
- package/dist/helpers/format-hour.d.ts +2 -0
- package/dist/helpers/format-hour.d.ts.map +1 -0
- package/dist/helpers/formatters.d.ts +22 -35
- package/dist/helpers/formatters.d.ts.map +1 -1
- package/dist/helpers/masks.d.ts.map +1 -1
- package/dist/helpers/string-utils.d.ts +7 -0
- package/dist/helpers/string-utils.d.ts.map +1 -0
- package/dist/helpers/toastify.d.ts +17 -0
- package/dist/helpers/toastify.d.ts.map +1 -0
- package/dist/helpers/useFieldHelpers.d.ts +11 -0
- package/dist/helpers/useFieldHelpers.d.ts.map +1 -0
- package/dist/{vuetify-elements.css → index.css} +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/infra/i18n/en_us/words.json.d.ts +8 -1
- package/dist/infra/i18n/interfaces.d.ts +7 -0
- package/dist/infra/i18n/interfaces.d.ts.map +1 -1
- package/dist/infra/i18n/pt_br/words.json.d.ts +8 -1
- package/dist/interfaces/genericForm.d.ts +72 -0
- package/dist/interfaces/genericForm.d.ts.map +1 -0
- package/dist/interfaces/{app.d.ts → genericTable.d.ts} +3 -1
- package/dist/interfaces/genericTable.d.ts.map +1 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/utils/export.d.ts +1 -1
- package/dist/utils/export.d.ts.map +1 -1
- package/dist/vuetify-elements.cjs.js +4 -4
- package/dist/vuetify-elements.es.js +5755 -4506
- package/package.json +8 -3
- package/dist/components/organisms/GenericHeaderActions.spec.d.ts.map +0 -1
- package/dist/components/organisms/GenericItemActions.spec.d.ts.map +0 -1
- package/dist/components/organisms/GenericTableHeader.spec.d.ts.map +0 -1
- package/dist/helpers/formatters.spec.d.ts.map +0 -1
- package/dist/helpers/masks.spec.d.ts.map +0 -1
- package/dist/interfaces/app.d.ts.map +0 -1
- /package/dist/components/organisms/{GenericHeaderActions.spec.d.ts → __tests__/GenericHeaderActions.spec.d.ts} +0 -0
- /package/dist/components/organisms/{GenericItemActions.spec.d.ts → __tests__/GenericItemActions.spec.d.ts} +0 -0
- /package/dist/components/organisms/{GenericTableHeader.spec.d.ts → __tests__/GenericTableHeader.spec.d.ts} +0 -0
- /package/dist/helpers/{formatters.spec.d.ts → __tests__/formatters.spec.d.ts} +0 -0
- /package/dist/helpers/{masks.spec.d.ts → __tests__/masks.spec.d.ts} +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { IField } from '../../interfaces/genericForm';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
custom?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
+
isDialogVisible: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: boolean;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
fields: {
|
|
18
|
+
type: () => IField[];
|
|
19
|
+
required: boolean;
|
|
20
|
+
default: () => any[];
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
subtitle: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: boolean;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
initialData: {
|
|
32
|
+
type: () => import('./form-props').IInitialData;
|
|
33
|
+
required: boolean;
|
|
34
|
+
default: () => {};
|
|
35
|
+
};
|
|
36
|
+
minWidth: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: boolean;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
width: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: boolean;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
required: boolean;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
noActionButtons: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
required: boolean;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
loading: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
required: boolean;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
addBtnText: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: boolean;
|
|
64
|
+
default: any;
|
|
65
|
+
};
|
|
66
|
+
notClearOnClose: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
required: boolean;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
"update:isDialogVisible": (value: boolean) => void;
|
|
73
|
+
submit: (data: any) => void;
|
|
74
|
+
cancel: () => void;
|
|
75
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
|
+
isDialogVisible: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
required: boolean;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
fields: {
|
|
82
|
+
type: () => IField[];
|
|
83
|
+
required: boolean;
|
|
84
|
+
default: () => any[];
|
|
85
|
+
};
|
|
86
|
+
title: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
required: boolean;
|
|
89
|
+
};
|
|
90
|
+
subtitle: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
required: boolean;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
initialData: {
|
|
96
|
+
type: () => import('./form-props').IInitialData;
|
|
97
|
+
required: boolean;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
100
|
+
minWidth: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
required: boolean;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
width: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
required: boolean;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
disabled: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
required: boolean;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
noActionButtons: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
required: boolean;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
loading: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
required: boolean;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
addBtnText: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
required: boolean;
|
|
128
|
+
default: any;
|
|
129
|
+
};
|
|
130
|
+
notClearOnClose: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
required: boolean;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
}>> & {
|
|
136
|
+
onSubmit?: (data: any) => any;
|
|
137
|
+
onCancel?: () => any;
|
|
138
|
+
"onUpdate:isDialogVisible"?: (value: boolean) => any;
|
|
139
|
+
}, {
|
|
140
|
+
loading: boolean;
|
|
141
|
+
disabled: boolean;
|
|
142
|
+
minWidth: string;
|
|
143
|
+
width: string;
|
|
144
|
+
subtitle: string;
|
|
145
|
+
addBtnText: string;
|
|
146
|
+
fields: IField[];
|
|
147
|
+
noActionButtons: boolean;
|
|
148
|
+
isDialogVisible: boolean;
|
|
149
|
+
initialData: {};
|
|
150
|
+
notClearOnClose: boolean;
|
|
151
|
+
}, {}>;
|
|
152
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
153
|
+
export default _default;
|
|
154
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
155
|
+
new (): {
|
|
156
|
+
$slots: S;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=GenericForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericForm.vue"],"names":[],"mappings":"AAoDA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAgCtD,iBAAS,cAAc;WAyIT,OAAO,IAA6B;;wBAVrB,GAAG;;;;EAe/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { IField } from '../../interfaces/genericForm';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
hideCancelButton: BooleanConstructor;
|
|
4
|
+
noActionButtons: BooleanConstructor;
|
|
5
|
+
isDialogVisible: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
required: boolean;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
fields: {
|
|
11
|
+
type: () => IField[];
|
|
12
|
+
required: boolean;
|
|
13
|
+
default: () => any[];
|
|
14
|
+
};
|
|
15
|
+
title: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: boolean;
|
|
18
|
+
};
|
|
19
|
+
subtitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: boolean;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
initialData: {
|
|
25
|
+
type: () => import('./form-props').IInitialData;
|
|
26
|
+
required: boolean;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
minWidth: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: boolean;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
width: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: boolean;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: boolean;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
loading: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
addBtnText: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: boolean;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
notClearOnClose: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
required: boolean;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: import('vue').PropType<any>;
|
|
61
|
+
};
|
|
62
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
cancel: (...args: any[]) => void;
|
|
64
|
+
submit: (...args: any[]) => void;
|
|
65
|
+
updateField: (...args: any[]) => void;
|
|
66
|
+
updateSearch: (...args: any[]) => void;
|
|
67
|
+
"update:modelValue": (value: any) => void;
|
|
68
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
69
|
+
hideCancelButton: BooleanConstructor;
|
|
70
|
+
noActionButtons: BooleanConstructor;
|
|
71
|
+
isDialogVisible: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
required: boolean;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
fields: {
|
|
77
|
+
type: () => IField[];
|
|
78
|
+
required: boolean;
|
|
79
|
+
default: () => any[];
|
|
80
|
+
};
|
|
81
|
+
title: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: boolean;
|
|
84
|
+
};
|
|
85
|
+
subtitle: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: boolean;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
initialData: {
|
|
91
|
+
type: () => import('./form-props').IInitialData;
|
|
92
|
+
required: boolean;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
minWidth: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
required: boolean;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
width: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
required: boolean;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
required: boolean;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
loading: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
required: boolean;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
addBtnText: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
required: boolean;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
120
|
+
notClearOnClose: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
required: boolean;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
modelValue: {
|
|
126
|
+
type: import('vue').PropType<any>;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
130
|
+
onSubmit?: (...args: any[]) => any;
|
|
131
|
+
onCancel?: (...args: any[]) => any;
|
|
132
|
+
onUpdateField?: (...args: any[]) => any;
|
|
133
|
+
onUpdateSearch?: (...args: any[]) => any;
|
|
134
|
+
}, {
|
|
135
|
+
loading: boolean;
|
|
136
|
+
disabled: boolean;
|
|
137
|
+
minWidth: string;
|
|
138
|
+
width: string;
|
|
139
|
+
subtitle: string;
|
|
140
|
+
hideCancelButton: boolean;
|
|
141
|
+
addBtnText: string;
|
|
142
|
+
fields: IField[];
|
|
143
|
+
noActionButtons: boolean;
|
|
144
|
+
isDialogVisible: boolean;
|
|
145
|
+
initialData: {};
|
|
146
|
+
notClearOnClose: boolean;
|
|
147
|
+
}, {}>;
|
|
148
|
+
export default _default;
|
|
149
|
+
//# sourceMappingURL=GenericFormFlat.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericFormFlat.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericFormFlat.vue"],"names":[],"mappings":"AA+GA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoQtD,wBAiBG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPagination, IHeader, FilterType } from '../../interfaces/
|
|
1
|
+
import { IPagination, IHeader, FilterType } from '../../interfaces/genericTable';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
keyWord: string;
|
|
4
4
|
noItemsText: any;
|
|
@@ -35,12 +35,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
|
|
|
35
35
|
"update:headers": (value: IHeader[]) => void;
|
|
36
36
|
"update:items": (value: any) => void;
|
|
37
37
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
38
|
-
"onUpdate:options"?: (
|
|
39
|
-
"onUpdate:pagination"?: (
|
|
40
|
-
onCreateItem?: (
|
|
41
|
-
"onUpdate:search"?: (
|
|
42
|
-
"onUpdate:headers"?: (
|
|
43
|
-
"onUpdate:items"?: (
|
|
38
|
+
"onUpdate:options"?: (...args: any[]) => any;
|
|
39
|
+
"onUpdate:pagination"?: (value: IPagination) => any;
|
|
40
|
+
onCreateItem?: (...args: any[]) => any;
|
|
41
|
+
"onUpdate:search"?: (...args: any[]) => any;
|
|
42
|
+
"onUpdate:headers"?: (value: IHeader[]) => any;
|
|
43
|
+
"onUpdate:items"?: (value: any) => any;
|
|
44
44
|
}, {}, {}>;
|
|
45
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
46
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericTable.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GenericTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericTable.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAgBtF,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EACN,MAAM,GACN,MAAM,GACN,UAAU,GACV,OAAO,GACP,UAAU,GACV,OAAO,GACP,SAAS,CAAC;CACb,CAAC;AAqBF,KAAK,iBAAiB,GAAG;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,CAAC;CAC1B,GAAG,WAAW,CAAC;AAQhB,iBAAS,cAAc;WAiKT,OAAO,IAA6B;;;UAZqC,GAAG;8BAEvD,GAAG;;;;EAerC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;UAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { IField } from './../../interfaces/genericForm';
|
|
2
|
+
export interface IInitialData {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export declare const formProps: {
|
|
6
|
+
props: {
|
|
7
|
+
isDialogVisible: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: boolean;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Define the array of fields to be rendered in the form
|
|
14
|
+
*/
|
|
15
|
+
fields: {
|
|
16
|
+
type: () => IField[];
|
|
17
|
+
required: boolean;
|
|
18
|
+
default: () => any[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Define the title of the form
|
|
22
|
+
*/
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Define the subtitle of the form
|
|
29
|
+
*/
|
|
30
|
+
subtitle: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: boolean;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Define the initial data to populate the form fields
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
initialData: {
|
|
40
|
+
type: () => IInitialData;
|
|
41
|
+
required: boolean;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Define the minimum width of the form
|
|
46
|
+
*/
|
|
47
|
+
minWidth: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: boolean;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Define the width of the form
|
|
54
|
+
*/
|
|
55
|
+
width: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
required: boolean;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Define if the form is disabled
|
|
62
|
+
*/
|
|
63
|
+
disabled: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
required: boolean;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Define if action buttons are hidden
|
|
70
|
+
*/
|
|
71
|
+
noActionButtons: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
required: boolean;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Define if the form is in loading state
|
|
78
|
+
*/
|
|
79
|
+
loading: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: boolean;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Define the text for the add button
|
|
86
|
+
*/
|
|
87
|
+
addBtnText: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
required: boolean;
|
|
90
|
+
default: any;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Define if the form should not clear on close
|
|
94
|
+
*/
|
|
95
|
+
notClearOnClose: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: boolean;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=form-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-props.d.ts","sourceRoot":"","sources":["../../../src/components/templates/form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAExD,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,SAAS;;;;;;;QAOlB;;WAEG;;kBAEc,MAAM,MAAM,EAAE;;;;QAI/B;;WAEG;;;;;QAKH;;WAEG;;;;;;QAMH;;;WAGG;;kBAEe,MAAM,YAAY;;;;QAIpC;;WAEG;;;;;;QAMH;;WAEG;;;;;;QAMH;;WAEG;;;;;;QAMH;;WAEG;;;;;;QAMH;;WAEG;;;;;;QAMH;;WAEG;;;;;;QAMH;;WAEG;;;;;;;CAON,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface UseAutoTableResizeOptions {
|
|
3
|
+
tableRef: Ref<any>;
|
|
4
|
+
props: {
|
|
5
|
+
disableScroll?: boolean;
|
|
6
|
+
items: any[];
|
|
7
|
+
headers: Array<{
|
|
8
|
+
value: string;
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
pagination: Ref<{
|
|
13
|
+
pageSize: number;
|
|
14
|
+
page: number;
|
|
15
|
+
}>;
|
|
16
|
+
maxHeightVH?: number;
|
|
17
|
+
hysteresis?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function useAutoTableResize({ tableRef, props, pagination, maxHeightVH, hysteresis, }: UseAutoTableResizeOptions): {
|
|
20
|
+
tableHeight: Ref<string>;
|
|
21
|
+
tableHideOverflow: Ref<boolean>;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useAutoTableResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAutoTableResize.d.ts","sourceRoot":"","sources":["../../src/composables/useAutoTableResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAAG,EACT,MAAM,KAAK,CAAC;AAEb,UAAU,yBAAyB;IACjC,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,KAAK,EAAE;QACL,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,KAAK,EAAE,GAAG,EAAE,CAAC;QACb,OAAO,EAAE,KAAK,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;KACvD,CAAC;IACF,UAAU,EAAE,GAAG,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAK,EACL,UAAU,EACV,WAAgB,EAChB,UAAc,GACf,EAAE,yBAAyB;;;EAiH3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency-formatters.spec.d.ts","sourceRoot":"","sources":["../../../src/helpers/__tests__/currency-formatters.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-hour.spec.d.ts","sourceRoot":"","sources":["../../../src/helpers/__tests__/format-hour.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatters.spec.d.ts","sourceRoot":"","sources":["../../../src/helpers/__tests__/formatters.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"masks.spec.d.ts","sourceRoot":"","sources":["../../../src/helpers/__tests__/masks.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format a value to Brazilian currency with the symbol R$.
|
|
3
|
+
* @param value - The numeric value to be formatted.
|
|
4
|
+
* @returns The formatted currency string with the symbol R$.
|
|
5
|
+
*/
|
|
6
|
+
export declare const formatCurrency: (value: string | number) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Format a value to Brazilian currency without the symbol R$.
|
|
9
|
+
* @param value - The numeric value to be formatted.
|
|
10
|
+
* @returns The formatted currency string without the symbol R$.
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatBrl: (value: string | number) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Format a value for input (with 2 decimal places and without the symbol R$).
|
|
15
|
+
* @param value - The numeric value to be formatted.
|
|
16
|
+
* @returns The formatted input string.
|
|
17
|
+
*/
|
|
18
|
+
export declare const formatBrlToInput: (value: string | number) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Format a value with 5 decimal places (ex: 0,00000).
|
|
21
|
+
* @param value - The numeric value to be formatted.
|
|
22
|
+
* @returns The formatted string with 5 decimal places.
|
|
23
|
+
*/
|
|
24
|
+
export declare const formatBrlToInputFiveDecimalPlaces: (value: string | number) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Format a weight (in kg) with two decimal places.
|
|
27
|
+
* @param value - The weight value to be formatted.
|
|
28
|
+
* @returns The formatted weight string.
|
|
29
|
+
*/
|
|
30
|
+
export declare const formatWeight: (value: string) => string;
|
|
31
|
+
//# sourceMappingURL=currency-formatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency-formatters.d.ts","sourceRoot":"","sources":["../../src/helpers/currency-formatters.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAUvD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAGlD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAGzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,GAC5C,OAAO,MAAM,GAAG,MAAM,KACrB,MAWF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAG5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exceptions.d.ts","sourceRoot":"","sources":["../../src/helpers/exceptions.ts"],"names":[],"mappings":"AA8EA,iBAAS,kBAAkB,CACzB,KAAK,EAAE,GAAG,EACV,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,GAC5E,IAAI,CAoCN;AAmLD,OAAO,EACL,kBAAkB,GAUnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-hour.d.ts","sourceRoot":"","sources":["../../src/helpers/format-hour.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,MAO1C,CAAC"}
|
|
@@ -1,42 +1,29 @@
|
|
|
1
|
-
export declare const isToday: (date: Date) => boolean;
|
|
2
|
-
export declare const avatarText: (value: string) => string;
|
|
3
|
-
export declare const formatDateToYearMonthDay: (date: string | Date) => string;
|
|
4
1
|
/**
|
|
5
|
-
* Format
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @param {string} value date to format
|
|
9
|
-
* @param {Intl.DateTimeFormatOptions} formatting Intl object to format with
|
|
2
|
+
* Format a Brazilian phone number.
|
|
3
|
+
* @param phone - Phone number, with or without formatting.
|
|
4
|
+
* @returns Formatted phone number in the pattern (XX) XXXXX-XXXX or (XX) XXXX-XXXX.
|
|
10
5
|
*/
|
|
11
|
-
export declare const formatDate: (value: string) => string;
|
|
12
|
-
export declare const formatDateNotString: (date: string | Date) => string;
|
|
13
|
-
export declare function parseLocalDate(dateStr: string): Date | string;
|
|
14
6
|
export declare const formatPhone: (phone: string) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Mask a NCM string to the format 0000.00.00
|
|
9
|
+
* @param ncm - The NCM string to be masked
|
|
10
|
+
* @returns The masked NCM string in the format 0000.00.00
|
|
11
|
+
*/
|
|
15
12
|
export declare const maskNCM: (ncm: string) => string;
|
|
16
13
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @
|
|
20
|
-
|
|
14
|
+
* Mask a CNPJ string to the format 00.000.000/0000-00
|
|
15
|
+
* @param cnpj - The CNPJ string to be masked
|
|
16
|
+
* @returns The masked CNPJ string in the format 00.000.000/0000-00
|
|
17
|
+
*/
|
|
18
|
+
export declare const maskCnpj: (cnpj: string) => string;
|
|
19
|
+
/** Mask a CPF string to the format 000.000.000-00
|
|
20
|
+
* @param cpf - The CPF string to be masked
|
|
21
|
+
* @returns The masked CPF string in the format 000.000.000-00
|
|
22
|
+
*/
|
|
23
|
+
export declare const maskCpf: (cpf: string) => string;
|
|
24
|
+
/** Mask a CEP string to the format 00000-000
|
|
25
|
+
* @param cep - The CEP string to be masked
|
|
26
|
+
* @returns The masked CEP string in the format 00000-000
|
|
21
27
|
*/
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const prefixWithPlus: (value: number) => string | number;
|
|
24
|
-
export declare function maskCnpj(cnpj: string): string;
|
|
25
|
-
export declare function maskCuit(cuit: string): string;
|
|
26
|
-
export declare function maskNuc(nuc: string): string;
|
|
27
|
-
export declare function maskCpf(cpf: string): string;
|
|
28
|
-
export declare function maskCep(cep: string): string;
|
|
29
|
-
export declare function formatCurrency(value: string | number): string;
|
|
30
|
-
export declare function formatBrl(value: string | number): string;
|
|
31
|
-
export declare function formatBrlToInput(value: string | number): string;
|
|
32
|
-
export declare function formatBrlToInputFiveHouses(value: string | number): string;
|
|
33
|
-
export declare function formatKg(value: string): string;
|
|
34
|
-
export declare function formatWeight(value: string): string;
|
|
35
|
-
export declare function formatHour(value: string): string;
|
|
36
|
-
export declare function parseFormattedValue(value: string): number;
|
|
37
|
-
export declare function parseFormattedValueWithFiveHouses(value: string): number;
|
|
38
|
-
export declare function formatToBrazilian(valueString: string): string;
|
|
39
|
-
export declare function formatLicensePlate(licensePlate: string): string;
|
|
40
|
-
export declare const formatStringToDate: (date: string) => Date;
|
|
41
|
-
export declare const formatDateToConditionalYear: (isoString: Date | string) => string;
|
|
28
|
+
export declare const maskCep: (cep: string) => string;
|
|
42
29
|
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../src/helpers/formatters.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../src/helpers/formatters.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,KAAG,MAU3C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAK9B,CAAC;AAET;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,KAAG,MAQhC,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAM9B,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MACuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/helpers/masks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/helpers/masks.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,GAAG,SAAS,EAAE,OAAO,GAAG,QACrB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Remove all non numeric characters from a given string
|
|
3
|
+
* @param {string} value - The input string to be processed
|
|
4
|
+
* @returns {string} - A string containing only numeric characters
|
|
5
|
+
*/
|
|
6
|
+
export declare const onlyNumbers: (value: string) => string;
|
|
7
|
+
//# sourceMappingURL=string-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../src/helpers/string-utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,KAAG,MAAkC,CAAC"}
|