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
package/tree/tree.mjs
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
1
|
+
import { DomHandler, ObjectUtils } from '@primevuelab/core/utils';
|
|
2
|
+
import SearchIcon from '@primevuelab/icons/search';
|
|
3
|
+
import SpinnerIcon from '@primevuelab/icons/spinner';
|
|
4
|
+
import IconField from 'primevuelab/iconfield';
|
|
5
|
+
import InputIcon from 'primevuelab/inputicon';
|
|
6
|
+
import InputText from 'primevuelab/inputtext';
|
|
7
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
8
|
+
import TreeStyle from 'primevuelab/tree/style';
|
|
9
|
+
import CheckIcon from '@primevuelab/icons/check';
|
|
10
|
+
import ChevronDownIcon from '@primevuelab/icons/chevrondown';
|
|
11
|
+
import ChevronRightIcon from '@primevuelab/icons/chevronright';
|
|
12
|
+
import MinusIcon from '@primevuelab/icons/minus';
|
|
13
|
+
import Checkbox from 'primevuelab/checkbox';
|
|
14
|
+
import Ripple from 'primevuelab/ripple';
|
|
15
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createElementVNode, withDirectives, Fragment, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createCommentVNode, withModifiers, createTextVNode, toDisplayString, renderList, renderSlot, createVNode } from 'vue';
|
|
16
|
+
|
|
17
|
+
var script$2 = {
|
|
18
|
+
name: 'BaseTree',
|
|
19
|
+
"extends": BaseComponent,
|
|
20
|
+
props: {
|
|
21
|
+
value: {
|
|
22
|
+
type: null,
|
|
23
|
+
"default": null
|
|
24
|
+
},
|
|
25
|
+
expandedKeys: {
|
|
26
|
+
type: null,
|
|
27
|
+
"default": null
|
|
28
|
+
},
|
|
29
|
+
selectionKeys: {
|
|
30
|
+
type: null,
|
|
31
|
+
"default": null
|
|
32
|
+
},
|
|
33
|
+
selectionMode: {
|
|
34
|
+
type: String,
|
|
35
|
+
"default": null
|
|
36
|
+
},
|
|
37
|
+
metaKeySelection: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
"default": false
|
|
40
|
+
},
|
|
41
|
+
loading: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
"default": false
|
|
44
|
+
},
|
|
45
|
+
loadingIcon: {
|
|
46
|
+
type: String,
|
|
47
|
+
"default": undefined
|
|
48
|
+
},
|
|
49
|
+
loadingMode: {
|
|
50
|
+
type: String,
|
|
51
|
+
"default": 'mask'
|
|
52
|
+
},
|
|
53
|
+
filter: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
filterBy: {
|
|
58
|
+
type: String,
|
|
59
|
+
"default": 'label'
|
|
60
|
+
},
|
|
61
|
+
filterMode: {
|
|
62
|
+
type: String,
|
|
63
|
+
"default": 'lenient'
|
|
64
|
+
},
|
|
65
|
+
filterPlaceholder: {
|
|
66
|
+
type: String,
|
|
67
|
+
"default": null
|
|
68
|
+
},
|
|
69
|
+
filterLocale: {
|
|
70
|
+
type: String,
|
|
71
|
+
"default": undefined
|
|
72
|
+
},
|
|
73
|
+
highlightOnSelect: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
"default": false
|
|
76
|
+
},
|
|
77
|
+
scrollHeight: {
|
|
78
|
+
type: String,
|
|
79
|
+
"default": null
|
|
80
|
+
},
|
|
81
|
+
level: {
|
|
82
|
+
type: Number,
|
|
83
|
+
"default": 0
|
|
84
|
+
},
|
|
85
|
+
ariaLabelledby: {
|
|
86
|
+
type: String,
|
|
87
|
+
"default": null
|
|
88
|
+
},
|
|
89
|
+
ariaLabel: {
|
|
90
|
+
type: String,
|
|
91
|
+
"default": null
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
style: TreeStyle,
|
|
95
|
+
provide: function provide() {
|
|
96
|
+
return {
|
|
97
|
+
$pcTree: this,
|
|
98
|
+
$parentInstance: this
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "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$1(o); }
|
|
104
|
+
function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e ) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
105
|
+
function ownKeys$1(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; }
|
|
106
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
107
|
+
function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
108
|
+
function _toPropertyKey$1(t) { var i = _toPrimitive$1(t, "string"); return "symbol" == _typeof$1(i) ? i : i + ""; }
|
|
109
|
+
function _toPrimitive$1(t, r) { if ("object" != _typeof$1(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
110
|
+
function _toConsumableArray$1(r) { return _arrayWithoutHoles$1(r) || _iterableToArray$1(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread$1(); }
|
|
111
|
+
function _nonIterableSpread$1() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
112
|
+
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
113
|
+
function _iterableToArray$1(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
114
|
+
function _arrayWithoutHoles$1(r) { if (Array.isArray(r)) return _arrayLikeToArray$1(r); }
|
|
115
|
+
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
116
|
+
var script$1 = {
|
|
117
|
+
name: 'TreeNode',
|
|
118
|
+
hostName: 'Tree',
|
|
119
|
+
"extends": BaseComponent,
|
|
120
|
+
emits: ['node-toggle', 'node-click', 'checkbox-change'],
|
|
121
|
+
props: {
|
|
122
|
+
node: {
|
|
123
|
+
type: null,
|
|
124
|
+
"default": null
|
|
125
|
+
},
|
|
126
|
+
expandedKeys: {
|
|
127
|
+
type: null,
|
|
128
|
+
"default": null
|
|
129
|
+
},
|
|
130
|
+
loadingMode: {
|
|
131
|
+
type: String,
|
|
132
|
+
"default": 'mask'
|
|
133
|
+
},
|
|
134
|
+
selectionKeys: {
|
|
135
|
+
type: null,
|
|
136
|
+
"default": null
|
|
137
|
+
},
|
|
138
|
+
selectionMode: {
|
|
139
|
+
type: String,
|
|
140
|
+
"default": null
|
|
141
|
+
},
|
|
142
|
+
templates: {
|
|
143
|
+
type: null,
|
|
144
|
+
"default": null
|
|
145
|
+
},
|
|
146
|
+
level: {
|
|
147
|
+
type: Number,
|
|
148
|
+
"default": null
|
|
149
|
+
},
|
|
150
|
+
index: null
|
|
151
|
+
},
|
|
152
|
+
nodeTouched: false,
|
|
153
|
+
toggleClicked: false,
|
|
154
|
+
mounted: function mounted() {
|
|
155
|
+
this.setAllNodesTabIndexes();
|
|
156
|
+
},
|
|
157
|
+
methods: {
|
|
158
|
+
toggle: function toggle() {
|
|
159
|
+
this.$emit('node-toggle', this.node);
|
|
160
|
+
this.toggleClicked = true;
|
|
161
|
+
},
|
|
162
|
+
label: function label(node) {
|
|
163
|
+
return typeof node.label === 'function' ? node.label() : node.label;
|
|
164
|
+
},
|
|
165
|
+
onChildNodeToggle: function onChildNodeToggle(node) {
|
|
166
|
+
this.$emit('node-toggle', node);
|
|
167
|
+
},
|
|
168
|
+
getPTOptions: function getPTOptions(key) {
|
|
169
|
+
return this.ptm(key, {
|
|
170
|
+
context: {
|
|
171
|
+
index: this.index,
|
|
172
|
+
expanded: this.expanded,
|
|
173
|
+
selected: this.selected,
|
|
174
|
+
checked: this.checked,
|
|
175
|
+
leaf: this.leaf
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
},
|
|
179
|
+
onClick: function onClick(event) {
|
|
180
|
+
if (this.toggleClicked || DomHandler.getAttribute(event.target, '[data-pc-section="nodetogglebutton"]') || DomHandler.getAttribute(event.target.parentElement, '[data-pc-section="nodetogglebutton"]')) {
|
|
181
|
+
this.toggleClicked = false;
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
if (this.isCheckboxSelectionMode()) {
|
|
185
|
+
this.toggleCheckbox();
|
|
186
|
+
} else {
|
|
187
|
+
this.$emit('node-click', {
|
|
188
|
+
originalEvent: event,
|
|
189
|
+
nodeTouched: this.nodeTouched,
|
|
190
|
+
node: this.node
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
this.nodeTouched = false;
|
|
194
|
+
},
|
|
195
|
+
onChildNodeClick: function onChildNodeClick(event) {
|
|
196
|
+
this.$emit('node-click', event);
|
|
197
|
+
},
|
|
198
|
+
onTouchEnd: function onTouchEnd() {
|
|
199
|
+
this.nodeTouched = true;
|
|
200
|
+
},
|
|
201
|
+
onKeyDown: function onKeyDown(event) {
|
|
202
|
+
if (!this.isSameNode(event)) return;
|
|
203
|
+
switch (event.code) {
|
|
204
|
+
case 'Tab':
|
|
205
|
+
this.onTabKey(event);
|
|
206
|
+
break;
|
|
207
|
+
case 'ArrowDown':
|
|
208
|
+
this.onArrowDown(event);
|
|
209
|
+
break;
|
|
210
|
+
case 'ArrowUp':
|
|
211
|
+
this.onArrowUp(event);
|
|
212
|
+
break;
|
|
213
|
+
case 'ArrowRight':
|
|
214
|
+
this.onArrowRight(event);
|
|
215
|
+
break;
|
|
216
|
+
case 'ArrowLeft':
|
|
217
|
+
this.onArrowLeft(event);
|
|
218
|
+
break;
|
|
219
|
+
case 'Enter':
|
|
220
|
+
case 'NumpadEnter':
|
|
221
|
+
case 'Space':
|
|
222
|
+
this.onEnterKey(event);
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
onArrowDown: function onArrowDown(event) {
|
|
227
|
+
var nodeElement = event.target.getAttribute('data-pc-section') === 'nodetogglebutton' ? event.target.closest('[role="treeitem"]') : event.target;
|
|
228
|
+
var listElement = nodeElement.children[1];
|
|
229
|
+
if (listElement) {
|
|
230
|
+
this.focusRowChange(nodeElement, listElement.children[0]);
|
|
231
|
+
} else {
|
|
232
|
+
if (nodeElement.nextElementSibling) {
|
|
233
|
+
this.focusRowChange(nodeElement, nodeElement.nextElementSibling);
|
|
234
|
+
} else {
|
|
235
|
+
var nextSiblingAncestor = this.findNextSiblingOfAncestor(nodeElement);
|
|
236
|
+
if (nextSiblingAncestor) {
|
|
237
|
+
this.focusRowChange(nodeElement, nextSiblingAncestor);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
event.preventDefault();
|
|
242
|
+
},
|
|
243
|
+
onArrowUp: function onArrowUp(event) {
|
|
244
|
+
var nodeElement = event.target;
|
|
245
|
+
if (nodeElement.previousElementSibling) {
|
|
246
|
+
this.focusRowChange(nodeElement, nodeElement.previousElementSibling, this.findLastVisibleDescendant(nodeElement.previousElementSibling));
|
|
247
|
+
} else {
|
|
248
|
+
var parentNodeElement = this.getParentNodeElement(nodeElement);
|
|
249
|
+
if (parentNodeElement) {
|
|
250
|
+
this.focusRowChange(nodeElement, parentNodeElement);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
event.preventDefault();
|
|
254
|
+
},
|
|
255
|
+
onArrowRight: function onArrowRight(event) {
|
|
256
|
+
var _this = this;
|
|
257
|
+
if (this.leaf || this.expanded) return;
|
|
258
|
+
event.currentTarget.tabIndex = -1;
|
|
259
|
+
this.$emit('node-toggle', this.node);
|
|
260
|
+
this.$nextTick(function () {
|
|
261
|
+
_this.onArrowDown(event);
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
onArrowLeft: function onArrowLeft(event) {
|
|
265
|
+
var togglerElement = DomHandler.findSingle(event.currentTarget, '[data-pc-section="nodetogglebutton"]');
|
|
266
|
+
if (this.level === 0 && !this.expanded) {
|
|
267
|
+
return false;
|
|
268
|
+
}
|
|
269
|
+
if (this.expanded && !this.leaf) {
|
|
270
|
+
togglerElement.click();
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
var target = this.findBeforeClickableNode(event.currentTarget);
|
|
274
|
+
if (target) {
|
|
275
|
+
this.focusRowChange(event.currentTarget, target);
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
onEnterKey: function onEnterKey(event) {
|
|
279
|
+
this.setTabIndexForSelectionMode(event, this.nodeTouched);
|
|
280
|
+
this.onClick(event);
|
|
281
|
+
event.preventDefault();
|
|
282
|
+
},
|
|
283
|
+
onTabKey: function onTabKey() {
|
|
284
|
+
this.setAllNodesTabIndexes();
|
|
285
|
+
},
|
|
286
|
+
setAllNodesTabIndexes: function setAllNodesTabIndexes() {
|
|
287
|
+
var nodes = DomHandler.find(this.$refs.currentNode.closest('[data-pc-section="rootchildren"]'), '[role="treeitem"]');
|
|
288
|
+
var hasSelectedNode = _toConsumableArray$1(nodes).some(function (node) {
|
|
289
|
+
return node.getAttribute('aria-selected') === 'true' || node.getAttribute('aria-checked') === 'true';
|
|
290
|
+
});
|
|
291
|
+
_toConsumableArray$1(nodes).forEach(function (node) {
|
|
292
|
+
node.tabIndex = -1;
|
|
293
|
+
});
|
|
294
|
+
if (hasSelectedNode) {
|
|
295
|
+
var selectedNodes = _toConsumableArray$1(nodes).filter(function (node) {
|
|
296
|
+
return node.getAttribute('aria-selected') === 'true' || node.getAttribute('aria-checked') === 'true';
|
|
297
|
+
});
|
|
298
|
+
selectedNodes[0].tabIndex = 0;
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
_toConsumableArray$1(nodes)[0].tabIndex = 0;
|
|
302
|
+
},
|
|
303
|
+
setTabIndexForSelectionMode: function setTabIndexForSelectionMode(event, nodeTouched) {
|
|
304
|
+
if (this.selectionMode !== null) {
|
|
305
|
+
var elements = _toConsumableArray$1(DomHandler.find(this.$refs.currentNode.parentElement, '[role="treeitem"]'));
|
|
306
|
+
event.currentTarget.tabIndex = nodeTouched === false ? -1 : 0;
|
|
307
|
+
if (elements.every(function (element) {
|
|
308
|
+
return element.tabIndex === -1;
|
|
309
|
+
})) {
|
|
310
|
+
elements[0].tabIndex = 0;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
focusRowChange: function focusRowChange(firstFocusableRow, currentFocusedRow, lastVisibleDescendant) {
|
|
315
|
+
firstFocusableRow.tabIndex = '-1';
|
|
316
|
+
currentFocusedRow.tabIndex = '0';
|
|
317
|
+
this.focusNode(lastVisibleDescendant || currentFocusedRow);
|
|
318
|
+
},
|
|
319
|
+
findBeforeClickableNode: function findBeforeClickableNode(node) {
|
|
320
|
+
var parentListElement = node.closest('ul').closest('li');
|
|
321
|
+
if (parentListElement) {
|
|
322
|
+
var prevNodeButton = DomHandler.findSingle(parentListElement, 'button');
|
|
323
|
+
if (prevNodeButton && prevNodeButton.style.visibility !== 'hidden') {
|
|
324
|
+
return parentListElement;
|
|
325
|
+
}
|
|
326
|
+
return this.findBeforeClickableNode(node.previousElementSibling);
|
|
327
|
+
}
|
|
328
|
+
return null;
|
|
329
|
+
},
|
|
330
|
+
toggleCheckbox: function toggleCheckbox() {
|
|
331
|
+
var _selectionKeys = this.selectionKeys ? _objectSpread$1({}, this.selectionKeys) : {};
|
|
332
|
+
var _check = !this.checked;
|
|
333
|
+
this.propagateDown(this.node, _check, _selectionKeys);
|
|
334
|
+
this.$emit('checkbox-change', {
|
|
335
|
+
node: this.node,
|
|
336
|
+
check: _check,
|
|
337
|
+
selectionKeys: _selectionKeys
|
|
338
|
+
});
|
|
339
|
+
},
|
|
340
|
+
propagateDown: function propagateDown(node, check, selectionKeys) {
|
|
341
|
+
if (check) selectionKeys[node.key] = {
|
|
342
|
+
checked: true,
|
|
343
|
+
partialChecked: false
|
|
344
|
+
};else delete selectionKeys[node.key];
|
|
345
|
+
if (node.children && node.children.length) {
|
|
346
|
+
var _iterator = _createForOfIteratorHelper$1(node.children),
|
|
347
|
+
_step;
|
|
348
|
+
try {
|
|
349
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
350
|
+
var child = _step.value;
|
|
351
|
+
this.propagateDown(child, check, selectionKeys);
|
|
352
|
+
}
|
|
353
|
+
} catch (err) {
|
|
354
|
+
_iterator.e(err);
|
|
355
|
+
} finally {
|
|
356
|
+
_iterator.f();
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
propagateUp: function propagateUp(event) {
|
|
361
|
+
var check = event.check;
|
|
362
|
+
var _selectionKeys = _objectSpread$1({}, event.selectionKeys);
|
|
363
|
+
var checkedChildCount = 0;
|
|
364
|
+
var childPartialSelected = false;
|
|
365
|
+
var _iterator2 = _createForOfIteratorHelper$1(this.node.children),
|
|
366
|
+
_step2;
|
|
367
|
+
try {
|
|
368
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
369
|
+
var child = _step2.value;
|
|
370
|
+
if (_selectionKeys[child.key] && _selectionKeys[child.key].checked) checkedChildCount++;else if (_selectionKeys[child.key] && _selectionKeys[child.key].partialChecked) childPartialSelected = true;
|
|
371
|
+
}
|
|
372
|
+
} catch (err) {
|
|
373
|
+
_iterator2.e(err);
|
|
374
|
+
} finally {
|
|
375
|
+
_iterator2.f();
|
|
376
|
+
}
|
|
377
|
+
if (check && checkedChildCount === this.node.children.length) {
|
|
378
|
+
_selectionKeys[this.node.key] = {
|
|
379
|
+
checked: true,
|
|
380
|
+
partialChecked: false
|
|
381
|
+
};
|
|
382
|
+
} else {
|
|
383
|
+
if (!check) {
|
|
384
|
+
delete _selectionKeys[this.node.key];
|
|
385
|
+
}
|
|
386
|
+
if (childPartialSelected || checkedChildCount > 0 && checkedChildCount !== this.node.children.length) _selectionKeys[this.node.key] = {
|
|
387
|
+
checked: false,
|
|
388
|
+
partialChecked: true
|
|
389
|
+
};else delete _selectionKeys[this.node.key];
|
|
390
|
+
}
|
|
391
|
+
this.$emit('checkbox-change', {
|
|
392
|
+
node: event.node,
|
|
393
|
+
check: event.check,
|
|
394
|
+
selectionKeys: _selectionKeys
|
|
395
|
+
});
|
|
396
|
+
},
|
|
397
|
+
onChildCheckboxChange: function onChildCheckboxChange(event) {
|
|
398
|
+
this.$emit('checkbox-change', event);
|
|
399
|
+
},
|
|
400
|
+
findNextSiblingOfAncestor: function findNextSiblingOfAncestor(nodeElement) {
|
|
401
|
+
var parentNodeElement = this.getParentNodeElement(nodeElement);
|
|
402
|
+
if (parentNodeElement) {
|
|
403
|
+
if (parentNodeElement.nextElementSibling) return parentNodeElement.nextElementSibling;else return this.findNextSiblingOfAncestor(parentNodeElement);
|
|
404
|
+
} else {
|
|
405
|
+
return null;
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
findLastVisibleDescendant: function findLastVisibleDescendant(nodeElement) {
|
|
409
|
+
var childrenListElement = nodeElement.children[1];
|
|
410
|
+
if (childrenListElement) {
|
|
411
|
+
var lastChildElement = childrenListElement.children[childrenListElement.children.length - 1];
|
|
412
|
+
return this.findLastVisibleDescendant(lastChildElement);
|
|
413
|
+
} else {
|
|
414
|
+
return nodeElement;
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
getParentNodeElement: function getParentNodeElement(nodeElement) {
|
|
418
|
+
var parentNodeElement = nodeElement.parentElement.parentElement;
|
|
419
|
+
return DomHandler.getAttribute(parentNodeElement, 'role') === 'treeitem' ? parentNodeElement : null;
|
|
420
|
+
},
|
|
421
|
+
focusNode: function focusNode(element) {
|
|
422
|
+
element.focus();
|
|
423
|
+
},
|
|
424
|
+
isCheckboxSelectionMode: function isCheckboxSelectionMode() {
|
|
425
|
+
return this.selectionMode === 'checkbox';
|
|
426
|
+
},
|
|
427
|
+
isSameNode: function isSameNode(event) {
|
|
428
|
+
return event.currentTarget && (event.currentTarget.isSameNode(event.target) || event.currentTarget.isSameNode(event.target.closest('[role="treeitem"]')));
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
computed: {
|
|
432
|
+
hasChildren: function hasChildren() {
|
|
433
|
+
return this.node.children && this.node.children.length > 0;
|
|
434
|
+
},
|
|
435
|
+
expanded: function expanded() {
|
|
436
|
+
return this.expandedKeys && this.expandedKeys[this.node.key] === true;
|
|
437
|
+
},
|
|
438
|
+
leaf: function leaf() {
|
|
439
|
+
return this.node.leaf === false ? false : !(this.node.children && this.node.children.length);
|
|
440
|
+
},
|
|
441
|
+
selectable: function selectable() {
|
|
442
|
+
return this.node.selectable === false ? false : this.selectionMode != null;
|
|
443
|
+
},
|
|
444
|
+
selected: function selected() {
|
|
445
|
+
return this.selectionMode && this.selectionKeys ? this.selectionKeys[this.node.key] === true : false;
|
|
446
|
+
},
|
|
447
|
+
checkboxMode: function checkboxMode() {
|
|
448
|
+
return this.selectionMode === 'checkbox' && this.node.selectable !== false;
|
|
449
|
+
},
|
|
450
|
+
checked: function checked() {
|
|
451
|
+
return this.selectionKeys ? this.selectionKeys[this.node.key] && this.selectionKeys[this.node.key].checked : false;
|
|
452
|
+
},
|
|
453
|
+
partialChecked: function partialChecked() {
|
|
454
|
+
return this.selectionKeys ? this.selectionKeys[this.node.key] && this.selectionKeys[this.node.key].partialChecked : false;
|
|
455
|
+
},
|
|
456
|
+
ariaChecked: function ariaChecked() {
|
|
457
|
+
return this.selectionMode === 'single' || this.selectionMode === 'multiple' ? this.selected : undefined;
|
|
458
|
+
},
|
|
459
|
+
ariaSelected: function ariaSelected() {
|
|
460
|
+
return this.checkboxMode ? this.checked : undefined;
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
components: {
|
|
464
|
+
Checkbox: Checkbox,
|
|
465
|
+
ChevronDownIcon: ChevronDownIcon,
|
|
466
|
+
ChevronRightIcon: ChevronRightIcon,
|
|
467
|
+
CheckIcon: CheckIcon,
|
|
468
|
+
MinusIcon: MinusIcon,
|
|
469
|
+
SpinnerIcon: SpinnerIcon
|
|
470
|
+
},
|
|
471
|
+
directives: {
|
|
472
|
+
ripple: Ripple
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
var _hoisted_1$1 = ["aria-label", "aria-selected", "aria-expanded", "aria-setsize", "aria-posinset", "aria-level", "aria-checked", "tabindex"];
|
|
477
|
+
var _hoisted_2 = ["data-p-selected", "data-p-selectable"];
|
|
478
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
479
|
+
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
480
|
+
var _component_Checkbox = resolveComponent("Checkbox");
|
|
481
|
+
var _component_TreeNode = resolveComponent("TreeNode", true);
|
|
482
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
483
|
+
return openBlock(), createElementBlock("li", mergeProps({
|
|
484
|
+
ref: "currentNode",
|
|
485
|
+
"class": _ctx.cx('node'),
|
|
486
|
+
role: "treeitem",
|
|
487
|
+
"aria-label": $options.label($props.node),
|
|
488
|
+
"aria-selected": $options.ariaSelected,
|
|
489
|
+
"aria-expanded": $options.expanded,
|
|
490
|
+
"aria-setsize": $props.node.children ? $props.node.children.length : 0,
|
|
491
|
+
"aria-posinset": $props.index + 1,
|
|
492
|
+
"aria-level": $props.level,
|
|
493
|
+
"aria-checked": $options.ariaChecked,
|
|
494
|
+
tabindex: $props.index === 0 ? 0 : -1,
|
|
495
|
+
onKeydown: _cache[4] || (_cache[4] = function () {
|
|
496
|
+
return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
|
|
497
|
+
})
|
|
498
|
+
}, $props.level === 1 ? $options.getPTOptions('node') : _ctx.ptm('nodeChildren')), [createElementVNode("div", mergeProps({
|
|
499
|
+
"class": _ctx.cx('nodeContent'),
|
|
500
|
+
onClick: _cache[2] || (_cache[2] = function () {
|
|
501
|
+
return $options.onClick && $options.onClick.apply($options, arguments);
|
|
502
|
+
}),
|
|
503
|
+
onTouchend: _cache[3] || (_cache[3] = function () {
|
|
504
|
+
return $options.onTouchEnd && $options.onTouchEnd.apply($options, arguments);
|
|
505
|
+
}),
|
|
506
|
+
style: $props.node.style
|
|
507
|
+
}, $options.getPTOptions('nodeContent'), {
|
|
508
|
+
"data-p-selected": $options.checkboxMode ? $options.checked : $options.selected,
|
|
509
|
+
"data-p-selectable": $options.selectable
|
|
510
|
+
}), [withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
511
|
+
type: "button",
|
|
512
|
+
"class": _ctx.cx('nodeToggleButton'),
|
|
513
|
+
onClick: _cache[0] || (_cache[0] = function () {
|
|
514
|
+
return $options.toggle && $options.toggle.apply($options, arguments);
|
|
515
|
+
}),
|
|
516
|
+
tabindex: "-1",
|
|
517
|
+
"aria-hidden": "true"
|
|
518
|
+
}, $options.getPTOptions('nodeToggleButton')), [$props.node.loading && $props.loadingMode === 'icon' ? (openBlock(), createElementBlock(Fragment, {
|
|
519
|
+
key: 0
|
|
520
|
+
}, [$props.templates['nodetoggleicon'] || $props.templates['nodetogglericon'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['nodetoggleicon'] || $props.templates['nodetogglericon']), {
|
|
521
|
+
key: 0,
|
|
522
|
+
"class": normalizeClass(_ctx.cx('nodeToggleIcon'))
|
|
523
|
+
}, null, 8, ["class"])) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
524
|
+
key: 1,
|
|
525
|
+
spin: "",
|
|
526
|
+
"class": _ctx.cx('nodetogglericon')
|
|
527
|
+
}, _ctx.ptm('nodeToggleIcon')), null, 16, ["class"]))], 64)) : (openBlock(), createElementBlock(Fragment, {
|
|
528
|
+
key: 1
|
|
529
|
+
}, [$props.templates['nodetoggleicon'] || $props.templates['togglericon'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['nodetoggleicon'] || $props.templates['togglericon']), {
|
|
530
|
+
key: 0,
|
|
531
|
+
node: $props.node,
|
|
532
|
+
expanded: $options.expanded,
|
|
533
|
+
"class": normalizeClass(_ctx.cx('nodeToggleIcon'))
|
|
534
|
+
}, null, 8, ["node", "expanded", "class"])) : $options.expanded ? (openBlock(), createBlock(resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
535
|
+
key: 1,
|
|
536
|
+
"class": _ctx.cx('nodeToggleIcon')
|
|
537
|
+
}, $options.getPTOptions('nodeToggleIcon')), null, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
538
|
+
key: 2,
|
|
539
|
+
"class": _ctx.cx('nodeToggleIcon')
|
|
540
|
+
}, $options.getPTOptions('nodeToggleIcon')), null, 16, ["class"]))], 64))], 16)), [[_directive_ripple]]), $options.checkboxMode ? (openBlock(), createBlock(_component_Checkbox, {
|
|
541
|
+
key: 0,
|
|
542
|
+
modelValue: $options.checked,
|
|
543
|
+
binary: true,
|
|
544
|
+
indeterminate: $options.partialChecked,
|
|
545
|
+
"class": normalizeClass(_ctx.cx('nodeCheckbox')),
|
|
546
|
+
tabindex: -1,
|
|
547
|
+
unstyled: _ctx.unstyled,
|
|
548
|
+
pt: $options.getPTOptions('nodeCheckbox'),
|
|
549
|
+
"data-p-partialchecked": $options.partialChecked
|
|
550
|
+
}, {
|
|
551
|
+
icon: withCtx(function (slotProps) {
|
|
552
|
+
return [$props.templates['checkboxicon'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['checkboxicon']), {
|
|
553
|
+
key: 0,
|
|
554
|
+
checked: slotProps.checked,
|
|
555
|
+
partialChecked: $options.partialChecked,
|
|
556
|
+
"class": normalizeClass(slotProps["class"])
|
|
557
|
+
}, null, 8, ["checked", "partialChecked", "class"])) : createCommentVNode("", true)];
|
|
558
|
+
}),
|
|
559
|
+
_: 1
|
|
560
|
+
}, 8, ["modelValue", "indeterminate", "class", "unstyled", "pt", "data-p-partialchecked"])) : createCommentVNode("", true), $props.templates['nodeicon'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates['nodeicon']), mergeProps({
|
|
561
|
+
key: 1,
|
|
562
|
+
node: $props.node,
|
|
563
|
+
"class": [_ctx.cx('nodeIcon')]
|
|
564
|
+
}, $options.getPTOptions('nodeIcon')), null, 16, ["node", "class"])) : (openBlock(), createElementBlock("span", mergeProps({
|
|
565
|
+
key: 2,
|
|
566
|
+
"class": [_ctx.cx('nodeIcon'), $props.node.icon]
|
|
567
|
+
}, $options.getPTOptions('nodeIcon')), null, 16)), createElementVNode("span", mergeProps({
|
|
568
|
+
"class": _ctx.cx('nodeLabel')
|
|
569
|
+
}, $options.getPTOptions('nodeLabel'), {
|
|
570
|
+
onKeydown: _cache[1] || (_cache[1] = withModifiers(function () {}, ["stop"]))
|
|
571
|
+
}), [$props.templates[$props.node.type] || $props.templates['default'] ? (openBlock(), createBlock(resolveDynamicComponent($props.templates[$props.node.type] || $props.templates['default']), {
|
|
572
|
+
key: 0,
|
|
573
|
+
node: $props.node,
|
|
574
|
+
selected: $options.checkboxMode ? $options.checked : $options.selected
|
|
575
|
+
}, null, 8, ["node", "selected"])) : (openBlock(), createElementBlock(Fragment, {
|
|
576
|
+
key: 1
|
|
577
|
+
}, [createTextVNode(toDisplayString($options.label($props.node)), 1)], 64))], 16)], 16, _hoisted_2), $options.hasChildren && $options.expanded ? (openBlock(), createElementBlock("ul", mergeProps({
|
|
578
|
+
key: 0,
|
|
579
|
+
"class": _ctx.cx('nodeChildren'),
|
|
580
|
+
role: "group"
|
|
581
|
+
}, _ctx.ptm('nodeChildren')), [(openBlock(true), createElementBlock(Fragment, null, renderList($props.node.children, function (childNode) {
|
|
582
|
+
return openBlock(), createBlock(_component_TreeNode, {
|
|
583
|
+
key: childNode.key,
|
|
584
|
+
node: childNode,
|
|
585
|
+
templates: $props.templates,
|
|
586
|
+
level: $props.level + 1,
|
|
587
|
+
loadingMode: $props.loadingMode,
|
|
588
|
+
expandedKeys: $props.expandedKeys,
|
|
589
|
+
onNodeToggle: $options.onChildNodeToggle,
|
|
590
|
+
onNodeClick: $options.onChildNodeClick,
|
|
591
|
+
selectionMode: $props.selectionMode,
|
|
592
|
+
selectionKeys: $props.selectionKeys,
|
|
593
|
+
onCheckboxChange: $options.propagateUp,
|
|
594
|
+
unstyled: _ctx.unstyled,
|
|
595
|
+
pt: _ctx.pt
|
|
596
|
+
}, null, 8, ["node", "templates", "level", "loadingMode", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "unstyled", "pt"]);
|
|
597
|
+
}), 128))], 16)) : createCommentVNode("", true)], 16, _hoisted_1$1);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
script$1.render = render$1;
|
|
601
|
+
|
|
602
|
+
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); }
|
|
603
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e ) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
604
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
605
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
606
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
607
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
608
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
609
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
610
|
+
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; }
|
|
611
|
+
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; }
|
|
612
|
+
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; }
|
|
613
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
614
|
+
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); }
|
|
615
|
+
var script = {
|
|
616
|
+
name: 'Tree',
|
|
617
|
+
"extends": script$2,
|
|
618
|
+
inheritAttrs: false,
|
|
619
|
+
emits: ['node-expand', 'node-collapse', 'update:expandedKeys', 'update:selectionKeys', 'node-select', 'node-unselect', 'filter'],
|
|
620
|
+
data: function data() {
|
|
621
|
+
return {
|
|
622
|
+
d_expandedKeys: this.expandedKeys || {},
|
|
623
|
+
filterValue: null
|
|
624
|
+
};
|
|
625
|
+
},
|
|
626
|
+
watch: {
|
|
627
|
+
expandedKeys: function expandedKeys(newValue) {
|
|
628
|
+
this.d_expandedKeys = newValue;
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
methods: {
|
|
632
|
+
onNodeToggle: function onNodeToggle(node) {
|
|
633
|
+
var key = node.key;
|
|
634
|
+
if (this.d_expandedKeys[key]) {
|
|
635
|
+
delete this.d_expandedKeys[key];
|
|
636
|
+
this.$emit('node-collapse', node);
|
|
637
|
+
} else {
|
|
638
|
+
this.d_expandedKeys[key] = true;
|
|
639
|
+
this.$emit('node-expand', node);
|
|
640
|
+
}
|
|
641
|
+
this.d_expandedKeys = _objectSpread({}, this.d_expandedKeys);
|
|
642
|
+
this.$emit('update:expandedKeys', this.d_expandedKeys);
|
|
643
|
+
},
|
|
644
|
+
onNodeClick: function onNodeClick(event) {
|
|
645
|
+
if (this.selectionMode != null && event.node.selectable !== false) {
|
|
646
|
+
var metaSelection = event.nodeTouched ? false : this.metaKeySelection;
|
|
647
|
+
var _selectionKeys = metaSelection ? this.handleSelectionWithMetaKey(event) : this.handleSelectionWithoutMetaKey(event);
|
|
648
|
+
this.$emit('update:selectionKeys', _selectionKeys);
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
onCheckboxChange: function onCheckboxChange(event) {
|
|
652
|
+
this.$emit('update:selectionKeys', event.selectionKeys);
|
|
653
|
+
if (event.check) this.$emit('node-select', event.node);else this.$emit('node-unselect', event.node);
|
|
654
|
+
},
|
|
655
|
+
handleSelectionWithMetaKey: function handleSelectionWithMetaKey(event) {
|
|
656
|
+
var originalEvent = event.originalEvent;
|
|
657
|
+
var node = event.node;
|
|
658
|
+
var metaKey = originalEvent.metaKey || originalEvent.ctrlKey;
|
|
659
|
+
var selected = this.isNodeSelected(node);
|
|
660
|
+
var _selectionKeys;
|
|
661
|
+
if (selected && metaKey) {
|
|
662
|
+
if (this.isSingleSelectionMode()) {
|
|
663
|
+
_selectionKeys = {};
|
|
664
|
+
} else {
|
|
665
|
+
_selectionKeys = _objectSpread({}, this.selectionKeys);
|
|
666
|
+
delete _selectionKeys[node.key];
|
|
667
|
+
}
|
|
668
|
+
this.$emit('node-unselect', node);
|
|
669
|
+
} else {
|
|
670
|
+
if (this.isSingleSelectionMode()) {
|
|
671
|
+
_selectionKeys = {};
|
|
672
|
+
} else if (this.isMultipleSelectionMode()) {
|
|
673
|
+
_selectionKeys = !metaKey ? {} : this.selectionKeys ? _objectSpread({}, this.selectionKeys) : {};
|
|
674
|
+
}
|
|
675
|
+
_selectionKeys[node.key] = true;
|
|
676
|
+
this.$emit('node-select', node);
|
|
677
|
+
}
|
|
678
|
+
return _selectionKeys;
|
|
679
|
+
},
|
|
680
|
+
handleSelectionWithoutMetaKey: function handleSelectionWithoutMetaKey(event) {
|
|
681
|
+
var node = event.node;
|
|
682
|
+
var selected = this.isNodeSelected(node);
|
|
683
|
+
var _selectionKeys;
|
|
684
|
+
if (this.isSingleSelectionMode()) {
|
|
685
|
+
if (selected) {
|
|
686
|
+
_selectionKeys = {};
|
|
687
|
+
this.$emit('node-unselect', node);
|
|
688
|
+
} else {
|
|
689
|
+
_selectionKeys = {};
|
|
690
|
+
_selectionKeys[node.key] = true;
|
|
691
|
+
this.$emit('node-select', node);
|
|
692
|
+
}
|
|
693
|
+
} else {
|
|
694
|
+
if (selected) {
|
|
695
|
+
_selectionKeys = _objectSpread({}, this.selectionKeys);
|
|
696
|
+
delete _selectionKeys[node.key];
|
|
697
|
+
this.$emit('node-unselect', node);
|
|
698
|
+
} else {
|
|
699
|
+
_selectionKeys = this.selectionKeys ? _objectSpread({}, this.selectionKeys) : {};
|
|
700
|
+
_selectionKeys[node.key] = true;
|
|
701
|
+
this.$emit('node-select', node);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
return _selectionKeys;
|
|
705
|
+
},
|
|
706
|
+
isSingleSelectionMode: function isSingleSelectionMode() {
|
|
707
|
+
return this.selectionMode === 'single';
|
|
708
|
+
},
|
|
709
|
+
isMultipleSelectionMode: function isMultipleSelectionMode() {
|
|
710
|
+
return this.selectionMode === 'multiple';
|
|
711
|
+
},
|
|
712
|
+
isNodeSelected: function isNodeSelected(node) {
|
|
713
|
+
return this.selectionMode && this.selectionKeys ? this.selectionKeys[node.key] === true : false;
|
|
714
|
+
},
|
|
715
|
+
isChecked: function isChecked(node) {
|
|
716
|
+
return this.selectionKeys ? this.selectionKeys[node.key] && this.selectionKeys[node.key].checked : false;
|
|
717
|
+
},
|
|
718
|
+
isNodeLeaf: function isNodeLeaf(node) {
|
|
719
|
+
return node.leaf === false ? false : !(node.children && node.children.length);
|
|
720
|
+
},
|
|
721
|
+
onFilterKeydown: function onFilterKeydown(event) {
|
|
722
|
+
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
723
|
+
event.preventDefault();
|
|
724
|
+
}
|
|
725
|
+
this.$emit('filter', {
|
|
726
|
+
originalEvent: event,
|
|
727
|
+
value: event.target.value
|
|
728
|
+
});
|
|
729
|
+
},
|
|
730
|
+
findFilteredNodes: function findFilteredNodes(node, paramsWithoutNode) {
|
|
731
|
+
if (node) {
|
|
732
|
+
var matched = false;
|
|
733
|
+
if (node.children) {
|
|
734
|
+
var childNodes = _toConsumableArray(node.children);
|
|
735
|
+
node.children = [];
|
|
736
|
+
var _iterator = _createForOfIteratorHelper(childNodes),
|
|
737
|
+
_step;
|
|
738
|
+
try {
|
|
739
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
740
|
+
var childNode = _step.value;
|
|
741
|
+
var copyChildNode = _objectSpread({}, childNode);
|
|
742
|
+
if (this.isFilterMatched(copyChildNode, paramsWithoutNode)) {
|
|
743
|
+
matched = true;
|
|
744
|
+
node.children.push(copyChildNode);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
} catch (err) {
|
|
748
|
+
_iterator.e(err);
|
|
749
|
+
} finally {
|
|
750
|
+
_iterator.f();
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
if (matched) {
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
isFilterMatched: function isFilterMatched(node, _ref) {
|
|
759
|
+
var searchFields = _ref.searchFields,
|
|
760
|
+
filterText = _ref.filterText,
|
|
761
|
+
strict = _ref.strict;
|
|
762
|
+
var matched = false;
|
|
763
|
+
var _iterator2 = _createForOfIteratorHelper(searchFields),
|
|
764
|
+
_step2;
|
|
765
|
+
try {
|
|
766
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
767
|
+
var field = _step2.value;
|
|
768
|
+
var fieldValue = String(ObjectUtils.resolveFieldData(node, field)).toLocaleLowerCase(this.filterLocale);
|
|
769
|
+
if (fieldValue.indexOf(filterText) > -1) {
|
|
770
|
+
matched = true;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
} catch (err) {
|
|
774
|
+
_iterator2.e(err);
|
|
775
|
+
} finally {
|
|
776
|
+
_iterator2.f();
|
|
777
|
+
}
|
|
778
|
+
if (!matched || strict && !this.isNodeLeaf(node)) {
|
|
779
|
+
matched = this.findFilteredNodes(node, {
|
|
780
|
+
searchFields: searchFields,
|
|
781
|
+
filterText: filterText,
|
|
782
|
+
strict: strict
|
|
783
|
+
}) || matched;
|
|
784
|
+
}
|
|
785
|
+
return matched;
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
computed: {
|
|
789
|
+
filteredValue: function filteredValue() {
|
|
790
|
+
var filteredNodes = [];
|
|
791
|
+
var searchFields = this.filterBy.split(',');
|
|
792
|
+
var filterText = this.filterValue.trim().toLocaleLowerCase(this.filterLocale);
|
|
793
|
+
var strict = this.filterMode === 'strict';
|
|
794
|
+
var _iterator3 = _createForOfIteratorHelper(this.value),
|
|
795
|
+
_step3;
|
|
796
|
+
try {
|
|
797
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
798
|
+
var node = _step3.value;
|
|
799
|
+
var _node = _objectSpread({}, node);
|
|
800
|
+
var paramsWithoutNode = {
|
|
801
|
+
searchFields: searchFields,
|
|
802
|
+
filterText: filterText,
|
|
803
|
+
strict: strict
|
|
804
|
+
};
|
|
805
|
+
if (strict && (this.findFilteredNodes(_node, paramsWithoutNode) || this.isFilterMatched(_node, paramsWithoutNode)) || !strict && (this.isFilterMatched(_node, paramsWithoutNode) || this.findFilteredNodes(_node, paramsWithoutNode))) {
|
|
806
|
+
filteredNodes.push(_node);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
} catch (err) {
|
|
810
|
+
_iterator3.e(err);
|
|
811
|
+
} finally {
|
|
812
|
+
_iterator3.f();
|
|
813
|
+
}
|
|
814
|
+
return filteredNodes;
|
|
815
|
+
},
|
|
816
|
+
valueToRender: function valueToRender() {
|
|
817
|
+
if (this.filterValue && this.filterValue.trim().length > 0) return this.filteredValue;else return this.value;
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
components: {
|
|
821
|
+
TreeNode: script$1,
|
|
822
|
+
InputText: InputText,
|
|
823
|
+
InputIcon: InputIcon,
|
|
824
|
+
IconField: IconField,
|
|
825
|
+
SearchIcon: SearchIcon,
|
|
826
|
+
SpinnerIcon: SpinnerIcon
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
var _hoisted_1 = ["aria-labelledby", "aria-label"];
|
|
831
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
832
|
+
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
833
|
+
var _component_InputText = resolveComponent("InputText");
|
|
834
|
+
var _component_SearchIcon = resolveComponent("SearchIcon");
|
|
835
|
+
var _component_InputIcon = resolveComponent("InputIcon");
|
|
836
|
+
var _component_IconField = resolveComponent("IconField");
|
|
837
|
+
var _component_TreeNode = resolveComponent("TreeNode");
|
|
838
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
839
|
+
"class": _ctx.cx('root')
|
|
840
|
+
}, _ctx.ptmi('root')), [_ctx.loading && _ctx.loadingMode === 'mask' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
841
|
+
key: 0,
|
|
842
|
+
"class": _ctx.cx('mask')
|
|
843
|
+
}, _ctx.ptm('mask')), [renderSlot(_ctx.$slots, "loadingicon", {
|
|
844
|
+
"class": normalizeClass(_ctx.cx('loadingIcon'))
|
|
845
|
+
}, function () {
|
|
846
|
+
return [_ctx.loadingIcon ? (openBlock(), createElementBlock("i", mergeProps({
|
|
847
|
+
key: 0,
|
|
848
|
+
"class": [_ctx.cx('loadingIcon'), 'pi-spin', _ctx.loadingIcon]
|
|
849
|
+
}, _ctx.ptm('loadingIcon')), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
850
|
+
key: 1,
|
|
851
|
+
spin: "",
|
|
852
|
+
"class": _ctx.cx('loadingIcon')
|
|
853
|
+
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))];
|
|
854
|
+
})], 16)) : createCommentVNode("", true), _ctx.filter ? (openBlock(), createBlock(_component_IconField, mergeProps({
|
|
855
|
+
key: 1,
|
|
856
|
+
unstyled: _ctx.unstyled
|
|
857
|
+
}, _ctx.ptm('pcFilterContainer')), {
|
|
858
|
+
"default": withCtx(function () {
|
|
859
|
+
return [createVNode(_component_InputText, mergeProps({
|
|
860
|
+
modelValue: $data.filterValue,
|
|
861
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
|
|
862
|
+
return $data.filterValue = $event;
|
|
863
|
+
}),
|
|
864
|
+
autocomplete: "off",
|
|
865
|
+
"class": _ctx.cx('pcFilterInput'),
|
|
866
|
+
placeholder: _ctx.filterPlaceholder,
|
|
867
|
+
unstyled: _ctx.unstyled,
|
|
868
|
+
onKeydown: $options.onFilterKeydown
|
|
869
|
+
}, _ctx.ptm('pcFilterInput')), null, 16, ["modelValue", "class", "placeholder", "unstyled", "onKeydown"]), createVNode(_component_InputIcon, mergeProps({
|
|
870
|
+
unstyled: _ctx.unstyled
|
|
871
|
+
}, _ctx.ptm('pcFilterIconContainer')), {
|
|
872
|
+
"default": withCtx(function () {
|
|
873
|
+
return [renderSlot(_ctx.$slots, _ctx.$slots.filtericon ? 'filtericon' : 'searchicon', {
|
|
874
|
+
"class": normalizeClass(_ctx.cx('filterIcon'))
|
|
875
|
+
}, function () {
|
|
876
|
+
return [createVNode(_component_SearchIcon, mergeProps({
|
|
877
|
+
"class": _ctx.cx('filterIcon')
|
|
878
|
+
}, _ctx.ptm('filterIcon')), null, 16, ["class"])];
|
|
879
|
+
})];
|
|
880
|
+
}),
|
|
881
|
+
_: 3
|
|
882
|
+
}, 16, ["unstyled"])];
|
|
883
|
+
}),
|
|
884
|
+
_: 3
|
|
885
|
+
}, 16, ["unstyled"])) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
886
|
+
"class": _ctx.cx('wrapper'),
|
|
887
|
+
style: {
|
|
888
|
+
maxHeight: _ctx.scrollHeight
|
|
889
|
+
}
|
|
890
|
+
}, _ctx.ptm('wrapper')), [createElementVNode("ul", mergeProps({
|
|
891
|
+
"class": _ctx.cx('rootChildren'),
|
|
892
|
+
role: "tree",
|
|
893
|
+
"aria-labelledby": _ctx.ariaLabelledby,
|
|
894
|
+
"aria-label": _ctx.ariaLabel
|
|
895
|
+
}, _ctx.ptm('rootChildren')), [(openBlock(true), createElementBlock(Fragment, null, renderList($options.valueToRender, function (node, index) {
|
|
896
|
+
return openBlock(), createBlock(_component_TreeNode, {
|
|
897
|
+
key: node.key,
|
|
898
|
+
node: node,
|
|
899
|
+
templates: _ctx.$slots,
|
|
900
|
+
level: _ctx.level + 1,
|
|
901
|
+
index: index,
|
|
902
|
+
expandedKeys: $data.d_expandedKeys,
|
|
903
|
+
onNodeToggle: $options.onNodeToggle,
|
|
904
|
+
onNodeClick: $options.onNodeClick,
|
|
905
|
+
selectionMode: _ctx.selectionMode,
|
|
906
|
+
selectionKeys: _ctx.selectionKeys,
|
|
907
|
+
onCheckboxChange: $options.onCheckboxChange,
|
|
908
|
+
loadingMode: _ctx.loadingMode,
|
|
909
|
+
unstyled: _ctx.unstyled,
|
|
910
|
+
pt: _ctx.pt
|
|
911
|
+
}, null, 8, ["node", "templates", "level", "index", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "loadingMode", "unstyled", "pt"]);
|
|
912
|
+
}), 128))], 16, _hoisted_1)], 16)], 16);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
script.render = render;
|
|
916
|
+
|
|
917
|
+
export { script as default };
|
|
918
|
+
//# sourceMappingURL=tree.mjs.map
|