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/tab/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Tab is a helper component for Tabs component.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevuelab.org/tabs/)
|
|
6
|
+
*
|
|
7
|
+
* @module tabstyle
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
import { BaseStyle } from '../../base/style';
|
|
11
|
+
|
|
12
|
+
export enum TabClasses {
|
|
13
|
+
/**
|
|
14
|
+
* Class name of the root element
|
|
15
|
+
*/
|
|
16
|
+
root = 'p-tab'
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface TabStyle extends BaseStyle {}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import BaseStyle from '@primevuelab/core/base/style';
|
|
2
|
+
|
|
3
|
+
var classes = {
|
|
4
|
+
root: function root(_ref) {
|
|
5
|
+
var instance = _ref.instance,
|
|
6
|
+
props = _ref.props;
|
|
7
|
+
return ['p-tab', {
|
|
8
|
+
'p-tab-active': instance.active,
|
|
9
|
+
'p-disabled': props.disabled
|
|
10
|
+
}];
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
var TabStyle = BaseStyle.extend({
|
|
14
|
+
name: 'tab',
|
|
15
|
+
classes: classes
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { TabStyle as default };
|
|
19
|
+
//# sourceMappingURL=tabstyle.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabstyle.mjs","sources":["../../../src/tab/style/TabStyle.js"],"sourcesContent":["import BaseStyle from '@primevuelab/core/base/style';\n\nconst classes = {\n root: ({ instance, props }) => [\n 'p-tab',\n {\n 'p-tab-active': instance.active,\n 'p-disabled': props.disabled\n }\n ]\n};\n\nexport default BaseStyle.extend({\n name: 'tab',\n classes\n});\n"],"names":["classes","root","_ref","instance","props","active","disabled","BaseStyle","extend","name"],"mappings":";;AAEA,IAAMA,OAAO,GAAG;EACZC,IAAI,EAAE,SAAAA,IAAAA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;MAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK,CAAA;IAAA,OAAO,CAC3B,OAAO,EACP;MACI,cAAc,EAAED,QAAQ,CAACE,MAAM;MAC/B,YAAY,EAAED,KAAK,CAACE,QAAAA;AACxB,KAAC,CACJ,CAAA;AAAA,GAAA;AACL,CAAC,CAAA;AAED,eAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,KAAK;AACXT,EAAAA,OAAO,EAAPA,OAAAA;AACJ,CAAC,CAAC;;;;"}
|
package/tab/tab.mjs
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { DomHandler, ObjectUtils } from '@primevuelab/core/utils';
|
|
2
|
+
import Ripple from 'primevuelab/ripple';
|
|
3
|
+
import { mergeProps, resolveDirective, withDirectives, openBlock, createBlock, resolveDynamicComponent, withCtx, renderSlot, normalizeClass } from 'vue';
|
|
4
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
5
|
+
import TabStyle from 'primevuelab/tab/style';
|
|
6
|
+
|
|
7
|
+
var script$1 = {
|
|
8
|
+
name: 'BaseTab',
|
|
9
|
+
"extends": BaseComponent,
|
|
10
|
+
props: {
|
|
11
|
+
value: {
|
|
12
|
+
type: String,
|
|
13
|
+
"default": undefined
|
|
14
|
+
},
|
|
15
|
+
disabled: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
as: {
|
|
20
|
+
type: String,
|
|
21
|
+
"default": 'BUTTON'
|
|
22
|
+
},
|
|
23
|
+
asChild: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
"default": false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
style: TabStyle,
|
|
29
|
+
provide: function provide() {
|
|
30
|
+
return {
|
|
31
|
+
$pcTab: this,
|
|
32
|
+
$parentInstance: this
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
var script = {
|
|
38
|
+
name: 'Tab',
|
|
39
|
+
"extends": script$1,
|
|
40
|
+
inheritAttrs: false,
|
|
41
|
+
inject: ['$pcTabs', '$pcTabList'],
|
|
42
|
+
methods: {
|
|
43
|
+
onFocus: function onFocus() {
|
|
44
|
+
this.$pcTabs.selectOnFocus && this.changeActiveValue();
|
|
45
|
+
},
|
|
46
|
+
onClick: function onClick() {
|
|
47
|
+
this.changeActiveValue();
|
|
48
|
+
},
|
|
49
|
+
onKeydown: function onKeydown(event) {
|
|
50
|
+
switch (event.code) {
|
|
51
|
+
case 'ArrowRight':
|
|
52
|
+
this.onArrowRightKey(event);
|
|
53
|
+
break;
|
|
54
|
+
case 'ArrowLeft':
|
|
55
|
+
this.onArrowLeftKey(event);
|
|
56
|
+
break;
|
|
57
|
+
case 'Home':
|
|
58
|
+
this.onHomeKey(event);
|
|
59
|
+
break;
|
|
60
|
+
case 'End':
|
|
61
|
+
this.onEndKey(event);
|
|
62
|
+
break;
|
|
63
|
+
case 'PageDown':
|
|
64
|
+
this.onPageDownKey(event);
|
|
65
|
+
break;
|
|
66
|
+
case 'PageUp':
|
|
67
|
+
this.onPageUpKey(event);
|
|
68
|
+
break;
|
|
69
|
+
case 'Enter':
|
|
70
|
+
case 'NumpadEnter':
|
|
71
|
+
case 'Space':
|
|
72
|
+
this.onEnterKey(event);
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
onArrowRightKey: function onArrowRightKey(event) {
|
|
77
|
+
var nextTab = this.findNextTab(event.currentTarget);
|
|
78
|
+
nextTab ? this.changeFocusedTab(event, nextTab) : this.onHomeKey(event);
|
|
79
|
+
event.preventDefault();
|
|
80
|
+
},
|
|
81
|
+
onArrowLeftKey: function onArrowLeftKey(event) {
|
|
82
|
+
var prevTab = this.findPrevTab(event.currentTarget);
|
|
83
|
+
prevTab ? this.changeFocusedTab(event, prevTab) : this.onEndKey(event);
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
},
|
|
86
|
+
onHomeKey: function onHomeKey(event) {
|
|
87
|
+
var firstTab = this.findFirstTab();
|
|
88
|
+
this.changeFocusedTab(event, firstTab);
|
|
89
|
+
event.preventDefault();
|
|
90
|
+
},
|
|
91
|
+
onEndKey: function onEndKey(event) {
|
|
92
|
+
var lastTab = this.findLastTab();
|
|
93
|
+
this.changeFocusedTab(event, lastTab);
|
|
94
|
+
event.preventDefault();
|
|
95
|
+
},
|
|
96
|
+
onPageDownKey: function onPageDownKey(event) {
|
|
97
|
+
this.scrollInView(this.findLastTab());
|
|
98
|
+
event.preventDefault();
|
|
99
|
+
},
|
|
100
|
+
onPageUpKey: function onPageUpKey(event) {
|
|
101
|
+
this.scrollInView(this.findFirstTab());
|
|
102
|
+
event.preventDefault();
|
|
103
|
+
},
|
|
104
|
+
onEnterKey: function onEnterKey(event) {
|
|
105
|
+
this.changeActiveValue();
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
},
|
|
108
|
+
findNextTab: function findNextTab(tabElement) {
|
|
109
|
+
var selfCheck = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
110
|
+
var element = selfCheck ? tabElement : tabElement.nextElementSibling;
|
|
111
|
+
return element ? DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findNextTab(element) : DomHandler.findSingle(element, '[data-pc-name="tab"]') : null;
|
|
112
|
+
},
|
|
113
|
+
findPrevTab: function findPrevTab(tabElement) {
|
|
114
|
+
var selfCheck = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
115
|
+
var element = selfCheck ? tabElement : tabElement.previousElementSibling;
|
|
116
|
+
return element ? DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findPrevTab(element) : DomHandler.findSingle(element, '[data-pc-name="tab"]') : null;
|
|
117
|
+
},
|
|
118
|
+
findFirstTab: function findFirstTab() {
|
|
119
|
+
return this.findNextTab(this.$pcTabList.$refs.content.firstElementChild, true);
|
|
120
|
+
},
|
|
121
|
+
findLastTab: function findLastTab() {
|
|
122
|
+
return this.findPrevTab(this.$pcTabList.$refs.content.lastElementChild, true);
|
|
123
|
+
},
|
|
124
|
+
changeActiveValue: function changeActiveValue() {
|
|
125
|
+
this.$pcTabs.updateValue(this.value);
|
|
126
|
+
},
|
|
127
|
+
changeFocusedTab: function changeFocusedTab(event, element) {
|
|
128
|
+
DomHandler.focus(element);
|
|
129
|
+
this.scrollInView(element);
|
|
130
|
+
},
|
|
131
|
+
scrollInView: function scrollInView(element) {
|
|
132
|
+
var _element$scrollIntoVi;
|
|
133
|
+
element === null || element === void 0 || (_element$scrollIntoVi = element.scrollIntoView) === null || _element$scrollIntoVi === void 0 || _element$scrollIntoVi.call(element, {
|
|
134
|
+
block: 'nearest'
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
computed: {
|
|
139
|
+
active: function active() {
|
|
140
|
+
var _this$$pcTabs;
|
|
141
|
+
return ObjectUtils.equals((_this$$pcTabs = this.$pcTabs) === null || _this$$pcTabs === void 0 ? void 0 : _this$$pcTabs.d_value, this.value);
|
|
142
|
+
},
|
|
143
|
+
id: function id() {
|
|
144
|
+
var _this$$pcTabs2;
|
|
145
|
+
return "".concat((_this$$pcTabs2 = this.$pcTabs) === null || _this$$pcTabs2 === void 0 ? void 0 : _this$$pcTabs2.id, "_tab_").concat(this.value);
|
|
146
|
+
},
|
|
147
|
+
ariaControls: function ariaControls() {
|
|
148
|
+
var _this$$pcTabs3;
|
|
149
|
+
return "".concat((_this$$pcTabs3 = this.$pcTabs) === null || _this$$pcTabs3 === void 0 ? void 0 : _this$$pcTabs3.id, "_tabpanel_").concat(this.value);
|
|
150
|
+
},
|
|
151
|
+
attrs: function attrs() {
|
|
152
|
+
return mergeProps(this.asAttrs, this.a11yAttrs, this.ptmi('root', this.ptParams));
|
|
153
|
+
},
|
|
154
|
+
asAttrs: function asAttrs() {
|
|
155
|
+
return this.as === 'BUTTON' ? {
|
|
156
|
+
type: 'button',
|
|
157
|
+
disabled: this.disabled
|
|
158
|
+
} : undefined;
|
|
159
|
+
},
|
|
160
|
+
a11yAttrs: function a11yAttrs() {
|
|
161
|
+
return {
|
|
162
|
+
id: this.id,
|
|
163
|
+
tabindex: this.active ? this.$pcTabs.tabindex : -1,
|
|
164
|
+
role: 'tab',
|
|
165
|
+
'aria-selected': this.active,
|
|
166
|
+
'aria-controls': this.ariaControls,
|
|
167
|
+
'data-pc-name': 'tab',
|
|
168
|
+
'data-p-disabled': this.disabled,
|
|
169
|
+
'data-p-active': this.active,
|
|
170
|
+
onFocus: this.onFocus,
|
|
171
|
+
onKeydown: this.onKeydown
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
ptParams: function ptParams() {
|
|
175
|
+
return {
|
|
176
|
+
context: {
|
|
177
|
+
active: this.active
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
directives: {
|
|
183
|
+
ripple: Ripple
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
188
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
189
|
+
return !_ctx.asChild ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(_ctx.as), mergeProps({
|
|
190
|
+
key: 0,
|
|
191
|
+
"class": _ctx.cx('root'),
|
|
192
|
+
onClick: $options.onClick
|
|
193
|
+
}, $options.attrs), {
|
|
194
|
+
"default": withCtx(function () {
|
|
195
|
+
return [renderSlot(_ctx.$slots, "default")];
|
|
196
|
+
}),
|
|
197
|
+
_: 3
|
|
198
|
+
}, 16, ["class", "onClick"])), [[_directive_ripple]]) : renderSlot(_ctx.$slots, "default", {
|
|
199
|
+
key: 1,
|
|
200
|
+
"class": normalizeClass(_ctx.cx('root')),
|
|
201
|
+
active: $options.active,
|
|
202
|
+
a11yAttrs: $options.a11yAttrs,
|
|
203
|
+
onClick: $options.onClick
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
script.render = render;
|
|
208
|
+
|
|
209
|
+
export { script as default };
|
|
210
|
+
//# sourceMappingURL=tab.mjs.map
|
package/tab/tab.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.mjs","sources":["../../src/tab/BaseTab.vue","../../src/tab/Tab.vue","../../src/tab/Tab.vue?vue&type=template&id=416112b6&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevuelab/core/basecomponent';\nimport TabStyle from 'primevuelab/tab/style';\n\nexport default {\n name: 'BaseTab',\n extends: BaseComponent,\n props: {\n value: {\n type: String,\n default: undefined\n },\n disabled: {\n type: Boolean,\n default: false\n },\n as: {\n type: String,\n default: 'BUTTON'\n },\n asChild: {\n type: Boolean,\n default: false\n }\n },\n style: TabStyle,\n provide() {\n return {\n $pcTab: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <component v-if=\"!asChild\" :is=\"as\" v-ripple :class=\"cx('root')\" @click=\"onClick\" v-bind=\"attrs\">\n <slot></slot>\n </component>\n <slot v-else :class=\"cx('root')\" :active=\"active\" :a11yAttrs=\"a11yAttrs\" :onClick=\"onClick\"></slot>\n</template>\n\n<script>\nimport { DomHandler, ObjectUtils } from '@primevuelab/core/utils';\nimport Ripple from 'primevuelab/ripple';\nimport { mergeProps } from 'vue';\nimport BaseTab from './BaseTab.vue';\n\nexport default {\n name: 'Tab',\n extends: BaseTab,\n inheritAttrs: false,\n inject: ['$pcTabs', '$pcTabList'],\n methods: {\n onFocus() {\n this.$pcTabs.selectOnFocus && this.changeActiveValue();\n },\n onClick() {\n this.changeActiveValue();\n },\n onKeydown(event) {\n switch (event.code) {\n case 'ArrowRight':\n this.onArrowRightKey(event);\n break;\n\n case 'ArrowLeft':\n this.onArrowLeftKey(event);\n break;\n\n case 'Home':\n this.onHomeKey(event);\n break;\n\n case 'End':\n this.onEndKey(event);\n break;\n\n case 'PageDown':\n this.onPageDownKey(event);\n break;\n\n case 'PageUp':\n this.onPageUpKey(event);\n break;\n\n case 'Enter':\n case 'NumpadEnter':\n case 'Space':\n this.onEnterKey(event);\n break;\n\n default:\n break;\n }\n },\n onArrowRightKey(event) {\n const nextTab = this.findNextTab(event.currentTarget);\n\n nextTab ? this.changeFocusedTab(event, nextTab) : this.onHomeKey(event);\n event.preventDefault();\n },\n onArrowLeftKey(event) {\n const prevTab = this.findPrevTab(event.currentTarget);\n\n prevTab ? this.changeFocusedTab(event, prevTab) : this.onEndKey(event);\n event.preventDefault();\n },\n onHomeKey(event) {\n const firstTab = this.findFirstTab();\n\n this.changeFocusedTab(event, firstTab);\n event.preventDefault();\n },\n onEndKey(event) {\n const lastTab = this.findLastTab();\n\n this.changeFocusedTab(event, lastTab);\n event.preventDefault();\n },\n onPageDownKey(event) {\n this.scrollInView(this.findLastTab());\n event.preventDefault();\n },\n onPageUpKey(event) {\n this.scrollInView(this.findFirstTab());\n event.preventDefault();\n },\n onEnterKey(event) {\n this.changeActiveValue();\n event.preventDefault();\n },\n findNextTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.nextElementSibling;\n\n return element ? (DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findNextTab(element) : DomHandler.findSingle(element, '[data-pc-name=\"tab\"]')) : null;\n },\n findPrevTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.previousElementSibling;\n\n return element ? (DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findPrevTab(element) : DomHandler.findSingle(element, '[data-pc-name=\"tab\"]')) : null;\n },\n findFirstTab() {\n return this.findNextTab(this.$pcTabList.$refs.content.firstElementChild, true);\n },\n findLastTab() {\n return this.findPrevTab(this.$pcTabList.$refs.content.lastElementChild, true);\n },\n changeActiveValue() {\n this.$pcTabs.updateValue(this.value);\n },\n changeFocusedTab(event, element) {\n DomHandler.focus(element);\n this.scrollInView(element);\n },\n scrollInView(element) {\n element?.scrollIntoView?.({ block: 'nearest' });\n }\n },\n computed: {\n active() {\n return ObjectUtils.equals(this.$pcTabs?.d_value, this.value);\n },\n id() {\n return `${this.$pcTabs?.id}_tab_${this.value}`;\n },\n ariaControls() {\n return `${this.$pcTabs?.id}_tabpanel_${this.value}`;\n },\n attrs() {\n return mergeProps(this.asAttrs, this.a11yAttrs, this.ptmi('root', this.ptParams));\n },\n asAttrs() {\n return this.as === 'BUTTON' ? { type: 'button', disabled: this.disabled } : undefined;\n },\n a11yAttrs() {\n return {\n id: this.id,\n tabindex: this.active ? this.$pcTabs.tabindex : -1,\n role: 'tab',\n 'aria-selected': this.active,\n 'aria-controls': this.ariaControls,\n 'data-pc-name': 'tab',\n 'data-p-disabled': this.disabled,\n 'data-p-active': this.active,\n onFocus: this.onFocus,\n onKeydown: this.onKeydown\n };\n },\n ptParams() {\n return {\n context: {\n active: this.active\n }\n };\n }\n },\n directives: {\n ripple: Ripple\n }\n};\n</script>\n","<template>\n <component v-if=\"!asChild\" :is=\"as\" v-ripple :class=\"cx('root')\" @click=\"onClick\" v-bind=\"attrs\">\n <slot></slot>\n </component>\n <slot v-else :class=\"cx('root')\" :active=\"active\" :a11yAttrs=\"a11yAttrs\" :onClick=\"onClick\"></slot>\n</template>\n\n<script>\nimport { DomHandler, ObjectUtils } from '@primevuelab/core/utils';\nimport Ripple from 'primevuelab/ripple';\nimport { mergeProps } from 'vue';\nimport BaseTab from './BaseTab.vue';\n\nexport default {\n name: 'Tab',\n extends: BaseTab,\n inheritAttrs: false,\n inject: ['$pcTabs', '$pcTabList'],\n methods: {\n onFocus() {\n this.$pcTabs.selectOnFocus && this.changeActiveValue();\n },\n onClick() {\n this.changeActiveValue();\n },\n onKeydown(event) {\n switch (event.code) {\n case 'ArrowRight':\n this.onArrowRightKey(event);\n break;\n\n case 'ArrowLeft':\n this.onArrowLeftKey(event);\n break;\n\n case 'Home':\n this.onHomeKey(event);\n break;\n\n case 'End':\n this.onEndKey(event);\n break;\n\n case 'PageDown':\n this.onPageDownKey(event);\n break;\n\n case 'PageUp':\n this.onPageUpKey(event);\n break;\n\n case 'Enter':\n case 'NumpadEnter':\n case 'Space':\n this.onEnterKey(event);\n break;\n\n default:\n break;\n }\n },\n onArrowRightKey(event) {\n const nextTab = this.findNextTab(event.currentTarget);\n\n nextTab ? this.changeFocusedTab(event, nextTab) : this.onHomeKey(event);\n event.preventDefault();\n },\n onArrowLeftKey(event) {\n const prevTab = this.findPrevTab(event.currentTarget);\n\n prevTab ? this.changeFocusedTab(event, prevTab) : this.onEndKey(event);\n event.preventDefault();\n },\n onHomeKey(event) {\n const firstTab = this.findFirstTab();\n\n this.changeFocusedTab(event, firstTab);\n event.preventDefault();\n },\n onEndKey(event) {\n const lastTab = this.findLastTab();\n\n this.changeFocusedTab(event, lastTab);\n event.preventDefault();\n },\n onPageDownKey(event) {\n this.scrollInView(this.findLastTab());\n event.preventDefault();\n },\n onPageUpKey(event) {\n this.scrollInView(this.findFirstTab());\n event.preventDefault();\n },\n onEnterKey(event) {\n this.changeActiveValue();\n event.preventDefault();\n },\n findNextTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.nextElementSibling;\n\n return element ? (DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findNextTab(element) : DomHandler.findSingle(element, '[data-pc-name=\"tab\"]')) : null;\n },\n findPrevTab(tabElement, selfCheck = false) {\n const element = selfCheck ? tabElement : tabElement.previousElementSibling;\n\n return element ? (DomHandler.getAttribute(element, 'data-p-disabled') || DomHandler.getAttribute(element, 'data-pc-section') === 'inkbar' ? this.findPrevTab(element) : DomHandler.findSingle(element, '[data-pc-name=\"tab\"]')) : null;\n },\n findFirstTab() {\n return this.findNextTab(this.$pcTabList.$refs.content.firstElementChild, true);\n },\n findLastTab() {\n return this.findPrevTab(this.$pcTabList.$refs.content.lastElementChild, true);\n },\n changeActiveValue() {\n this.$pcTabs.updateValue(this.value);\n },\n changeFocusedTab(event, element) {\n DomHandler.focus(element);\n this.scrollInView(element);\n },\n scrollInView(element) {\n element?.scrollIntoView?.({ block: 'nearest' });\n }\n },\n computed: {\n active() {\n return ObjectUtils.equals(this.$pcTabs?.d_value, this.value);\n },\n id() {\n return `${this.$pcTabs?.id}_tab_${this.value}`;\n },\n ariaControls() {\n return `${this.$pcTabs?.id}_tabpanel_${this.value}`;\n },\n attrs() {\n return mergeProps(this.asAttrs, this.a11yAttrs, this.ptmi('root', this.ptParams));\n },\n asAttrs() {\n return this.as === 'BUTTON' ? { type: 'button', disabled: this.disabled } : undefined;\n },\n a11yAttrs() {\n return {\n id: this.id,\n tabindex: this.active ? this.$pcTabs.tabindex : -1,\n role: 'tab',\n 'aria-selected': this.active,\n 'aria-controls': this.ariaControls,\n 'data-pc-name': 'tab',\n 'data-p-disabled': this.disabled,\n 'data-p-active': this.active,\n onFocus: this.onFocus,\n onKeydown: this.onKeydown\n };\n },\n ptParams() {\n return {\n context: {\n active: this.active\n }\n };\n }\n },\n directives: {\n ripple: Ripple\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","value","type","String","undefined","disabled","Boolean","as","asChild","style","TabStyle","provide","$pcTab","$parentInstance","BaseTab","inheritAttrs","inject","methods","onFocus","$pcTabs","selectOnFocus","changeActiveValue","onClick","onKeydown","event","code","onArrowRightKey","onArrowLeftKey","onHomeKey","onEndKey","onPageDownKey","onPageUpKey","onEnterKey","nextTab","findNextTab","currentTarget","changeFocusedTab","preventDefault","prevTab","findPrevTab","firstTab","findFirstTab","lastTab","findLastTab","scrollInView","tabElement","selfCheck","element","nextElementSibling","DomHandler","getAttribute","findSingle","previousElementSibling","$pcTabList","$refs","content","firstElementChild","lastElementChild","updateValue","focus","_element$scrollIntoVi","scrollIntoView","call","block","computed","active","_this$$pcTabs","ObjectUtils","equals","d_value","id","_this$$pcTabs2","concat","ariaControls","_this$$pcTabs3","attrs","mergeProps","asAttrs","a11yAttrs","ptmi","ptParams","tabindex","role","context","directives","ripple","Ripple","_ctx","_createBlock","_resolveDynamicComponent","_mergeProps","cx","$options","_renderSlot","$slots"],"mappings":";;;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,SAAS;AACf,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,KAAK,EAAE;AACHC,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAASC,EAAAA,SAAAA;KACZ;AACDC,IAAAA,QAAQ,EAAE;AACNH,MAAAA,IAAI,EAAEI,OAAO;MACb,SAAS,EAAA,KAAA;KACZ;AACDC,IAAAA,EAAE,EAAE;AACAL,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA,QAAA;KACZ;AACDK,IAAAA,OAAO,EAAE;AACLN,MAAAA,IAAI,EAAEI,OAAO;MACb,SAAS,EAA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O,CAAAtE,OAAAA;;;;;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
3
|
+
import TabListStyle from 'primevuelab/tablist/style';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
name: 'BaseTabList',
|
|
7
|
+
extends: BaseComponent,
|
|
8
|
+
props: {},
|
|
9
|
+
style: TabListStyle,
|
|
10
|
+
provide() {
|
|
11
|
+
return {
|
|
12
|
+
$pcTabList: this,
|
|
13
|
+
$parentInstance: this
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
</script>
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* TabList is a helper component for Tabs component.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevuelab.org/tabs/)
|
|
6
|
+
*
|
|
7
|
+
* @module tablist
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
import { VNode } from 'vue';
|
|
11
|
+
import { ComponentHooks } from '../../../core/src/basecomponent';
|
|
12
|
+
import { PassThroughOptions } from '../passthrough';
|
|
13
|
+
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
|
14
|
+
|
|
15
|
+
export declare type TabListPassThroughOptionType = TabListPassThroughAttributes | ((options: TabListPassThroughMethodOptions) => TabListPassThroughAttributes | string) | string | null | undefined;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom passthrough(pt) option method.
|
|
19
|
+
*/
|
|
20
|
+
export interface TabListPassThroughMethodOptions {
|
|
21
|
+
/**
|
|
22
|
+
* Defines instance.
|
|
23
|
+
*/
|
|
24
|
+
instance: any;
|
|
25
|
+
/**
|
|
26
|
+
* Defines valid properties.
|
|
27
|
+
*/
|
|
28
|
+
props: TabListProps;
|
|
29
|
+
/**
|
|
30
|
+
* Defines current options.
|
|
31
|
+
*/
|
|
32
|
+
context: TabListContext;
|
|
33
|
+
/**
|
|
34
|
+
* Defines valid attributes.
|
|
35
|
+
*/
|
|
36
|
+
attrs: any;
|
|
37
|
+
/**
|
|
38
|
+
* Defines parent options.
|
|
39
|
+
*/
|
|
40
|
+
parent: any;
|
|
41
|
+
/**
|
|
42
|
+
* Defines passthrough(pt) options in global config.
|
|
43
|
+
*/
|
|
44
|
+
global: object | undefined;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Custom passthrough(pt) options.
|
|
49
|
+
* @see {@link TabListProps.pt}
|
|
50
|
+
*/
|
|
51
|
+
export interface TabListPassThroughOptions {
|
|
52
|
+
/**
|
|
53
|
+
* Used to pass attributes to the root's DOM element.
|
|
54
|
+
*/
|
|
55
|
+
root?: TabListPassThroughOptionType;
|
|
56
|
+
/**
|
|
57
|
+
* Used to pass attributes to the previous button component.
|
|
58
|
+
*/
|
|
59
|
+
prevButton?: TabListPassThroughOptionType;
|
|
60
|
+
/**
|
|
61
|
+
* Used to pass attributes to the next button component.
|
|
62
|
+
*/
|
|
63
|
+
nextButton?: TabListPassThroughOptionType;
|
|
64
|
+
/**
|
|
65
|
+
* Used to pass attributes to the list's DOM element.
|
|
66
|
+
*/
|
|
67
|
+
content?: TabListPassThroughOptionType;
|
|
68
|
+
/**
|
|
69
|
+
* Used to pass attributes to the inkbar's DOM element.
|
|
70
|
+
*/
|
|
71
|
+
inkbar?: TabListPassThroughOptionType;
|
|
72
|
+
/**
|
|
73
|
+
* Used to manage all lifecycle hooks.
|
|
74
|
+
* @see {@link BaseComponent.ComponentHooks}
|
|
75
|
+
*/
|
|
76
|
+
hooks?: ComponentHooks;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface TabListPassThroughAttributes {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Defines valid properties in TabList component.
|
|
85
|
+
*/
|
|
86
|
+
export interface TabListProps {
|
|
87
|
+
/**
|
|
88
|
+
* It generates scoped CSS variables using design tokens for the component.
|
|
89
|
+
*/
|
|
90
|
+
dt?: DesignToken<any>;
|
|
91
|
+
/**
|
|
92
|
+
* Used to pass attributes to DOM elements inside the component.
|
|
93
|
+
* @type {TabListPassThroughOptions}
|
|
94
|
+
*/
|
|
95
|
+
pt?: PassThrough<TabListPassThroughOptions>;
|
|
96
|
+
/**
|
|
97
|
+
* Used to configure passthrough(pt) options of the component.
|
|
98
|
+
* @type {PassThroughOptions}
|
|
99
|
+
*/
|
|
100
|
+
ptOptions?: PassThroughOptions;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Defines current options in TabList component.
|
|
105
|
+
*/
|
|
106
|
+
export interface TabListContext {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Defines valid slots in TabList slots.
|
|
112
|
+
*/
|
|
113
|
+
export interface TabListSlots {
|
|
114
|
+
/**
|
|
115
|
+
* Custom content template.
|
|
116
|
+
*/
|
|
117
|
+
default(): VNode[];
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface TabListEmitsOptions {}
|
|
121
|
+
|
|
122
|
+
export declare type TabListEmits = EmitFn<TabListEmitsOptions>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* **primevuelab - TabList**
|
|
126
|
+
*
|
|
127
|
+
* _TabList is a helper component for Tabs component._
|
|
128
|
+
*
|
|
129
|
+
* [Live Demo](https://www.primevuelab.org/tabs/)
|
|
130
|
+
* --- ---
|
|
131
|
+
* 
|
|
132
|
+
*
|
|
133
|
+
* @group Component
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
declare const TabList: DefineComponent<TabListProps, TabListSlots, TabListEmits>;
|
|
137
|
+
|
|
138
|
+
declare module 'vue' {
|
|
139
|
+
export interface GlobalComponents {
|
|
140
|
+
TabList: GlobalComponentConstructor<TabListProps, TabListSlots, TabListEmits>;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export default TabList;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="list" :class="cx('root')" v-bind="ptmi('root')">
|
|
3
|
+
<button
|
|
4
|
+
v-if="showNavigators && isPrevButtonEnabled"
|
|
5
|
+
ref="prevButton"
|
|
6
|
+
v-ripple
|
|
7
|
+
:class="cx('prevButton')"
|
|
8
|
+
:aria-label="prevButtonAriaLabel"
|
|
9
|
+
:tabindex="$pcTabs.tabindex"
|
|
10
|
+
@click="onPrevButtonClick"
|
|
11
|
+
v-bind="ptm('prevButton')"
|
|
12
|
+
data-pc-group-section="navigator"
|
|
13
|
+
>
|
|
14
|
+
<component :is="templates.previcon || 'ChevronLeftIcon'" aria-hidden="true" v-bind="ptm('prevIcon')" />
|
|
15
|
+
</button>
|
|
16
|
+
<div ref="content" :class="cx('content')" @scroll="onScroll" v-bind="ptm('content')">
|
|
17
|
+
<div ref="tabs" :class="cx('tabs')" role="tablist" :aria-orientation="$pcTabs.orientation || 'horizontal'" v-bind="ptm('tabs')">
|
|
18
|
+
<slot></slot>
|
|
19
|
+
<span ref="inkbar" :class="cx('inkbar')" role="presentation" aria-hidden="true" v-bind="ptm('inkbar')"></span>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<button
|
|
23
|
+
v-if="showNavigators && isNextButtonEnabled"
|
|
24
|
+
ref="nextButton"
|
|
25
|
+
v-ripple
|
|
26
|
+
:class="cx('nextButton')"
|
|
27
|
+
:aria-label="nextButtonAriaLabel"
|
|
28
|
+
:tabindex="$pcTabs.tabindex"
|
|
29
|
+
@click="onNextButtonClick"
|
|
30
|
+
v-bind="ptm('nextButton')"
|
|
31
|
+
data-pc-group-section="navigator"
|
|
32
|
+
>
|
|
33
|
+
<component :is="templates.nexticon || 'ChevronRightIcon'" aria-hidden="true" v-bind="ptm('nextIcon')" />
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script>
|
|
39
|
+
import { DomHandler } from '@primevuelab/core/utils';
|
|
40
|
+
import ChevronLeftIcon from '@primevuelab/icons/chevronleft';
|
|
41
|
+
import ChevronRightIcon from '@primevuelab/icons/chevronright';
|
|
42
|
+
import BaseTabList from './BaseTabList.vue';
|
|
43
|
+
|
|
44
|
+
export default {
|
|
45
|
+
name: 'TabList',
|
|
46
|
+
extends: BaseTabList,
|
|
47
|
+
inheritAttrs: false,
|
|
48
|
+
inject: ['$pcTabs'],
|
|
49
|
+
data() {
|
|
50
|
+
return {
|
|
51
|
+
isPrevButtonEnabled: false,
|
|
52
|
+
isNextButtonEnabled: true
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
resizeObserver: undefined,
|
|
56
|
+
watch: {
|
|
57
|
+
showNavigators(newValue) {
|
|
58
|
+
newValue ? this.bindResizeObserver() : this.unbindResizeObserver();
|
|
59
|
+
},
|
|
60
|
+
activeValue: {
|
|
61
|
+
flush: 'post',
|
|
62
|
+
handler() {
|
|
63
|
+
this.updateInkBar();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
mounted() {
|
|
68
|
+
this.$nextTick(() => {
|
|
69
|
+
this.updateInkBar();
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
if (this.showNavigators) {
|
|
73
|
+
this.updateButtonState();
|
|
74
|
+
this.bindResizeObserver();
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
updated() {
|
|
78
|
+
this.showNavigators && this.updateButtonState();
|
|
79
|
+
},
|
|
80
|
+
beforeUnmount() {
|
|
81
|
+
this.unbindResizeObserver();
|
|
82
|
+
},
|
|
83
|
+
methods: {
|
|
84
|
+
onScroll(event) {
|
|
85
|
+
this.showNavigators && this.updateButtonState();
|
|
86
|
+
|
|
87
|
+
event.preventDefault();
|
|
88
|
+
},
|
|
89
|
+
onPrevButtonClick() {
|
|
90
|
+
const content = this.$refs.content;
|
|
91
|
+
const width = DomHandler.getWidth(content);
|
|
92
|
+
const pos = content.scrollLeft - width;
|
|
93
|
+
|
|
94
|
+
content.scrollLeft = pos <= 0 ? 0 : pos;
|
|
95
|
+
},
|
|
96
|
+
onNextButtonClick() {
|
|
97
|
+
const content = this.$refs.content;
|
|
98
|
+
const width = DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
99
|
+
const pos = content.scrollLeft + width;
|
|
100
|
+
const lastPos = content.scrollWidth - width;
|
|
101
|
+
|
|
102
|
+
content.scrollLeft = pos >= lastPos ? lastPos : pos;
|
|
103
|
+
},
|
|
104
|
+
bindResizeObserver() {
|
|
105
|
+
this.resizeObserver = new ResizeObserver(() => this.updateButtonState());
|
|
106
|
+
this.resizeObserver.observe(this.$refs.list);
|
|
107
|
+
},
|
|
108
|
+
unbindResizeObserver() {
|
|
109
|
+
this.resizeObserver?.unobserve(this.$refs.list);
|
|
110
|
+
this.resizeObserver = undefined;
|
|
111
|
+
},
|
|
112
|
+
updateInkBar() {
|
|
113
|
+
const { content, inkbar, tabs } = this.$refs;
|
|
114
|
+
const activeTab = DomHandler.findSingle(content, '[data-pc-name="tab"][data-p-active="true"]');
|
|
115
|
+
|
|
116
|
+
if (this.$pcTabs.isVertical()) {
|
|
117
|
+
inkbar.style.height = DomHandler.getOuterHeight(activeTab) + 'px';
|
|
118
|
+
inkbar.style.top = DomHandler.getOffset(activeTab).top - DomHandler.getOffset(tabs).top + 'px';
|
|
119
|
+
} else {
|
|
120
|
+
inkbar.style.width = DomHandler.getOuterWidth(activeTab) + 'px';
|
|
121
|
+
inkbar.style.left = DomHandler.getOffset(activeTab).left - DomHandler.getOffset(tabs).left + 'px';
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
updateButtonState() {
|
|
125
|
+
const { list, content } = this.$refs;
|
|
126
|
+
const { scrollLeft, scrollTop, scrollWidth, scrollHeight, offsetWidth, offsetHeight } = content;
|
|
127
|
+
const [width, height] = [DomHandler.getWidth(content), DomHandler.getHeight(content)];
|
|
128
|
+
|
|
129
|
+
if (this.$pcTabs.isVertical()) {
|
|
130
|
+
this.isPrevButtonEnabled = scrollTop !== 0;
|
|
131
|
+
this.isNextButtonEnabled = list.offsetHeight >= offsetHeight && parseInt(scrollTop) !== scrollHeight - height;
|
|
132
|
+
} else {
|
|
133
|
+
this.isPrevButtonEnabled = scrollLeft !== 0;
|
|
134
|
+
this.isNextButtonEnabled = list.offsetWidth >= offsetWidth && parseInt(scrollLeft) !== scrollWidth - width;
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
getVisibleButtonWidths() {
|
|
138
|
+
const { prevBtn, nextBtn } = this.$refs;
|
|
139
|
+
|
|
140
|
+
return [prevBtn, nextBtn].reduce((acc, el) => (el ? acc + DomHandler.getWidth(el) : acc), 0);
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
computed: {
|
|
144
|
+
templates() {
|
|
145
|
+
return this.$pcTabs.$slots;
|
|
146
|
+
},
|
|
147
|
+
activeValue() {
|
|
148
|
+
return this.$pcTabs.d_value;
|
|
149
|
+
},
|
|
150
|
+
showNavigators() {
|
|
151
|
+
return this.$pcTabs.scrollable && this.$pcTabs.showNavigators;
|
|
152
|
+
},
|
|
153
|
+
prevButtonAriaLabel() {
|
|
154
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.previous : undefined;
|
|
155
|
+
},
|
|
156
|
+
nextButtonAriaLabel() {
|
|
157
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.next : undefined;
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
components: {
|
|
161
|
+
ChevronLeftIcon,
|
|
162
|
+
ChevronRightIcon
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
</script>
|