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.
- package/LICENSE.md +1 -1
- package/README.md +12 -12
- package/accordion/Accordion.d.ts +53 -21
- package/accordiontab/AccordionTab.d.ts +33 -12
- package/autocomplete/AutoComplete.d.ts +111 -84
- package/avatar/Avatar.d.ts +38 -25
- package/avatar/Avatar.vue +1 -1
- package/avatar/avatar.cjs.js +2 -1
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +2 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +2 -1
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +30 -14
- package/badge/Badge.d.ts +34 -20
- package/badge/Badge.vue +16 -5
- package/badge/badge.cjs.js +15 -5
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +15 -5
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +16 -7
- package/badge/badge.min.js +1 -1
- package/badgedirective/BadgeDirective.d.ts +60 -1
- package/blockui/BlockUI.d.ts +36 -16
- package/breadcrumb/Breadcrumb.d.ts +37 -20
- package/button/Button.d.ts +74 -17
- package/button/Button.vue +51 -8
- package/button/button.cjs.js +51 -8
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +51 -8
- package/button/button.esm.min.js +1 -1
- package/button/button.js +51 -8
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +112 -77
- package/card/Card.d.ts +35 -15
- package/carousel/Carousel.d.ts +47 -29
- package/cascadeselect/CascadeSelect.d.ts +70 -59
- package/chart/Chart.d.ts +41 -23
- package/checkbox/Checkbox.d.ts +39 -15
- package/checkbox/Checkbox.vue +1 -1
- package/checkbox/checkbox.cjs.js +1 -1
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +35 -14
- package/chips/Chips.d.ts +45 -20
- package/colorpicker/ColorPicker.d.ts +46 -28
- package/column/Column.d.ts +81 -65
- package/columngroup/ColumnGroup.d.ts +29 -13
- package/config/config.cjs.js +20 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +20 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +20 -1
- package/config/config.min.js +1 -1
- package/confirmationoptions/ConfirmationOptions.d.ts +15 -6
- package/confirmationservice/ConfirmationService.d.ts +11 -0
- package/confirmdialog/ConfirmDialog.d.ts +35 -17
- package/confirmpopup/ConfirmPopup.d.ts +32 -17
- package/contextmenu/ContextMenu.d.ts +51 -35
- package/core/core.js +339 -104
- package/core/core.min.js +6 -6
- package/datatable/DataTable.d.ts +248 -205
- package/datatable/DataTable.vue +72 -111
- package/datatable/TableBody.vue +3 -17
- package/datatable/datatable.cjs.js +63 -57
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +63 -57
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +63 -57
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +65 -47
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +33 -13
- package/deferredcontent/DeferredContent.d.ts +30 -13
- package/dialog/Dialog.d.ts +67 -46
- package/dialogservice/DialogService.d.ts +13 -2
- package/divider/Divider.d.ts +35 -30
- package/dock/Dock.d.ts +49 -36
- package/dropdown/Dropdown.d.ts +90 -82
- package/dropdown/Dropdown.vue +1 -1
- package/dropdown/dropdown.cjs.js +1 -1
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +1 -1
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +1 -1
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.d.ts +30 -10
- package/dynamicdialog/DynamicDialog.vue +2 -2
- package/dynamicdialog/dynamicdialog.cjs.js +3 -3
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +2 -2
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +3 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +28 -8
- package/editor/Editor.d.ts +48 -17
- package/fieldset/Fieldset.d.ts +43 -16
- package/fileupload/FileUpload.d.ts +101 -47
- package/focustrap/FocusTrap.d.ts +42 -3
- package/fullcalendar/FullCalendar.d.ts +1 -1
- package/galleria/Galleria.d.ts +64 -40
- package/image/Image.d.ts +33 -14
- package/inlinemessage/InlineMessage.d.ts +31 -17
- package/inplace/Inplace.d.ts +41 -18
- package/inputmask/InputMask.d.ts +41 -17
- package/inputnumber/InputNumber.d.ts +60 -41
- package/inputswitch/InputSwitch.d.ts +35 -15
- package/inputswitch/InputSwitch.vue +1 -0
- package/inputswitch/inputswitch.cjs.js +1 -1
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +1 -1
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +32 -12
- package/knob/Knob.d.ts +47 -21
- package/listbox/Listbox.d.ts +81 -60
- package/megamenu/MegaMenu.d.ts +42 -27
- package/megamenu/MegaMenu.vue +17 -0
- package/megamenu/megamenu.cjs.js +1 -1
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +1 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +1 -1
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +51 -30
- package/menubar/Menubar.d.ts +36 -19
- package/menuitem/MenuItem.d.ts +22 -10
- package/message/Message.d.ts +40 -21
- package/multiselect/MultiSelect.d.ts +111 -90
- package/orderlist/OrderList.d.ts +51 -23
- package/organizationchart/OrganizationChart.d.ts +43 -26
- package/overlaypanel/OverlayPanel.d.ts +46 -26
- package/package.json +2 -2
- package/paginator/Paginator.d.ts +49 -24
- package/panel/Panel.d.ts +39 -14
- package/panelmenu/PanelMenu.d.ts +49 -21
- package/password/Password.d.ts +47 -28
- package/picklist/PickList.d.ts +74 -33
- package/progressbar/ProgressBar.d.ts +34 -17
- package/progressspinner/ProgressSpinner.d.ts +32 -13
- package/radiobutton/RadioButton.d.ts +32 -14
- package/rating/Rating.d.ts +51 -25
- package/resources/themes/arya-blue/theme.css +34 -11
- package/resources/themes/arya-green/theme.css +34 -11
- package/resources/themes/arya-orange/theme.css +34 -11
- package/resources/themes/arya-purple/theme.css +34 -11
- package/resources/themes/bootstrap4-dark-blue/theme.css +34 -11
- package/resources/themes/bootstrap4-dark-purple/theme.css +34 -11
- package/resources/themes/bootstrap4-light-blue/theme.css +34 -11
- package/resources/themes/bootstrap4-light-purple/theme.css +34 -11
- package/resources/themes/fluent-light/theme.css +34 -11
- package/resources/themes/lara-dark-blue/theme.css +34 -11
- package/resources/themes/lara-dark-indigo/theme.css +34 -11
- package/resources/themes/lara-dark-purple/theme.css +34 -11
- package/resources/themes/lara-dark-teal/theme.css +34 -11
- package/resources/themes/lara-light-blue/theme.css +34 -11
- package/resources/themes/lara-light-indigo/theme.css +34 -11
- package/resources/themes/lara-light-purple/theme.css +34 -11
- package/resources/themes/lara-light-teal/theme.css +34 -11
- package/resources/themes/luna-amber/theme.css +34 -11
- package/resources/themes/luna-blue/theme.css +34 -11
- package/resources/themes/luna-green/theme.css +34 -11
- package/resources/themes/luna-pink/theme.css +34 -11
- package/resources/themes/md-dark-deeppurple/theme.css +34 -11
- package/resources/themes/md-dark-indigo/theme.css +34 -11
- package/resources/themes/md-light-deeppurple/theme.css +34 -11
- package/resources/themes/md-light-indigo/theme.css +34 -11
- package/resources/themes/mdc-dark-deeppurple/theme.css +34 -11
- package/resources/themes/mdc-dark-indigo/theme.css +34 -11
- package/resources/themes/mdc-light-deeppurple/theme.css +34 -11
- package/resources/themes/mdc-light-indigo/theme.css +34 -11
- package/resources/themes/mira/theme.css +34 -11
- package/resources/themes/nano/theme.css +34 -11
- package/resources/themes/nova/theme.css +34 -11
- package/resources/themes/nova-accent/theme.css +34 -11
- package/resources/themes/nova-alt/theme.css +34 -11
- package/resources/themes/nova-vue/theme.css +34 -11
- package/resources/themes/rhea/theme.css +34 -11
- package/resources/themes/saga-blue/theme.css +34 -11
- package/resources/themes/saga-green/theme.css +34 -11
- package/resources/themes/saga-orange/theme.css +34 -11
- package/resources/themes/saga-purple/theme.css +34 -11
- package/resources/themes/soho-dark/theme.css +34 -11
- package/resources/themes/soho-light/theme.css +34 -11
- package/resources/themes/tailwind-light/theme.css +34 -11
- package/resources/themes/vela-blue/theme.css +34 -11
- package/resources/themes/vela-green/theme.css +34 -11
- package/resources/themes/vela-orange/theme.css +34 -11
- package/resources/themes/vela-purple/theme.css +34 -11
- package/resources/themes/viva-dark/theme.css +34 -11
- package/resources/themes/viva-light/theme.css +34 -11
- package/ripple/Ripple.d.ts +24 -1
- package/row/Row.d.ts +28 -10
- package/scrollpanel/ScrollPanel.d.ts +29 -11
- package/scrolltop/ScrollTop.d.ts +35 -18
- package/selectbutton/SelectButton.d.ts +47 -27
- package/sidebar/Sidebar.d.ts +46 -27
- package/skeleton/Skeleton.d.ts +36 -22
- package/slider/Slider.d.ts +46 -23
- package/speeddial/SpeedDial.d.ts +64 -51
- package/splitbutton/SplitButton.d.ts +73 -24
- package/splitbutton/SplitButton.vue +41 -1
- package/splitbutton/splitbutton.cjs.js +43 -3
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +43 -3
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +43 -3
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +49 -30
- package/splitterpanel/SplitterPanel.d.ts +28 -10
- package/steps/Steps.d.ts +36 -15
- package/styleclass/StyleClass.d.ts +72 -1
- package/tabmenu/TabMenu.d.ts +41 -16
- package/tabmenu/TabMenu.vue +1 -1
- package/tabmenu/tabmenu.cjs.js +1 -0
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -0
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +1 -0
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +29 -11
- package/tabview/TabView.d.ts +47 -19
- package/tag/Tag.d.ts +33 -15
- package/terminal/Terminal.d.ts +30 -14
- package/terminalservice/TerminalService.d.ts +24 -5
- package/textarea/Textarea.d.ts +33 -11
- package/tieredmenu/TieredMenu.d.ts +45 -31
- package/timeline/Timeline.d.ts +41 -32
- package/toast/Toast.d.ts +63 -35
- package/toast/Toast.vue +4 -2
- package/toast/ToastMessage.vue +4 -4
- package/toast/toast.cjs.js +8 -6
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +8 -6
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -6
- package/toast/toast.min.js +1 -1
- package/toastservice/ToastService.d.ts +16 -3
- package/togglebutton/ToggleButton.d.ts +42 -22
- package/toolbar/Toolbar.d.ts +34 -14
- package/tooltip/Tooltip.d.ts +99 -1
- package/tree/Tree.d.ts +55 -36
- package/treeselect/TreeSelect.d.ts +63 -55
- package/treetable/TreeTable.d.ts +121 -107
- package/tristatecheckbox/TriStateCheckbox.d.ts +35 -12
- package/ts-helpers.d.ts +2 -2
- package/utils/utils.cjs.js +18 -15
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +18 -15
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +18 -15
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +62 -2
- package/vetur-tags.json +17 -2
- package/virtualscroller/VirtualScroller.d.ts +99 -43
- package/virtualscroller/VirtualScroller.vue +248 -72
- package/virtualscroller/virtualscroller.cjs.js +234 -72
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +234 -72
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +235 -74
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1922 -1744
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
*
|
|
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?:
|
|
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.
|
|
48
|
-
* @
|
|
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?:
|
|
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
|
-
*
|
|
59
|
+
* @defaultValue No results found
|
|
55
60
|
*/
|
|
56
61
|
emptyMessage?: string | undefined;
|
|
57
62
|
/**
|
|
58
63
|
* Defines how the selected items are displayed.
|
|
59
|
-
* @
|
|
60
|
-
* Default value is 'comma'.
|
|
64
|
+
* @defaultValue comma
|
|
61
65
|
*/
|
|
62
|
-
display?:
|
|
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
|
-
*
|
|
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?:
|
|
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
|
|
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
|
-
})
|
|
116
|
+
}): VNode[];
|
|
110
117
|
/**
|
|
111
118
|
* Custom header template.
|
|
112
119
|
* @param {Object} scope - header slot's params.
|
|
113
120
|
*/
|
|
114
|
-
header
|
|
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
|
-
})
|
|
130
|
+
}): VNode[];
|
|
124
131
|
/**
|
|
125
132
|
* Custom footer template.
|
|
126
133
|
* @param {Object} scope - footer slot's params.
|
|
127
134
|
*/
|
|
128
|
-
footer
|
|
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
|
-
})
|
|
144
|
+
}): VNode[];
|
|
138
145
|
/**
|
|
139
146
|
* Custom empty template.
|
|
140
147
|
*/
|
|
141
|
-
empty
|
|
148
|
+
empty(): VNode[];
|
|
142
149
|
/**
|
|
143
150
|
* Custom indicator template.
|
|
144
151
|
*/
|
|
145
|
-
indicator
|
|
152
|
+
indicator(): VNode[];
|
|
146
153
|
}
|
|
147
154
|
|
|
148
|
-
|
|
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'
|
|
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
|
|
168
|
+
change(value: string[]): void;
|
|
159
169
|
/**
|
|
160
170
|
* Callback to invoke before the overlay is shown.
|
|
161
171
|
*/
|
|
162
|
-
'before-show'
|
|
172
|
+
'before-show'(): void;
|
|
163
173
|
/**
|
|
164
174
|
* Callback to invoke before the overlay is hidden.
|
|
165
175
|
*/
|
|
166
|
-
'before-hide'
|
|
176
|
+
'before-hide'(): void;
|
|
167
177
|
/**
|
|
168
178
|
* Callback to invoke when the overlay is shown.
|
|
169
179
|
*/
|
|
170
|
-
show
|
|
180
|
+
show(): void;
|
|
171
181
|
/**
|
|
172
182
|
* Callback to invoke when the overlay is hidden.
|
|
173
183
|
*/
|
|
174
|
-
hide
|
|
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'
|
|
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'
|
|
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'
|
|
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'
|
|
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
|
+
* 
|
|
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;
|