@coreui/vue-pro 4.0.1 → 4.1.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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/components/carousel/CCarousel.d.ts +2 -2
  3. package/dist/components/collapse/CCollapse.d.ts +10 -0
  4. package/dist/components/element-cover/index.d.ts +6 -0
  5. package/dist/components/form/CFormCheck.d.ts +22 -2
  6. package/dist/components/form/CFormInput.d.ts +17 -2
  7. package/dist/components/form/CFormRange.d.ts +15 -2
  8. package/dist/components/form/CFormSelect.d.ts +36 -2
  9. package/dist/components/form/CFormSwitch.d.ts +15 -2
  10. package/dist/components/form/CFormTextarea.d.ts +18 -2
  11. package/dist/components/index.d.ts +2 -0
  12. package/dist/components/modal/CModal.d.ts +2 -2
  13. package/dist/components/multi-select/CMultiSelect.d.ts +2 -2
  14. package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +2 -2
  15. package/dist/components/placeholder/CPlaceholder.d.ts +124 -0
  16. package/dist/components/placeholder/index.d.ts +6 -0
  17. package/dist/components/popover/CPopover.d.ts +2 -2
  18. package/dist/components/smart-table/CSmartTable.d.ts +0 -3
  19. package/dist/components/table/CTable.d.ts +2 -2
  20. package/dist/components/widgets/CWidgetStatsB.d.ts +2 -2
  21. package/dist/components/widgets/CWidgetStatsF.d.ts +2 -2
  22. package/dist/directives/index.d.ts +3 -2
  23. package/dist/directives/v-c-placeholder.d.ts +6 -0
  24. package/dist/directives/v-c-visible.d.ts +6 -0
  25. package/dist/index.es.js +902 -445
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/index.js +905 -443
  28. package/dist/index.js.map +1 -1
  29. package/package.json +10 -9
  30. package/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.ts.snap +1 -1
  31. package/src/components/button/CButton.ts +2 -2
  32. package/src/components/card/CCardImage.ts +2 -3
  33. package/src/components/collapse/CCollapse.ts +49 -21
  34. package/src/components/collapse/__test__/__snapshots__/CCollapse.spec.ts.snap +1 -1
  35. package/src/components/element-cover/index.ts +10 -0
  36. package/src/components/form/CFormCheck.ts +34 -2
  37. package/src/components/form/CFormInput.ts +40 -5
  38. package/src/components/form/CFormLabel.ts +1 -2
  39. package/src/components/form/CFormRange.ts +32 -3
  40. package/src/components/form/CFormSelect.ts +63 -4
  41. package/src/components/form/CFormSwitch.ts +46 -4
  42. package/src/components/form/CFormTextarea.ts +31 -2
  43. package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +2 -2
  44. package/src/components/form/__tests__/__snapshots__/CFormInput.spec.ts.snap +3 -3
  45. package/src/components/form/__tests__/__snapshots__/CFormRange.spec.ts.snap +1 -1
  46. package/src/components/form/__tests__/__snapshots__/CFormSwitch.spec.ts.snap +2 -2
  47. package/src/components/form/__tests__/__snapshots__/CFormTextarea.spec.ts.snap +1 -1
  48. package/src/components/grid/CCol.ts +8 -8
  49. package/src/components/grid/CContainer.ts +3 -3
  50. package/src/components/grid/CRow.ts +6 -6
  51. package/src/components/index.ts +2 -0
  52. package/src/components/offcanvas/COffcanvas.ts +19 -16
  53. package/src/components/offcanvas/__tests__/COffcanvas.spec.ts +1 -1
  54. package/src/components/offcanvas/__tests__/__snapshots__/COffcanvas.spec.ts.snap +2 -2
  55. package/src/components/pagination/CSmartPagination.ts +1 -1
  56. package/src/components/placeholder/CPlaceholder.ts +139 -0
  57. package/src/components/placeholder/__tests__/CPlaceholder.spec.ts +44 -0
  58. package/src/components/placeholder/__tests__/__snapshots__/CPlaceholder.spec.ts.snap +15 -0
  59. package/src/components/placeholder/index.ts +10 -0
  60. package/src/components/smart-table/CSmartTable.ts +56 -41
  61. package/src/components/smart-table/CSmartTableHead.ts +43 -42
  62. package/src/components/toast/CToastClose.ts +2 -2
  63. package/src/components/toast/__tests__/CToastClose.spec.ts +2 -2
  64. package/src/components/toast/__tests__/__snapshots__/CToastClose.spec.ts.snap +1 -1
  65. package/src/directives/index.ts +3 -2
  66. package/src/directives/v-c-placeholder.ts +32 -0
  67. package/src/directives/v-c-visible.ts +33 -0
  68. package/src/index.ts +2 -1
package/README.md CHANGED
@@ -43,7 +43,7 @@
43
43
 
44
44
  Several quick start options are available:
45
45
 
46
- - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.0.1.zip)
46
+ - [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.1.0.zip)
47
47
  - Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
48
48
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
49
49
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
@@ -68,22 +68,22 @@ declare const CCarousel: import("vue").DefineComponent<{
68
68
  transition?: unknown;
69
69
  wrap?: unknown;
70
70
  } & {
71
+ transition: string;
71
72
  dark: boolean;
72
73
  controls: boolean;
73
74
  index: number;
74
75
  indicators: boolean;
75
76
  interval: number | boolean;
76
77
  pause: string | boolean;
77
- transition: string;
78
78
  wrap: boolean;
79
79
  } & {}>, {
80
+ transition: string;
80
81
  dark: boolean;
81
82
  controls: boolean;
82
83
  index: number;
83
84
  indicators: boolean;
84
85
  interval: number | boolean;
85
86
  pause: string | boolean;
86
- transition: string;
87
87
  wrap: boolean;
88
88
  }>;
89
89
  export { CCarousel };
@@ -1,5 +1,12 @@
1
1
  import { RendererElement } from 'vue';
2
2
  declare const CCollapse: import("vue").DefineComponent<{
3
+ /**
4
+ * Set horizontal collapsing to transition the width instead of height.
5
+ */
6
+ horizontal: {
7
+ type: BooleanConstructor;
8
+ required: false;
9
+ };
3
10
  /**
4
11
  * Toggle the visibility of component.
5
12
  */
@@ -10,13 +17,16 @@ declare const CCollapse: import("vue").DefineComponent<{
10
17
  }, () => import("vue").VNode<import("vue").RendererNode, RendererElement, {
11
18
  [key: string]: any;
12
19
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show")[], "hide" | "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
20
+ horizontal?: unknown;
13
21
  visible?: unknown;
14
22
  } & {
23
+ horizontal: boolean;
15
24
  visible: boolean;
16
25
  } & {}> & {
17
26
  onHide?: ((...args: any[]) => any) | undefined;
18
27
  onShow?: ((...args: any[]) => any) | undefined;
19
28
  }, {
29
+ horizontal: boolean;
20
30
  visible: boolean;
21
31
  }>;
22
32
  export { CCollapse };
@@ -0,0 +1,6 @@
1
+ import { App } from 'vue';
2
+ import { CElementCover } from './CElementCover';
3
+ declare const CElementCoverPlugin: {
4
+ install: (app: App) => void;
5
+ };
6
+ export { CElementCoverPlugin, CElementCover };
@@ -16,6 +16,10 @@ declare const CFormCheck: import("vue").DefineComponent<{
16
16
  default: undefined;
17
17
  required: false;
18
18
  };
19
+ /**
20
+ * Input Checkbox indeterminate Property
21
+ */
22
+ indeterminate: BooleanConstructor;
19
23
  /**
20
24
  * Group checkboxes or radios on the same horizontal row by adding.
21
25
  */
@@ -38,6 +42,14 @@ declare const CFormCheck: import("vue").DefineComponent<{
38
42
  default: undefined;
39
43
  required: false;
40
44
  };
45
+ /**
46
+ * The default name for a value passed using v-model.
47
+ */
48
+ modelValue: {
49
+ type: (StringConstructor | BooleanConstructor)[];
50
+ value: undefined;
51
+ required: false;
52
+ };
41
53
  /**
42
54
  * Specifies the type of component.
43
55
  *
@@ -59,17 +71,20 @@ declare const CFormCheck: import("vue").DefineComponent<{
59
71
  [key: string]: any;
60
72
  }> | ("" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
73
  [key: string]: any;
62
- }> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
74
+ }> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
63
75
  button?: unknown;
64
76
  id?: unknown;
77
+ indeterminate?: unknown;
65
78
  inline?: unknown;
66
79
  invalid?: unknown;
67
80
  label?: unknown;
81
+ modelValue?: unknown;
68
82
  type?: unknown;
69
83
  valid?: unknown;
70
84
  } & {
71
85
  type: string;
72
86
  invalid: boolean;
87
+ indeterminate: boolean;
73
88
  inline: boolean;
74
89
  valid: boolean;
75
90
  } & {
@@ -81,11 +96,16 @@ declare const CFormCheck: import("vue").DefineComponent<{
81
96
  } | undefined;
82
97
  id?: string | undefined;
83
98
  label?: string | undefined;
84
- }>, {
99
+ modelValue?: string | boolean | undefined;
100
+ }> & {
101
+ onChange?: ((...args: any[]) => any) | undefined;
102
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
103
+ }, {
85
104
  type: string;
86
105
  id: string;
87
106
  invalid: boolean;
88
107
  label: string;
108
+ indeterminate: boolean;
89
109
  inline: boolean;
90
110
  valid: boolean;
91
111
  }>;
@@ -13,6 +13,14 @@ declare const CFormInput: import("vue").DefineComponent<{
13
13
  type: BooleanConstructor;
14
14
  required: false;
15
15
  };
16
+ /**
17
+ * The default name for a value passed using v-model.
18
+ */
19
+ modelValue: {
20
+ type: StringConstructor;
21
+ default: undefined;
22
+ require: boolean;
23
+ };
16
24
  /**
17
25
  * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
18
26
  */
@@ -57,9 +65,10 @@ declare const CFormInput: import("vue").DefineComponent<{
57
65
  };
58
66
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
67
  [key: string]: any;
60
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
68
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
61
69
  disabled?: unknown;
62
70
  invalid?: unknown;
71
+ modelValue?: unknown;
63
72
  plainText?: unknown;
64
73
  readonly?: unknown;
65
74
  size?: unknown;
@@ -74,11 +83,17 @@ declare const CFormInput: import("vue").DefineComponent<{
74
83
  readonly: boolean;
75
84
  } & {
76
85
  size?: string | undefined;
77
- }>, {
86
+ modelValue?: string | undefined;
87
+ }> & {
88
+ onChange?: ((...args: any[]) => any) | undefined;
89
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
+ onInput?: ((...args: any[]) => any) | undefined;
91
+ }, {
78
92
  type: string;
79
93
  disabled: boolean;
80
94
  size: string;
81
95
  invalid: boolean;
96
+ modelValue: string;
82
97
  valid: boolean;
83
98
  plainText: boolean;
84
99
  readonly: boolean;
@@ -23,6 +23,14 @@ declare const CFormRange: import("vue").DefineComponent<{
23
23
  default: undefined;
24
24
  required: false;
25
25
  };
26
+ /**
27
+ * The default name for a value passed using v-model.
28
+ */
29
+ modelValue: {
30
+ type: StringConstructor;
31
+ value: undefined;
32
+ required: false;
33
+ };
26
34
  /**
27
35
  * Toggle the readonly state for the component.
28
36
  */
@@ -50,10 +58,11 @@ declare const CFormRange: import("vue").DefineComponent<{
50
58
  };
51
59
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
60
  [key: string]: any;
53
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
61
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
54
62
  disabled?: unknown;
55
63
  max?: unknown;
56
64
  min?: unknown;
65
+ modelValue?: unknown;
57
66
  readonly?: unknown;
58
67
  steps?: unknown;
59
68
  value?: unknown;
@@ -62,10 +71,14 @@ declare const CFormRange: import("vue").DefineComponent<{
62
71
  } & {
63
72
  value?: number | undefined;
64
73
  disabled?: boolean | undefined;
74
+ modelValue?: string | undefined;
65
75
  max?: number | undefined;
66
76
  min?: number | undefined;
67
77
  steps?: number | undefined;
68
- }>, {
78
+ }> & {
79
+ onChange?: ((...args: any[]) => any) | undefined;
80
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
+ }, {
69
82
  value: number;
70
83
  disabled: boolean;
71
84
  readonly: boolean;
@@ -1,3 +1,9 @@
1
+ import { PropType } from 'vue';
2
+ declare type Option = {
3
+ disabled?: boolean;
4
+ label?: string;
5
+ value?: string;
6
+ };
1
7
  declare const CFormSelect: import("vue").DefineComponent<{
2
8
  /**
3
9
  * Specifies the number of visible options in a drop-down list.
@@ -14,6 +20,25 @@ declare const CFormSelect: import("vue").DefineComponent<{
14
20
  type: BooleanConstructor;
15
21
  required: false;
16
22
  };
23
+ /**
24
+ * The default name for a value passed using v-model.
25
+ */
26
+ modelValue: {
27
+ type: StringConstructor;
28
+ default: undefined;
29
+ require: boolean;
30
+ };
31
+ /**
32
+ * Options list of the select component. Available keys: `label`, `value`, `disabled`.
33
+ * Examples:
34
+ * - `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`
35
+ * - `:options="['js', 'html']"`
36
+ */
37
+ options: {
38
+ type: PropType<string[] | Option[]>;
39
+ default: undefined;
40
+ required: false;
41
+ };
17
42
  /**
18
43
  * Size the component small or large.
19
44
  *
@@ -34,9 +59,11 @@ declare const CFormSelect: import("vue").DefineComponent<{
34
59
  };
35
60
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
61
  [key: string]: any;
37
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
62
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
38
63
  htmlSize?: unknown;
39
64
  invalid?: unknown;
65
+ modelValue?: unknown;
66
+ options?: unknown;
40
67
  size?: unknown;
41
68
  valid?: unknown;
42
69
  } & {
@@ -44,11 +71,18 @@ declare const CFormSelect: import("vue").DefineComponent<{
44
71
  valid: boolean;
45
72
  } & {
46
73
  size?: string | undefined;
74
+ modelValue?: string | undefined;
47
75
  htmlSize?: number | undefined;
48
- }>, {
76
+ options?: string[] | Option[] | undefined;
77
+ }> & {
78
+ onChange?: ((...args: any[]) => any) | undefined;
79
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ }, {
49
81
  size: string;
50
82
  invalid: boolean;
83
+ modelValue: string;
51
84
  valid: boolean;
52
85
  htmlSize: number;
86
+ options: string[] | Option[];
53
87
  }>;
54
88
  export { CFormSelect };
@@ -22,6 +22,14 @@ declare const CFormSwitch: import("vue").DefineComponent<{
22
22
  default: undefined;
23
23
  required: false;
24
24
  };
25
+ /**
26
+ * The default name for a value passed using v-model.
27
+ */
28
+ modelValue: {
29
+ type: (StringConstructor | BooleanConstructor)[];
30
+ value: undefined;
31
+ required: false;
32
+ };
25
33
  /**
26
34
  * Size the component large or extra large. Works only with `switch`.
27
35
  *
@@ -52,10 +60,11 @@ declare const CFormSwitch: import("vue").DefineComponent<{
52
60
  };
53
61
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
62
  [key: string]: any;
55
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
63
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
56
64
  id?: unknown;
57
65
  invalid?: unknown;
58
66
  label?: unknown;
67
+ modelValue?: unknown;
59
68
  size?: unknown;
60
69
  type?: unknown;
61
70
  valid?: unknown;
@@ -67,7 +76,11 @@ declare const CFormSwitch: import("vue").DefineComponent<{
67
76
  size?: string | undefined;
68
77
  id?: string | undefined;
69
78
  label?: string | undefined;
70
- }>, {
79
+ modelValue?: string | boolean | undefined;
80
+ }> & {
81
+ onChange?: ((...args: any[]) => any) | undefined;
82
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
83
+ }, {
71
84
  type: string;
72
85
  size: string;
73
86
  id: string;
@@ -13,6 +13,14 @@ declare const CFormTextarea: import("vue").DefineComponent<{
13
13
  type: BooleanConstructor;
14
14
  required: false;
15
15
  };
16
+ /**
17
+ * The default name for a value passed using v-model.
18
+ */
19
+ modelValue: {
20
+ type: StringConstructor;
21
+ default: undefined;
22
+ require: boolean;
23
+ };
16
24
  /**
17
25
  * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
18
26
  */
@@ -36,9 +44,10 @@ declare const CFormTextarea: import("vue").DefineComponent<{
36
44
  };
37
45
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
46
  [key: string]: any;
39
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
47
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
40
48
  disabled?: unknown;
41
49
  invalid?: unknown;
50
+ modelValue?: unknown;
42
51
  plainText?: unknown;
43
52
  readonly?: unknown;
44
53
  valid?: unknown;
@@ -48,9 +57,16 @@ declare const CFormTextarea: import("vue").DefineComponent<{
48
57
  valid: boolean;
49
58
  plainText: boolean;
50
59
  readonly: boolean;
51
- } & {}>, {
60
+ } & {
61
+ modelValue?: string | undefined;
62
+ }> & {
63
+ onChange?: ((...args: any[]) => any) | undefined;
64
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
+ onInput?: ((...args: any[]) => any) | undefined;
66
+ }, {
52
67
  disabled: boolean;
53
68
  invalid: boolean;
69
+ modelValue: string;
54
70
  valid: boolean;
55
71
  plainText: boolean;
56
72
  readonly: boolean;
@@ -12,6 +12,7 @@ export * from './carousel';
12
12
  export * from './close-button';
13
13
  export * from './collapse';
14
14
  export * from './dropdown';
15
+ export * from './element-cover';
15
16
  export * from './footer';
16
17
  export * from './form';
17
18
  export * from './grid';
@@ -26,6 +27,7 @@ export * from './nav';
26
27
  export * from './navbar';
27
28
  export * from './offcanvas';
28
29
  export * from './pagination';
30
+ export * from './placeholder';
29
31
  export * from './progress';
30
32
  export * from './popover';
31
33
  export * from './sidebar';
@@ -90,8 +90,8 @@ declare const CModal: import("vue").DefineComponent<{
90
90
  transition?: unknown;
91
91
  visible?: unknown;
92
92
  } & {
93
- visible: boolean;
94
93
  transition: boolean;
94
+ visible: boolean;
95
95
  alignment: string;
96
96
  backdrop: string | boolean;
97
97
  keyboard: boolean;
@@ -105,9 +105,9 @@ declare const CModal: import("vue").DefineComponent<{
105
105
  onClose?: ((...args: any[]) => any) | undefined;
106
106
  "onClose-prevented"?: ((...args: any[]) => any) | undefined;
107
107
  }, {
108
+ transition: boolean;
108
109
  visible: boolean;
109
110
  size: string;
110
- transition: boolean;
111
111
  alignment: string;
112
112
  backdrop: string | boolean;
113
113
  contentClassName: string;
@@ -156,8 +156,8 @@ declare const CMultiSelect: import("vue").DefineComponent<{
156
156
  } & {
157
157
  search: boolean;
158
158
  visible: boolean;
159
- multiple: boolean;
160
159
  options: Option[];
160
+ multiple: boolean;
161
161
  optionsMaxHeight: string | number;
162
162
  optionsStyle: string;
163
163
  searchNoResultsLabel: string;
@@ -172,8 +172,8 @@ declare const CMultiSelect: import("vue").DefineComponent<{
172
172
  }, {
173
173
  search: boolean;
174
174
  visible: boolean;
175
- multiple: boolean;
176
175
  options: Option[];
176
+ multiple: boolean;
177
177
  optionsMaxHeight: string | number;
178
178
  optionsStyle: string;
179
179
  searchNoResultsLabel: string;
@@ -31,15 +31,15 @@ declare const CMultiSelectNativeSelect: import("vue").DefineComponent<{
31
31
  options?: unknown;
32
32
  value?: unknown;
33
33
  } & {
34
- multiple: boolean;
35
34
  options: Option[];
35
+ multiple: boolean;
36
36
  } & {
37
37
  value?: string | number | unknown[] | undefined;
38
38
  }> & {
39
39
  onChange?: ((...args: any[]) => any) | undefined;
40
40
  }, {
41
41
  value: string | number | unknown[];
42
- multiple: boolean;
43
42
  options: Option[];
43
+ multiple: boolean;
44
44
  }>;
45
45
  export { CMultiSelectNativeSelect };
@@ -0,0 +1,124 @@
1
+ export declare const CPlaceholder: import("vue").DefineComponent<{
2
+ /**
3
+ * Set animation type to better convey the perception of something being actively loaded.
4
+ *
5
+ * @values 'glow', 'wave'
6
+ */
7
+ animation: {
8
+ type: StringConstructor;
9
+ default: undefined;
10
+ require: boolean;
11
+ validator: (value: string) => boolean;
12
+ };
13
+ /**
14
+ * Sets the color context of the component to one of CoreUI’s themed colors.
15
+ *
16
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
17
+ */
18
+ color: {
19
+ type: StringConstructor;
20
+ validator: (value: string) => boolean;
21
+ };
22
+ /**
23
+ * Component used for the root node. Either a string to use a HTML element or a component.
24
+ */
25
+ component: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ required: false;
29
+ };
30
+ /**
31
+ * Size the component extra small, small, or large.
32
+ *
33
+ * @values 'xs', 'sm', 'lg'
34
+ */
35
+ size: {
36
+ type: StringConstructor;
37
+ default: undefined;
38
+ required: false;
39
+ validator: (value: string) => boolean;
40
+ };
41
+ /**
42
+ * The number of columns on extra small devices (<576px).
43
+ */
44
+ xs: {
45
+ type: NumberConstructor;
46
+ default: undefined;
47
+ require: boolean;
48
+ };
49
+ /**
50
+ * The number of columns on small devices (<768px).
51
+ */
52
+ sm: {
53
+ type: NumberConstructor;
54
+ default: undefined;
55
+ require: boolean;
56
+ };
57
+ /**
58
+ * The number of columns on medium devices (<992px).
59
+ */
60
+ md: {
61
+ type: NumberConstructor;
62
+ default: undefined;
63
+ require: boolean;
64
+ };
65
+ /**
66
+ * The number of columns on large devices (<1200px).
67
+ */
68
+ lg: {
69
+ type: NumberConstructor;
70
+ default: undefined;
71
+ require: boolean;
72
+ };
73
+ /**
74
+ * The number of columns on X-Large devices (<1400px).
75
+ */
76
+ xl: {
77
+ type: NumberConstructor;
78
+ default: undefined;
79
+ require: boolean;
80
+ };
81
+ /**
82
+ * The number of columns on XX-Large devices (≥1400px).
83
+ */
84
+ xxl: {
85
+ type: NumberConstructor;
86
+ default: undefined;
87
+ require: boolean;
88
+ };
89
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
90
+ [key: string]: any;
91
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
92
+ animation?: unknown;
93
+ color?: unknown;
94
+ component?: unknown;
95
+ size?: unknown;
96
+ xs?: unknown;
97
+ sm?: unknown;
98
+ md?: unknown;
99
+ lg?: unknown;
100
+ xl?: unknown;
101
+ xxl?: unknown;
102
+ } & {
103
+ component: string;
104
+ } & {
105
+ color?: string | undefined;
106
+ size?: string | undefined;
107
+ sm?: number | undefined;
108
+ md?: number | undefined;
109
+ lg?: number | undefined;
110
+ xl?: number | undefined;
111
+ xs?: number | undefined;
112
+ xxl?: number | undefined;
113
+ animation?: string | undefined;
114
+ }>, {
115
+ component: string;
116
+ size: string;
117
+ sm: number;
118
+ md: number;
119
+ lg: number;
120
+ xl: number;
121
+ xs: number;
122
+ xxl: number;
123
+ animation: string;
124
+ }>;
@@ -0,0 +1,6 @@
1
+ import { App } from 'vue';
2
+ import { CPlaceholder } from './CPlaceholder';
3
+ declare const CPlaceholderPlugin: {
4
+ install: (app: App) => void;
5
+ };
6
+ export { CPlaceholderPlugin, CPlaceholder };
@@ -66,8 +66,8 @@ declare const CPopover: import("vue").DefineComponent<{
66
66
  trigger: string | string[];
67
67
  offset: unknown[];
68
68
  } & {
69
- content?: string | undefined;
70
69
  title?: string | undefined;
70
+ content?: string | undefined;
71
71
  }> & {
72
72
  onHide?: ((...args: any[]) => any) | undefined;
73
73
  onShow?: ((...args: any[]) => any) | undefined;
@@ -75,8 +75,8 @@ declare const CPopover: import("vue").DefineComponent<{
75
75
  visible: boolean;
76
76
  placement: Placement;
77
77
  trigger: string | string[];
78
+ title: string;
78
79
  content: string;
79
80
  offset: unknown[];
80
- title: string;
81
81
  }>;
82
82
  export { CPopover };
@@ -18,7 +18,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
18
18
  */
19
19
  cleaner: {
20
20
  type: BooleanConstructor;
21
- default: boolean;
22
21
  required: false;
23
22
  };
24
23
  /**
@@ -229,7 +228,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
229
228
  */
230
229
  tableFilter: {
231
230
  type: PropType<boolean | TableFilter>;
232
- default: undefined;
233
231
  required: false;
234
232
  };
235
233
  /**
@@ -373,7 +371,6 @@ declare const CSmartTable: import("vue").DefineComponent<{
373
371
  sorterValue: SorterValue;
374
372
  tableBodyProps: Record<string, any>;
375
373
  tableFootProps: Record<string, any>;
376
- tableFilter: boolean | TableFilter;
377
374
  tableFilterLabel: string;
378
375
  tableFilterPlaceholder: string;
379
376
  tableFilterValue: string;
@@ -106,16 +106,16 @@ declare const CTable: import("vue").DefineComponent<{
106
106
  borderless: boolean;
107
107
  } & {
108
108
  color?: string | undefined;
109
- align?: string | undefined;
110
109
  caption?: string | undefined;
110
+ align?: string | undefined;
111
111
  borderColor?: string | undefined;
112
112
  responsive?: string | boolean | undefined;
113
113
  }>, {
114
114
  small: boolean;
115
115
  hover: boolean;
116
+ caption: string;
116
117
  align: string;
117
118
  striped: boolean;
118
- caption: string;
119
119
  bordered: boolean;
120
120
  borderless: boolean;
121
121
  responsive: string | boolean;
@@ -61,13 +61,13 @@ declare const CWidgetStatsB: import("vue").DefineComponent<{
61
61
  color: string;
62
62
  value: number;
63
63
  } | undefined;
64
- text?: string | undefined;
65
64
  title?: string | undefined;
65
+ text?: string | undefined;
66
66
  inverse?: boolean | undefined;
67
67
  }>, {
68
68
  value: string | number;
69
- text: string;
70
69
  title: string;
70
+ text: string;
71
71
  inverse: boolean;
72
72
  }>;
73
73
  export { CWidgetStatsB };