@hbdlzy/ui-core 0.1.4 → 0.1.6
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/README.md +7 -0
- package/components.manifest.json +32 -35
- package/dist/components/BaseCard/BaseCard.types.d.ts +36 -36
- package/dist/components/BaseCard/BaseCard.vue.d.ts +122 -122
- package/dist/components/BaseCard/index.d.ts +3 -3
- package/dist/components/BaseEChart/BaseEChart.types.d.ts +26 -26
- package/dist/components/BaseEChart/BaseEChart.vue.d.ts +66 -66
- package/dist/components/BaseEChart/index.d.ts +3 -3
- package/dist/components/BaseExportButton/BaseExportButton.types.d.ts +21 -21
- package/dist/components/BaseExportButton/BaseExportButton.utils.d.ts +4 -4
- package/dist/components/BaseExportButton/BaseExportButton.vue.d.ts +128 -128
- package/dist/components/BaseExportButton/index.d.ts +5 -5
- package/dist/components/BaseTable/BaseTable.types.d.ts +163 -163
- package/dist/components/BaseTable/BaseTable.vue.d.ts +157 -157
- package/dist/components/BaseTable/index.d.ts +3 -3
- package/dist/components/OutlinedCascader/OutlinedCascader.types.d.ts +28 -25
- package/dist/components/OutlinedCascader/OutlinedCascader.vue.d.ts +94 -85
- package/dist/components/OutlinedCascader/index.d.ts +3 -3
- package/dist/components/OutlinedDatePicker/OutlinedDatePicker.types.d.ts +30 -27
- package/dist/components/OutlinedDatePicker/OutlinedDatePicker.vue.d.ts +97 -88
- package/dist/components/OutlinedDatePicker/index.d.ts +3 -3
- package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.types.d.ts +29 -26
- package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.vue.d.ts +106 -97
- package/dist/components/OutlinedDateTimePicker/index.d.ts +3 -3
- package/dist/components/OutlinedInput/OutlinedInput.types.d.ts +32 -29
- package/dist/components/OutlinedInput/OutlinedInput.vue.d.ts +106 -97
- package/dist/components/OutlinedInput/index.d.ts +3 -3
- package/dist/components/OutlinedSelect/OutlinedSelect.types.d.ts +41 -38
- package/dist/components/OutlinedSelect/OutlinedSelect.vue.d.ts +125 -116
- package/dist/components/OutlinedSelect/index.d.ts +3 -3
- package/dist/components/OutlinedTimePicker/OutlinedTimePicker.types.d.ts +31 -28
- package/dist/components/OutlinedTimePicker/OutlinedTimePicker.vue.d.ts +103 -94
- package/dist/components/OutlinedTimePicker/index.d.ts +3 -3
- package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.types.d.ts +49 -46
- package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.vue.d.ts +146 -137
- package/dist/components/OutlinedTreeSelect/index.d.ts +3 -3
- package/dist/echarts/index.d.ts +9 -9
- package/dist/excel/exportExcel.d.ts +18 -18
- package/dist/index.cjs +42 -1
- package/dist/index.d.ts +27 -30
- package/dist/index.js +643 -644
- package/dist/ripple/index.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +6 -4
- package/src/components/BaseExportButton/BaseExportButton.vue +1 -3
- package/src/components/BaseTable/BaseTable.types.ts +1 -1
- package/src/components/OutlinedCascader/OutlinedCascader.types.ts +3 -0
- package/src/components/OutlinedCascader/OutlinedCascader.vue +71 -6
- package/src/components/OutlinedCascader/README.md +3 -0
- package/src/components/OutlinedDatePicker/OutlinedDatePicker.types.ts +3 -0
- package/src/components/OutlinedDatePicker/OutlinedDatePicker.vue +71 -6
- package/src/components/OutlinedDatePicker/README.md +3 -0
- package/src/components/OutlinedDateTimePicker/OutlinedDateTimePicker.types.ts +3 -0
- package/src/components/OutlinedDateTimePicker/OutlinedDateTimePicker.vue +144 -64
- package/src/components/OutlinedDateTimePicker/README.md +3 -0
- package/src/components/OutlinedInput/OutlinedInput.types.ts +3 -0
- package/src/components/OutlinedInput/OutlinedInput.vue +87 -8
- package/src/components/OutlinedInput/README.md +3 -0
- package/src/components/OutlinedSelect/OutlinedSelect.types.ts +3 -0
- package/src/components/OutlinedSelect/OutlinedSelect.vue +72 -6
- package/src/components/OutlinedSelect/README.md +3 -0
- package/src/components/OutlinedTimePicker/OutlinedTimePicker.types.ts +3 -0
- package/src/components/OutlinedTimePicker/OutlinedTimePicker.vue +75 -8
- package/src/components/OutlinedTimePicker/README.md +3 -0
- package/src/components/OutlinedTreeSelect/OutlinedTreeSelect.types.ts +3 -0
- package/src/components/OutlinedTreeSelect/OutlinedTreeSelect.vue +72 -6
- package/src/components/OutlinedTreeSelect/README.md +3 -0
- package/src/index.ts +5 -4
- package/src/ripple/index.ts +213 -0
- package/dist/components/BaseDialog/BaseDialog.types.d.ts +0 -25
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -100
- package/dist/components/BaseDialog/index.d.ts +0 -3
- package/dist/components/BaseSearchForm/BaseSearchForm.types.d.ts +0 -42
- package/dist/components/BaseSearchForm/BaseSearchForm.utils.d.ts +0 -5
- package/dist/components/BaseSearchForm/BaseSearchForm.vue.d.ts +0 -88
- package/dist/components/BaseSearchForm/index.d.ts +0 -4
- package/src/components/BaseDialog/BaseDialog.types.ts +0 -28
- package/src/components/BaseDialog/BaseDialog.vue +0 -158
- package/src/components/BaseDialog/README.md +0 -69
- package/src/components/BaseDialog/index.ts +0 -10
- package/src/components/BaseSearchForm/BaseSearchForm.types.ts +0 -46
- package/src/components/BaseSearchForm/BaseSearchForm.utils.ts +0 -41
- package/src/components/BaseSearchForm/BaseSearchForm.vue +0 -267
- package/src/components/BaseSearchForm/README.md +0 -66
- package/src/components/BaseSearchForm/index.ts +0 -20
|
@@ -1,97 +1,106 @@
|
|
|
1
|
-
import type { OutlinedDateTimePickerCssValue, OutlinedDateTimePickerDisabledDate, OutlinedDateTimePickerProps } from './OutlinedDateTimePicker.types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedDateTimePickerProps>, {
|
|
3
|
-
value: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
label: string;
|
|
6
|
-
inputHeight: number;
|
|
7
|
-
isBorder: boolean;
|
|
8
|
-
disabledDate: undefined;
|
|
9
|
-
separatorText: string;
|
|
10
|
-
timePlaceholder: string;
|
|
11
|
-
clearable: boolean;
|
|
12
|
-
marginBottom: number;
|
|
13
|
-
paddingTop: number;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
field: "time" | "date";
|
|
65
|
-
|
|
66
|
-
}) => any) | undefined;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
type
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
type
|
|
96
|
-
|
|
97
|
-
}
|
|
1
|
+
import type { OutlinedDateTimePickerCssValue, OutlinedDateTimePickerDisabledDate, OutlinedDateTimePickerProps } from './OutlinedDateTimePicker.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedDateTimePickerProps>, {
|
|
3
|
+
value: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
label: string;
|
|
6
|
+
inputHeight: number;
|
|
7
|
+
isBorder: boolean;
|
|
8
|
+
disabledDate: undefined;
|
|
9
|
+
separatorText: string;
|
|
10
|
+
timePlaceholder: string;
|
|
11
|
+
clearable: boolean;
|
|
12
|
+
marginBottom: number;
|
|
13
|
+
paddingTop: number;
|
|
14
|
+
required: boolean;
|
|
15
|
+
error: boolean;
|
|
16
|
+
errorMessage: string;
|
|
17
|
+
}>>, {
|
|
18
|
+
focusDate: () => void;
|
|
19
|
+
focusTime: () => void;
|
|
20
|
+
blurDate: () => void;
|
|
21
|
+
blurTime: () => void;
|
|
22
|
+
openDatePanel: () => void;
|
|
23
|
+
openTimePanel: () => void;
|
|
24
|
+
getDatePickerRef: () => unknown;
|
|
25
|
+
getTimePickerRef: () => unknown;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
input: (value: string) => void;
|
|
28
|
+
"update:value": (value: string) => void;
|
|
29
|
+
change: (value: string) => void;
|
|
30
|
+
focus: (payload: {
|
|
31
|
+
field: "time" | "date";
|
|
32
|
+
event: FocusEvent;
|
|
33
|
+
}) => void;
|
|
34
|
+
blur: (payload: {
|
|
35
|
+
field: "time" | "date";
|
|
36
|
+
event: FocusEvent;
|
|
37
|
+
}) => void;
|
|
38
|
+
"visible-change": (payload: {
|
|
39
|
+
field: "time" | "date";
|
|
40
|
+
visible: boolean;
|
|
41
|
+
}) => void;
|
|
42
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedDateTimePickerProps>, {
|
|
43
|
+
value: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
label: string;
|
|
46
|
+
inputHeight: number;
|
|
47
|
+
isBorder: boolean;
|
|
48
|
+
disabledDate: undefined;
|
|
49
|
+
separatorText: string;
|
|
50
|
+
timePlaceholder: string;
|
|
51
|
+
clearable: boolean;
|
|
52
|
+
marginBottom: number;
|
|
53
|
+
paddingTop: number;
|
|
54
|
+
required: boolean;
|
|
55
|
+
error: boolean;
|
|
56
|
+
errorMessage: string;
|
|
57
|
+
}>>> & Readonly<{
|
|
58
|
+
onBlur?: ((payload: {
|
|
59
|
+
field: "time" | "date";
|
|
60
|
+
event: FocusEvent;
|
|
61
|
+
}) => any) | undefined;
|
|
62
|
+
onChange?: ((value: string) => any) | undefined;
|
|
63
|
+
onFocus?: ((payload: {
|
|
64
|
+
field: "time" | "date";
|
|
65
|
+
event: FocusEvent;
|
|
66
|
+
}) => any) | undefined;
|
|
67
|
+
onInput?: ((value: string) => any) | undefined;
|
|
68
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
69
|
+
"onVisible-change"?: ((payload: {
|
|
70
|
+
field: "time" | "date";
|
|
71
|
+
visible: boolean;
|
|
72
|
+
}) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
error: boolean;
|
|
75
|
+
label: string;
|
|
76
|
+
value: string;
|
|
77
|
+
errorMessage: string;
|
|
78
|
+
required: boolean;
|
|
79
|
+
placeholder: string;
|
|
80
|
+
clearable: boolean;
|
|
81
|
+
inputHeight: number;
|
|
82
|
+
isBorder: boolean;
|
|
83
|
+
marginBottom: OutlinedDateTimePickerCssValue;
|
|
84
|
+
paddingTop: OutlinedDateTimePickerCssValue;
|
|
85
|
+
disabledDate: OutlinedDateTimePickerDisabledDate;
|
|
86
|
+
separatorText: string;
|
|
87
|
+
timePlaceholder: string;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
89
|
+
export default _default;
|
|
90
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
91
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
92
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
93
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
94
|
+
} : {
|
|
95
|
+
type: import('vue').PropType<T[K]>;
|
|
96
|
+
required: true;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
type __VLS_WithDefaults<P, D> = {
|
|
100
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
101
|
+
default: D[K];
|
|
102
|
+
}> : P[K];
|
|
103
|
+
};
|
|
104
|
+
type __VLS_Prettify<T> = {
|
|
105
|
+
[K in keyof T]: T[K];
|
|
106
|
+
} & {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import OutlinedDateTimePicker from './OutlinedDateTimePicker.vue';
|
|
2
|
-
export default OutlinedDateTimePicker;
|
|
3
|
-
export type { OutlinedDateTimePickerCssValue, OutlinedDateTimePickerDisabledDate, OutlinedDateTimePickerExpose, OutlinedDateTimePickerProps, OutlinedDateTimePickerValue } from './OutlinedDateTimePicker.types';
|
|
1
|
+
import OutlinedDateTimePicker from './OutlinedDateTimePicker.vue';
|
|
2
|
+
export default OutlinedDateTimePicker;
|
|
3
|
+
export type { OutlinedDateTimePickerCssValue, OutlinedDateTimePickerDisabledDate, OutlinedDateTimePickerExpose, OutlinedDateTimePickerProps, OutlinedDateTimePickerValue } from './OutlinedDateTimePicker.types';
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
export type OutlinedInputValue = string | number;
|
|
2
|
-
export type OutlinedInputCssValue = string | number;
|
|
3
|
-
export interface OutlinedInputProps {
|
|
4
|
-
value?: OutlinedInputValue;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
regex?: RegExp;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
maxlength?: string | number;
|
|
10
|
-
max?: string | number;
|
|
11
|
-
min?: string | number;
|
|
12
|
-
typeInput?: string;
|
|
13
|
-
showPassword?: boolean;
|
|
14
|
-
isNumber?: boolean;
|
|
15
|
-
inputHeight?: number;
|
|
16
|
-
isBorder?: boolean;
|
|
17
|
-
suffixText?: string;
|
|
18
|
-
clearable?: boolean;
|
|
19
|
-
showWordLimit?: boolean;
|
|
20
|
-
marginBottom?: OutlinedInputCssValue;
|
|
21
|
-
paddingTop?: OutlinedInputCssValue;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
export type OutlinedInputValue = string | number;
|
|
2
|
+
export type OutlinedInputCssValue = string | number;
|
|
3
|
+
export interface OutlinedInputProps {
|
|
4
|
+
value?: OutlinedInputValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
regex?: RegExp;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
maxlength?: string | number;
|
|
10
|
+
max?: string | number;
|
|
11
|
+
min?: string | number;
|
|
12
|
+
typeInput?: string;
|
|
13
|
+
showPassword?: boolean;
|
|
14
|
+
isNumber?: boolean;
|
|
15
|
+
inputHeight?: number;
|
|
16
|
+
isBorder?: boolean;
|
|
17
|
+
suffixText?: string;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
showWordLimit?: boolean;
|
|
20
|
+
marginBottom?: OutlinedInputCssValue;
|
|
21
|
+
paddingTop?: OutlinedInputCssValue;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
error?: boolean;
|
|
24
|
+
errorMessage?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface OutlinedInputExpose {
|
|
27
|
+
focus: () => void;
|
|
28
|
+
blur: () => void;
|
|
29
|
+
clear: () => void;
|
|
30
|
+
select: () => void;
|
|
31
|
+
getInputRef: () => unknown | null;
|
|
32
|
+
}
|
|
@@ -1,97 +1,106 @@
|
|
|
1
|
-
import type { OutlinedInputCssValue, OutlinedInputProps, OutlinedInputValue } from './OutlinedInput.types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedInputProps>, {
|
|
3
|
-
value: string;
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
label: string;
|
|
7
|
-
typeInput: string;
|
|
8
|
-
showPassword: boolean;
|
|
9
|
-
isNumber: boolean;
|
|
10
|
-
inputHeight: number;
|
|
11
|
-
isBorder: boolean;
|
|
12
|
-
suffixText: string;
|
|
13
|
-
clearable: boolean;
|
|
14
|
-
showWordLimit: boolean;
|
|
15
|
-
marginBottom: number;
|
|
16
|
-
paddingTop: number;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
value:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
type
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
type
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
};
|
|
1
|
+
import type { OutlinedInputCssValue, OutlinedInputProps, OutlinedInputValue } from './OutlinedInput.types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedInputProps>, {
|
|
3
|
+
value: string;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
label: string;
|
|
7
|
+
typeInput: string;
|
|
8
|
+
showPassword: boolean;
|
|
9
|
+
isNumber: boolean;
|
|
10
|
+
inputHeight: number;
|
|
11
|
+
isBorder: boolean;
|
|
12
|
+
suffixText: string;
|
|
13
|
+
clearable: boolean;
|
|
14
|
+
showWordLimit: boolean;
|
|
15
|
+
marginBottom: number;
|
|
16
|
+
paddingTop: number;
|
|
17
|
+
required: boolean;
|
|
18
|
+
error: boolean;
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
}>>, {
|
|
21
|
+
focus: () => void;
|
|
22
|
+
blur: () => void;
|
|
23
|
+
clear: () => void;
|
|
24
|
+
select: () => void;
|
|
25
|
+
getInputRef: () => unknown;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
input: (value: OutlinedInputValue) => void;
|
|
28
|
+
"update:value": (value: OutlinedInputValue) => void;
|
|
29
|
+
warning: (value: string) => void;
|
|
30
|
+
focus: (value: FocusEvent) => void;
|
|
31
|
+
blur: (value: FocusEvent) => void;
|
|
32
|
+
change: (value: OutlinedInputValue) => void;
|
|
33
|
+
clear: () => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedInputProps>, {
|
|
35
|
+
value: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
label: string;
|
|
39
|
+
typeInput: string;
|
|
40
|
+
showPassword: boolean;
|
|
41
|
+
isNumber: boolean;
|
|
42
|
+
inputHeight: number;
|
|
43
|
+
isBorder: boolean;
|
|
44
|
+
suffixText: string;
|
|
45
|
+
clearable: boolean;
|
|
46
|
+
showWordLimit: boolean;
|
|
47
|
+
marginBottom: number;
|
|
48
|
+
paddingTop: number;
|
|
49
|
+
required: boolean;
|
|
50
|
+
error: boolean;
|
|
51
|
+
errorMessage: string;
|
|
52
|
+
}>>> & Readonly<{
|
|
53
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
54
|
+
onChange?: ((value: OutlinedInputValue) => any) | undefined;
|
|
55
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
56
|
+
onInput?: ((value: OutlinedInputValue) => any) | undefined;
|
|
57
|
+
onClear?: (() => any) | undefined;
|
|
58
|
+
onWarning?: ((value: string) => any) | undefined;
|
|
59
|
+
"onUpdate:value"?: ((value: OutlinedInputValue) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
error: boolean;
|
|
62
|
+
label: string;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
value: OutlinedInputValue;
|
|
65
|
+
errorMessage: string;
|
|
66
|
+
required: boolean;
|
|
67
|
+
placeholder: string;
|
|
68
|
+
clearable: boolean;
|
|
69
|
+
inputHeight: number;
|
|
70
|
+
isBorder: boolean;
|
|
71
|
+
marginBottom: OutlinedInputCssValue;
|
|
72
|
+
paddingTop: OutlinedInputCssValue;
|
|
73
|
+
showPassword: boolean;
|
|
74
|
+
typeInput: string;
|
|
75
|
+
isNumber: boolean;
|
|
76
|
+
suffixText: string;
|
|
77
|
+
showWordLimit: boolean;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
79
|
+
prefix?(_: {}): any;
|
|
80
|
+
prepend?(_: {}): any;
|
|
81
|
+
append?(_: {}): any;
|
|
82
|
+
suffix?(_: {}): any;
|
|
83
|
+
}>;
|
|
84
|
+
export default _default;
|
|
85
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
87
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
89
|
+
} : {
|
|
90
|
+
type: import('vue').PropType<T[K]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
type __VLS_WithDefaults<P, D> = {
|
|
95
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
96
|
+
default: D[K];
|
|
97
|
+
}> : P[K];
|
|
98
|
+
};
|
|
99
|
+
type __VLS_Prettify<T> = {
|
|
100
|
+
[K in keyof T]: T[K];
|
|
101
|
+
} & {};
|
|
102
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
103
|
+
new (): {
|
|
104
|
+
$slots: S;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import OutlinedInput from './OutlinedInput.vue';
|
|
2
|
-
export default OutlinedInput;
|
|
3
|
-
export type { OutlinedInputCssValue, OutlinedInputExpose, OutlinedInputProps, OutlinedInputValue } from './OutlinedInput.types';
|
|
1
|
+
import OutlinedInput from './OutlinedInput.vue';
|
|
2
|
+
export default OutlinedInput;
|
|
3
|
+
export type { OutlinedInputCssValue, OutlinedInputExpose, OutlinedInputProps, OutlinedInputValue } from './OutlinedInput.types';
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
export type OutlinedSelectCssValue = string | number;
|
|
2
|
-
export type OutlinedSelectOptionValue = string | number | boolean | Record<string, unknown> | null;
|
|
3
|
-
export type OutlinedSelectValue = OutlinedSelectOptionValue | OutlinedSelectOptionValue[];
|
|
4
|
-
export interface OutlinedSelectOption {
|
|
5
|
-
label?: string;
|
|
6
|
-
value?: OutlinedSelectOptionValue;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface OutlinedSelectProps {
|
|
11
|
-
value?: OutlinedSelectValue;
|
|
12
|
-
options?: OutlinedSelectOption[];
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
label?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
typeInput?: string;
|
|
17
|
-
showPassword?: boolean;
|
|
18
|
-
collapseTags?: boolean;
|
|
19
|
-
collapseTagsTooltip?: boolean;
|
|
20
|
-
filterable?: boolean;
|
|
21
|
-
clearable?: boolean;
|
|
22
|
-
multiple?: boolean;
|
|
23
|
-
inputHeight?: number;
|
|
24
|
-
isBorder?: boolean;
|
|
25
|
-
keyValue?: string;
|
|
26
|
-
labelValue?: string;
|
|
27
|
-
noCheck?: boolean;
|
|
28
|
-
maxCollapseTags?: number;
|
|
29
|
-
marginBottom?: OutlinedSelectCssValue;
|
|
30
|
-
paddingTop?: OutlinedSelectCssValue;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
export type OutlinedSelectCssValue = string | number;
|
|
2
|
+
export type OutlinedSelectOptionValue = string | number | boolean | Record<string, unknown> | null;
|
|
3
|
+
export type OutlinedSelectValue = OutlinedSelectOptionValue | OutlinedSelectOptionValue[];
|
|
4
|
+
export interface OutlinedSelectOption {
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: OutlinedSelectOptionValue;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
export interface OutlinedSelectProps {
|
|
11
|
+
value?: OutlinedSelectValue;
|
|
12
|
+
options?: OutlinedSelectOption[];
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
typeInput?: string;
|
|
17
|
+
showPassword?: boolean;
|
|
18
|
+
collapseTags?: boolean;
|
|
19
|
+
collapseTagsTooltip?: boolean;
|
|
20
|
+
filterable?: boolean;
|
|
21
|
+
clearable?: boolean;
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
inputHeight?: number;
|
|
24
|
+
isBorder?: boolean;
|
|
25
|
+
keyValue?: string;
|
|
26
|
+
labelValue?: string;
|
|
27
|
+
noCheck?: boolean;
|
|
28
|
+
maxCollapseTags?: number;
|
|
29
|
+
marginBottom?: OutlinedSelectCssValue;
|
|
30
|
+
paddingTop?: OutlinedSelectCssValue;
|
|
31
|
+
required?: boolean;
|
|
32
|
+
error?: boolean;
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface OutlinedSelectExpose {
|
|
36
|
+
focus: () => void;
|
|
37
|
+
blur: () => void;
|
|
38
|
+
clear: () => void;
|
|
39
|
+
toggleMenu: () => void;
|
|
40
|
+
getSelectRef: () => unknown | null;
|
|
41
|
+
}
|