primevue 3.23.0 → 3.25.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 +18 -12
- package/accordion/Accordion.d.ts +53 -21
- package/accordiontab/AccordionTab.d.ts +33 -12
- package/api/Api.d.ts +284 -284
- package/autocomplete/AutoComplete.d.ts +116 -89
- package/autocomplete/AutoComplete.vue +5 -5
- package/autocomplete/autocomplete.cjs.js +5 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +5 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +5 -5
- package/autocomplete/autocomplete.min.js +1 -1
- 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 +38 -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 +116 -81
- package/calendar/Calendar.vue +71 -17
- package/calendar/calendar.cjs.js +58 -20
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +58 -20
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +58 -20
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +35 -15
- package/carousel/Carousel.d.ts +47 -29
- package/cascadeselect/CascadeSelect.d.ts +74 -63
- package/cascadeselect/CascadeSelect.vue +4 -4
- package/cascadeselect/cascadeselect.cjs.js +4 -4
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +4 -4
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +4 -4
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +41 -23
- package/checkbox/Checkbox.d.ts +41 -17
- package/checkbox/Checkbox.vue +3 -3
- package/checkbox/checkbox.cjs.js +3 -3
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +3 -3
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +3 -3
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +35 -14
- package/chips/Chips.d.ts +48 -22
- package/chips/Chips.vue +2 -2
- package/chips/chips.cjs.js +2 -2
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +2 -2
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +2 -2
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +46 -28
- package/column/Column.d.ts +90 -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 +16 -6
- package/confirmationservice/ConfirmationService.d.ts +11 -0
- package/confirmdialog/ConfirmDialog.d.ts +35 -17
- package/confirmpopup/ConfirmPopup.d.ts +32 -17
- package/confirmpopup/ConfirmPopup.vue +3 -0
- package/confirmpopup/confirmpopup.cjs.js +3 -0
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +3 -0
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +3 -0
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +51 -35
- package/core/core.js +360 -118
- package/core/core.min.js +9 -9
- package/datatable/DataTable.d.ts +249 -206
- package/datatable/DataTable.vue +72 -111
- package/datatable/FooterCell.vue +2 -2
- package/datatable/TableBody.vue +9 -18
- package/datatable/datatable.cjs.js +71 -60
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +71 -60
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +71 -60
- 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/dialog/Dialog.vue +24 -7
- package/dialog/dialog.cjs.js +14 -7
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +14 -7
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +14 -7
- package/dialog/dialog.min.js +1 -1
- 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 +100 -86
- package/dropdown/Dropdown.vue +5 -5
- package/dropdown/dropdown.cjs.js +5 -5
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +5 -5
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +5 -5
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.d.ts +30 -10
- package/dynamicdialog/DynamicDialog.vue +3 -3
- package/dynamicdialog/dynamicdialog.cjs.js +4 -4
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +4 -4
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +4 -4
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +28 -8
- package/editor/Editor.d.ts +49 -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/inputmask/InputMask.vue +59 -49
- package/inputmask/inputmask.cjs.js +59 -49
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +59 -49
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +59 -49
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +62 -43
- package/inputnumber/InputNumber.vue +2 -2
- package/inputnumber/inputnumber.cjs.js +2 -2
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +2 -2
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +2 -2
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +38 -17
- package/inputswitch/InputSwitch.vue +3 -2
- package/inputswitch/inputswitch.cjs.js +3 -3
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +3 -3
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +3 -3
- 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 +46 -28
- package/overlaypanel/OverlayPanel.d.ts +46 -26
- package/package.json +2 -2
- package/paginator/Paginator.d.ts +49 -24
- package/panel/Panel.d.ts +41 -14
- package/panelmenu/PanelMenu.d.ts +49 -21
- package/password/Password.d.ts +51 -32
- package/password/Password.vue +4 -4
- package/password/password.cjs.js +4 -4
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +4 -4
- package/password/password.esm.min.js +1 -1
- package/password/password.js +4 -4
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +74 -33
- package/portal/Portal.d.ts +1 -0
- package/progressbar/ProgressBar.d.ts +34 -17
- package/progressspinner/ProgressSpinner.d.ts +32 -13
- package/radiobutton/RadioButton.d.ts +35 -16
- package/radiobutton/RadioButton.vue +2 -2
- package/radiobutton/radiobutton.cjs.js +2 -2
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +2 -2
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +2 -2
- package/radiobutton/radiobutton.min.js +1 -1
- 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/selectbutton/SelectButton.vue +2 -2
- package/selectbutton/selectbutton.cjs.js +2 -2
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +2 -2
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +2 -2
- package/selectbutton/selectbutton.min.js +1 -1
- 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 +34 -11
- package/tieredmenu/TieredMenu.d.ts +47 -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 +44 -24
- package/togglebutton/ToggleButton.vue +2 -2
- package/togglebutton/togglebutton.cjs.js +2 -2
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +2 -2
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +2 -2
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +34 -14
- package/tooltip/Tooltip.d.ts +99 -1
- package/tooltip/tooltip.cjs.js +1 -1
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +1 -1
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +1 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tree/Tree.d.ts +58 -36
- package/treeselect/TreeSelect.d.ts +65 -57
- package/treeselect/TreeSelect.vue +3 -3
- package/treeselect/treeselect.cjs.js +3 -3
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +3 -3
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +3 -3
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/TreeTable.d.ts +123 -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 +90 -30
- 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 +1951 -1773
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* AutoComplete is an input component that provides real-time suggestions while being typed.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/autocomplete/)
|
|
6
|
+
*
|
|
7
|
+
* @module autocomplete
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
import { VirtualScrollerItemOptions, VirtualScrollerProps } from '../virtualscroller';
|
|
4
13
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type AutoCompleteOptionDisabledType = string | ((data: any) => boolean) | undefined;
|
|
10
|
-
|
|
11
|
-
type AutoCompleteOptionChildrenType = string | ((data: any) => any[]) | undefined;
|
|
12
|
-
|
|
13
|
-
type AutoCompleteDropdownMode = 'blank' | 'current' | undefined;
|
|
14
|
-
|
|
15
|
-
type AutoCompleteAppendTo = 'body' | 'self' | string | undefined | HTMLElement;
|
|
16
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Custom change event.
|
|
16
|
+
* @see {@link AutoCompleteEmits.change}
|
|
17
|
+
*/
|
|
17
18
|
export interface AutoCompleteChangeEvent {
|
|
18
19
|
/**
|
|
19
20
|
* Browser event.
|
|
@@ -25,6 +26,10 @@ export interface AutoCompleteChangeEvent {
|
|
|
25
26
|
value: any;
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Custom item select event.
|
|
31
|
+
* @see {@link AutoCompleteEmits['item-select']}
|
|
32
|
+
*/
|
|
28
33
|
export interface AutoCompleteItemSelectEvent {
|
|
29
34
|
/**
|
|
30
35
|
* Browser event
|
|
@@ -37,10 +42,16 @@ export interface AutoCompleteItemSelectEvent {
|
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
/**
|
|
45
|
+
* Custom item unselect event.
|
|
46
|
+
* @see {@link AutoCompleteEmits['item-unselect']}
|
|
40
47
|
* @extends AutoCompleteItemSelectEvent
|
|
41
48
|
*/
|
|
42
49
|
export interface AutoCompleteItemUnselectEvent extends AutoCompleteItemSelectEvent {}
|
|
43
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Custom dropdown click event.
|
|
53
|
+
* @see {@link AutoCompleteEmits['dropdown-click']}
|
|
54
|
+
*/
|
|
44
55
|
export interface AutoCompleteDropdownClickEvent {
|
|
45
56
|
/**
|
|
46
57
|
* Browser mouse event
|
|
@@ -52,6 +63,10 @@ export interface AutoCompleteDropdownClickEvent {
|
|
|
52
63
|
query: string;
|
|
53
64
|
}
|
|
54
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Custom complete event.
|
|
68
|
+
* @see {@link AutoCompleteEmits.complete}
|
|
69
|
+
*/
|
|
55
70
|
export interface AutoCompleteCompleteEvent {
|
|
56
71
|
/**
|
|
57
72
|
* Browser event
|
|
@@ -63,6 +78,9 @@ export interface AutoCompleteCompleteEvent {
|
|
|
63
78
|
query: string;
|
|
64
79
|
}
|
|
65
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Defines valid properties in AutoComplete component.
|
|
83
|
+
*/
|
|
66
84
|
export interface AutoCompleteProps {
|
|
67
85
|
/**
|
|
68
86
|
* Value of the component.
|
|
@@ -75,51 +93,48 @@ export interface AutoCompleteProps {
|
|
|
75
93
|
/**
|
|
76
94
|
* @deprecated since v3.16.0. Use 'optionLabel' property instead.
|
|
77
95
|
* Property name or getter function of a suggested object to resolve and display.
|
|
78
|
-
* @type {AutoCompleteFieldType}
|
|
79
96
|
*/
|
|
80
|
-
field?:
|
|
97
|
+
field?: string | ((data: any) => string) | undefined;
|
|
81
98
|
/**
|
|
82
99
|
* Property name or getter function to use as the label of an option.
|
|
83
|
-
* @see AutoCompleteOptionLabelType
|
|
84
100
|
*/
|
|
85
|
-
optionLabel?:
|
|
101
|
+
optionLabel?: string | ((data: any) => string) | undefined;
|
|
86
102
|
/**
|
|
87
103
|
* Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.
|
|
88
|
-
* @see AutoCompleteOptionDisabledType
|
|
89
104
|
*/
|
|
90
|
-
optionDisabled?:
|
|
105
|
+
optionDisabled?: string | ((data: any) => boolean) | undefined;
|
|
91
106
|
/**
|
|
92
107
|
* Property name or getter function to use as the label of an option group.
|
|
93
|
-
* @see AutoCompleteOptionLabelType
|
|
94
108
|
*/
|
|
95
|
-
optionGroupLabel?:
|
|
109
|
+
optionGroupLabel?: string | ((data: any) => string) | undefined;
|
|
96
110
|
/**
|
|
97
111
|
* Property name or getter function that refers to the children options of option group.
|
|
98
|
-
* @see AutoCompleteOptionChildrenType
|
|
99
112
|
*/
|
|
100
|
-
optionGroupChildren?:
|
|
113
|
+
optionGroupChildren?: string | ((data: any) => any[]) | undefined;
|
|
101
114
|
/**
|
|
102
115
|
* Maximum height of the suggestions panel.
|
|
103
|
-
*
|
|
116
|
+
* @defaultValue 200px
|
|
104
117
|
*/
|
|
105
118
|
scrollHeight?: string | undefined;
|
|
106
119
|
/**
|
|
107
120
|
* Displays a button next to the input field when enabled.
|
|
121
|
+
* @defaultValue false
|
|
108
122
|
*/
|
|
109
123
|
dropdown?: boolean | undefined;
|
|
110
124
|
/**
|
|
111
125
|
* Specifies the behavior dropdown button. Default 'blank' mode sends an empty string and 'current' mode sends the input value.
|
|
112
|
-
* @
|
|
113
|
-
* Default value is 'blank'.
|
|
126
|
+
* @defaultValue blank
|
|
114
127
|
*/
|
|
115
|
-
dropdownMode?:
|
|
128
|
+
dropdownMode?: 'blank' | 'current' | undefined;
|
|
116
129
|
/**
|
|
117
130
|
* @deprecated since v3.16.0
|
|
118
131
|
* Highlights automatically the first item of the dropdown to be selected.
|
|
132
|
+
* @defaultValue false
|
|
119
133
|
*/
|
|
120
134
|
autoHighlight?: boolean | undefined;
|
|
121
135
|
/**
|
|
122
136
|
* Specifies if multiple values can be selected.
|
|
137
|
+
* @defaultValue false
|
|
123
138
|
*/
|
|
124
139
|
multiple?: boolean | undefined;
|
|
125
140
|
/**
|
|
@@ -128,6 +143,7 @@ export interface AutoCompleteProps {
|
|
|
128
143
|
placeholder?: string | undefined;
|
|
129
144
|
/**
|
|
130
145
|
* When present, it specifies that the component should be disabled.
|
|
146
|
+
* @defaultValue false
|
|
131
147
|
*/
|
|
132
148
|
disabled?: boolean | undefined;
|
|
133
149
|
/**
|
|
@@ -136,27 +152,28 @@ export interface AutoCompleteProps {
|
|
|
136
152
|
dataKey?: string | undefined;
|
|
137
153
|
/**
|
|
138
154
|
* Minimum number of characters to initiate a search.
|
|
139
|
-
*
|
|
155
|
+
* @defaultValue 1
|
|
140
156
|
*/
|
|
141
157
|
minLength?: number | undefined;
|
|
142
158
|
/**
|
|
143
159
|
* Delay between keystrokes to wait before sending a query.
|
|
144
|
-
*
|
|
160
|
+
* @defaultValue 300
|
|
145
161
|
*/
|
|
146
162
|
delay?: number | undefined;
|
|
147
163
|
/**
|
|
148
164
|
* A valid query selector or an HTMLElement to specify where the overlay gets attached.
|
|
149
165
|
* Special keywords are 'body' for document body and 'self' for the element itself.
|
|
150
|
-
* @
|
|
151
|
-
* Default value is body.
|
|
166
|
+
* @defaultValue body
|
|
152
167
|
*/
|
|
153
|
-
appendTo?:
|
|
168
|
+
appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
|
|
154
169
|
/**
|
|
155
170
|
* When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions.
|
|
171
|
+
* @defaultValue false
|
|
156
172
|
*/
|
|
157
|
-
forceSelection?: boolean;
|
|
173
|
+
forceSelection?: boolean | undefined;
|
|
158
174
|
/**
|
|
159
175
|
* Whether to run a query when input receives focus.
|
|
176
|
+
* @defaultValue false
|
|
160
177
|
*/
|
|
161
178
|
completeOnFocus?: boolean | undefined;
|
|
162
179
|
/**
|
|
@@ -166,11 +183,11 @@ export interface AutoCompleteProps {
|
|
|
166
183
|
/**
|
|
167
184
|
* Inline style of the input field.
|
|
168
185
|
*/
|
|
169
|
-
inputStyle?:
|
|
186
|
+
inputStyle?: object | undefined;
|
|
170
187
|
/**
|
|
171
188
|
* Style class of the input field.
|
|
172
189
|
*/
|
|
173
|
-
inputClass?:
|
|
190
|
+
inputClass?: string | object | undefined;
|
|
174
191
|
/**
|
|
175
192
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
|
176
193
|
*/
|
|
@@ -178,47 +195,47 @@ export interface AutoCompleteProps {
|
|
|
178
195
|
/**
|
|
179
196
|
* Inline style of the overlay panel.
|
|
180
197
|
*/
|
|
181
|
-
panelStyle?:
|
|
198
|
+
panelStyle?: object | undefined;
|
|
182
199
|
/**
|
|
183
200
|
* Style class of the overlay panel.
|
|
184
201
|
*/
|
|
185
|
-
panelClass?:
|
|
202
|
+
panelClass?: string | object | undefined;
|
|
186
203
|
/**
|
|
187
204
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
|
188
205
|
*/
|
|
189
206
|
panelProps?: HTMLAttributes | undefined;
|
|
190
207
|
/**
|
|
191
208
|
* Icon to display in the dropdown.
|
|
192
|
-
*
|
|
209
|
+
* @defaultValue pi pi-chevron-down
|
|
193
210
|
*/
|
|
194
211
|
dropdownIcon?: string | undefined;
|
|
195
212
|
/**
|
|
196
213
|
* Style class of the dropdown button.
|
|
197
214
|
*/
|
|
198
|
-
dropdownClass?: string | undefined;
|
|
215
|
+
dropdownClass?: string | object | undefined;
|
|
199
216
|
/**
|
|
200
217
|
* Icon to display in loading state.
|
|
201
|
-
*
|
|
218
|
+
* @defaultValue pi pi-spinner pi-spin
|
|
202
219
|
*/
|
|
203
220
|
loadingIcon?: string | undefined;
|
|
204
221
|
/**
|
|
205
222
|
* Icon to display in chip remove action.
|
|
206
|
-
*
|
|
223
|
+
* @defaultValue pi pi-times-circle
|
|
207
224
|
*/
|
|
208
225
|
removeTokenIcon?: string | undefined;
|
|
209
226
|
/**
|
|
210
227
|
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
|
211
|
-
* @
|
|
228
|
+
* @type {VirtualScrollerProps}
|
|
212
229
|
*/
|
|
213
230
|
virtualScrollerOptions?: VirtualScrollerProps;
|
|
214
231
|
/**
|
|
215
232
|
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
|
216
|
-
*
|
|
233
|
+
* @defaultValue true
|
|
217
234
|
*/
|
|
218
235
|
autoOptionFocus?: boolean | undefined;
|
|
219
236
|
/**
|
|
220
237
|
* When enabled, the focused option is selected.
|
|
221
|
-
*
|
|
238
|
+
* @defaultValue false
|
|
222
239
|
*/
|
|
223
240
|
selectOnFocus?: boolean | undefined;
|
|
224
241
|
/**
|
|
@@ -227,22 +244,22 @@ export interface AutoCompleteProps {
|
|
|
227
244
|
searchLocale?: string | undefined;
|
|
228
245
|
/**
|
|
229
246
|
* Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.
|
|
230
|
-
*
|
|
247
|
+
* @defaultValue '{0} results are available'
|
|
231
248
|
*/
|
|
232
249
|
searchMessage?: string | undefined;
|
|
233
250
|
/**
|
|
234
251
|
* Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.
|
|
235
|
-
*
|
|
252
|
+
* @defaultValue '{0} items selected'
|
|
236
253
|
*/
|
|
237
254
|
selectionMessage?: string | undefined;
|
|
238
255
|
/**
|
|
239
256
|
* Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.
|
|
240
|
-
*
|
|
257
|
+
* @defaultValue No selected item
|
|
241
258
|
*/
|
|
242
259
|
emptySelectionMessage?: string | undefined;
|
|
243
260
|
/**
|
|
244
261
|
* Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.
|
|
245
|
-
*
|
|
262
|
+
* @defaultValue No results found
|
|
246
263
|
*/
|
|
247
264
|
emptySearchMessage?: string | undefined;
|
|
248
265
|
/**
|
|
@@ -259,22 +276,26 @@ export interface AutoCompleteProps {
|
|
|
259
276
|
'aria-labelledby'?: string | undefined;
|
|
260
277
|
}
|
|
261
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Defines valid slots in AutoComplete component.
|
|
281
|
+
* @todo Next release we should complete types for all slots
|
|
282
|
+
*/
|
|
262
283
|
export interface AutoCompleteSlots {
|
|
263
284
|
/**
|
|
264
285
|
* Custom chip template.
|
|
265
286
|
* @param {Object} scope - chip slot's params.
|
|
266
287
|
*/
|
|
267
|
-
chip
|
|
288
|
+
chip(scope: {
|
|
268
289
|
/**
|
|
269
290
|
* A value in the selection
|
|
270
291
|
*/
|
|
271
292
|
value: any;
|
|
272
|
-
})
|
|
293
|
+
}): VNode[];
|
|
273
294
|
/**
|
|
274
295
|
* Custom header template of panel.
|
|
275
296
|
* @param {Object} scope - header slot's params.
|
|
276
297
|
*/
|
|
277
|
-
header
|
|
298
|
+
header(scope: {
|
|
278
299
|
/**
|
|
279
300
|
* Value of the component
|
|
280
301
|
*/
|
|
@@ -283,12 +304,12 @@ export interface AutoCompleteSlots {
|
|
|
283
304
|
* Displayed options
|
|
284
305
|
*/
|
|
285
306
|
suggestions: any[];
|
|
286
|
-
})
|
|
307
|
+
}): VNode[];
|
|
287
308
|
/**
|
|
288
309
|
* Custom footer template of panel.
|
|
289
310
|
* @param {Object} scope - footer slot's params.
|
|
290
311
|
*/
|
|
291
|
-
footer
|
|
312
|
+
footer(scope: {
|
|
292
313
|
/**
|
|
293
314
|
* Value of the component
|
|
294
315
|
*/
|
|
@@ -297,13 +318,13 @@ export interface AutoCompleteSlots {
|
|
|
297
318
|
* Displayed options
|
|
298
319
|
*/
|
|
299
320
|
suggestions: any[];
|
|
300
|
-
})
|
|
321
|
+
}): VNode[];
|
|
301
322
|
/**
|
|
302
323
|
* @deprecated since v3.16.0
|
|
303
324
|
* Custom content for each item.
|
|
304
325
|
* @param {Object} scope - item slot's params.
|
|
305
326
|
*/
|
|
306
|
-
item
|
|
327
|
+
item(scope: {
|
|
307
328
|
/**
|
|
308
329
|
* Option instance
|
|
309
330
|
*/
|
|
@@ -312,12 +333,12 @@ export interface AutoCompleteSlots {
|
|
|
312
333
|
* Index of the option
|
|
313
334
|
*/
|
|
314
335
|
index: number;
|
|
315
|
-
})
|
|
336
|
+
}): VNode[];
|
|
316
337
|
/**
|
|
317
338
|
* Custom option template.
|
|
318
339
|
* @param {Object} scope - option slot's params.
|
|
319
340
|
*/
|
|
320
|
-
option
|
|
341
|
+
option(scope: {
|
|
321
342
|
/**
|
|
322
343
|
* Option instance
|
|
323
344
|
*/
|
|
@@ -326,12 +347,12 @@ export interface AutoCompleteSlots {
|
|
|
326
347
|
* Index of the option
|
|
327
348
|
*/
|
|
328
349
|
index: number;
|
|
329
|
-
})
|
|
350
|
+
}): VNode[];
|
|
330
351
|
/**
|
|
331
352
|
* Custom option group template.
|
|
332
353
|
* @param {Object} scope - option group slot's params.
|
|
333
354
|
*/
|
|
334
|
-
optiongroup
|
|
355
|
+
optiongroup(scope: {
|
|
335
356
|
/**
|
|
336
357
|
* @deprecated since v3.16.0. Use the 'option' instead.
|
|
337
358
|
* Option instance
|
|
@@ -345,12 +366,12 @@ export interface AutoCompleteSlots {
|
|
|
345
366
|
* Index of the option
|
|
346
367
|
*/
|
|
347
368
|
index: number;
|
|
348
|
-
})
|
|
369
|
+
}): VNode[];
|
|
349
370
|
/**
|
|
350
371
|
* Custom panel template.
|
|
351
372
|
* @param {Object} scope - content slot's params.
|
|
352
373
|
*/
|
|
353
|
-
content
|
|
374
|
+
content(scope: {
|
|
354
375
|
/**
|
|
355
376
|
* An array of objects to display for virtualscroller
|
|
356
377
|
*/
|
|
@@ -367,89 +388,104 @@ export interface AutoCompleteSlots {
|
|
|
367
388
|
/**
|
|
368
389
|
* Options of the items
|
|
369
390
|
* @param {number} index - Rendered index
|
|
370
|
-
* @return {
|
|
391
|
+
* @return {VirtualScrollerItemOptions}
|
|
371
392
|
*/
|
|
372
393
|
getItemOptions(index: number): VirtualScrollerItemOptions;
|
|
373
|
-
})
|
|
394
|
+
}): VNode[];
|
|
374
395
|
/**
|
|
375
396
|
* Custom loader template.
|
|
376
397
|
* @param {Object} scope - loader slot's params.
|
|
377
398
|
*/
|
|
378
|
-
loader
|
|
399
|
+
loader(scope: {
|
|
379
400
|
/**
|
|
380
401
|
* Options of the loader items for virtualscroller
|
|
381
402
|
*/
|
|
382
403
|
options: any[];
|
|
383
|
-
})
|
|
404
|
+
}): VNode[];
|
|
384
405
|
/**
|
|
385
406
|
* Custom empty template when there is no data to display.
|
|
386
407
|
*/
|
|
387
|
-
empty
|
|
408
|
+
empty(): VNode[];
|
|
388
409
|
}
|
|
389
410
|
|
|
390
|
-
|
|
411
|
+
/**
|
|
412
|
+
* Defines valid emits in AutoComplete component.
|
|
413
|
+
*/
|
|
414
|
+
export interface AutoCompleteEmits {
|
|
391
415
|
/**
|
|
392
416
|
* Emitted when the value changes.
|
|
393
417
|
* @param {*} value - New value.
|
|
394
418
|
*/
|
|
395
|
-
'update:modelValue'
|
|
419
|
+
'update:modelValue'(value: any): void;
|
|
396
420
|
/**
|
|
397
421
|
* Callback to invoke on value change.
|
|
398
422
|
* @param {AutoCompleteChangeEvent} event - Custom change event.
|
|
399
423
|
*/
|
|
400
|
-
change
|
|
424
|
+
change(event: AutoCompleteChangeEvent): void;
|
|
401
425
|
/**
|
|
402
426
|
* Callback to invoke when the component receives focus.
|
|
403
427
|
* @param {Event} event - Browser event.
|
|
404
428
|
*/
|
|
405
|
-
focus
|
|
429
|
+
focus(event: Event): void;
|
|
406
430
|
/**
|
|
407
431
|
* Callback to invoke when the component loses focus.
|
|
408
432
|
* @param {Event} event - Browser event.
|
|
409
433
|
*/
|
|
410
|
-
blur
|
|
434
|
+
blur(event: Event): void;
|
|
411
435
|
/**
|
|
412
436
|
* Callback to invoke when a suggestion is selected.
|
|
413
437
|
* @param {AutoCompleteItemSelectEvent} event - Custom item select event.
|
|
414
438
|
*/
|
|
415
|
-
'item-select'
|
|
439
|
+
'item-select'(event: AutoCompleteItemSelectEvent): void;
|
|
416
440
|
/**
|
|
417
441
|
* Callback to invoke when a selected value is removed.
|
|
418
442
|
* @param {AutoCompleteItemUnselectEvent} event - Custom item unselect event.
|
|
419
443
|
*/
|
|
420
|
-
'item-unselect'
|
|
444
|
+
'item-unselect'(event: AutoCompleteItemUnselectEvent): void;
|
|
421
445
|
/**
|
|
422
446
|
* Callback to invoke to when dropdown button is clicked.
|
|
423
447
|
* @param {AutoCompleteDropdownClickEvent} event - Custom dropdown click event.
|
|
424
448
|
*/
|
|
425
|
-
'dropdown-click'
|
|
449
|
+
'dropdown-click'(event: AutoCompleteDropdownClickEvent): void;
|
|
426
450
|
/**
|
|
427
451
|
* Callback to invoke when input is cleared by the user.
|
|
428
452
|
*/
|
|
429
|
-
clear
|
|
453
|
+
clear(): void;
|
|
430
454
|
/**
|
|
431
455
|
* Callback to invoke to search for suggestions.
|
|
432
456
|
* @param {AutoCompleteCompleteEvent} event - Custom complete event.
|
|
433
457
|
*/
|
|
434
|
-
complete
|
|
458
|
+
complete(event: AutoCompleteCompleteEvent): void;
|
|
435
459
|
/**
|
|
436
460
|
* Callback to invoke before the overlay is shown.
|
|
437
461
|
*/
|
|
438
|
-
'before-show'
|
|
462
|
+
'before-show'(): void;
|
|
439
463
|
/**
|
|
440
464
|
* Callback to invoke before the overlay is hidden.
|
|
441
465
|
*/
|
|
442
|
-
'before-hide'
|
|
466
|
+
'before-hide'(): void;
|
|
443
467
|
/**
|
|
444
468
|
* Callback to invoke when the overlay is shown.
|
|
445
469
|
*/
|
|
446
|
-
show
|
|
470
|
+
show(): void;
|
|
447
471
|
/**
|
|
448
472
|
* Callback to invoke when the overlay is hidden.
|
|
449
473
|
*/
|
|
450
|
-
hide
|
|
451
|
-
}
|
|
474
|
+
hide(): void;
|
|
475
|
+
}
|
|
452
476
|
|
|
477
|
+
/**
|
|
478
|
+
* **PrimeVue - AutoComplete**
|
|
479
|
+
*
|
|
480
|
+
* _AutoComplete is an input component that provides real-time suggestions while being typed._
|
|
481
|
+
*
|
|
482
|
+
* [Live Demo](https://www.primevue.org/autocomplete/)
|
|
483
|
+
* --- ---
|
|
484
|
+
* 
|
|
485
|
+
*
|
|
486
|
+
* @group Component
|
|
487
|
+
*
|
|
488
|
+
*/
|
|
453
489
|
declare class AutoComplete extends ClassComponent<AutoCompleteProps, AutoCompleteSlots, AutoCompleteEmits> {}
|
|
454
490
|
|
|
455
491
|
declare module '@vue/runtime-core' {
|
|
@@ -458,13 +494,4 @@ declare module '@vue/runtime-core' {
|
|
|
458
494
|
}
|
|
459
495
|
}
|
|
460
496
|
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
* AutoComplete is an input component that provides real-time suggestions when being typed.
|
|
464
|
-
*
|
|
465
|
-
* Demos:
|
|
466
|
-
*
|
|
467
|
-
* - [AutoComplete](https://www.primefaces.org/primevue/autocomplete)
|
|
468
|
-
*
|
|
469
|
-
*/
|
|
470
497
|
export default AutoComplete;
|
|
@@ -222,11 +222,11 @@ export default {
|
|
|
222
222
|
default: null
|
|
223
223
|
},
|
|
224
224
|
inputStyle: {
|
|
225
|
-
type:
|
|
225
|
+
type: Object,
|
|
226
226
|
default: null
|
|
227
227
|
},
|
|
228
228
|
inputClass: {
|
|
229
|
-
type: String,
|
|
229
|
+
type: [String, Object],
|
|
230
230
|
default: null
|
|
231
231
|
},
|
|
232
232
|
inputProps: {
|
|
@@ -234,11 +234,11 @@ export default {
|
|
|
234
234
|
default: null
|
|
235
235
|
},
|
|
236
236
|
panelStyle: {
|
|
237
|
-
type:
|
|
237
|
+
type: Object,
|
|
238
238
|
default: null
|
|
239
239
|
},
|
|
240
240
|
panelClass: {
|
|
241
|
-
type: String,
|
|
241
|
+
type: [String, Object],
|
|
242
242
|
default: null
|
|
243
243
|
},
|
|
244
244
|
panelProps: {
|
|
@@ -250,7 +250,7 @@ export default {
|
|
|
250
250
|
default: 'pi pi-chevron-down'
|
|
251
251
|
},
|
|
252
252
|
dropdownClass: {
|
|
253
|
-
type: String,
|
|
253
|
+
type: [String, Object],
|
|
254
254
|
default: null
|
|
255
255
|
},
|
|
256
256
|
loadingIcon: {
|
|
@@ -92,11 +92,11 @@ var script = {
|
|
|
92
92
|
default: null
|
|
93
93
|
},
|
|
94
94
|
inputStyle: {
|
|
95
|
-
type:
|
|
95
|
+
type: Object,
|
|
96
96
|
default: null
|
|
97
97
|
},
|
|
98
98
|
inputClass: {
|
|
99
|
-
type: String,
|
|
99
|
+
type: [String, Object],
|
|
100
100
|
default: null
|
|
101
101
|
},
|
|
102
102
|
inputProps: {
|
|
@@ -104,11 +104,11 @@ var script = {
|
|
|
104
104
|
default: null
|
|
105
105
|
},
|
|
106
106
|
panelStyle: {
|
|
107
|
-
type:
|
|
107
|
+
type: Object,
|
|
108
108
|
default: null
|
|
109
109
|
},
|
|
110
110
|
panelClass: {
|
|
111
|
-
type: String,
|
|
111
|
+
type: [String, Object],
|
|
112
112
|
default: null
|
|
113
113
|
},
|
|
114
114
|
panelProps: {
|
|
@@ -120,7 +120,7 @@ var script = {
|
|
|
120
120
|
default: 'pi pi-chevron-down'
|
|
121
121
|
},
|
|
122
122
|
dropdownClass: {
|
|
123
|
-
type: String,
|
|
123
|
+
type: [String, Object],
|
|
124
124
|
default: null
|
|
125
125
|
},
|
|
126
126
|
loadingIcon: {
|