@touchvue/ui 1.0.0-beta.17 → 1.0.0-beta.19
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/es/components/box/src/box.vue.d.ts +1 -1
- package/es/components/card/src/Card.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +14 -2
- package/es/components/datepicker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/daterange/src/date-range.vue.d.ts +12 -1
- package/es/components/fix/index.d.ts +3 -3
- package/es/components/fix/src/Fix.vue.d.ts +1 -1
- package/es/components/form/src/form.vue.d.ts +2 -2
- package/es/components/grid/src/grid.vue.d.ts +1 -1
- package/es/components/import/index.d.ts +1 -0
- package/es/components/import/src/import.vue.d.ts +2 -0
- package/es/components/import/src/instance.d.ts +2 -0
- package/es/components/index.d.ts +3 -1
- package/es/components/input/src/input.vue.d.ts +1 -1
- package/es/components/msg/src/msg.vue.d.ts +12 -10
- package/es/components/param/index.d.ts +3 -3
- package/es/components/param/src/Param.vue.d.ts +1 -1
- package/es/components/pic/index.d.ts +0 -1
- package/es/components/pic/src/PicViewer.vue.d.ts +0 -2
- package/es/components/scroll/index.d.ts +3 -3
- package/es/components/scroll/src/Scroll.vue.d.ts +1 -1
- package/es/components/segment/src/segment.vue.d.ts +4 -2
- package/es/components/select/src/select.vue.d.ts +1 -1
- package/es/components/step/src/step.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +1 -1
- package/es/components/tab/src/tab-item.vue.d.ts +1 -1
- package/es/components/tab/src/tab.vue.d.ts +1 -1
- package/es/components/table/src/table-body.vue.d.ts +2 -0
- package/es/components/timeline/src/timeline.d.ts +2 -25
- package/es/components/timeline/src/timeline.vue.d.ts +9 -75
- package/es/components/tooltip/src/tooltip.d.ts +5 -6
- package/es/components/tooltip/src/tooltip.vue.d.ts +12 -15
- package/es/components/tree/src/tree.vue.d.ts +6 -1
- package/es/components/upload/src/upload.vue.d.ts +10 -4
- package/es/index.mjs +1 -0
- package/es/index.mjs.map +1 -1
- package/es/packages/components/cascader/src/cascader-item.vue2.mjs +18 -18
- package/es/packages/components/cascader/src/cascader-item.vue2.mjs.map +1 -1
- package/es/packages/components/cascader/src/cascader.vue2.mjs +80 -18
- package/es/packages/components/cascader/src/cascader.vue2.mjs.map +1 -1
- package/es/packages/components/daterange/src/date-range.vue2.mjs +26 -7
- package/es/packages/components/daterange/src/date-range.vue2.mjs.map +1 -1
- package/es/packages/components/import/index.mjs +7 -0
- package/es/packages/components/import/index.mjs.map +1 -0
- package/es/packages/components/import/src/import.vue.mjs +7 -0
- package/es/packages/components/import/src/import.vue.mjs.map +1 -0
- package/es/packages/components/import/src/import.vue2.mjs +17 -0
- package/es/packages/components/import/src/import.vue2.mjs.map +1 -0
- package/es/packages/components/import/src/instance.mjs +2 -0
- package/es/packages/components/import/src/instance.mjs.map +1 -0
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/index.mjs.map +1 -1
- package/es/packages/components/msg/index.mjs +3 -3
- package/es/packages/components/msg/index.mjs.map +1 -1
- package/es/packages/components/msg/src/msg.vue2.mjs +167 -176
- package/es/packages/components/msg/src/msg.vue2.mjs.map +1 -1
- package/es/packages/components/padding/src/padding.vue2.mjs +2 -2
- package/es/packages/components/padding/src/padding.vue2.mjs.map +1 -1
- package/es/packages/components/page/src/page.vue2.mjs +11 -5
- package/es/packages/components/page/src/page.vue2.mjs.map +1 -1
- package/es/packages/components/pic/src/Pic.vue2.mjs +0 -1
- package/es/packages/components/pic/src/Pic.vue2.mjs.map +1 -1
- package/es/packages/components/pic/src/PicViewer.vue2.mjs +18 -58
- package/es/packages/components/pic/src/PicViewer.vue2.mjs.map +1 -1
- package/es/packages/components/segment/src/segment.vue.mjs +4 -0
- package/es/packages/components/segment/src/segment.vue.mjs.map +1 -1
- package/es/packages/components/select/src/select.vue2.mjs +2 -2
- package/es/packages/components/select/src/select.vue2.mjs.map +1 -1
- package/es/packages/components/tab/src/tab.vue2.mjs +3 -2
- package/es/packages/components/tab/src/tab.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/table-body.vue2.mjs +23 -1
- package/es/packages/components/table/src/table-body.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/table.vue2.mjs +46 -4
- package/es/packages/components/table/src/table.vue2.mjs.map +1 -1
- package/es/packages/components/timeline/src/timeline.vue.mjs +114 -170
- package/es/packages/components/timeline/src/timeline.vue.mjs.map +1 -1
- package/es/packages/components/timeline/src/timeline.vue2.mjs +20 -112
- package/es/packages/components/timeline/src/timeline.vue2.mjs.map +1 -1
- package/es/packages/components/tooltip/src/tooltip.mjs +5 -6
- package/es/packages/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/packages/components/tooltip/src/tooltip.vue2.mjs +23 -30
- package/es/packages/components/tooltip/src/tooltip.vue2.mjs.map +1 -1
- package/es/packages/components/tree/src/tree-item.vue2.mjs +19 -4
- package/es/packages/components/tree/src/tree-item.vue2.mjs.map +1 -1
- package/es/packages/components/tree/src/tree.vue2.mjs +40 -2
- package/es/packages/components/tree/src/tree.vue2.mjs.map +1 -1
- package/es/packages/components/upload/src/upload.vue2.mjs +73 -21
- package/es/packages/components/upload/src/upload.vue2.mjs.map +1 -1
- package/es/packages/directives/loading/src/loading.mjs +8 -5
- package/es/packages/directives/loading/src/loading.mjs.map +1 -1
- package/es/packages/directives/tip/src/tip.mjs +5 -2
- package/es/packages/directives/tip/src/tip.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/components/box/src/box.vue.d.ts +1 -1
- package/lib/components/card/src/Card.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +14 -2
- package/lib/components/datepicker/src/DatePicker.vue.d.ts +1 -1
- package/lib/components/daterange/src/date-range.vue.d.ts +12 -1
- package/lib/components/fix/index.d.ts +3 -3
- package/lib/components/fix/src/Fix.vue.d.ts +1 -1
- package/lib/components/form/src/form.vue.d.ts +2 -2
- package/lib/components/grid/src/grid.vue.d.ts +1 -1
- package/lib/components/import/index.d.ts +1 -0
- package/lib/components/import/src/import.vue.d.ts +2 -0
- package/lib/components/import/src/instance.d.ts +2 -0
- package/lib/components/index.d.ts +3 -1
- package/lib/components/input/src/input.vue.d.ts +1 -1
- package/lib/components/msg/src/msg.vue.d.ts +12 -10
- package/lib/components/param/index.d.ts +3 -3
- package/lib/components/param/src/Param.vue.d.ts +1 -1
- package/lib/components/pic/index.d.ts +0 -1
- package/lib/components/pic/src/PicViewer.vue.d.ts +0 -2
- package/lib/components/scroll/index.d.ts +3 -3
- package/lib/components/scroll/src/Scroll.vue.d.ts +1 -1
- package/lib/components/segment/src/segment.vue.d.ts +4 -2
- package/lib/components/select/src/select.vue.d.ts +1 -1
- package/lib/components/step/src/step.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +1 -1
- package/lib/components/tab/src/tab-item.vue.d.ts +1 -1
- package/lib/components/tab/src/tab.vue.d.ts +1 -1
- package/lib/components/table/src/table-body.vue.d.ts +2 -0
- package/lib/components/timeline/src/timeline.d.ts +2 -25
- package/lib/components/timeline/src/timeline.vue.d.ts +9 -75
- package/lib/components/tooltip/src/tooltip.d.ts +5 -6
- package/lib/components/tooltip/src/tooltip.vue.d.ts +12 -15
- package/lib/components/tree/src/tree.vue.d.ts +6 -1
- package/lib/components/upload/src/upload.vue.d.ts +10 -4
- package/lib/index.js +10 -8
- package/lib/index.js.map +1 -1
- package/lib/packages/components/cascader/src/cascader-item.vue2.js +18 -18
- package/lib/packages/components/cascader/src/cascader-item.vue2.js.map +1 -1
- package/lib/packages/components/cascader/src/cascader.vue2.js +79 -17
- package/lib/packages/components/cascader/src/cascader.vue2.js.map +1 -1
- package/lib/packages/components/daterange/src/date-range.vue2.js +25 -6
- package/lib/packages/components/daterange/src/date-range.vue2.js.map +1 -1
- package/lib/packages/components/import/index.js +9 -0
- package/lib/packages/components/import/index.js.map +1 -0
- package/lib/packages/components/import/src/import.vue.js +11 -0
- package/lib/packages/components/import/src/import.vue.js.map +1 -0
- package/lib/packages/components/import/src/import.vue2.js +21 -0
- package/lib/packages/components/import/src/import.vue2.js.map +1 -0
- package/lib/packages/components/import/src/instance.js +3 -0
- package/lib/packages/components/import/src/instance.js.map +1 -0
- package/lib/packages/components/index.js +2 -0
- package/lib/packages/components/index.js.map +1 -1
- package/lib/packages/components/msg/index.js +2 -2
- package/lib/packages/components/msg/index.js.map +1 -1
- package/lib/packages/components/msg/src/msg.vue2.js +167 -176
- package/lib/packages/components/msg/src/msg.vue2.js.map +1 -1
- package/lib/packages/components/padding/src/padding.vue2.js +2 -2
- package/lib/packages/components/padding/src/padding.vue2.js.map +1 -1
- package/lib/packages/components/page/src/page.vue2.js +10 -4
- package/lib/packages/components/page/src/page.vue2.js.map +1 -1
- package/lib/packages/components/pic/src/Pic.vue2.js +0 -1
- package/lib/packages/components/pic/src/Pic.vue2.js.map +1 -1
- package/lib/packages/components/pic/src/PicViewer.vue2.js +17 -57
- package/lib/packages/components/pic/src/PicViewer.vue2.js.map +1 -1
- package/lib/packages/components/segment/src/segment.vue.js +4 -0
- package/lib/packages/components/segment/src/segment.vue.js.map +1 -1
- package/lib/packages/components/select/src/select.vue2.js +2 -2
- package/lib/packages/components/select/src/select.vue2.js.map +1 -1
- package/lib/packages/components/tab/src/tab.vue2.js +2 -1
- package/lib/packages/components/tab/src/tab.vue2.js.map +1 -1
- package/lib/packages/components/table/src/table-body.vue2.js +23 -1
- package/lib/packages/components/table/src/table-body.vue2.js.map +1 -1
- package/lib/packages/components/table/src/table.vue2.js +45 -3
- package/lib/packages/components/table/src/table.vue2.js.map +1 -1
- package/lib/packages/components/timeline/src/timeline.vue.js +113 -169
- package/lib/packages/components/timeline/src/timeline.vue.js.map +1 -1
- package/lib/packages/components/timeline/src/timeline.vue2.js +20 -112
- package/lib/packages/components/timeline/src/timeline.vue2.js.map +1 -1
- package/lib/packages/components/tooltip/src/tooltip.js +5 -6
- package/lib/packages/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/packages/components/tooltip/src/tooltip.vue2.js +23 -30
- package/lib/packages/components/tooltip/src/tooltip.vue2.js.map +1 -1
- package/lib/packages/components/tree/src/tree-item.vue2.js +19 -4
- package/lib/packages/components/tree/src/tree-item.vue2.js.map +1 -1
- package/lib/packages/components/tree/src/tree.vue2.js +40 -2
- package/lib/packages/components/tree/src/tree.vue2.js.map +1 -1
- package/lib/packages/components/upload/src/upload.vue2.js +72 -20
- package/lib/packages/components/upload/src/upload.vue2.js.map +1 -1
- package/lib/packages/directives/loading/src/loading.js +8 -5
- package/lib/packages/directives/loading/src/loading.js.map +1 -1
- package/lib/packages/directives/tip/src/tip.js +5 -2
- package/lib/packages/directives/tip/src/tip.js.map +1 -1
- package/package.json +1 -1
- package/theme/components/index.css +500 -536
- package/theme/img/loading-msg.png +0 -0
- package/theme/index.css +500 -536
- package/theme/skin/default.css +500 -536
- package/types/global.d.ts +1 -0
|
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
|
|
|
16
16
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
17
|
mode: string;
|
|
18
18
|
color: string;
|
|
19
|
-
shadow: boolean;
|
|
20
19
|
link: boolean;
|
|
20
|
+
shadow: boolean;
|
|
21
21
|
height: "" | "full" | number | string;
|
|
22
22
|
padding: string | number;
|
|
23
23
|
paddingPosition: string;
|
|
@@ -7,10 +7,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
$emit: (event: "click", ...args: any[]) => void;
|
|
8
8
|
mode: string;
|
|
9
9
|
color: string;
|
|
10
|
-
shadow: boolean;
|
|
11
10
|
width: string | number;
|
|
12
11
|
link: boolean;
|
|
13
12
|
type: string;
|
|
13
|
+
shadow: boolean;
|
|
14
14
|
padding: string | number;
|
|
15
15
|
checked: boolean;
|
|
16
16
|
fillet: string;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
18
18
|
$props: {
|
|
19
19
|
readonly mode?: string;
|
|
20
20
|
readonly color?: string;
|
|
21
|
-
readonly shadow?: boolean;
|
|
22
21
|
readonly width?: string | number;
|
|
23
22
|
readonly link?: boolean;
|
|
24
23
|
readonly type?: string;
|
|
24
|
+
readonly shadow?: boolean;
|
|
25
25
|
readonly padding?: string | number;
|
|
26
26
|
readonly checked?: boolean;
|
|
27
27
|
readonly fillet?: string;
|
|
@@ -26,18 +26,23 @@ export interface Props {
|
|
|
26
26
|
comparable?: boolean;
|
|
27
27
|
required?: boolean;
|
|
28
28
|
desc?: string;
|
|
29
|
+
prefix?: string;
|
|
30
|
+
showAllLevels?: boolean;
|
|
29
31
|
}
|
|
30
32
|
export interface ProvideProps {
|
|
31
33
|
props: Props;
|
|
32
34
|
setLevel: (level: number) => void;
|
|
33
35
|
close: () => void;
|
|
34
|
-
setParentCheckedByValue: (
|
|
36
|
+
setParentCheckedByValue: (value: string, level: number) => void;
|
|
35
37
|
store: Item[];
|
|
36
38
|
setViewData: () => void;
|
|
37
39
|
}
|
|
38
40
|
declare function compare(): void;
|
|
39
41
|
declare function restore(): void;
|
|
40
|
-
declare
|
|
42
|
+
declare function __VLS_template(): {
|
|
43
|
+
prefix?(_: {}): any;
|
|
44
|
+
};
|
|
45
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
41
46
|
compare: typeof compare;
|
|
42
47
|
restore: typeof restore;
|
|
43
48
|
changed: import("vue").ComputedRef<boolean>;
|
|
@@ -68,5 +73,12 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
68
73
|
comparable: boolean;
|
|
69
74
|
childrenText: string;
|
|
70
75
|
any: boolean;
|
|
76
|
+
showAllLevels: boolean;
|
|
71
77
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
72
79
|
export default _default;
|
|
80
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
81
|
+
new (): {
|
|
82
|
+
$slots: S;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
@@ -265,6 +265,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
265
265
|
color: string;
|
|
266
266
|
width: string | number;
|
|
267
267
|
lazy: boolean;
|
|
268
|
+
readonly: boolean;
|
|
268
269
|
type: DatePickerType;
|
|
269
270
|
required: boolean;
|
|
270
271
|
time: string;
|
|
@@ -274,7 +275,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
274
275
|
spChars: string | boolean;
|
|
275
276
|
modelValue: DatePickerValue;
|
|
276
277
|
placeholder: string;
|
|
277
|
-
readonly: boolean;
|
|
278
278
|
inputable: boolean;
|
|
279
279
|
clearable: boolean;
|
|
280
280
|
fillet: string;
|
|
@@ -11,8 +11,12 @@ export interface DateRangeProps {
|
|
|
11
11
|
max?: string | Date | number;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
clearable?: boolean;
|
|
14
|
+
prefix?: string;
|
|
14
15
|
}
|
|
15
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
prefix?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<DateRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
20
|
change: (...args: any[]) => void;
|
|
17
21
|
focus: (...args: any[]) => void;
|
|
18
22
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -28,10 +32,17 @@ declare const _default: import("vue").DefineComponent<DateRangeProps, {}, {}, {}
|
|
|
28
32
|
modelValue: string;
|
|
29
33
|
inputable: boolean;
|
|
30
34
|
clearable: boolean;
|
|
35
|
+
prefix: string;
|
|
31
36
|
min: string | Date | number;
|
|
32
37
|
max: string | Date | number;
|
|
33
38
|
seperatorText: string;
|
|
34
39
|
startPlaceholder: string;
|
|
35
40
|
endPlaceholder: string;
|
|
36
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
43
|
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -33,8 +33,8 @@ export declare const ToFix: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
33
33
|
number: string | number;
|
|
34
34
|
left: string | number;
|
|
35
35
|
right: string | number;
|
|
36
|
-
top: string | number;
|
|
37
36
|
bottom: string | number;
|
|
37
|
+
top: string | number;
|
|
38
38
|
draggable: boolean;
|
|
39
39
|
appendToBody: boolean;
|
|
40
40
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -76,8 +76,8 @@ export declare const ToFix: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
76
76
|
number: string | number;
|
|
77
77
|
left: string | number;
|
|
78
78
|
right: string | number;
|
|
79
|
-
top: string | number;
|
|
80
79
|
bottom: string | number;
|
|
80
|
+
top: string | number;
|
|
81
81
|
draggable: boolean;
|
|
82
82
|
appendToBody: boolean;
|
|
83
83
|
}>;
|
|
@@ -118,8 +118,8 @@ export declare const ToFix: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
118
118
|
number: string | number;
|
|
119
119
|
left: string | number;
|
|
120
120
|
right: string | number;
|
|
121
|
-
top: string | number;
|
|
122
121
|
bottom: string | number;
|
|
122
|
+
top: string | number;
|
|
123
123
|
draggable: boolean;
|
|
124
124
|
appendToBody: boolean;
|
|
125
125
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -61,8 +61,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
61
61
|
number: string | number;
|
|
62
62
|
left: string | number;
|
|
63
63
|
right: string | number;
|
|
64
|
-
top: string | number;
|
|
65
64
|
bottom: string | number;
|
|
65
|
+
top: string | number;
|
|
66
66
|
draggable: boolean;
|
|
67
67
|
appendToBody: boolean;
|
|
68
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -66,11 +66,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
66
66
|
readonly: BooleanConstructor;
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
68
|
mode: string;
|
|
69
|
+
readonly: boolean;
|
|
69
70
|
type: string;
|
|
70
71
|
col: string | number;
|
|
71
|
-
readonly: boolean;
|
|
72
|
-
comparable: boolean;
|
|
73
72
|
dir: string;
|
|
73
|
+
comparable: boolean;
|
|
74
74
|
labelWidth: string | number;
|
|
75
75
|
submitPosition: string;
|
|
76
76
|
valueWidth: string;
|
|
@@ -20,9 +20,9 @@ declare const __VLS_component: import("vue").DefineComponent<GridProps, {}, {},
|
|
|
20
20
|
col: number | string;
|
|
21
21
|
height: number | string;
|
|
22
22
|
padding: number | string;
|
|
23
|
+
dir: string;
|
|
23
24
|
paddingPosition: string;
|
|
24
25
|
wrap: boolean;
|
|
25
|
-
dir: string;
|
|
26
26
|
gap: number | string;
|
|
27
27
|
verticalAlign: string;
|
|
28
28
|
va: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ToImport: import("@touchvue/ui/es/utils").SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/es/components/index.d.ts
CHANGED
|
@@ -49,7 +49,8 @@ import { ToTimeline } from './timeline';
|
|
|
49
49
|
import { ToGuider } from './guider';
|
|
50
50
|
import { ToTransfer } from './transfer';
|
|
51
51
|
import { ToUpload } from './upload';
|
|
52
|
-
|
|
52
|
+
import { ToImport } from './import';
|
|
53
|
+
export { ToButton, ToIcon, ToArticle, ToBox, ToSelect, ToCalendar, ToGap, ToStep, ToForm, ToFormItem, ToGrid, ToGridItem, ToHeader, ToInput, ToDivider, ToMsg, ToPadding, ToPage, ToCard, ToCheckbox, ToCheckboxes, ToCenterScroll, ToDatePicker, ToDateRange, ToSwitch, ToTab, ToTabItem, ToTable, ToTableHead, ToTableBody, ToTableConfig, ToTag, ToText, ToTip, ToDialog, ToEllipsis, ToFix, ToFloat, ToTooltip, ToSegment, ToPic, ToParam, ToProgress, ToScroll, ToScrollPoint, ToSubmit, ToSlide, ToBreadcrumb, ToBreadcrumbItem, ToTree, ToCascader, ToTimeline, ToCollapse, ToCollapseItem, ToRange, ToGuider, ToTransfer, ToUpload, ToImport };
|
|
53
54
|
export * from '@touchvue/ui/es/directives';
|
|
54
55
|
export * from './button';
|
|
55
56
|
export * from './icon';
|
|
@@ -99,3 +100,4 @@ export * from './range';
|
|
|
99
100
|
export * from './guider';
|
|
100
101
|
export * from './transfer';
|
|
101
102
|
export * from './upload';
|
|
103
|
+
export * from './import';
|
|
@@ -398,6 +398,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
398
398
|
mode: string;
|
|
399
399
|
color: string;
|
|
400
400
|
width: string | number;
|
|
401
|
+
readonly: boolean;
|
|
401
402
|
trim: boolean;
|
|
402
403
|
link: boolean;
|
|
403
404
|
type: string;
|
|
@@ -414,7 +415,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
414
415
|
modelValue: string | number;
|
|
415
416
|
placeholder: string;
|
|
416
417
|
placeholderColor: string;
|
|
417
|
-
readonly: boolean;
|
|
418
418
|
clearable: boolean;
|
|
419
419
|
fillet: string;
|
|
420
420
|
filletPosition: string;
|
|
@@ -11,18 +11,19 @@ export interface Props {
|
|
|
11
11
|
buttons?: ButtonConfig[];
|
|
12
12
|
height?: string | number;
|
|
13
13
|
width?: string | number;
|
|
14
|
+
dir?: string;
|
|
14
15
|
detail?: string;
|
|
15
|
-
detailWidth?: string | number;
|
|
16
16
|
showDetail?: boolean;
|
|
17
17
|
padding?: string | number;
|
|
18
|
-
picPosition?: string;
|
|
19
18
|
position?: string;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
confirmText?: string;
|
|
20
|
+
cancelText?: string;
|
|
22
21
|
closeOnBlur?: boolean;
|
|
23
22
|
zIndex?: number | string;
|
|
24
|
-
global?: boolean;
|
|
25
23
|
show?: boolean;
|
|
24
|
+
global?: boolean;
|
|
25
|
+
confirmable?: boolean;
|
|
26
|
+
cancelable?: boolean;
|
|
26
27
|
}
|
|
27
28
|
declare function __VLS_template(): {
|
|
28
29
|
title?(_: {}): any;
|
|
@@ -51,14 +52,15 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
51
52
|
buttons: ButtonConfig[];
|
|
52
53
|
height: string | number;
|
|
53
54
|
detail: string;
|
|
54
|
-
detailWidth: string | number;
|
|
55
55
|
showDetail: boolean;
|
|
56
56
|
padding: string | number;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
global: boolean;
|
|
57
|
+
dir: string;
|
|
58
|
+
confirmText: string;
|
|
59
|
+
cancelText: string;
|
|
61
60
|
show: boolean;
|
|
61
|
+
global: boolean;
|
|
62
|
+
confirmable: boolean;
|
|
63
|
+
cancelable: boolean;
|
|
62
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
65
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
64
66
|
export default _default;
|
|
@@ -57,8 +57,8 @@ export declare const ToParam: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
57
57
|
type: string;
|
|
58
58
|
col: string | number;
|
|
59
59
|
tip: boolean;
|
|
60
|
-
wrap: boolean;
|
|
61
60
|
dir: import("@touchvue/ui/index.ts").ParamDir;
|
|
61
|
+
wrap: boolean;
|
|
62
62
|
labelWidth: string | number;
|
|
63
63
|
avg: boolean;
|
|
64
64
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -126,8 +126,8 @@ export declare const ToParam: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
126
126
|
type: string;
|
|
127
127
|
col: string | number;
|
|
128
128
|
tip: boolean;
|
|
129
|
-
wrap: boolean;
|
|
130
129
|
dir: import("@touchvue/ui/index.ts").ParamDir;
|
|
130
|
+
wrap: boolean;
|
|
131
131
|
labelWidth: string | number;
|
|
132
132
|
avg: boolean;
|
|
133
133
|
}>;
|
|
@@ -192,8 +192,8 @@ export declare const ToParam: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
192
192
|
type: string;
|
|
193
193
|
col: string | number;
|
|
194
194
|
tip: boolean;
|
|
195
|
-
wrap: boolean;
|
|
196
195
|
dir: import("@touchvue/ui/index.ts").ParamDir;
|
|
196
|
+
wrap: boolean;
|
|
197
197
|
labelWidth: string | number;
|
|
198
198
|
avg: boolean;
|
|
199
199
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -109,8 +109,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
109
109
|
type: string;
|
|
110
110
|
col: string | number;
|
|
111
111
|
tip: boolean;
|
|
112
|
-
wrap: boolean;
|
|
113
112
|
dir: import("@touchvue/ui/index.ts").ParamDir;
|
|
113
|
+
wrap: boolean;
|
|
114
114
|
labelWidth: string | number;
|
|
115
115
|
avg: boolean;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -94,7 +94,6 @@ export declare const ToPic: import("@touchvue/ui/es/utils").SFCWithInstall<impor
|
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & import("vue").DefineComponent<import("./src/PicViewer.vue").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./src/PicViewer.vue").Props> & Readonly<{}>, {
|
|
95
95
|
zIndex: number;
|
|
96
96
|
onClose: () => void;
|
|
97
|
-
appendToBody: boolean;
|
|
98
97
|
urlList: string[];
|
|
99
98
|
onSwitch: (index: number) => void;
|
|
100
99
|
initialIndex: number;
|
|
@@ -8,13 +8,11 @@ export interface Props {
|
|
|
8
8
|
onSwitch?: (index: number) => void;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
initialIndex: number;
|
|
11
|
-
appendToBody: boolean;
|
|
12
11
|
maskClosable: boolean;
|
|
13
12
|
}
|
|
14
13
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
15
14
|
zIndex: number;
|
|
16
15
|
onClose: () => void;
|
|
17
|
-
appendToBody: boolean;
|
|
18
16
|
urlList: string[];
|
|
19
17
|
onSwitch: (index: number) => void;
|
|
20
18
|
initialIndex: number;
|
|
@@ -80,10 +80,10 @@ export declare const ToScroll: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
80
80
|
color: string;
|
|
81
81
|
height: string | number;
|
|
82
82
|
padding: string | number;
|
|
83
|
-
top: string | number;
|
|
84
83
|
paddingPosition: string;
|
|
85
84
|
modelValue: string | number;
|
|
86
85
|
bottom: string | number;
|
|
86
|
+
top: string | number;
|
|
87
87
|
virtual: boolean;
|
|
88
88
|
speed: number;
|
|
89
89
|
barDisplay: string;
|
|
@@ -169,10 +169,10 @@ export declare const ToScroll: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
169
169
|
color: string;
|
|
170
170
|
height: string | number;
|
|
171
171
|
padding: string | number;
|
|
172
|
-
top: string | number;
|
|
173
172
|
paddingPosition: string;
|
|
174
173
|
modelValue: string | number;
|
|
175
174
|
bottom: string | number;
|
|
175
|
+
top: string | number;
|
|
176
176
|
virtual: boolean;
|
|
177
177
|
speed: number;
|
|
178
178
|
barDisplay: string;
|
|
@@ -262,10 +262,10 @@ export declare const ToScroll: import("@touchvue/ui/es/utils").SFCWithInstall<{
|
|
|
262
262
|
color: string;
|
|
263
263
|
height: string | number;
|
|
264
264
|
padding: string | number;
|
|
265
|
-
top: string | number;
|
|
266
265
|
paddingPosition: string;
|
|
267
266
|
modelValue: string | number;
|
|
268
267
|
bottom: string | number;
|
|
268
|
+
top: string | number;
|
|
269
269
|
virtual: boolean;
|
|
270
270
|
speed: number;
|
|
271
271
|
barDisplay: string;
|
|
@@ -136,10 +136,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
136
136
|
color: string;
|
|
137
137
|
height: string | number;
|
|
138
138
|
padding: string | number;
|
|
139
|
-
top: string | number;
|
|
140
139
|
paddingPosition: string;
|
|
141
140
|
modelValue: string | number;
|
|
142
141
|
bottom: string | number;
|
|
142
|
+
top: string | number;
|
|
143
143
|
virtual: boolean;
|
|
144
144
|
speed: number;
|
|
145
145
|
barDisplay: string;
|
|
@@ -16,16 +16,17 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
16
16
|
mode: string;
|
|
17
17
|
color: string;
|
|
18
18
|
width: string | number;
|
|
19
|
+
readonly: boolean;
|
|
19
20
|
data: string | unknown[];
|
|
20
21
|
type: string;
|
|
21
22
|
required: boolean;
|
|
23
|
+
col: string | number;
|
|
22
24
|
rule: string | unknown[] | Record<string, any>;
|
|
23
25
|
desc: string;
|
|
24
26
|
id: string;
|
|
25
27
|
valueText: string;
|
|
26
28
|
labelText: string;
|
|
27
29
|
modelValue: string | number | boolean | unknown[];
|
|
28
|
-
readonly: boolean;
|
|
29
30
|
multiple: boolean;
|
|
30
31
|
clearable: boolean;
|
|
31
32
|
fillet: string;
|
|
@@ -46,16 +47,17 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
46
47
|
readonly mode?: string;
|
|
47
48
|
readonly color?: string;
|
|
48
49
|
readonly width?: string | number;
|
|
50
|
+
readonly readonly?: boolean;
|
|
49
51
|
readonly data?: string | unknown[];
|
|
50
52
|
readonly type?: string;
|
|
51
53
|
readonly required?: boolean;
|
|
54
|
+
readonly col?: string | number;
|
|
52
55
|
readonly rule?: string | unknown[] | Record<string, any>;
|
|
53
56
|
readonly desc?: string;
|
|
54
57
|
readonly id?: string;
|
|
55
58
|
readonly valueText?: string;
|
|
56
59
|
readonly labelText?: string;
|
|
57
60
|
readonly modelValue?: string | number | boolean | unknown[];
|
|
58
|
-
readonly readonly?: boolean;
|
|
59
61
|
readonly multiple?: boolean;
|
|
60
62
|
readonly clearable?: boolean;
|
|
61
63
|
readonly fillet?: string;
|
|
@@ -510,6 +510,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
510
510
|
color: string;
|
|
511
511
|
width: string | number;
|
|
512
512
|
lazy: boolean;
|
|
513
|
+
readonly: boolean;
|
|
513
514
|
trim: boolean;
|
|
514
515
|
data: string | SelectOptionsData[];
|
|
515
516
|
required: boolean;
|
|
@@ -530,7 +531,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
530
531
|
placeholderColor: string;
|
|
531
532
|
nomatchText: string;
|
|
532
533
|
nodataText: string;
|
|
533
|
-
readonly: boolean;
|
|
534
534
|
multiple: boolean;
|
|
535
535
|
filterable: boolean;
|
|
536
536
|
inputable: boolean;
|
|
@@ -71,8 +71,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
71
71
|
}>, {
|
|
72
72
|
mode: string;
|
|
73
73
|
data: string | ItemProps[];
|
|
74
|
-
modelValue: string | number;
|
|
75
74
|
dir: string;
|
|
75
|
+
modelValue: string | number;
|
|
76
76
|
itemDir: string;
|
|
77
77
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
78
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -129,8 +129,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
129
|
mode: string;
|
|
130
130
|
color: string;
|
|
131
131
|
width: string | number;
|
|
132
|
-
modelValue: string | number | boolean;
|
|
133
132
|
readonly: boolean;
|
|
133
|
+
modelValue: string | number | boolean;
|
|
134
134
|
comparable: boolean;
|
|
135
135
|
beforeChange: string | boolean | Function;
|
|
136
136
|
onValue: string | number | boolean;
|
|
@@ -18,9 +18,9 @@ declare const __VLS_component: import("vue").DefineComponent<TabItemProps, {}, {
|
|
|
18
18
|
lazy: boolean;
|
|
19
19
|
data: any;
|
|
20
20
|
label: string;
|
|
21
|
-
pic: string;
|
|
22
21
|
icon: string;
|
|
23
22
|
disabled: boolean;
|
|
23
|
+
pic: string;
|
|
24
24
|
on: boolean;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -50,9 +50,9 @@ declare const __VLS_component: import("vue").DefineComponent<TabProps, {}, {}, {
|
|
|
50
50
|
onRemove?: (...args: any[]) => any;
|
|
51
51
|
}>, {
|
|
52
52
|
mode: string;
|
|
53
|
-
event: string;
|
|
54
53
|
position: "left" | "right" | "bottom" | "top" | "";
|
|
55
54
|
data: TabItem[] | string;
|
|
55
|
+
event: string;
|
|
56
56
|
title: string;
|
|
57
57
|
height: string | number;
|
|
58
58
|
modelValue: string | number;
|
|
@@ -20,6 +20,7 @@ interface FlatNode {
|
|
|
20
20
|
[key: string]: any;
|
|
21
21
|
}
|
|
22
22
|
declare function checkAll(boolean: any): void;
|
|
23
|
+
declare function setCheckData(ids: any, valueKeys: any): void;
|
|
23
24
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
24
25
|
row: FlatNode;
|
|
25
26
|
column: {
|
|
@@ -57,6 +58,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
57
58
|
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
58
59
|
checkAll: typeof checkAll;
|
|
59
60
|
flatData: import("vue").ComputedRef<FlatNode[]>;
|
|
61
|
+
setCheckData: typeof setCheckData;
|
|
60
62
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
63
|
change: (...args: any[]) => void;
|
|
62
64
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -18,7 +18,7 @@ export interface TimelineItem {
|
|
|
18
18
|
/**
|
|
19
19
|
* 图标模式:plain, line, fill
|
|
20
20
|
*/
|
|
21
|
-
mode?:
|
|
21
|
+
mode?: string;
|
|
22
22
|
/**
|
|
23
23
|
* 图标文本
|
|
24
24
|
*/
|
|
@@ -73,12 +73,9 @@ export interface TimelineProps {
|
|
|
73
73
|
* v: 垂直布局
|
|
74
74
|
* h: 水平布局
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
dir?: TimelineDirection;
|
|
77
77
|
/**
|
|
78
78
|
* 全局图标模式
|
|
79
|
-
* plain: 普通模式
|
|
80
|
-
* line: 线框模式
|
|
81
|
-
* fill: 填充模式
|
|
82
79
|
* 优先级高于单个项目的mode设置
|
|
83
80
|
*/
|
|
84
81
|
mode?: TimelineMode;
|
|
@@ -99,26 +96,6 @@ export interface TimelineProps {
|
|
|
99
96
|
* 是否反转项目排序
|
|
100
97
|
*/
|
|
101
98
|
reverse?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* 是否展示连接线
|
|
104
|
-
*/
|
|
105
|
-
showLine?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* 线条颜色
|
|
108
|
-
*/
|
|
109
|
-
lineColor?: string;
|
|
110
|
-
/**
|
|
111
|
-
* 线条样式
|
|
112
|
-
*/
|
|
113
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
114
|
-
/**
|
|
115
|
-
* 自定义类名
|
|
116
|
-
*/
|
|
117
|
-
className?: string;
|
|
118
|
-
/**
|
|
119
|
-
* 自定义样式
|
|
120
|
-
*/
|
|
121
|
-
style?: Record<string, any>;
|
|
122
99
|
}
|
|
123
100
|
export interface TimelineEmits {
|
|
124
101
|
/**
|