@coreui/vue-pro 4.1.0 → 4.1.4

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 (148) hide show
  1. package/README.md +1 -1
  2. package/dist/components/accordion/CAccordion.d.ts +18 -10
  3. package/dist/components/accordion/CAccordionBody.d.ts +1 -1
  4. package/dist/components/accordion/CAccordionButton.d.ts +1 -1
  5. package/dist/components/accordion/CAccordionCollapse.d.ts +9 -5
  6. package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
  7. package/dist/components/accordion/CAccordionItem.d.ts +10 -5
  8. package/dist/components/alert/CAlert.d.ts +38 -12
  9. package/dist/components/alert/CAlertHeading.d.ts +10 -5
  10. package/dist/components/alert/CAlertLink.d.ts +1 -1
  11. package/dist/components/avatar/CAvatar.d.ts +59 -15
  12. package/dist/components/backdrop/CBackdrop.d.ts +10 -5
  13. package/dist/components/badge/CBadge.d.ts +59 -16
  14. package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
  15. package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +17 -8
  16. package/dist/components/button/CButton.d.ts +73 -20
  17. package/dist/components/button-group/CButtonGroup.d.ts +20 -8
  18. package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
  19. package/dist/components/callout/CCallout.d.ts +11 -5
  20. package/dist/components/card/CCard.d.ts +20 -7
  21. package/dist/components/card/CCardBody.d.ts +1 -1
  22. package/dist/components/card/CCardFooter.d.ts +1 -1
  23. package/dist/components/card/CCardGroup.d.ts +1 -1
  24. package/dist/components/card/CCardHeader.d.ts +10 -5
  25. package/dist/components/card/CCardImage.d.ts +21 -8
  26. package/dist/components/card/CCardImageOverlay.d.ts +1 -1
  27. package/dist/components/card/CCardLink.d.ts +10 -5
  28. package/dist/components/card/CCardSubtitle.d.ts +10 -5
  29. package/dist/components/card/CCardText.d.ts +10 -5
  30. package/dist/components/card/CCardTitle.d.ts +10 -5
  31. package/dist/components/carousel/CCarousel.d.ts +58 -19
  32. package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
  33. package/dist/components/carousel/CCarouselItem.d.ts +25 -9
  34. package/dist/components/close-button/CCloseButton.d.ts +16 -7
  35. package/dist/components/collapse/CCollapse.d.ts +16 -7
  36. package/dist/components/dropdown/CDropdown.d.ts +82 -22
  37. package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
  38. package/dist/components/dropdown/CDropdownHeader.d.ts +10 -5
  39. package/dist/components/dropdown/CDropdownItem.d.ts +32 -12
  40. package/dist/components/dropdown/CDropdownMenu.d.ts +12 -5
  41. package/dist/components/dropdown/CDropdownToggle.d.ts +78 -22
  42. package/dist/components/element-cover/CElementCover.d.ts +22 -7
  43. package/dist/components/footer/CFooter.d.ts +13 -5
  44. package/dist/components/form/CForm.d.ts +9 -5
  45. package/dist/components/form/CFormCheck.d.ts +66 -23
  46. package/dist/components/form/CFormControl.d.ts +61 -20
  47. package/dist/components/form/CFormFeedback.d.ts +22 -11
  48. package/dist/components/form/CFormFloating.d.ts +1 -1
  49. package/dist/components/form/CFormInput.d.ts +66 -20
  50. package/dist/components/form/CFormLabel.d.ts +10 -5
  51. package/dist/components/form/CFormRange.d.ts +59 -18
  52. package/dist/components/form/CFormSelect.d.ts +66 -18
  53. package/dist/components/form/CFormSwitch.d.ts +61 -18
  54. package/dist/components/form/CFormText.d.ts +10 -5
  55. package/dist/components/form/CFormTextarea.d.ts +45 -16
  56. package/dist/components/form/CInputGroup.d.ts +13 -5
  57. package/dist/components/form/CInputGroupText.d.ts +10 -5
  58. package/dist/components/grid/CCol.d.ts +62 -15
  59. package/dist/components/grid/CContainer.d.ts +44 -15
  60. package/dist/components/grid/CRow.d.ts +57 -15
  61. package/dist/components/header/CHeader.d.ts +24 -7
  62. package/dist/components/header/CHeaderBrand.d.ts +10 -5
  63. package/dist/components/header/CHeaderDivider.d.ts +1 -1
  64. package/dist/components/header/CHeaderNav.d.ts +10 -5
  65. package/dist/components/header/CHeaderText.d.ts +1 -1
  66. package/dist/components/header/CHeaderToggler.d.ts +1 -1
  67. package/dist/components/image/CImage.d.ts +34 -12
  68. package/dist/components/link/CLink.d.ts +32 -12
  69. package/dist/components/list-group/CListGroup.d.ts +28 -10
  70. package/dist/components/list-group/CListGroupItem.d.ts +33 -12
  71. package/dist/components/modal/CModal.d.ts +96 -22
  72. package/dist/components/modal/CModalBody.d.ts +1 -1
  73. package/dist/components/modal/CModalFooter.d.ts +1 -1
  74. package/dist/components/modal/CModalHeader.d.ts +10 -5
  75. package/dist/components/modal/CModalTitle.d.ts +10 -5
  76. package/dist/components/multi-select/CMultiSelect.d.ts +131 -30
  77. package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +26 -11
  78. package/dist/components/multi-select/CMultiSelectOptions.d.ts +40 -11
  79. package/dist/components/multi-select/CMultiSelectSelection.d.ts +47 -13
  80. package/dist/components/nav/CNav.d.ts +32 -10
  81. package/dist/components/nav/CNavGroup.d.ts +10 -7
  82. package/dist/components/nav/CNavGroupItems.d.ts +1 -1
  83. package/dist/components/nav/CNavLink.d.ts +32 -12
  84. package/dist/components/nav/CNavTitle.d.ts +1 -1
  85. package/dist/components/navbar/CNavbar.d.ts +63 -16
  86. package/dist/components/navbar/CNavbarBrand.d.ts +19 -8
  87. package/dist/components/navbar/CNavbarNav.d.ts +10 -5
  88. package/dist/components/navbar/CNavbarText.d.ts +1 -1
  89. package/dist/components/navbar/CNavbarToggler.d.ts +1 -1
  90. package/dist/components/offcanvas/COffcanvas.d.ts +44 -14
  91. package/dist/components/offcanvas/COffcanvasBody.d.ts +1 -1
  92. package/dist/components/offcanvas/COffcanvasHeader.d.ts +1 -1
  93. package/dist/components/offcanvas/COffcanvasTitle.d.ts +10 -5
  94. package/dist/components/pagination/CPagination.d.ts +24 -7
  95. package/dist/components/pagination/CPaginationItem.d.ts +32 -12
  96. package/dist/components/pagination/CSmartPagination.d.ts +120 -28
  97. package/dist/components/placeholder/CPlaceholder.d.ts +89 -24
  98. package/dist/components/popover/CPopover.d.ts +50 -16
  99. package/dist/components/progress/CProgressBar.d.ts +37 -12
  100. package/dist/components/sidebar/CSidebar.d.ts +59 -20
  101. package/dist/components/sidebar/CSidebarBrand.d.ts +1 -1
  102. package/dist/components/sidebar/CSidebarFooter.d.ts +1 -1
  103. package/dist/components/sidebar/CSidebarHeader.d.ts +1 -1
  104. package/dist/components/sidebar/CSidebarNav.d.ts +1 -1
  105. package/dist/components/sidebar/CSidebarToggler.d.ts +1 -1
  106. package/dist/components/smart-table/CSmartTable.d.ts +280 -68
  107. package/dist/components/smart-table/CSmartTableBody.d.ts +31 -25
  108. package/dist/components/smart-table/CSmartTableCleaner.d.ts +7 -5
  109. package/dist/components/smart-table/CSmartTableFilter.d.ts +17 -9
  110. package/dist/components/smart-table/CSmartTableHead.d.ts +43 -24
  111. package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +17 -10
  112. package/dist/components/spinner/CSpinner.d.ts +51 -14
  113. package/dist/components/table/CTable.d.ts +88 -24
  114. package/dist/components/table/CTableBody.d.ts +11 -5
  115. package/dist/components/table/CTableCaption.d.ts +2 -4
  116. package/dist/components/table/CTableDataCell.d.ts +29 -10
  117. package/dist/components/table/CTableFoot.d.ts +11 -5
  118. package/dist/components/table/CTableHead.d.ts +11 -5
  119. package/dist/components/table/CTableHeaderCell.d.ts +11 -5
  120. package/dist/components/table/CTableRow.d.ts +29 -10
  121. package/dist/components/tabs/CTabContent.d.ts +1 -1
  122. package/dist/components/tabs/CTabPane.d.ts +10 -5
  123. package/dist/components/toast/CToast.d.ts +59 -18
  124. package/dist/components/toast/CToastBody.d.ts +1 -1
  125. package/dist/components/toast/CToastHeader.d.ts +9 -5
  126. package/dist/components/toast/CToaster.d.ts +13 -5
  127. package/dist/components/tooltip/CTooltip.d.ts +42 -14
  128. package/dist/components/widgets/CWidgetStatsA.d.ts +23 -10
  129. package/dist/components/widgets/CWidgetStatsB.d.ts +45 -17
  130. package/dist/components/widgets/CWidgetStatsC.d.ts +37 -15
  131. package/dist/components/widgets/CWidgetStatsD.d.ts +19 -8
  132. package/dist/components/widgets/CWidgetStatsE.d.ts +18 -8
  133. package/dist/components/widgets/CWidgetStatsF.d.ts +42 -14
  134. package/dist/index.es.js +118 -71
  135. package/dist/index.es.js.map +1 -1
  136. package/dist/index.js +117 -70
  137. package/dist/index.js.map +1 -1
  138. package/package.json +7 -7
  139. package/src/components/form/CFormSelect.ts +19 -6
  140. package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +8 -2
  141. package/src/components/form/__tests__/__snapshots__/CFormSelect.spec.ts.snap +1 -1
  142. package/src/components/modal/CModal.ts +68 -40
  143. package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +1 -2
  144. package/src/components/offcanvas/COffcanvas.ts +11 -4
  145. package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -8
  146. package/src/components/smart-table/CSmartTable.ts +25 -20
  147. package/src/components/smart-table/CSmartTableBody.ts +0 -5
  148. package/src/components/smart-table/CSmartTableHead.ts +14 -5
@@ -9,11 +9,16 @@ declare const CHeaderNav: import("vue").DefineComponent<{
9
9
  };
10
10
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
11
  [key: string]: any;
12
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
- component?: unknown;
14
- } & {
15
- component: string;
16
- } & {}>, {
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ /**
14
+ * Component used for the root node. Either a string to use a HTML element or a component.
15
+ */
16
+ component: {
17
+ type: StringConstructor;
18
+ required: false;
19
+ default: string;
20
+ };
21
+ }>>, {
17
22
  component: string;
18
23
  }>;
19
24
  export { CHeaderNav };
@@ -1,4 +1,4 @@
1
1
  declare const CHeaderText: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
4
  export { CHeaderText };
@@ -1,4 +1,4 @@
1
1
  declare const CHeaderToggler: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
4
  export { CHeaderToggler };
@@ -33,18 +33,40 @@ declare const CImage: import("vue").DefineComponent<{
33
33
  };
34
34
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
35
  [key: string]: any;
36
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
37
- align?: unknown;
38
- fluid?: unknown;
39
- rounded?: unknown;
40
- thumbnail?: unknown;
41
- } & {
42
- rounded: boolean;
43
- fluid: boolean;
44
- thumbnail: boolean;
45
- } & {
46
- align?: string | undefined;
47
- }>, {
36
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ /**
38
+ * Set the horizontal aligment.
39
+ *
40
+ * @values 'start', 'center', 'end'
41
+ */
42
+ align: {
43
+ type: StringConstructor;
44
+ default: undefined;
45
+ required: false;
46
+ validator: (value: string) => boolean;
47
+ };
48
+ /**
49
+ * Make image responsive.
50
+ */
51
+ fluid: {
52
+ type: BooleanConstructor;
53
+ required: false;
54
+ };
55
+ /**
56
+ * Make image rounded.
57
+ */
58
+ rounded: {
59
+ type: BooleanConstructor;
60
+ required: false;
61
+ };
62
+ /**
63
+ * Give an image a rounded 1px border appearance.
64
+ */
65
+ thumbnail: {
66
+ type: BooleanConstructor;
67
+ required: false;
68
+ };
69
+ }>>, {
48
70
  rounded: boolean;
49
71
  fluid: boolean;
50
72
  align: string;
@@ -31,18 +31,38 @@ declare const CLink: import("vue").DefineComponent<{
31
31
  };
32
32
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
33
  [key: string]: any;
34
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
35
- active?: unknown;
36
- component?: unknown;
37
- disabled?: unknown;
38
- href?: unknown;
39
- } & {
40
- disabled: boolean;
41
- component: string;
42
- active: boolean;
43
- } & {
44
- href?: string | undefined;
45
- }> & {
34
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ /**
36
+ * Toggle the active state for the component.
37
+ */
38
+ active: {
39
+ type: BooleanConstructor;
40
+ required: false;
41
+ };
42
+ /**
43
+ * Component used for the root node. Either a string to use a HTML element or a component.
44
+ */
45
+ component: {
46
+ type: StringConstructor;
47
+ required: false;
48
+ default: string;
49
+ };
50
+ /**
51
+ * Toggle the disabled state for the component.
52
+ */
53
+ disabled: {
54
+ type: BooleanConstructor;
55
+ required: false;
56
+ };
57
+ /**
58
+ * The href attribute specifies the URL of the page the link goes to.
59
+ */
60
+ href: {
61
+ type: StringConstructor;
62
+ default: undefined;
63
+ required: false;
64
+ };
65
+ }>> & {
46
66
  onClick?: ((...args: any[]) => any) | undefined;
47
67
  }, {
48
68
  disabled: boolean;
@@ -27,16 +27,34 @@ declare const CListGroup: import("vue").DefineComponent<{
27
27
  };
28
28
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
29
  [key: string]: any;
30
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
31
- component?: unknown;
32
- flush?: unknown;
33
- layout?: unknown;
34
- } & {
35
- flush: boolean;
36
- component: string;
37
- } & {
38
- layout?: string | undefined;
39
- }>, {
30
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
+ /**
32
+ * Component used for the root node. Either a string to use a HTML element or a component.
33
+ */
34
+ component: {
35
+ type: StringConstructor;
36
+ required: false;
37
+ default: string;
38
+ };
39
+ /**
40
+ * Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`)
41
+ */
42
+ flush: {
43
+ type: BooleanConstructor;
44
+ required: false;
45
+ };
46
+ /**
47
+ * Specify a layout type.
48
+ *
49
+ * @values 'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl',
50
+ */
51
+ layout: {
52
+ type: StringConstructor;
53
+ default: undefined;
54
+ required: false;
55
+ validator: (value: string) => boolean;
56
+ };
57
+ }>>, {
40
58
  flush: boolean;
41
59
  component: string;
42
60
  layout: string;
@@ -32,18 +32,39 @@ declare const CListGroupItem: import("vue").DefineComponent<{
32
32
  };
33
33
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
34
  [key: string]: any;
35
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
36
- active?: unknown;
37
- color?: unknown;
38
- disabled?: unknown;
39
- component?: unknown;
40
- } & {
41
- disabled: boolean;
42
- component: string;
43
- active: boolean;
44
- } & {
45
- color?: string | undefined;
46
- }>, {
35
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ /**
37
+ * Toggle the active state for the component.
38
+ */
39
+ active: {
40
+ type: BooleanConstructor;
41
+ required: false;
42
+ };
43
+ /**
44
+ * Sets the color context of the component to one of CoreUI’s themed colors.
45
+ *
46
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
47
+ */
48
+ color: {
49
+ type: StringConstructor;
50
+ validator: (value: string) => boolean;
51
+ };
52
+ /**
53
+ * Toggle the disabled state for the component.
54
+ */
55
+ disabled: {
56
+ type: BooleanConstructor;
57
+ required: false;
58
+ };
59
+ /**
60
+ * Component used for the root node. Either a string to use a HTML element or a component.
61
+ */
62
+ component: {
63
+ type: StringConstructor;
64
+ required: false;
65
+ default: string;
66
+ };
67
+ }>>, {
47
68
  disabled: boolean;
48
69
  component: string;
49
70
  active: boolean;
@@ -73,34 +73,107 @@ declare const CModal: import("vue").DefineComponent<{
73
73
  default: boolean;
74
74
  required: false;
75
75
  };
76
+ /**
77
+ * By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.
78
+ */
79
+ unmountOnClose: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ required: false;
83
+ };
76
84
  /**
77
85
  * Toggle the visibility of alert component.
78
86
  */
79
87
  visible: BooleanConstructor;
80
88
  }, () => (false | "" | import("vue").VNode<import("vue").RendererNode, RendererElement, {
81
89
  [key: string]: any;
82
- }>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "close" | "close-prevented")[], "show" | "close" | "close-prevented", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
83
- alignment?: unknown;
84
- backdrop?: unknown;
85
- contentClassName?: unknown;
86
- fullscreen?: unknown;
87
- keyboard?: unknown;
88
- scrollable?: unknown;
89
- size?: unknown;
90
- transition?: unknown;
91
- visible?: unknown;
92
- } & {
93
- transition: boolean;
94
- visible: boolean;
95
- alignment: string;
96
- backdrop: string | boolean;
97
- keyboard: boolean;
98
- scrollable: boolean;
99
- } & {
100
- size?: string | undefined;
101
- contentClassName?: string | undefined;
102
- fullscreen?: string | boolean | undefined;
103
- }> & {
90
+ }>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "close" | "close-prevented")[], "show" | "close" | "close-prevented", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
91
+ /**
92
+ * Align the modal in the center or top of the screen.
93
+ *
94
+ * @values 'top', 'center'
95
+ */
96
+ alignment: {
97
+ default: string;
98
+ required: false;
99
+ validator: (value: string) => boolean;
100
+ };
101
+ /**
102
+ * Apply a backdrop on body while offcanvas is open.
103
+ *
104
+ * @values 'static'
105
+ */
106
+ backdrop: {
107
+ type: (StringConstructor | BooleanConstructor)[];
108
+ default: boolean;
109
+ require: boolean;
110
+ };
111
+ /**
112
+ * A string of all className you want applied to the modal content component.
113
+ */
114
+ contentClassName: {
115
+ type: StringConstructor;
116
+ default: undefined;
117
+ required: false;
118
+ };
119
+ /**
120
+ * Set modal to covers the entire user viewport
121
+ *
122
+ * @values boolean, 'sm', 'md', 'lg', 'xl', 'xxl'
123
+ */
124
+ fullscreen: {
125
+ type: (StringConstructor | BooleanConstructor)[];
126
+ default: undefined;
127
+ required: false;
128
+ validator: (value: boolean | string) => boolean;
129
+ };
130
+ /**
131
+ * Closes the modal when escape key is pressed.
132
+ */
133
+ keyboard: {
134
+ type: BooleanConstructor;
135
+ default: boolean;
136
+ required: false;
137
+ };
138
+ /**
139
+ * Create a scrollable modal that allows scrolling the modal body.
140
+ */
141
+ scrollable: {
142
+ type: BooleanConstructor;
143
+ required: false;
144
+ };
145
+ /**
146
+ * Size the component small, large, or extra large.
147
+ *
148
+ * @values 'sm', 'lg', 'xl'
149
+ */
150
+ size: {
151
+ type: StringConstructor;
152
+ default: undefined;
153
+ required: false;
154
+ validator: (value: string) => boolean;
155
+ };
156
+ /**
157
+ * Remove animation to create modal that simply appear rather than fade in to view.
158
+ */
159
+ transition: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ required: false;
163
+ };
164
+ /**
165
+ * By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.
166
+ */
167
+ unmountOnClose: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ required: false;
171
+ };
172
+ /**
173
+ * Toggle the visibility of alert component.
174
+ */
175
+ visible: BooleanConstructor;
176
+ }>> & {
104
177
  onShow?: ((...args: any[]) => any) | undefined;
105
178
  onClose?: ((...args: any[]) => any) | undefined;
106
179
  "onClose-prevented"?: ((...args: any[]) => any) | undefined;
@@ -114,5 +187,6 @@ declare const CModal: import("vue").DefineComponent<{
114
187
  fullscreen: string | boolean;
115
188
  keyboard: boolean;
116
189
  scrollable: boolean;
190
+ unmountOnClose: boolean;
117
191
  }>;
118
192
  export { CModal };
@@ -1,4 +1,4 @@
1
1
  declare const CModalBody: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
4
  export { CModalBody };
@@ -1,4 +1,4 @@
1
1
  declare const CModalFooter: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
4
  export { CModalFooter };
@@ -9,11 +9,16 @@ declare const CModalHeader: import("vue").DefineComponent<{
9
9
  };
10
10
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
11
  [key: string]: any;
12
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
- closeButton?: unknown;
14
- } & {
15
- closeButton: boolean;
16
- } & {}>, {
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ /**
14
+ * Add a close button component to the header.
15
+ */
16
+ closeButton: {
17
+ type: BooleanConstructor;
18
+ required: false;
19
+ default: boolean;
20
+ };
21
+ }>>, {
17
22
  closeButton: boolean;
18
23
  }>;
19
24
  export { CModalHeader };
@@ -9,11 +9,16 @@ declare const CModalTitle: import("vue").DefineComponent<{
9
9
  };
10
10
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
11
  [key: string]: any;
12
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
- component?: unknown;
14
- } & {
15
- component: string;
16
- } & {}>, {
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ /**
14
+ * Component used for the root node. Either a string to use a HTML element or a component.
15
+ */
16
+ component: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ required: false;
20
+ };
21
+ }>>, {
17
22
  component: string;
18
23
  }>;
19
24
  export { CModalTitle };
@@ -139,41 +139,142 @@ declare const CMultiSelect: import("vue").DefineComponent<{
139
139
  };
140
140
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
141
141
  [key: string]: any;
142
- }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
143
- cleaner?: unknown;
144
- multiple?: unknown;
145
- options?: unknown;
146
- optionsMaxHeight?: unknown;
147
- optionsStyle?: unknown;
148
- placeholder?: unknown;
149
- search?: unknown;
150
- searchNoResultsLabel?: unknown;
151
- selectAll?: unknown;
152
- selectAllLabel?: unknown;
153
- selectionType?: unknown;
154
- selectionTypeCounterText?: unknown;
155
- visible?: unknown;
156
- } & {
157
- search: boolean;
158
- visible: boolean;
159
- options: Option[];
160
- multiple: boolean;
161
- optionsMaxHeight: string | number;
162
- optionsStyle: string;
163
- searchNoResultsLabel: string;
164
- selectionType: string;
165
- selectionTypeCounterText: string;
166
- cleaner: boolean;
167
- placeholder: string;
168
- selectAll: boolean;
169
- selectAllLabel: string;
170
- } & {}> & {
142
+ }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
143
+ /**
144
+ * Enables selection cleaner element.
145
+ *
146
+ * @default true
147
+ */
148
+ cleaner: {
149
+ type: BooleanConstructor;
150
+ required: false;
151
+ default: boolean;
152
+ };
153
+ /**
154
+ * It specifies that multiple options can be selected at once.
155
+ *
156
+ * @default true
157
+ */
158
+ multiple: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ required: false;
162
+ };
163
+ /**
164
+ * List of option elements.
165
+ */
166
+ options: {
167
+ type: PropType<Option[]>;
168
+ default: () => never[];
169
+ required: false;
170
+ };
171
+ /**
172
+ * Sets maxHeight of options list.
173
+ *
174
+ * @default 'auto'
175
+ */
176
+ optionsMaxHeight: {
177
+ type: (NumberConstructor | StringConstructor)[];
178
+ default: string;
179
+ required: false;
180
+ };
181
+ /**
182
+ * Sets option style.
183
+ *
184
+ * @values 'checkbox', 'text'
185
+ * @default 'checkbox'
186
+ */
187
+ optionsStyle: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ required: false;
191
+ validator: (value: string) => boolean;
192
+ };
193
+ /**
194
+ * Specifies a short hint that is visible in the search input.
195
+ *
196
+ * @default 'Select...''
197
+ */
198
+ placeholder: {
199
+ type: StringConstructor;
200
+ default: string;
201
+ required: false;
202
+ };
203
+ /**
204
+ * Enables search input element.
205
+ */
206
+ search: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ required: false;
210
+ };
211
+ /**
212
+ * Sets the label for no results when filtering.
213
+ */
214
+ searchNoResultsLabel: {
215
+ type: StringConstructor;
216
+ default: string;
217
+ required: false;
218
+ };
219
+ /**
220
+ * Enables select all button.
221
+ *
222
+ * @default true
223
+ */
224
+ selectAll: {
225
+ type: BooleanConstructor;
226
+ required: false;
227
+ default: boolean;
228
+ };
229
+ /**
230
+ * Sets the select all button label.
231
+ *
232
+ * @default 'Select all options'
233
+ */
234
+ selectAllLabel: {
235
+ type: StringConstructor;
236
+ required: false;
237
+ default: string;
238
+ };
239
+ /**
240
+ * Sets the selection style.
241
+ *
242
+ * @values 'counter', 'tags', 'text'
243
+ * @default 'tags'
244
+ */
245
+ selectionType: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ required: false;
249
+ validator: (value: string) => boolean;
250
+ };
251
+ /**
252
+ * Sets the counter selection label.
253
+ *
254
+ * @default 'item(s) selected'
255
+ */
256
+ selectionTypeCounterText: {
257
+ type: StringConstructor;
258
+ default: string;
259
+ required: false;
260
+ };
261
+ /**
262
+ * Toggle the visibility of multi select dropdown.
263
+ *
264
+ * @default false
265
+ */
266
+ visible: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ required: false;
270
+ };
271
+ }>> & {
171
272
  onChange?: ((...args: any[]) => any) | undefined;
172
273
  }, {
173
274
  search: boolean;
174
275
  visible: boolean;
175
- options: Option[];
176
276
  multiple: boolean;
277
+ options: Option[];
177
278
  optionsMaxHeight: string | number;
178
279
  optionsStyle: string;
179
280
  searchNoResultsLabel: string;
@@ -26,20 +26,35 @@ declare const CMultiSelectNativeSelect: import("vue").DefineComponent<{
26
26
  };
27
27
  }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
28
  [key: string]: any;
29
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
30
- multiple?: unknown;
31
- options?: unknown;
32
- value?: unknown;
33
- } & {
34
- options: Option[];
35
- multiple: boolean;
36
- } & {
37
- value?: string | number | unknown[] | undefined;
38
- }> & {
29
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ /**
31
+ * It specifies that multiple options can be selected at once.
32
+ *
33
+ * @default true
34
+ */
35
+ multiple: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ required: false;
39
+ };
40
+ /**
41
+ * List of option elements.
42
+ */
43
+ options: {
44
+ type: PropType<Option[]>;
45
+ default: () => never[];
46
+ required: false;
47
+ };
48
+ value: {
49
+ type: (NumberConstructor | StringConstructor | ArrayConstructor)[];
50
+ default: undefined;
51
+ require: boolean;
52
+ };
53
+ }>> & {
39
54
  onChange?: ((...args: any[]) => any) | undefined;
40
55
  }, {
41
56
  value: string | number | unknown[];
42
- options: Option[];
43
57
  multiple: boolean;
58
+ options: Option[];
44
59
  }>;
45
60
  export { CMultiSelectNativeSelect };