plugin-ui-for-kzt 0.0.28 → 0.0.30
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/components/BaseCheckbox/BaseCheckbox.vue.d.ts +2 -2
- package/dist/components/BaseDropdown/BaseDropdown.vue.d.ts +1 -1
- package/dist/components/BaseInput/BaseInput.vue.d.ts +3 -3
- package/dist/components/BaseInputCalendar/BaseInputCalendar.vue.d.ts +4 -4
- package/dist/components/BaseInputCurrency/BaseInputCurrency.vue.d.ts +3 -3
- package/dist/components/BaseInputEmail/BaseInputEmail.vue.d.ts +3 -3
- package/dist/components/BaseInputPhone/BaseInputPhone.vue.d.ts +3 -3
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +2 -2
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +16 -3
- package/dist/components/BaseTable/BaseTable.vue.d.ts +14 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +3 -3
- package/dist/components/BaseToggle/BaseToggle.vue.d.ts +2 -2
- package/dist/components/BaseTooltip/BaseTooltip.vue.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sprite.svg +1 -1
- package/example/App.vue +271 -7
- package/package.json +1 -1
- package/src/assets/icons/search.svg +4 -0
- package/src/components/BaseButton/BaseButton.vue +20 -20
- package/src/components/BaseSelect/BaseSelect.vue +164 -10
- package/src/components/BaseSelect/README.md +110 -1
- package/src/components/BaseTable/BaseTable.vue +278 -26
- package/src/components/BaseTable/README.md +96 -1
- package/src/components/BaseTooltip/BaseTooltip.vue +9 -5
- package/src/components/BaseUpload/BaseUpload.vue +97 -25
- package/src/types/input.d.ts +1 -0
- package/src/types/table.d.ts +6 -0
- package/src/vue-virtual-scroller.d.ts +4 -0
|
@@ -66,12 +66,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
size: string;
|
|
69
|
+
modelValue: boolean;
|
|
70
|
+
readonly: boolean;
|
|
69
71
|
selected: boolean;
|
|
70
72
|
active: boolean;
|
|
71
73
|
disabled: boolean;
|
|
72
74
|
required: boolean;
|
|
73
75
|
loading: boolean;
|
|
74
|
-
modelValue: boolean;
|
|
75
|
-
readonly: boolean;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
export default _default;
|
|
@@ -70,12 +70,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
size: string;
|
|
73
|
+
modelValue: boolean;
|
|
73
74
|
selected: boolean;
|
|
74
75
|
active: boolean;
|
|
75
76
|
disabled: boolean;
|
|
76
77
|
required: boolean;
|
|
77
78
|
loading: boolean;
|
|
78
|
-
modelValue: boolean;
|
|
79
79
|
parentWidth: boolean;
|
|
80
80
|
preventControl: boolean;
|
|
81
81
|
autoClose: boolean;
|
|
@@ -97,14 +97,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
97
|
type: string;
|
|
98
98
|
id: string;
|
|
99
99
|
mask: string;
|
|
100
|
-
|
|
100
|
+
modelValue: string;
|
|
101
|
+
readonly: boolean;
|
|
101
102
|
selected: boolean;
|
|
102
103
|
active: boolean;
|
|
103
104
|
disabled: boolean;
|
|
104
105
|
required: boolean;
|
|
105
106
|
loading: boolean;
|
|
106
|
-
|
|
107
|
-
readonly: boolean;
|
|
107
|
+
placeholder: string;
|
|
108
108
|
focusable: boolean;
|
|
109
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
110
|
export default _default;
|
|
@@ -108,17 +108,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
}>, {
|
|
109
109
|
size: string;
|
|
110
110
|
type: string;
|
|
111
|
-
|
|
111
|
+
modelValue: string;
|
|
112
|
+
readonly: boolean;
|
|
112
113
|
selected: boolean;
|
|
113
114
|
active: boolean;
|
|
114
115
|
disabled: boolean;
|
|
115
116
|
required: boolean;
|
|
116
117
|
loading: boolean;
|
|
117
|
-
modelValue: string;
|
|
118
|
-
readonly: boolean;
|
|
119
|
-
focusable: boolean;
|
|
120
118
|
range: boolean | Record<string, any>;
|
|
121
119
|
minDate: null;
|
|
122
120
|
inline: boolean;
|
|
121
|
+
placeholder: string;
|
|
122
|
+
focusable: boolean;
|
|
123
123
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
124
124
|
export default _default;
|
|
@@ -88,14 +88,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
88
88
|
size: string;
|
|
89
89
|
type: string;
|
|
90
90
|
error: string | boolean;
|
|
91
|
-
|
|
91
|
+
modelValue: string;
|
|
92
|
+
readonly: boolean;
|
|
92
93
|
selected: boolean;
|
|
93
94
|
active: boolean;
|
|
94
95
|
disabled: boolean;
|
|
95
96
|
required: boolean;
|
|
96
97
|
loading: boolean;
|
|
97
|
-
|
|
98
|
-
readonly: boolean;
|
|
98
|
+
placeholder: string;
|
|
99
99
|
focusable: boolean;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
101
|
export default _default;
|
|
@@ -87,14 +87,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
}>, {
|
|
88
88
|
size: string;
|
|
89
89
|
type: string;
|
|
90
|
-
|
|
90
|
+
modelValue: string;
|
|
91
|
+
readonly: boolean;
|
|
91
92
|
selected: boolean;
|
|
92
93
|
active: boolean;
|
|
93
94
|
disabled: boolean;
|
|
94
95
|
required: boolean;
|
|
95
96
|
loading: boolean;
|
|
96
|
-
|
|
97
|
-
readonly: boolean;
|
|
97
|
+
placeholder: string;
|
|
98
98
|
focusable: boolean;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
100
|
export default _default;
|
|
@@ -85,14 +85,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
85
|
}>> & Readonly<{}>, {
|
|
86
86
|
size: string;
|
|
87
87
|
type: string;
|
|
88
|
-
|
|
88
|
+
modelValue: string;
|
|
89
|
+
readonly: boolean;
|
|
89
90
|
selected: boolean;
|
|
90
91
|
active: boolean;
|
|
91
92
|
disabled: boolean;
|
|
92
93
|
required: boolean;
|
|
93
94
|
loading: boolean;
|
|
94
|
-
|
|
95
|
-
readonly: boolean;
|
|
95
|
+
placeholder: string;
|
|
96
96
|
focusable: boolean;
|
|
97
97
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
export default _default;
|
|
@@ -66,12 +66,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
size: string;
|
|
69
|
+
modelValue: boolean;
|
|
70
|
+
readonly: boolean;
|
|
69
71
|
selected: boolean;
|
|
70
72
|
active: boolean;
|
|
71
73
|
disabled: boolean;
|
|
72
74
|
required: boolean;
|
|
73
75
|
loading: boolean;
|
|
74
|
-
modelValue: boolean;
|
|
75
|
-
readonly: boolean;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
export default _default;
|
|
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
transitionName: {};
|
|
23
23
|
label: {};
|
|
24
24
|
hint: {};
|
|
25
|
+
searchable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
25
29
|
size: {
|
|
26
30
|
default: string;
|
|
27
31
|
};
|
|
@@ -51,7 +55,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
55
|
modelValue: {};
|
|
52
56
|
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
53
57
|
[key: string]: any;
|
|
54
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "search" | "error" | "change" | "update:modelValue" | "open")[], "clear" | "search" | "error" | "change" | "update:modelValue" | "open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
59
|
id: {};
|
|
56
60
|
icon: {};
|
|
57
61
|
name: {};
|
|
@@ -74,6 +78,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
74
78
|
transitionName: {};
|
|
75
79
|
label: {};
|
|
76
80
|
hint: {};
|
|
81
|
+
searchable: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
size: {
|
|
78
86
|
default: string;
|
|
79
87
|
};
|
|
@@ -102,21 +110,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
102
110
|
placeholder: {};
|
|
103
111
|
modelValue: {};
|
|
104
112
|
}>> & Readonly<{
|
|
113
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
105
114
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
115
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
107
119
|
}>, {
|
|
108
120
|
size: string;
|
|
121
|
+
readonly: boolean;
|
|
109
122
|
selected: boolean;
|
|
110
123
|
active: boolean;
|
|
111
124
|
disabled: boolean;
|
|
112
125
|
required: boolean;
|
|
113
126
|
loading: boolean;
|
|
114
|
-
readonly: boolean;
|
|
115
127
|
options: never[];
|
|
116
|
-
parentWidth: boolean;
|
|
117
128
|
outline: boolean;
|
|
118
129
|
rounded: boolean;
|
|
119
130
|
underline: boolean;
|
|
131
|
+
parentWidth: boolean;
|
|
120
132
|
multiple: boolean;
|
|
133
|
+
searchable: boolean;
|
|
121
134
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
135
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
columns: {};
|
|
3
4
|
data: {};
|
|
@@ -14,9 +15,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
15
|
actions: {};
|
|
15
16
|
pagination: {};
|
|
16
17
|
subTable: {};
|
|
18
|
+
virtualScroll: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
virtualScrollThreshold: {};
|
|
22
|
+
virtualScrollHeight: {};
|
|
17
23
|
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
24
|
[key: string]: any;
|
|
19
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "select-all" | "sort-change" | "page-change")[], "update:selected" | "select-all" | "sort-change" | "page-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "select-all" | "sort-change" | "page-change" | "scroll-end")[], "update:selected" | "select-all" | "sort-change" | "page-change" | "scroll-end", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
26
|
columns: {};
|
|
21
27
|
data: {};
|
|
22
28
|
rowKey: {
|
|
@@ -32,13 +38,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
38
|
actions: {};
|
|
33
39
|
pagination: {};
|
|
34
40
|
subTable: {};
|
|
41
|
+
virtualScroll: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
virtualScrollThreshold: {};
|
|
45
|
+
virtualScrollHeight: {};
|
|
35
46
|
}>> & Readonly<{
|
|
36
47
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
37
48
|
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
38
49
|
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
39
50
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onScroll-end"?: ((...args: any[]) => any) | undefined;
|
|
40
52
|
}>, {
|
|
41
53
|
showRowSelection: boolean;
|
|
42
54
|
showActions: boolean;
|
|
55
|
+
virtualScroll: boolean;
|
|
43
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
57
|
export default _default;
|
|
@@ -80,14 +80,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
maxLength: {};
|
|
81
81
|
}>> & Readonly<{}>, {
|
|
82
82
|
size: string;
|
|
83
|
-
|
|
83
|
+
modelValue: string;
|
|
84
|
+
readonly: boolean;
|
|
84
85
|
selected: boolean;
|
|
85
86
|
active: boolean;
|
|
86
87
|
disabled: boolean;
|
|
87
88
|
required: boolean;
|
|
88
89
|
loading: boolean;
|
|
89
|
-
|
|
90
|
-
readonly: boolean;
|
|
90
|
+
placeholder: string;
|
|
91
91
|
focusable: boolean;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
93
|
export default _default;
|
|
@@ -64,12 +64,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
size: string;
|
|
67
|
+
modelValue: boolean;
|
|
68
|
+
readonly: boolean;
|
|
67
69
|
selected: boolean;
|
|
68
70
|
active: boolean;
|
|
69
71
|
disabled: boolean;
|
|
70
72
|
required: boolean;
|
|
71
73
|
loading: boolean;
|
|
72
|
-
modelValue: boolean;
|
|
73
|
-
readonly: boolean;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
75
|
export default _default;
|
|
@@ -33,9 +33,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{}>, {
|
|
36
|
-
theme: string;
|
|
37
|
-
trigger: string;
|
|
38
36
|
position: string;
|
|
39
37
|
arrow: boolean;
|
|
38
|
+
theme: string;
|
|
39
|
+
trigger: string;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
export default _default;
|