@coreui/vue-pro 4.1.4 → 4.3.0-beta.1

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.
Files changed (64) hide show
  1. package/README.md +1 -1
  2. package/dist/components/button/CButton.d.ts +29 -2
  3. package/dist/components/calendar/CCalendar.d.ts +185 -0
  4. package/dist/components/calendar/index.d.ts +6 -0
  5. package/dist/components/date-picker/CDatePicker.d.ts +406 -0
  6. package/dist/components/date-picker/index.d.ts +6 -0
  7. package/dist/components/date-range-picker/CDateRangePicker.d.ts +480 -0
  8. package/dist/components/date-range-picker/index.d.ts +6 -0
  9. package/dist/components/dropdown/CDropdown.d.ts +25 -0
  10. package/dist/components/dropdown/CDropdownToggle.d.ts +35 -1
  11. package/dist/components/index.d.ts +5 -0
  12. package/dist/components/multi-select/CMultiSelect.d.ts +2 -2
  13. package/dist/components/picker/CPicker.d.ts +11 -0
  14. package/dist/components/picker/index.d.ts +6 -0
  15. package/dist/components/popover/CPopover.d.ts +1 -1
  16. package/dist/components/sidebar/CSidebar.d.ts +1 -1
  17. package/dist/components/smart-table/CSmartTable.d.ts +35 -99
  18. package/dist/components/smart-table/CSmartTableInterface.d.ts +3 -3
  19. package/dist/components/time-picker/CTimePicker.d.ts +10 -0
  20. package/dist/components/time-picker/CTimePickerRollCol.d.ts +27 -0
  21. package/dist/components/time-picker/index.d.ts +6 -0
  22. package/dist/components/toast/CToast.d.ts +1 -1
  23. package/dist/index.es.js +3726 -1646
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.js +3734 -1644
  26. package/dist/index.js.map +1 -1
  27. package/dist/utils/calendar.d.ts +21 -0
  28. package/dist/utils/time.d.ts +17 -0
  29. package/package.json +9 -9
  30. package/src/components/accordion/CAccordionButton.ts +1 -0
  31. package/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.ts.snap +1 -1
  32. package/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.ts.snap +1 -1
  33. package/src/components/button/CButton.ts +30 -1
  34. package/src/components/button/__tests__/__snapshots__/CButton.spec.ts.snap +1 -1
  35. package/src/components/calendar/CCalendar.ts +546 -0
  36. package/src/components/calendar/index.ts +10 -0
  37. package/src/components/close-button/CCloseButton.ts +4 -1
  38. package/src/components/date-picker/CDatePicker.ts +243 -0
  39. package/src/components/date-picker/index.ts +10 -0
  40. package/src/components/date-range-picker/CDateRangePicker.ts +635 -0
  41. package/src/components/date-range-picker/index.ts +10 -0
  42. package/src/components/dropdown/CDropdown.ts +48 -49
  43. package/src/components/dropdown/CDropdownMenu.ts +52 -7
  44. package/src/components/dropdown/CDropdownToggle.ts +93 -29
  45. package/src/components/dropdown/__tests__/CDropdownMenu.spec.ts +7 -7
  46. package/src/components/dropdown/__tests__/CDropdownToggle.spec.ts +4 -5
  47. package/src/components/dropdown/__tests__/__snapshots__/CDropdownToggle.spec.ts.snap +2 -2
  48. package/src/components/form/CFormCheck.ts +2 -1
  49. package/src/components/form/CFormSwitch.ts +1 -7
  50. package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +2 -8
  51. package/src/components/index.ts +5 -0
  52. package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +2 -1
  53. package/src/components/pagination/CSmartPagination.ts +4 -4
  54. package/src/components/picker/CPicker.ts +220 -0
  55. package/src/components/picker/index.ts +10 -0
  56. package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +8 -2
  57. package/src/components/smart-table/CSmartTable.ts +17 -49
  58. package/src/components/smart-table/CSmartTableInterface.ts +5 -3
  59. package/src/components/time-picker/CTimePicker.ts +410 -0
  60. package/src/components/time-picker/CTimePickerRollCol.ts +58 -0
  61. package/src/components/time-picker/index.ts +10 -0
  62. package/src/components/toast/__tests__/__snapshots__/CToastClose.spec.ts.snap +1 -1
  63. package/src/utils/calendar.ts +193 -0
  64. package/src/utils/time.ts +58 -0
@@ -3,8 +3,6 @@ import { Column, ColumnFilter, ColumnFilterValue, Item, ItemsPerPageSelect, Sort
3
3
  declare const CSmartTable: import("vue").DefineComponent<{
4
4
  /**
5
5
  * Sets active page. If 'pagination' prop is enabled, activePage is set only initially.
6
- *
7
- * @default 1
8
6
  */
9
7
  activePage: {
10
8
  type: NumberConstructor;
@@ -13,7 +11,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
13
11
  };
14
12
  /**
15
13
  * When set, displays table cleaner above table, next to the table filter (or in place of table filter if `tableFilter` prop is not set)
16
- * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleaner` slot.
14
+ * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleanerIcon` slot.
17
15
  *
18
16
  */
19
17
  cleaner: {
@@ -22,8 +20,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
22
20
  };
23
21
  /**
24
22
  * Style table items as clickable.
25
- *
26
- * @type boolean
27
23
  */
28
24
  clickableRows: {
29
25
  type: BooleanConstructor;
@@ -34,8 +30,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
34
30
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
35
31
  * - external (Boolean) - Disables automatic filtering inside component.
36
32
  * - lazy (Boolean) - Set to true to trigger filter updates only on change event.
37
- *
38
- * @type boolean | ColumnFilter
39
33
  */
40
34
  columnFilter: {
41
35
  type: PropType<boolean | ColumnFilter>;
@@ -44,7 +38,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
44
38
  /**
45
39
  * Value of table filter. To set pass object where keys are column names and values are filter strings e.g.:
46
40
  * { user: 'John', age: 12 }
47
- * You can track state of this prop by setting .sync modifier.
48
41
  */
49
42
  columnFilterValue: {
50
43
  type: PropType<ColumnFilterValue>;
@@ -52,17 +45,17 @@ declare const CSmartTable: import("vue").DefineComponent<{
52
45
  required: false;
53
46
  };
54
47
  /**
55
- * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_classes')
48
+ * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')
56
49
  *
57
50
  * In columns prop each array item represents one column. Item might be specified in two ways:
58
51
  * String: each item define column name equal to item value.
59
52
  * Object: item is object with following keys available as column configuration:
60
53
  * - key (required)(String) - define column name equal to item key.
54
+ * - filter (Boolean) - removes filter from column when set to false.
61
55
  * - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
62
- * - _classes (String/Array/Object) - adds classes to all cels in column
63
- * - _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
64
56
  * - sorter (Boolean) - disables sorting of the column when set to false
65
- * - filter (Boolean) - removes filter from column when set to false.
57
+ * - [_props](https://coreui.io/vue/docs/components/table.html#ctableheadercell) (String/Array/Object) - add props to `CTableHeaderCell`.
58
+ * - _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
66
59
  */
67
60
  columns: {
68
61
  type: PropType<string[] | Column[]>;
@@ -74,8 +67,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
74
67
  * Sorter can be customized, by passing prop as object with additional options as keys. Available options:
75
68
  * - external (Boolean) - Disables automatic sorting inside component.
76
69
  * - resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
77
- *
78
- * @type boolean | Sorter
79
70
  */
80
71
  columnSorter: {
81
72
  type: PropType<boolean | Sorter>;
@@ -91,8 +82,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
91
82
  };
92
83
  /**
93
84
  * Set to false to remove table header.
94
- *
95
- * @default true
96
85
  */
97
86
  header: {
98
87
  type: BooleanConstructor;
@@ -100,7 +89,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
100
89
  default: boolean;
101
90
  };
102
91
  /**
103
- * Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_classes' key and to single cell by '_cellClasses'.
92
+ * Array of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by [_props](http://coreui.io/vue/docs/components/table.html#ctablerow) key and single cell by [_cellProps](http://coreui.io/vue/docs/components/table.html#ctabledatacell).
93
+ *
94
+ * Examples:
95
+ * - `_props: { color: 'primary', align: 'middle'}`
96
+ * - `_cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}`
104
97
  */
105
98
  items: {
106
99
  type: PropType<Item[]>;
@@ -109,8 +102,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
109
102
  };
110
103
  /**
111
104
  * Number of items per site, when pagination is enabled.
112
- *
113
- * @default 10
114
105
  */
115
106
  itemsPerPage: {
116
107
  type: NumberConstructor;
@@ -118,8 +109,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
118
109
  };
119
110
  /**
120
111
  * Label for items per page selector.
121
- *
122
- * @default 'Items per page:'
123
112
  */
124
113
  itemsPerPageLabel: {
125
114
  type: StringConstructor;
@@ -128,8 +117,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
128
117
  };
129
118
  /**
130
119
  * Items per page selector options.
131
- *
132
- * @default [5, 10, 20, 50]
133
120
  */
134
121
  itemsPerPageOptions: {
135
122
  type: PropType<number[]>;
@@ -156,7 +143,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
156
143
  };
157
144
  /**
158
145
  * ReactNode or string for passing custom noItemsLabel texts.
159
- * @default 'No items found'
160
146
  */
161
147
  noItemsLabel: {
162
148
  type: StringConstructor;
@@ -171,9 +157,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
171
157
  required: false;
172
158
  };
173
159
  /**
174
- * Properties to `CSmartPagination` component.
175
- *
176
- * @link https://coreui.io/vue/docs/4.0/components/smart-pagination#csmartpagination
160
+ * Properties to [CSmartPagination](https://coreui.io/vue/docs/components/smart-pagination#csmartpagination) component.
177
161
  */
178
162
  paginationProps: {
179
163
  type: ObjectConstructor;
@@ -185,10 +169,8 @@ declare const CSmartTable: import("vue").DefineComponent<{
185
169
  */
186
170
  selectable: BooleanConstructor;
187
171
  /**
188
- * State of the sorter. Name key is column name, direction can be 'asc' or 'desc'. Set .sync modifier to track changes. eg.:
172
+ * State of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
189
173
  * { column: 'status', state: 'asc' }
190
- *
191
- * @type SorterValue
192
174
  */
193
175
  sorterValue: {
194
176
  type: PropType<SorterValue>;
@@ -196,9 +178,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
196
178
  required: false;
197
179
  };
198
180
  /**
199
- * Properties to `CTableBody` component.
200
- *
201
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablebody
181
+ * Properties to [CTableBody](https://coreui.io/vue/docs/components/table/#ctablebody) component.
202
182
  */
203
183
  tableBodyProps: {
204
184
  type: ObjectConstructor;
@@ -206,9 +186,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
206
186
  required: false;
207
187
  };
208
188
  /**
209
- * Properties to `CTableFoot` component.
210
- *
211
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablefoot
189
+ * Properties to [CTableFoot](https://coreui.io/vue/docs/components/table/#ctablefoot) component.
212
190
  */
213
191
  tableFootProps: {
214
192
  type: ObjectConstructor;
@@ -219,8 +197,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
219
197
  * When set, displays table filter above table, allowing filtering by specific column.
220
198
  *
221
199
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
222
- * - placeholder (String) - Sets custom table filter placeholder.
223
- * - label (String) - Sets custom table filter label.
224
200
  * - external (Boolean) - Disables automatic filtering inside component.
225
201
  * - lazy (Boolean) - Set to true to trigger filter updates only on change event.
226
202
  */
@@ -238,8 +214,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
238
214
  };
239
215
  /**
240
216
  * Specifies a short hint that is visible in the search input.
241
- *
242
- * @default 'type string...'
243
217
  */
244
218
  tableFilterPlaceholder: {
245
219
  type: StringConstructor;
@@ -247,9 +221,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
247
221
  required: false;
248
222
  };
249
223
  /**
250
- * Value of table filter. Set .sync modifier to track changes.
251
- *
252
- * @default 'Filter:'
224
+ * Value of table filter.
253
225
  */
254
226
  tableFilterValue: {
255
227
  type: StringConstructor;
@@ -257,9 +229,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
257
229
  required: false;
258
230
  };
259
231
  /**
260
- * Properties to `CTableHead` component.
261
- *
262
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablehead
232
+ * Properties to [CTableHead](https://coreui.io/vue/docs/components/table/#ctablehead) component.
263
233
  */
264
234
  tableHeadProps: {
265
235
  type: ObjectConstructor;
@@ -267,9 +237,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
267
237
  required: false;
268
238
  };
269
239
  /**
270
- * Properties to `CTable` component.
271
- *
272
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctable
240
+ * Properties to [CTable](https://coreui.io/vue/docs/components/table/#ctable) component.
273
241
  */
274
242
  tableProps: {
275
243
  type: ObjectConstructor;
@@ -281,8 +249,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
281
249
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("activePageChange" | "rowClick" | "columnFilterChange" | "filteredItemsChange" | "itemsPerPageChange" | "selectedItemsChange" | "sorterChange" | "tableFilterChange")[], "activePageChange" | "rowClick" | "columnFilterChange" | "filteredItemsChange" | "itemsPerPageChange" | "selectedItemsChange" | "sorterChange" | "tableFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
282
250
  /**
283
251
  * Sets active page. If 'pagination' prop is enabled, activePage is set only initially.
284
- *
285
- * @default 1
286
252
  */
287
253
  activePage: {
288
254
  type: NumberConstructor;
@@ -291,7 +257,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
291
257
  };
292
258
  /**
293
259
  * When set, displays table cleaner above table, next to the table filter (or in place of table filter if `tableFilter` prop is not set)
294
- * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleaner` slot.
260
+ * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleanerIcon` slot.
295
261
  *
296
262
  */
297
263
  cleaner: {
@@ -300,8 +266,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
300
266
  };
301
267
  /**
302
268
  * Style table items as clickable.
303
- *
304
- * @type boolean
305
269
  */
306
270
  clickableRows: {
307
271
  type: BooleanConstructor;
@@ -312,8 +276,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
312
276
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
313
277
  * - external (Boolean) - Disables automatic filtering inside component.
314
278
  * - lazy (Boolean) - Set to true to trigger filter updates only on change event.
315
- *
316
- * @type boolean | ColumnFilter
317
279
  */
318
280
  columnFilter: {
319
281
  type: PropType<boolean | ColumnFilter>;
@@ -322,7 +284,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
322
284
  /**
323
285
  * Value of table filter. To set pass object where keys are column names and values are filter strings e.g.:
324
286
  * { user: 'John', age: 12 }
325
- * You can track state of this prop by setting .sync modifier.
326
287
  */
327
288
  columnFilterValue: {
328
289
  type: PropType<ColumnFilterValue>;
@@ -330,17 +291,17 @@ declare const CSmartTable: import("vue").DefineComponent<{
330
291
  required: false;
331
292
  };
332
293
  /**
333
- * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_classes')
294
+ * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')
334
295
  *
335
296
  * In columns prop each array item represents one column. Item might be specified in two ways:
336
297
  * String: each item define column name equal to item value.
337
298
  * Object: item is object with following keys available as column configuration:
338
299
  * - key (required)(String) - define column name equal to item key.
300
+ * - filter (Boolean) - removes filter from column when set to false.
339
301
  * - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
340
- * - _classes (String/Array/Object) - adds classes to all cels in column
341
- * - _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
342
302
  * - sorter (Boolean) - disables sorting of the column when set to false
343
- * - filter (Boolean) - removes filter from column when set to false.
303
+ * - [_props](https://coreui.io/vue/docs/components/table.html#ctableheadercell) (String/Array/Object) - add props to `CTableHeaderCell`.
304
+ * - _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
344
305
  */
345
306
  columns: {
346
307
  type: PropType<string[] | Column[]>;
@@ -352,8 +313,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
352
313
  * Sorter can be customized, by passing prop as object with additional options as keys. Available options:
353
314
  * - external (Boolean) - Disables automatic sorting inside component.
354
315
  * - resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
355
- *
356
- * @type boolean | Sorter
357
316
  */
358
317
  columnSorter: {
359
318
  type: PropType<boolean | Sorter>;
@@ -369,8 +328,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
369
328
  };
370
329
  /**
371
330
  * Set to false to remove table header.
372
- *
373
- * @default true
374
331
  */
375
332
  header: {
376
333
  type: BooleanConstructor;
@@ -378,7 +335,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
378
335
  default: boolean;
379
336
  };
380
337
  /**
381
- * Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_classes' key and to single cell by '_cellClasses'.
338
+ * Array of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by [_props](http://coreui.io/vue/docs/components/table.html#ctablerow) key and single cell by [_cellProps](http://coreui.io/vue/docs/components/table.html#ctabledatacell).
339
+ *
340
+ * Examples:
341
+ * - `_props: { color: 'primary', align: 'middle'}`
342
+ * - `_cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}`
382
343
  */
383
344
  items: {
384
345
  type: PropType<Item[]>;
@@ -387,8 +348,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
387
348
  };
388
349
  /**
389
350
  * Number of items per site, when pagination is enabled.
390
- *
391
- * @default 10
392
351
  */
393
352
  itemsPerPage: {
394
353
  type: NumberConstructor;
@@ -396,8 +355,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
396
355
  };
397
356
  /**
398
357
  * Label for items per page selector.
399
- *
400
- * @default 'Items per page:'
401
358
  */
402
359
  itemsPerPageLabel: {
403
360
  type: StringConstructor;
@@ -406,8 +363,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
406
363
  };
407
364
  /**
408
365
  * Items per page selector options.
409
- *
410
- * @default [5, 10, 20, 50]
411
366
  */
412
367
  itemsPerPageOptions: {
413
368
  type: PropType<number[]>;
@@ -434,7 +389,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
434
389
  };
435
390
  /**
436
391
  * ReactNode or string for passing custom noItemsLabel texts.
437
- * @default 'No items found'
438
392
  */
439
393
  noItemsLabel: {
440
394
  type: StringConstructor;
@@ -449,9 +403,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
449
403
  required: false;
450
404
  };
451
405
  /**
452
- * Properties to `CSmartPagination` component.
453
- *
454
- * @link https://coreui.io/vue/docs/4.0/components/smart-pagination#csmartpagination
406
+ * Properties to [CSmartPagination](https://coreui.io/vue/docs/components/smart-pagination#csmartpagination) component.
455
407
  */
456
408
  paginationProps: {
457
409
  type: ObjectConstructor;
@@ -463,10 +415,8 @@ declare const CSmartTable: import("vue").DefineComponent<{
463
415
  */
464
416
  selectable: BooleanConstructor;
465
417
  /**
466
- * State of the sorter. Name key is column name, direction can be 'asc' or 'desc'. Set .sync modifier to track changes. eg.:
418
+ * State of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
467
419
  * { column: 'status', state: 'asc' }
468
- *
469
- * @type SorterValue
470
420
  */
471
421
  sorterValue: {
472
422
  type: PropType<SorterValue>;
@@ -474,9 +424,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
474
424
  required: false;
475
425
  };
476
426
  /**
477
- * Properties to `CTableBody` component.
478
- *
479
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablebody
427
+ * Properties to [CTableBody](https://coreui.io/vue/docs/components/table/#ctablebody) component.
480
428
  */
481
429
  tableBodyProps: {
482
430
  type: ObjectConstructor;
@@ -484,9 +432,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
484
432
  required: false;
485
433
  };
486
434
  /**
487
- * Properties to `CTableFoot` component.
488
- *
489
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablefoot
435
+ * Properties to [CTableFoot](https://coreui.io/vue/docs/components/table/#ctablefoot) component.
490
436
  */
491
437
  tableFootProps: {
492
438
  type: ObjectConstructor;
@@ -497,8 +443,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
497
443
  * When set, displays table filter above table, allowing filtering by specific column.
498
444
  *
499
445
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
500
- * - placeholder (String) - Sets custom table filter placeholder.
501
- * - label (String) - Sets custom table filter label.
502
446
  * - external (Boolean) - Disables automatic filtering inside component.
503
447
  * - lazy (Boolean) - Set to true to trigger filter updates only on change event.
504
448
  */
@@ -516,8 +460,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
516
460
  };
517
461
  /**
518
462
  * Specifies a short hint that is visible in the search input.
519
- *
520
- * @default 'type string...'
521
463
  */
522
464
  tableFilterPlaceholder: {
523
465
  type: StringConstructor;
@@ -525,9 +467,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
525
467
  required: false;
526
468
  };
527
469
  /**
528
- * Value of table filter. Set .sync modifier to track changes.
529
- *
530
- * @default 'Filter:'
470
+ * Value of table filter.
531
471
  */
532
472
  tableFilterValue: {
533
473
  type: StringConstructor;
@@ -535,9 +475,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
535
475
  required: false;
536
476
  };
537
477
  /**
538
- * Properties to `CTableHead` component.
539
- *
540
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctablehead
478
+ * Properties to [CTableHead](https://coreui.io/vue/docs/components/table/#ctablehead) component.
541
479
  */
542
480
  tableHeadProps: {
543
481
  type: ObjectConstructor;
@@ -545,9 +483,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
545
483
  required: false;
546
484
  };
547
485
  /**
548
- * Properties to `CTable` component.
549
- *
550
- * @link https://coreui.io/vue/docs/4.0/components/table/#ctable
486
+ * Properties to [CTable](https://coreui.io/vue/docs/components/table/#ctable) component.
551
487
  */
552
488
  tableProps: {
553
489
  type: ObjectConstructor;
@@ -567,8 +503,8 @@ declare const CSmartTable: import("vue").DefineComponent<{
567
503
  items: Item[];
568
504
  footer: boolean;
569
505
  header: boolean;
570
- loading: boolean;
571
506
  cleaner: boolean;
507
+ loading: boolean;
572
508
  pagination: boolean;
573
509
  activePage: number;
574
510
  clickableRows: boolean;
@@ -2,10 +2,10 @@
2
2
  * @ignore
3
3
  */
4
4
  export interface Column {
5
- sorter?: boolean;
5
+ filter?: boolean;
6
6
  key: string;
7
7
  label?: string;
8
- filter?: boolean;
8
+ sorter?: boolean;
9
9
  _style?: any;
10
10
  _props?: any;
11
11
  }
@@ -40,8 +40,8 @@ export interface SorterValue {
40
40
  state?: number | string;
41
41
  }
42
42
  export interface TableFilter {
43
- lazy?: boolean;
44
43
  external?: boolean;
44
+ lazy?: boolean;
45
45
  label?: string;
46
46
  placeholder?: string;
47
47
  }
@@ -0,0 +1,10 @@
1
+ declare const CTimePicker: import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "change")[], "hide" | "show" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
4
+ onHide?: ((...args: any[]) => any) | undefined;
5
+ onShow?: ((...args: any[]) => any) | undefined;
6
+ onChange?: ((...args: any[]) => any) | undefined;
7
+ }, {} | {
8
+ [x: string]: any;
9
+ }>;
10
+ export { CTimePicker };
@@ -0,0 +1,27 @@
1
+ import { PropType } from 'vue';
2
+ export interface Element {
3
+ value: number | string;
4
+ label: number | string;
5
+ }
6
+ declare const CTimePickerRollCol: import("vue").DefineComponent<{
7
+ elements: {
8
+ type: PropType<Element[]>;
9
+ required: true;
10
+ };
11
+ selected: {
12
+ type: (NumberConstructor | StringConstructor)[];
13
+ };
14
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ elements: {
18
+ type: PropType<Element[]>;
19
+ required: true;
20
+ };
21
+ selected: {
22
+ type: (NumberConstructor | StringConstructor)[];
23
+ };
24
+ }>> & {
25
+ onClick?: ((...args: any[]) => any) | undefined;
26
+ }, {}>;
27
+ export { CTimePickerRollCol };
@@ -0,0 +1,6 @@
1
+ import { App } from 'vue';
2
+ import { CTimePicker } from './CTimePicker';
3
+ declare const CTimePickerPlugin: {
4
+ install: (app: App) => void;
5
+ };
6
+ export { CTimePicker, CTimePickerPlugin };
@@ -123,8 +123,8 @@ declare const CToast: import("vue").DefineComponent<{
123
123
  }, {
124
124
  visible: boolean;
125
125
  dismissible: boolean;
126
- index: number;
127
126
  title: string;
127
+ index: number;
128
128
  autohide: boolean;
129
129
  delay: number;
130
130
  }>;