@cobre-npm/ds-v3 0.77.0 → 0.77.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.
Files changed (65) hide show
  1. package/dist/cobre-ds-v3-lib.es.js +9716 -9674
  2. package/dist/style.css +1 -1
  3. package/dist/types/App.vue.d.ts +1 -1
  4. package/dist/types/components/HelloWorld.vue.d.ts +3 -13
  5. package/dist/types/components/atoms/CobreAlert/CobreAlert.vue.d.ts +17 -34
  6. package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +1 -11
  7. package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +2 -25
  8. package/dist/types/components/atoms/CobreButton/CobreButton.vue.d.ts +10 -10
  9. package/dist/types/components/atoms/CobreButtonMenu/CobreButtonMenu.vue.d.ts +8 -8
  10. package/dist/types/components/atoms/CobreCardButton/CobreCardButton.vue.d.ts +2 -25
  11. package/dist/types/components/atoms/CobreCheckbox/CobreCheckbox.vue.d.ts +16 -29
  12. package/dist/types/components/atoms/CobreColumnTable/CobreColumnTable.vue.d.ts +13 -32
  13. package/dist/types/components/atoms/CobreCountryFlag/CobreCountryFlag.vue.d.ts +2 -27
  14. package/dist/types/components/atoms/CobreEmptyResults/CobreEmptyResults.vue.d.ts +3 -28
  15. package/dist/types/components/atoms/CobreEmptyState/CobreEmptyState.vue.d.ts +12 -16
  16. package/dist/types/components/atoms/CobreIndicative/CobreIndicative.vue.d.ts +20 -43
  17. package/dist/types/components/atoms/CobreInfoDetail/CobreInfoDetail.vue.d.ts +10 -31
  18. package/dist/types/components/atoms/CobreInputLabel/CobreInputLabel.vue.d.ts +1 -10
  19. package/dist/types/components/atoms/CobreOptionsSwitch/CobreOptionsSwitch.vue.d.ts +8 -26
  20. package/dist/types/components/atoms/CobrePager/CobrePager.vue.d.ts +4 -31
  21. package/dist/types/components/atoms/CobreRadio/CobreRadio.vue.d.ts +12 -35
  22. package/dist/types/components/atoms/CobreRowActions/CobreRowActions.vue.d.ts +6 -18
  23. package/dist/types/components/atoms/CobreSwitch/CobreSwitch.vue.d.ts +3 -20
  24. package/dist/types/components/atoms/CobreTabMenu/CobreTabMenu.vue.d.ts +5 -5
  25. package/dist/types/components/atoms/CobreTabMenuV2/CobreTabMenu.vue.d.ts +7 -20
  26. package/dist/types/components/atoms/CobreToastAlert/CobreToastAlert.vue.d.ts +7 -30
  27. package/dist/types/components/atoms/CobreTruncateTooltipText/CobreTruncateTooltipText.vue.d.ts +4 -23
  28. package/dist/types/components/atoms/CobreUploader/CobreUploader.vue.d.ts +5 -30
  29. package/dist/types/components/molecules/CobreAccountCpButton/CobreAccountCpButton.vue.d.ts +4 -25
  30. package/dist/types/components/molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue.d.ts +4 -33
  31. package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +17 -34
  32. package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +3 -14
  33. package/dist/types/components/molecules/CobreBadge/CobreBadge.vue.d.ts +14 -35
  34. package/dist/types/components/molecules/CobreCardIcon/CobreCardIcon.vue.d.ts +14 -35
  35. package/dist/types/components/molecules/CobreChips/CobreChips.vue.d.ts +4 -27
  36. package/dist/types/components/molecules/CobreCopyTextBox/CobreCopyTextBox.vue.d.ts +4 -31
  37. package/dist/types/components/molecules/CobreDrawer/CobreDrawer.vue.d.ts +16 -41
  38. package/dist/types/components/molecules/CobreDropdownButton/CobreDropdownButton.vue.d.ts +12 -27
  39. package/dist/types/components/molecules/CobreFieldLogo/CobreFieldLogo.vue.d.ts +10 -27
  40. package/dist/types/components/molecules/CobreFlowResult/CobreFlowResult.vue.d.ts +12 -35
  41. package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +262 -45
  42. package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +5 -48
  43. package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +9 -44
  44. package/dist/types/components/molecules/CobreInputCurrency/CobreInputCurrency.vue.d.ts +15 -52
  45. package/dist/types/components/molecules/CobreInputPhoneNumber/CobreInputPhoneNumber.vue.d.ts +5 -46
  46. package/dist/types/components/molecules/CobreInputUrl/CobreInputUrl.vue.d.ts +5 -46
  47. package/dist/types/components/molecules/CobreKebabMenu/CobreKebabMenu.vue.d.ts +3 -12
  48. package/dist/types/components/molecules/CobreLogoField/CobreLogoField.vue.d.ts +10 -27
  49. package/dist/types/components/molecules/CobreModal/CobreModal.vue.d.ts +14 -33
  50. package/dist/types/components/molecules/CobreRowTable/CobreRowTable.vue.d.ts +23 -59
  51. package/dist/types/components/molecules/CobreSelect/CobreSelect.vue.d.ts +43 -66
  52. package/dist/types/components/molecules/CobreSnackBar/CobreSnackBar.vue.d.ts +2 -31
  53. package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +181 -39
  54. package/dist/types/components/molecules/CobreTextArea/CobreTextArea.vue.d.ts +5 -46
  55. package/dist/types/components/molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue.d.ts +6 -27
  56. package/dist/types/components/molecules/Toolbar/CobreInputSearchV2/CobreInputSearchV2.vue.d.ts +6 -29
  57. package/dist/types/components/organisms/CobreHeader/CobreHeader.vue.d.ts +13 -28
  58. package/dist/types/components/organisms/CobreHeader/components/Navbar.vue.d.ts +4 -29
  59. package/dist/types/components/organisms/CobreSideMenu/CobreSideMenu.vue.d.ts +14 -33
  60. package/dist/types/components/organisms/CobreSideMenu/components/SideMenuItem.vue.d.ts +5 -12
  61. package/dist/types/components/organisms/CobreSideMenu/components/SubItems.vue.d.ts +3 -12
  62. package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +12 -27
  63. package/package.json +1 -1
  64. package/dist/types/components/molecules/CobreModalAction/CobreModalAction.vue.d.ts +0 -63
  65. package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +0 -67
@@ -10,67 +10,284 @@ interface Props {
10
10
  showActionsBorder?: boolean;
11
11
  }
12
12
  declare function __VLS_template(): {
13
- bottom?(_: {}): any;
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ bottom?(_: {}): any;
16
+ };
17
+ refs: {
18
+ otpInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
19
+ value: {
20
+ type: import("vue").PropType<string>;
21
+ required: true;
22
+ default: string;
23
+ };
24
+ placeholder: {
25
+ type: import("vue").PropType<string[]>;
26
+ };
27
+ isDisabled: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ inputmode: {
31
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
32
+ default: string;
33
+ };
34
+ numInputs: {
35
+ type: import("vue").PropType<number>;
36
+ default: number;
37
+ };
38
+ separator: {
39
+ type: import("vue").PropType<string>;
40
+ default: string;
41
+ };
42
+ inputClasses: {
43
+ type: import("vue").PropType<string | string[]>;
44
+ default: string;
45
+ };
46
+ conditionalClass: {
47
+ type: import("vue").PropType<string[]>;
48
+ };
49
+ inputType: {
50
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
51
+ };
52
+ shouldAutoFocus: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ shouldFocusOrder: {
57
+ type: import("vue").PropType<boolean>;
58
+ };
59
+ }>> & {
60
+ "onOn-change"?: ((value: string) => any) | undefined;
61
+ "onUpdate:value"?: ((value: string) => any) | undefined;
62
+ "onOn-complete"?: ((value: string) => any) | undefined;
63
+ }, {
64
+ clearInput: () => void;
65
+ fillInput: (value: string) => void;
66
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
+ "update:value": (value: string) => void;
68
+ "on-change": (value: string) => void;
69
+ "on-complete": (value: string) => void;
70
+ }, import("vue").PublicProps, {
71
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
72
+ value: string;
73
+ separator: string;
74
+ inputClasses: string | string[];
75
+ shouldAutoFocus: boolean;
76
+ numInputs: number;
77
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
78
+ P: {};
79
+ B: {};
80
+ D: {};
81
+ C: {};
82
+ M: {};
83
+ Defaults: {};
84
+ }, Readonly<import("vue").ExtractPropTypes<{
85
+ value: {
86
+ type: import("vue").PropType<string>;
87
+ required: true;
88
+ default: string;
89
+ };
90
+ placeholder: {
91
+ type: import("vue").PropType<string[]>;
92
+ };
93
+ isDisabled: {
94
+ type: import("vue").PropType<boolean>;
95
+ };
96
+ inputmode: {
97
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
98
+ default: string;
99
+ };
100
+ numInputs: {
101
+ type: import("vue").PropType<number>;
102
+ default: number;
103
+ };
104
+ separator: {
105
+ type: import("vue").PropType<string>;
106
+ default: string;
107
+ };
108
+ inputClasses: {
109
+ type: import("vue").PropType<string | string[]>;
110
+ default: string;
111
+ };
112
+ conditionalClass: {
113
+ type: import("vue").PropType<string[]>;
114
+ };
115
+ inputType: {
116
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
117
+ };
118
+ shouldAutoFocus: {
119
+ type: import("vue").PropType<boolean>;
120
+ default: boolean;
121
+ };
122
+ shouldFocusOrder: {
123
+ type: import("vue").PropType<boolean>;
124
+ };
125
+ }>> & {
126
+ "onOn-change"?: ((value: string) => any) | undefined;
127
+ "onUpdate:value"?: ((value: string) => any) | undefined;
128
+ "onOn-complete"?: ((value: string) => any) | undefined;
129
+ }, {
130
+ clearInput: () => void;
131
+ fillInput: (value: string) => void;
132
+ }, {}, {}, {}, {
133
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
134
+ value: string;
135
+ separator: string;
136
+ inputClasses: string | string[];
137
+ shouldAutoFocus: boolean;
138
+ numInputs: number;
139
+ }> | null;
140
+ };
141
+ rootEl: HTMLElement;
14
142
  };
15
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
- isLoading: boolean;
17
- title: string;
18
- description: string;
19
- textCancelButton: string;
20
- textSubmitButton: string;
21
- hideIcon: boolean;
22
- isInvalidOtp: boolean;
23
- errorMsg: string;
24
- }>, {
143
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
144
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
25
145
  clearInput: () => void | undefined;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- submit: (...args: any[]) => void;
146
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
147
  cancel: (...args: any[]) => void;
148
+ submit: (...args: any[]) => void;
29
149
  onComplete: (...args: any[]) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
- isLoading: boolean;
32
- title: string;
33
- description: string;
34
- textCancelButton: string;
35
- textSubmitButton: string;
36
- hideIcon: boolean;
37
- isInvalidOtp: boolean;
38
- errorMsg: string;
39
- }>>> & {
40
- onSubmit?: ((...args: any[]) => any) | undefined;
150
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
41
151
  onCancel?: ((...args: any[]) => any) | undefined;
152
+ onSubmit?: ((...args: any[]) => any) | undefined;
42
153
  onOnComplete?: ((...args: any[]) => any) | undefined;
43
- }, {
154
+ }>, {
44
155
  title: string;
45
- description: string;
46
156
  isLoading: boolean;
157
+ description: string;
47
158
  errorMsg: string;
48
159
  textCancelButton: string;
49
160
  textSubmitButton: string;
50
161
  hideIcon: boolean;
51
162
  isInvalidOtp: boolean;
52
- }, {}>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
163
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
164
+ otpInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
165
+ value: {
166
+ type: import("vue").PropType<string>;
167
+ required: true;
168
+ default: string;
169
+ };
170
+ placeholder: {
171
+ type: import("vue").PropType<string[]>;
172
+ };
173
+ isDisabled: {
174
+ type: import("vue").PropType<boolean>;
175
+ };
176
+ inputmode: {
177
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
178
+ default: string;
179
+ };
180
+ numInputs: {
181
+ type: import("vue").PropType<number>;
182
+ default: number;
183
+ };
184
+ separator: {
185
+ type: import("vue").PropType<string>;
186
+ default: string;
187
+ };
188
+ inputClasses: {
189
+ type: import("vue").PropType<string | string[]>;
190
+ default: string;
191
+ };
192
+ conditionalClass: {
193
+ type: import("vue").PropType<string[]>;
194
+ };
195
+ inputType: {
196
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
197
+ };
198
+ shouldAutoFocus: {
199
+ type: import("vue").PropType<boolean>;
200
+ default: boolean;
201
+ };
202
+ shouldFocusOrder: {
203
+ type: import("vue").PropType<boolean>;
204
+ };
205
+ }>> & {
206
+ "onOn-change"?: ((value: string) => any) | undefined;
207
+ "onUpdate:value"?: ((value: string) => any) | undefined;
208
+ "onOn-complete"?: ((value: string) => any) | undefined;
209
+ }, {
210
+ clearInput: () => void;
211
+ fillInput: (value: string) => void;
212
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
213
+ "update:value": (value: string) => void;
214
+ "on-change": (value: string) => void;
215
+ "on-complete": (value: string) => void;
216
+ }, import("vue").PublicProps, {
217
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
218
+ value: string;
219
+ separator: string;
220
+ inputClasses: string | string[];
221
+ shouldAutoFocus: boolean;
222
+ numInputs: number;
223
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
224
+ P: {};
225
+ B: {};
226
+ D: {};
227
+ C: {};
228
+ M: {};
229
+ Defaults: {};
230
+ }, Readonly<import("vue").ExtractPropTypes<{
231
+ value: {
232
+ type: import("vue").PropType<string>;
233
+ required: true;
234
+ default: string;
235
+ };
236
+ placeholder: {
237
+ type: import("vue").PropType<string[]>;
238
+ };
239
+ isDisabled: {
240
+ type: import("vue").PropType<boolean>;
241
+ };
242
+ inputmode: {
243
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
244
+ default: string;
245
+ };
246
+ numInputs: {
247
+ type: import("vue").PropType<number>;
248
+ default: number;
249
+ };
250
+ separator: {
251
+ type: import("vue").PropType<string>;
252
+ default: string;
253
+ };
254
+ inputClasses: {
255
+ type: import("vue").PropType<string | string[]>;
256
+ default: string;
257
+ };
258
+ conditionalClass: {
259
+ type: import("vue").PropType<string[]>;
260
+ };
261
+ inputType: {
262
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
263
+ };
264
+ shouldAutoFocus: {
265
+ type: import("vue").PropType<boolean>;
266
+ default: boolean;
267
+ };
268
+ shouldFocusOrder: {
269
+ type: import("vue").PropType<boolean>;
270
+ };
271
+ }>> & {
272
+ "onOn-change"?: ((value: string) => any) | undefined;
273
+ "onUpdate:value"?: ((value: string) => any) | undefined;
274
+ "onOn-complete"?: ((value: string) => any) | undefined;
275
+ }, {
276
+ clearInput: () => void;
277
+ fillInput: (value: string) => void;
278
+ }, {}, {}, {}, {
279
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
280
+ value: string;
281
+ separator: string;
282
+ inputClasses: string | string[];
283
+ shouldAutoFocus: boolean;
284
+ numInputs: number;
285
+ }> | null;
286
+ }, HTMLElement>;
287
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
288
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
289
  type __VLS_WithTemplateSlots<T, S> = T & {
64
290
  new (): {
65
291
  $slots: S;
66
292
  };
67
293
  };
68
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
- type __VLS_TypePropsToOption<T> = {
70
- [K in keyof T]-?: {} extends Pick<T, K> ? {
71
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
- } : {
73
- type: import('vue').PropType<T[K]>;
74
- required: true;
75
- };
76
- };
@@ -17,20 +17,7 @@ interface Props {
17
17
  showErrors?: boolean;
18
18
  isSearchable?: boolean;
19
19
  }
20
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
- isRequired: boolean;
22
- minlength: string;
23
- maxlength: string;
24
- errorMsg: string;
25
- isDisabled: boolean;
26
- type: string;
27
- labelOptional: string;
28
- infoLabel: string;
29
- iconInfoLabel: boolean;
30
- theme: string;
31
- showErrors: boolean;
32
- isSearchable: boolean;
33
- }>, {
20
+ declare const _default: import("vue").DefineComponent<Props, {
34
21
  isValid: import("vue").ComputedRef<boolean>;
35
22
  isValidMinlength: import("vue").ComputedRef<boolean>;
36
23
  isValidMaxlength: import("vue").ComputedRef<boolean>;
@@ -39,24 +26,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
39
26
  isValidEmail: import("vue").ComputedRef<boolean>;
40
27
  areValidLetters: import("vue").ComputedRef<boolean>;
41
28
  isDirty: import("vue").ComputedRef<boolean>;
42
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
30
  "update:modelValue": (...args: any[]) => void;
44
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
45
- isRequired: boolean;
46
- minlength: string;
47
- maxlength: string;
48
- errorMsg: string;
49
- isDisabled: boolean;
50
- type: string;
51
- labelOptional: string;
52
- infoLabel: string;
53
- iconInfoLabel: boolean;
54
- theme: string;
55
- showErrors: boolean;
56
- isSearchable: boolean;
57
- }>>> & {
31
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
58
32
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
- }, {
33
+ }>, {
60
34
  type: "alphanumeric" | "numeric" | "letters" | "anyCharacter" | "password" | "email";
61
35
  theme: "white" | "cloudy";
62
36
  isRequired: boolean;
@@ -69,22 +43,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
69
43
  iconInfoLabel: boolean;
70
44
  showErrors: boolean;
71
45
  isSearchable: boolean;
72
- }, {}>;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
73
47
  export default _default;
74
- type __VLS_WithDefaults<P, D> = {
75
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
76
- default: D[K];
77
- }> : P[K];
78
- };
79
- type __VLS_Prettify<T> = {
80
- [K in keyof T]: T[K];
81
- } & {};
82
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
83
- type __VLS_TypePropsToOption<T> = {
84
- [K in keyof T]-?: {} extends Pick<T, K> ? {
85
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
86
- } : {
87
- type: import('vue').PropType<T[K]>;
88
- required: true;
89
- };
90
- };
@@ -15,63 +15,28 @@ interface Props {
15
15
  labelOptional?: string;
16
16
  allowDecimals?: boolean;
17
17
  }
18
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- isRequired: boolean;
20
- minlength: string;
21
- maxlength: string;
22
- errorMsg: string;
23
- disabled: boolean;
24
- min: number;
25
- max: number;
26
- labelOptional: string;
27
- allowDecimals: boolean;
28
- }>, {
18
+ declare const _default: import("vue").DefineComponent<Props, {
29
19
  isValid: import("vue").ComputedRef<boolean>;
30
20
  isDirty: import("vue").ComputedRef<boolean>;
31
21
  showErrors: () => void;
32
22
  isValidMinAmount: import("vue").ComputedRef<boolean>;
33
23
  isValidMaxAmount: import("vue").ComputedRef<boolean>;
34
24
  handleSetValue: (value: number) => void;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
26
  "update:modelValue": (...args: any[]) => void;
37
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
38
- isRequired: boolean;
39
- minlength: string;
40
- maxlength: string;
41
- errorMsg: string;
42
- disabled: boolean;
43
- min: number;
44
- max: number;
45
- labelOptional: string;
46
- allowDecimals: boolean;
47
- }>>> & {
27
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
48
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
- }, {
29
+ }>, {
50
30
  disabled: boolean;
51
31
  isRequired: boolean;
52
- max: number;
53
- min: number;
54
32
  minlength: string;
55
33
  maxlength: string;
56
34
  errorMsg: string;
57
35
  labelOptional: string;
36
+ min: number;
37
+ max: number;
58
38
  allowDecimals: boolean;
59
- }, {}>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
40
+ inputRef: HTMLInputElement;
41
+ }, HTMLDivElement>;
60
42
  export default _default;
61
- type __VLS_WithDefaults<P, D> = {
62
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
- default: D[K];
64
- }> : P[K];
65
- };
66
- type __VLS_Prettify<T> = {
67
- [K in keyof T]: T[K];
68
- } & {};
69
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
- type __VLS_TypePropsToOption<T> = {
71
- [K in keyof T]-?: {} extends Pick<T, K> ? {
72
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
- } : {
74
- type: import('vue').PropType<T[K]>;
75
- required: true;
76
- };
77
- };
@@ -24,76 +24,39 @@ interface Props {
24
24
  hideCountrySelector?: boolean;
25
25
  allowZero?: boolean;
26
26
  }
27
- declare let __VLS_typeProps: Props;
28
- declare const currencySelected: import("vue").ModelRef<string | undefined, string>;
27
+ type __VLS_Props = Props;
28
+ declare const currencySelected: import("vue").ModelRef<string | undefined, string, string | undefined, string | undefined>;
29
29
  type __VLS_PublicProps = {
30
- 'currencySelected'?: NonNullable<typeof currencySelected['value']>;
31
- } & typeof __VLS_typeProps;
32
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
33
- isRequired: boolean;
34
- minlength: string;
35
- maxlength: string;
36
- errorMsg: string;
37
- isDisabled: boolean;
38
- min: number;
39
- max: number;
40
- labelOptional: string;
41
- allowZero: boolean;
42
- hideCountrySelector: boolean;
43
- }>, {
30
+ 'currencySelected'?: typeof currencySelected['value'];
31
+ } & __VLS_Props;
32
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
44
33
  isValid: import("vue").ComputedRef<boolean>;
45
34
  isDirty: import("vue").ComputedRef<boolean>;
46
35
  isValidMinAmount: import("vue").ComputedRef<boolean>;
47
36
  isValidMaxAmount: import("vue").ComputedRef<boolean>;
48
37
  handleSetValue: (value: number | null) => void;
49
38
  handleOnBlur: () => void;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
- "update:currencySelected": (currencySelected: string) => void;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
40
  "update:modelValue": (...args: any[]) => void;
53
41
  "update:amount": (...args: any[]) => void;
54
42
  "update:currency": (...args: any[]) => void;
55
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
56
- isRequired: boolean;
57
- minlength: string;
58
- maxlength: string;
59
- errorMsg: string;
60
- isDisabled: boolean;
61
- min: number;
62
- max: number;
63
- labelOptional: string;
64
- allowZero: boolean;
65
- hideCountrySelector: boolean;
66
- }>>> & {
43
+ "update:currencySelected": (value: string | undefined) => void;
44
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
67
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
68
46
  "onUpdate:amount"?: ((...args: any[]) => any) | undefined;
69
47
  "onUpdate:currency"?: ((...args: any[]) => any) | undefined;
70
- "onUpdate:currencySelected"?: ((currencySelected: string) => any) | undefined;
71
- }, {
48
+ "onUpdate:currencySelected"?: ((value: string | undefined) => any) | undefined;
49
+ }>, {
72
50
  isRequired: boolean;
73
- max: number;
74
- min: number;
75
51
  minlength: string;
76
52
  maxlength: string;
77
53
  errorMsg: string;
78
54
  labelOptional: string;
55
+ min: number;
56
+ max: number;
79
57
  hideCountrySelector: boolean;
80
58
  allowZero: boolean;
81
- }, {}>;
59
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
60
+ inputRef: HTMLInputElement;
61
+ }, HTMLDivElement>;
82
62
  export default _default;
83
- type __VLS_WithDefaults<P, D> = {
84
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
85
- default: D[K];
86
- }> : P[K];
87
- };
88
- type __VLS_Prettify<T> = {
89
- [K in keyof T]: T[K];
90
- } & {};
91
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
92
- type __VLS_TypePropsToOption<T> = {
93
- [K in keyof T]-?: {} extends Pick<T, K> ? {
94
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
95
- } : {
96
- type: import('vue').PropType<T[K]>;
97
- required: true;
98
- };
99
- };
@@ -15,40 +15,16 @@ interface Props {
15
15
  iconInfoLabel?: boolean;
16
16
  showErrors?: boolean;
17
17
  }
18
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- isRequired: boolean;
20
- minlength: string;
21
- maxlength: string;
22
- placeholder: string;
23
- errorMsg: string;
24
- isDisabled: boolean;
25
- labelOptional: string;
26
- infoLabel: string;
27
- iconInfoLabel: boolean;
28
- theme: string;
29
- showErrors: boolean;
30
- }>, {
18
+ declare const _default: import("vue").DefineComponent<Props, {
31
19
  isValid: import("vue").ComputedRef<boolean>;
32
20
  isValidMinlength: import("vue").ComputedRef<boolean>;
33
21
  isValidMaxlength: import("vue").ComputedRef<boolean>;
34
22
  isValidNumeric: import("vue").ComputedRef<boolean>;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
24
  "update:modelValue": (...args: any[]) => void;
37
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
38
- isRequired: boolean;
39
- minlength: string;
40
- maxlength: string;
41
- placeholder: string;
42
- errorMsg: string;
43
- isDisabled: boolean;
44
- labelOptional: string;
45
- infoLabel: string;
46
- iconInfoLabel: boolean;
47
- theme: string;
48
- showErrors: boolean;
49
- }>>> & {
25
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
50
26
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
- }, {
27
+ }>, {
52
28
  theme: "white" | "cloudy";
53
29
  placeholder: string;
54
30
  isRequired: boolean;
@@ -60,22 +36,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
36
  infoLabel: string | null;
61
37
  iconInfoLabel: boolean;
62
38
  showErrors: boolean;
63
- }, {}>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
64
40
  export default _default;
65
- type __VLS_WithDefaults<P, D> = {
66
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
- default: D[K];
68
- }> : P[K];
69
- };
70
- type __VLS_Prettify<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
73
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- type __VLS_TypePropsToOption<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: import('vue').PropType<T[K]>;
79
- required: true;
80
- };
81
- };