@coreui/vue-pro 4.5.0 → 4.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Types.d.ts +5 -5
- package/dist/components/calendar/CCalendar.d.ts +41 -3
- package/dist/components/date-picker/CDatePicker.d.ts +43 -4
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +191 -4
- package/dist/components/form/CFormInput.d.ts +166 -1
- package/dist/components/form/CFormSelect.d.ts +1 -1
- package/dist/components/grid/CCol.d.ts +3 -3
- package/dist/components/grid/CRow.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/multi-select/CMultiSelect.d.ts +143 -4
- package/dist/components/multi-select/CMultiSelectOptions.d.ts +11 -0
- package/dist/components/multi-select/CMultiSelectSelection.d.ts +3 -3
- package/dist/components/pagination/index.d.ts +1 -2
- package/dist/components/picker/CPicker.d.ts +1 -1
- package/dist/components/popover/CPopover.d.ts +1 -1
- package/dist/components/smart-pagination/CSmartPagination.d.ts +257 -0
- package/dist/components/smart-pagination/index.d.ts +6 -0
- package/dist/components/smart-table/CSmartTable.d.ts +6 -4
- package/dist/components/smart-table/CSmartTableFilter.d.ts +2 -2
- package/dist/components/smart-table/CSmartTableHead.d.ts +2 -2
- package/dist/components/smart-table/CSmartTableInterface.d.ts +4 -1
- package/dist/components/table/CTable.d.ts +1 -1
- package/dist/components/table/CTableCaption.d.ts +2 -8
- package/dist/components/time-picker/CTimePicker.d.ts +2 -1
- package/dist/components/tooltip/CTooltip.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsD.d.ts +1 -1
- package/dist/index.es.js +1560 -1017
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1559 -1015
- package/dist/index.js.map +1 -1
- package/dist/utils/getNextSibling.d.ts +2 -0
- package/dist/utils/getPreviousSibling.d.ts +2 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/isVisible.d.ts +2 -0
- package/dist/utils/time.d.ts +2 -2
- package/package.json +2 -2
- package/src/components/calendar/CCalendar.ts +46 -4
- package/src/components/carousel/CCarousel.ts +1 -9
- package/src/components/date-picker/CDatePicker.ts +44 -3
- package/src/components/date-range-picker/CDateRangePicker.ts +340 -170
- package/src/components/form/CFormInput.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/components/loading-button/CLoadingButton.ts +1 -2
- package/src/components/multi-select/CMultiSelect.ts +295 -173
- package/src/components/multi-select/CMultiSelectOptions.ts +48 -10
- package/src/components/multi-select/CMultiSelectSelection.ts +1 -1
- package/src/components/pagination/index.ts +1 -3
- package/src/components/sidebar/CSidebar.ts +2 -10
- package/src/components/{pagination → smart-pagination}/CSmartPagination.ts +1 -2
- package/src/components/smart-pagination/index.ts +10 -0
- package/src/components/smart-table/CSmartTable.ts +10 -5
- package/src/components/smart-table/CSmartTableInterface.ts +4 -0
- package/src/components/table/CTableCaption.ts +0 -1
- package/src/components/time-picker/CTimePicker.ts +198 -64
- package/src/components/time-picker/CTimePickerRollCol.ts +9 -0
- package/src/utils/getNextSibling.ts +18 -0
- package/src/utils/getPreviousSibling.ts +18 -0
- package/src/utils/index.ts +5 -0
- package/src/utils/isVisible.ts +11 -0
- package/src/utils/time.ts +14 -6
|
@@ -1,3 +1,58 @@
|
|
|
1
|
+
export declare const File: {
|
|
2
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
3
|
+
prototype: File;
|
|
4
|
+
} | {
|
|
5
|
+
new (value?: any): {
|
|
6
|
+
constructor: Function;
|
|
7
|
+
toString(): string;
|
|
8
|
+
toLocaleString(): string;
|
|
9
|
+
valueOf(): Object;
|
|
10
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
11
|
+
isPrototypeOf(v: Object): boolean;
|
|
12
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
13
|
+
};
|
|
14
|
+
getPrototypeOf(o: any): any;
|
|
15
|
+
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
16
|
+
getOwnPropertyNames(o: any): string[];
|
|
17
|
+
create(o: object | null): any;
|
|
18
|
+
create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
19
|
+
defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
|
|
20
|
+
defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
|
|
21
|
+
seal<T_2>(o: T_2): T_2;
|
|
22
|
+
freeze<T_3 extends Function>(f: T_3): T_3;
|
|
23
|
+
freeze<T_4 extends {
|
|
24
|
+
[idx: string]: object | U | null | undefined;
|
|
25
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_4): Readonly<T_4>;
|
|
26
|
+
freeze<T_5>(o: T_5): Readonly<T_5>;
|
|
27
|
+
preventExtensions<T_6>(o: T_6): T_6;
|
|
28
|
+
isSealed(o: any): boolean;
|
|
29
|
+
isFrozen(o: any): boolean;
|
|
30
|
+
isExtensible(o: any): boolean;
|
|
31
|
+
keys(o: object): string[];
|
|
32
|
+
keys(o: {}): string[];
|
|
33
|
+
assign<T_7 extends {}, U_1>(target: T_7, source: U_1): T_7 & U_1;
|
|
34
|
+
assign<T_8 extends {}, U_2, V>(target: T_8, source1: U_2, source2: V): T_8 & U_2 & V;
|
|
35
|
+
assign<T_9 extends {}, U_3, V_1, W>(target: T_9, source1: U_3, source2: V_1, source3: W): T_9 & U_3 & V_1 & W;
|
|
36
|
+
assign(target: object, ...sources: any[]): any;
|
|
37
|
+
getOwnPropertySymbols(o: any): symbol[];
|
|
38
|
+
is(value1: any, value2: any): boolean;
|
|
39
|
+
setPrototypeOf(o: any, proto: object | null): any;
|
|
40
|
+
values<T_10>(o: {
|
|
41
|
+
[s: string]: T_10;
|
|
42
|
+
} | ArrayLike<T_10>): T_10[];
|
|
43
|
+
values(o: {}): any[];
|
|
44
|
+
entries<T_11>(o: {
|
|
45
|
+
[s: string]: T_11;
|
|
46
|
+
} | ArrayLike<T_11>): [string, T_11][];
|
|
47
|
+
entries(o: {}): [string, any][];
|
|
48
|
+
getOwnPropertyDescriptors<T_12>(o: T_12): { [P in keyof T_12]: TypedPropertyDescriptor<T_12[P]>; } & {
|
|
49
|
+
[x: string]: PropertyDescriptor;
|
|
50
|
+
};
|
|
51
|
+
fromEntries<T_13 = any>(entries: Iterable<readonly [PropertyKey, T_13]>): {
|
|
52
|
+
[k: string]: T_13;
|
|
53
|
+
};
|
|
54
|
+
fromEntries(entries: Iterable<readonly any[]>): any;
|
|
55
|
+
};
|
|
1
56
|
declare const CFormInput: import("vue").DefineComponent<{
|
|
2
57
|
/**
|
|
3
58
|
* Toggle the disabled state for the component.
|
|
@@ -63,6 +118,57 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
63
118
|
type: (NumberConstructor | StringConstructor | {
|
|
64
119
|
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
65
120
|
prototype: File;
|
|
121
|
+
} | {
|
|
122
|
+
new (value?: any): {
|
|
123
|
+
constructor: Function;
|
|
124
|
+
toString(): string;
|
|
125
|
+
toLocaleString(): string;
|
|
126
|
+
valueOf(): Object;
|
|
127
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
128
|
+
isPrototypeOf(v: Object): boolean;
|
|
129
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
130
|
+
};
|
|
131
|
+
getPrototypeOf(o: any): any;
|
|
132
|
+
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
133
|
+
getOwnPropertyNames(o: any): string[];
|
|
134
|
+
create(o: object | null): any;
|
|
135
|
+
create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
136
|
+
defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
|
|
137
|
+
defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
|
|
138
|
+
seal<T_2>(o: T_2): T_2;
|
|
139
|
+
freeze<T_3 extends Function>(f: T_3): T_3;
|
|
140
|
+
freeze<T_4 extends {
|
|
141
|
+
[idx: string]: object | U | null | undefined;
|
|
142
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_4): Readonly<T_4>;
|
|
143
|
+
freeze<T_5>(o: T_5): Readonly<T_5>;
|
|
144
|
+
preventExtensions<T_6>(o: T_6): T_6;
|
|
145
|
+
isSealed(o: any): boolean;
|
|
146
|
+
isFrozen(o: any): boolean;
|
|
147
|
+
isExtensible(o: any): boolean;
|
|
148
|
+
keys(o: object): string[];
|
|
149
|
+
keys(o: {}): string[];
|
|
150
|
+
assign<T_7 extends {}, U_1>(target: T_7, source: U_1): T_7 & U_1;
|
|
151
|
+
assign<T_8 extends {}, U_2, V>(target: T_8, source1: U_2, source2: V): T_8 & U_2 & V;
|
|
152
|
+
assign<T_9 extends {}, U_3, V_1, W>(target: T_9, source1: U_3, source2: V_1, source3: W): T_9 & U_3 & V_1 & W;
|
|
153
|
+
assign(target: object, ...sources: any[]): any;
|
|
154
|
+
getOwnPropertySymbols(o: any): symbol[];
|
|
155
|
+
is(value1: any, value2: any): boolean;
|
|
156
|
+
setPrototypeOf(o: any, proto: object | null): any;
|
|
157
|
+
values<T_10>(o: {
|
|
158
|
+
[s: string]: T_10;
|
|
159
|
+
} | ArrayLike<T_10>): T_10[];
|
|
160
|
+
values(o: {}): any[];
|
|
161
|
+
entries<T_11>(o: {
|
|
162
|
+
[s: string]: T_11;
|
|
163
|
+
} | ArrayLike<T_11>): [string, T_11][];
|
|
164
|
+
entries(o: {}): [string, any][];
|
|
165
|
+
getOwnPropertyDescriptors<T_12>(o: T_12): { [P in keyof T_12]: TypedPropertyDescriptor<T_12[P]>; } & {
|
|
166
|
+
[x: string]: PropertyDescriptor;
|
|
167
|
+
};
|
|
168
|
+
fromEntries<T_13 = any>(entries: Iterable<readonly [PropertyKey, T_13]>): {
|
|
169
|
+
[k: string]: T_13;
|
|
170
|
+
};
|
|
171
|
+
fromEntries(entries: Iterable<readonly any[]>): any;
|
|
66
172
|
})[];
|
|
67
173
|
default: undefined;
|
|
68
174
|
};
|
|
@@ -183,6 +289,57 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
183
289
|
type: (NumberConstructor | StringConstructor | {
|
|
184
290
|
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
185
291
|
prototype: File;
|
|
292
|
+
} | {
|
|
293
|
+
new (value?: any): {
|
|
294
|
+
constructor: Function;
|
|
295
|
+
toString(): string;
|
|
296
|
+
toLocaleString(): string;
|
|
297
|
+
valueOf(): Object;
|
|
298
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
299
|
+
isPrototypeOf(v: Object): boolean;
|
|
300
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
301
|
+
};
|
|
302
|
+
getPrototypeOf(o: any): any;
|
|
303
|
+
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
304
|
+
getOwnPropertyNames(o: any): string[];
|
|
305
|
+
create(o: object | null): any;
|
|
306
|
+
create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
307
|
+
defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
|
|
308
|
+
defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
|
|
309
|
+
seal<T_2>(o: T_2): T_2;
|
|
310
|
+
freeze<T_3 extends Function>(f: T_3): T_3;
|
|
311
|
+
freeze<T_4 extends {
|
|
312
|
+
[idx: string]: object | U | null | undefined;
|
|
313
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_4): Readonly<T_4>;
|
|
314
|
+
freeze<T_5>(o: T_5): Readonly<T_5>;
|
|
315
|
+
preventExtensions<T_6>(o: T_6): T_6;
|
|
316
|
+
isSealed(o: any): boolean;
|
|
317
|
+
isFrozen(o: any): boolean;
|
|
318
|
+
isExtensible(o: any): boolean;
|
|
319
|
+
keys(o: object): string[];
|
|
320
|
+
keys(o: {}): string[];
|
|
321
|
+
assign<T_7 extends {}, U_1>(target: T_7, source: U_1): T_7 & U_1;
|
|
322
|
+
assign<T_8 extends {}, U_2, V>(target: T_8, source1: U_2, source2: V): T_8 & U_2 & V;
|
|
323
|
+
assign<T_9 extends {}, U_3, V_1, W>(target: T_9, source1: U_3, source2: V_1, source3: W): T_9 & U_3 & V_1 & W;
|
|
324
|
+
assign(target: object, ...sources: any[]): any;
|
|
325
|
+
getOwnPropertySymbols(o: any): symbol[];
|
|
326
|
+
is(value1: any, value2: any): boolean;
|
|
327
|
+
setPrototypeOf(o: any, proto: object | null): any;
|
|
328
|
+
values<T_10>(o: {
|
|
329
|
+
[s: string]: T_10;
|
|
330
|
+
} | ArrayLike<T_10>): T_10[];
|
|
331
|
+
values(o: {}): any[];
|
|
332
|
+
entries<T_11>(o: {
|
|
333
|
+
[s: string]: T_11;
|
|
334
|
+
} | ArrayLike<T_11>): [string, T_11][];
|
|
335
|
+
entries(o: {}): [string, any][];
|
|
336
|
+
getOwnPropertyDescriptors<T_12>(o: T_12): { [P in keyof T_12]: TypedPropertyDescriptor<T_12[P]>; } & {
|
|
337
|
+
[x: string]: PropertyDescriptor;
|
|
338
|
+
};
|
|
339
|
+
fromEntries<T_13 = any>(entries: Iterable<readonly [PropertyKey, T_13]>): {
|
|
340
|
+
[k: string]: T_13;
|
|
341
|
+
};
|
|
342
|
+
fromEntries(entries: Iterable<readonly any[]>): any;
|
|
186
343
|
})[];
|
|
187
344
|
default: undefined;
|
|
188
345
|
};
|
|
@@ -246,7 +403,15 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
246
403
|
disabled: boolean;
|
|
247
404
|
valid: boolean;
|
|
248
405
|
tooltipFeedback: boolean;
|
|
249
|
-
modelValue: string | number |
|
|
406
|
+
modelValue: string | number | {
|
|
407
|
+
constructor: Function;
|
|
408
|
+
toString(): string;
|
|
409
|
+
toLocaleString(): string;
|
|
410
|
+
valueOf(): Object;
|
|
411
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
412
|
+
isPrototypeOf(v: Object): boolean;
|
|
413
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
414
|
+
} | File;
|
|
250
415
|
plainText: boolean;
|
|
251
416
|
readonly: boolean;
|
|
252
417
|
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type Span = 'auto' | number | string | boolean | null;
|
|
3
|
+
type BPObject = {
|
|
4
4
|
span?: Span;
|
|
5
5
|
offset?: number | string | null;
|
|
6
6
|
order?: 'first' | 'last' | number | string | null;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type Col = Span | BPObject;
|
|
9
9
|
declare const CCol: import("vue").DefineComponent<{
|
|
10
10
|
/**
|
|
11
11
|
* The number of columns/offset/order on extra small devices (<576px).
|
|
@@ -8,6 +8,11 @@ export interface Option {
|
|
|
8
8
|
text: string;
|
|
9
9
|
value: number | string;
|
|
10
10
|
}
|
|
11
|
+
export interface SelectedOption {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
text: string;
|
|
14
|
+
value: number | string;
|
|
15
|
+
}
|
|
11
16
|
declare const CMultiSelect: import("vue").DefineComponent<{
|
|
12
17
|
/**
|
|
13
18
|
* Enables selection cleaner element.
|
|
@@ -27,6 +32,50 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
27
32
|
required: false;
|
|
28
33
|
default: boolean;
|
|
29
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Provide valuable, actionable feedback.
|
|
37
|
+
*
|
|
38
|
+
* @since 4.6.0
|
|
39
|
+
*/
|
|
40
|
+
feedback: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Provide valuable, actionable feedback.
|
|
45
|
+
*
|
|
46
|
+
* @since 4.6.0
|
|
47
|
+
*/
|
|
48
|
+
feedbackInvalid: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
53
|
+
*
|
|
54
|
+
* @since 4.6.0
|
|
55
|
+
*/
|
|
56
|
+
feedbackValid: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
61
|
+
*/
|
|
62
|
+
id: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Set component validation state to invalid.
|
|
67
|
+
*
|
|
68
|
+
* @since 4.6.0
|
|
69
|
+
*/
|
|
70
|
+
invalid: BooleanConstructor;
|
|
71
|
+
/**
|
|
72
|
+
* Add a caption for a component.
|
|
73
|
+
*
|
|
74
|
+
* @since 4.6.0
|
|
75
|
+
*/
|
|
76
|
+
label: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
30
79
|
/**
|
|
31
80
|
* It specifies that multiple options can be selected at once.
|
|
32
81
|
*
|
|
@@ -81,9 +130,10 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
81
130
|
* Enables search input element.
|
|
82
131
|
*/
|
|
83
132
|
search: {
|
|
84
|
-
type: BooleanConstructor;
|
|
133
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
85
134
|
default: boolean;
|
|
86
135
|
required: false;
|
|
136
|
+
validator: (value: boolean | string) => boolean;
|
|
87
137
|
};
|
|
88
138
|
/**
|
|
89
139
|
* Sets the label for no results when filtering.
|
|
@@ -145,6 +195,26 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
145
195
|
required: false;
|
|
146
196
|
validator: (value: string) => boolean;
|
|
147
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Add helper text to the component.
|
|
200
|
+
*
|
|
201
|
+
* @since 4.6.0
|
|
202
|
+
*/
|
|
203
|
+
text: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Display validation feedback in a styled tooltip.
|
|
208
|
+
*
|
|
209
|
+
* @since 4.6.0
|
|
210
|
+
*/
|
|
211
|
+
tooltipFeedback: BooleanConstructor;
|
|
212
|
+
/**
|
|
213
|
+
* Set component validation state to valid.
|
|
214
|
+
*
|
|
215
|
+
* @since 4.6.0
|
|
216
|
+
*/
|
|
217
|
+
valid: BooleanConstructor;
|
|
148
218
|
/**
|
|
149
219
|
* Toggle the visibility of multi select dropdown.
|
|
150
220
|
*
|
|
@@ -157,7 +227,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
157
227
|
};
|
|
158
228
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
159
229
|
[key: string]: any;
|
|
160
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
230
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "filterChange")[], "change" | "filterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
231
|
/**
|
|
162
232
|
* Enables selection cleaner element.
|
|
163
233
|
*
|
|
@@ -176,6 +246,50 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
176
246
|
required: false;
|
|
177
247
|
default: boolean;
|
|
178
248
|
};
|
|
249
|
+
/**
|
|
250
|
+
* Provide valuable, actionable feedback.
|
|
251
|
+
*
|
|
252
|
+
* @since 4.6.0
|
|
253
|
+
*/
|
|
254
|
+
feedback: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Provide valuable, actionable feedback.
|
|
259
|
+
*
|
|
260
|
+
* @since 4.6.0
|
|
261
|
+
*/
|
|
262
|
+
feedbackInvalid: {
|
|
263
|
+
type: StringConstructor;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
267
|
+
*
|
|
268
|
+
* @since 4.6.0
|
|
269
|
+
*/
|
|
270
|
+
feedbackValid: {
|
|
271
|
+
type: StringConstructor;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
275
|
+
*/
|
|
276
|
+
id: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Set component validation state to invalid.
|
|
281
|
+
*
|
|
282
|
+
* @since 4.6.0
|
|
283
|
+
*/
|
|
284
|
+
invalid: BooleanConstructor;
|
|
285
|
+
/**
|
|
286
|
+
* Add a caption for a component.
|
|
287
|
+
*
|
|
288
|
+
* @since 4.6.0
|
|
289
|
+
*/
|
|
290
|
+
label: {
|
|
291
|
+
type: StringConstructor;
|
|
292
|
+
};
|
|
179
293
|
/**
|
|
180
294
|
* It specifies that multiple options can be selected at once.
|
|
181
295
|
*
|
|
@@ -230,9 +344,10 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
230
344
|
* Enables search input element.
|
|
231
345
|
*/
|
|
232
346
|
search: {
|
|
233
|
-
type: BooleanConstructor;
|
|
347
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
234
348
|
default: boolean;
|
|
235
349
|
required: false;
|
|
350
|
+
validator: (value: boolean | string) => boolean;
|
|
236
351
|
};
|
|
237
352
|
/**
|
|
238
353
|
* Sets the label for no results when filtering.
|
|
@@ -294,6 +409,26 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
294
409
|
required: false;
|
|
295
410
|
validator: (value: string) => boolean;
|
|
296
411
|
};
|
|
412
|
+
/**
|
|
413
|
+
* Add helper text to the component.
|
|
414
|
+
*
|
|
415
|
+
* @since 4.6.0
|
|
416
|
+
*/
|
|
417
|
+
text: {
|
|
418
|
+
type: StringConstructor;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Display validation feedback in a styled tooltip.
|
|
422
|
+
*
|
|
423
|
+
* @since 4.6.0
|
|
424
|
+
*/
|
|
425
|
+
tooltipFeedback: BooleanConstructor;
|
|
426
|
+
/**
|
|
427
|
+
* Set component validation state to valid.
|
|
428
|
+
*
|
|
429
|
+
* @since 4.6.0
|
|
430
|
+
*/
|
|
431
|
+
valid: BooleanConstructor;
|
|
297
432
|
/**
|
|
298
433
|
* Toggle the visibility of multi select dropdown.
|
|
299
434
|
*
|
|
@@ -306,10 +441,14 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
306
441
|
};
|
|
307
442
|
}>> & {
|
|
308
443
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
444
|
+
onFilterChange?: ((...args: any[]) => any) | undefined;
|
|
309
445
|
}, {
|
|
310
|
-
|
|
446
|
+
invalid: boolean;
|
|
311
447
|
visible: boolean;
|
|
448
|
+
search: string | boolean;
|
|
312
449
|
disabled: boolean;
|
|
450
|
+
valid: boolean;
|
|
451
|
+
tooltipFeedback: boolean;
|
|
313
452
|
multiple: boolean;
|
|
314
453
|
options: Option[];
|
|
315
454
|
cleaner: boolean;
|
|
@@ -39,6 +39,11 @@ declare const CMultiSelectOptions: import("vue").DefineComponent<{
|
|
|
39
39
|
default: string;
|
|
40
40
|
required: false;
|
|
41
41
|
};
|
|
42
|
+
selected: {
|
|
43
|
+
type: PropType<Option[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
42
47
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
48
|
[key: string]: any;
|
|
44
49
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "optionClick"[], "optionClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -80,10 +85,16 @@ declare const CMultiSelectOptions: import("vue").DefineComponent<{
|
|
|
80
85
|
default: string;
|
|
81
86
|
required: false;
|
|
82
87
|
};
|
|
88
|
+
selected: {
|
|
89
|
+
type: PropType<Option[]>;
|
|
90
|
+
default: () => never[];
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
83
93
|
}>> & {
|
|
84
94
|
onOptionClick?: ((...args: any[]) => any) | undefined;
|
|
85
95
|
}, {
|
|
86
96
|
options: Option[];
|
|
97
|
+
selected: Option[];
|
|
87
98
|
optionsMaxHeight: string | number;
|
|
88
99
|
optionsStyle: string;
|
|
89
100
|
searchNoResultsLabel: string;
|
|
@@ -15,7 +15,7 @@ declare const CMultiSelectSelection: import("vue").DefineComponent<{
|
|
|
15
15
|
* Enables search input element.
|
|
16
16
|
*/
|
|
17
17
|
search: {
|
|
18
|
-
type: BooleanConstructor;
|
|
18
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
19
19
|
required: false;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
@@ -63,7 +63,7 @@ declare const CMultiSelectSelection: import("vue").DefineComponent<{
|
|
|
63
63
|
* Enables search input element.
|
|
64
64
|
*/
|
|
65
65
|
search: {
|
|
66
|
-
type: BooleanConstructor;
|
|
66
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
67
67
|
required: false;
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
@@ -97,7 +97,7 @@ declare const CMultiSelectSelection: import("vue").DefineComponent<{
|
|
|
97
97
|
}>> & {
|
|
98
98
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
search: boolean;
|
|
100
|
+
search: string | boolean;
|
|
101
101
|
multiple: boolean;
|
|
102
102
|
selected: Option[];
|
|
103
103
|
selectionType: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { CPagination } from './CPagination';
|
|
3
3
|
import { CPaginationItem } from './CPaginationItem';
|
|
4
|
-
import { CSmartPagination } from './CSmartPagination';
|
|
5
4
|
declare const CPaginationPlugin: {
|
|
6
5
|
install: (app: App) => void;
|
|
7
6
|
};
|
|
8
|
-
export { CPaginationPlugin, CPagination, CPaginationItem
|
|
7
|
+
export { CPaginationPlugin, CPagination, CPaginationItem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const CPicker: import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
3
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "hide" | "show" | "confirm")[], "cancel" | "hide" | "show" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
|
|
4
4
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
6
6
|
onCancel?: ((...args: any[]) => any) | undefined;
|