@hbdlzy/ui-core 0.1.4 → 0.1.5
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 +11 -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 +25 -25
- package/dist/components/OutlinedCascader/OutlinedCascader.vue.d.ts +85 -85
- package/dist/components/OutlinedCascader/index.d.ts +3 -3
- package/dist/components/OutlinedDatePicker/OutlinedDatePicker.types.d.ts +27 -27
- package/dist/components/OutlinedDatePicker/OutlinedDatePicker.vue.d.ts +88 -88
- package/dist/components/OutlinedDatePicker/index.d.ts +3 -3
- package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.types.d.ts +26 -26
- package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.vue.d.ts +97 -97
- package/dist/components/OutlinedDateTimePicker/index.d.ts +3 -3
- package/dist/components/OutlinedInput/OutlinedInput.types.d.ts +29 -29
- package/dist/components/OutlinedInput/OutlinedInput.vue.d.ts +97 -97
- package/dist/components/OutlinedInput/index.d.ts +3 -3
- package/dist/components/OutlinedSelect/OutlinedSelect.types.d.ts +38 -38
- package/dist/components/OutlinedSelect/OutlinedSelect.vue.d.ts +116 -116
- package/dist/components/OutlinedSelect/index.d.ts +3 -3
- package/dist/components/OutlinedTimePicker/OutlinedTimePicker.types.d.ts +28 -28
- package/dist/components/OutlinedTimePicker/OutlinedTimePicker.vue.d.ts +94 -94
- package/dist/components/OutlinedTimePicker/index.d.ts +3 -3
- package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.types.d.ts +46 -46
- package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.vue.d.ts +137 -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 +308 -527
- 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/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,94 +1,94 @@
|
|
|
1
|
-
import type { OutlinedTimePickerCssValue, OutlinedTimePickerProps, OutlinedTimePickerValue } from './OutlinedTimePicker.types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTimePickerProps>, {
|
|
3
|
-
value: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
label: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
clearable: boolean;
|
|
8
|
-
isRange: boolean;
|
|
9
|
-
startPlaceholder: string;
|
|
10
|
-
endPlaceholder: string;
|
|
11
|
-
rangeSeparator: string;
|
|
12
|
-
format: string;
|
|
13
|
-
valueFormat: string;
|
|
14
|
-
arrowControl: boolean;
|
|
15
|
-
inputHeight: number;
|
|
16
|
-
isBorder: boolean;
|
|
17
|
-
marginBottom: number;
|
|
18
|
-
paddingTop: number;
|
|
19
|
-
}>>, {
|
|
20
|
-
focus: () => void;
|
|
21
|
-
blur: () => void;
|
|
22
|
-
handleOpen: () => void;
|
|
23
|
-
handleClose: () => void;
|
|
24
|
-
clear: () => void;
|
|
25
|
-
getPickerRef: () => unknown;
|
|
26
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
input: (value: OutlinedTimePickerValue) => void;
|
|
28
|
-
"update:value": (value: OutlinedTimePickerValue) => void;
|
|
29
|
-
change: (value: OutlinedTimePickerValue) => void;
|
|
30
|
-
focus: (value: FocusEvent) => void;
|
|
31
|
-
blur: (value: FocusEvent) => void;
|
|
32
|
-
"visible-change": (value: boolean) => void;
|
|
33
|
-
clear: () => void;
|
|
34
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTimePickerProps>, {
|
|
35
|
-
value: string;
|
|
36
|
-
placeholder: string;
|
|
37
|
-
label: string;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
clearable: boolean;
|
|
40
|
-
isRange: boolean;
|
|
41
|
-
startPlaceholder: string;
|
|
42
|
-
endPlaceholder: string;
|
|
43
|
-
rangeSeparator: string;
|
|
44
|
-
format: string;
|
|
45
|
-
valueFormat: string;
|
|
46
|
-
arrowControl: boolean;
|
|
47
|
-
inputHeight: number;
|
|
48
|
-
isBorder: boolean;
|
|
49
|
-
marginBottom: number;
|
|
50
|
-
paddingTop: number;
|
|
51
|
-
}>>> & Readonly<{
|
|
52
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
53
|
-
onChange?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
54
|
-
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
55
|
-
onInput?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
56
|
-
onClear?: (() => any) | undefined;
|
|
57
|
-
"onUpdate:value"?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
58
|
-
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
59
|
-
}>, {
|
|
60
|
-
label: string;
|
|
61
|
-
disabled: boolean;
|
|
62
|
-
value: OutlinedTimePickerValue;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
clearable: boolean;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
rangeSeparator: string;
|
|
75
|
-
arrowControl: boolean;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
-
export default _default;
|
|
78
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
79
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
80
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
81
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
82
|
-
} : {
|
|
83
|
-
type: import('vue').PropType<T[K]>;
|
|
84
|
-
required: true;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
type __VLS_WithDefaults<P, D> = {
|
|
88
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
89
|
-
default: D[K];
|
|
90
|
-
}> : P[K];
|
|
91
|
-
};
|
|
92
|
-
type __VLS_Prettify<T> = {
|
|
93
|
-
[K in keyof T]: T[K];
|
|
94
|
-
} & {};
|
|
1
|
+
import type { OutlinedTimePickerCssValue, OutlinedTimePickerProps, OutlinedTimePickerValue } from './OutlinedTimePicker.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTimePickerProps>, {
|
|
3
|
+
value: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
clearable: boolean;
|
|
8
|
+
isRange: boolean;
|
|
9
|
+
startPlaceholder: string;
|
|
10
|
+
endPlaceholder: string;
|
|
11
|
+
rangeSeparator: string;
|
|
12
|
+
format: string;
|
|
13
|
+
valueFormat: string;
|
|
14
|
+
arrowControl: boolean;
|
|
15
|
+
inputHeight: number;
|
|
16
|
+
isBorder: boolean;
|
|
17
|
+
marginBottom: number;
|
|
18
|
+
paddingTop: number;
|
|
19
|
+
}>>, {
|
|
20
|
+
focus: () => void;
|
|
21
|
+
blur: () => void;
|
|
22
|
+
handleOpen: () => void;
|
|
23
|
+
handleClose: () => void;
|
|
24
|
+
clear: () => void;
|
|
25
|
+
getPickerRef: () => unknown;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
input: (value: OutlinedTimePickerValue) => void;
|
|
28
|
+
"update:value": (value: OutlinedTimePickerValue) => void;
|
|
29
|
+
change: (value: OutlinedTimePickerValue) => void;
|
|
30
|
+
focus: (value: FocusEvent) => void;
|
|
31
|
+
blur: (value: FocusEvent) => void;
|
|
32
|
+
"visible-change": (value: boolean) => void;
|
|
33
|
+
clear: () => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTimePickerProps>, {
|
|
35
|
+
value: string;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
label: string;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
clearable: boolean;
|
|
40
|
+
isRange: boolean;
|
|
41
|
+
startPlaceholder: string;
|
|
42
|
+
endPlaceholder: string;
|
|
43
|
+
rangeSeparator: string;
|
|
44
|
+
format: string;
|
|
45
|
+
valueFormat: string;
|
|
46
|
+
arrowControl: boolean;
|
|
47
|
+
inputHeight: number;
|
|
48
|
+
isBorder: boolean;
|
|
49
|
+
marginBottom: number;
|
|
50
|
+
paddingTop: number;
|
|
51
|
+
}>>> & Readonly<{
|
|
52
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
53
|
+
onChange?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
54
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
55
|
+
onInput?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
56
|
+
onClear?: (() => any) | undefined;
|
|
57
|
+
"onUpdate:value"?: ((value: OutlinedTimePickerValue) => any) | undefined;
|
|
58
|
+
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
label: string;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
value: OutlinedTimePickerValue;
|
|
63
|
+
placeholder: string;
|
|
64
|
+
clearable: boolean;
|
|
65
|
+
inputHeight: number;
|
|
66
|
+
isBorder: boolean;
|
|
67
|
+
marginBottom: OutlinedTimePickerCssValue;
|
|
68
|
+
paddingTop: OutlinedTimePickerCssValue;
|
|
69
|
+
format: string;
|
|
70
|
+
valueFormat: string;
|
|
71
|
+
isRange: boolean;
|
|
72
|
+
startPlaceholder: string;
|
|
73
|
+
endPlaceholder: string;
|
|
74
|
+
rangeSeparator: string;
|
|
75
|
+
arrowControl: boolean;
|
|
76
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
79
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
80
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
81
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
82
|
+
} : {
|
|
83
|
+
type: import('vue').PropType<T[K]>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
type __VLS_WithDefaults<P, D> = {
|
|
88
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
89
|
+
default: D[K];
|
|
90
|
+
}> : P[K];
|
|
91
|
+
};
|
|
92
|
+
type __VLS_Prettify<T> = {
|
|
93
|
+
[K in keyof T]: T[K];
|
|
94
|
+
} & {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import OutlinedTimePicker from './OutlinedTimePicker.vue';
|
|
2
|
-
export default OutlinedTimePicker;
|
|
3
|
-
export type { OutlinedTimePickerCssValue, OutlinedTimePickerExpose, OutlinedTimePickerProps, OutlinedTimePickerValue } from './OutlinedTimePicker.types';
|
|
1
|
+
import OutlinedTimePicker from './OutlinedTimePicker.vue';
|
|
2
|
+
export default OutlinedTimePicker;
|
|
3
|
+
export type { OutlinedTimePickerCssValue, OutlinedTimePickerExpose, OutlinedTimePickerProps, OutlinedTimePickerValue } from './OutlinedTimePicker.types';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export type OutlinedTreeSelectCssValue = string | number;
|
|
2
|
-
export type OutlinedTreeSelectOptionValue = string | number | boolean | Record<string, unknown> | null;
|
|
3
|
-
export type OutlinedTreeSelectValue = OutlinedTreeSelectOptionValue | OutlinedTreeSelectOptionValue[];
|
|
4
|
-
export interface OutlinedTreeSelectNode {
|
|
5
|
-
label?: string;
|
|
6
|
-
value?: OutlinedTreeSelectOptionValue;
|
|
7
|
-
children?: OutlinedTreeSelectNode[];
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
}
|
|
11
|
-
export interface OutlinedTreeSelectProps {
|
|
12
|
-
value?: OutlinedTreeSelectValue;
|
|
13
|
-
data?: OutlinedTreeSelectNode[];
|
|
14
|
-
propsValue?: Record<string, unknown>;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
label?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
clearable?: boolean;
|
|
19
|
-
filterable?: boolean;
|
|
20
|
-
multiple?: boolean;
|
|
21
|
-
showCheckbox?: boolean;
|
|
22
|
-
checkStrictly?: boolean;
|
|
23
|
-
checkOnClickNode?: boolean;
|
|
24
|
-
defaultExpandAll?: boolean;
|
|
25
|
-
expandOnClickNode?: boolean;
|
|
26
|
-
renderAfterExpand?: boolean;
|
|
27
|
-
collapseTags?: boolean;
|
|
28
|
-
collapseTagsTooltip?: boolean;
|
|
29
|
-
maxCollapseTags?: number;
|
|
30
|
-
popperClass?: string;
|
|
31
|
-
nodeKey?: string;
|
|
32
|
-
keyValue?: string;
|
|
33
|
-
labelValue?: string;
|
|
34
|
-
childrenValue?: string;
|
|
35
|
-
disabledValue?: string;
|
|
36
|
-
inputHeight?: number;
|
|
37
|
-
isBorder?: boolean;
|
|
38
|
-
marginBottom?: OutlinedTreeSelectCssValue;
|
|
39
|
-
paddingTop?: OutlinedTreeSelectCssValue;
|
|
40
|
-
}
|
|
41
|
-
export interface OutlinedTreeSelectExpose {
|
|
42
|
-
focus: () => void;
|
|
43
|
-
blur: () => void;
|
|
44
|
-
clear: () => void;
|
|
45
|
-
getTreeSelectRef: () => unknown | null;
|
|
46
|
-
}
|
|
1
|
+
export type OutlinedTreeSelectCssValue = string | number;
|
|
2
|
+
export type OutlinedTreeSelectOptionValue = string | number | boolean | Record<string, unknown> | null;
|
|
3
|
+
export type OutlinedTreeSelectValue = OutlinedTreeSelectOptionValue | OutlinedTreeSelectOptionValue[];
|
|
4
|
+
export interface OutlinedTreeSelectNode {
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: OutlinedTreeSelectOptionValue;
|
|
7
|
+
children?: OutlinedTreeSelectNode[];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface OutlinedTreeSelectProps {
|
|
12
|
+
value?: OutlinedTreeSelectValue;
|
|
13
|
+
data?: OutlinedTreeSelectNode[];
|
|
14
|
+
propsValue?: Record<string, unknown>;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
filterable?: boolean;
|
|
20
|
+
multiple?: boolean;
|
|
21
|
+
showCheckbox?: boolean;
|
|
22
|
+
checkStrictly?: boolean;
|
|
23
|
+
checkOnClickNode?: boolean;
|
|
24
|
+
defaultExpandAll?: boolean;
|
|
25
|
+
expandOnClickNode?: boolean;
|
|
26
|
+
renderAfterExpand?: boolean;
|
|
27
|
+
collapseTags?: boolean;
|
|
28
|
+
collapseTagsTooltip?: boolean;
|
|
29
|
+
maxCollapseTags?: number;
|
|
30
|
+
popperClass?: string;
|
|
31
|
+
nodeKey?: string;
|
|
32
|
+
keyValue?: string;
|
|
33
|
+
labelValue?: string;
|
|
34
|
+
childrenValue?: string;
|
|
35
|
+
disabledValue?: string;
|
|
36
|
+
inputHeight?: number;
|
|
37
|
+
isBorder?: boolean;
|
|
38
|
+
marginBottom?: OutlinedTreeSelectCssValue;
|
|
39
|
+
paddingTop?: OutlinedTreeSelectCssValue;
|
|
40
|
+
}
|
|
41
|
+
export interface OutlinedTreeSelectExpose {
|
|
42
|
+
focus: () => void;
|
|
43
|
+
blur: () => void;
|
|
44
|
+
clear: () => void;
|
|
45
|
+
getTreeSelectRef: () => unknown | null;
|
|
46
|
+
}
|
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
import type { OutlinedTreeSelectCssValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
|
|
3
|
-
value: undefined;
|
|
4
|
-
data: () => never[];
|
|
5
|
-
propsValue: undefined;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
label: string;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
clearable: boolean;
|
|
10
|
-
filterable: boolean;
|
|
11
|
-
multiple: boolean;
|
|
12
|
-
showCheckbox: boolean;
|
|
13
|
-
checkStrictly: boolean;
|
|
14
|
-
checkOnClickNode: boolean;
|
|
15
|
-
defaultExpandAll: boolean;
|
|
16
|
-
expandOnClickNode: boolean;
|
|
17
|
-
renderAfterExpand: boolean;
|
|
18
|
-
collapseTags: boolean;
|
|
19
|
-
collapseTagsTooltip: boolean;
|
|
20
|
-
maxCollapseTags: number;
|
|
21
|
-
popperClass: string;
|
|
22
|
-
nodeKey: string;
|
|
23
|
-
keyValue: string;
|
|
24
|
-
labelValue: string;
|
|
25
|
-
childrenValue: string;
|
|
26
|
-
disabledValue: string;
|
|
27
|
-
inputHeight: number;
|
|
28
|
-
isBorder: boolean;
|
|
29
|
-
marginBottom: number;
|
|
30
|
-
paddingTop: number;
|
|
31
|
-
}>>, {
|
|
32
|
-
focus: () => void;
|
|
33
|
-
blur: () => void;
|
|
34
|
-
clear: () => void;
|
|
35
|
-
getTreeSelectRef: () => unknown;
|
|
36
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
-
input: (value: OutlinedTreeSelectValue) => void;
|
|
38
|
-
"update:value": (value: OutlinedTreeSelectValue) => void;
|
|
39
|
-
change: (value: OutlinedTreeSelectValue) => void;
|
|
40
|
-
focus: (value: FocusEvent) => void;
|
|
41
|
-
blur: (value: FocusEvent) => void;
|
|
42
|
-
"visible-change": (value: boolean) => void;
|
|
43
|
-
clear: () => void;
|
|
44
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
|
|
45
|
-
value: undefined;
|
|
46
|
-
data: () => never[];
|
|
47
|
-
propsValue: undefined;
|
|
48
|
-
placeholder: string;
|
|
49
|
-
label: string;
|
|
50
|
-
disabled: boolean;
|
|
51
|
-
clearable: boolean;
|
|
52
|
-
filterable: boolean;
|
|
53
|
-
multiple: boolean;
|
|
54
|
-
showCheckbox: boolean;
|
|
55
|
-
checkStrictly: boolean;
|
|
56
|
-
checkOnClickNode: boolean;
|
|
57
|
-
defaultExpandAll: boolean;
|
|
58
|
-
expandOnClickNode: boolean;
|
|
59
|
-
renderAfterExpand: boolean;
|
|
60
|
-
collapseTags: boolean;
|
|
61
|
-
collapseTagsTooltip: boolean;
|
|
62
|
-
maxCollapseTags: number;
|
|
63
|
-
popperClass: string;
|
|
64
|
-
nodeKey: string;
|
|
65
|
-
keyValue: string;
|
|
66
|
-
labelValue: string;
|
|
67
|
-
childrenValue: string;
|
|
68
|
-
disabledValue: string;
|
|
69
|
-
inputHeight: number;
|
|
70
|
-
isBorder: boolean;
|
|
71
|
-
marginBottom: number;
|
|
72
|
-
paddingTop: number;
|
|
73
|
-
}>>> & Readonly<{
|
|
74
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
75
|
-
onChange?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
76
|
-
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
77
|
-
onInput?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
78
|
-
onClear?: (() => any) | undefined;
|
|
79
|
-
"onUpdate:value"?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
80
|
-
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
81
|
-
}>, {
|
|
82
|
-
data: import("./OutlinedTreeSelect.types").OutlinedTreeSelectNode[];
|
|
83
|
-
label: string;
|
|
84
|
-
disabled: boolean;
|
|
85
|
-
value: OutlinedTreeSelectValue;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
propsValue: Record<string, unknown>;
|
|
91
|
-
inputHeight: number;
|
|
92
|
-
isBorder: boolean;
|
|
93
|
-
filterable: boolean;
|
|
94
|
-
marginBottom: OutlinedTreeSelectCssValue;
|
|
95
|
-
paddingTop: OutlinedTreeSelectCssValue;
|
|
96
|
-
multiple: boolean;
|
|
97
|
-
collapseTags: boolean;
|
|
98
|
-
collapseTagsTooltip: boolean;
|
|
99
|
-
keyValue: string;
|
|
100
|
-
labelValue: string;
|
|
101
|
-
maxCollapseTags: number;
|
|
102
|
-
showCheckbox: boolean;
|
|
103
|
-
checkStrictly: boolean;
|
|
104
|
-
checkOnClickNode: boolean;
|
|
105
|
-
expandOnClickNode: boolean;
|
|
106
|
-
renderAfterExpand: boolean;
|
|
107
|
-
nodeKey: string;
|
|
108
|
-
childrenValue: string;
|
|
109
|
-
disabledValue: string;
|
|
110
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
111
|
-
empty?(_: {}): any;
|
|
112
|
-
header?(_: {}): any;
|
|
113
|
-
footer?(_: {}): any;
|
|
114
|
-
}>;
|
|
115
|
-
export default _default;
|
|
116
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
117
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
118
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
119
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
120
|
-
} : {
|
|
121
|
-
type: import('vue').PropType<T[K]>;
|
|
122
|
-
required: true;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
type __VLS_WithDefaults<P, D> = {
|
|
126
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
127
|
-
default: D[K];
|
|
128
|
-
}> : P[K];
|
|
129
|
-
};
|
|
130
|
-
type __VLS_Prettify<T> = {
|
|
131
|
-
[K in keyof T]: T[K];
|
|
132
|
-
} & {};
|
|
133
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
134
|
-
new (): {
|
|
135
|
-
$slots: S;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
1
|
+
import type { OutlinedTreeSelectCssValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
|
|
3
|
+
value: undefined;
|
|
4
|
+
data: () => never[];
|
|
5
|
+
propsValue: undefined;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
label: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
clearable: boolean;
|
|
10
|
+
filterable: boolean;
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
showCheckbox: boolean;
|
|
13
|
+
checkStrictly: boolean;
|
|
14
|
+
checkOnClickNode: boolean;
|
|
15
|
+
defaultExpandAll: boolean;
|
|
16
|
+
expandOnClickNode: boolean;
|
|
17
|
+
renderAfterExpand: boolean;
|
|
18
|
+
collapseTags: boolean;
|
|
19
|
+
collapseTagsTooltip: boolean;
|
|
20
|
+
maxCollapseTags: number;
|
|
21
|
+
popperClass: string;
|
|
22
|
+
nodeKey: string;
|
|
23
|
+
keyValue: string;
|
|
24
|
+
labelValue: string;
|
|
25
|
+
childrenValue: string;
|
|
26
|
+
disabledValue: string;
|
|
27
|
+
inputHeight: number;
|
|
28
|
+
isBorder: boolean;
|
|
29
|
+
marginBottom: number;
|
|
30
|
+
paddingTop: number;
|
|
31
|
+
}>>, {
|
|
32
|
+
focus: () => void;
|
|
33
|
+
blur: () => void;
|
|
34
|
+
clear: () => void;
|
|
35
|
+
getTreeSelectRef: () => unknown;
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
input: (value: OutlinedTreeSelectValue) => void;
|
|
38
|
+
"update:value": (value: OutlinedTreeSelectValue) => void;
|
|
39
|
+
change: (value: OutlinedTreeSelectValue) => void;
|
|
40
|
+
focus: (value: FocusEvent) => void;
|
|
41
|
+
blur: (value: FocusEvent) => void;
|
|
42
|
+
"visible-change": (value: boolean) => void;
|
|
43
|
+
clear: () => void;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
|
|
45
|
+
value: undefined;
|
|
46
|
+
data: () => never[];
|
|
47
|
+
propsValue: undefined;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
label: string;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
clearable: boolean;
|
|
52
|
+
filterable: boolean;
|
|
53
|
+
multiple: boolean;
|
|
54
|
+
showCheckbox: boolean;
|
|
55
|
+
checkStrictly: boolean;
|
|
56
|
+
checkOnClickNode: boolean;
|
|
57
|
+
defaultExpandAll: boolean;
|
|
58
|
+
expandOnClickNode: boolean;
|
|
59
|
+
renderAfterExpand: boolean;
|
|
60
|
+
collapseTags: boolean;
|
|
61
|
+
collapseTagsTooltip: boolean;
|
|
62
|
+
maxCollapseTags: number;
|
|
63
|
+
popperClass: string;
|
|
64
|
+
nodeKey: string;
|
|
65
|
+
keyValue: string;
|
|
66
|
+
labelValue: string;
|
|
67
|
+
childrenValue: string;
|
|
68
|
+
disabledValue: string;
|
|
69
|
+
inputHeight: number;
|
|
70
|
+
isBorder: boolean;
|
|
71
|
+
marginBottom: number;
|
|
72
|
+
paddingTop: number;
|
|
73
|
+
}>>> & Readonly<{
|
|
74
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
75
|
+
onChange?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
76
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
77
|
+
onInput?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
78
|
+
onClear?: (() => any) | undefined;
|
|
79
|
+
"onUpdate:value"?: ((value: OutlinedTreeSelectValue) => any) | undefined;
|
|
80
|
+
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
data: import("./OutlinedTreeSelect.types").OutlinedTreeSelectNode[];
|
|
83
|
+
label: string;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
value: OutlinedTreeSelectValue;
|
|
86
|
+
defaultExpandAll: boolean;
|
|
87
|
+
popperClass: string;
|
|
88
|
+
placeholder: string;
|
|
89
|
+
clearable: boolean;
|
|
90
|
+
propsValue: Record<string, unknown>;
|
|
91
|
+
inputHeight: number;
|
|
92
|
+
isBorder: boolean;
|
|
93
|
+
filterable: boolean;
|
|
94
|
+
marginBottom: OutlinedTreeSelectCssValue;
|
|
95
|
+
paddingTop: OutlinedTreeSelectCssValue;
|
|
96
|
+
multiple: boolean;
|
|
97
|
+
collapseTags: boolean;
|
|
98
|
+
collapseTagsTooltip: boolean;
|
|
99
|
+
keyValue: string;
|
|
100
|
+
labelValue: string;
|
|
101
|
+
maxCollapseTags: number;
|
|
102
|
+
showCheckbox: boolean;
|
|
103
|
+
checkStrictly: boolean;
|
|
104
|
+
checkOnClickNode: boolean;
|
|
105
|
+
expandOnClickNode: boolean;
|
|
106
|
+
renderAfterExpand: boolean;
|
|
107
|
+
nodeKey: string;
|
|
108
|
+
childrenValue: string;
|
|
109
|
+
disabledValue: string;
|
|
110
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
111
|
+
empty?(_: {}): any;
|
|
112
|
+
header?(_: {}): any;
|
|
113
|
+
footer?(_: {}): any;
|
|
114
|
+
}>;
|
|
115
|
+
export default _default;
|
|
116
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
117
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
118
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
119
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
120
|
+
} : {
|
|
121
|
+
type: import('vue').PropType<T[K]>;
|
|
122
|
+
required: true;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
type __VLS_WithDefaults<P, D> = {
|
|
126
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
127
|
+
default: D[K];
|
|
128
|
+
}> : P[K];
|
|
129
|
+
};
|
|
130
|
+
type __VLS_Prettify<T> = {
|
|
131
|
+
[K in keyof T]: T[K];
|
|
132
|
+
} & {};
|
|
133
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
134
|
+
new (): {
|
|
135
|
+
$slots: S;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import OutlinedTreeSelect from './OutlinedTreeSelect.vue';
|
|
2
|
-
export default OutlinedTreeSelect;
|
|
3
|
-
export type { OutlinedTreeSelectCssValue, OutlinedTreeSelectExpose, OutlinedTreeSelectNode, OutlinedTreeSelectOptionValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
|
|
1
|
+
import OutlinedTreeSelect from './OutlinedTreeSelect.vue';
|
|
2
|
+
export default OutlinedTreeSelect;
|
|
3
|
+
export type { OutlinedTreeSelectCssValue, OutlinedTreeSelectExpose, OutlinedTreeSelectNode, OutlinedTreeSelectOptionValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
|
package/dist/echarts/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as echarts from 'echarts';
|
|
2
|
-
import type { ECharts, EChartsInitOpts, EChartsOption, ResizeOpts, SetOptionOpts } from 'echarts';
|
|
3
|
-
export type EChartInstance = ECharts;
|
|
4
|
-
export type EChartOption = EChartsOption;
|
|
5
|
-
export type EChartInitOptions = EChartsInitOpts;
|
|
6
|
-
export type EChartLoadingOptions = Parameters<ECharts['showLoading']>[1];
|
|
7
|
-
export type EChartResizeOptions = ResizeOpts;
|
|
8
|
-
export type EChartSetOptionOptions = SetOptionOpts;
|
|
9
|
-
export { echarts };
|
|
1
|
+
import * as echarts from 'echarts';
|
|
2
|
+
import type { ECharts, EChartsInitOpts, EChartsOption, ResizeOpts, SetOptionOpts } from 'echarts';
|
|
3
|
+
export type EChartInstance = ECharts;
|
|
4
|
+
export type EChartOption = EChartsOption;
|
|
5
|
+
export type EChartInitOptions = EChartsInitOpts;
|
|
6
|
+
export type EChartLoadingOptions = Parameters<ECharts['showLoading']>[1];
|
|
7
|
+
export type EChartResizeOptions = ResizeOpts;
|
|
8
|
+
export type EChartSetOptionOptions = SetOptionOpts;
|
|
9
|
+
export { echarts };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export type ExcelCellValue = string | number | boolean | null | undefined | Date;
|
|
2
|
-
export interface ExcelExportColumn<Row = Record<string, any>> {
|
|
3
|
-
label: string;
|
|
4
|
-
key?: string;
|
|
5
|
-
width?: number;
|
|
6
|
-
formatter?: (row: Row, rowIndex: number, column: ExcelExportColumn<Row>) => ExcelCellValue;
|
|
7
|
-
children?: Array<ExcelExportColumn<Row>>;
|
|
8
|
-
}
|
|
9
|
-
export interface ExcelExportOptions<Row = Record<string, any>> {
|
|
10
|
-
fileName: string;
|
|
11
|
-
sheetName?: string;
|
|
12
|
-
columns: Array<ExcelExportColumn<Row>>;
|
|
13
|
-
data: Array<Row>;
|
|
14
|
-
autoWidth?: boolean;
|
|
15
|
-
defaultColumnWidth?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare function exportExcel<Row = Record<string, any>>(options: ExcelExportOptions<Row>): Promise<void>;
|
|
18
|
-
export default exportExcel;
|
|
1
|
+
export type ExcelCellValue = string | number | boolean | null | undefined | Date;
|
|
2
|
+
export interface ExcelExportColumn<Row = Record<string, any>> {
|
|
3
|
+
label: string;
|
|
4
|
+
key?: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
formatter?: (row: Row, rowIndex: number, column: ExcelExportColumn<Row>) => ExcelCellValue;
|
|
7
|
+
children?: Array<ExcelExportColumn<Row>>;
|
|
8
|
+
}
|
|
9
|
+
export interface ExcelExportOptions<Row = Record<string, any>> {
|
|
10
|
+
fileName: string;
|
|
11
|
+
sheetName?: string;
|
|
12
|
+
columns: Array<ExcelExportColumn<Row>>;
|
|
13
|
+
data: Array<Row>;
|
|
14
|
+
autoWidth?: boolean;
|
|
15
|
+
defaultColumnWidth?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function exportExcel<Row = Record<string, any>>(options: ExcelExportOptions<Row>): Promise<void>;
|
|
18
|
+
export default exportExcel;
|