@coreui/vue-pro 4.6.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/date-picker/CDatePicker.d.ts +2 -1
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +31 -1
- 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 +12 -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 +877 -682
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +876 -680
- 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 +1 -1
- package/src/components/carousel/CCarousel.ts +1 -9
- package/src/components/date-picker/CDatePicker.ts +11 -2
- package/src/components/date-range-picker/CDateRangePicker.ts +54 -0
- 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 +125 -103
- 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 +73 -20
- 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,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
2
|
+
export type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'primary-gradient' | 'secondary-gradient' | 'success-gradient' | 'danger-gradient' | 'warning-gradient' | 'info-gradient' | 'dark-gradient' | 'light-gradient' | string;
|
|
3
|
+
export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
|
|
4
|
+
export type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string;
|
|
5
|
+
export type Triggers = 'hover' | 'focus' | 'click';
|
|
@@ -221,7 +221,7 @@ declare const CDatePicker: import("vue").DefineComponent<{
|
|
|
221
221
|
};
|
|
222
222
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
223
223
|
[key: string]: any;
|
|
224
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "date-change"[], "date-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
224
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("date-change" | "update:date")[], "date-change" | "update:date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
225
225
|
/**
|
|
226
226
|
* Default date of the component
|
|
227
227
|
*/
|
|
@@ -443,6 +443,7 @@ declare const CDatePicker: import("vue").DefineComponent<{
|
|
|
443
443
|
};
|
|
444
444
|
}>> & {
|
|
445
445
|
"onDate-change"?: ((...args: any[]) => any) | undefined;
|
|
446
|
+
"onUpdate:date"?: ((...args: any[]) => any) | undefined;
|
|
446
447
|
}, {
|
|
447
448
|
disabled: boolean;
|
|
448
449
|
dayFormat: string | Function;
|
|
@@ -57,6 +57,15 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
57
57
|
type: BooleanConstructor;
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* If true the dropdown will be immediately closed after submitting the full date.
|
|
62
|
+
*
|
|
63
|
+
* @since 4.7.0
|
|
64
|
+
*/
|
|
65
|
+
closeOnSelect: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
60
69
|
/**
|
|
61
70
|
* Toggle visibility or set the content of confirm button.
|
|
62
71
|
*/
|
|
@@ -339,6 +348,10 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
339
348
|
* @since 4.6.0
|
|
340
349
|
*/
|
|
341
350
|
valid: BooleanConstructor;
|
|
351
|
+
/**
|
|
352
|
+
* Toggle the visibility of the component.
|
|
353
|
+
*/
|
|
354
|
+
visible: BooleanConstructor;
|
|
342
355
|
/**
|
|
343
356
|
* Set length or format of day name.
|
|
344
357
|
*
|
|
@@ -351,7 +364,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
351
364
|
};
|
|
352
365
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
353
366
|
[key: string]: any;
|
|
354
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "start-date-change" | "end-date-change")[], "hide" | "show" | "start-date-change" | "end-date-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
367
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "start-date-change" | "end-date-change" | "update:start-date" | "update:end-date")[], "hide" | "show" | "start-date-change" | "end-date-change" | "update:start-date" | "update:end-date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
355
368
|
/**
|
|
356
369
|
* The number of calendars that render on desktop devices.
|
|
357
370
|
*/
|
|
@@ -409,6 +422,15 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
409
422
|
type: BooleanConstructor;
|
|
410
423
|
default: boolean;
|
|
411
424
|
};
|
|
425
|
+
/**
|
|
426
|
+
* If true the dropdown will be immediately closed after submitting the full date.
|
|
427
|
+
*
|
|
428
|
+
* @since 4.7.0
|
|
429
|
+
*/
|
|
430
|
+
closeOnSelect: {
|
|
431
|
+
type: BooleanConstructor;
|
|
432
|
+
default: boolean;
|
|
433
|
+
};
|
|
412
434
|
/**
|
|
413
435
|
* Toggle visibility or set the content of confirm button.
|
|
414
436
|
*/
|
|
@@ -691,6 +713,10 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
691
713
|
* @since 4.6.0
|
|
692
714
|
*/
|
|
693
715
|
valid: BooleanConstructor;
|
|
716
|
+
/**
|
|
717
|
+
* Toggle the visibility of the component.
|
|
718
|
+
*/
|
|
719
|
+
visible: BooleanConstructor;
|
|
694
720
|
/**
|
|
695
721
|
* Set length or format of day name.
|
|
696
722
|
*
|
|
@@ -706,8 +732,11 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
706
732
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
707
733
|
"onStart-date-change"?: ((...args: any[]) => any) | undefined;
|
|
708
734
|
"onEnd-date-change"?: ((...args: any[]) => any) | undefined;
|
|
735
|
+
"onUpdate:start-date"?: ((...args: any[]) => any) | undefined;
|
|
736
|
+
"onUpdate:end-date"?: ((...args: any[]) => any) | undefined;
|
|
709
737
|
}, {
|
|
710
738
|
invalid: boolean;
|
|
739
|
+
visible: boolean;
|
|
711
740
|
disabled: boolean;
|
|
712
741
|
calendars: number;
|
|
713
742
|
dayFormat: string | Function;
|
|
@@ -732,6 +761,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
732
761
|
indicator: boolean;
|
|
733
762
|
inputReadOnly: boolean;
|
|
734
763
|
placeholder: String | String[];
|
|
764
|
+
closeOnSelect: boolean;
|
|
735
765
|
separator: boolean;
|
|
736
766
|
timepicker: boolean;
|
|
737
767
|
todayButton: string | boolean;
|
|
@@ -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.
|
|
@@ -125,9 +130,10 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
125
130
|
* Enables search input element.
|
|
126
131
|
*/
|
|
127
132
|
search: {
|
|
128
|
-
type: BooleanConstructor;
|
|
133
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
129
134
|
default: boolean;
|
|
130
135
|
required: false;
|
|
136
|
+
validator: (value: boolean | string) => boolean;
|
|
131
137
|
};
|
|
132
138
|
/**
|
|
133
139
|
* Sets the label for no results when filtering.
|
|
@@ -221,7 +227,7 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
221
227
|
};
|
|
222
228
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
223
229
|
[key: string]: any;
|
|
224
|
-
}>[], 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<{
|
|
225
231
|
/**
|
|
226
232
|
* Enables selection cleaner element.
|
|
227
233
|
*
|
|
@@ -338,9 +344,10 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
338
344
|
* Enables search input element.
|
|
339
345
|
*/
|
|
340
346
|
search: {
|
|
341
|
-
type: BooleanConstructor;
|
|
347
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
342
348
|
default: boolean;
|
|
343
349
|
required: false;
|
|
350
|
+
validator: (value: boolean | string) => boolean;
|
|
344
351
|
};
|
|
345
352
|
/**
|
|
346
353
|
* Sets the label for no results when filtering.
|
|
@@ -434,10 +441,11 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
434
441
|
};
|
|
435
442
|
}>> & {
|
|
436
443
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
444
|
+
onFilterChange?: ((...args: any[]) => any) | undefined;
|
|
437
445
|
}, {
|
|
438
|
-
search: boolean;
|
|
439
446
|
invalid: boolean;
|
|
440
447
|
visible: boolean;
|
|
448
|
+
search: string | boolean;
|
|
441
449
|
disabled: boolean;
|
|
442
450
|
valid: boolean;
|
|
443
451
|
tooltipFeedback: 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;
|