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,1250 @@
|
|
|
1
|
+
import { DomHandler, ObjectUtils, UniqueComponentId, ZIndexUtils, ConnectedOverlayScrollHandler } from '@primevuelab/core/utils';
|
|
2
|
+
import AngleRightIcon from '@primevuelab/icons/angleright';
|
|
3
|
+
import ChevronDownIcon from '@primevuelab/icons/chevrondown';
|
|
4
|
+
import SpinnerIcon from '@primevuelab/icons/spinner';
|
|
5
|
+
import OverlayEventBus from 'primevuelab/overlayeventbus';
|
|
6
|
+
import Portal from 'primevuelab/portal';
|
|
7
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
8
|
+
import CascadeSelectStyle from 'primevuelab/cascadeselect/style';
|
|
9
|
+
import Ripple from 'primevuelab/ripple';
|
|
10
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, Fragment, renderList, withDirectives, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, normalizeClass, createElementVNode, renderSlot, createTextVNode, createVNode, withCtx, Transition } from 'vue';
|
|
11
|
+
|
|
12
|
+
var script$2 = {
|
|
13
|
+
name: 'BaseCascadeSelect',
|
|
14
|
+
"extends": BaseComponent,
|
|
15
|
+
props: {
|
|
16
|
+
modelValue: null,
|
|
17
|
+
options: Array,
|
|
18
|
+
optionLabel: null,
|
|
19
|
+
optionValue: null,
|
|
20
|
+
optionDisabled: null,
|
|
21
|
+
optionGroupLabel: null,
|
|
22
|
+
optionGroupChildren: null,
|
|
23
|
+
placeholder: String,
|
|
24
|
+
variant: {
|
|
25
|
+
type: String,
|
|
26
|
+
"default": null
|
|
27
|
+
},
|
|
28
|
+
invalid: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
disabled: Boolean,
|
|
33
|
+
dataKey: null,
|
|
34
|
+
inputId: {
|
|
35
|
+
type: String,
|
|
36
|
+
"default": null
|
|
37
|
+
},
|
|
38
|
+
inputClass: {
|
|
39
|
+
type: [String, Object],
|
|
40
|
+
"default": null
|
|
41
|
+
},
|
|
42
|
+
inputStyle: {
|
|
43
|
+
type: Object,
|
|
44
|
+
"default": null
|
|
45
|
+
},
|
|
46
|
+
inputProps: {
|
|
47
|
+
type: null,
|
|
48
|
+
"default": null
|
|
49
|
+
},
|
|
50
|
+
panelClass: {
|
|
51
|
+
type: [String, Object],
|
|
52
|
+
"default": null
|
|
53
|
+
},
|
|
54
|
+
panelStyle: {
|
|
55
|
+
type: Object,
|
|
56
|
+
"default": null
|
|
57
|
+
},
|
|
58
|
+
panelProps: {
|
|
59
|
+
type: null,
|
|
60
|
+
"default": null
|
|
61
|
+
},
|
|
62
|
+
overlayClass: {
|
|
63
|
+
type: [String, Object],
|
|
64
|
+
"default": null
|
|
65
|
+
},
|
|
66
|
+
overlayStyle: {
|
|
67
|
+
type: Object,
|
|
68
|
+
"default": null
|
|
69
|
+
},
|
|
70
|
+
overlayProps: {
|
|
71
|
+
type: null,
|
|
72
|
+
"default": null
|
|
73
|
+
},
|
|
74
|
+
appendTo: {
|
|
75
|
+
type: [String, Object],
|
|
76
|
+
"default": 'body'
|
|
77
|
+
},
|
|
78
|
+
loading: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
"default": false
|
|
81
|
+
},
|
|
82
|
+
dropdownIcon: {
|
|
83
|
+
type: String,
|
|
84
|
+
"default": undefined
|
|
85
|
+
},
|
|
86
|
+
loadingIcon: {
|
|
87
|
+
type: String,
|
|
88
|
+
"default": undefined
|
|
89
|
+
},
|
|
90
|
+
optionGroupIcon: {
|
|
91
|
+
type: String,
|
|
92
|
+
"default": undefined
|
|
93
|
+
},
|
|
94
|
+
autoOptionFocus: {
|
|
95
|
+
type: Boolean,
|
|
96
|
+
"default": false
|
|
97
|
+
},
|
|
98
|
+
selectOnFocus: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
"default": false
|
|
101
|
+
},
|
|
102
|
+
focusOnHover: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
"default": true
|
|
105
|
+
},
|
|
106
|
+
searchLocale: {
|
|
107
|
+
type: String,
|
|
108
|
+
"default": undefined
|
|
109
|
+
},
|
|
110
|
+
searchMessage: {
|
|
111
|
+
type: String,
|
|
112
|
+
"default": null
|
|
113
|
+
},
|
|
114
|
+
selectionMessage: {
|
|
115
|
+
type: String,
|
|
116
|
+
"default": null
|
|
117
|
+
},
|
|
118
|
+
emptySelectionMessage: {
|
|
119
|
+
type: String,
|
|
120
|
+
"default": null
|
|
121
|
+
},
|
|
122
|
+
emptySearchMessage: {
|
|
123
|
+
type: String,
|
|
124
|
+
"default": null
|
|
125
|
+
},
|
|
126
|
+
emptyMessage: {
|
|
127
|
+
type: String,
|
|
128
|
+
"default": null
|
|
129
|
+
},
|
|
130
|
+
tabindex: {
|
|
131
|
+
type: Number,
|
|
132
|
+
"default": 0
|
|
133
|
+
},
|
|
134
|
+
ariaLabelledby: {
|
|
135
|
+
type: String,
|
|
136
|
+
"default": null
|
|
137
|
+
},
|
|
138
|
+
ariaLabel: {
|
|
139
|
+
type: String,
|
|
140
|
+
"default": null
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
style: CascadeSelectStyle,
|
|
144
|
+
provide: function provide() {
|
|
145
|
+
return {
|
|
146
|
+
$pcCascadeSelect: this,
|
|
147
|
+
$parentInstance: this
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
var script$1 = {
|
|
153
|
+
name: 'CascadeSelectSub',
|
|
154
|
+
hostName: 'CascadeSelect',
|
|
155
|
+
"extends": BaseComponent,
|
|
156
|
+
emits: ['option-change', 'option-focus-change'],
|
|
157
|
+
container: null,
|
|
158
|
+
props: {
|
|
159
|
+
selectId: String,
|
|
160
|
+
focusedOptionId: String,
|
|
161
|
+
options: Array,
|
|
162
|
+
optionLabel: String,
|
|
163
|
+
optionValue: String,
|
|
164
|
+
optionDisabled: null,
|
|
165
|
+
optionGroupIcon: String,
|
|
166
|
+
optionGroupLabel: String,
|
|
167
|
+
optionGroupChildren: {
|
|
168
|
+
type: [String, Array],
|
|
169
|
+
"default": null
|
|
170
|
+
},
|
|
171
|
+
activeOptionPath: Array,
|
|
172
|
+
level: Number,
|
|
173
|
+
templates: null,
|
|
174
|
+
isParentMount: Boolean
|
|
175
|
+
},
|
|
176
|
+
data: function data() {
|
|
177
|
+
return {
|
|
178
|
+
mounted: false
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
watch: {
|
|
182
|
+
isParentMount: {
|
|
183
|
+
handler: function handler(newValue) {
|
|
184
|
+
newValue && DomHandler.nestedPosition(this.container, this.level);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
mounted: function mounted() {
|
|
189
|
+
// entering order correction when an option is selected
|
|
190
|
+
(this.isParentMount || this.level === 0) && DomHandler.nestedPosition(this.container, this.level);
|
|
191
|
+
this.mounted = true;
|
|
192
|
+
},
|
|
193
|
+
methods: {
|
|
194
|
+
getOptionId: function getOptionId(processedOption) {
|
|
195
|
+
return "".concat(this.selectId, "_").concat(processedOption.key);
|
|
196
|
+
},
|
|
197
|
+
getOptionLabel: function getOptionLabel(processedOption) {
|
|
198
|
+
return this.optionLabel ? ObjectUtils.resolveFieldData(processedOption.option, this.optionLabel) : processedOption.option;
|
|
199
|
+
},
|
|
200
|
+
getOptionValue: function getOptionValue(processedOption) {
|
|
201
|
+
return this.optionValue ? ObjectUtils.resolveFieldData(processedOption.option, this.optionValue) : processedOption.option;
|
|
202
|
+
},
|
|
203
|
+
getPTOptions: function getPTOptions(processedOption, index, key) {
|
|
204
|
+
return this.ptm(key, {
|
|
205
|
+
context: {
|
|
206
|
+
option: processedOption,
|
|
207
|
+
index: index,
|
|
208
|
+
level: this.level,
|
|
209
|
+
optionGroup: this.isOptionGroup(processedOption),
|
|
210
|
+
active: this.isOptionActive(processedOption),
|
|
211
|
+
focused: this.isOptionFocused(processedOption),
|
|
212
|
+
disabled: this.isOptionDisabled(processedOption)
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
},
|
|
216
|
+
isOptionDisabled: function isOptionDisabled(processedOption) {
|
|
217
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(processedOption.option, this.optionDisabled) : false;
|
|
218
|
+
},
|
|
219
|
+
getOptionGroupLabel: function getOptionGroupLabel(processedOption) {
|
|
220
|
+
return this.optionGroupLabel ? ObjectUtils.resolveFieldData(processedOption.option, this.optionGroupLabel) : null;
|
|
221
|
+
},
|
|
222
|
+
getOptionGroupChildren: function getOptionGroupChildren(processedOption) {
|
|
223
|
+
return processedOption.children;
|
|
224
|
+
},
|
|
225
|
+
isOptionGroup: function isOptionGroup(processedOption) {
|
|
226
|
+
return ObjectUtils.isNotEmpty(processedOption.children);
|
|
227
|
+
},
|
|
228
|
+
isOptionSelected: function isOptionSelected(processedOption) {
|
|
229
|
+
return !this.isOptionGroup(processedOption) && this.isOptionActive(processedOption);
|
|
230
|
+
},
|
|
231
|
+
isOptionActive: function isOptionActive(processedOption) {
|
|
232
|
+
return this.activeOptionPath.some(function (path) {
|
|
233
|
+
return path.key === processedOption.key;
|
|
234
|
+
});
|
|
235
|
+
},
|
|
236
|
+
isOptionFocused: function isOptionFocused(processedOption) {
|
|
237
|
+
return this.focusedOptionId === this.getOptionId(processedOption);
|
|
238
|
+
},
|
|
239
|
+
getOptionLabelToRender: function getOptionLabelToRender(processedOption) {
|
|
240
|
+
return this.isOptionGroup(processedOption) ? this.getOptionGroupLabel(processedOption) : this.getOptionLabel(processedOption);
|
|
241
|
+
},
|
|
242
|
+
onOptionClick: function onOptionClick(event, processedOption) {
|
|
243
|
+
this.$emit('option-change', {
|
|
244
|
+
originalEvent: event,
|
|
245
|
+
processedOption: processedOption,
|
|
246
|
+
isFocus: true
|
|
247
|
+
});
|
|
248
|
+
},
|
|
249
|
+
onOptionMouseMove: function onOptionMouseMove(event, processedOption) {
|
|
250
|
+
this.$emit('option-focus-change', {
|
|
251
|
+
originalEvent: event,
|
|
252
|
+
processedOption: processedOption
|
|
253
|
+
});
|
|
254
|
+
},
|
|
255
|
+
onOptionChange: function onOptionChange(event) {
|
|
256
|
+
this.$emit('option-change', event);
|
|
257
|
+
},
|
|
258
|
+
onOptionFocusChange: function onOptionFocusChange(event) {
|
|
259
|
+
this.$emit('option-focus-change', event);
|
|
260
|
+
},
|
|
261
|
+
containerRef: function containerRef(el) {
|
|
262
|
+
this.container = el;
|
|
263
|
+
},
|
|
264
|
+
listAriaLabel: function listAriaLabel() {
|
|
265
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.listLabel : undefined;
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
directives: {
|
|
269
|
+
ripple: Ripple
|
|
270
|
+
},
|
|
271
|
+
components: {
|
|
272
|
+
AngleRightIcon: AngleRightIcon
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
var _hoisted_1$1 = ["id", "aria-label", "aria-selected", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-option-group", "data-p-active", "data-p-focus", "data-p-disabled"];
|
|
277
|
+
var _hoisted_2 = ["onClick", "onMousemove"];
|
|
278
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
279
|
+
var _component_AngleRightIcon = resolveComponent("AngleRightIcon");
|
|
280
|
+
var _component_CascadeSelectSub = resolveComponent("CascadeSelectSub", true);
|
|
281
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
282
|
+
return openBlock(), createElementBlock("ul", mergeProps({
|
|
283
|
+
ref: $options.containerRef,
|
|
284
|
+
"class": _ctx.cx('list')
|
|
285
|
+
}, $props.level === 0 ? _ctx.ptm('list') : _ctx.ptm('optionList')), [(openBlock(true), createElementBlock(Fragment, null, renderList($props.options, function (processedOption, index) {
|
|
286
|
+
return openBlock(), createElementBlock("li", mergeProps({
|
|
287
|
+
key: $options.getOptionLabelToRender(processedOption),
|
|
288
|
+
id: $options.getOptionId(processedOption),
|
|
289
|
+
"class": _ctx.cx('option', {
|
|
290
|
+
processedOption: processedOption
|
|
291
|
+
}),
|
|
292
|
+
role: "treeitem",
|
|
293
|
+
"aria-label": $options.getOptionLabelToRender(processedOption),
|
|
294
|
+
"aria-selected": $options.isOptionGroup(processedOption) ? undefined : $options.isOptionSelected(processedOption),
|
|
295
|
+
"aria-expanded": $options.isOptionGroup(processedOption) ? $options.isOptionActive(processedOption) : undefined,
|
|
296
|
+
"aria-level": $props.level + 1,
|
|
297
|
+
"aria-setsize": $props.options.length,
|
|
298
|
+
"aria-posinset": index + 1,
|
|
299
|
+
ref_for: true
|
|
300
|
+
}, $options.getPTOptions(processedOption, index, 'option'), {
|
|
301
|
+
"data-p-option-group": $options.isOptionGroup(processedOption),
|
|
302
|
+
"data-p-active": $options.isOptionActive(processedOption),
|
|
303
|
+
"data-p-focus": $options.isOptionFocused(processedOption),
|
|
304
|
+
"data-p-disabled": $options.isOptionDisabled(processedOption)
|
|
305
|
+
}), [withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
306
|
+
"class": _ctx.cx('optionContent'),
|
|
307
|
+
onClick: function onClick($event) {
|
|
308
|
+
return $options.onOptionClick($event, processedOption);
|
|
309
|
+
},
|
|
310
|
+
onMousemove: function onMousemove($event) {
|
|
311
|
+
return $options.onOptionMouseMove($event, processedOption);
|
|
312
|
+
},
|
|
313
|
+
ref_for: true
|
|
314
|
+
}, $options.getPTOptions(processedOption, index, 'optionContent')), [$props.templates['option'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['option']), {
|
|
315
|
+
key: 0,
|
|
316
|
+
option: processedOption.option,
|
|
317
|
+
selected: $options.isOptionGroup(processedOption) ? false : $options.isOptionSelected(processedOption)
|
|
318
|
+
}, null, 8, ["option", "selected"])) : (openBlock(), createElementBlock("span", mergeProps({
|
|
319
|
+
key: 1,
|
|
320
|
+
"class": _ctx.cx('optionText'),
|
|
321
|
+
ref_for: true
|
|
322
|
+
}, $options.getPTOptions(processedOption, index, 'optionText')), toDisplayString($options.getOptionLabelToRender(processedOption)), 17)), $options.isOptionGroup(processedOption) ? (openBlock(), createElementBlock(Fragment, {
|
|
323
|
+
key: 2
|
|
324
|
+
}, [$props.templates['optiongroupicon'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['optiongroupicon']), {
|
|
325
|
+
key: 0,
|
|
326
|
+
"aria-hidden": "true"
|
|
327
|
+
})) : $props.optionGroupIcon ? (openBlock(), createElementBlock("span", mergeProps({
|
|
328
|
+
key: 1,
|
|
329
|
+
"class": [_ctx.cx('groupIcon'), $props.optionGroupIcon],
|
|
330
|
+
"aria-hidden": "true",
|
|
331
|
+
ref_for: true
|
|
332
|
+
}, $options.getPTOptions(processedOption, index, 'groupIcon')), null, 16)) : (openBlock(), createBlock(_component_AngleRightIcon, mergeProps({
|
|
333
|
+
key: 2,
|
|
334
|
+
"class": _ctx.cx('groupIcon'),
|
|
335
|
+
"aria-hidden": "true",
|
|
336
|
+
ref_for: true
|
|
337
|
+
}, $options.getPTOptions(processedOption, index, 'groupIcon')), null, 16, ["class"]))], 64)) : createCommentVNode("", true)], 16, _hoisted_2)), [[_directive_ripple]]), $options.isOptionGroup(processedOption) && $options.isOptionActive(processedOption) ? (openBlock(), createBlock(_component_CascadeSelectSub, {
|
|
338
|
+
key: 0,
|
|
339
|
+
role: "group",
|
|
340
|
+
"class": normalizeClass(_ctx.cx('optionList')),
|
|
341
|
+
selectId: $props.selectId,
|
|
342
|
+
focusedOptionId: $props.focusedOptionId,
|
|
343
|
+
options: $options.getOptionGroupChildren(processedOption),
|
|
344
|
+
activeOptionPath: $props.activeOptionPath,
|
|
345
|
+
level: $props.level + 1,
|
|
346
|
+
templates: $props.templates,
|
|
347
|
+
optionLabel: $props.optionLabel,
|
|
348
|
+
optionValue: $props.optionValue,
|
|
349
|
+
optionDisabled: $props.optionDisabled,
|
|
350
|
+
optionGroupIcon: $props.optionGroupIcon,
|
|
351
|
+
optionGroupLabel: $props.optionGroupLabel,
|
|
352
|
+
optionGroupChildren: $props.optionGroupChildren,
|
|
353
|
+
onOptionChange: $options.onOptionChange,
|
|
354
|
+
onOptionFocusChange: $options.onOptionFocusChange,
|
|
355
|
+
pt: _ctx.pt,
|
|
356
|
+
unstyled: _ctx.unstyled,
|
|
357
|
+
isParentMount: $data.mounted
|
|
358
|
+
}, null, 8, ["class", "selectId", "focusedOptionId", "options", "activeOptionPath", "level", "templates", "optionLabel", "optionValue", "optionDisabled", "optionGroupIcon", "optionGroupLabel", "optionGroupChildren", "onOptionChange", "onOptionFocusChange", "pt", "unstyled", "isParentMount"])) : createCommentVNode("", true)], 16, _hoisted_1$1);
|
|
359
|
+
}), 128))], 16);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
script$1.render = render$1;
|
|
363
|
+
|
|
364
|
+
var script = {
|
|
365
|
+
name: 'CascadeSelect',
|
|
366
|
+
"extends": script$2,
|
|
367
|
+
inheritAttrs: false,
|
|
368
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur', 'click', 'group-change', 'before-show', 'before-hide', 'hide', 'show'],
|
|
369
|
+
outsideClickListener: null,
|
|
370
|
+
scrollHandler: null,
|
|
371
|
+
resizeListener: null,
|
|
372
|
+
overlay: null,
|
|
373
|
+
searchTimeout: null,
|
|
374
|
+
searchValue: null,
|
|
375
|
+
data: function data() {
|
|
376
|
+
return {
|
|
377
|
+
id: this.$attrs.id,
|
|
378
|
+
clicked: false,
|
|
379
|
+
focused: false,
|
|
380
|
+
focusedOptionInfo: {
|
|
381
|
+
index: -1,
|
|
382
|
+
level: 0,
|
|
383
|
+
parentKey: ''
|
|
384
|
+
},
|
|
385
|
+
activeOptionPath: [],
|
|
386
|
+
overlayVisible: false,
|
|
387
|
+
dirty: false
|
|
388
|
+
};
|
|
389
|
+
},
|
|
390
|
+
watch: {
|
|
391
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
392
|
+
this.id = newValue || UniqueComponentId();
|
|
393
|
+
},
|
|
394
|
+
options: function options() {
|
|
395
|
+
this.autoUpdateModel();
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
mounted: function mounted() {
|
|
399
|
+
this.id = this.id || UniqueComponentId();
|
|
400
|
+
this.autoUpdateModel();
|
|
401
|
+
},
|
|
402
|
+
beforeUnmount: function beforeUnmount() {
|
|
403
|
+
this.unbindOutsideClickListener();
|
|
404
|
+
this.unbindResizeListener();
|
|
405
|
+
if (this.scrollHandler) {
|
|
406
|
+
this.scrollHandler.destroy();
|
|
407
|
+
this.scrollHandler = null;
|
|
408
|
+
}
|
|
409
|
+
if (this.overlay) {
|
|
410
|
+
ZIndexUtils.clear(this.overlay);
|
|
411
|
+
this.overlay = null;
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
methods: {
|
|
415
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
416
|
+
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
|
417
|
+
},
|
|
418
|
+
getOptionValue: function getOptionValue(option) {
|
|
419
|
+
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
|
420
|
+
},
|
|
421
|
+
isOptionDisabled: function isOptionDisabled(option) {
|
|
422
|
+
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
423
|
+
},
|
|
424
|
+
getOptionGroupLabel: function getOptionGroupLabel(optionGroup) {
|
|
425
|
+
return this.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel) : null;
|
|
426
|
+
},
|
|
427
|
+
getOptionGroupChildren: function getOptionGroupChildren(optionGroup, level) {
|
|
428
|
+
return ObjectUtils.isString(this.optionGroupChildren) ? ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren) : ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren[level]);
|
|
429
|
+
},
|
|
430
|
+
isOptionGroup: function isOptionGroup(option, level) {
|
|
431
|
+
return Object.prototype.hasOwnProperty.call(option, this.optionGroupChildren[level]);
|
|
432
|
+
},
|
|
433
|
+
getProccessedOptionLabel: function getProccessedOptionLabel() {
|
|
434
|
+
var processedOption = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
435
|
+
var grouped = this.isProccessedOptionGroup(processedOption);
|
|
436
|
+
return grouped ? this.getOptionGroupLabel(processedOption.option, processedOption.level) : this.getOptionLabel(processedOption.option);
|
|
437
|
+
},
|
|
438
|
+
isProccessedOptionGroup: function isProccessedOptionGroup(processedOption) {
|
|
439
|
+
return ObjectUtils.isNotEmpty(processedOption === null || processedOption === void 0 ? void 0 : processedOption.children);
|
|
440
|
+
},
|
|
441
|
+
show: function show(isFocus) {
|
|
442
|
+
this.$emit('before-show');
|
|
443
|
+
this.overlayVisible = true;
|
|
444
|
+
this.activeOptionPath = this.hasSelectedOption ? this.findOptionPathByValue(this.modelValue) : this.activeOptionPath;
|
|
445
|
+
if (this.hasSelectedOption && ObjectUtils.isNotEmpty(this.activeOptionPath)) {
|
|
446
|
+
var processedOption = this.activeOptionPath[this.activeOptionPath.length - 1];
|
|
447
|
+
this.focusedOptionInfo = {
|
|
448
|
+
index: processedOption.index,
|
|
449
|
+
level: processedOption.level,
|
|
450
|
+
parentKey: processedOption.parentKey
|
|
451
|
+
};
|
|
452
|
+
} else {
|
|
453
|
+
this.focusedOptionInfo = {
|
|
454
|
+
index: this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex(),
|
|
455
|
+
level: 0,
|
|
456
|
+
parentKey: ''
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
isFocus && DomHandler.focus(this.$refs.focusInput);
|
|
460
|
+
},
|
|
461
|
+
hide: function hide(isFocus) {
|
|
462
|
+
var _this = this;
|
|
463
|
+
var _hide = function _hide() {
|
|
464
|
+
_this.$emit('before-hide');
|
|
465
|
+
_this.overlayVisible = false;
|
|
466
|
+
_this.clicked = false;
|
|
467
|
+
_this.activeOptionPath = [];
|
|
468
|
+
_this.focusedOptionInfo = {
|
|
469
|
+
index: -1,
|
|
470
|
+
level: 0,
|
|
471
|
+
parentKey: ''
|
|
472
|
+
};
|
|
473
|
+
isFocus && DomHandler.focus(_this.$refs.focusInput);
|
|
474
|
+
};
|
|
475
|
+
setTimeout(function () {
|
|
476
|
+
_hide();
|
|
477
|
+
}, 0); // For ScreenReaders
|
|
478
|
+
},
|
|
479
|
+
onFocus: function onFocus(event) {
|
|
480
|
+
if (this.disabled) {
|
|
481
|
+
// For ScreenReaders
|
|
482
|
+
return;
|
|
483
|
+
}
|
|
484
|
+
this.focused = true;
|
|
485
|
+
this.$emit('focus', event);
|
|
486
|
+
},
|
|
487
|
+
onBlur: function onBlur(event) {
|
|
488
|
+
this.focused = false;
|
|
489
|
+
this.focusedOptionInfo = {
|
|
490
|
+
index: -1,
|
|
491
|
+
level: 0,
|
|
492
|
+
parentKey: ''
|
|
493
|
+
};
|
|
494
|
+
this.searchValue = '';
|
|
495
|
+
this.$emit('blur', event);
|
|
496
|
+
},
|
|
497
|
+
onKeyDown: function onKeyDown(event) {
|
|
498
|
+
if (this.disabled || this.loading) {
|
|
499
|
+
event.preventDefault();
|
|
500
|
+
return;
|
|
501
|
+
}
|
|
502
|
+
var metaKey = event.metaKey || event.ctrlKey;
|
|
503
|
+
switch (event.code) {
|
|
504
|
+
case 'ArrowDown':
|
|
505
|
+
this.onArrowDownKey(event);
|
|
506
|
+
break;
|
|
507
|
+
case 'ArrowUp':
|
|
508
|
+
this.onArrowUpKey(event);
|
|
509
|
+
break;
|
|
510
|
+
case 'ArrowLeft':
|
|
511
|
+
this.onArrowLeftKey(event);
|
|
512
|
+
break;
|
|
513
|
+
case 'ArrowRight':
|
|
514
|
+
this.onArrowRightKey(event);
|
|
515
|
+
break;
|
|
516
|
+
case 'Home':
|
|
517
|
+
this.onHomeKey(event);
|
|
518
|
+
break;
|
|
519
|
+
case 'End':
|
|
520
|
+
this.onEndKey(event);
|
|
521
|
+
break;
|
|
522
|
+
case 'Space':
|
|
523
|
+
this.onSpaceKey(event);
|
|
524
|
+
break;
|
|
525
|
+
case 'Enter':
|
|
526
|
+
case 'NumpadEnter':
|
|
527
|
+
this.onEnterKey(event);
|
|
528
|
+
break;
|
|
529
|
+
case 'Escape':
|
|
530
|
+
this.onEscapeKey(event);
|
|
531
|
+
break;
|
|
532
|
+
case 'Tab':
|
|
533
|
+
this.onTabKey(event);
|
|
534
|
+
break;
|
|
535
|
+
case 'PageDown':
|
|
536
|
+
case 'PageUp':
|
|
537
|
+
case 'Backspace':
|
|
538
|
+
case 'ShiftLeft':
|
|
539
|
+
case 'ShiftRight':
|
|
540
|
+
//NOOP
|
|
541
|
+
break;
|
|
542
|
+
default:
|
|
543
|
+
if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
|
|
544
|
+
!this.overlayVisible && this.show();
|
|
545
|
+
this.searchOptions(event, event.key);
|
|
546
|
+
}
|
|
547
|
+
break;
|
|
548
|
+
}
|
|
549
|
+
this.clicked = false;
|
|
550
|
+
},
|
|
551
|
+
onOptionChange: function onOptionChange(event) {
|
|
552
|
+
var originalEvent = event.originalEvent,
|
|
553
|
+
processedOption = event.processedOption,
|
|
554
|
+
isFocus = event.isFocus,
|
|
555
|
+
isHide = event.isHide;
|
|
556
|
+
if (ObjectUtils.isEmpty(processedOption)) return;
|
|
557
|
+
var index = processedOption.index,
|
|
558
|
+
level = processedOption.level,
|
|
559
|
+
parentKey = processedOption.parentKey,
|
|
560
|
+
children = processedOption.children;
|
|
561
|
+
var grouped = ObjectUtils.isNotEmpty(children);
|
|
562
|
+
var root = ObjectUtils.isEmpty(processedOption.parent);
|
|
563
|
+
var selected = this.isSelected(processedOption);
|
|
564
|
+
if (selected) {
|
|
565
|
+
var _index = processedOption.index,
|
|
566
|
+
key = processedOption.key,
|
|
567
|
+
_level = processedOption.level,
|
|
568
|
+
_parentKey = processedOption.parentKey;
|
|
569
|
+
this.focusedOptionInfo = {
|
|
570
|
+
index: _index,
|
|
571
|
+
level: _level,
|
|
572
|
+
parentKey: _parentKey
|
|
573
|
+
};
|
|
574
|
+
this.activeOptionPath = this.activeOptionPath.filter(function (p) {
|
|
575
|
+
return key !== p.key && key.startsWith(p.key);
|
|
576
|
+
});
|
|
577
|
+
this.dirty = !root;
|
|
578
|
+
} else {
|
|
579
|
+
var activeOptionPath = this.activeOptionPath.filter(function (p) {
|
|
580
|
+
return p.parentKey !== parentKey;
|
|
581
|
+
});
|
|
582
|
+
activeOptionPath.push(processedOption);
|
|
583
|
+
this.focusedOptionInfo = {
|
|
584
|
+
index: index,
|
|
585
|
+
level: level,
|
|
586
|
+
parentKey: parentKey
|
|
587
|
+
};
|
|
588
|
+
this.activeOptionPath = activeOptionPath;
|
|
589
|
+
}
|
|
590
|
+
grouped ? this.onOptionGroupSelect(originalEvent, processedOption) : this.onOptionSelect(originalEvent, processedOption, isHide);
|
|
591
|
+
isFocus && DomHandler.focus(this.$refs.focusInput);
|
|
592
|
+
},
|
|
593
|
+
onOptionFocusChange: function onOptionFocusChange(event) {
|
|
594
|
+
if (this.focusOnHover) {
|
|
595
|
+
var originalEvent = event.originalEvent,
|
|
596
|
+
processedOption = event.processedOption;
|
|
597
|
+
var index = processedOption.index,
|
|
598
|
+
level = processedOption.level,
|
|
599
|
+
parentKey = processedOption.parentKey;
|
|
600
|
+
this.focusedOptionInfo = {
|
|
601
|
+
index: index,
|
|
602
|
+
level: level,
|
|
603
|
+
parentKey: parentKey
|
|
604
|
+
};
|
|
605
|
+
this.changeFocusedOptionIndex(originalEvent, index);
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
onOptionSelect: function onOptionSelect(event, processedOption) {
|
|
609
|
+
var isHide = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
610
|
+
var value = this.getOptionValue(processedOption === null || processedOption === void 0 ? void 0 : processedOption.option);
|
|
611
|
+
this.activeOptionPath.forEach(function (p) {
|
|
612
|
+
return p.selected = true;
|
|
613
|
+
});
|
|
614
|
+
this.updateModel(event, value);
|
|
615
|
+
isHide && this.hide(true);
|
|
616
|
+
},
|
|
617
|
+
onOptionGroupSelect: function onOptionGroupSelect(event, processedOption) {
|
|
618
|
+
this.dirty = true;
|
|
619
|
+
this.$emit('group-change', {
|
|
620
|
+
originalEvent: event,
|
|
621
|
+
value: processedOption.option
|
|
622
|
+
});
|
|
623
|
+
},
|
|
624
|
+
onContainerClick: function onContainerClick(event) {
|
|
625
|
+
if (this.disabled || this.loading) {
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
if (!this.overlay || !this.overlay.contains(event.target)) {
|
|
629
|
+
this.overlayVisible ? this.hide() : this.show();
|
|
630
|
+
DomHandler.focus(this.$refs.focusInput);
|
|
631
|
+
}
|
|
632
|
+
this.clicked = true;
|
|
633
|
+
this.$emit('click', event);
|
|
634
|
+
},
|
|
635
|
+
onOverlayClick: function onOverlayClick(event) {
|
|
636
|
+
OverlayEventBus.emit('overlay-click', {
|
|
637
|
+
originalEvent: event,
|
|
638
|
+
target: this.$el
|
|
639
|
+
});
|
|
640
|
+
},
|
|
641
|
+
onOverlayKeyDown: function onOverlayKeyDown(event) {
|
|
642
|
+
switch (event.code) {
|
|
643
|
+
case 'Escape':
|
|
644
|
+
this.onEscapeKey(event);
|
|
645
|
+
break;
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
onArrowDownKey: function onArrowDownKey(event) {
|
|
649
|
+
if (!this.overlayVisible) {
|
|
650
|
+
this.show();
|
|
651
|
+
} else {
|
|
652
|
+
var optionIndex = this.focusedOptionInfo.index !== -1 ? this.findNextOptionIndex(this.focusedOptionInfo.index) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
|
|
653
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
654
|
+
}
|
|
655
|
+
event.preventDefault();
|
|
656
|
+
},
|
|
657
|
+
onArrowUpKey: function onArrowUpKey(event) {
|
|
658
|
+
if (event.altKey) {
|
|
659
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
660
|
+
var processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
661
|
+
var grouped = this.isProccessedOptionGroup(processedOption);
|
|
662
|
+
!grouped && this.onOptionChange({
|
|
663
|
+
originalEvent: event,
|
|
664
|
+
processedOption: processedOption
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
this.overlayVisible && this.hide();
|
|
668
|
+
event.preventDefault();
|
|
669
|
+
} else {
|
|
670
|
+
var optionIndex = this.focusedOptionInfo.index !== -1 ? this.findPrevOptionIndex(this.focusedOptionInfo.index) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
|
|
671
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
672
|
+
!this.overlayVisible && this.show();
|
|
673
|
+
event.preventDefault();
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
onArrowLeftKey: function onArrowLeftKey(event) {
|
|
677
|
+
var _this2 = this;
|
|
678
|
+
if (this.overlayVisible) {
|
|
679
|
+
var processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
680
|
+
var parentOption = this.activeOptionPath.find(function (p) {
|
|
681
|
+
return p.key === (processedOption === null || processedOption === void 0 ? void 0 : processedOption.parentKey);
|
|
682
|
+
});
|
|
683
|
+
var matched = this.focusedOptionInfo.parentKey === '' || parentOption && parentOption.key === this.focusedOptionInfo.parentKey;
|
|
684
|
+
var root = ObjectUtils.isEmpty(processedOption === null || processedOption === void 0 ? void 0 : processedOption.parent);
|
|
685
|
+
if (matched) {
|
|
686
|
+
this.activeOptionPath = this.activeOptionPath.filter(function (p) {
|
|
687
|
+
return p.parentKey !== _this2.focusedOptionInfo.parentKey;
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
if (!root) {
|
|
691
|
+
this.focusedOptionInfo = {
|
|
692
|
+
index: -1,
|
|
693
|
+
parentKey: parentOption ? parentOption.parentKey : ''
|
|
694
|
+
};
|
|
695
|
+
this.searchValue = '';
|
|
696
|
+
this.onArrowDownKey(event);
|
|
697
|
+
}
|
|
698
|
+
event.preventDefault();
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
onArrowRightKey: function onArrowRightKey(event) {
|
|
702
|
+
if (this.overlayVisible) {
|
|
703
|
+
var processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
704
|
+
var grouped = this.isProccessedOptionGroup(processedOption);
|
|
705
|
+
if (grouped) {
|
|
706
|
+
var matched = this.activeOptionPath.some(function (p) {
|
|
707
|
+
return (processedOption === null || processedOption === void 0 ? void 0 : processedOption.key) === p.key;
|
|
708
|
+
});
|
|
709
|
+
if (matched) {
|
|
710
|
+
this.focusedOptionInfo = {
|
|
711
|
+
index: -1,
|
|
712
|
+
parentKey: processedOption === null || processedOption === void 0 ? void 0 : processedOption.key
|
|
713
|
+
};
|
|
714
|
+
this.searchValue = '';
|
|
715
|
+
this.onArrowDownKey(event);
|
|
716
|
+
} else {
|
|
717
|
+
this.onOptionChange({
|
|
718
|
+
originalEvent: event,
|
|
719
|
+
processedOption: processedOption
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
event.preventDefault();
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
onHomeKey: function onHomeKey(event) {
|
|
727
|
+
this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());
|
|
728
|
+
!this.overlayVisible && this.show();
|
|
729
|
+
event.preventDefault();
|
|
730
|
+
},
|
|
731
|
+
onEndKey: function onEndKey(event) {
|
|
732
|
+
this.changeFocusedOptionIndex(event, this.findLastOptionIndex());
|
|
733
|
+
!this.overlayVisible && this.show();
|
|
734
|
+
event.preventDefault();
|
|
735
|
+
},
|
|
736
|
+
onEnterKey: function onEnterKey(event) {
|
|
737
|
+
if (!this.overlayVisible) {
|
|
738
|
+
this.focusedOptionInfo.index !== -1; // reset
|
|
739
|
+
this.onArrowDownKey(event);
|
|
740
|
+
} else {
|
|
741
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
742
|
+
var processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
743
|
+
var grouped = this.isProccessedOptionGroup(processedOption);
|
|
744
|
+
this.onOptionChange({
|
|
745
|
+
originalEvent: event,
|
|
746
|
+
processedOption: processedOption
|
|
747
|
+
});
|
|
748
|
+
!grouped && this.hide();
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
event.preventDefault();
|
|
752
|
+
},
|
|
753
|
+
onSpaceKey: function onSpaceKey(event) {
|
|
754
|
+
this.onEnterKey(event);
|
|
755
|
+
},
|
|
756
|
+
onEscapeKey: function onEscapeKey(event) {
|
|
757
|
+
this.overlayVisible && this.hide(true);
|
|
758
|
+
event.preventDefault();
|
|
759
|
+
},
|
|
760
|
+
onTabKey: function onTabKey(event) {
|
|
761
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
762
|
+
var processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
763
|
+
var grouped = this.isProccessedOptionGroup(processedOption);
|
|
764
|
+
!grouped && this.onOptionChange({
|
|
765
|
+
originalEvent: event,
|
|
766
|
+
processedOption: processedOption
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
this.overlayVisible && this.hide();
|
|
770
|
+
},
|
|
771
|
+
onOverlayEnter: function onOverlayEnter(el) {
|
|
772
|
+
ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
|
|
773
|
+
DomHandler.addStyles(el, {
|
|
774
|
+
position: 'absolute',
|
|
775
|
+
top: '0',
|
|
776
|
+
left: '0'
|
|
777
|
+
});
|
|
778
|
+
this.alignOverlay();
|
|
779
|
+
this.scrollInView();
|
|
780
|
+
},
|
|
781
|
+
onOverlayAfterEnter: function onOverlayAfterEnter() {
|
|
782
|
+
this.bindOutsideClickListener();
|
|
783
|
+
this.bindScrollListener();
|
|
784
|
+
this.bindResizeListener();
|
|
785
|
+
this.$emit('show');
|
|
786
|
+
},
|
|
787
|
+
onOverlayLeave: function onOverlayLeave() {
|
|
788
|
+
this.unbindOutsideClickListener();
|
|
789
|
+
this.unbindScrollListener();
|
|
790
|
+
this.unbindResizeListener();
|
|
791
|
+
this.$emit('hide');
|
|
792
|
+
this.overlay = null;
|
|
793
|
+
this.dirty = false;
|
|
794
|
+
},
|
|
795
|
+
onOverlayAfterLeave: function onOverlayAfterLeave(el) {
|
|
796
|
+
ZIndexUtils.clear(el);
|
|
797
|
+
},
|
|
798
|
+
alignOverlay: function alignOverlay() {
|
|
799
|
+
if (this.appendTo === 'self') {
|
|
800
|
+
DomHandler.relativePosition(this.overlay, this.$el);
|
|
801
|
+
} else {
|
|
802
|
+
this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + 'px';
|
|
803
|
+
DomHandler.absolutePosition(this.overlay, this.$el);
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
807
|
+
var _this3 = this;
|
|
808
|
+
if (!this.outsideClickListener) {
|
|
809
|
+
this.outsideClickListener = function (event) {
|
|
810
|
+
if (_this3.overlayVisible && _this3.overlay && !_this3.$el.contains(event.target) && !_this3.overlay.contains(event.target)) {
|
|
811
|
+
_this3.hide();
|
|
812
|
+
}
|
|
813
|
+
};
|
|
814
|
+
document.addEventListener('click', this.outsideClickListener);
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
818
|
+
if (this.outsideClickListener) {
|
|
819
|
+
document.removeEventListener('click', this.outsideClickListener);
|
|
820
|
+
this.outsideClickListener = null;
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
bindScrollListener: function bindScrollListener() {
|
|
824
|
+
var _this4 = this;
|
|
825
|
+
if (!this.scrollHandler) {
|
|
826
|
+
this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, function () {
|
|
827
|
+
if (_this4.overlayVisible) {
|
|
828
|
+
_this4.hide();
|
|
829
|
+
}
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
this.scrollHandler.bindScrollListener();
|
|
833
|
+
},
|
|
834
|
+
unbindScrollListener: function unbindScrollListener() {
|
|
835
|
+
if (this.scrollHandler) {
|
|
836
|
+
this.scrollHandler.unbindScrollListener();
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
bindResizeListener: function bindResizeListener() {
|
|
840
|
+
var _this5 = this;
|
|
841
|
+
if (!this.resizeListener) {
|
|
842
|
+
this.resizeListener = function () {
|
|
843
|
+
if (_this5.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
844
|
+
_this5.hide();
|
|
845
|
+
}
|
|
846
|
+
};
|
|
847
|
+
window.addEventListener('resize', this.resizeListener);
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
unbindResizeListener: function unbindResizeListener() {
|
|
851
|
+
if (this.resizeListener) {
|
|
852
|
+
window.removeEventListener('resize', this.resizeListener);
|
|
853
|
+
this.resizeListener = null;
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
isOptionMatched: function isOptionMatched(processedOption) {
|
|
857
|
+
var _this$getProccessedOp;
|
|
858
|
+
return this.isValidOption(processedOption) && ((_this$getProccessedOp = this.getProccessedOptionLabel(processedOption)) === null || _this$getProccessedOp === void 0 ? void 0 : _this$getProccessedOp.toLocaleLowerCase(this.searchLocale).startsWith(this.searchValue.toLocaleLowerCase(this.searchLocale)));
|
|
859
|
+
},
|
|
860
|
+
isValidOption: function isValidOption(processedOption) {
|
|
861
|
+
return ObjectUtils.isNotEmpty(processedOption) && !this.isOptionDisabled(processedOption.option);
|
|
862
|
+
},
|
|
863
|
+
isValidSelectedOption: function isValidSelectedOption(processedOption) {
|
|
864
|
+
return this.isValidOption(processedOption) && this.isSelected(processedOption);
|
|
865
|
+
},
|
|
866
|
+
isSelected: function isSelected(processedOption) {
|
|
867
|
+
return this.activeOptionPath.some(function (p) {
|
|
868
|
+
return p.key === processedOption.key;
|
|
869
|
+
});
|
|
870
|
+
},
|
|
871
|
+
findFirstOptionIndex: function findFirstOptionIndex() {
|
|
872
|
+
var _this6 = this;
|
|
873
|
+
return this.visibleOptions.findIndex(function (processedOption) {
|
|
874
|
+
return _this6.isValidOption(processedOption);
|
|
875
|
+
});
|
|
876
|
+
},
|
|
877
|
+
findLastOptionIndex: function findLastOptionIndex() {
|
|
878
|
+
var _this7 = this;
|
|
879
|
+
return ObjectUtils.findLastIndex(this.visibleOptions, function (processedOption) {
|
|
880
|
+
return _this7.isValidOption(processedOption);
|
|
881
|
+
});
|
|
882
|
+
},
|
|
883
|
+
findNextOptionIndex: function findNextOptionIndex(index) {
|
|
884
|
+
var _this8 = this;
|
|
885
|
+
var matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function (processedOption) {
|
|
886
|
+
return _this8.isValidOption(processedOption);
|
|
887
|
+
}) : -1;
|
|
888
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
889
|
+
},
|
|
890
|
+
findPrevOptionIndex: function findPrevOptionIndex(index) {
|
|
891
|
+
var _this9 = this;
|
|
892
|
+
var matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), function (processedOption) {
|
|
893
|
+
return _this9.isValidOption(processedOption);
|
|
894
|
+
}) : -1;
|
|
895
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
896
|
+
},
|
|
897
|
+
findSelectedOptionIndex: function findSelectedOptionIndex() {
|
|
898
|
+
var _this10 = this;
|
|
899
|
+
return this.visibleOptions.findIndex(function (processedOption) {
|
|
900
|
+
return _this10.isValidSelectedOption(processedOption);
|
|
901
|
+
});
|
|
902
|
+
},
|
|
903
|
+
findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
|
|
904
|
+
var selectedIndex = this.findSelectedOptionIndex();
|
|
905
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
906
|
+
},
|
|
907
|
+
findLastFocusedOptionIndex: function findLastFocusedOptionIndex() {
|
|
908
|
+
var selectedIndex = this.findSelectedOptionIndex();
|
|
909
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
910
|
+
},
|
|
911
|
+
findOptionPathByValue: function findOptionPathByValue(value, processedOptions) {
|
|
912
|
+
var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
913
|
+
processedOptions = processedOptions || level === 0 && this.processedOptions;
|
|
914
|
+
if (!processedOptions) return null;
|
|
915
|
+
if (ObjectUtils.isEmpty(value)) return [];
|
|
916
|
+
for (var i = 0; i < processedOptions.length; i++) {
|
|
917
|
+
var processedOption = processedOptions[i];
|
|
918
|
+
if (ObjectUtils.equals(value, this.getOptionValue(processedOption.option), this.equalityKey)) {
|
|
919
|
+
return [processedOption];
|
|
920
|
+
}
|
|
921
|
+
var matchedOptions = this.findOptionPathByValue(value, processedOption.children, level + 1);
|
|
922
|
+
if (matchedOptions) {
|
|
923
|
+
matchedOptions.unshift(processedOption);
|
|
924
|
+
return matchedOptions;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
searchOptions: function searchOptions(event, _char) {
|
|
929
|
+
var _this11 = this;
|
|
930
|
+
this.searchValue = (this.searchValue || '') + _char;
|
|
931
|
+
var optionIndex = -1;
|
|
932
|
+
var matched = false;
|
|
933
|
+
if (ObjectUtils.isNotEmpty(this.searchValue)) {
|
|
934
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
935
|
+
optionIndex = this.visibleOptions.slice(this.focusedOptionInfo.index).findIndex(function (processedOption) {
|
|
936
|
+
return _this11.isOptionMatched(processedOption);
|
|
937
|
+
});
|
|
938
|
+
optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionInfo.index).findIndex(function (processedOption) {
|
|
939
|
+
return _this11.isOptionMatched(processedOption);
|
|
940
|
+
}) : optionIndex + this.focusedOptionInfo.index;
|
|
941
|
+
} else {
|
|
942
|
+
optionIndex = this.visibleOptions.findIndex(function (processedOption) {
|
|
943
|
+
return _this11.isOptionMatched(processedOption);
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
if (optionIndex !== -1) {
|
|
947
|
+
matched = true;
|
|
948
|
+
}
|
|
949
|
+
if (optionIndex === -1 && this.focusedOptionInfo.index === -1) {
|
|
950
|
+
optionIndex = this.findFirstFocusedOptionIndex();
|
|
951
|
+
}
|
|
952
|
+
if (optionIndex !== -1) {
|
|
953
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
if (this.searchTimeout) {
|
|
957
|
+
clearTimeout(this.searchTimeout);
|
|
958
|
+
}
|
|
959
|
+
this.searchTimeout = setTimeout(function () {
|
|
960
|
+
_this11.searchValue = '';
|
|
961
|
+
_this11.searchTimeout = null;
|
|
962
|
+
}, 500);
|
|
963
|
+
return matched;
|
|
964
|
+
},
|
|
965
|
+
changeFocusedOptionIndex: function changeFocusedOptionIndex(event, index) {
|
|
966
|
+
if (this.focusedOptionInfo.index !== index) {
|
|
967
|
+
this.focusedOptionInfo.index = index;
|
|
968
|
+
this.scrollInView();
|
|
969
|
+
if (this.selectOnFocus) {
|
|
970
|
+
this.onOptionChange({
|
|
971
|
+
originalEvent: event,
|
|
972
|
+
processedOption: this.visibleOptions[index],
|
|
973
|
+
isHide: false
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
scrollInView: function scrollInView() {
|
|
979
|
+
var _this12 = this;
|
|
980
|
+
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
|
|
981
|
+
this.$nextTick(function () {
|
|
982
|
+
var id = index !== -1 ? "".concat(_this12.id, "_").concat(index) : _this12.focusedOptionId;
|
|
983
|
+
var element = DomHandler.findSingle(_this12.list, "li[id=\"".concat(id, "\"]"));
|
|
984
|
+
if (element) {
|
|
985
|
+
element.scrollIntoView && element.scrollIntoView({
|
|
986
|
+
block: 'nearest',
|
|
987
|
+
inline: 'start'
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
});
|
|
991
|
+
},
|
|
992
|
+
autoUpdateModel: function autoUpdateModel() {
|
|
993
|
+
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
|
|
994
|
+
this.focusedOptionInfo.index = this.findFirstFocusedOptionIndex();
|
|
995
|
+
this.onOptionChange({
|
|
996
|
+
processedOption: this.visibleOptions[this.focusedOptionInfo.index],
|
|
997
|
+
isHide: false
|
|
998
|
+
});
|
|
999
|
+
!this.overlayVisible && (this.focusedOptionInfo = {
|
|
1000
|
+
index: -1,
|
|
1001
|
+
level: 0,
|
|
1002
|
+
parentKey: ''
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
updateModel: function updateModel(event, value) {
|
|
1007
|
+
this.$emit('update:modelValue', value);
|
|
1008
|
+
this.$emit('change', {
|
|
1009
|
+
originalEvent: event,
|
|
1010
|
+
value: value
|
|
1011
|
+
});
|
|
1012
|
+
},
|
|
1013
|
+
createProcessedOptions: function createProcessedOptions(options) {
|
|
1014
|
+
var _this13 = this;
|
|
1015
|
+
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
1016
|
+
var parent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1017
|
+
var parentKey = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
|
|
1018
|
+
var processedOptions = [];
|
|
1019
|
+
options && options.forEach(function (option, index) {
|
|
1020
|
+
var key = (parentKey !== '' ? parentKey + '_' : '') + index;
|
|
1021
|
+
var newOption = {
|
|
1022
|
+
option: option,
|
|
1023
|
+
index: index,
|
|
1024
|
+
level: level,
|
|
1025
|
+
key: key,
|
|
1026
|
+
parent: parent,
|
|
1027
|
+
parentKey: parentKey
|
|
1028
|
+
};
|
|
1029
|
+
newOption['children'] = _this13.createProcessedOptions(_this13.getOptionGroupChildren(option, level), level + 1, newOption, key);
|
|
1030
|
+
processedOptions.push(newOption);
|
|
1031
|
+
});
|
|
1032
|
+
return processedOptions;
|
|
1033
|
+
},
|
|
1034
|
+
overlayRef: function overlayRef(el) {
|
|
1035
|
+
this.overlay = el;
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
computed: {
|
|
1039
|
+
hasSelectedOption: function hasSelectedOption() {
|
|
1040
|
+
return ObjectUtils.isNotEmpty(this.modelValue);
|
|
1041
|
+
},
|
|
1042
|
+
label: function label() {
|
|
1043
|
+
var label = this.placeholder || 'p-emptylabel';
|
|
1044
|
+
if (this.hasSelectedOption) {
|
|
1045
|
+
var activeOptionPath = this.findOptionPathByValue(this.modelValue);
|
|
1046
|
+
var processedOption = ObjectUtils.isNotEmpty(activeOptionPath) ? activeOptionPath[activeOptionPath.length - 1] : null;
|
|
1047
|
+
return processedOption ? this.getOptionLabel(processedOption.option) : label;
|
|
1048
|
+
}
|
|
1049
|
+
return label;
|
|
1050
|
+
},
|
|
1051
|
+
processedOptions: function processedOptions() {
|
|
1052
|
+
return this.createProcessedOptions(this.options || []);
|
|
1053
|
+
},
|
|
1054
|
+
visibleOptions: function visibleOptions() {
|
|
1055
|
+
var _this14 = this;
|
|
1056
|
+
var processedOption = this.activeOptionPath.find(function (p) {
|
|
1057
|
+
return p.key === _this14.focusedOptionInfo.parentKey;
|
|
1058
|
+
});
|
|
1059
|
+
return processedOption ? processedOption.children : this.processedOptions;
|
|
1060
|
+
},
|
|
1061
|
+
equalityKey: function equalityKey() {
|
|
1062
|
+
return this.optionValue ? null : this.dataKey;
|
|
1063
|
+
},
|
|
1064
|
+
searchResultMessageText: function searchResultMessageText() {
|
|
1065
|
+
return ObjectUtils.isNotEmpty(this.visibleOptions) ? this.searchMessageText.replaceAll('{0}', this.visibleOptions.length) : this.emptySearchMessageText;
|
|
1066
|
+
},
|
|
1067
|
+
searchMessageText: function searchMessageText() {
|
|
1068
|
+
return this.searchMessage || this.$primevue.config.locale.searchMessage || '';
|
|
1069
|
+
},
|
|
1070
|
+
emptySearchMessageText: function emptySearchMessageText() {
|
|
1071
|
+
return this.emptySearchMessage || this.$primevue.config.locale.emptySearchMessage || '';
|
|
1072
|
+
},
|
|
1073
|
+
emptyMessageText: function emptyMessageText() {
|
|
1074
|
+
return this.emptyMessage || this.$primevue.config.locale.emptyMessage || '';
|
|
1075
|
+
},
|
|
1076
|
+
selectionMessageText: function selectionMessageText() {
|
|
1077
|
+
return this.selectionMessage || this.$primevue.config.locale.selectionMessage || '';
|
|
1078
|
+
},
|
|
1079
|
+
emptySelectionMessageText: function emptySelectionMessageText() {
|
|
1080
|
+
return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || '';
|
|
1081
|
+
},
|
|
1082
|
+
selectedMessageText: function selectedMessageText() {
|
|
1083
|
+
return this.hasSelectedOption ? this.selectionMessageText.replaceAll('{0}', '1') : this.emptySelectionMessageText;
|
|
1084
|
+
},
|
|
1085
|
+
focusedOptionId: function focusedOptionId() {
|
|
1086
|
+
return this.focusedOptionInfo.index !== -1 ? "".concat(this.id).concat(ObjectUtils.isNotEmpty(this.focusedOptionInfo.parentKey) ? '_' + this.focusedOptionInfo.parentKey : '', "_").concat(this.focusedOptionInfo.index) : null;
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
components: {
|
|
1090
|
+
CascadeSelectSub: script$1,
|
|
1091
|
+
Portal: Portal,
|
|
1092
|
+
ChevronDownIcon: ChevronDownIcon,
|
|
1093
|
+
SpinnerIcon: SpinnerIcon,
|
|
1094
|
+
AngleRightIcon: AngleRightIcon
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1099
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1100
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1101
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
1102
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
1103
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1104
|
+
var _hoisted_1 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
|
|
1105
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1106
|
+
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
1107
|
+
var _component_CascadeSelectSub = resolveComponent("CascadeSelectSub");
|
|
1108
|
+
var _component_Portal = resolveComponent("Portal");
|
|
1109
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1110
|
+
ref: "container",
|
|
1111
|
+
"class": _ctx.cx('root'),
|
|
1112
|
+
style: _ctx.sx('root'),
|
|
1113
|
+
onClick: _cache[5] || (_cache[5] = function ($event) {
|
|
1114
|
+
return $options.onContainerClick($event);
|
|
1115
|
+
})
|
|
1116
|
+
}, _ctx.ptmi('root')), [createElementVNode("div", mergeProps({
|
|
1117
|
+
"class": "p-hidden-accessible"
|
|
1118
|
+
}, _ctx.ptm('hiddenInputContainer'), {
|
|
1119
|
+
"data-p-hidden-accessible": true
|
|
1120
|
+
}), [createElementVNode("input", mergeProps({
|
|
1121
|
+
ref: "focusInput",
|
|
1122
|
+
id: _ctx.inputId,
|
|
1123
|
+
type: "text",
|
|
1124
|
+
"class": _ctx.inputClass,
|
|
1125
|
+
style: _ctx.inputStyle,
|
|
1126
|
+
readonly: "",
|
|
1127
|
+
disabled: _ctx.disabled,
|
|
1128
|
+
placeholder: _ctx.placeholder,
|
|
1129
|
+
tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
|
|
1130
|
+
role: "combobox",
|
|
1131
|
+
"aria-label": _ctx.ariaLabel,
|
|
1132
|
+
"aria-labelledby": _ctx.ariaLabelledby,
|
|
1133
|
+
"aria-haspopup": "tree",
|
|
1134
|
+
"aria-expanded": $data.overlayVisible,
|
|
1135
|
+
"aria-controls": $data.id + '_tree',
|
|
1136
|
+
"aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
|
|
1137
|
+
"aria-invalid": _ctx.invalid || undefined,
|
|
1138
|
+
onFocus: _cache[0] || (_cache[0] = function () {
|
|
1139
|
+
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
1140
|
+
}),
|
|
1141
|
+
onBlur: _cache[1] || (_cache[1] = function () {
|
|
1142
|
+
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
1143
|
+
}),
|
|
1144
|
+
onKeydown: _cache[2] || (_cache[2] = function () {
|
|
1145
|
+
return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
|
|
1146
|
+
})
|
|
1147
|
+
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input'))), null, 16, _hoisted_1)], 16), createElementVNode("span", mergeProps({
|
|
1148
|
+
"class": _ctx.cx('label')
|
|
1149
|
+
}, _ctx.ptm('label')), [renderSlot(_ctx.$slots, "value", {
|
|
1150
|
+
value: _ctx.modelValue,
|
|
1151
|
+
placeholder: _ctx.placeholder
|
|
1152
|
+
}, function () {
|
|
1153
|
+
return [createTextVNode(toDisplayString($options.label), 1)];
|
|
1154
|
+
})], 16), createElementVNode("div", mergeProps({
|
|
1155
|
+
"class": _ctx.cx('dropdown'),
|
|
1156
|
+
role: "button",
|
|
1157
|
+
tabindex: "-1",
|
|
1158
|
+
"aria-hidden": "true"
|
|
1159
|
+
}, _ctx.ptm('dropdown')), [_ctx.loading ? renderSlot(_ctx.$slots, "loadingicon", {
|
|
1160
|
+
key: 0,
|
|
1161
|
+
"class": normalizeClass(_ctx.cx('loadingIcon'))
|
|
1162
|
+
}, function () {
|
|
1163
|
+
return [_ctx.loadingIcon ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1164
|
+
key: 0,
|
|
1165
|
+
"class": [_ctx.cx('loadingIcon'), 'pi-spin', _ctx.loadingIcon],
|
|
1166
|
+
"aria-hidden": "true"
|
|
1167
|
+
}, _ctx.ptm('loadingIcon')), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
1168
|
+
key: 1,
|
|
1169
|
+
"class": _ctx.cx('loadingIcon'),
|
|
1170
|
+
spin: "",
|
|
1171
|
+
"aria-hidden": "true"
|
|
1172
|
+
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))];
|
|
1173
|
+
}) : renderSlot(_ctx.$slots, "dropdownicon", {
|
|
1174
|
+
key: 1,
|
|
1175
|
+
"class": normalizeClass(_ctx.cx('dropdownIcon'))
|
|
1176
|
+
}, function () {
|
|
1177
|
+
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.dropdownIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
1178
|
+
"class": [_ctx.cx('dropdownIcon'), _ctx.dropdownIcon],
|
|
1179
|
+
"aria-hidden": "true"
|
|
1180
|
+
}, _ctx.ptm('dropdownIcon')), null, 16, ["class"]))];
|
|
1181
|
+
})], 16), createElementVNode("span", mergeProps({
|
|
1182
|
+
role: "status",
|
|
1183
|
+
"aria-live": "polite",
|
|
1184
|
+
"class": "p-hidden-accessible"
|
|
1185
|
+
}, _ctx.ptm('hiddenSearchResult'), {
|
|
1186
|
+
"data-p-hidden-accessible": true
|
|
1187
|
+
}), toDisplayString($options.searchResultMessageText), 17), createVNode(_component_Portal, {
|
|
1188
|
+
appendTo: _ctx.appendTo
|
|
1189
|
+
}, {
|
|
1190
|
+
"default": withCtx(function () {
|
|
1191
|
+
return [createVNode(Transition, mergeProps({
|
|
1192
|
+
name: "p-connected-overlay",
|
|
1193
|
+
onEnter: $options.onOverlayEnter,
|
|
1194
|
+
onAfterEnter: $options.onOverlayAfterEnter,
|
|
1195
|
+
onLeave: $options.onOverlayLeave,
|
|
1196
|
+
onAfterLeave: $options.onOverlayAfterLeave
|
|
1197
|
+
}, _ctx.ptm('transition')), {
|
|
1198
|
+
"default": withCtx(function () {
|
|
1199
|
+
return [$data.overlayVisible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1200
|
+
key: 0,
|
|
1201
|
+
ref: $options.overlayRef,
|
|
1202
|
+
"class": [_ctx.cx('overlay'), _ctx.panelClass, _ctx.overlayClass],
|
|
1203
|
+
style: [_ctx.panelStyle, _ctx.overlayStyle],
|
|
1204
|
+
onClick: _cache[3] || (_cache[3] = function () {
|
|
1205
|
+
return $options.onOverlayClick && $options.onOverlayClick.apply($options, arguments);
|
|
1206
|
+
}),
|
|
1207
|
+
onKeydown: _cache[4] || (_cache[4] = function () {
|
|
1208
|
+
return $options.onOverlayKeyDown && $options.onOverlayKeyDown.apply($options, arguments);
|
|
1209
|
+
})
|
|
1210
|
+
}, _objectSpread(_objectSpread(_objectSpread({}, _ctx.panelProps), _ctx.overlayProps), _ctx.ptm('overlay'))), [createElementVNode("div", mergeProps({
|
|
1211
|
+
"class": _ctx.cx('listContainer')
|
|
1212
|
+
}, _ctx.ptm('listContainer')), [createVNode(_component_CascadeSelectSub, {
|
|
1213
|
+
id: $data.id + '_tree',
|
|
1214
|
+
role: "tree",
|
|
1215
|
+
"aria-orientation": "horizontal",
|
|
1216
|
+
selectId: $data.id,
|
|
1217
|
+
focusedOptionId: $data.focused ? $options.focusedOptionId : undefined,
|
|
1218
|
+
options: $options.processedOptions,
|
|
1219
|
+
activeOptionPath: $data.activeOptionPath,
|
|
1220
|
+
level: 0,
|
|
1221
|
+
templates: _ctx.$slots,
|
|
1222
|
+
optionLabel: _ctx.optionLabel,
|
|
1223
|
+
optionValue: _ctx.optionValue,
|
|
1224
|
+
optionDisabled: _ctx.optionDisabled,
|
|
1225
|
+
optionGroupIcon: _ctx.optionGroupIcon,
|
|
1226
|
+
optionGroupLabel: _ctx.optionGroupLabel,
|
|
1227
|
+
optionGroupChildren: _ctx.optionGroupChildren,
|
|
1228
|
+
onOptionChange: $options.onOptionChange,
|
|
1229
|
+
onOptionFocusChange: $options.onOptionFocusChange,
|
|
1230
|
+
pt: _ctx.pt,
|
|
1231
|
+
unstyled: _ctx.unstyled
|
|
1232
|
+
}, null, 8, ["id", "selectId", "focusedOptionId", "options", "activeOptionPath", "templates", "optionLabel", "optionValue", "optionDisabled", "optionGroupIcon", "optionGroupLabel", "optionGroupChildren", "onOptionChange", "onOptionFocusChange", "pt", "unstyled"])], 16), createElementVNode("span", mergeProps({
|
|
1233
|
+
role: "status",
|
|
1234
|
+
"aria-live": "polite",
|
|
1235
|
+
"class": "p-hidden-accessible"
|
|
1236
|
+
}, _ctx.ptm('hiddenSelectedMessage'), {
|
|
1237
|
+
"data-p-hidden-accessible": true
|
|
1238
|
+
}), toDisplayString($options.selectedMessageText), 17)], 16)) : createCommentVNode("", true)];
|
|
1239
|
+
}),
|
|
1240
|
+
_: 1
|
|
1241
|
+
}, 16, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])];
|
|
1242
|
+
}),
|
|
1243
|
+
_: 1
|
|
1244
|
+
}, 8, ["appendTo"])], 16);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
script.render = render;
|
|
1248
|
+
|
|
1249
|
+
export { script as default };
|
|
1250
|
+
//# sourceMappingURL=cascadeselect.mjs.map
|