@cobre-npm/ds-v3 0.7.0 → 0.9.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/dist/cobre-ds-v3-lib.es.js +4965 -4549
- package/dist/style.css +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +5 -1
- package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +72 -0
- package/package.json +2 -1
|
@@ -25,6 +25,7 @@ export { default as CobreDropdownButton } from './molecules/CobreDropdownButton/
|
|
|
25
25
|
export { default as CobreFieldLogo } from './molecules/CobreFieldLogo/CobreFieldLogo.vue';
|
|
26
26
|
export { default as CobreFlowResult } from './molecules/CobreFlowResult/CobreFlowResult.vue';
|
|
27
27
|
export { default as CobreInput } from './molecules/CobreInput/CobreInput.vue';
|
|
28
|
+
export { default as CobreInputAmount } from './molecules/CobreInputAmount/CobreInputAmount.vue';
|
|
28
29
|
export { default as CobreInputSearch } from './molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue';
|
|
29
30
|
export { default as CobreInputUrl } from './molecules/CobreInputUrl/CobreInputUrl.vue';
|
|
30
31
|
export { default as CobreLogoField } from './molecules/CobreLogoField/CobreLogoField.vue';
|
|
@@ -9,6 +9,7 @@ export interface Option {
|
|
|
9
9
|
method: (path: string) => void;
|
|
10
10
|
};
|
|
11
11
|
theme?: 'error';
|
|
12
|
+
key?: string;
|
|
12
13
|
}
|
|
13
14
|
interface Props {
|
|
14
15
|
options: Array<Option>;
|
|
@@ -16,7 +17,10 @@ interface Props {
|
|
|
16
17
|
title?: string;
|
|
17
18
|
actionButton?: string;
|
|
18
19
|
}
|
|
19
|
-
declare function __VLS_template(): {
|
|
20
|
+
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
21
|
+
data: Option;
|
|
22
|
+
index: number;
|
|
23
|
+
}) => any>> & {
|
|
20
24
|
header?(_: {}): any;
|
|
21
25
|
footer?(_: {}): any;
|
|
22
26
|
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { CurrencyInputOptions } from 'vue-currency-input';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: string | number | undefined;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
id: string;
|
|
6
|
+
options?: Partial<CurrencyInputOptions>;
|
|
7
|
+
isRequired?: boolean;
|
|
8
|
+
minlength?: string;
|
|
9
|
+
maxlength?: string;
|
|
10
|
+
min?: number;
|
|
11
|
+
errorMsg?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
labelOptional?: string;
|
|
15
|
+
allowDecimals?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
|
+
isRequired: boolean;
|
|
19
|
+
minlength: string;
|
|
20
|
+
maxlength: string;
|
|
21
|
+
errorMsg: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
min: number;
|
|
24
|
+
labelOptional: string;
|
|
25
|
+
allowDecimals: boolean;
|
|
26
|
+
}>, {
|
|
27
|
+
isValid: import("vue").ComputedRef<boolean>;
|
|
28
|
+
isDirty: import("vue").ComputedRef<boolean>;
|
|
29
|
+
showErrors: () => void;
|
|
30
|
+
isValidMinAmount: import("vue").ComputedRef<boolean>;
|
|
31
|
+
handleSetValue: (value: number) => void;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
35
|
+
isRequired: boolean;
|
|
36
|
+
minlength: string;
|
|
37
|
+
maxlength: string;
|
|
38
|
+
errorMsg: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
min: number;
|
|
41
|
+
labelOptional: string;
|
|
42
|
+
allowDecimals: boolean;
|
|
43
|
+
}>>> & {
|
|
44
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
isRequired: boolean;
|
|
48
|
+
minlength: string;
|
|
49
|
+
maxlength: string;
|
|
50
|
+
errorMsg: string;
|
|
51
|
+
labelOptional: string;
|
|
52
|
+
min: number;
|
|
53
|
+
allowDecimals: boolean;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithDefaults<P, D> = {
|
|
57
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
58
|
+
default: D[K];
|
|
59
|
+
}> : P[K];
|
|
60
|
+
};
|
|
61
|
+
type __VLS_Prettify<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToOption<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobre-npm/ds-v3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"sass": "^1.77.6",
|
|
36
36
|
"vue": "^3.4.21",
|
|
37
37
|
"vue-collapsed": "^1.3.3",
|
|
38
|
+
"vue-currency-input": "^3.1.0",
|
|
38
39
|
"vue-select": "4.0.0-beta.6",
|
|
39
40
|
"vue3-otp-input": "^0.5.21"
|
|
40
41
|
},
|