primevue 3.23.0 → 3.24.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 (266) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +12 -12
  3. package/accordion/Accordion.d.ts +53 -21
  4. package/accordiontab/AccordionTab.d.ts +33 -12
  5. package/autocomplete/AutoComplete.d.ts +111 -84
  6. package/avatar/Avatar.d.ts +38 -25
  7. package/avatar/Avatar.vue +1 -1
  8. package/avatar/avatar.cjs.js +2 -1
  9. package/avatar/avatar.cjs.min.js +1 -1
  10. package/avatar/avatar.esm.js +2 -1
  11. package/avatar/avatar.esm.min.js +1 -1
  12. package/avatar/avatar.js +2 -1
  13. package/avatar/avatar.min.js +1 -1
  14. package/avatargroup/AvatarGroup.d.ts +30 -14
  15. package/badge/Badge.d.ts +34 -20
  16. package/badge/Badge.vue +16 -5
  17. package/badge/badge.cjs.js +15 -5
  18. package/badge/badge.cjs.min.js +1 -1
  19. package/badge/badge.esm.js +15 -5
  20. package/badge/badge.esm.min.js +1 -1
  21. package/badge/badge.js +16 -7
  22. package/badge/badge.min.js +1 -1
  23. package/badgedirective/BadgeDirective.d.ts +60 -1
  24. package/blockui/BlockUI.d.ts +36 -16
  25. package/breadcrumb/Breadcrumb.d.ts +37 -20
  26. package/button/Button.d.ts +74 -17
  27. package/button/Button.vue +51 -8
  28. package/button/button.cjs.js +51 -8
  29. package/button/button.cjs.min.js +1 -1
  30. package/button/button.esm.js +51 -8
  31. package/button/button.esm.min.js +1 -1
  32. package/button/button.js +51 -8
  33. package/button/button.min.js +1 -1
  34. package/calendar/Calendar.d.ts +112 -77
  35. package/card/Card.d.ts +35 -15
  36. package/carousel/Carousel.d.ts +47 -29
  37. package/cascadeselect/CascadeSelect.d.ts +70 -59
  38. package/chart/Chart.d.ts +41 -23
  39. package/checkbox/Checkbox.d.ts +39 -15
  40. package/checkbox/Checkbox.vue +1 -1
  41. package/checkbox/checkbox.cjs.js +1 -1
  42. package/checkbox/checkbox.cjs.min.js +1 -1
  43. package/checkbox/checkbox.esm.js +1 -1
  44. package/checkbox/checkbox.esm.min.js +1 -1
  45. package/checkbox/checkbox.js +1 -1
  46. package/checkbox/checkbox.min.js +1 -1
  47. package/chip/Chip.d.ts +35 -14
  48. package/chips/Chips.d.ts +45 -20
  49. package/colorpicker/ColorPicker.d.ts +46 -28
  50. package/column/Column.d.ts +81 -65
  51. package/columngroup/ColumnGroup.d.ts +29 -13
  52. package/config/config.cjs.js +20 -1
  53. package/config/config.cjs.min.js +1 -1
  54. package/config/config.esm.js +20 -1
  55. package/config/config.esm.min.js +1 -1
  56. package/config/config.js +20 -1
  57. package/config/config.min.js +1 -1
  58. package/confirmationoptions/ConfirmationOptions.d.ts +15 -6
  59. package/confirmationservice/ConfirmationService.d.ts +11 -0
  60. package/confirmdialog/ConfirmDialog.d.ts +35 -17
  61. package/confirmpopup/ConfirmPopup.d.ts +32 -17
  62. package/contextmenu/ContextMenu.d.ts +51 -35
  63. package/core/core.js +339 -104
  64. package/core/core.min.js +6 -6
  65. package/datatable/DataTable.d.ts +248 -205
  66. package/datatable/DataTable.vue +72 -111
  67. package/datatable/TableBody.vue +3 -17
  68. package/datatable/datatable.cjs.js +63 -57
  69. package/datatable/datatable.cjs.min.js +1 -1
  70. package/datatable/datatable.esm.js +63 -57
  71. package/datatable/datatable.esm.min.js +1 -1
  72. package/datatable/datatable.js +63 -57
  73. package/datatable/datatable.min.js +1 -1
  74. package/dataview/DataView.d.ts +65 -47
  75. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +33 -13
  76. package/deferredcontent/DeferredContent.d.ts +30 -13
  77. package/dialog/Dialog.d.ts +67 -46
  78. package/dialogservice/DialogService.d.ts +13 -2
  79. package/divider/Divider.d.ts +35 -30
  80. package/dock/Dock.d.ts +49 -36
  81. package/dropdown/Dropdown.d.ts +90 -82
  82. package/dropdown/Dropdown.vue +1 -1
  83. package/dropdown/dropdown.cjs.js +1 -1
  84. package/dropdown/dropdown.cjs.min.js +1 -1
  85. package/dropdown/dropdown.esm.js +1 -1
  86. package/dropdown/dropdown.esm.min.js +1 -1
  87. package/dropdown/dropdown.js +1 -1
  88. package/dropdown/dropdown.min.js +1 -1
  89. package/dynamicdialog/DynamicDialog.d.ts +30 -10
  90. package/dynamicdialog/DynamicDialog.vue +2 -2
  91. package/dynamicdialog/dynamicdialog.cjs.js +3 -3
  92. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  93. package/dynamicdialog/dynamicdialog.esm.js +2 -2
  94. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  95. package/dynamicdialog/dynamicdialog.js +3 -3
  96. package/dynamicdialog/dynamicdialog.min.js +1 -1
  97. package/dynamicdialogoptions/DynamicDialogOptions.d.ts +28 -8
  98. package/editor/Editor.d.ts +48 -17
  99. package/fieldset/Fieldset.d.ts +43 -16
  100. package/fileupload/FileUpload.d.ts +101 -47
  101. package/focustrap/FocusTrap.d.ts +42 -3
  102. package/fullcalendar/FullCalendar.d.ts +1 -1
  103. package/galleria/Galleria.d.ts +64 -40
  104. package/image/Image.d.ts +33 -14
  105. package/inlinemessage/InlineMessage.d.ts +31 -17
  106. package/inplace/Inplace.d.ts +41 -18
  107. package/inputmask/InputMask.d.ts +41 -17
  108. package/inputnumber/InputNumber.d.ts +60 -41
  109. package/inputswitch/InputSwitch.d.ts +35 -15
  110. package/inputswitch/InputSwitch.vue +1 -0
  111. package/inputswitch/inputswitch.cjs.js +1 -1
  112. package/inputswitch/inputswitch.cjs.min.js +1 -1
  113. package/inputswitch/inputswitch.esm.js +1 -1
  114. package/inputswitch/inputswitch.esm.min.js +1 -1
  115. package/inputswitch/inputswitch.js +1 -1
  116. package/inputswitch/inputswitch.min.js +1 -1
  117. package/inputtext/InputText.d.ts +32 -12
  118. package/knob/Knob.d.ts +47 -21
  119. package/listbox/Listbox.d.ts +81 -60
  120. package/megamenu/MegaMenu.d.ts +42 -27
  121. package/megamenu/MegaMenu.vue +17 -0
  122. package/megamenu/megamenu.cjs.js +1 -1
  123. package/megamenu/megamenu.cjs.min.js +1 -1
  124. package/megamenu/megamenu.esm.js +1 -1
  125. package/megamenu/megamenu.esm.min.js +1 -1
  126. package/megamenu/megamenu.js +1 -1
  127. package/megamenu/megamenu.min.js +1 -1
  128. package/menu/Menu.d.ts +51 -30
  129. package/menubar/Menubar.d.ts +36 -19
  130. package/menuitem/MenuItem.d.ts +22 -10
  131. package/message/Message.d.ts +40 -21
  132. package/multiselect/MultiSelect.d.ts +111 -90
  133. package/orderlist/OrderList.d.ts +51 -23
  134. package/organizationchart/OrganizationChart.d.ts +43 -26
  135. package/overlaypanel/OverlayPanel.d.ts +46 -26
  136. package/package.json +2 -2
  137. package/paginator/Paginator.d.ts +49 -24
  138. package/panel/Panel.d.ts +39 -14
  139. package/panelmenu/PanelMenu.d.ts +49 -21
  140. package/password/Password.d.ts +47 -28
  141. package/picklist/PickList.d.ts +74 -33
  142. package/progressbar/ProgressBar.d.ts +34 -17
  143. package/progressspinner/ProgressSpinner.d.ts +32 -13
  144. package/radiobutton/RadioButton.d.ts +32 -14
  145. package/rating/Rating.d.ts +51 -25
  146. package/resources/themes/arya-blue/theme.css +34 -11
  147. package/resources/themes/arya-green/theme.css +34 -11
  148. package/resources/themes/arya-orange/theme.css +34 -11
  149. package/resources/themes/arya-purple/theme.css +34 -11
  150. package/resources/themes/bootstrap4-dark-blue/theme.css +34 -11
  151. package/resources/themes/bootstrap4-dark-purple/theme.css +34 -11
  152. package/resources/themes/bootstrap4-light-blue/theme.css +34 -11
  153. package/resources/themes/bootstrap4-light-purple/theme.css +34 -11
  154. package/resources/themes/fluent-light/theme.css +34 -11
  155. package/resources/themes/lara-dark-blue/theme.css +34 -11
  156. package/resources/themes/lara-dark-indigo/theme.css +34 -11
  157. package/resources/themes/lara-dark-purple/theme.css +34 -11
  158. package/resources/themes/lara-dark-teal/theme.css +34 -11
  159. package/resources/themes/lara-light-blue/theme.css +34 -11
  160. package/resources/themes/lara-light-indigo/theme.css +34 -11
  161. package/resources/themes/lara-light-purple/theme.css +34 -11
  162. package/resources/themes/lara-light-teal/theme.css +34 -11
  163. package/resources/themes/luna-amber/theme.css +34 -11
  164. package/resources/themes/luna-blue/theme.css +34 -11
  165. package/resources/themes/luna-green/theme.css +34 -11
  166. package/resources/themes/luna-pink/theme.css +34 -11
  167. package/resources/themes/md-dark-deeppurple/theme.css +34 -11
  168. package/resources/themes/md-dark-indigo/theme.css +34 -11
  169. package/resources/themes/md-light-deeppurple/theme.css +34 -11
  170. package/resources/themes/md-light-indigo/theme.css +34 -11
  171. package/resources/themes/mdc-dark-deeppurple/theme.css +34 -11
  172. package/resources/themes/mdc-dark-indigo/theme.css +34 -11
  173. package/resources/themes/mdc-light-deeppurple/theme.css +34 -11
  174. package/resources/themes/mdc-light-indigo/theme.css +34 -11
  175. package/resources/themes/mira/theme.css +34 -11
  176. package/resources/themes/nano/theme.css +34 -11
  177. package/resources/themes/nova/theme.css +34 -11
  178. package/resources/themes/nova-accent/theme.css +34 -11
  179. package/resources/themes/nova-alt/theme.css +34 -11
  180. package/resources/themes/nova-vue/theme.css +34 -11
  181. package/resources/themes/rhea/theme.css +34 -11
  182. package/resources/themes/saga-blue/theme.css +34 -11
  183. package/resources/themes/saga-green/theme.css +34 -11
  184. package/resources/themes/saga-orange/theme.css +34 -11
  185. package/resources/themes/saga-purple/theme.css +34 -11
  186. package/resources/themes/soho-dark/theme.css +34 -11
  187. package/resources/themes/soho-light/theme.css +34 -11
  188. package/resources/themes/tailwind-light/theme.css +34 -11
  189. package/resources/themes/vela-blue/theme.css +34 -11
  190. package/resources/themes/vela-green/theme.css +34 -11
  191. package/resources/themes/vela-orange/theme.css +34 -11
  192. package/resources/themes/vela-purple/theme.css +34 -11
  193. package/resources/themes/viva-dark/theme.css +34 -11
  194. package/resources/themes/viva-light/theme.css +34 -11
  195. package/ripple/Ripple.d.ts +24 -1
  196. package/row/Row.d.ts +28 -10
  197. package/scrollpanel/ScrollPanel.d.ts +29 -11
  198. package/scrolltop/ScrollTop.d.ts +35 -18
  199. package/selectbutton/SelectButton.d.ts +47 -27
  200. package/sidebar/Sidebar.d.ts +46 -27
  201. package/skeleton/Skeleton.d.ts +36 -22
  202. package/slider/Slider.d.ts +46 -23
  203. package/speeddial/SpeedDial.d.ts +64 -51
  204. package/splitbutton/SplitButton.d.ts +73 -24
  205. package/splitbutton/SplitButton.vue +41 -1
  206. package/splitbutton/splitbutton.cjs.js +43 -3
  207. package/splitbutton/splitbutton.cjs.min.js +1 -1
  208. package/splitbutton/splitbutton.esm.js +43 -3
  209. package/splitbutton/splitbutton.esm.min.js +1 -1
  210. package/splitbutton/splitbutton.js +43 -3
  211. package/splitbutton/splitbutton.min.js +1 -1
  212. package/splitter/Splitter.d.ts +49 -30
  213. package/splitterpanel/SplitterPanel.d.ts +28 -10
  214. package/steps/Steps.d.ts +36 -15
  215. package/styleclass/StyleClass.d.ts +72 -1
  216. package/tabmenu/TabMenu.d.ts +41 -16
  217. package/tabmenu/TabMenu.vue +1 -1
  218. package/tabmenu/tabmenu.cjs.js +1 -0
  219. package/tabmenu/tabmenu.cjs.min.js +1 -1
  220. package/tabmenu/tabmenu.esm.js +1 -0
  221. package/tabmenu/tabmenu.esm.min.js +1 -1
  222. package/tabmenu/tabmenu.js +1 -0
  223. package/tabmenu/tabmenu.min.js +1 -1
  224. package/tabpanel/TabPanel.d.ts +29 -11
  225. package/tabview/TabView.d.ts +47 -19
  226. package/tag/Tag.d.ts +33 -15
  227. package/terminal/Terminal.d.ts +30 -14
  228. package/terminalservice/TerminalService.d.ts +24 -5
  229. package/textarea/Textarea.d.ts +33 -11
  230. package/tieredmenu/TieredMenu.d.ts +45 -31
  231. package/timeline/Timeline.d.ts +41 -32
  232. package/toast/Toast.d.ts +63 -35
  233. package/toast/Toast.vue +4 -2
  234. package/toast/ToastMessage.vue +4 -4
  235. package/toast/toast.cjs.js +8 -6
  236. package/toast/toast.cjs.min.js +1 -1
  237. package/toast/toast.esm.js +8 -6
  238. package/toast/toast.esm.min.js +1 -1
  239. package/toast/toast.js +8 -6
  240. package/toast/toast.min.js +1 -1
  241. package/toastservice/ToastService.d.ts +16 -3
  242. package/togglebutton/ToggleButton.d.ts +42 -22
  243. package/toolbar/Toolbar.d.ts +34 -14
  244. package/tooltip/Tooltip.d.ts +99 -1
  245. package/tree/Tree.d.ts +55 -36
  246. package/treeselect/TreeSelect.d.ts +63 -55
  247. package/treetable/TreeTable.d.ts +121 -107
  248. package/tristatecheckbox/TriStateCheckbox.d.ts +35 -12
  249. package/ts-helpers.d.ts +2 -2
  250. package/utils/utils.cjs.js +18 -15
  251. package/utils/utils.cjs.min.js +1 -1
  252. package/utils/utils.esm.js +18 -15
  253. package/utils/utils.esm.min.js +1 -1
  254. package/utils/utils.js +18 -15
  255. package/utils/utils.min.js +1 -1
  256. package/vetur-attributes.json +62 -2
  257. package/vetur-tags.json +17 -2
  258. package/virtualscroller/VirtualScroller.d.ts +99 -43
  259. package/virtualscroller/VirtualScroller.vue +248 -72
  260. package/virtualscroller/virtualscroller.cjs.js +234 -72
  261. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  262. package/virtualscroller/virtualscroller.esm.js +234 -72
  263. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  264. package/virtualscroller/virtualscroller.js +235 -74
  265. package/virtualscroller/virtualscroller.min.js +1 -1
  266. package/web-types.json +1922 -1744
@@ -1,13 +1,19 @@
1
- import { VNode } from 'vue';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
1
+ /**
2
+ *
3
+ * TreeSelect is a form component to choose from hierarchical data.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/treeselect/)
6
+ *
7
+ * @module treeselect
8
+ *
9
+ */
10
+ import { InputHTMLAttributes, VNode } from 'vue';
3
11
  import { TreeNode } from '../tree';
12
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
13
 
5
- type TreeSelectSelectionModeType = 'single' | 'multiple' | 'checkbox' | undefined;
6
-
7
- type TreeSelectAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
8
-
9
- type TreeSelectDisplayType = 'comma' | 'chip' | undefined;
10
-
14
+ /**
15
+ * Defines valid properties in TreeSelect component.
16
+ */
11
17
  export interface TreeSelectProps {
12
18
  /**
13
19
  * Value of the component.
@@ -19,7 +25,7 @@ export interface TreeSelectProps {
19
25
  options?: TreeNode[] | undefined;
20
26
  /**
21
27
  * Height of the viewport, a scrollbar is defined if height of list exceeds this value.
22
- * Default value is '200px'.
28
+ * @defaultValue 200px
23
29
  */
24
30
  scrollHeight?: string | undefined;
25
31
  /**
@@ -28,6 +34,7 @@ export interface TreeSelectProps {
28
34
  placeholder?: string | undefined;
29
35
  /**
30
36
  * When present, it specifies that the component should be disabled.
37
+ * @defaultValue false
31
38
  */
32
39
  disabled?: boolean | undefined;
33
40
  /**
@@ -36,34 +43,31 @@ export interface TreeSelectProps {
36
43
  tabindex?: string | undefined;
37
44
  /**
38
45
  * Defines the selection mode.
39
- * @see TreeSelectSelectionModeType
40
46
  */
41
- selectionMode?: TreeSelectSelectionModeType;
47
+ selectionMode?: 'single' | 'multiple' | 'checkbox' | undefined;
42
48
  /**
43
49
  * Style class of the overlay panel.
44
50
  */
45
51
  panelClass?: any;
46
52
  /**
47
- * A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
48
- * @see TreeSelectAppendToType
49
- * Default value is 'body'.
53
+ * A valid query selector or an HTMLElement to specify where the overlay gets attached.
54
+ * @defaultValue body
50
55
  */
51
- appendTo?: TreeSelectAppendToType;
56
+ appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
52
57
  /**
53
58
  * Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
54
- * Default value is 'No results found'.
59
+ * @defaultValue No results found
55
60
  */
56
61
  emptyMessage?: string | undefined;
57
62
  /**
58
63
  * Defines how the selected items are displayed.
59
- * @see TreeSelectDisplayType
60
- * Default value is 'comma'.
64
+ * @defaultValue comma
61
65
  */
62
- display?: TreeSelectDisplayType;
66
+ display?: 'comma' | 'chip' | undefined;
63
67
  /**
64
68
  * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.
65
69
  * On touch enabled devices, metaKeySelection is turned off automatically.
66
- * Default value is true.
70
+ * @defaultValue true
67
71
  */
68
72
  metaKeySelection?: boolean | undefined;
69
73
  /**
@@ -79,9 +83,9 @@ export interface TreeSelectProps {
79
83
  */
80
84
  inputStyle?: any | undefined;
81
85
  /**
82
- *
86
+ * Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
83
87
  */
84
- inputProps?: object | undefined;
88
+ inputProps?: InputHTMLAttributes | undefined;
85
89
  /**
86
90
  * Establishes relationships between the component and label(s) where its value should be one or more element IDs.
87
91
  */
@@ -92,12 +96,15 @@ export interface TreeSelectProps {
92
96
  'aria-label'?: string | undefined;
93
97
  }
94
98
 
99
+ /**
100
+ * Defines valid slots in TreeSelect component.
101
+ */
95
102
  export interface TreeSelectSlots {
96
103
  /**
97
104
  * Custom value template.
98
105
  * @param {Object} scope - value slot's params.
99
106
  */
100
- value: (scope: {
107
+ value(scope: {
101
108
  /**
102
109
  * Selected value
103
110
  */
@@ -106,12 +113,12 @@ export interface TreeSelectSlots {
106
113
  * Placeholder
107
114
  */
108
115
  placeholder: string;
109
- }) => VNode[];
116
+ }): VNode[];
110
117
  /**
111
118
  * Custom header template.
112
119
  * @param {Object} scope - header slot's params.
113
120
  */
114
- header: (scope: {
121
+ header(scope: {
115
122
  /**
116
123
  * Selected value
117
124
  */
@@ -120,12 +127,12 @@ export interface TreeSelectSlots {
120
127
  * An array of treenodes.
121
128
  */
122
129
  options: TreeNode[];
123
- }) => VNode[];
130
+ }): VNode[];
124
131
  /**
125
132
  * Custom footer template.
126
133
  * @param {Object} scope - footer slot's params.
127
134
  */
128
- footer: (scope: {
135
+ footer(scope: {
129
136
  /**
130
137
  * Selected value
131
138
  */
@@ -134,66 +141,80 @@ export interface TreeSelectSlots {
134
141
  * An array of treenodes.
135
142
  */
136
143
  options: TreeNode[];
137
- }) => VNode[];
144
+ }): VNode[];
138
145
  /**
139
146
  * Custom empty template.
140
147
  */
141
- empty: () => VNode[];
148
+ empty(): VNode[];
142
149
  /**
143
150
  * Custom indicator template.
144
151
  */
145
- indicator: () => VNode[];
152
+ indicator(): VNode[];
146
153
  }
147
154
 
148
- export declare type TreeSelectEmits = {
155
+ /**
156
+ * Defines valid emits in TreeSelect component.
157
+ */
158
+ export interface TreeSelectEmits {
149
159
  /**
150
160
  * Emitted when the value changes.
151
161
  * @param {*} value - New value.
152
162
  */
153
- 'update:modelValue': (value: any) => void;
163
+ 'update:modelValue'(value: any): void;
154
164
  /**
155
165
  * Callback to invoke on value change.
156
166
  * @param {*} value - Selected node keys
157
167
  */
158
- change: (value: string[]) => void;
168
+ change(value: string[]): void;
159
169
  /**
160
170
  * Callback to invoke before the overlay is shown.
161
171
  */
162
- 'before-show': () => void;
172
+ 'before-show'(): void;
163
173
  /**
164
174
  * Callback to invoke before the overlay is hidden.
165
175
  */
166
- 'before-hide': () => void;
176
+ 'before-hide'(): void;
167
177
  /**
168
178
  * Callback to invoke when the overlay is shown.
169
179
  */
170
- show: () => void;
180
+ show(): void;
171
181
  /**
172
182
  * Callback to invoke when the overlay is hidden.
173
183
  */
174
- hide: () => void;
184
+ hide(): void;
175
185
  /**
176
186
  * Callback to invoke when a node is selected.
177
187
  * @param {TreeNode} node - Node instance.
178
188
  */
179
- 'node-select': (node: TreeNode) => void;
189
+ 'node-select'(node: TreeNode): void;
180
190
  /**
181
191
  * Callback to invoke when a node is unselected.
182
192
  * @param {TreeNode} node - Node instance.
183
193
  */
184
- 'node-unselect': (node: TreeNode) => void;
194
+ 'node-unselect'(node: TreeNode): void;
185
195
  /**
186
196
  * Callback to invoke when a node is expanded.
187
197
  * @param {TreeNode} node - Node instance.
188
198
  */
189
- 'node-expand': (node: TreeNode) => void;
199
+ 'node-expand'(node: TreeNode): void;
190
200
  /**
191
201
  * Callback to invoke when a node is collapsed.
192
202
  * @param {TreeNode} node - Node instance.
193
203
  */
194
- 'node-collapse': (node: TreeNode) => void;
195
- };
204
+ 'node-collapse'(node: TreeNode): void;
205
+ }
196
206
 
207
+ /**
208
+ * **PrimeVue - TreeSelect**
209
+ *
210
+ * _TreeSelect is a form component to choose from hierarchical data._
211
+ *
212
+ * [Live Demo](https://www.primevue.org/treeselect/)
213
+ * --- ---
214
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
215
+ *
216
+ * @group Component
217
+ */
197
218
  declare class TreeSelect extends ClassComponent<TreeSelectProps, TreeSelectSlots, TreeSelectEmits> {
198
219
  /**
199
220
  * Shows the overlay.
@@ -215,17 +236,4 @@ declare module '@vue/runtime-core' {
215
236
  }
216
237
  }
217
238
 
218
- /**
219
- *
220
- * TreeSelect is a form component to choose from hierarchical data.
221
- *
222
- * Helper API:
223
- *
224
- * - TreeNode
225
- *
226
- * Demos:
227
- *
228
- * - [TreeSelect](https://www.primefaces.org/primevue/treeselect)
229
- *
230
- */
231
239
  export default TreeSelect;