primevuelab 4.0.0-beta.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.
- package/LICENSE.md +21 -0
- package/README.md +90 -0
- package/accordion/Accordion.d.ts +252 -0
- package/accordion/Accordion.vue +170 -0
- package/accordion/BaseAccordion.vue +51 -0
- package/accordion/accordion.mjs +268 -0
- package/accordion/accordion.mjs.map +1 -0
- package/accordion/package.json +11 -0
- package/accordion/style/AccordionStyle.d.ts +19 -0
- package/accordion/style/accordionstyle.mjs +17 -0
- package/accordion/style/accordionstyle.mjs.map +1 -0
- package/accordion/style/package.json +6 -0
- package/accordioncontent/AccordionContent.d.ts +149 -0
- package/accordioncontent/AccordionContent.vue +51 -0
- package/accordioncontent/BaseAccordionContent.vue +26 -0
- package/accordioncontent/accordioncontent.mjs +91 -0
- package/accordioncontent/accordioncontent.mjs.map +1 -0
- package/accordioncontent/package.json +11 -0
- package/accordioncontent/style/AccordionContentStyle.d.ts +23 -0
- package/accordioncontent/style/accordioncontentstyle.mjs +13 -0
- package/accordioncontent/style/accordioncontentstyle.mjs.map +1 -0
- package/accordioncontent/style/package.json +6 -0
- package/accordionheader/AccordionHeader.d.ts +149 -0
- package/accordionheader/AccordionHeader.vue +171 -0
- package/accordionheader/BaseAccordionHeader.vue +26 -0
- package/accordionheader/accordionheader.mjs +201 -0
- package/accordionheader/accordionheader.mjs.map +1 -0
- package/accordionheader/package.json +11 -0
- package/accordionheader/style/AccordionHeaderStyle.d.ts +23 -0
- package/accordionheader/style/accordionheaderstyle.mjs +13 -0
- package/accordionheader/style/accordionheaderstyle.mjs.map +1 -0
- package/accordionheader/style/package.json +6 -0
- package/accordionpanel/AccordionPanel.d.ts +147 -0
- package/accordionpanel/AccordionPanel.vue +40 -0
- package/accordionpanel/BaseAccordionPanel.vue +34 -0
- package/accordionpanel/accordionpanel.mjs +84 -0
- package/accordionpanel/accordionpanel.mjs.map +1 -0
- package/accordionpanel/package.json +11 -0
- package/accordionpanel/style/AccordionPanelStyle.d.ts +19 -0
- package/accordionpanel/style/accordionpanelstyle.mjs +19 -0
- package/accordionpanel/style/accordionpanelstyle.mjs.map +1 -0
- package/accordionpanel/style/package.json +6 -0
- package/accordiontab/AccordionTab.d.ts +236 -0
- package/accordiontab/AccordionTab.vue +16 -0
- package/accordiontab/BaseAccordionTab.vue +27 -0
- package/accordiontab/accordiontab.mjs +44 -0
- package/accordiontab/accordiontab.mjs.map +1 -0
- package/accordiontab/package.json +11 -0
- package/accordiontab/style/AccordionTabStyle.d.ts +15 -0
- package/accordiontab/style/accordiontabstyle.mjs +8 -0
- package/accordiontab/style/accordiontabstyle.mjs.map +1 -0
- package/accordiontab/style/package.json +6 -0
- package/animateonscroll/AnimateOnScroll.d.ts +87 -0
- package/animateonscroll/animateonscroll.mjs +130 -0
- package/animateonscroll/animateonscroll.mjs.map +1 -0
- package/animateonscroll/package.json +5 -0
- package/animateonscroll/style/AnimateOnScrollStyle.d.ts +14 -0
- package/animateonscroll/style/animateonscrollstyle.mjs +8 -0
- package/animateonscroll/style/animateonscrollstyle.mjs.map +1 -0
- package/animateonscroll/style/package.json +6 -0
- package/autocomplete/AutoComplete.d.ts +833 -0
- package/autocomplete/AutoComplete.vue +985 -0
- package/autocomplete/BaseAutoComplete.vue +191 -0
- package/autocomplete/autocomplete.mjs +1327 -0
- package/autocomplete/autocomplete.mjs.map +1 -0
- package/autocomplete/package.json +11 -0
- package/autocomplete/style/AutoCompleteStyle.d.ts +71 -0
- package/autocomplete/style/autocompletestyle.mjs +70 -0
- package/autocomplete/style/autocompletestyle.mjs.map +1 -0
- package/autocomplete/style/package.json +6 -0
- package/avatar/Avatar.d.ts +178 -0
- package/avatar/Avatar.vue +26 -0
- package/avatar/BaseAvatar.vue +46 -0
- package/avatar/avatar.mjs +90 -0
- package/avatar/avatar.mjs.map +1 -0
- package/avatar/package.json +11 -0
- package/avatar/style/AvatarStyle.d.ts +27 -0
- package/avatar/style/avatarstyle.mjs +27 -0
- package/avatar/style/avatarstyle.mjs.map +1 -0
- package/avatar/style/package.json +6 -0
- package/avatargroup/AvatarGroup.d.ts +128 -0
- package/avatargroup/AvatarGroup.vue +15 -0
- package/avatargroup/BaseAvatarGroup.vue +16 -0
- package/avatargroup/avatargroup.mjs +32 -0
- package/avatargroup/avatargroup.mjs.map +1 -0
- package/avatargroup/package.json +11 -0
- package/avatargroup/style/AvatarGroupStyle.d.ts +16 -0
- package/avatargroup/style/avatargroupstyle.mjs +12 -0
- package/avatargroup/style/avatargroupstyle.mjs.map +1 -0
- package/avatargroup/style/package.json +6 -0
- package/badge/Badge.d.ts +136 -0
- package/badge/Badge.vue +15 -0
- package/badge/BaseBadge.vue +30 -0
- package/badge/badge.mjs +48 -0
- package/badge/badge.mjs.map +1 -0
- package/badge/package.json +11 -0
- package/badge/style/BadgeStyle.d.ts +19 -0
- package/badge/style/badgestyle.mjs +34 -0
- package/badge/style/badgestyle.mjs.map +1 -0
- package/badge/style/package.json +6 -0
- package/badgedirective/BadgeDirective.d.ts +170 -0
- package/badgedirective/badgedirective.mjs +68 -0
- package/badgedirective/badgedirective.mjs.map +1 -0
- package/badgedirective/package.json +5 -0
- package/badgedirective/style/BadgeDirectiveStyle.d.ts +16 -0
- package/badgedirective/style/badgedirectivestyle.mjs +12 -0
- package/badgedirective/style/badgedirectivestyle.mjs.map +1 -0
- package/badgedirective/style/package.json +6 -0
- package/blockui/BaseBlockUI.vue +34 -0
- package/blockui/BlockUI.d.ts +176 -0
- package/blockui/BlockUI.vue +103 -0
- package/blockui/blockui.mjs +133 -0
- package/blockui/blockui.mjs.map +1 -0
- package/blockui/package.json +11 -0
- package/blockui/style/BlockUIStyle.d.ts +19 -0
- package/blockui/style/blockuistyle.mjs +17 -0
- package/blockui/style/blockuistyle.mjs.map +1 -0
- package/blockui/style/package.json +6 -0
- package/breadcrumb/BaseBreadcrumb.vue +26 -0
- package/breadcrumb/Breadcrumb.d.ts +241 -0
- package/breadcrumb/Breadcrumb.vue +31 -0
- package/breadcrumb/BreadcrumbItem.vue +87 -0
- package/breadcrumb/breadcrumb.mjs +176 -0
- package/breadcrumb/breadcrumb.mjs.map +1 -0
- package/breadcrumb/package.json +11 -0
- package/breadcrumb/style/BreadcrumbStyle.d.ts +47 -0
- package/breadcrumb/style/breadcrumbstyle.mjs +29 -0
- package/breadcrumb/style/breadcrumbstyle.mjs.map +1 -0
- package/breadcrumb/style/package.json +6 -0
- package/button/BaseButton.vue +86 -0
- package/button/Button.d.ts +259 -0
- package/button/Button.vue +57 -0
- package/button/button.mjs +172 -0
- package/button/button.mjs.map +1 -0
- package/button/package.json +11 -0
- package/button/style/ButtonStyle.d.ts +31 -0
- package/button/style/buttonstyle.mjs +36 -0
- package/button/style/buttonstyle.mjs.map +1 -0
- package/button/style/package.json +6 -0
- package/buttongroup/BaseButtonGroup.vue +16 -0
- package/buttongroup/ButtonGroup.d.ts +120 -0
- package/buttongroup/ButtonGroup.vue +15 -0
- package/buttongroup/buttongroup.mjs +33 -0
- package/buttongroup/buttongroup.mjs.map +1 -0
- package/buttongroup/package.json +11 -0
- package/buttongroup/style/ButtonGroupStyle.d.ts +19 -0
- package/buttongroup/style/buttongroupstyle.mjs +17 -0
- package/buttongroup/style/buttongroupstyle.mjs.map +1 -0
- package/buttongroup/style/package.json +6 -0
- package/calendar/Calendar.d.ts +127 -0
- package/calendar/Calendar.vue +11 -0
- package/calendar/calendar.mjs +12 -0
- package/calendar/calendar.mjs.map +1 -0
- package/calendar/package.json +11 -0
- package/calendar/style/CalendarStyle.d.ts +14 -0
- package/calendar/style/calendarstyle.mjs +8 -0
- package/calendar/style/calendarstyle.mjs.map +1 -0
- package/calendar/style/package.json +6 -0
- package/card/BaseCard.vue +16 -0
- package/card/Card.d.ts +168 -0
- package/card/Card.vue +33 -0
- package/card/card.mjs +51 -0
- package/card/card.mjs.map +1 -0
- package/card/package.json +11 -0
- package/card/style/CardStyle.d.ts +47 -0
- package/card/style/cardstyle.mjs +24 -0
- package/card/style/cardstyle.mjs.map +1 -0
- package/card/style/package.json +6 -0
- package/carousel/BaseCarousel.vue +71 -0
- package/carousel/Carousel.d.ts +403 -0
- package/carousel/Carousel.vue +653 -0
- package/carousel/carousel.mjs +730 -0
- package/carousel/carousel.mjs.map +1 -0
- package/carousel/package.json +11 -0
- package/carousel/style/CarouselStyle.d.ts +71 -0
- package/carousel/style/carouselstyle.mjs +70 -0
- package/carousel/style/carouselstyle.mjs.map +1 -0
- package/carousel/style/package.json +6 -0
- package/cascadeselect/BaseCascadeSelect.vue +144 -0
- package/cascadeselect/CascadeSelect.d.ts +567 -0
- package/cascadeselect/CascadeSelect.vue +784 -0
- package/cascadeselect/CascadeSelectSub.vue +176 -0
- package/cascadeselect/cascadeselect.mjs +1250 -0
- package/cascadeselect/cascadeselect.mjs.map +1 -0
- package/cascadeselect/package.json +11 -0
- package/cascadeselect/style/CascadeSelectStyle.d.ts +67 -0
- package/cascadeselect/style/cascadeselectstyle.mjs +66 -0
- package/cascadeselect/style/cascadeselectstyle.mjs.map +1 -0
- package/cascadeselect/style/package.json +6 -0
- package/chart/BaseChart.vue +34 -0
- package/chart/Chart.d.ts +211 -0
- package/chart/Chart.vue +97 -0
- package/chart/chart.mjs +153 -0
- package/chart/chart.mjs.map +1 -0
- package/chart/package.json +11 -0
- package/chart/style/ChartStyle.d.ts +19 -0
- package/chart/style/chartstyle.mjs +18 -0
- package/chart/style/chartstyle.mjs.map +1 -0
- package/chart/style/package.json +6 -0
- package/checkbox/BaseCheckbox.vue +81 -0
- package/checkbox/Checkbox.d.ts +283 -0
- package/checkbox/Checkbox.vue +102 -0
- package/checkbox/checkbox.mjs +208 -0
- package/checkbox/checkbox.mjs.map +1 -0
- package/checkbox/package.json +11 -0
- package/checkbox/style/CheckboxStyle.d.ts +31 -0
- package/checkbox/style/checkboxstyle.mjs +29 -0
- package/checkbox/style/checkboxstyle.mjs.map +1 -0
- package/checkbox/style/package.json +6 -0
- package/chip/BaseChip.vue +38 -0
- package/chip/Chip.d.ts +206 -0
- package/chip/Chip.vue +44 -0
- package/chip/chip.mjs +106 -0
- package/chip/chip.mjs.map +1 -0
- package/chip/package.json +11 -0
- package/chip/style/ChipStyle.d.ts +35 -0
- package/chip/style/chipstyle.mjs +21 -0
- package/chip/style/chipstyle.mjs.map +1 -0
- package/chip/style/package.json +6 -0
- package/chips/Chips.d.ts +90 -0
- package/chips/Chips.vue +11 -0
- package/chips/chips.mjs +12 -0
- package/chips/chips.mjs.map +1 -0
- package/chips/package.json +11 -0
- package/chips/style/ChipsStyle.d.ts +14 -0
- package/chips/style/chipsstyle.mjs +8 -0
- package/chips/style/chipsstyle.mjs.map +1 -0
- package/chips/style/package.json +6 -0
- package/colorpicker/BaseColorPicker.vue +55 -0
- package/colorpicker/ColorPicker.d.ts +254 -0
- package/colorpicker/ColorPicker.vue +569 -0
- package/colorpicker/colorpicker.mjs +646 -0
- package/colorpicker/colorpicker.mjs.map +1 -0
- package/colorpicker/package.json +11 -0
- package/colorpicker/style/ColorPickerStyle.d.ts +47 -0
- package/colorpicker/style/colorpickerstyle.mjs +35 -0
- package/colorpicker/style/colorpickerstyle.mjs.map +1 -0
- package/colorpicker/style/package.json +6 -0
- package/column/BaseColumn.vue +194 -0
- package/column/Column.d.ts +1006 -0
- package/column/Column.vue +19 -0
- package/column/column.mjs +213 -0
- package/column/column.mjs.map +1 -0
- package/column/package.json +11 -0
- package/column/style/ColumnStyle.d.ts +15 -0
- package/column/style/columnstyle.mjs +8 -0
- package/column/style/columnstyle.mjs.map +1 -0
- package/column/style/package.json +6 -0
- package/columngroup/BaseColumnGroup.vue +22 -0
- package/columngroup/ColumnGroup.d.ts +145 -0
- package/columngroup/ColumnGroup.vue +19 -0
- package/columngroup/columngroup.mjs +41 -0
- package/columngroup/columngroup.mjs.map +1 -0
- package/columngroup/package.json +11 -0
- package/columngroup/style/ColumnGroupStyle.d.ts +15 -0
- package/columngroup/style/columngroupstyle.mjs +8 -0
- package/columngroup/style/columngroupstyle.mjs.map +1 -0
- package/columngroup/style/package.json +6 -0
- package/config/Config.d.ts +425 -0
- package/config/config.mjs +3 -0
- package/config/config.mjs.map +1 -0
- package/config/package.json +5 -0
- package/confirmationeventbus/confirmationeventbus.mjs +6 -0
- package/confirmationeventbus/confirmationeventbus.mjs.map +1 -0
- package/confirmationeventbus/package.json +4 -0
- package/confirmationoptions/ConfirmationOptions.d.ts +99 -0
- package/confirmationservice/ConfirmationService.d.ts +40 -0
- package/confirmationservice/confirmationservice.mjs +20 -0
- package/confirmationservice/confirmationservice.mjs.map +1 -0
- package/confirmationservice/package.json +5 -0
- package/confirmdialog/BaseConfirmDialog.vue +27 -0
- package/confirmdialog/ConfirmDialog.d.ts +291 -0
- package/confirmdialog/ConfirmDialog.vue +182 -0
- package/confirmdialog/confirmdialog.mjs +260 -0
- package/confirmdialog/confirmdialog.mjs.map +1 -0
- package/confirmdialog/package.json +11 -0
- package/confirmdialog/style/ConfirmDialogStyle.d.ts +35 -0
- package/confirmdialog/style/confirmdialogstyle.mjs +21 -0
- package/confirmdialog/style/confirmdialogstyle.mjs.map +1 -0
- package/confirmdialog/style/package.json +6 -0
- package/confirmpopup/BaseConfirmPopup.vue +19 -0
- package/confirmpopup/ConfirmPopup.d.ts +241 -0
- package/confirmpopup/ConfirmPopup.vue +336 -0
- package/confirmpopup/confirmpopup.mjs +396 -0
- package/confirmpopup/confirmpopup.mjs.map +1 -0
- package/confirmpopup/package.json +11 -0
- package/confirmpopup/style/ConfirmPopupStyle.d.ts +43 -0
- package/confirmpopup/style/confirmpopupstyle.mjs +23 -0
- package/confirmpopup/style/confirmpopupstyle.mjs.map +1 -0
- package/confirmpopup/style/package.json +6 -0
- package/contextmenu/BaseContextMenu.vue +50 -0
- package/contextmenu/ContextMenu.d.ts +413 -0
- package/contextmenu/ContextMenu.vue +600 -0
- package/contextmenu/ContextMenuSub.vue +227 -0
- package/contextmenu/contextmenu.mjs +988 -0
- package/contextmenu/contextmenu.mjs.map +1 -0
- package/contextmenu/package.json +11 -0
- package/contextmenu/style/ContextMenuStyle.d.ts +56 -0
- package/contextmenu/style/contextmenustyle.mjs +34 -0
- package/contextmenu/style/contextmenustyle.mjs.map +1 -0
- package/contextmenu/style/package.json +6 -0
- package/datatable/BaseDataTable.vue +309 -0
- package/datatable/BodyCell.vue +577 -0
- package/datatable/BodyRow.vue +598 -0
- package/datatable/ColumnFilter.vue +736 -0
- package/datatable/DataTable.d.ts +1639 -0
- package/datatable/DataTable.vue +2061 -0
- package/datatable/FooterCell.vue +104 -0
- package/datatable/HeaderCell.vue +377 -0
- package/datatable/HeaderCheckbox.vue +67 -0
- package/datatable/RowCheckbox.vue +74 -0
- package/datatable/RowRadioButton.vue +59 -0
- package/datatable/TableBody.vue +303 -0
- package/datatable/TableFooter.vue +131 -0
- package/datatable/TableHeader.vue +345 -0
- package/datatable/datatable.mjs +6379 -0
- package/datatable/datatable.mjs.map +1 -0
- package/datatable/package.json +11 -0
- package/datatable/style/DataTableStyle.d.ts +207 -0
- package/datatable/style/datatablestyle.mjs +169 -0
- package/datatable/style/datatablestyle.mjs.map +1 -0
- package/datatable/style/package.json +6 -0
- package/dataview/BaseDataView.vue +82 -0
- package/dataview/DataView.d.ts +356 -0
- package/dataview/DataView.vue +172 -0
- package/dataview/dataview.mjs +283 -0
- package/dataview/dataview.mjs.map +1 -0
- package/dataview/package.json +11 -0
- package/dataview/style/DataViewStyle.d.ts +39 -0
- package/dataview/style/dataviewstyle.mjs +32 -0
- package/dataview/style/dataviewstyle.mjs.map +1 -0
- package/dataview/style/package.json +6 -0
- package/datepicker/BaseDatePicker.vue +248 -0
- package/datepicker/DatePicker.d.ts +1047 -0
- package/datepicker/DatePicker.vue +2951 -0
- package/datepicker/datepicker.mjs +3323 -0
- package/datepicker/datepicker.mjs.map +1 -0
- package/datepicker/package.json +11 -0
- package/datepicker/style/DatePickerStyle.d.ts +167 -0
- package/datepicker/style/datepickerstyle.mjs +114 -0
- package/datepicker/style/datepickerstyle.mjs.map +1 -0
- package/datepicker/style/package.json +6 -0
- package/deferredcontent/DeferredContent.d.ts +148 -0
- package/deferredcontent/DeferredContent.vue +65 -0
- package/deferredcontent/deferredcontent.mjs +69 -0
- package/deferredcontent/deferredcontent.mjs.map +1 -0
- package/deferredcontent/package.json +11 -0
- package/deferredcontent/style/DeferredContentStyle.d.ts +14 -0
- package/deferredcontent/style/deferredcontentstyle.mjs +8 -0
- package/deferredcontent/style/deferredcontentstyle.mjs.map +1 -0
- package/deferredcontent/style/package.json +6 -0
- package/dialog/BaseDialog.vue +139 -0
- package/dialog/Dialog.d.ts +433 -0
- package/dialog/Dialog.vue +418 -0
- package/dialog/dialog.mjs +608 -0
- package/dialog/dialog.mjs.map +1 -0
- package/dialog/package.json +11 -0
- package/dialog/style/DialogStyle.d.ts +51 -0
- package/dialog/style/dialogstyle.mjs +65 -0
- package/dialog/style/dialogstyle.mjs.map +1 -0
- package/dialog/style/package.json +6 -0
- package/dialogservice/DialogService.d.ts +39 -0
- package/dialogservice/dialogservice.mjs +34 -0
- package/dialogservice/dialogservice.mjs.map +1 -0
- package/dialogservice/package.json +5 -0
- package/divider/BaseDivider.vue +30 -0
- package/divider/Divider.d.ts +143 -0
- package/divider/Divider.vue +17 -0
- package/divider/divider.mjs +53 -0
- package/divider/divider.mjs.map +1 -0
- package/divider/package.json +11 -0
- package/divider/style/DividerStyle.d.ts +23 -0
- package/divider/style/dividerstyle.mjs +45 -0
- package/divider/style/dividerstyle.mjs.map +1 -0
- package/divider/style/package.json +6 -0
- package/dock/BaseDock.vue +46 -0
- package/dock/Dock.d.ts +331 -0
- package/dock/Dock.vue +60 -0
- package/dock/DockSub.vue +286 -0
- package/dock/dock.mjs +423 -0
- package/dock/dock.mjs.map +1 -0
- package/dock/package.json +11 -0
- package/dock/style/DockStyle.d.ts +43 -0
- package/dock/style/dockstyle.mjs +37 -0
- package/dock/style/dockstyle.mjs.map +1 -0
- package/dock/style/package.json +6 -0
- package/drawer/BaseDrawer.vue +73 -0
- package/drawer/Drawer.d.ts +286 -0
- package/drawer/Drawer.vue +234 -0
- package/drawer/drawer.mjs +341 -0
- package/drawer/drawer.mjs.map +1 -0
- package/drawer/package.json +11 -0
- package/drawer/style/DrawerStyle.d.ts +39 -0
- package/drawer/style/drawerstyle.mjs +56 -0
- package/drawer/style/drawerstyle.mjs.map +1 -0
- package/drawer/style/package.json +6 -0
- package/dropdown/Dropdown.d.ts +108 -0
- package/dropdown/Dropdown.vue +11 -0
- package/dropdown/dropdown.mjs +12 -0
- package/dropdown/dropdown.mjs.map +1 -0
- package/dropdown/package.json +11 -0
- package/dropdown/style/DropdownStyle.d.ts +14 -0
- package/dropdown/style/dropdownstyle.mjs +8 -0
- package/dropdown/style/dropdownstyle.mjs.map +1 -0
- package/dropdown/style/package.json +6 -0
- package/dynamicdialog/BaseDynamicDialog.vue +17 -0
- package/dynamicdialog/DynamicDialog.d.ts +55 -0
- package/dynamicdialog/DynamicDialog.vue +77 -0
- package/dynamicdialog/dynamicdialog.mjs +134 -0
- package/dynamicdialog/dynamicdialog.mjs.map +1 -0
- package/dynamicdialog/package.json +11 -0
- package/dynamicdialog/style/DynamicDialogStyle.d.ts +14 -0
- package/dynamicdialog/style/dynamicdialogstyle.mjs +8 -0
- package/dynamicdialog/style/dynamicdialogstyle.mjs.map +1 -0
- package/dynamicdialog/style/package.json +6 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.mjs +6 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.mjs.map +1 -0
- package/dynamicdialogeventbus/package.json +4 -0
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +93 -0
- package/editor/BaseEditor.vue +24 -0
- package/editor/Editor.d.ts +320 -0
- package/editor/Editor.vue +178 -0
- package/editor/editor.mjs +238 -0
- package/editor/editor.mjs.map +1 -0
- package/editor/package.json +11 -0
- package/editor/style/EditorStyle.d.ts +27 -0
- package/editor/style/editorstyle.mjs +19 -0
- package/editor/style/editorstyle.mjs.map +1 -0
- package/editor/style/package.json +6 -0
- package/fieldset/BaseFieldset.vue +25 -0
- package/fieldset/Fieldset.d.ts +253 -0
- package/fieldset/Fieldset.vue +95 -0
- package/fieldset/fieldset.mjs +147 -0
- package/fieldset/fieldset.mjs.map +1 -0
- package/fieldset/package.json +11 -0
- package/fieldset/style/FieldsetStyle.d.ts +39 -0
- package/fieldset/style/fieldsetstyle.mjs +28 -0
- package/fieldset/style/fieldsetstyle.mjs.map +1 -0
- package/fieldset/style/package.json +6 -0
- package/fileupload/BaseFileUpload.vue +128 -0
- package/fileupload/FileContent.vue +75 -0
- package/fileupload/FileUpload.d.ts +670 -0
- package/fileupload/FileUpload.vue +448 -0
- package/fileupload/fileupload.mjs +870 -0
- package/fileupload/fileupload.mjs.map +1 -0
- package/fileupload/package.json +11 -0
- package/fileupload/style/FileUploadStyle.d.ts +75 -0
- package/fileupload/style/fileuploadstyle.mjs +34 -0
- package/fileupload/style/fileuploadstyle.mjs.map +1 -0
- package/fileupload/style/package.json +6 -0
- package/floatlabel/BaseFloatLabel.vue +17 -0
- package/floatlabel/FloatLabel.d.ts +130 -0
- package/floatlabel/FloatLabel.vue +15 -0
- package/floatlabel/floatlabel.mjs +33 -0
- package/floatlabel/floatlabel.mjs.map +1 -0
- package/floatlabel/package.json +11 -0
- package/floatlabel/style/FloatLabelStyle.d.ts +19 -0
- package/floatlabel/style/floatlabelstyle.mjs +17 -0
- package/floatlabel/style/floatlabelstyle.mjs.map +1 -0
- package/floatlabel/style/package.json +6 -0
- package/focustrap/FocusTrap.d.ts +100 -0
- package/focustrap/focustrap.mjs +141 -0
- package/focustrap/focustrap.mjs.map +1 -0
- package/focustrap/package.json +5 -0
- package/focustrap/style/FocusTrapStyle.d.ts +14 -0
- package/focustrap/style/focustrapstyle.mjs +8 -0
- package/focustrap/style/focustrapstyle.mjs.map +1 -0
- package/focustrap/style/package.json +6 -0
- package/galleria/BaseGalleria.vue +134 -0
- package/galleria/Galleria.d.ts +541 -0
- package/galleria/Galleria.vue +95 -0
- package/galleria/GalleriaContent.vue +168 -0
- package/galleria/GalleriaItem.vue +271 -0
- package/galleria/GalleriaThumbnails.vue +546 -0
- package/galleria/galleria.mjs +1278 -0
- package/galleria/galleria.mjs.map +1 -0
- package/galleria/package.json +11 -0
- package/galleria/style/GalleriaStyle.d.ts +127 -0
- package/galleria/style/galleriastyle.mjs +89 -0
- package/galleria/style/galleriastyle.mjs.map +1 -0
- package/galleria/style/package.json +6 -0
- package/iconfield/BaseIconField.vue +16 -0
- package/iconfield/IconField.d.ts +128 -0
- package/iconfield/IconField.vue +15 -0
- package/iconfield/iconfield.mjs +32 -0
- package/iconfield/iconfield.mjs.map +1 -0
- package/iconfield/package.json +11 -0
- package/iconfield/style/IconFieldStyle.d.ts +19 -0
- package/iconfield/style/iconfieldstyle.mjs +17 -0
- package/iconfield/style/iconfieldstyle.mjs.map +1 -0
- package/iconfield/style/package.json +6 -0
- package/image/BaseImage.vue +58 -0
- package/image/Image.d.ts +362 -0
- package/image/Image.vue +233 -0
- package/image/image.mjs +387 -0
- package/image/image.mjs.map +1 -0
- package/image/package.json +11 -0
- package/image/style/ImageStyle.d.ts +59 -0
- package/image/style/imagestyle.mjs +42 -0
- package/image/style/imagestyle.mjs.map +1 -0
- package/image/style/package.json +6 -0
- package/inlinemessage/BaseInlineMessage.vue +26 -0
- package/inlinemessage/InlineMessage.d.ts +162 -0
- package/inlinemessage/InlineMessage.vue +47 -0
- package/inlinemessage/inlinemessage.mjs +80 -0
- package/inlinemessage/inlinemessage.mjs.map +1 -0
- package/inlinemessage/package.json +11 -0
- package/inlinemessage/style/InlineMessageStyle.d.ts +27 -0
- package/inlinemessage/style/inlinemessagestyle.mjs +28 -0
- package/inlinemessage/style/inlinemessagestyle.mjs.map +1 -0
- package/inlinemessage/style/package.json +6 -0
- package/inplace/BaseInplace.vue +30 -0
- package/inplace/Inplace.d.ts +209 -0
- package/inplace/Inplace.vue +53 -0
- package/inplace/inplace.mjs +101 -0
- package/inplace/inplace.mjs.map +1 -0
- package/inplace/package.json +11 -0
- package/inplace/style/InplaceStyle.d.ts +27 -0
- package/inplace/style/inplacestyle.mjs +24 -0
- package/inplace/style/inplacestyle.mjs.map +1 -0
- package/inplace/style/package.json +6 -0
- package/inputchips/BaseInputChips.vue +86 -0
- package/inputchips/InputChips.d.ts +349 -0
- package/inputchips/InputChips.vue +271 -0
- package/inputchips/inputchips.mjs +394 -0
- package/inputchips/inputchips.mjs.map +1 -0
- package/inputchips/package.json +11 -0
- package/inputchips/style/InputChipsStyle.d.ts +39 -0
- package/inputchips/style/inputchipsstyle.mjs +44 -0
- package/inputchips/style/inputchipsstyle.mjs.map +1 -0
- package/inputchips/style/package.json +6 -0
- package/inputgroup/BaseInputGroup.vue +16 -0
- package/inputgroup/InputGroup.d.ts +129 -0
- package/inputgroup/InputGroup.vue +15 -0
- package/inputgroup/inputgroup.mjs +32 -0
- package/inputgroup/inputgroup.mjs.map +1 -0
- package/inputgroup/package.json +11 -0
- package/inputgroup/style/InputGroupStyle.d.ts +19 -0
- package/inputgroup/style/inputgroupstyle.mjs +17 -0
- package/inputgroup/style/inputgroupstyle.mjs.map +1 -0
- package/inputgroup/style/package.json +6 -0
- package/inputgroupaddon/BaseInputGroupAddon.vue +16 -0
- package/inputgroupaddon/InputGroupAddon.d.ts +129 -0
- package/inputgroupaddon/InputGroupAddon.vue +15 -0
- package/inputgroupaddon/inputgroupaddon.mjs +32 -0
- package/inputgroupaddon/inputgroupaddon.mjs.map +1 -0
- package/inputgroupaddon/package.json +11 -0
- package/inputgroupaddon/style/InputGroupAddonStyle.d.ts +19 -0
- package/inputgroupaddon/style/inputgroupaddonstyle.mjs +12 -0
- package/inputgroupaddon/style/inputgroupaddonstyle.mjs.map +1 -0
- package/inputgroupaddon/style/package.json +6 -0
- package/inputicon/BaseInputIcon.vue +19 -0
- package/inputicon/InputIcon.d.ts +124 -0
- package/inputicon/InputIcon.vue +20 -0
- package/inputicon/inputicon.mjs +40 -0
- package/inputicon/inputicon.mjs.map +1 -0
- package/inputicon/package.json +11 -0
- package/inputicon/style/InputIconStyle.d.ts +19 -0
- package/inputicon/style/inputiconstyle.mjs +12 -0
- package/inputicon/style/inputiconstyle.mjs.map +1 -0
- package/inputicon/style/package.json +6 -0
- package/inputmask/BaseInputMask.vue +55 -0
- package/inputmask/InputMask.d.ts +231 -0
- package/inputmask/InputMask.vue +532 -0
- package/inputmask/inputmask.mjs +512 -0
- package/inputmask/inputmask.mjs.map +1 -0
- package/inputmask/package.json +11 -0
- package/inputmask/style/InputMaskStyle.d.ts +19 -0
- package/inputmask/style/inputmaskstyle.mjs +12 -0
- package/inputmask/style/inputmaskstyle.mjs.map +1 -0
- package/inputmask/style/package.json +6 -0
- package/inputnumber/BaseInputNumber.vue +165 -0
- package/inputnumber/InputNumber.d.ts +477 -0
- package/inputnumber/InputNumber.vue +987 -0
- package/inputnumber/inputnumber.mjs +1134 -0
- package/inputnumber/inputnumber.mjs.map +1 -0
- package/inputnumber/package.json +11 -0
- package/inputnumber/style/InputNumberStyle.d.ts +35 -0
- package/inputnumber/style/inputnumberstyle.mjs +43 -0
- package/inputnumber/style/inputnumberstyle.mjs.map +1 -0
- package/inputnumber/style/package.json +6 -0
- package/inputotp/BaseInputOtp.vue +54 -0
- package/inputotp/InputOtp.d.ts +281 -0
- package/inputotp/InputOtp.vue +194 -0
- package/inputotp/inputotp.mjs +255 -0
- package/inputotp/inputotp.mjs.map +1 -0
- package/inputotp/package.json +11 -0
- package/inputotp/style/InputOtpStyle.d.ts +23 -0
- package/inputotp/style/inputotpstyle.mjs +18 -0
- package/inputotp/style/inputotpstyle.mjs.map +1 -0
- package/inputotp/style/package.json +6 -0
- package/inputswitch/InputSwitch.d.ts +69 -0
- package/inputswitch/InputSwitch.vue +11 -0
- package/inputswitch/inputswitch.mjs +12 -0
- package/inputswitch/inputswitch.mjs.map +1 -0
- package/inputswitch/package.json +11 -0
- package/inputswitch/style/InputSwitchStyle.d.ts +14 -0
- package/inputswitch/style/inputswitchstyle.mjs +8 -0
- package/inputswitch/style/inputswitchstyle.mjs.map +1 -0
- package/inputswitch/style/package.json +6 -0
- package/inputtext/BaseInputText.vue +31 -0
- package/inputtext/InputText.d.ts +163 -0
- package/inputtext/InputText.vue +34 -0
- package/inputtext/inputtext.mjs +74 -0
- package/inputtext/inputtext.mjs.map +1 -0
- package/inputtext/package.json +11 -0
- package/inputtext/style/InputTextStyle.d.ts +19 -0
- package/inputtext/style/inputtextstyle.mjs +27 -0
- package/inputtext/style/inputtextstyle.mjs.map +1 -0
- package/inputtext/style/package.json +6 -0
- package/knob/BaseKnob.vue +89 -0
- package/knob/Knob.d.ts +259 -0
- package/knob/Knob.vue +227 -0
- package/knob/knob.mjs +333 -0
- package/knob/knob.mjs.map +1 -0
- package/knob/package.json +11 -0
- package/knob/style/KnobStyle.d.ts +31 -0
- package/knob/style/knobstyle.mjs +25 -0
- package/knob/style/knobstyle.mjs.map +1 -0
- package/knob/style/package.json +6 -0
- package/listbox/BaseListbox.vue +122 -0
- package/listbox/Listbox.d.ts +621 -0
- package/listbox/Listbox.vue +782 -0
- package/listbox/listbox.mjs +1051 -0
- package/listbox/listbox.mjs.map +1 -0
- package/listbox/package.json +11 -0
- package/listbox/style/ListboxStyle.d.ts +55 -0
- package/listbox/style/listboxstyle.mjs +44 -0
- package/listbox/style/listboxstyle.mjs.map +1 -0
- package/listbox/style/package.json +6 -0
- package/megamenu/BaseMegaMenu.vue +46 -0
- package/megamenu/MegaMenu.d.ts +410 -0
- package/megamenu/MegaMenu.vue +673 -0
- package/megamenu/MegaMenuSub.vue +228 -0
- package/megamenu/megamenu.mjs +1051 -0
- package/megamenu/megamenu.mjs.map +1 -0
- package/megamenu/package.json +11 -0
- package/megamenu/style/MegaMenuStyle.d.ts +83 -0
- package/megamenu/style/megamenustyle.mjs +90 -0
- package/megamenu/style/megamenustyle.mjs.map +1 -0
- package/megamenu/style/package.json +6 -0
- package/menu/BaseMenu.vue +50 -0
- package/menu/Menu.d.ts +381 -0
- package/menu/Menu.vue +390 -0
- package/menu/Menuitem.vue +110 -0
- package/menu/menu.mjs +596 -0
- package/menu/menu.mjs.map +1 -0
- package/menu/package.json +11 -0
- package/menu/style/MenuStyle.d.ts +59 -0
- package/menu/style/menustyle.mjs +38 -0
- package/menu/style/menustyle.mjs.map +1 -0
- package/menu/style/package.json +6 -0
- package/menubar/BaseMenubar.vue +38 -0
- package/menubar/Menubar.d.ts +423 -0
- package/menubar/Menubar.vue +638 -0
- package/menubar/MenubarSub.vue +224 -0
- package/menubar/menubar.mjs +1013 -0
- package/menubar/menubar.mjs.map +1 -0
- package/menubar/package.json +11 -0
- package/menubar/style/MenubarStyle.d.ts +67 -0
- package/menubar/style/menubarstyle.mjs +53 -0
- package/menubar/style/menubarstyle.mjs.map +1 -0
- package/menubar/style/package.json +6 -0
- package/menuitem/MenuItem.d.ts +89 -0
- package/message/BaseMessage.vue +42 -0
- package/message/Message.d.ts +238 -0
- package/message/Message.vue +81 -0
- package/message/message.mjs +159 -0
- package/message/message.mjs.map +1 -0
- package/message/package.json +11 -0
- package/message/style/MessageStyle.d.ts +39 -0
- package/message/style/messagestyle.mjs +25 -0
- package/message/style/messagestyle.mjs.map +1 -0
- package/message/style/package.json +6 -0
- package/metergroup/BaseMeterGroup.vue +42 -0
- package/metergroup/MeterGroup.d.ts +312 -0
- package/metergroup/MeterGroup.vue +74 -0
- package/metergroup/MeterGroupLabel.vue +36 -0
- package/metergroup/metergroup.mjs +218 -0
- package/metergroup/metergroup.mjs.map +1 -0
- package/metergroup/package.json +11 -0
- package/metergroup/style/MeterGroupStyle.d.ts +47 -0
- package/metergroup/style/metergroupstyle.mjs +36 -0
- package/metergroup/style/metergroupstyle.mjs.map +1 -0
- package/metergroup/style/package.json +6 -0
- package/multiselect/BaseMultiSelect.vue +187 -0
- package/multiselect/MultiSelect.d.ts +898 -0
- package/multiselect/MultiSelect.vue +1131 -0
- package/multiselect/multiselect.mjs +1529 -0
- package/multiselect/multiselect.mjs.map +1 -0
- package/multiselect/package.json +11 -0
- package/multiselect/style/MultiSelectStyle.d.ts +87 -0
- package/multiselect/style/multiselectstyle.mjs +74 -0
- package/multiselect/style/multiselectstyle.mjs.map +1 -0
- package/multiselect/style/package.json +6 -0
- package/orderlist/BaseOrderList.vue +100 -0
- package/orderlist/OrderList.d.ts +404 -0
- package/orderlist/OrderList.vue +323 -0
- package/orderlist/orderlist.mjs +453 -0
- package/orderlist/orderlist.mjs.map +1 -0
- package/orderlist/package.json +11 -0
- package/orderlist/style/OrderListStyle.d.ts +23 -0
- package/orderlist/style/orderliststyle.mjs +18 -0
- package/orderlist/style/orderliststyle.mjs.map +1 -0
- package/orderlist/style/package.json +6 -0
- package/organizationchart/BaseOrganizationChart.vue +38 -0
- package/organizationchart/OrganizationChart.d.ts +376 -0
- package/organizationchart/OrganizationChart.vue +78 -0
- package/organizationchart/OrganizationChartNode.vue +165 -0
- package/organizationchart/organizationchart.mjs +316 -0
- package/organizationchart/organizationchart.mjs.map +1 -0
- package/organizationchart/package.json +11 -0
- package/organizationchart/style/OrganizationChartStyle.d.ts +55 -0
- package/organizationchart/style/organizationchartstyle.mjs +43 -0
- package/organizationchart/style/organizationchartstyle.mjs.map +1 -0
- package/organizationchart/style/package.json +6 -0
- package/overlaybadge/BaseOverlayBadge.vue +16 -0
- package/overlaybadge/OverlayBadge.d.ts +152 -0
- package/overlaybadge/OverlayBadge.vue +16 -0
- package/overlaybadge/overlaybadge.mjs +35 -0
- package/overlaybadge/overlaybadge.mjs.map +1 -0
- package/overlaybadge/package.json +11 -0
- package/overlaybadge/style/OverlayBadgeStyle.d.ts +19 -0
- package/overlaybadge/style/overlaybadgestyle.mjs +17 -0
- package/overlaybadge/style/overlaybadgestyle.mjs.map +1 -0
- package/overlaybadge/style/package.json +6 -0
- package/overlayeventbus/overlayeventbus.mjs +6 -0
- package/overlayeventbus/overlayeventbus.mjs.map +1 -0
- package/overlayeventbus/package.json +4 -0
- package/overlaypanel/OverlayPanel.d.ts +110 -0
- package/overlaypanel/OverlayPanel.vue +11 -0
- package/overlaypanel/overlaypanel.mjs +12 -0
- package/overlaypanel/overlaypanel.mjs.map +1 -0
- package/overlaypanel/package.json +11 -0
- package/overlaypanel/style/OverlayPanelStyle.d.ts +12 -0
- package/overlaypanel/style/overlaypanelstyle.mjs +8 -0
- package/overlaypanel/style/overlaypanelstyle.mjs.map +1 -0
- package/overlaypanel/style/package.json +6 -0
- package/package.json +52 -0
- package/paginator/BasePaginator.vue +50 -0
- package/paginator/CurrentPageReport.vue +56 -0
- package/paginator/FirstPageLink.vue +38 -0
- package/paginator/JumpToPageDropdown.vue +55 -0
- package/paginator/JumpToPageInput.vue +47 -0
- package/paginator/LastPageLink.vue +38 -0
- package/paginator/NextPageLink.vue +38 -0
- package/paginator/PageLinks.vue +56 -0
- package/paginator/Paginator.d.ts +460 -0
- package/paginator/Paginator.vue +343 -0
- package/paginator/PrevPageLink.vue +38 -0
- package/paginator/RowsPerPageDropdown.vue +57 -0
- package/paginator/package.json +11 -0
- package/paginator/paginator.mjs +873 -0
- package/paginator/paginator.mjs.map +1 -0
- package/paginator/style/PaginatorStyle.d.ts +83 -0
- package/paginator/style/package.json +6 -0
- package/paginator/style/paginatorstyle.mjs +69 -0
- package/paginator/style/paginatorstyle.mjs.map +1 -0
- package/panel/BasePanel.vue +31 -0
- package/panel/Panel.d.ts +281 -0
- package/panel/Panel.vue +104 -0
- package/panel/package.json +11 -0
- package/panel/panel.mjs +155 -0
- package/panel/panel.mjs.map +1 -0
- package/panel/style/PanelStyle.d.ts +47 -0
- package/panel/style/package.json +6 -0
- package/panel/style/panelstyle.mjs +29 -0
- package/panel/style/panelstyle.mjs.map +1 -0
- package/panelmenu/BasePanelMenu.vue +34 -0
- package/panelmenu/PanelMenu.d.ts +414 -0
- package/panelmenu/PanelMenu.vue +274 -0
- package/panelmenu/PanelMenuList.vue +399 -0
- package/panelmenu/PanelMenuSub.vue +211 -0
- package/panelmenu/package.json +11 -0
- package/panelmenu/panelmenu.mjs +1055 -0
- package/panelmenu/panelmenu.mjs.map +1 -0
- package/panelmenu/style/PanelMenuStyle.d.ts +84 -0
- package/panelmenu/style/package.json +6 -0
- package/panelmenu/style/panelmenustyle.mjs +48 -0
- package/panelmenu/style/panelmenustyle.mjs.map +1 -0
- package/passthrough/index.d.ts +8 -0
- package/passthrough/index.mjs +26 -0
- package/passthrough/index.mjs.map +1 -0
- package/passthrough/package.json +5 -0
- package/password/BasePassword.vue +147 -0
- package/password/Password.d.ts +425 -0
- package/password/Password.vue +328 -0
- package/password/package.json +11 -0
- package/password/password.mjs +499 -0
- package/password/password.mjs.map +1 -0
- package/password/style/PasswordStyle.d.ts +47 -0
- package/password/style/package.json +6 -0
- package/password/style/passwordstyle.mjs +44 -0
- package/password/style/passwordstyle.mjs.map +1 -0
- package/picklist/BasePickList.vue +116 -0
- package/picklist/PickList.d.ts +635 -0
- package/picklist/PickList.vue +654 -0
- package/picklist/package.json +11 -0
- package/picklist/picklist.mjs +905 -0
- package/picklist/picklist.mjs.map +1 -0
- package/picklist/style/PickListStyle.d.ts +39 -0
- package/picklist/style/package.json +6 -0
- package/picklist/style/pickliststyle.mjs +22 -0
- package/picklist/style/pickliststyle.mjs.map +1 -0
- package/popover/BasePopover.vue +42 -0
- package/popover/Popover.d.ts +257 -0
- package/popover/Popover.vue +314 -0
- package/popover/package.json +11 -0
- package/popover/popover.mjs +369 -0
- package/popover/popover.mjs.map +1 -0
- package/popover/style/PopoverStyle.d.ts +23 -0
- package/popover/style/package.json +6 -0
- package/popover/style/popoverstyle.mjs +18 -0
- package/popover/style/popoverstyle.mjs.map +1 -0
- package/portal/Portal.d.ts +39 -0
- package/portal/Portal.vue +41 -0
- package/portal/package.json +11 -0
- package/portal/portal.mjs +43 -0
- package/portal/portal.mjs.map +1 -0
- package/portal/style/PortalStyle.d.ts +12 -0
- package/portal/style/package.json +6 -0
- package/portal/style/portalstyle.mjs +8 -0
- package/portal/style/portalstyle.mjs.map +1 -0
- package/progressbar/BaseProgressBar.vue +30 -0
- package/progressbar/ProgressBar.d.ts +146 -0
- package/progressbar/ProgressBar.vue +34 -0
- package/progressbar/package.json +11 -0
- package/progressbar/progressbar.mjs +77 -0
- package/progressbar/progressbar.mjs.map +1 -0
- package/progressbar/style/ProgressBarStyle.d.ts +27 -0
- package/progressbar/style/package.json +6 -0
- package/progressbar/style/progressbarstyle.mjs +25 -0
- package/progressbar/style/progressbarstyle.mjs.map +1 -0
- package/progressspinner/BaseProgressSpinner.vue +30 -0
- package/progressspinner/ProgressSpinner.d.ts +144 -0
- package/progressspinner/ProgressSpinner.vue +24 -0
- package/progressspinner/package.json +11 -0
- package/progressspinner/progressspinner.mjs +67 -0
- package/progressspinner/progressspinner.mjs.map +1 -0
- package/progressspinner/style/ProgressSpinnerStyle.d.ts +27 -0
- package/progressspinner/style/package.json +6 -0
- package/progressspinner/style/progressspinnerstyle.mjs +19 -0
- package/progressspinner/style/progressspinnerstyle.mjs.map +1 -0
- package/radiobutton/BaseRadioButton.vue +65 -0
- package/radiobutton/RadioButton.d.ts +244 -0
- package/radiobutton/RadioButton.vue +69 -0
- package/radiobutton/package.json +11 -0
- package/radiobutton/radiobutton.mjs +144 -0
- package/radiobutton/radiobutton.mjs.map +1 -0
- package/radiobutton/style/RadioButtonStyle.d.ts +31 -0
- package/radiobutton/style/package.json +6 -0
- package/radiobutton/style/radiobuttonstyle.mjs +29 -0
- package/radiobutton/style/radiobuttonstyle.mjs.map +1 -0
- package/rating/BaseRating.vue +42 -0
- package/rating/Rating.d.ts +277 -0
- package/rating/Rating.vue +111 -0
- package/rating/package.json +11 -0
- package/rating/rating.mjs +189 -0
- package/rating/rating.mjs.map +1 -0
- package/rating/style/RatingStyle.d.ts +31 -0
- package/rating/style/package.json +6 -0
- package/rating/style/ratingstyle.mjs +34 -0
- package/rating/style/ratingstyle.mjs.map +1 -0
- package/ripple/Ripple.d.ts +87 -0
- package/ripple/package.json +5 -0
- package/ripple/ripple.mjs +111 -0
- package/ripple/ripple.mjs.map +1 -0
- package/ripple/style/RippleStyle.d.ts +19 -0
- package/ripple/style/package.json +6 -0
- package/ripple/style/ripplestyle.mjs +17 -0
- package/ripple/style/ripplestyle.mjs.map +1 -0
- package/row/Row.d.ts +126 -0
- package/row/Row.vue +18 -0
- package/row/package.json +11 -0
- package/row/row.mjs +21 -0
- package/row/row.mjs.map +1 -0
- package/row/style/RowStyle.d.ts +14 -0
- package/row/style/package.json +6 -0
- package/row/style/rowstyle.mjs +8 -0
- package/row/style/rowstyle.mjs.map +1 -0
- package/scrollpanel/BaseScrollPanel.vue +22 -0
- package/scrollpanel/ScrollPanel.d.ts +175 -0
- package/scrollpanel/ScrollPanel.vue +382 -0
- package/scrollpanel/package.json +11 -0
- package/scrollpanel/scrollpanel.mjs +406 -0
- package/scrollpanel/scrollpanel.mjs.map +1 -0
- package/scrollpanel/style/ScrollPanelStyle.d.ts +35 -0
- package/scrollpanel/style/package.json +6 -0
- package/scrollpanel/style/scrollpanelstyle.mjs +21 -0
- package/scrollpanel/style/scrollpanelstyle.mjs.map +1 -0
- package/scrolltop/BaseScrollTop.vue +40 -0
- package/scrolltop/ScrollTop.d.ts +195 -0
- package/scrolltop/ScrollTop.vue +109 -0
- package/scrolltop/package.json +11 -0
- package/scrolltop/scrolltop.mjs +169 -0
- package/scrolltop/scrolltop.mjs.map +1 -0
- package/scrolltop/style/ScrollTopStyle.d.ts +23 -0
- package/scrolltop/style/package.json +6 -0
- package/scrolltop/style/scrolltopstyle.mjs +23 -0
- package/scrolltop/style/scrolltopstyle.mjs.map +1 -0
- package/select/BaseSelect.vue +194 -0
- package/select/Select.d.ts +803 -0
- package/select/Select.vue +1011 -0
- package/select/package.json +11 -0
- package/select/select.mjs +1360 -0
- package/select/select.mjs.map +1 -0
- package/select/style/SelectStyle.d.ts +87 -0
- package/select/style/package.json +6 -0
- package/select/style/selectstyle.mjs +65 -0
- package/select/style/selectstyle.mjs.map +1 -0
- package/selectbutton/BaseSelectButton.vue +38 -0
- package/selectbutton/SelectButton.d.ts +264 -0
- package/selectbutton/SelectButton.vue +113 -0
- package/selectbutton/package.json +11 -0
- package/selectbutton/selectbutton.mjs +182 -0
- package/selectbutton/selectbutton.mjs.map +1 -0
- package/selectbutton/style/SelectButtonStyle.d.ts +19 -0
- package/selectbutton/style/package.json +6 -0
- package/selectbutton/style/selectbuttonstyle.mjs +22 -0
- package/selectbutton/style/selectbuttonstyle.mjs.map +1 -0
- package/sidebar/Sidebar.d.ts +79 -0
- package/sidebar/Sidebar.vue +11 -0
- package/sidebar/package.json +11 -0
- package/sidebar/sidebar.mjs +12 -0
- package/sidebar/sidebar.mjs.map +1 -0
- package/sidebar/style/SidebarStyle.d.ts +14 -0
- package/sidebar/style/package.json +6 -0
- package/sidebar/style/sidebarstyle.mjs +8 -0
- package/sidebar/style/sidebarstyle.mjs.map +1 -0
- package/skeleton/BaseSkeleton.vue +42 -0
- package/skeleton/Skeleton.d.ts +150 -0
- package/skeleton/Skeleton.vue +19 -0
- package/skeleton/package.json +11 -0
- package/skeleton/skeleton.mjs +73 -0
- package/skeleton/skeleton.mjs.map +1 -0
- package/skeleton/style/SkeletonStyle.d.ts +19 -0
- package/skeleton/style/package.json +6 -0
- package/skeleton/style/skeletonstyle.mjs +29 -0
- package/skeleton/style/skeletonstyle.mjs.map +1 -0
- package/slider/BaseSlider.vue +55 -0
- package/slider/Slider.d.ts +215 -0
- package/slider/Slider.vue +333 -0
- package/slider/package.json +11 -0
- package/slider/slider.mjs +407 -0
- package/slider/slider.mjs.map +1 -0
- package/slider/style/SliderStyle.d.ts +27 -0
- package/slider/style/package.json +6 -0
- package/slider/style/sliderstyle.mjs +35 -0
- package/slider/style/sliderstyle.mjs.map +1 -0
- package/speeddial/BaseSpeedDial.vue +89 -0
- package/speeddial/SpeedDial.d.ts +412 -0
- package/speeddial/SpeedDial.vue +470 -0
- package/speeddial/package.json +11 -0
- package/speeddial/speeddial.mjs +622 -0
- package/speeddial/speeddial.mjs.map +1 -0
- package/speeddial/style/SpeedDialStyle.d.ts +43 -0
- package/speeddial/style/package.json +6 -0
- package/speeddial/style/speeddialstyle.mjs +60 -0
- package/speeddial/style/speeddialstyle.mjs.map +1 -0
- package/splitbutton/BaseSplitButton.vue +98 -0
- package/splitbutton/SplitButton.d.ts +342 -0
- package/splitbutton/SplitButton.vue +127 -0
- package/splitbutton/package.json +11 -0
- package/splitbutton/splitbutton.mjs +272 -0
- package/splitbutton/splitbutton.mjs.map +1 -0
- package/splitbutton/style/SplitButtonStyle.d.ts +27 -0
- package/splitbutton/style/package.json +6 -0
- package/splitbutton/style/splitbuttonstyle.mjs +25 -0
- package/splitbutton/style/splitbuttonstyle.mjs.map +1 -0
- package/splitter/BaseSplitter.vue +38 -0
- package/splitter/Splitter.d.ts +249 -0
- package/splitter/Splitter.vue +385 -0
- package/splitter/package.json +11 -0
- package/splitter/splitter.mjs +444 -0
- package/splitter/splitter.mjs.map +1 -0
- package/splitter/style/SplitterStyle.d.ts +27 -0
- package/splitter/style/package.json +6 -0
- package/splitter/style/splitterstyle.mjs +34 -0
- package/splitter/style/splitterstyle.mjs.map +1 -0
- package/splitterpanel/BaseSplitterPanel.vue +26 -0
- package/splitterpanel/SplitterPanel.d.ts +147 -0
- package/splitterpanel/SplitterPanel.vue +36 -0
- package/splitterpanel/package.json +11 -0
- package/splitterpanel/splitterpanel.mjs +64 -0
- package/splitterpanel/splitterpanel.mjs.map +1 -0
- package/splitterpanel/style/SplitterPanelStyle.d.ts +19 -0
- package/splitterpanel/style/package.json +6 -0
- package/splitterpanel/style/splitterpanelstyle.mjs +17 -0
- package/splitterpanel/style/splitterpanelstyle.mjs.map +1 -0
- package/step/BaseStep.vue +34 -0
- package/step/Step.d.ts +187 -0
- package/step/Step.vue +98 -0
- package/step/package.json +11 -0
- package/step/step.mjs +182 -0
- package/step/step.mjs.map +1 -0
- package/step/style/StepStyle.d.ts +31 -0
- package/step/style/package.json +6 -0
- package/step/style/stepstyle.mjs +22 -0
- package/step/style/stepstyle.mjs.map +1 -0
- package/stepitem/BaseStepItem.vue +22 -0
- package/stepitem/StepItem.d.ts +121 -0
- package/stepitem/StepItem.vue +21 -0
- package/stepitem/package.json +11 -0
- package/stepitem/stepitem.mjs +47 -0
- package/stepitem/stepitem.mjs.map +1 -0
- package/stepitem/style/StepItemStyle.d.ts +19 -0
- package/stepitem/style/package.json +6 -0
- package/stepitem/style/stepitemstyle.mjs +17 -0
- package/stepitem/style/stepitemstyle.mjs.map +1 -0
- package/steplist/BaseStepList.vue +22 -0
- package/steplist/StepList.d.ts +121 -0
- package/steplist/StepList.vue +15 -0
- package/steplist/package.json +11 -0
- package/steplist/steplist.mjs +38 -0
- package/steplist/steplist.mjs.map +1 -0
- package/steplist/style/StepListStyle.d.ts +19 -0
- package/steplist/style/package.json +6 -0
- package/steplist/style/stepliststyle.mjs +12 -0
- package/steplist/style/stepliststyle.mjs.map +1 -0
- package/steppanel/BaseStepPanel.vue +30 -0
- package/steppanel/StepPanel.d.ts +148 -0
- package/steppanel/StepPanel.vue +99 -0
- package/steppanel/package.json +11 -0
- package/steppanel/steppanel.mjs +195 -0
- package/steppanel/steppanel.mjs.map +1 -0
- package/steppanel/style/StepPanelStyle.d.ts +19 -0
- package/steppanel/style/package.json +6 -0
- package/steppanel/style/steppanelstyle.mjs +18 -0
- package/steppanel/style/steppanelstyle.mjs.map +1 -0
- package/steppanels/BaseStepPanels.vue +22 -0
- package/steppanels/StepPanels.d.ts +121 -0
- package/steppanels/StepPanels.vue +15 -0
- package/steppanels/package.json +11 -0
- package/steppanels/steppanels.mjs +38 -0
- package/steppanels/steppanels.mjs.map +1 -0
- package/steppanels/style/StepPanelsStyle.d.ts +19 -0
- package/steppanels/style/package.json +6 -0
- package/steppanels/style/steppanelsstyle.mjs +12 -0
- package/steppanels/style/steppanelsstyle.mjs.map +1 -0
- package/stepper/BaseStepper.vue +26 -0
- package/stepper/Stepper.d.ts +170 -0
- package/stepper/Stepper.vue +50 -0
- package/stepper/StepperSeparator.vue +13 -0
- package/stepper/package.json +11 -0
- package/stepper/stepper.mjs +80 -0
- package/stepper/stepper.mjs.map +1 -0
- package/stepper/style/StepperStyle.d.ts +23 -0
- package/stepper/style/package.json +6 -0
- package/stepper/style/stepperstyle.mjs +23 -0
- package/stepper/style/stepperstyle.mjs.map +1 -0
- package/stepperpanel/BaseStepperPanel.vue +19 -0
- package/stepperpanel/StepperPanel.d.ts +290 -0
- package/stepperpanel/StepperPanel.vue +15 -0
- package/stepperpanel/package.json +11 -0
- package/stepperpanel/stepperpanel.mjs +35 -0
- package/stepperpanel/stepperpanel.mjs.map +1 -0
- package/stepperpanel/style/StepperPanelStyle.d.ts +14 -0
- package/stepperpanel/style/package.json +6 -0
- package/stepperpanel/style/stepperpanelstyle.mjs +8 -0
- package/stepperpanel/style/stepperpanelstyle.mjs.map +1 -0
- package/steps/BaseSteps.vue +33 -0
- package/steps/Steps.d.ts +235 -0
- package/steps/Steps.vue +218 -0
- package/steps/package.json +11 -0
- package/steps/steps.mjs +253 -0
- package/steps/steps.mjs.map +1 -0
- package/steps/style/StepsStyle.d.ts +39 -0
- package/steps/style/package.json +6 -0
- package/steps/style/stepsstyle.mjs +35 -0
- package/steps/style/stepsstyle.mjs.map +1 -0
- package/styleclass/StyleClass.d.ts +105 -0
- package/styleclass/package.json +5 -0
- package/styleclass/style/StyleClassStyle.d.ts +14 -0
- package/styleclass/style/package.json +6 -0
- package/styleclass/style/styleclassstyle.mjs +8 -0
- package/styleclass/style/styleclassstyle.mjs.map +1 -0
- package/styleclass/styleclass.mjs +151 -0
- package/styleclass/styleclass.mjs.map +1 -0
- package/tab/BaseTab.vue +34 -0
- package/tab/Tab.d.ts +150 -0
- package/tab/Tab.vue +167 -0
- package/tab/package.json +11 -0
- package/tab/style/TabStyle.d.ts +19 -0
- package/tab/style/package.json +6 -0
- package/tab/style/tabstyle.mjs +19 -0
- package/tab/style/tabstyle.mjs.map +1 -0
- package/tab/tab.mjs +210 -0
- package/tab/tab.mjs.map +1 -0
- package/tablist/BaseTabList.vue +17 -0
- package/tablist/TabList.d.ts +144 -0
- package/tablist/TabList.vue +165 -0
- package/tablist/package.json +11 -0
- package/tablist/style/TabListStyle.d.ts +39 -0
- package/tablist/style/package.json +6 -0
- package/tablist/style/tabliststyle.mjs +22 -0
- package/tablist/style/tabliststyle.mjs.map +1 -0
- package/tablist/tablist.mjs +213 -0
- package/tablist/tablist.mjs.map +1 -0
- package/tabmenu/BaseTabMenu.vue +34 -0
- package/tabmenu/TabMenu.d.ts +278 -0
- package/tabmenu/TabMenu.vue +262 -0
- package/tabmenu/package.json +11 -0
- package/tabmenu/style/TabMenuStyle.d.ts +43 -0
- package/tabmenu/style/package.json +6 -0
- package/tabmenu/style/tabmenustyle.mjs +31 -0
- package/tabmenu/style/tabmenustyle.mjs.map +1 -0
- package/tabmenu/tabmenu.mjs +312 -0
- package/tabmenu/tabmenu.mjs.map +1 -0
- package/tabpanel/BaseTabPanel.vue +41 -0
- package/tabpanel/TabPanel.d.ts +236 -0
- package/tabpanel/TabPanel.vue +56 -0
- package/tabpanel/package.json +11 -0
- package/tabpanel/style/TabPanelStyle.d.ts +19 -0
- package/tabpanel/style/package.json +6 -0
- package/tabpanel/style/tabpanelstyle.mjs +17 -0
- package/tabpanel/style/tabpanelstyle.mjs.map +1 -0
- package/tabpanel/tabpanel.mjs +112 -0
- package/tabpanel/tabpanel.mjs.map +1 -0
- package/tabpanels/BaseTabPanels.vue +17 -0
- package/tabpanels/TabPanels.d.ts +128 -0
- package/tabpanels/TabPanels.vue +15 -0
- package/tabpanels/package.json +11 -0
- package/tabpanels/style/TabPanelsStyle.d.ts +19 -0
- package/tabpanels/style/package.json +6 -0
- package/tabpanels/style/tabpanelsstyle.mjs +12 -0
- package/tabpanels/style/tabpanelsstyle.mjs.map +1 -0
- package/tabpanels/tabpanels.mjs +34 -0
- package/tabpanels/tabpanels.mjs.map +1 -0
- package/tabs/BaseTabs.vue +42 -0
- package/tabs/Tabs.d.ts +189 -0
- package/tabs/Tabs.vue +45 -0
- package/tabs/package.json +11 -0
- package/tabs/style/TabsStyle.d.ts +19 -0
- package/tabs/style/package.json +6 -0
- package/tabs/style/tabsstyle.mjs +22 -0
- package/tabs/style/tabsstyle.mjs.map +1 -0
- package/tabs/tabs.mjs +88 -0
- package/tabs/tabs.mjs.map +1 -0
- package/tabview/BaseTabView.vue +55 -0
- package/tabview/TabView.d.ts +287 -0
- package/tabview/TabView.vue +376 -0
- package/tabview/package.json +11 -0
- package/tabview/style/TabViewStyle.d.ts +64 -0
- package/tabview/style/package.json +6 -0
- package/tabview/style/tabviewstyle.mjs +47 -0
- package/tabview/style/tabviewstyle.mjs.map +1 -0
- package/tabview/tabview.mjs +458 -0
- package/tabview/tabview.mjs.map +1 -0
- package/tag/BaseTag.vue +22 -0
- package/tag/Tag.d.ts +157 -0
- package/tag/Tag.vue +19 -0
- package/tag/package.json +11 -0
- package/tag/style/TagStyle.d.ts +27 -0
- package/tag/style/package.json +6 -0
- package/tag/style/tagstyle.mjs +30 -0
- package/tag/style/tagstyle.mjs.map +1 -0
- package/tag/tag.mjs +50 -0
- package/tag/tag.mjs.map +1 -0
- package/terminal/BaseTerminal.vue +26 -0
- package/terminal/Terminal.d.ts +180 -0
- package/terminal/Terminal.vue +58 -0
- package/terminal/package.json +11 -0
- package/terminal/style/TerminalStyle.d.ts +51 -0
- package/terminal/style/package.json +6 -0
- package/terminal/style/terminalstyle.mjs +25 -0
- package/terminal/style/terminalstyle.mjs.map +1 -0
- package/terminal/terminal.mjs +115 -0
- package/terminal/terminal.mjs.map +1 -0
- package/terminalservice/TerminalService.d.ts +30 -0
- package/terminalservice/package.json +5 -0
- package/terminalservice/terminalservice.mjs +6 -0
- package/terminalservice/terminalservice.mjs.map +1 -0
- package/textarea/BaseTextarea.vue +28 -0
- package/textarea/Textarea.d.ts +169 -0
- package/textarea/Textarea.vue +56 -0
- package/textarea/package.json +11 -0
- package/textarea/style/TextareaStyle.d.ts +19 -0
- package/textarea/style/package.json +6 -0
- package/textarea/style/textareastyle.mjs +26 -0
- package/textarea/style/textareastyle.mjs.map +1 -0
- package/textarea/textarea.mjs +91 -0
- package/textarea/textarea.mjs.map +1 -0
- package/tieredmenu/BaseTieredMenu.vue +54 -0
- package/tieredmenu/TieredMenu.d.ts +419 -0
- package/tieredmenu/TieredMenu.vue +632 -0
- package/tieredmenu/TieredMenuSub.vue +225 -0
- package/tieredmenu/package.json +11 -0
- package/tieredmenu/style/TieredMenuStyle.d.ts +63 -0
- package/tieredmenu/style/package.json +6 -0
- package/tieredmenu/style/tieredmenustyle.mjs +52 -0
- package/tieredmenu/style/tieredmenustyle.mjs.map +1 -0
- package/tieredmenu/tieredmenu.mjs +1027 -0
- package/tieredmenu/tieredmenu.mjs.map +1 -0
- package/timeline/BaseTimeline.vue +28 -0
- package/timeline/Timeline.d.ts +235 -0
- package/timeline/Timeline.vue +44 -0
- package/timeline/package.json +11 -0
- package/timeline/style/TimelineStyle.d.ts +43 -0
- package/timeline/style/package.json +6 -0
- package/timeline/style/timelinestyle.mjs +26 -0
- package/timeline/style/timelinestyle.mjs.map +1 -0
- package/timeline/timeline.mjs +98 -0
- package/timeline/timeline.mjs.map +1 -0
- package/toast/BaseToast.vue +62 -0
- package/toast/Toast.d.ts +354 -0
- package/toast/Toast.vue +157 -0
- package/toast/ToastMessage.vue +120 -0
- package/toast/package.json +11 -0
- package/toast/style/ToastStyle.d.ts +51 -0
- package/toast/style/package.json +6 -0
- package/toast/style/toaststyle.mjs +60 -0
- package/toast/style/toaststyle.mjs.map +1 -0
- package/toast/toast.mjs +396 -0
- package/toast/toast.mjs.map +1 -0
- package/toasteventbus/package.json +4 -0
- package/toasteventbus/toasteventbus.mjs +6 -0
- package/toasteventbus/toasteventbus.mjs.map +1 -0
- package/toastservice/ToastService.d.ts +52 -0
- package/toastservice/package.json +5 -0
- package/toastservice/toastservice.mjs +26 -0
- package/toastservice/toastservice.mjs.map +1 -0
- package/togglebutton/BaseToggleButton.vue +57 -0
- package/togglebutton/ToggleButton.d.ts +250 -0
- package/togglebutton/ToggleButton.vue +57 -0
- package/togglebutton/package.json +11 -0
- package/togglebutton/style/ToggleButtonStyle.d.ts +27 -0
- package/togglebutton/style/package.json +6 -0
- package/togglebutton/style/togglebuttonstyle.mjs +27 -0
- package/togglebutton/style/togglebuttonstyle.mjs.map +1 -0
- package/togglebutton/togglebutton.mjs +133 -0
- package/togglebutton/togglebutton.mjs.map +1 -0
- package/toggleswitch/BaseToggleSwitch.vue +66 -0
- package/toggleswitch/ToggleSwitch.d.ts +222 -0
- package/toggleswitch/ToggleSwitch.vue +66 -0
- package/toggleswitch/package.json +11 -0
- package/toggleswitch/style/ToggleSwitchStyle.d.ts +27 -0
- package/toggleswitch/style/package.json +6 -0
- package/toggleswitch/style/toggleswitchstyle.mjs +33 -0
- package/toggleswitch/style/toggleswitchstyle.mjs.map +1 -0
- package/toggleswitch/toggleswitch.mjs +143 -0
- package/toggleswitch/toggleswitch.mjs.map +1 -0
- package/toolbar/BaseToolbar.vue +22 -0
- package/toolbar/Toolbar.d.ts +153 -0
- package/toolbar/Toolbar.vue +23 -0
- package/toolbar/package.json +11 -0
- package/toolbar/style/ToolbarStyle.d.ts +31 -0
- package/toolbar/style/package.json +6 -0
- package/toolbar/style/toolbarstyle.mjs +20 -0
- package/toolbar/style/toolbarstyle.mjs.map +1 -0
- package/toolbar/toolbar.mjs +47 -0
- package/toolbar/toolbar.mjs.map +1 -0
- package/tooltip/Tooltip.d.ts +214 -0
- package/tooltip/package.json +5 -0
- package/tooltip/style/TooltipStyle.d.ts +27 -0
- package/tooltip/style/package.json +6 -0
- package/tooltip/style/tooltipstyle.mjs +19 -0
- package/tooltip/style/tooltipstyle.mjs.map +1 -0
- package/tooltip/tooltip.mjs +418 -0
- package/tooltip/tooltip.mjs.map +1 -0
- package/tree/BaseTree.vue +90 -0
- package/tree/Tree.d.ts +525 -0
- package/tree/Tree.vue +257 -0
- package/tree/TreeNode.vue +460 -0
- package/tree/package.json +11 -0
- package/tree/style/TreeStyle.d.ts +71 -0
- package/tree/style/package.json +6 -0
- package/tree/style/treestyle.mjs +49 -0
- package/tree/style/treestyle.mjs.map +1 -0
- package/tree/tree.mjs +918 -0
- package/tree/tree.mjs.map +1 -0
- package/treenode/TreeNode.d.ts +71 -0
- package/treeselect/BaseTreeSelect.vue +96 -0
- package/treeselect/TreeSelect.d.ts +482 -0
- package/treeselect/TreeSelect.vue +515 -0
- package/treeselect/package.json +11 -0
- package/treeselect/style/TreeSelectStyle.d.ts +55 -0
- package/treeselect/style/package.json +6 -0
- package/treeselect/style/treeselectstyle.mjs +55 -0
- package/treeselect/style/treeselectstyle.mjs.map +1 -0
- package/treeselect/treeselect.mjs +745 -0
- package/treeselect/treeselect.mjs.map +1 -0
- package/treetable/BaseTreeTable.vue +182 -0
- package/treetable/BodyCell.vue +234 -0
- package/treetable/FooterCell.vue +104 -0
- package/treetable/HeaderCell.vue +242 -0
- package/treetable/TreeTable.d.ts +822 -0
- package/treetable/TreeTable.vue +877 -0
- package/treetable/TreeTableRow.vue +455 -0
- package/treetable/package.json +11 -0
- package/treetable/style/TreeTableStyle.d.ts +99 -0
- package/treetable/style/package.json +6 -0
- package/treetable/style/treetablestyle.mjs +109 -0
- package/treetable/style/treetablestyle.mjs.map +1 -0
- package/treetable/treetable.mjs +2272 -0
- package/treetable/treetable.mjs.map +1 -0
- package/ts-helpers.d.ts +43 -0
- package/umd/primevue.min.js +1 -0
- package/useconfirm/UseConfirm.d.ts +6 -0
- package/useconfirm/package.json +5 -0
- package/useconfirm/useconfirm.mjs +13 -0
- package/useconfirm/useconfirm.mjs.map +1 -0
- package/usedialog/UseDialog.d.ts +5 -0
- package/usedialog/package.json +5 -0
- package/usedialog/usedialog.mjs +13 -0
- package/usedialog/usedialog.mjs.map +1 -0
- package/usestyle/UseStyle.d.ts +1 -0
- package/usestyle/package.json +5 -0
- package/usestyle/usestyle.mjs +2 -0
- package/usestyle/usestyle.mjs.map +1 -0
- package/usetoast/UseToast.d.ts +3 -0
- package/usetoast/package.json +5 -0
- package/usetoast/usetoast.mjs +13 -0
- package/usetoast/usetoast.mjs.map +1 -0
- package/utils/Utils.d.ts +127 -0
- package/utils/package.json +5 -0
- package/utils/utils.mjs +1292 -0
- package/utils/utils.mjs.map +1 -0
- package/vetur-attributes.json +4778 -0
- package/vetur-tags.json +1643 -0
- package/virtualscroller/BaseVirtualScroller.vue +101 -0
- package/virtualscroller/VirtualScroller.d.ts +537 -0
- package/virtualscroller/VirtualScroller.vue +693 -0
- package/virtualscroller/package.json +11 -0
- package/virtualscroller/style/VirtualScrollerStyle.d.ts +35 -0
- package/virtualscroller/style/package.json +6 -0
- package/virtualscroller/style/virtualscrollerstyle.mjs +10 -0
- package/virtualscroller/style/virtualscrollerstyle.mjs.map +1 -0
- package/virtualscroller/virtualscroller.mjs +915 -0
- package/virtualscroller/virtualscroller.mjs.map +1 -0
- package/web-types.json +18296 -0
|
@@ -0,0 +1,1011 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="container" :id="id" :class="cx('root')" @click="onContainerClick" v-bind="ptmi('root')">
|
|
3
|
+
<input
|
|
4
|
+
v-if="editable"
|
|
5
|
+
ref="focusInput"
|
|
6
|
+
:id="labelId || inputId"
|
|
7
|
+
type="text"
|
|
8
|
+
:class="[cx('label'), inputClass, labelClass]"
|
|
9
|
+
:style="[inputStyle, labelStyle]"
|
|
10
|
+
:value="editableInputValue"
|
|
11
|
+
:placeholder="placeholder"
|
|
12
|
+
:tabindex="!disabled ? tabindex : -1"
|
|
13
|
+
:disabled="disabled"
|
|
14
|
+
autocomplete="off"
|
|
15
|
+
role="combobox"
|
|
16
|
+
:aria-label="ariaLabel"
|
|
17
|
+
:aria-labelledby="ariaLabelledby"
|
|
18
|
+
aria-haspopup="listbox"
|
|
19
|
+
:aria-expanded="overlayVisible"
|
|
20
|
+
:aria-controls="id + '_list'"
|
|
21
|
+
:aria-activedescendant="focused ? focusedOptionId : undefined"
|
|
22
|
+
:aria-invalid="invalid || undefined"
|
|
23
|
+
@focus="onFocus"
|
|
24
|
+
@blur="onBlur"
|
|
25
|
+
@keydown="onKeyDown"
|
|
26
|
+
@input="onEditableInput"
|
|
27
|
+
v-bind="ptm('label')"
|
|
28
|
+
/>
|
|
29
|
+
<span
|
|
30
|
+
v-else
|
|
31
|
+
ref="focusInput"
|
|
32
|
+
:id="labelId || inputId"
|
|
33
|
+
:class="[cx('label'), inputClass, labelClass]"
|
|
34
|
+
:style="[inputStyle, labelStyle]"
|
|
35
|
+
:tabindex="!disabled ? tabindex : -1"
|
|
36
|
+
role="combobox"
|
|
37
|
+
:aria-label="ariaLabel || (label === 'p-emptylabel' ? undefined : label)"
|
|
38
|
+
:aria-labelledby="ariaLabelledby"
|
|
39
|
+
aria-haspopup="listbox"
|
|
40
|
+
:aria-expanded="overlayVisible"
|
|
41
|
+
:aria-controls="id + '_list'"
|
|
42
|
+
:aria-activedescendant="focused ? focusedOptionId : undefined"
|
|
43
|
+
:aria-disabled="disabled"
|
|
44
|
+
@focus="onFocus"
|
|
45
|
+
@blur="onBlur"
|
|
46
|
+
@keydown="onKeyDown"
|
|
47
|
+
v-bind="ptm('label')"
|
|
48
|
+
>
|
|
49
|
+
<slot name="value" :value="modelValue" :placeholder="placeholder">{{ label === 'p-emptylabel' ? ' ' : label || 'empty' }}</slot>
|
|
50
|
+
</span>
|
|
51
|
+
<slot v-if="showClear && modelValue != null" name="clearicon" :class="cx('clearIcon')" :clearCallback="onClearClick">
|
|
52
|
+
<component :is="clearIcon ? 'i' : 'TimesIcon'" ref="clearIcon" :class="[cx('clearIcon'), clearIcon]" @click="onClearClick" v-bind="ptm('clearIcon')" data-pc-section="clearicon" />
|
|
53
|
+
</slot>
|
|
54
|
+
<div :class="cx('dropdown')" v-bind="ptm('dropdown')">
|
|
55
|
+
<slot v-if="loading" name="loadingicon" :class="cx('loadingIcon')">
|
|
56
|
+
<span v-if="loadingIcon" :class="[cx('loadingIcon'), 'pi-spin', loadingIcon]" aria-hidden="true" v-bind="ptm('loadingIcon')" />
|
|
57
|
+
<SpinnerIcon v-else :class="cx('loadingIcon')" spin aria-hidden="true" v-bind="ptm('loadingIcon')" />
|
|
58
|
+
</slot>
|
|
59
|
+
<slot v-else name="dropdownicon" :class="cx('dropdownIcon')">
|
|
60
|
+
<component :is="dropdownIcon ? 'span' : 'ChevronDownIcon'" :class="[cx('dropdownIcon'), dropdownIcon]" aria-hidden="true" v-bind="ptm('dropdownIcon')" />
|
|
61
|
+
</slot>
|
|
62
|
+
</div>
|
|
63
|
+
<Portal :appendTo="appendTo">
|
|
64
|
+
<transition name="p-connected-overlay" @enter="onOverlayEnter" @after-enter="onOverlayAfterEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave" v-bind="ptm('transition')">
|
|
65
|
+
<div v-if="overlayVisible" :ref="overlayRef" :class="[cx('overlay'), panelClass, overlayClass]" :style="[panelStyle, overlayStyle]" @click="onOverlayClick" @keydown="onOverlayKeyDown" v-bind="ptm('overlay')">
|
|
66
|
+
<span
|
|
67
|
+
ref="firstHiddenFocusableElementOnOverlay"
|
|
68
|
+
role="presentation"
|
|
69
|
+
aria-hidden="true"
|
|
70
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
71
|
+
:tabindex="0"
|
|
72
|
+
@focus="onFirstHiddenFocus"
|
|
73
|
+
v-bind="ptm('hiddenFirstFocusableEl')"
|
|
74
|
+
:data-p-hidden-accessible="true"
|
|
75
|
+
:data-p-hidden-focusable="true"
|
|
76
|
+
></span>
|
|
77
|
+
<slot name="header" :value="modelValue" :options="visibleOptions"></slot>
|
|
78
|
+
<div v-if="filter" :class="cx('header')" v-bind="ptm('header')">
|
|
79
|
+
<IconField :unstyled="unstyled" v-bind="ptm('pcFilterContainer')">
|
|
80
|
+
<InputText
|
|
81
|
+
ref="filterInput"
|
|
82
|
+
type="text"
|
|
83
|
+
:value="filterValue"
|
|
84
|
+
@vue:mounted="onFilterUpdated"
|
|
85
|
+
@vue:updated="onFilterUpdated"
|
|
86
|
+
:class="cx('pcFilter')"
|
|
87
|
+
:placeholder="filterPlaceholder"
|
|
88
|
+
:variant="variant"
|
|
89
|
+
:unstyled="unstyled"
|
|
90
|
+
role="searchbox"
|
|
91
|
+
autocomplete="off"
|
|
92
|
+
:aria-owns="id + '_list'"
|
|
93
|
+
:aria-activedescendant="focusedOptionId"
|
|
94
|
+
@keydown="onFilterKeyDown"
|
|
95
|
+
@blur="onFilterBlur"
|
|
96
|
+
@input="onFilterChange"
|
|
97
|
+
:pt="ptm('pcFilter')"
|
|
98
|
+
/>
|
|
99
|
+
<InputIcon :unstyled="unstyled" v-bind="ptm('pcFilterIconContainer')">
|
|
100
|
+
<slot name="filtericon">
|
|
101
|
+
<span v-if="filterIcon" :class="filterIcon" v-bind="ptm('filterIcon')" />
|
|
102
|
+
<SearchIcon v-else v-bind="ptm('filterIcon')" />
|
|
103
|
+
</slot>
|
|
104
|
+
</InputIcon>
|
|
105
|
+
</IconField>
|
|
106
|
+
<span role="status" aria-live="polite" class="p-hidden-accessible" v-bind="ptm('hiddenFilterResult')" :data-p-hidden-accessible="true">
|
|
107
|
+
{{ filterResultMessageText }}
|
|
108
|
+
</span>
|
|
109
|
+
</div>
|
|
110
|
+
<div :class="cx('listContainer')" :style="{ 'max-height': virtualScrollerDisabled ? scrollHeight : '' }" v-bind="ptm('listContainer')">
|
|
111
|
+
<VirtualScroller :ref="virtualScrollerRef" v-bind="virtualScrollerOptions" :items="visibleOptions" :style="{ height: scrollHeight }" :tabindex="-1" :disabled="virtualScrollerDisabled" :pt="ptm('virtualScroller')">
|
|
112
|
+
<template v-slot:content="{ styleClass, contentRef, items, getItemOptions, contentStyle, itemSize }">
|
|
113
|
+
<ul :ref="(el) => listRef(el, contentRef)" :id="id + '_list'" :class="[cx('list'), styleClass]" :style="contentStyle" role="listbox" v-bind="ptm('list')">
|
|
114
|
+
<template v-for="(option, i) of items" :key="getOptionRenderKey(option, getOptionIndex(i, getItemOptions))">
|
|
115
|
+
<li
|
|
116
|
+
v-if="isOptionGroup(option)"
|
|
117
|
+
:id="id + '_' + getOptionIndex(i, getItemOptions)"
|
|
118
|
+
:style="{ height: itemSize ? itemSize + 'px' : undefined }"
|
|
119
|
+
:class="cx('optionGroup')"
|
|
120
|
+
role="option"
|
|
121
|
+
v-bind="ptm('optionGroup')"
|
|
122
|
+
>
|
|
123
|
+
<slot name="optiongroup" :option="option.optionGroup" :index="getOptionIndex(i, getItemOptions)">
|
|
124
|
+
<span :class="cx('optionGroupLabel')" v-bind="ptm('optionGroupLabel')">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
125
|
+
</slot>
|
|
126
|
+
</li>
|
|
127
|
+
<li
|
|
128
|
+
v-else
|
|
129
|
+
:id="id + '_' + getOptionIndex(i, getItemOptions)"
|
|
130
|
+
v-ripple
|
|
131
|
+
:class="cx('option', { option, focusedOption: getOptionIndex(i, getItemOptions) })"
|
|
132
|
+
:style="{ height: itemSize ? itemSize + 'px' : undefined }"
|
|
133
|
+
role="option"
|
|
134
|
+
:aria-label="getOptionLabel(option)"
|
|
135
|
+
:aria-selected="isSelected(option)"
|
|
136
|
+
:aria-disabled="isOptionDisabled(option)"
|
|
137
|
+
:aria-setsize="ariaSetSize"
|
|
138
|
+
:aria-posinset="getAriaPosInset(getOptionIndex(i, getItemOptions))"
|
|
139
|
+
@click="onOptionSelect($event, option)"
|
|
140
|
+
@mousemove="onOptionMouseMove($event, getOptionIndex(i, getItemOptions))"
|
|
141
|
+
:data-p-selected="isSelected(option)"
|
|
142
|
+
:data-p-focused="focusedOptionIndex === getOptionIndex(i, getItemOptions)"
|
|
143
|
+
:data-p-disabled="isOptionDisabled(option)"
|
|
144
|
+
v-bind="getPTItemOptions(option, getItemOptions, i, 'option')"
|
|
145
|
+
>
|
|
146
|
+
<template v-if="checkmark">
|
|
147
|
+
<CheckIcon v-if="isSelected(option)" :class="cx('optionCheckIcon')" v-bind="ptm('optionCheckIcon')" />
|
|
148
|
+
<BlankIcon v-else :class="cx('optionBlankIcon')" v-bind="ptm('optionBlankIcon')" />
|
|
149
|
+
</template>
|
|
150
|
+
<slot name="option" :option="option" :selected="isSelected(option)" :index="getOptionIndex(i, getItemOptions)">
|
|
151
|
+
<span :class="cx('optionLabel')" v-bind="ptm('optionLabel')">{{ getOptionLabel(option) }}</span>
|
|
152
|
+
</slot>
|
|
153
|
+
</li>
|
|
154
|
+
</template>
|
|
155
|
+
<li v-if="filterValue && (!items || (items && items.length === 0))" :class="cx('emptyMessage')" role="option" v-bind="ptm('emptyMessage')" :data-p-hidden-accessible="true">
|
|
156
|
+
<slot name="emptyfilter">{{ emptyFilterMessageText }}</slot>
|
|
157
|
+
</li>
|
|
158
|
+
<li v-else-if="!options || (options && options.length === 0)" :class="cx('emptyMessage')" role="option" v-bind="ptm('emptyMessage')" :data-p-hidden-accessible="true">
|
|
159
|
+
<slot name="empty">{{ emptyMessageText }}</slot>
|
|
160
|
+
</li>
|
|
161
|
+
</ul>
|
|
162
|
+
</template>
|
|
163
|
+
<template v-if="$slots.loader" v-slot:loader="{ options }">
|
|
164
|
+
<slot name="loader" :options="options"></slot>
|
|
165
|
+
</template>
|
|
166
|
+
</VirtualScroller>
|
|
167
|
+
</div>
|
|
168
|
+
<slot name="footer" :value="modelValue" :options="visibleOptions"></slot>
|
|
169
|
+
<span v-if="!options || (options && options.length === 0)" role="status" aria-live="polite" class="p-hidden-accessible" v-bind="ptm('hiddenEmptyMessage')" :data-p-hidden-accessible="true">
|
|
170
|
+
{{ emptyMessageText }}
|
|
171
|
+
</span>
|
|
172
|
+
<span role="status" aria-live="polite" class="p-hidden-accessible" v-bind="ptm('hiddenSelectedMessage')" :data-p-hidden-accessible="true">
|
|
173
|
+
{{ selectedMessageText }}
|
|
174
|
+
</span>
|
|
175
|
+
<span
|
|
176
|
+
ref="lastHiddenFocusableElementOnOverlay"
|
|
177
|
+
role="presentation"
|
|
178
|
+
aria-hidden="true"
|
|
179
|
+
class="p-hidden-accessible p-hidden-focusable"
|
|
180
|
+
:tabindex="0"
|
|
181
|
+
@focus="onLastHiddenFocus"
|
|
182
|
+
v-bind="ptm('hiddenLastFocusableEl')"
|
|
183
|
+
:data-p-hidden-accessible="true"
|
|
184
|
+
:data-p-hidden-focusable="true"
|
|
185
|
+
></span>
|
|
186
|
+
</div>
|
|
187
|
+
</transition>
|
|
188
|
+
</Portal>
|
|
189
|
+
</div>
|
|
190
|
+
</template>
|
|
191
|
+
|
|
192
|
+
<script>
|
|
193
|
+
import { FilterService } from '@primevuelab/core/api';
|
|
194
|
+
import { ConnectedOverlayScrollHandler, DomHandler, ObjectUtils, UniqueComponentId, ZIndexUtils } from '@primevuelab/core/utils';
|
|
195
|
+
import BlankIcon from '@primevuelab/icons/blank';
|
|
196
|
+
import CheckIcon from '@primevuelab/icons/check';
|
|
197
|
+
import ChevronDownIcon from '@primevuelab/icons/chevrondown';
|
|
198
|
+
import SearchIcon from '@primevuelab/icons/search';
|
|
199
|
+
import SpinnerIcon from '@primevuelab/icons/spinner';
|
|
200
|
+
import TimesIcon from '@primevuelab/icons/times';
|
|
201
|
+
import IconField from 'primevuelab/iconfield';
|
|
202
|
+
import InputIcon from 'primevuelab/inputicon';
|
|
203
|
+
import InputText from 'primevuelab/inputtext';
|
|
204
|
+
import OverlayEventBus from 'primevuelab/overlayeventbus';
|
|
205
|
+
import Portal from 'primevuelab/portal';
|
|
206
|
+
import Ripple from 'primevuelab/ripple';
|
|
207
|
+
import VirtualScroller from 'primevuelab/virtualscroller';
|
|
208
|
+
import BaseSelect from './BaseSelect.vue';
|
|
209
|
+
|
|
210
|
+
export default {
|
|
211
|
+
name: 'Select',
|
|
212
|
+
extends: BaseSelect,
|
|
213
|
+
inheritAttrs: false,
|
|
214
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur', 'before-show', 'before-hide', 'show', 'hide', 'filter'],
|
|
215
|
+
outsideClickListener: null,
|
|
216
|
+
scrollHandler: null,
|
|
217
|
+
resizeListener: null,
|
|
218
|
+
labelClickListener: null,
|
|
219
|
+
overlay: null,
|
|
220
|
+
list: null,
|
|
221
|
+
virtualScroller: null,
|
|
222
|
+
searchTimeout: null,
|
|
223
|
+
searchValue: null,
|
|
224
|
+
isModelValueChanged: false,
|
|
225
|
+
data() {
|
|
226
|
+
return {
|
|
227
|
+
id: this.$attrs.id,
|
|
228
|
+
clicked: false,
|
|
229
|
+
focused: false,
|
|
230
|
+
focusedOptionIndex: -1,
|
|
231
|
+
filterValue: null,
|
|
232
|
+
overlayVisible: false
|
|
233
|
+
};
|
|
234
|
+
},
|
|
235
|
+
watch: {
|
|
236
|
+
'$attrs.id': function (newValue) {
|
|
237
|
+
this.id = newValue || UniqueComponentId();
|
|
238
|
+
},
|
|
239
|
+
modelValue() {
|
|
240
|
+
this.isModelValueChanged = true;
|
|
241
|
+
},
|
|
242
|
+
options() {
|
|
243
|
+
this.autoUpdateModel();
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
mounted() {
|
|
247
|
+
this.id = this.id || UniqueComponentId();
|
|
248
|
+
this.autoUpdateModel();
|
|
249
|
+
this.bindLabelClickListener();
|
|
250
|
+
},
|
|
251
|
+
updated() {
|
|
252
|
+
if (this.overlayVisible && this.isModelValueChanged) {
|
|
253
|
+
this.scrollInView(this.findSelectedOptionIndex());
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
this.isModelValueChanged = false;
|
|
257
|
+
},
|
|
258
|
+
beforeUnmount() {
|
|
259
|
+
this.unbindOutsideClickListener();
|
|
260
|
+
this.unbindResizeListener();
|
|
261
|
+
this.unbindLabelClickListener();
|
|
262
|
+
|
|
263
|
+
if (this.scrollHandler) {
|
|
264
|
+
this.scrollHandler.destroy();
|
|
265
|
+
this.scrollHandler = null;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if (this.overlay) {
|
|
269
|
+
ZIndexUtils.clear(this.overlay);
|
|
270
|
+
this.overlay = null;
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
methods: {
|
|
274
|
+
getOptionIndex(index, fn) {
|
|
275
|
+
return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];
|
|
276
|
+
},
|
|
277
|
+
getOptionLabel(option) {
|
|
278
|
+
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
|
279
|
+
},
|
|
280
|
+
getOptionValue(option) {
|
|
281
|
+
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
|
282
|
+
},
|
|
283
|
+
getOptionRenderKey(option, index) {
|
|
284
|
+
return (this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + '_' + index;
|
|
285
|
+
},
|
|
286
|
+
getPTItemOptions(option, itemOptions, index, key) {
|
|
287
|
+
return this.ptm(key, {
|
|
288
|
+
context: {
|
|
289
|
+
option,
|
|
290
|
+
index,
|
|
291
|
+
selected: this.isSelected(option),
|
|
292
|
+
focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
|
|
293
|
+
disabled: this.isOptionDisabled(option)
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
},
|
|
297
|
+
isOptionDisabled(option) {
|
|
298
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
299
|
+
},
|
|
300
|
+
isOptionGroup(option) {
|
|
301
|
+
return this.optionGroupLabel && option.optionGroup && option.group;
|
|
302
|
+
},
|
|
303
|
+
getOptionGroupLabel(optionGroup) {
|
|
304
|
+
return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
|
|
305
|
+
},
|
|
306
|
+
getOptionGroupChildren(optionGroup) {
|
|
307
|
+
return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
|
|
308
|
+
},
|
|
309
|
+
getAriaPosInset(index) {
|
|
310
|
+
return (this.optionGroupLabel ? index - this.visibleOptions.slice(0, index).filter((option) => this.isOptionGroup(option)).length : index) + 1;
|
|
311
|
+
},
|
|
312
|
+
show(isFocus) {
|
|
313
|
+
this.$emit('before-show');
|
|
314
|
+
this.overlayVisible = true;
|
|
315
|
+
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex();
|
|
316
|
+
|
|
317
|
+
isFocus && DomHandler.focus(this.$refs.focusInput);
|
|
318
|
+
},
|
|
319
|
+
hide(isFocus) {
|
|
320
|
+
const _hide = () => {
|
|
321
|
+
this.$emit('before-hide');
|
|
322
|
+
this.overlayVisible = false;
|
|
323
|
+
this.clicked = false;
|
|
324
|
+
this.focusedOptionIndex = -1;
|
|
325
|
+
this.searchValue = '';
|
|
326
|
+
|
|
327
|
+
this.resetFilterOnHide && (this.filterValue = null);
|
|
328
|
+
isFocus && DomHandler.focus(this.$refs.focusInput);
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
setTimeout(() => {
|
|
332
|
+
_hide();
|
|
333
|
+
}, 0); // For ScreenReaders
|
|
334
|
+
},
|
|
335
|
+
onFocus(event) {
|
|
336
|
+
if (this.disabled) {
|
|
337
|
+
// For ScreenReaders
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
this.focused = true;
|
|
342
|
+
|
|
343
|
+
if (this.overlayVisible) {
|
|
344
|
+
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex();
|
|
345
|
+
this.scrollInView(this.focusedOptionIndex);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
this.$emit('focus', event);
|
|
349
|
+
},
|
|
350
|
+
onBlur(event) {
|
|
351
|
+
this.focused = false;
|
|
352
|
+
this.focusedOptionIndex = -1;
|
|
353
|
+
this.searchValue = '';
|
|
354
|
+
this.$emit('blur', event);
|
|
355
|
+
},
|
|
356
|
+
onKeyDown(event) {
|
|
357
|
+
if (this.disabled || DomHandler.isAndroid()) {
|
|
358
|
+
event.preventDefault();
|
|
359
|
+
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
const metaKey = event.metaKey || event.ctrlKey;
|
|
364
|
+
|
|
365
|
+
switch (event.code) {
|
|
366
|
+
case 'ArrowDown':
|
|
367
|
+
this.onArrowDownKey(event);
|
|
368
|
+
break;
|
|
369
|
+
|
|
370
|
+
case 'ArrowUp':
|
|
371
|
+
this.onArrowUpKey(event, this.editable);
|
|
372
|
+
break;
|
|
373
|
+
|
|
374
|
+
case 'ArrowLeft':
|
|
375
|
+
case 'ArrowRight':
|
|
376
|
+
this.onArrowLeftKey(event, this.editable);
|
|
377
|
+
break;
|
|
378
|
+
|
|
379
|
+
case 'Home':
|
|
380
|
+
this.onHomeKey(event, this.editable);
|
|
381
|
+
break;
|
|
382
|
+
|
|
383
|
+
case 'End':
|
|
384
|
+
this.onEndKey(event, this.editable);
|
|
385
|
+
break;
|
|
386
|
+
|
|
387
|
+
case 'PageDown':
|
|
388
|
+
this.onPageDownKey(event);
|
|
389
|
+
break;
|
|
390
|
+
|
|
391
|
+
case 'PageUp':
|
|
392
|
+
this.onPageUpKey(event);
|
|
393
|
+
break;
|
|
394
|
+
|
|
395
|
+
case 'Space':
|
|
396
|
+
this.onSpaceKey(event, this.editable);
|
|
397
|
+
break;
|
|
398
|
+
|
|
399
|
+
case 'Enter':
|
|
400
|
+
case 'NumpadEnter':
|
|
401
|
+
this.onEnterKey(event);
|
|
402
|
+
break;
|
|
403
|
+
|
|
404
|
+
case 'Escape':
|
|
405
|
+
this.onEscapeKey(event);
|
|
406
|
+
break;
|
|
407
|
+
|
|
408
|
+
case 'Tab':
|
|
409
|
+
this.onTabKey(event);
|
|
410
|
+
break;
|
|
411
|
+
|
|
412
|
+
case 'Backspace':
|
|
413
|
+
this.onBackspaceKey(event, this.editable);
|
|
414
|
+
break;
|
|
415
|
+
|
|
416
|
+
case 'ShiftLeft':
|
|
417
|
+
case 'ShiftRight':
|
|
418
|
+
//NOOP
|
|
419
|
+
break;
|
|
420
|
+
|
|
421
|
+
default:
|
|
422
|
+
if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
|
|
423
|
+
!this.overlayVisible && this.show();
|
|
424
|
+
!this.editable && this.searchOptions(event, event.key);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
this.clicked = false;
|
|
431
|
+
},
|
|
432
|
+
onEditableInput(event) {
|
|
433
|
+
const value = event.target.value;
|
|
434
|
+
|
|
435
|
+
this.searchValue = '';
|
|
436
|
+
const matched = this.searchOptions(event, value);
|
|
437
|
+
|
|
438
|
+
!matched && (this.focusedOptionIndex = -1);
|
|
439
|
+
|
|
440
|
+
this.updateModel(event, value);
|
|
441
|
+
|
|
442
|
+
!this.overlayVisible && ObjectUtils.isNotEmpty(value) && this.show();
|
|
443
|
+
},
|
|
444
|
+
onContainerClick(event) {
|
|
445
|
+
if (this.disabled || this.loading) {
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.closest('[data-pc-section="clearicon"]')) {
|
|
450
|
+
return;
|
|
451
|
+
} else if (!this.overlay || !this.overlay.contains(event.target)) {
|
|
452
|
+
this.overlayVisible ? this.hide(true) : this.show(true);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
this.clicked = true;
|
|
456
|
+
},
|
|
457
|
+
onClearClick(event) {
|
|
458
|
+
this.updateModel(event, null);
|
|
459
|
+
this.resetFilterOnClear && (this.filterValue = null);
|
|
460
|
+
},
|
|
461
|
+
onFirstHiddenFocus(event) {
|
|
462
|
+
const focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getFirstFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
463
|
+
|
|
464
|
+
DomHandler.focus(focusableEl);
|
|
465
|
+
},
|
|
466
|
+
onLastHiddenFocus(event) {
|
|
467
|
+
const focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getLastFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
468
|
+
|
|
469
|
+
DomHandler.focus(focusableEl);
|
|
470
|
+
},
|
|
471
|
+
onOptionSelect(event, option, isHide = true) {
|
|
472
|
+
const value = this.getOptionValue(option);
|
|
473
|
+
|
|
474
|
+
this.updateModel(event, value);
|
|
475
|
+
isHide && this.hide(true);
|
|
476
|
+
},
|
|
477
|
+
onOptionMouseMove(event, index) {
|
|
478
|
+
if (this.focusOnHover) {
|
|
479
|
+
this.changeFocusedOptionIndex(event, index);
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
onFilterChange(event) {
|
|
483
|
+
const value = event.target.value;
|
|
484
|
+
|
|
485
|
+
this.filterValue = value;
|
|
486
|
+
this.focusedOptionIndex = -1;
|
|
487
|
+
this.$emit('filter', { originalEvent: event, value });
|
|
488
|
+
|
|
489
|
+
!this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
|
|
490
|
+
},
|
|
491
|
+
onFilterKeyDown(event) {
|
|
492
|
+
switch (event.code) {
|
|
493
|
+
case 'ArrowDown':
|
|
494
|
+
this.onArrowDownKey(event);
|
|
495
|
+
break;
|
|
496
|
+
|
|
497
|
+
case 'ArrowUp':
|
|
498
|
+
this.onArrowUpKey(event, true);
|
|
499
|
+
break;
|
|
500
|
+
|
|
501
|
+
case 'ArrowLeft':
|
|
502
|
+
case 'ArrowRight':
|
|
503
|
+
this.onArrowLeftKey(event, true);
|
|
504
|
+
break;
|
|
505
|
+
|
|
506
|
+
case 'Home':
|
|
507
|
+
this.onHomeKey(event, true);
|
|
508
|
+
break;
|
|
509
|
+
|
|
510
|
+
case 'End':
|
|
511
|
+
this.onEndKey(event, true);
|
|
512
|
+
break;
|
|
513
|
+
|
|
514
|
+
case 'Enter':
|
|
515
|
+
case 'NumpadEnter':
|
|
516
|
+
this.onEnterKey(event);
|
|
517
|
+
break;
|
|
518
|
+
|
|
519
|
+
case 'Escape':
|
|
520
|
+
this.onEscapeKey(event);
|
|
521
|
+
break;
|
|
522
|
+
|
|
523
|
+
case 'Tab':
|
|
524
|
+
this.onTabKey(event, true);
|
|
525
|
+
break;
|
|
526
|
+
|
|
527
|
+
default:
|
|
528
|
+
break;
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
onFilterBlur() {
|
|
532
|
+
this.focusedOptionIndex = -1;
|
|
533
|
+
},
|
|
534
|
+
onFilterUpdated() {
|
|
535
|
+
if (this.overlayVisible) {
|
|
536
|
+
this.alignOverlay();
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
onOverlayClick(event) {
|
|
540
|
+
OverlayEventBus.emit('overlay-click', {
|
|
541
|
+
originalEvent: event,
|
|
542
|
+
target: this.$el
|
|
543
|
+
});
|
|
544
|
+
},
|
|
545
|
+
onOverlayKeyDown(event) {
|
|
546
|
+
switch (event.code) {
|
|
547
|
+
case 'Escape':
|
|
548
|
+
this.onEscapeKey(event);
|
|
549
|
+
break;
|
|
550
|
+
|
|
551
|
+
default:
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
onArrowDownKey(event) {
|
|
556
|
+
if (!this.overlayVisible) {
|
|
557
|
+
this.show();
|
|
558
|
+
this.editable && this.changeFocusedOptionIndex(event, this.findSelectedOptionIndex());
|
|
559
|
+
} else {
|
|
560
|
+
const optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
|
|
561
|
+
|
|
562
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
event.preventDefault();
|
|
566
|
+
},
|
|
567
|
+
onArrowUpKey(event, pressedInInputText = false) {
|
|
568
|
+
if (event.altKey && !pressedInInputText) {
|
|
569
|
+
if (this.focusedOptionIndex !== -1) {
|
|
570
|
+
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
this.overlayVisible && this.hide();
|
|
574
|
+
event.preventDefault();
|
|
575
|
+
} else {
|
|
576
|
+
const optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
|
|
577
|
+
|
|
578
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
579
|
+
|
|
580
|
+
!this.overlayVisible && this.show();
|
|
581
|
+
event.preventDefault();
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
onArrowLeftKey(event, pressedInInputText = false) {
|
|
585
|
+
pressedInInputText && (this.focusedOptionIndex = -1);
|
|
586
|
+
},
|
|
587
|
+
onHomeKey(event, pressedInInputText = false) {
|
|
588
|
+
if (pressedInInputText) {
|
|
589
|
+
const target = event.currentTarget;
|
|
590
|
+
|
|
591
|
+
if (event.shiftKey) {
|
|
592
|
+
target.setSelectionRange(0, event.target.selectionStart);
|
|
593
|
+
} else {
|
|
594
|
+
target.setSelectionRange(0, 0);
|
|
595
|
+
this.focusedOptionIndex = -1;
|
|
596
|
+
}
|
|
597
|
+
} else {
|
|
598
|
+
this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());
|
|
599
|
+
|
|
600
|
+
!this.overlayVisible && this.show();
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
event.preventDefault();
|
|
604
|
+
},
|
|
605
|
+
onEndKey(event, pressedInInputText = false) {
|
|
606
|
+
if (pressedInInputText) {
|
|
607
|
+
const target = event.currentTarget;
|
|
608
|
+
|
|
609
|
+
if (event.shiftKey) {
|
|
610
|
+
target.setSelectionRange(event.target.selectionStart, target.value.length);
|
|
611
|
+
} else {
|
|
612
|
+
const len = target.value.length;
|
|
613
|
+
|
|
614
|
+
target.setSelectionRange(len, len);
|
|
615
|
+
this.focusedOptionIndex = -1;
|
|
616
|
+
}
|
|
617
|
+
} else {
|
|
618
|
+
this.changeFocusedOptionIndex(event, this.findLastOptionIndex());
|
|
619
|
+
|
|
620
|
+
!this.overlayVisible && this.show();
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
event.preventDefault();
|
|
624
|
+
},
|
|
625
|
+
onPageUpKey(event) {
|
|
626
|
+
this.scrollInView(0);
|
|
627
|
+
event.preventDefault();
|
|
628
|
+
},
|
|
629
|
+
onPageDownKey(event) {
|
|
630
|
+
this.scrollInView(this.visibleOptions.length - 1);
|
|
631
|
+
event.preventDefault();
|
|
632
|
+
},
|
|
633
|
+
onEnterKey(event) {
|
|
634
|
+
if (!this.overlayVisible) {
|
|
635
|
+
this.focusedOptionIndex = -1; // reset
|
|
636
|
+
this.onArrowDownKey(event);
|
|
637
|
+
} else {
|
|
638
|
+
if (this.focusedOptionIndex !== -1) {
|
|
639
|
+
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
this.hide();
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
event.preventDefault();
|
|
646
|
+
},
|
|
647
|
+
onSpaceKey(event, pressedInInputText = false) {
|
|
648
|
+
!pressedInInputText && this.onEnterKey(event);
|
|
649
|
+
},
|
|
650
|
+
onEscapeKey(event) {
|
|
651
|
+
this.overlayVisible && this.hide(true);
|
|
652
|
+
event.preventDefault();
|
|
653
|
+
event.stopPropagation(); //@todo will be changed next versionss
|
|
654
|
+
},
|
|
655
|
+
onTabKey(event, pressedInInputText = false) {
|
|
656
|
+
if (!pressedInInputText) {
|
|
657
|
+
if (this.overlayVisible && this.hasFocusableElements()) {
|
|
658
|
+
DomHandler.focus(this.$refs.firstHiddenFocusableElementOnOverlay);
|
|
659
|
+
|
|
660
|
+
event.preventDefault();
|
|
661
|
+
} else {
|
|
662
|
+
if (this.focusedOptionIndex !== -1) {
|
|
663
|
+
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
this.overlayVisible && this.hide(this.filter);
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
onBackspaceKey(event, pressedInInputText = false) {
|
|
671
|
+
if (pressedInInputText) {
|
|
672
|
+
!this.overlayVisible && this.show();
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
onOverlayEnter(el) {
|
|
676
|
+
ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
|
|
677
|
+
|
|
678
|
+
DomHandler.addStyles(el, { position: 'absolute', top: '0', left: '0' });
|
|
679
|
+
this.alignOverlay();
|
|
680
|
+
this.scrollInView();
|
|
681
|
+
|
|
682
|
+
this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput.$el);
|
|
683
|
+
},
|
|
684
|
+
onOverlayAfterEnter() {
|
|
685
|
+
this.bindOutsideClickListener();
|
|
686
|
+
this.bindScrollListener();
|
|
687
|
+
this.bindResizeListener();
|
|
688
|
+
|
|
689
|
+
this.$emit('show');
|
|
690
|
+
},
|
|
691
|
+
onOverlayLeave() {
|
|
692
|
+
this.unbindOutsideClickListener();
|
|
693
|
+
this.unbindScrollListener();
|
|
694
|
+
this.unbindResizeListener();
|
|
695
|
+
|
|
696
|
+
this.$emit('hide');
|
|
697
|
+
this.overlay = null;
|
|
698
|
+
},
|
|
699
|
+
onOverlayAfterLeave(el) {
|
|
700
|
+
ZIndexUtils.clear(el);
|
|
701
|
+
},
|
|
702
|
+
alignOverlay() {
|
|
703
|
+
if (this.appendTo === 'self') {
|
|
704
|
+
DomHandler.relativePosition(this.overlay, this.$el);
|
|
705
|
+
} else {
|
|
706
|
+
this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
707
|
+
DomHandler.absolutePosition(this.overlay, this.$el);
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
bindOutsideClickListener() {
|
|
711
|
+
if (!this.outsideClickListener) {
|
|
712
|
+
this.outsideClickListener = (event) => {
|
|
713
|
+
if (this.overlayVisible && this.overlay && !this.$el.contains(event.target) && !this.overlay.contains(event.target)) {
|
|
714
|
+
this.hide();
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
document.addEventListener('click', this.outsideClickListener);
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
unbindOutsideClickListener() {
|
|
722
|
+
if (this.outsideClickListener) {
|
|
723
|
+
document.removeEventListener('click', this.outsideClickListener);
|
|
724
|
+
this.outsideClickListener = null;
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
bindScrollListener() {
|
|
728
|
+
if (!this.scrollHandler) {
|
|
729
|
+
this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, () => {
|
|
730
|
+
if (this.overlayVisible) {
|
|
731
|
+
this.hide();
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
this.scrollHandler.bindScrollListener();
|
|
737
|
+
},
|
|
738
|
+
unbindScrollListener() {
|
|
739
|
+
if (this.scrollHandler) {
|
|
740
|
+
this.scrollHandler.unbindScrollListener();
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
bindResizeListener() {
|
|
744
|
+
if (!this.resizeListener) {
|
|
745
|
+
this.resizeListener = () => {
|
|
746
|
+
if (this.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
747
|
+
this.hide();
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
window.addEventListener('resize', this.resizeListener);
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
unbindResizeListener() {
|
|
755
|
+
if (this.resizeListener) {
|
|
756
|
+
window.removeEventListener('resize', this.resizeListener);
|
|
757
|
+
this.resizeListener = null;
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
bindLabelClickListener() {
|
|
761
|
+
if (!this.editable && !this.labelClickListener) {
|
|
762
|
+
const label = document.querySelector(`label[for="${this.inputId}"]`);
|
|
763
|
+
|
|
764
|
+
if (label && DomHandler.isVisible(label)) {
|
|
765
|
+
this.labelClickListener = () => {
|
|
766
|
+
DomHandler.focus(this.$refs.focusInput);
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
label.addEventListener('click', this.labelClickListener);
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
unbindLabelClickListener() {
|
|
774
|
+
if (this.labelClickListener) {
|
|
775
|
+
const label = document.querySelector(`label[for="${this.inputId}"]`);
|
|
776
|
+
|
|
777
|
+
if (label && DomHandler.isVisible(label)) {
|
|
778
|
+
label.removeEventListener('click', this.labelClickListener);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
hasFocusableElements() {
|
|
783
|
+
return DomHandler.getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
|
|
784
|
+
},
|
|
785
|
+
isOptionMatched(option) {
|
|
786
|
+
return this.isValidOption(option) && typeof this.getOptionLabel(option) === 'string' && this.getOptionLabel(option)?.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
|
|
787
|
+
},
|
|
788
|
+
isValidOption(option) {
|
|
789
|
+
return ObjectUtils.isNotEmpty(option) && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
|
|
790
|
+
},
|
|
791
|
+
isValidSelectedOption(option) {
|
|
792
|
+
return this.isValidOption(option) && this.isSelected(option);
|
|
793
|
+
},
|
|
794
|
+
isSelected(option) {
|
|
795
|
+
return this.isValidOption(option) && ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
|
|
796
|
+
},
|
|
797
|
+
findFirstOptionIndex() {
|
|
798
|
+
return this.visibleOptions.findIndex((option) => this.isValidOption(option));
|
|
799
|
+
},
|
|
800
|
+
findLastOptionIndex() {
|
|
801
|
+
return ObjectUtils.findLastIndex(this.visibleOptions, (option) => this.isValidOption(option));
|
|
802
|
+
},
|
|
803
|
+
findNextOptionIndex(index) {
|
|
804
|
+
const matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex((option) => this.isValidOption(option)) : -1;
|
|
805
|
+
|
|
806
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
807
|
+
},
|
|
808
|
+
findPrevOptionIndex(index) {
|
|
809
|
+
const matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), (option) => this.isValidOption(option)) : -1;
|
|
810
|
+
|
|
811
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
812
|
+
},
|
|
813
|
+
findSelectedOptionIndex() {
|
|
814
|
+
return this.hasSelectedOption ? this.visibleOptions.findIndex((option) => this.isValidSelectedOption(option)) : -1;
|
|
815
|
+
},
|
|
816
|
+
findFirstFocusedOptionIndex() {
|
|
817
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
818
|
+
|
|
819
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
820
|
+
},
|
|
821
|
+
findLastFocusedOptionIndex() {
|
|
822
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
823
|
+
|
|
824
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
825
|
+
},
|
|
826
|
+
searchOptions(event, char) {
|
|
827
|
+
this.searchValue = (this.searchValue || '') + char;
|
|
828
|
+
|
|
829
|
+
let optionIndex = -1;
|
|
830
|
+
let matched = false;
|
|
831
|
+
|
|
832
|
+
if (ObjectUtils.isNotEmpty(this.searchValue)) {
|
|
833
|
+
if (this.focusedOptionIndex !== -1) {
|
|
834
|
+
optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex((option) => this.isOptionMatched(option));
|
|
835
|
+
optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex((option) => this.isOptionMatched(option)) : optionIndex + this.focusedOptionIndex;
|
|
836
|
+
} else {
|
|
837
|
+
optionIndex = this.visibleOptions.findIndex((option) => this.isOptionMatched(option));
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
if (optionIndex !== -1) {
|
|
841
|
+
matched = true;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
if (optionIndex === -1 && this.focusedOptionIndex === -1) {
|
|
845
|
+
optionIndex = this.findFirstFocusedOptionIndex();
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
if (optionIndex !== -1) {
|
|
849
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
if (this.searchTimeout) {
|
|
854
|
+
clearTimeout(this.searchTimeout);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
this.searchTimeout = setTimeout(() => {
|
|
858
|
+
this.searchValue = '';
|
|
859
|
+
this.searchTimeout = null;
|
|
860
|
+
}, 500);
|
|
861
|
+
|
|
862
|
+
return matched;
|
|
863
|
+
},
|
|
864
|
+
changeFocusedOptionIndex(event, index) {
|
|
865
|
+
if (this.focusedOptionIndex !== index) {
|
|
866
|
+
this.focusedOptionIndex = index;
|
|
867
|
+
this.scrollInView();
|
|
868
|
+
|
|
869
|
+
if (this.selectOnFocus) {
|
|
870
|
+
this.onOptionSelect(event, this.visibleOptions[index], false);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
scrollInView(index = -1) {
|
|
875
|
+
this.$nextTick(() => {
|
|
876
|
+
const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;
|
|
877
|
+
const element = DomHandler.findSingle(this.list, `li[id="${id}"]`);
|
|
878
|
+
|
|
879
|
+
if (element) {
|
|
880
|
+
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start' });
|
|
881
|
+
} else if (!this.virtualScrollerDisabled) {
|
|
882
|
+
this.virtualScroller && this.virtualScroller.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex);
|
|
883
|
+
}
|
|
884
|
+
});
|
|
885
|
+
},
|
|
886
|
+
autoUpdateModel() {
|
|
887
|
+
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
|
|
888
|
+
this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
|
|
889
|
+
this.onOptionSelect(null, this.visibleOptions[this.focusedOptionIndex], false);
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
updateModel(event, value) {
|
|
893
|
+
this.$emit('update:modelValue', value);
|
|
894
|
+
this.$emit('change', { originalEvent: event, value });
|
|
895
|
+
},
|
|
896
|
+
flatOptions(options) {
|
|
897
|
+
return (options || []).reduce((result, option, index) => {
|
|
898
|
+
result.push({ optionGroup: option, group: true, index });
|
|
899
|
+
|
|
900
|
+
const optionGroupChildren = this.getOptionGroupChildren(option);
|
|
901
|
+
|
|
902
|
+
optionGroupChildren && optionGroupChildren.forEach((o) => result.push(o));
|
|
903
|
+
|
|
904
|
+
return result;
|
|
905
|
+
}, []);
|
|
906
|
+
},
|
|
907
|
+
overlayRef(el) {
|
|
908
|
+
this.overlay = el;
|
|
909
|
+
},
|
|
910
|
+
listRef(el, contentRef) {
|
|
911
|
+
this.list = el;
|
|
912
|
+
contentRef && contentRef(el); // For VirtualScroller
|
|
913
|
+
},
|
|
914
|
+
virtualScrollerRef(el) {
|
|
915
|
+
this.virtualScroller = el;
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
computed: {
|
|
919
|
+
visibleOptions() {
|
|
920
|
+
const options = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
|
|
921
|
+
|
|
922
|
+
if (this.filterValue) {
|
|
923
|
+
const filteredOptions = FilterService.filter(options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
|
|
924
|
+
|
|
925
|
+
if (this.optionGroupLabel) {
|
|
926
|
+
const optionGroups = this.options || [];
|
|
927
|
+
const filtered = [];
|
|
928
|
+
|
|
929
|
+
optionGroups.forEach((group) => {
|
|
930
|
+
const groupChildren = this.getOptionGroupChildren(group);
|
|
931
|
+
const filteredItems = groupChildren.filter((item) => filteredOptions.includes(item));
|
|
932
|
+
|
|
933
|
+
if (filteredItems.length > 0) filtered.push({ ...group, [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems] });
|
|
934
|
+
});
|
|
935
|
+
|
|
936
|
+
return this.flatOptions(filtered);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
return filteredOptions;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
return options;
|
|
943
|
+
},
|
|
944
|
+
hasSelectedOption() {
|
|
945
|
+
return ObjectUtils.isNotEmpty(this.modelValue);
|
|
946
|
+
},
|
|
947
|
+
label() {
|
|
948
|
+
const selectedOptionIndex = this.findSelectedOptionIndex();
|
|
949
|
+
|
|
950
|
+
return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.placeholder || 'p-emptylabel';
|
|
951
|
+
},
|
|
952
|
+
editableInputValue() {
|
|
953
|
+
const selectedOptionIndex = this.findSelectedOptionIndex();
|
|
954
|
+
|
|
955
|
+
return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.modelValue || '';
|
|
956
|
+
},
|
|
957
|
+
equalityKey() {
|
|
958
|
+
return this.optionValue ? null : this.dataKey;
|
|
959
|
+
},
|
|
960
|
+
searchFields() {
|
|
961
|
+
return this.filterFields || [this.optionLabel];
|
|
962
|
+
},
|
|
963
|
+
filterResultMessageText() {
|
|
964
|
+
return ObjectUtils.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll('{0}', this.visibleOptions.length) : this.emptyFilterMessageText;
|
|
965
|
+
},
|
|
966
|
+
filterMessageText() {
|
|
967
|
+
return this.filterMessage || this.$primevue.config.locale.searchMessage || '';
|
|
968
|
+
},
|
|
969
|
+
emptyFilterMessageText() {
|
|
970
|
+
return this.emptyFilterMessage || this.$primevue.config.locale.emptySearchMessage || this.$primevue.config.locale.emptyFilterMessage || '';
|
|
971
|
+
},
|
|
972
|
+
emptyMessageText() {
|
|
973
|
+
return this.emptyMessage || this.$primevue.config.locale.emptyMessage || '';
|
|
974
|
+
},
|
|
975
|
+
selectionMessageText() {
|
|
976
|
+
return this.selectionMessage || this.$primevue.config.locale.selectionMessage || '';
|
|
977
|
+
},
|
|
978
|
+
emptySelectionMessageText() {
|
|
979
|
+
return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || '';
|
|
980
|
+
},
|
|
981
|
+
selectedMessageText() {
|
|
982
|
+
return this.hasSelectedOption ? this.selectionMessageText.replaceAll('{0}', '1') : this.emptySelectionMessageText;
|
|
983
|
+
},
|
|
984
|
+
focusedOptionId() {
|
|
985
|
+
return this.focusedOptionIndex !== -1 ? `${this.id}_${this.focusedOptionIndex}` : null;
|
|
986
|
+
},
|
|
987
|
+
ariaSetSize() {
|
|
988
|
+
return this.visibleOptions.filter((option) => !this.isOptionGroup(option)).length;
|
|
989
|
+
},
|
|
990
|
+
virtualScrollerDisabled() {
|
|
991
|
+
return !this.virtualScrollerOptions;
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
directives: {
|
|
995
|
+
ripple: Ripple
|
|
996
|
+
},
|
|
997
|
+
components: {
|
|
998
|
+
InputText,
|
|
999
|
+
VirtualScroller,
|
|
1000
|
+
Portal,
|
|
1001
|
+
InputIcon,
|
|
1002
|
+
IconField,
|
|
1003
|
+
TimesIcon,
|
|
1004
|
+
ChevronDownIcon,
|
|
1005
|
+
SpinnerIcon,
|
|
1006
|
+
SearchIcon,
|
|
1007
|
+
CheckIcon,
|
|
1008
|
+
BlankIcon
|
|
1009
|
+
}
|
|
1010
|
+
};
|
|
1011
|
+
</script>
|