primevuelab 4.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +90 -0
- package/accordion/Accordion.d.ts +252 -0
- package/accordion/Accordion.vue +170 -0
- package/accordion/BaseAccordion.vue +51 -0
- package/accordion/accordion.mjs +268 -0
- package/accordion/accordion.mjs.map +1 -0
- package/accordion/package.json +11 -0
- package/accordion/style/AccordionStyle.d.ts +19 -0
- package/accordion/style/accordionstyle.mjs +17 -0
- package/accordion/style/accordionstyle.mjs.map +1 -0
- package/accordion/style/package.json +6 -0
- package/accordioncontent/AccordionContent.d.ts +149 -0
- package/accordioncontent/AccordionContent.vue +51 -0
- package/accordioncontent/BaseAccordionContent.vue +26 -0
- package/accordioncontent/accordioncontent.mjs +91 -0
- package/accordioncontent/accordioncontent.mjs.map +1 -0
- package/accordioncontent/package.json +11 -0
- package/accordioncontent/style/AccordionContentStyle.d.ts +23 -0
- package/accordioncontent/style/accordioncontentstyle.mjs +13 -0
- package/accordioncontent/style/accordioncontentstyle.mjs.map +1 -0
- package/accordioncontent/style/package.json +6 -0
- package/accordionheader/AccordionHeader.d.ts +149 -0
- package/accordionheader/AccordionHeader.vue +171 -0
- package/accordionheader/BaseAccordionHeader.vue +26 -0
- package/accordionheader/accordionheader.mjs +201 -0
- package/accordionheader/accordionheader.mjs.map +1 -0
- package/accordionheader/package.json +11 -0
- package/accordionheader/style/AccordionHeaderStyle.d.ts +23 -0
- package/accordionheader/style/accordionheaderstyle.mjs +13 -0
- package/accordionheader/style/accordionheaderstyle.mjs.map +1 -0
- package/accordionheader/style/package.json +6 -0
- package/accordionpanel/AccordionPanel.d.ts +147 -0
- package/accordionpanel/AccordionPanel.vue +40 -0
- package/accordionpanel/BaseAccordionPanel.vue +34 -0
- package/accordionpanel/accordionpanel.mjs +84 -0
- package/accordionpanel/accordionpanel.mjs.map +1 -0
- package/accordionpanel/package.json +11 -0
- package/accordionpanel/style/AccordionPanelStyle.d.ts +19 -0
- package/accordionpanel/style/accordionpanelstyle.mjs +19 -0
- package/accordionpanel/style/accordionpanelstyle.mjs.map +1 -0
- package/accordionpanel/style/package.json +6 -0
- package/accordiontab/AccordionTab.d.ts +236 -0
- package/accordiontab/AccordionTab.vue +16 -0
- package/accordiontab/BaseAccordionTab.vue +27 -0
- package/accordiontab/accordiontab.mjs +44 -0
- package/accordiontab/accordiontab.mjs.map +1 -0
- package/accordiontab/package.json +11 -0
- package/accordiontab/style/AccordionTabStyle.d.ts +15 -0
- package/accordiontab/style/accordiontabstyle.mjs +8 -0
- package/accordiontab/style/accordiontabstyle.mjs.map +1 -0
- package/accordiontab/style/package.json +6 -0
- package/animateonscroll/AnimateOnScroll.d.ts +87 -0
- package/animateonscroll/animateonscroll.mjs +130 -0
- package/animateonscroll/animateonscroll.mjs.map +1 -0
- package/animateonscroll/package.json +5 -0
- package/animateonscroll/style/AnimateOnScrollStyle.d.ts +14 -0
- package/animateonscroll/style/animateonscrollstyle.mjs +8 -0
- package/animateonscroll/style/animateonscrollstyle.mjs.map +1 -0
- package/animateonscroll/style/package.json +6 -0
- package/autocomplete/AutoComplete.d.ts +833 -0
- package/autocomplete/AutoComplete.vue +985 -0
- package/autocomplete/BaseAutoComplete.vue +191 -0
- package/autocomplete/autocomplete.mjs +1327 -0
- package/autocomplete/autocomplete.mjs.map +1 -0
- package/autocomplete/package.json +11 -0
- package/autocomplete/style/AutoCompleteStyle.d.ts +71 -0
- package/autocomplete/style/autocompletestyle.mjs +70 -0
- package/autocomplete/style/autocompletestyle.mjs.map +1 -0
- package/autocomplete/style/package.json +6 -0
- package/avatar/Avatar.d.ts +178 -0
- package/avatar/Avatar.vue +26 -0
- package/avatar/BaseAvatar.vue +46 -0
- package/avatar/avatar.mjs +90 -0
- package/avatar/avatar.mjs.map +1 -0
- package/avatar/package.json +11 -0
- package/avatar/style/AvatarStyle.d.ts +27 -0
- package/avatar/style/avatarstyle.mjs +27 -0
- package/avatar/style/avatarstyle.mjs.map +1 -0
- package/avatar/style/package.json +6 -0
- package/avatargroup/AvatarGroup.d.ts +128 -0
- package/avatargroup/AvatarGroup.vue +15 -0
- package/avatargroup/BaseAvatarGroup.vue +16 -0
- package/avatargroup/avatargroup.mjs +32 -0
- package/avatargroup/avatargroup.mjs.map +1 -0
- package/avatargroup/package.json +11 -0
- package/avatargroup/style/AvatarGroupStyle.d.ts +16 -0
- package/avatargroup/style/avatargroupstyle.mjs +12 -0
- package/avatargroup/style/avatargroupstyle.mjs.map +1 -0
- package/avatargroup/style/package.json +6 -0
- package/badge/Badge.d.ts +136 -0
- package/badge/Badge.vue +15 -0
- package/badge/BaseBadge.vue +30 -0
- package/badge/badge.mjs +48 -0
- package/badge/badge.mjs.map +1 -0
- package/badge/package.json +11 -0
- package/badge/style/BadgeStyle.d.ts +19 -0
- package/badge/style/badgestyle.mjs +34 -0
- package/badge/style/badgestyle.mjs.map +1 -0
- package/badge/style/package.json +6 -0
- package/badgedirective/BadgeDirective.d.ts +170 -0
- package/badgedirective/badgedirective.mjs +68 -0
- package/badgedirective/badgedirective.mjs.map +1 -0
- package/badgedirective/package.json +5 -0
- package/badgedirective/style/BadgeDirectiveStyle.d.ts +16 -0
- package/badgedirective/style/badgedirectivestyle.mjs +12 -0
- package/badgedirective/style/badgedirectivestyle.mjs.map +1 -0
- package/badgedirective/style/package.json +6 -0
- package/blockui/BaseBlockUI.vue +34 -0
- package/blockui/BlockUI.d.ts +176 -0
- package/blockui/BlockUI.vue +103 -0
- package/blockui/blockui.mjs +133 -0
- package/blockui/blockui.mjs.map +1 -0
- package/blockui/package.json +11 -0
- package/blockui/style/BlockUIStyle.d.ts +19 -0
- package/blockui/style/blockuistyle.mjs +17 -0
- package/blockui/style/blockuistyle.mjs.map +1 -0
- package/blockui/style/package.json +6 -0
- package/breadcrumb/BaseBreadcrumb.vue +26 -0
- package/breadcrumb/Breadcrumb.d.ts +241 -0
- package/breadcrumb/Breadcrumb.vue +31 -0
- package/breadcrumb/BreadcrumbItem.vue +87 -0
- package/breadcrumb/breadcrumb.mjs +176 -0
- package/breadcrumb/breadcrumb.mjs.map +1 -0
- package/breadcrumb/package.json +11 -0
- package/breadcrumb/style/BreadcrumbStyle.d.ts +47 -0
- package/breadcrumb/style/breadcrumbstyle.mjs +29 -0
- package/breadcrumb/style/breadcrumbstyle.mjs.map +1 -0
- package/breadcrumb/style/package.json +6 -0
- package/button/BaseButton.vue +86 -0
- package/button/Button.d.ts +259 -0
- package/button/Button.vue +57 -0
- package/button/button.mjs +172 -0
- package/button/button.mjs.map +1 -0
- package/button/package.json +11 -0
- package/button/style/ButtonStyle.d.ts +31 -0
- package/button/style/buttonstyle.mjs +36 -0
- package/button/style/buttonstyle.mjs.map +1 -0
- package/button/style/package.json +6 -0
- package/buttongroup/BaseButtonGroup.vue +16 -0
- package/buttongroup/ButtonGroup.d.ts +120 -0
- package/buttongroup/ButtonGroup.vue +15 -0
- package/buttongroup/buttongroup.mjs +33 -0
- package/buttongroup/buttongroup.mjs.map +1 -0
- package/buttongroup/package.json +11 -0
- package/buttongroup/style/ButtonGroupStyle.d.ts +19 -0
- package/buttongroup/style/buttongroupstyle.mjs +17 -0
- package/buttongroup/style/buttongroupstyle.mjs.map +1 -0
- package/buttongroup/style/package.json +6 -0
- package/calendar/Calendar.d.ts +127 -0
- package/calendar/Calendar.vue +11 -0
- package/calendar/calendar.mjs +12 -0
- package/calendar/calendar.mjs.map +1 -0
- package/calendar/package.json +11 -0
- package/calendar/style/CalendarStyle.d.ts +14 -0
- package/calendar/style/calendarstyle.mjs +8 -0
- package/calendar/style/calendarstyle.mjs.map +1 -0
- package/calendar/style/package.json +6 -0
- package/card/BaseCard.vue +16 -0
- package/card/Card.d.ts +168 -0
- package/card/Card.vue +33 -0
- package/card/card.mjs +51 -0
- package/card/card.mjs.map +1 -0
- package/card/package.json +11 -0
- package/card/style/CardStyle.d.ts +47 -0
- package/card/style/cardstyle.mjs +24 -0
- package/card/style/cardstyle.mjs.map +1 -0
- package/card/style/package.json +6 -0
- package/carousel/BaseCarousel.vue +71 -0
- package/carousel/Carousel.d.ts +403 -0
- package/carousel/Carousel.vue +653 -0
- package/carousel/carousel.mjs +730 -0
- package/carousel/carousel.mjs.map +1 -0
- package/carousel/package.json +11 -0
- package/carousel/style/CarouselStyle.d.ts +71 -0
- package/carousel/style/carouselstyle.mjs +70 -0
- package/carousel/style/carouselstyle.mjs.map +1 -0
- package/carousel/style/package.json +6 -0
- package/cascadeselect/BaseCascadeSelect.vue +144 -0
- package/cascadeselect/CascadeSelect.d.ts +567 -0
- package/cascadeselect/CascadeSelect.vue +784 -0
- package/cascadeselect/CascadeSelectSub.vue +176 -0
- package/cascadeselect/cascadeselect.mjs +1250 -0
- package/cascadeselect/cascadeselect.mjs.map +1 -0
- package/cascadeselect/package.json +11 -0
- package/cascadeselect/style/CascadeSelectStyle.d.ts +67 -0
- package/cascadeselect/style/cascadeselectstyle.mjs +66 -0
- package/cascadeselect/style/cascadeselectstyle.mjs.map +1 -0
- package/cascadeselect/style/package.json +6 -0
- package/chart/BaseChart.vue +34 -0
- package/chart/Chart.d.ts +211 -0
- package/chart/Chart.vue +97 -0
- package/chart/chart.mjs +153 -0
- package/chart/chart.mjs.map +1 -0
- package/chart/package.json +11 -0
- package/chart/style/ChartStyle.d.ts +19 -0
- package/chart/style/chartstyle.mjs +18 -0
- package/chart/style/chartstyle.mjs.map +1 -0
- package/chart/style/package.json +6 -0
- package/checkbox/BaseCheckbox.vue +81 -0
- package/checkbox/Checkbox.d.ts +283 -0
- package/checkbox/Checkbox.vue +102 -0
- package/checkbox/checkbox.mjs +208 -0
- package/checkbox/checkbox.mjs.map +1 -0
- package/checkbox/package.json +11 -0
- package/checkbox/style/CheckboxStyle.d.ts +31 -0
- package/checkbox/style/checkboxstyle.mjs +29 -0
- package/checkbox/style/checkboxstyle.mjs.map +1 -0
- package/checkbox/style/package.json +6 -0
- package/chip/BaseChip.vue +38 -0
- package/chip/Chip.d.ts +206 -0
- package/chip/Chip.vue +44 -0
- package/chip/chip.mjs +106 -0
- package/chip/chip.mjs.map +1 -0
- package/chip/package.json +11 -0
- package/chip/style/ChipStyle.d.ts +35 -0
- package/chip/style/chipstyle.mjs +21 -0
- package/chip/style/chipstyle.mjs.map +1 -0
- package/chip/style/package.json +6 -0
- package/chips/Chips.d.ts +90 -0
- package/chips/Chips.vue +11 -0
- package/chips/chips.mjs +12 -0
- package/chips/chips.mjs.map +1 -0
- package/chips/package.json +11 -0
- package/chips/style/ChipsStyle.d.ts +14 -0
- package/chips/style/chipsstyle.mjs +8 -0
- package/chips/style/chipsstyle.mjs.map +1 -0
- package/chips/style/package.json +6 -0
- package/colorpicker/BaseColorPicker.vue +55 -0
- package/colorpicker/ColorPicker.d.ts +254 -0
- package/colorpicker/ColorPicker.vue +569 -0
- package/colorpicker/colorpicker.mjs +646 -0
- package/colorpicker/colorpicker.mjs.map +1 -0
- package/colorpicker/package.json +11 -0
- package/colorpicker/style/ColorPickerStyle.d.ts +47 -0
- package/colorpicker/style/colorpickerstyle.mjs +35 -0
- package/colorpicker/style/colorpickerstyle.mjs.map +1 -0
- package/colorpicker/style/package.json +6 -0
- package/column/BaseColumn.vue +194 -0
- package/column/Column.d.ts +1006 -0
- package/column/Column.vue +19 -0
- package/column/column.mjs +213 -0
- package/column/column.mjs.map +1 -0
- package/column/package.json +11 -0
- package/column/style/ColumnStyle.d.ts +15 -0
- package/column/style/columnstyle.mjs +8 -0
- package/column/style/columnstyle.mjs.map +1 -0
- package/column/style/package.json +6 -0
- package/columngroup/BaseColumnGroup.vue +22 -0
- package/columngroup/ColumnGroup.d.ts +145 -0
- package/columngroup/ColumnGroup.vue +19 -0
- package/columngroup/columngroup.mjs +41 -0
- package/columngroup/columngroup.mjs.map +1 -0
- package/columngroup/package.json +11 -0
- package/columngroup/style/ColumnGroupStyle.d.ts +15 -0
- package/columngroup/style/columngroupstyle.mjs +8 -0
- package/columngroup/style/columngroupstyle.mjs.map +1 -0
- package/columngroup/style/package.json +6 -0
- package/config/Config.d.ts +425 -0
- package/config/config.mjs +3 -0
- package/config/config.mjs.map +1 -0
- package/config/package.json +5 -0
- package/confirmationeventbus/confirmationeventbus.mjs +6 -0
- package/confirmationeventbus/confirmationeventbus.mjs.map +1 -0
- package/confirmationeventbus/package.json +4 -0
- package/confirmationoptions/ConfirmationOptions.d.ts +99 -0
- package/confirmationservice/ConfirmationService.d.ts +40 -0
- package/confirmationservice/confirmationservice.mjs +20 -0
- package/confirmationservice/confirmationservice.mjs.map +1 -0
- package/confirmationservice/package.json +5 -0
- package/confirmdialog/BaseConfirmDialog.vue +27 -0
- package/confirmdialog/ConfirmDialog.d.ts +291 -0
- package/confirmdialog/ConfirmDialog.vue +182 -0
- package/confirmdialog/confirmdialog.mjs +260 -0
- package/confirmdialog/confirmdialog.mjs.map +1 -0
- package/confirmdialog/package.json +11 -0
- package/confirmdialog/style/ConfirmDialogStyle.d.ts +35 -0
- package/confirmdialog/style/confirmdialogstyle.mjs +21 -0
- package/confirmdialog/style/confirmdialogstyle.mjs.map +1 -0
- package/confirmdialog/style/package.json +6 -0
- package/confirmpopup/BaseConfirmPopup.vue +19 -0
- package/confirmpopup/ConfirmPopup.d.ts +241 -0
- package/confirmpopup/ConfirmPopup.vue +336 -0
- package/confirmpopup/confirmpopup.mjs +396 -0
- package/confirmpopup/confirmpopup.mjs.map +1 -0
- package/confirmpopup/package.json +11 -0
- package/confirmpopup/style/ConfirmPopupStyle.d.ts +43 -0
- package/confirmpopup/style/confirmpopupstyle.mjs +23 -0
- package/confirmpopup/style/confirmpopupstyle.mjs.map +1 -0
- package/confirmpopup/style/package.json +6 -0
- package/contextmenu/BaseContextMenu.vue +50 -0
- package/contextmenu/ContextMenu.d.ts +413 -0
- package/contextmenu/ContextMenu.vue +600 -0
- package/contextmenu/ContextMenuSub.vue +227 -0
- package/contextmenu/contextmenu.mjs +988 -0
- package/contextmenu/contextmenu.mjs.map +1 -0
- package/contextmenu/package.json +11 -0
- package/contextmenu/style/ContextMenuStyle.d.ts +56 -0
- package/contextmenu/style/contextmenustyle.mjs +34 -0
- package/contextmenu/style/contextmenustyle.mjs.map +1 -0
- package/contextmenu/style/package.json +6 -0
- package/datatable/BaseDataTable.vue +309 -0
- package/datatable/BodyCell.vue +577 -0
- package/datatable/BodyRow.vue +598 -0
- package/datatable/ColumnFilter.vue +736 -0
- package/datatable/DataTable.d.ts +1639 -0
- package/datatable/DataTable.vue +2061 -0
- package/datatable/FooterCell.vue +104 -0
- package/datatable/HeaderCell.vue +377 -0
- package/datatable/HeaderCheckbox.vue +67 -0
- package/datatable/RowCheckbox.vue +74 -0
- package/datatable/RowRadioButton.vue +59 -0
- package/datatable/TableBody.vue +303 -0
- package/datatable/TableFooter.vue +131 -0
- package/datatable/TableHeader.vue +345 -0
- package/datatable/datatable.mjs +6379 -0
- package/datatable/datatable.mjs.map +1 -0
- package/datatable/package.json +11 -0
- package/datatable/style/DataTableStyle.d.ts +207 -0
- package/datatable/style/datatablestyle.mjs +169 -0
- package/datatable/style/datatablestyle.mjs.map +1 -0
- package/datatable/style/package.json +6 -0
- package/dataview/BaseDataView.vue +82 -0
- package/dataview/DataView.d.ts +356 -0
- package/dataview/DataView.vue +172 -0
- package/dataview/dataview.mjs +283 -0
- package/dataview/dataview.mjs.map +1 -0
- package/dataview/package.json +11 -0
- package/dataview/style/DataViewStyle.d.ts +39 -0
- package/dataview/style/dataviewstyle.mjs +32 -0
- package/dataview/style/dataviewstyle.mjs.map +1 -0
- package/dataview/style/package.json +6 -0
- package/datepicker/BaseDatePicker.vue +248 -0
- package/datepicker/DatePicker.d.ts +1047 -0
- package/datepicker/DatePicker.vue +2951 -0
- package/datepicker/datepicker.mjs +3323 -0
- package/datepicker/datepicker.mjs.map +1 -0
- package/datepicker/package.json +11 -0
- package/datepicker/style/DatePickerStyle.d.ts +167 -0
- package/datepicker/style/datepickerstyle.mjs +114 -0
- package/datepicker/style/datepickerstyle.mjs.map +1 -0
- package/datepicker/style/package.json +6 -0
- package/deferredcontent/DeferredContent.d.ts +148 -0
- package/deferredcontent/DeferredContent.vue +65 -0
- package/deferredcontent/deferredcontent.mjs +69 -0
- package/deferredcontent/deferredcontent.mjs.map +1 -0
- package/deferredcontent/package.json +11 -0
- package/deferredcontent/style/DeferredContentStyle.d.ts +14 -0
- package/deferredcontent/style/deferredcontentstyle.mjs +8 -0
- package/deferredcontent/style/deferredcontentstyle.mjs.map +1 -0
- package/deferredcontent/style/package.json +6 -0
- package/dialog/BaseDialog.vue +139 -0
- package/dialog/Dialog.d.ts +433 -0
- package/dialog/Dialog.vue +418 -0
- package/dialog/dialog.mjs +608 -0
- package/dialog/dialog.mjs.map +1 -0
- package/dialog/package.json +11 -0
- package/dialog/style/DialogStyle.d.ts +51 -0
- package/dialog/style/dialogstyle.mjs +65 -0
- package/dialog/style/dialogstyle.mjs.map +1 -0
- package/dialog/style/package.json +6 -0
- package/dialogservice/DialogService.d.ts +39 -0
- package/dialogservice/dialogservice.mjs +34 -0
- package/dialogservice/dialogservice.mjs.map +1 -0
- package/dialogservice/package.json +5 -0
- package/divider/BaseDivider.vue +30 -0
- package/divider/Divider.d.ts +143 -0
- package/divider/Divider.vue +17 -0
- package/divider/divider.mjs +53 -0
- package/divider/divider.mjs.map +1 -0
- package/divider/package.json +11 -0
- package/divider/style/DividerStyle.d.ts +23 -0
- package/divider/style/dividerstyle.mjs +45 -0
- package/divider/style/dividerstyle.mjs.map +1 -0
- package/divider/style/package.json +6 -0
- package/dock/BaseDock.vue +46 -0
- package/dock/Dock.d.ts +331 -0
- package/dock/Dock.vue +60 -0
- package/dock/DockSub.vue +286 -0
- package/dock/dock.mjs +423 -0
- package/dock/dock.mjs.map +1 -0
- package/dock/package.json +11 -0
- package/dock/style/DockStyle.d.ts +43 -0
- package/dock/style/dockstyle.mjs +37 -0
- package/dock/style/dockstyle.mjs.map +1 -0
- package/dock/style/package.json +6 -0
- package/drawer/BaseDrawer.vue +73 -0
- package/drawer/Drawer.d.ts +286 -0
- package/drawer/Drawer.vue +234 -0
- package/drawer/drawer.mjs +341 -0
- package/drawer/drawer.mjs.map +1 -0
- package/drawer/package.json +11 -0
- package/drawer/style/DrawerStyle.d.ts +39 -0
- package/drawer/style/drawerstyle.mjs +56 -0
- package/drawer/style/drawerstyle.mjs.map +1 -0
- package/drawer/style/package.json +6 -0
- package/dropdown/Dropdown.d.ts +108 -0
- package/dropdown/Dropdown.vue +11 -0
- package/dropdown/dropdown.mjs +12 -0
- package/dropdown/dropdown.mjs.map +1 -0
- package/dropdown/package.json +11 -0
- package/dropdown/style/DropdownStyle.d.ts +14 -0
- package/dropdown/style/dropdownstyle.mjs +8 -0
- package/dropdown/style/dropdownstyle.mjs.map +1 -0
- package/dropdown/style/package.json +6 -0
- package/dynamicdialog/BaseDynamicDialog.vue +17 -0
- package/dynamicdialog/DynamicDialog.d.ts +55 -0
- package/dynamicdialog/DynamicDialog.vue +77 -0
- package/dynamicdialog/dynamicdialog.mjs +134 -0
- package/dynamicdialog/dynamicdialog.mjs.map +1 -0
- package/dynamicdialog/package.json +11 -0
- package/dynamicdialog/style/DynamicDialogStyle.d.ts +14 -0
- package/dynamicdialog/style/dynamicdialogstyle.mjs +8 -0
- package/dynamicdialog/style/dynamicdialogstyle.mjs.map +1 -0
- package/dynamicdialog/style/package.json +6 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.mjs +6 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.mjs.map +1 -0
- package/dynamicdialogeventbus/package.json +4 -0
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +93 -0
- package/editor/BaseEditor.vue +24 -0
- package/editor/Editor.d.ts +320 -0
- package/editor/Editor.vue +178 -0
- package/editor/editor.mjs +238 -0
- package/editor/editor.mjs.map +1 -0
- package/editor/package.json +11 -0
- package/editor/style/EditorStyle.d.ts +27 -0
- package/editor/style/editorstyle.mjs +19 -0
- package/editor/style/editorstyle.mjs.map +1 -0
- package/editor/style/package.json +6 -0
- package/fieldset/BaseFieldset.vue +25 -0
- package/fieldset/Fieldset.d.ts +253 -0
- package/fieldset/Fieldset.vue +95 -0
- package/fieldset/fieldset.mjs +147 -0
- package/fieldset/fieldset.mjs.map +1 -0
- package/fieldset/package.json +11 -0
- package/fieldset/style/FieldsetStyle.d.ts +39 -0
- package/fieldset/style/fieldsetstyle.mjs +28 -0
- package/fieldset/style/fieldsetstyle.mjs.map +1 -0
- package/fieldset/style/package.json +6 -0
- package/fileupload/BaseFileUpload.vue +128 -0
- package/fileupload/FileContent.vue +75 -0
- package/fileupload/FileUpload.d.ts +670 -0
- package/fileupload/FileUpload.vue +448 -0
- package/fileupload/fileupload.mjs +870 -0
- package/fileupload/fileupload.mjs.map +1 -0
- package/fileupload/package.json +11 -0
- package/fileupload/style/FileUploadStyle.d.ts +75 -0
- package/fileupload/style/fileuploadstyle.mjs +34 -0
- package/fileupload/style/fileuploadstyle.mjs.map +1 -0
- package/fileupload/style/package.json +6 -0
- package/floatlabel/BaseFloatLabel.vue +17 -0
- package/floatlabel/FloatLabel.d.ts +130 -0
- package/floatlabel/FloatLabel.vue +15 -0
- package/floatlabel/floatlabel.mjs +33 -0
- package/floatlabel/floatlabel.mjs.map +1 -0
- package/floatlabel/package.json +11 -0
- package/floatlabel/style/FloatLabelStyle.d.ts +19 -0
- package/floatlabel/style/floatlabelstyle.mjs +17 -0
- package/floatlabel/style/floatlabelstyle.mjs.map +1 -0
- package/floatlabel/style/package.json +6 -0
- package/focustrap/FocusTrap.d.ts +100 -0
- package/focustrap/focustrap.mjs +141 -0
- package/focustrap/focustrap.mjs.map +1 -0
- package/focustrap/package.json +5 -0
- package/focustrap/style/FocusTrapStyle.d.ts +14 -0
- package/focustrap/style/focustrapstyle.mjs +8 -0
- package/focustrap/style/focustrapstyle.mjs.map +1 -0
- package/focustrap/style/package.json +6 -0
- package/galleria/BaseGalleria.vue +134 -0
- package/galleria/Galleria.d.ts +541 -0
- package/galleria/Galleria.vue +95 -0
- package/galleria/GalleriaContent.vue +168 -0
- package/galleria/GalleriaItem.vue +271 -0
- package/galleria/GalleriaThumbnails.vue +546 -0
- package/galleria/galleria.mjs +1278 -0
- package/galleria/galleria.mjs.map +1 -0
- package/galleria/package.json +11 -0
- package/galleria/style/GalleriaStyle.d.ts +127 -0
- package/galleria/style/galleriastyle.mjs +89 -0
- package/galleria/style/galleriastyle.mjs.map +1 -0
- package/galleria/style/package.json +6 -0
- package/iconfield/BaseIconField.vue +16 -0
- package/iconfield/IconField.d.ts +128 -0
- package/iconfield/IconField.vue +15 -0
- package/iconfield/iconfield.mjs +32 -0
- package/iconfield/iconfield.mjs.map +1 -0
- package/iconfield/package.json +11 -0
- package/iconfield/style/IconFieldStyle.d.ts +19 -0
- package/iconfield/style/iconfieldstyle.mjs +17 -0
- package/iconfield/style/iconfieldstyle.mjs.map +1 -0
- package/iconfield/style/package.json +6 -0
- package/image/BaseImage.vue +58 -0
- package/image/Image.d.ts +362 -0
- package/image/Image.vue +233 -0
- package/image/image.mjs +387 -0
- package/image/image.mjs.map +1 -0
- package/image/package.json +11 -0
- package/image/style/ImageStyle.d.ts +59 -0
- package/image/style/imagestyle.mjs +42 -0
- package/image/style/imagestyle.mjs.map +1 -0
- package/image/style/package.json +6 -0
- package/inlinemessage/BaseInlineMessage.vue +26 -0
- package/inlinemessage/InlineMessage.d.ts +162 -0
- package/inlinemessage/InlineMessage.vue +47 -0
- package/inlinemessage/inlinemessage.mjs +80 -0
- package/inlinemessage/inlinemessage.mjs.map +1 -0
- package/inlinemessage/package.json +11 -0
- package/inlinemessage/style/InlineMessageStyle.d.ts +27 -0
- package/inlinemessage/style/inlinemessagestyle.mjs +28 -0
- package/inlinemessage/style/inlinemessagestyle.mjs.map +1 -0
- package/inlinemessage/style/package.json +6 -0
- package/inplace/BaseInplace.vue +30 -0
- package/inplace/Inplace.d.ts +209 -0
- package/inplace/Inplace.vue +53 -0
- package/inplace/inplace.mjs +101 -0
- package/inplace/inplace.mjs.map +1 -0
- package/inplace/package.json +11 -0
- package/inplace/style/InplaceStyle.d.ts +27 -0
- package/inplace/style/inplacestyle.mjs +24 -0
- package/inplace/style/inplacestyle.mjs.map +1 -0
- package/inplace/style/package.json +6 -0
- package/inputchips/BaseInputChips.vue +86 -0
- package/inputchips/InputChips.d.ts +349 -0
- package/inputchips/InputChips.vue +271 -0
- package/inputchips/inputchips.mjs +394 -0
- package/inputchips/inputchips.mjs.map +1 -0
- package/inputchips/package.json +11 -0
- package/inputchips/style/InputChipsStyle.d.ts +39 -0
- package/inputchips/style/inputchipsstyle.mjs +44 -0
- package/inputchips/style/inputchipsstyle.mjs.map +1 -0
- package/inputchips/style/package.json +6 -0
- package/inputgroup/BaseInputGroup.vue +16 -0
- package/inputgroup/InputGroup.d.ts +129 -0
- package/inputgroup/InputGroup.vue +15 -0
- package/inputgroup/inputgroup.mjs +32 -0
- package/inputgroup/inputgroup.mjs.map +1 -0
- package/inputgroup/package.json +11 -0
- package/inputgroup/style/InputGroupStyle.d.ts +19 -0
- package/inputgroup/style/inputgroupstyle.mjs +17 -0
- package/inputgroup/style/inputgroupstyle.mjs.map +1 -0
- package/inputgroup/style/package.json +6 -0
- package/inputgroupaddon/BaseInputGroupAddon.vue +16 -0
- package/inputgroupaddon/InputGroupAddon.d.ts +129 -0
- package/inputgroupaddon/InputGroupAddon.vue +15 -0
- package/inputgroupaddon/inputgroupaddon.mjs +32 -0
- package/inputgroupaddon/inputgroupaddon.mjs.map +1 -0
- package/inputgroupaddon/package.json +11 -0
- package/inputgroupaddon/style/InputGroupAddonStyle.d.ts +19 -0
- package/inputgroupaddon/style/inputgroupaddonstyle.mjs +12 -0
- package/inputgroupaddon/style/inputgroupaddonstyle.mjs.map +1 -0
- package/inputgroupaddon/style/package.json +6 -0
- package/inputicon/BaseInputIcon.vue +19 -0
- package/inputicon/InputIcon.d.ts +124 -0
- package/inputicon/InputIcon.vue +20 -0
- package/inputicon/inputicon.mjs +40 -0
- package/inputicon/inputicon.mjs.map +1 -0
- package/inputicon/package.json +11 -0
- package/inputicon/style/InputIconStyle.d.ts +19 -0
- package/inputicon/style/inputiconstyle.mjs +12 -0
- package/inputicon/style/inputiconstyle.mjs.map +1 -0
- package/inputicon/style/package.json +6 -0
- package/inputmask/BaseInputMask.vue +55 -0
- package/inputmask/InputMask.d.ts +231 -0
- package/inputmask/InputMask.vue +532 -0
- package/inputmask/inputmask.mjs +512 -0
- package/inputmask/inputmask.mjs.map +1 -0
- package/inputmask/package.json +11 -0
- package/inputmask/style/InputMaskStyle.d.ts +19 -0
- package/inputmask/style/inputmaskstyle.mjs +12 -0
- package/inputmask/style/inputmaskstyle.mjs.map +1 -0
- package/inputmask/style/package.json +6 -0
- package/inputnumber/BaseInputNumber.vue +165 -0
- package/inputnumber/InputNumber.d.ts +477 -0
- package/inputnumber/InputNumber.vue +987 -0
- package/inputnumber/inputnumber.mjs +1134 -0
- package/inputnumber/inputnumber.mjs.map +1 -0
- package/inputnumber/package.json +11 -0
- package/inputnumber/style/InputNumberStyle.d.ts +35 -0
- package/inputnumber/style/inputnumberstyle.mjs +43 -0
- package/inputnumber/style/inputnumberstyle.mjs.map +1 -0
- package/inputnumber/style/package.json +6 -0
- package/inputotp/BaseInputOtp.vue +54 -0
- package/inputotp/InputOtp.d.ts +281 -0
- package/inputotp/InputOtp.vue +194 -0
- package/inputotp/inputotp.mjs +255 -0
- package/inputotp/inputotp.mjs.map +1 -0
- package/inputotp/package.json +11 -0
- package/inputotp/style/InputOtpStyle.d.ts +23 -0
- package/inputotp/style/inputotpstyle.mjs +18 -0
- package/inputotp/style/inputotpstyle.mjs.map +1 -0
- package/inputotp/style/package.json +6 -0
- package/inputswitch/InputSwitch.d.ts +69 -0
- package/inputswitch/InputSwitch.vue +11 -0
- package/inputswitch/inputswitch.mjs +12 -0
- package/inputswitch/inputswitch.mjs.map +1 -0
- package/inputswitch/package.json +11 -0
- package/inputswitch/style/InputSwitchStyle.d.ts +14 -0
- package/inputswitch/style/inputswitchstyle.mjs +8 -0
- package/inputswitch/style/inputswitchstyle.mjs.map +1 -0
- package/inputswitch/style/package.json +6 -0
- package/inputtext/BaseInputText.vue +31 -0
- package/inputtext/InputText.d.ts +163 -0
- package/inputtext/InputText.vue +34 -0
- package/inputtext/inputtext.mjs +74 -0
- package/inputtext/inputtext.mjs.map +1 -0
- package/inputtext/package.json +11 -0
- package/inputtext/style/InputTextStyle.d.ts +19 -0
- package/inputtext/style/inputtextstyle.mjs +27 -0
- package/inputtext/style/inputtextstyle.mjs.map +1 -0
- package/inputtext/style/package.json +6 -0
- package/knob/BaseKnob.vue +89 -0
- package/knob/Knob.d.ts +259 -0
- package/knob/Knob.vue +227 -0
- package/knob/knob.mjs +333 -0
- package/knob/knob.mjs.map +1 -0
- package/knob/package.json +11 -0
- package/knob/style/KnobStyle.d.ts +31 -0
- package/knob/style/knobstyle.mjs +25 -0
- package/knob/style/knobstyle.mjs.map +1 -0
- package/knob/style/package.json +6 -0
- package/listbox/BaseListbox.vue +122 -0
- package/listbox/Listbox.d.ts +621 -0
- package/listbox/Listbox.vue +782 -0
- package/listbox/listbox.mjs +1051 -0
- package/listbox/listbox.mjs.map +1 -0
- package/listbox/package.json +11 -0
- package/listbox/style/ListboxStyle.d.ts +55 -0
- package/listbox/style/listboxstyle.mjs +44 -0
- package/listbox/style/listboxstyle.mjs.map +1 -0
- package/listbox/style/package.json +6 -0
- package/megamenu/BaseMegaMenu.vue +46 -0
- package/megamenu/MegaMenu.d.ts +410 -0
- package/megamenu/MegaMenu.vue +673 -0
- package/megamenu/MegaMenuSub.vue +228 -0
- package/megamenu/megamenu.mjs +1051 -0
- package/megamenu/megamenu.mjs.map +1 -0
- package/megamenu/package.json +11 -0
- package/megamenu/style/MegaMenuStyle.d.ts +83 -0
- package/megamenu/style/megamenustyle.mjs +90 -0
- package/megamenu/style/megamenustyle.mjs.map +1 -0
- package/megamenu/style/package.json +6 -0
- package/menu/BaseMenu.vue +50 -0
- package/menu/Menu.d.ts +381 -0
- package/menu/Menu.vue +390 -0
- package/menu/Menuitem.vue +110 -0
- package/menu/menu.mjs +596 -0
- package/menu/menu.mjs.map +1 -0
- package/menu/package.json +11 -0
- package/menu/style/MenuStyle.d.ts +59 -0
- package/menu/style/menustyle.mjs +38 -0
- package/menu/style/menustyle.mjs.map +1 -0
- package/menu/style/package.json +6 -0
- package/menubar/BaseMenubar.vue +38 -0
- package/menubar/Menubar.d.ts +423 -0
- package/menubar/Menubar.vue +638 -0
- package/menubar/MenubarSub.vue +224 -0
- package/menubar/menubar.mjs +1013 -0
- package/menubar/menubar.mjs.map +1 -0
- package/menubar/package.json +11 -0
- package/menubar/style/MenubarStyle.d.ts +67 -0
- package/menubar/style/menubarstyle.mjs +53 -0
- package/menubar/style/menubarstyle.mjs.map +1 -0
- package/menubar/style/package.json +6 -0
- package/menuitem/MenuItem.d.ts +89 -0
- package/message/BaseMessage.vue +42 -0
- package/message/Message.d.ts +238 -0
- package/message/Message.vue +81 -0
- package/message/message.mjs +159 -0
- package/message/message.mjs.map +1 -0
- package/message/package.json +11 -0
- package/message/style/MessageStyle.d.ts +39 -0
- package/message/style/messagestyle.mjs +25 -0
- package/message/style/messagestyle.mjs.map +1 -0
- package/message/style/package.json +6 -0
- package/metergroup/BaseMeterGroup.vue +42 -0
- package/metergroup/MeterGroup.d.ts +312 -0
- package/metergroup/MeterGroup.vue +74 -0
- package/metergroup/MeterGroupLabel.vue +36 -0
- package/metergroup/metergroup.mjs +218 -0
- package/metergroup/metergroup.mjs.map +1 -0
- package/metergroup/package.json +11 -0
- package/metergroup/style/MeterGroupStyle.d.ts +47 -0
- package/metergroup/style/metergroupstyle.mjs +36 -0
- package/metergroup/style/metergroupstyle.mjs.map +1 -0
- package/metergroup/style/package.json +6 -0
- package/multiselect/BaseMultiSelect.vue +187 -0
- package/multiselect/MultiSelect.d.ts +898 -0
- package/multiselect/MultiSelect.vue +1131 -0
- package/multiselect/multiselect.mjs +1529 -0
- package/multiselect/multiselect.mjs.map +1 -0
- package/multiselect/package.json +11 -0
- package/multiselect/style/MultiSelectStyle.d.ts +87 -0
- package/multiselect/style/multiselectstyle.mjs +74 -0
- package/multiselect/style/multiselectstyle.mjs.map +1 -0
- package/multiselect/style/package.json +6 -0
- package/orderlist/BaseOrderList.vue +100 -0
- package/orderlist/OrderList.d.ts +404 -0
- package/orderlist/OrderList.vue +323 -0
- package/orderlist/orderlist.mjs +453 -0
- package/orderlist/orderlist.mjs.map +1 -0
- package/orderlist/package.json +11 -0
- package/orderlist/style/OrderListStyle.d.ts +23 -0
- package/orderlist/style/orderliststyle.mjs +18 -0
- package/orderlist/style/orderliststyle.mjs.map +1 -0
- package/orderlist/style/package.json +6 -0
- package/organizationchart/BaseOrganizationChart.vue +38 -0
- package/organizationchart/OrganizationChart.d.ts +376 -0
- package/organizationchart/OrganizationChart.vue +78 -0
- package/organizationchart/OrganizationChartNode.vue +165 -0
- package/organizationchart/organizationchart.mjs +316 -0
- package/organizationchart/organizationchart.mjs.map +1 -0
- package/organizationchart/package.json +11 -0
- package/organizationchart/style/OrganizationChartStyle.d.ts +55 -0
- package/organizationchart/style/organizationchartstyle.mjs +43 -0
- package/organizationchart/style/organizationchartstyle.mjs.map +1 -0
- package/organizationchart/style/package.json +6 -0
- package/overlaybadge/BaseOverlayBadge.vue +16 -0
- package/overlaybadge/OverlayBadge.d.ts +152 -0
- package/overlaybadge/OverlayBadge.vue +16 -0
- package/overlaybadge/overlaybadge.mjs +35 -0
- package/overlaybadge/overlaybadge.mjs.map +1 -0
- package/overlaybadge/package.json +11 -0
- package/overlaybadge/style/OverlayBadgeStyle.d.ts +19 -0
- package/overlaybadge/style/overlaybadgestyle.mjs +17 -0
- package/overlaybadge/style/overlaybadgestyle.mjs.map +1 -0
- package/overlaybadge/style/package.json +6 -0
- package/overlayeventbus/overlayeventbus.mjs +6 -0
- package/overlayeventbus/overlayeventbus.mjs.map +1 -0
- package/overlayeventbus/package.json +4 -0
- package/overlaypanel/OverlayPanel.d.ts +110 -0
- package/overlaypanel/OverlayPanel.vue +11 -0
- package/overlaypanel/overlaypanel.mjs +12 -0
- package/overlaypanel/overlaypanel.mjs.map +1 -0
- package/overlaypanel/package.json +11 -0
- package/overlaypanel/style/OverlayPanelStyle.d.ts +12 -0
- package/overlaypanel/style/overlaypanelstyle.mjs +8 -0
- package/overlaypanel/style/overlaypanelstyle.mjs.map +1 -0
- package/overlaypanel/style/package.json +6 -0
- package/package.json +52 -0
- package/paginator/BasePaginator.vue +50 -0
- package/paginator/CurrentPageReport.vue +56 -0
- package/paginator/FirstPageLink.vue +38 -0
- package/paginator/JumpToPageDropdown.vue +55 -0
- package/paginator/JumpToPageInput.vue +47 -0
- package/paginator/LastPageLink.vue +38 -0
- package/paginator/NextPageLink.vue +38 -0
- package/paginator/PageLinks.vue +56 -0
- package/paginator/Paginator.d.ts +460 -0
- package/paginator/Paginator.vue +343 -0
- package/paginator/PrevPageLink.vue +38 -0
- package/paginator/RowsPerPageDropdown.vue +57 -0
- package/paginator/package.json +11 -0
- package/paginator/paginator.mjs +873 -0
- package/paginator/paginator.mjs.map +1 -0
- package/paginator/style/PaginatorStyle.d.ts +83 -0
- package/paginator/style/package.json +6 -0
- package/paginator/style/paginatorstyle.mjs +69 -0
- package/paginator/style/paginatorstyle.mjs.map +1 -0
- package/panel/BasePanel.vue +31 -0
- package/panel/Panel.d.ts +281 -0
- package/panel/Panel.vue +104 -0
- package/panel/package.json +11 -0
- package/panel/panel.mjs +155 -0
- package/panel/panel.mjs.map +1 -0
- package/panel/style/PanelStyle.d.ts +47 -0
- package/panel/style/package.json +6 -0
- package/panel/style/panelstyle.mjs +29 -0
- package/panel/style/panelstyle.mjs.map +1 -0
- package/panelmenu/BasePanelMenu.vue +34 -0
- package/panelmenu/PanelMenu.d.ts +414 -0
- package/panelmenu/PanelMenu.vue +274 -0
- package/panelmenu/PanelMenuList.vue +399 -0
- package/panelmenu/PanelMenuSub.vue +211 -0
- package/panelmenu/package.json +11 -0
- package/panelmenu/panelmenu.mjs +1055 -0
- package/panelmenu/panelmenu.mjs.map +1 -0
- package/panelmenu/style/PanelMenuStyle.d.ts +84 -0
- package/panelmenu/style/package.json +6 -0
- package/panelmenu/style/panelmenustyle.mjs +48 -0
- package/panelmenu/style/panelmenustyle.mjs.map +1 -0
- package/passthrough/index.d.ts +8 -0
- package/passthrough/index.mjs +26 -0
- package/passthrough/index.mjs.map +1 -0
- package/passthrough/package.json +5 -0
- package/password/BasePassword.vue +147 -0
- package/password/Password.d.ts +425 -0
- package/password/Password.vue +328 -0
- package/password/package.json +11 -0
- package/password/password.mjs +499 -0
- package/password/password.mjs.map +1 -0
- package/password/style/PasswordStyle.d.ts +47 -0
- package/password/style/package.json +6 -0
- package/password/style/passwordstyle.mjs +44 -0
- package/password/style/passwordstyle.mjs.map +1 -0
- package/picklist/BasePickList.vue +116 -0
- package/picklist/PickList.d.ts +635 -0
- package/picklist/PickList.vue +654 -0
- package/picklist/package.json +11 -0
- package/picklist/picklist.mjs +905 -0
- package/picklist/picklist.mjs.map +1 -0
- package/picklist/style/PickListStyle.d.ts +39 -0
- package/picklist/style/package.json +6 -0
- package/picklist/style/pickliststyle.mjs +22 -0
- package/picklist/style/pickliststyle.mjs.map +1 -0
- package/popover/BasePopover.vue +42 -0
- package/popover/Popover.d.ts +257 -0
- package/popover/Popover.vue +314 -0
- package/popover/package.json +11 -0
- package/popover/popover.mjs +369 -0
- package/popover/popover.mjs.map +1 -0
- package/popover/style/PopoverStyle.d.ts +23 -0
- package/popover/style/package.json +6 -0
- package/popover/style/popoverstyle.mjs +18 -0
- package/popover/style/popoverstyle.mjs.map +1 -0
- package/portal/Portal.d.ts +39 -0
- package/portal/Portal.vue +41 -0
- package/portal/package.json +11 -0
- package/portal/portal.mjs +43 -0
- package/portal/portal.mjs.map +1 -0
- package/portal/style/PortalStyle.d.ts +12 -0
- package/portal/style/package.json +6 -0
- package/portal/style/portalstyle.mjs +8 -0
- package/portal/style/portalstyle.mjs.map +1 -0
- package/progressbar/BaseProgressBar.vue +30 -0
- package/progressbar/ProgressBar.d.ts +146 -0
- package/progressbar/ProgressBar.vue +34 -0
- package/progressbar/package.json +11 -0
- package/progressbar/progressbar.mjs +77 -0
- package/progressbar/progressbar.mjs.map +1 -0
- package/progressbar/style/ProgressBarStyle.d.ts +27 -0
- package/progressbar/style/package.json +6 -0
- package/progressbar/style/progressbarstyle.mjs +25 -0
- package/progressbar/style/progressbarstyle.mjs.map +1 -0
- package/progressspinner/BaseProgressSpinner.vue +30 -0
- package/progressspinner/ProgressSpinner.d.ts +144 -0
- package/progressspinner/ProgressSpinner.vue +24 -0
- package/progressspinner/package.json +11 -0
- package/progressspinner/progressspinner.mjs +67 -0
- package/progressspinner/progressspinner.mjs.map +1 -0
- package/progressspinner/style/ProgressSpinnerStyle.d.ts +27 -0
- package/progressspinner/style/package.json +6 -0
- package/progressspinner/style/progressspinnerstyle.mjs +19 -0
- package/progressspinner/style/progressspinnerstyle.mjs.map +1 -0
- package/radiobutton/BaseRadioButton.vue +65 -0
- package/radiobutton/RadioButton.d.ts +244 -0
- package/radiobutton/RadioButton.vue +69 -0
- package/radiobutton/package.json +11 -0
- package/radiobutton/radiobutton.mjs +144 -0
- package/radiobutton/radiobutton.mjs.map +1 -0
- package/radiobutton/style/RadioButtonStyle.d.ts +31 -0
- package/radiobutton/style/package.json +6 -0
- package/radiobutton/style/radiobuttonstyle.mjs +29 -0
- package/radiobutton/style/radiobuttonstyle.mjs.map +1 -0
- package/rating/BaseRating.vue +42 -0
- package/rating/Rating.d.ts +277 -0
- package/rating/Rating.vue +111 -0
- package/rating/package.json +11 -0
- package/rating/rating.mjs +189 -0
- package/rating/rating.mjs.map +1 -0
- package/rating/style/RatingStyle.d.ts +31 -0
- package/rating/style/package.json +6 -0
- package/rating/style/ratingstyle.mjs +34 -0
- package/rating/style/ratingstyle.mjs.map +1 -0
- package/ripple/Ripple.d.ts +87 -0
- package/ripple/package.json +5 -0
- package/ripple/ripple.mjs +111 -0
- package/ripple/ripple.mjs.map +1 -0
- package/ripple/style/RippleStyle.d.ts +19 -0
- package/ripple/style/package.json +6 -0
- package/ripple/style/ripplestyle.mjs +17 -0
- package/ripple/style/ripplestyle.mjs.map +1 -0
- package/row/Row.d.ts +126 -0
- package/row/Row.vue +18 -0
- package/row/package.json +11 -0
- package/row/row.mjs +21 -0
- package/row/row.mjs.map +1 -0
- package/row/style/RowStyle.d.ts +14 -0
- package/row/style/package.json +6 -0
- package/row/style/rowstyle.mjs +8 -0
- package/row/style/rowstyle.mjs.map +1 -0
- package/scrollpanel/BaseScrollPanel.vue +22 -0
- package/scrollpanel/ScrollPanel.d.ts +175 -0
- package/scrollpanel/ScrollPanel.vue +382 -0
- package/scrollpanel/package.json +11 -0
- package/scrollpanel/scrollpanel.mjs +406 -0
- package/scrollpanel/scrollpanel.mjs.map +1 -0
- package/scrollpanel/style/ScrollPanelStyle.d.ts +35 -0
- package/scrollpanel/style/package.json +6 -0
- package/scrollpanel/style/scrollpanelstyle.mjs +21 -0
- package/scrollpanel/style/scrollpanelstyle.mjs.map +1 -0
- package/scrolltop/BaseScrollTop.vue +40 -0
- package/scrolltop/ScrollTop.d.ts +195 -0
- package/scrolltop/ScrollTop.vue +109 -0
- package/scrolltop/package.json +11 -0
- package/scrolltop/scrolltop.mjs +169 -0
- package/scrolltop/scrolltop.mjs.map +1 -0
- package/scrolltop/style/ScrollTopStyle.d.ts +23 -0
- package/scrolltop/style/package.json +6 -0
- package/scrolltop/style/scrolltopstyle.mjs +23 -0
- package/scrolltop/style/scrolltopstyle.mjs.map +1 -0
- package/select/BaseSelect.vue +194 -0
- package/select/Select.d.ts +803 -0
- package/select/Select.vue +1011 -0
- package/select/package.json +11 -0
- package/select/select.mjs +1360 -0
- package/select/select.mjs.map +1 -0
- package/select/style/SelectStyle.d.ts +87 -0
- package/select/style/package.json +6 -0
- package/select/style/selectstyle.mjs +65 -0
- package/select/style/selectstyle.mjs.map +1 -0
- package/selectbutton/BaseSelectButton.vue +38 -0
- package/selectbutton/SelectButton.d.ts +264 -0
- package/selectbutton/SelectButton.vue +113 -0
- package/selectbutton/package.json +11 -0
- package/selectbutton/selectbutton.mjs +182 -0
- package/selectbutton/selectbutton.mjs.map +1 -0
- package/selectbutton/style/SelectButtonStyle.d.ts +19 -0
- package/selectbutton/style/package.json +6 -0
- package/selectbutton/style/selectbuttonstyle.mjs +22 -0
- package/selectbutton/style/selectbuttonstyle.mjs.map +1 -0
- package/sidebar/Sidebar.d.ts +79 -0
- package/sidebar/Sidebar.vue +11 -0
- package/sidebar/package.json +11 -0
- package/sidebar/sidebar.mjs +12 -0
- package/sidebar/sidebar.mjs.map +1 -0
- package/sidebar/style/SidebarStyle.d.ts +14 -0
- package/sidebar/style/package.json +6 -0
- package/sidebar/style/sidebarstyle.mjs +8 -0
- package/sidebar/style/sidebarstyle.mjs.map +1 -0
- package/skeleton/BaseSkeleton.vue +42 -0
- package/skeleton/Skeleton.d.ts +150 -0
- package/skeleton/Skeleton.vue +19 -0
- package/skeleton/package.json +11 -0
- package/skeleton/skeleton.mjs +73 -0
- package/skeleton/skeleton.mjs.map +1 -0
- package/skeleton/style/SkeletonStyle.d.ts +19 -0
- package/skeleton/style/package.json +6 -0
- package/skeleton/style/skeletonstyle.mjs +29 -0
- package/skeleton/style/skeletonstyle.mjs.map +1 -0
- package/slider/BaseSlider.vue +55 -0
- package/slider/Slider.d.ts +215 -0
- package/slider/Slider.vue +333 -0
- package/slider/package.json +11 -0
- package/slider/slider.mjs +407 -0
- package/slider/slider.mjs.map +1 -0
- package/slider/style/SliderStyle.d.ts +27 -0
- package/slider/style/package.json +6 -0
- package/slider/style/sliderstyle.mjs +35 -0
- package/slider/style/sliderstyle.mjs.map +1 -0
- package/speeddial/BaseSpeedDial.vue +89 -0
- package/speeddial/SpeedDial.d.ts +412 -0
- package/speeddial/SpeedDial.vue +470 -0
- package/speeddial/package.json +11 -0
- package/speeddial/speeddial.mjs +622 -0
- package/speeddial/speeddial.mjs.map +1 -0
- package/speeddial/style/SpeedDialStyle.d.ts +43 -0
- package/speeddial/style/package.json +6 -0
- package/speeddial/style/speeddialstyle.mjs +60 -0
- package/speeddial/style/speeddialstyle.mjs.map +1 -0
- package/splitbutton/BaseSplitButton.vue +98 -0
- package/splitbutton/SplitButton.d.ts +342 -0
- package/splitbutton/SplitButton.vue +127 -0
- package/splitbutton/package.json +11 -0
- package/splitbutton/splitbutton.mjs +272 -0
- package/splitbutton/splitbutton.mjs.map +1 -0
- package/splitbutton/style/SplitButtonStyle.d.ts +27 -0
- package/splitbutton/style/package.json +6 -0
- package/splitbutton/style/splitbuttonstyle.mjs +25 -0
- package/splitbutton/style/splitbuttonstyle.mjs.map +1 -0
- package/splitter/BaseSplitter.vue +38 -0
- package/splitter/Splitter.d.ts +249 -0
- package/splitter/Splitter.vue +385 -0
- package/splitter/package.json +11 -0
- package/splitter/splitter.mjs +444 -0
- package/splitter/splitter.mjs.map +1 -0
- package/splitter/style/SplitterStyle.d.ts +27 -0
- package/splitter/style/package.json +6 -0
- package/splitter/style/splitterstyle.mjs +34 -0
- package/splitter/style/splitterstyle.mjs.map +1 -0
- package/splitterpanel/BaseSplitterPanel.vue +26 -0
- package/splitterpanel/SplitterPanel.d.ts +147 -0
- package/splitterpanel/SplitterPanel.vue +36 -0
- package/splitterpanel/package.json +11 -0
- package/splitterpanel/splitterpanel.mjs +64 -0
- package/splitterpanel/splitterpanel.mjs.map +1 -0
- package/splitterpanel/style/SplitterPanelStyle.d.ts +19 -0
- package/splitterpanel/style/package.json +6 -0
- package/splitterpanel/style/splitterpanelstyle.mjs +17 -0
- package/splitterpanel/style/splitterpanelstyle.mjs.map +1 -0
- package/step/BaseStep.vue +34 -0
- package/step/Step.d.ts +187 -0
- package/step/Step.vue +98 -0
- package/step/package.json +11 -0
- package/step/step.mjs +182 -0
- package/step/step.mjs.map +1 -0
- package/step/style/StepStyle.d.ts +31 -0
- package/step/style/package.json +6 -0
- package/step/style/stepstyle.mjs +22 -0
- package/step/style/stepstyle.mjs.map +1 -0
- package/stepitem/BaseStepItem.vue +22 -0
- package/stepitem/StepItem.d.ts +121 -0
- package/stepitem/StepItem.vue +21 -0
- package/stepitem/package.json +11 -0
- package/stepitem/stepitem.mjs +47 -0
- package/stepitem/stepitem.mjs.map +1 -0
- package/stepitem/style/StepItemStyle.d.ts +19 -0
- package/stepitem/style/package.json +6 -0
- package/stepitem/style/stepitemstyle.mjs +17 -0
- package/stepitem/style/stepitemstyle.mjs.map +1 -0
- package/steplist/BaseStepList.vue +22 -0
- package/steplist/StepList.d.ts +121 -0
- package/steplist/StepList.vue +15 -0
- package/steplist/package.json +11 -0
- package/steplist/steplist.mjs +38 -0
- package/steplist/steplist.mjs.map +1 -0
- package/steplist/style/StepListStyle.d.ts +19 -0
- package/steplist/style/package.json +6 -0
- package/steplist/style/stepliststyle.mjs +12 -0
- package/steplist/style/stepliststyle.mjs.map +1 -0
- package/steppanel/BaseStepPanel.vue +30 -0
- package/steppanel/StepPanel.d.ts +148 -0
- package/steppanel/StepPanel.vue +99 -0
- package/steppanel/package.json +11 -0
- package/steppanel/steppanel.mjs +195 -0
- package/steppanel/steppanel.mjs.map +1 -0
- package/steppanel/style/StepPanelStyle.d.ts +19 -0
- package/steppanel/style/package.json +6 -0
- package/steppanel/style/steppanelstyle.mjs +18 -0
- package/steppanel/style/steppanelstyle.mjs.map +1 -0
- package/steppanels/BaseStepPanels.vue +22 -0
- package/steppanels/StepPanels.d.ts +121 -0
- package/steppanels/StepPanels.vue +15 -0
- package/steppanels/package.json +11 -0
- package/steppanels/steppanels.mjs +38 -0
- package/steppanels/steppanels.mjs.map +1 -0
- package/steppanels/style/StepPanelsStyle.d.ts +19 -0
- package/steppanels/style/package.json +6 -0
- package/steppanels/style/steppanelsstyle.mjs +12 -0
- package/steppanels/style/steppanelsstyle.mjs.map +1 -0
- package/stepper/BaseStepper.vue +26 -0
- package/stepper/Stepper.d.ts +170 -0
- package/stepper/Stepper.vue +50 -0
- package/stepper/StepperSeparator.vue +13 -0
- package/stepper/package.json +11 -0
- package/stepper/stepper.mjs +80 -0
- package/stepper/stepper.mjs.map +1 -0
- package/stepper/style/StepperStyle.d.ts +23 -0
- package/stepper/style/package.json +6 -0
- package/stepper/style/stepperstyle.mjs +23 -0
- package/stepper/style/stepperstyle.mjs.map +1 -0
- package/stepperpanel/BaseStepperPanel.vue +19 -0
- package/stepperpanel/StepperPanel.d.ts +290 -0
- package/stepperpanel/StepperPanel.vue +15 -0
- package/stepperpanel/package.json +11 -0
- package/stepperpanel/stepperpanel.mjs +35 -0
- package/stepperpanel/stepperpanel.mjs.map +1 -0
- package/stepperpanel/style/StepperPanelStyle.d.ts +14 -0
- package/stepperpanel/style/package.json +6 -0
- package/stepperpanel/style/stepperpanelstyle.mjs +8 -0
- package/stepperpanel/style/stepperpanelstyle.mjs.map +1 -0
- package/steps/BaseSteps.vue +33 -0
- package/steps/Steps.d.ts +235 -0
- package/steps/Steps.vue +218 -0
- package/steps/package.json +11 -0
- package/steps/steps.mjs +253 -0
- package/steps/steps.mjs.map +1 -0
- package/steps/style/StepsStyle.d.ts +39 -0
- package/steps/style/package.json +6 -0
- package/steps/style/stepsstyle.mjs +35 -0
- package/steps/style/stepsstyle.mjs.map +1 -0
- package/styleclass/StyleClass.d.ts +105 -0
- package/styleclass/package.json +5 -0
- package/styleclass/style/StyleClassStyle.d.ts +14 -0
- package/styleclass/style/package.json +6 -0
- package/styleclass/style/styleclassstyle.mjs +8 -0
- package/styleclass/style/styleclassstyle.mjs.map +1 -0
- package/styleclass/styleclass.mjs +151 -0
- package/styleclass/styleclass.mjs.map +1 -0
- package/tab/BaseTab.vue +34 -0
- package/tab/Tab.d.ts +150 -0
- package/tab/Tab.vue +167 -0
- package/tab/package.json +11 -0
- package/tab/style/TabStyle.d.ts +19 -0
- package/tab/style/package.json +6 -0
- package/tab/style/tabstyle.mjs +19 -0
- package/tab/style/tabstyle.mjs.map +1 -0
- package/tab/tab.mjs +210 -0
- package/tab/tab.mjs.map +1 -0
- package/tablist/BaseTabList.vue +17 -0
- package/tablist/TabList.d.ts +144 -0
- package/tablist/TabList.vue +165 -0
- package/tablist/package.json +11 -0
- package/tablist/style/TabListStyle.d.ts +39 -0
- package/tablist/style/package.json +6 -0
- package/tablist/style/tabliststyle.mjs +22 -0
- package/tablist/style/tabliststyle.mjs.map +1 -0
- package/tablist/tablist.mjs +213 -0
- package/tablist/tablist.mjs.map +1 -0
- package/tabmenu/BaseTabMenu.vue +34 -0
- package/tabmenu/TabMenu.d.ts +278 -0
- package/tabmenu/TabMenu.vue +262 -0
- package/tabmenu/package.json +11 -0
- package/tabmenu/style/TabMenuStyle.d.ts +43 -0
- package/tabmenu/style/package.json +6 -0
- package/tabmenu/style/tabmenustyle.mjs +31 -0
- package/tabmenu/style/tabmenustyle.mjs.map +1 -0
- package/tabmenu/tabmenu.mjs +312 -0
- package/tabmenu/tabmenu.mjs.map +1 -0
- package/tabpanel/BaseTabPanel.vue +41 -0
- package/tabpanel/TabPanel.d.ts +236 -0
- package/tabpanel/TabPanel.vue +56 -0
- package/tabpanel/package.json +11 -0
- package/tabpanel/style/TabPanelStyle.d.ts +19 -0
- package/tabpanel/style/package.json +6 -0
- package/tabpanel/style/tabpanelstyle.mjs +17 -0
- package/tabpanel/style/tabpanelstyle.mjs.map +1 -0
- package/tabpanel/tabpanel.mjs +112 -0
- package/tabpanel/tabpanel.mjs.map +1 -0
- package/tabpanels/BaseTabPanels.vue +17 -0
- package/tabpanels/TabPanels.d.ts +128 -0
- package/tabpanels/TabPanels.vue +15 -0
- package/tabpanels/package.json +11 -0
- package/tabpanels/style/TabPanelsStyle.d.ts +19 -0
- package/tabpanels/style/package.json +6 -0
- package/tabpanels/style/tabpanelsstyle.mjs +12 -0
- package/tabpanels/style/tabpanelsstyle.mjs.map +1 -0
- package/tabpanels/tabpanels.mjs +34 -0
- package/tabpanels/tabpanels.mjs.map +1 -0
- package/tabs/BaseTabs.vue +42 -0
- package/tabs/Tabs.d.ts +189 -0
- package/tabs/Tabs.vue +45 -0
- package/tabs/package.json +11 -0
- package/tabs/style/TabsStyle.d.ts +19 -0
- package/tabs/style/package.json +6 -0
- package/tabs/style/tabsstyle.mjs +22 -0
- package/tabs/style/tabsstyle.mjs.map +1 -0
- package/tabs/tabs.mjs +88 -0
- package/tabs/tabs.mjs.map +1 -0
- package/tabview/BaseTabView.vue +55 -0
- package/tabview/TabView.d.ts +287 -0
- package/tabview/TabView.vue +376 -0
- package/tabview/package.json +11 -0
- package/tabview/style/TabViewStyle.d.ts +64 -0
- package/tabview/style/package.json +6 -0
- package/tabview/style/tabviewstyle.mjs +47 -0
- package/tabview/style/tabviewstyle.mjs.map +1 -0
- package/tabview/tabview.mjs +458 -0
- package/tabview/tabview.mjs.map +1 -0
- package/tag/BaseTag.vue +22 -0
- package/tag/Tag.d.ts +157 -0
- package/tag/Tag.vue +19 -0
- package/tag/package.json +11 -0
- package/tag/style/TagStyle.d.ts +27 -0
- package/tag/style/package.json +6 -0
- package/tag/style/tagstyle.mjs +30 -0
- package/tag/style/tagstyle.mjs.map +1 -0
- package/tag/tag.mjs +50 -0
- package/tag/tag.mjs.map +1 -0
- package/terminal/BaseTerminal.vue +26 -0
- package/terminal/Terminal.d.ts +180 -0
- package/terminal/Terminal.vue +58 -0
- package/terminal/package.json +11 -0
- package/terminal/style/TerminalStyle.d.ts +51 -0
- package/terminal/style/package.json +6 -0
- package/terminal/style/terminalstyle.mjs +25 -0
- package/terminal/style/terminalstyle.mjs.map +1 -0
- package/terminal/terminal.mjs +115 -0
- package/terminal/terminal.mjs.map +1 -0
- package/terminalservice/TerminalService.d.ts +30 -0
- package/terminalservice/package.json +5 -0
- package/terminalservice/terminalservice.mjs +6 -0
- package/terminalservice/terminalservice.mjs.map +1 -0
- package/textarea/BaseTextarea.vue +28 -0
- package/textarea/Textarea.d.ts +169 -0
- package/textarea/Textarea.vue +56 -0
- package/textarea/package.json +11 -0
- package/textarea/style/TextareaStyle.d.ts +19 -0
- package/textarea/style/package.json +6 -0
- package/textarea/style/textareastyle.mjs +26 -0
- package/textarea/style/textareastyle.mjs.map +1 -0
- package/textarea/textarea.mjs +91 -0
- package/textarea/textarea.mjs.map +1 -0
- package/tieredmenu/BaseTieredMenu.vue +54 -0
- package/tieredmenu/TieredMenu.d.ts +419 -0
- package/tieredmenu/TieredMenu.vue +632 -0
- package/tieredmenu/TieredMenuSub.vue +225 -0
- package/tieredmenu/package.json +11 -0
- package/tieredmenu/style/TieredMenuStyle.d.ts +63 -0
- package/tieredmenu/style/package.json +6 -0
- package/tieredmenu/style/tieredmenustyle.mjs +52 -0
- package/tieredmenu/style/tieredmenustyle.mjs.map +1 -0
- package/tieredmenu/tieredmenu.mjs +1027 -0
- package/tieredmenu/tieredmenu.mjs.map +1 -0
- package/timeline/BaseTimeline.vue +28 -0
- package/timeline/Timeline.d.ts +235 -0
- package/timeline/Timeline.vue +44 -0
- package/timeline/package.json +11 -0
- package/timeline/style/TimelineStyle.d.ts +43 -0
- package/timeline/style/package.json +6 -0
- package/timeline/style/timelinestyle.mjs +26 -0
- package/timeline/style/timelinestyle.mjs.map +1 -0
- package/timeline/timeline.mjs +98 -0
- package/timeline/timeline.mjs.map +1 -0
- package/toast/BaseToast.vue +62 -0
- package/toast/Toast.d.ts +354 -0
- package/toast/Toast.vue +157 -0
- package/toast/ToastMessage.vue +120 -0
- package/toast/package.json +11 -0
- package/toast/style/ToastStyle.d.ts +51 -0
- package/toast/style/package.json +6 -0
- package/toast/style/toaststyle.mjs +60 -0
- package/toast/style/toaststyle.mjs.map +1 -0
- package/toast/toast.mjs +396 -0
- package/toast/toast.mjs.map +1 -0
- package/toasteventbus/package.json +4 -0
- package/toasteventbus/toasteventbus.mjs +6 -0
- package/toasteventbus/toasteventbus.mjs.map +1 -0
- package/toastservice/ToastService.d.ts +52 -0
- package/toastservice/package.json +5 -0
- package/toastservice/toastservice.mjs +26 -0
- package/toastservice/toastservice.mjs.map +1 -0
- package/togglebutton/BaseToggleButton.vue +57 -0
- package/togglebutton/ToggleButton.d.ts +250 -0
- package/togglebutton/ToggleButton.vue +57 -0
- package/togglebutton/package.json +11 -0
- package/togglebutton/style/ToggleButtonStyle.d.ts +27 -0
- package/togglebutton/style/package.json +6 -0
- package/togglebutton/style/togglebuttonstyle.mjs +27 -0
- package/togglebutton/style/togglebuttonstyle.mjs.map +1 -0
- package/togglebutton/togglebutton.mjs +133 -0
- package/togglebutton/togglebutton.mjs.map +1 -0
- package/toggleswitch/BaseToggleSwitch.vue +66 -0
- package/toggleswitch/ToggleSwitch.d.ts +222 -0
- package/toggleswitch/ToggleSwitch.vue +66 -0
- package/toggleswitch/package.json +11 -0
- package/toggleswitch/style/ToggleSwitchStyle.d.ts +27 -0
- package/toggleswitch/style/package.json +6 -0
- package/toggleswitch/style/toggleswitchstyle.mjs +33 -0
- package/toggleswitch/style/toggleswitchstyle.mjs.map +1 -0
- package/toggleswitch/toggleswitch.mjs +143 -0
- package/toggleswitch/toggleswitch.mjs.map +1 -0
- package/toolbar/BaseToolbar.vue +22 -0
- package/toolbar/Toolbar.d.ts +153 -0
- package/toolbar/Toolbar.vue +23 -0
- package/toolbar/package.json +11 -0
- package/toolbar/style/ToolbarStyle.d.ts +31 -0
- package/toolbar/style/package.json +6 -0
- package/toolbar/style/toolbarstyle.mjs +20 -0
- package/toolbar/style/toolbarstyle.mjs.map +1 -0
- package/toolbar/toolbar.mjs +47 -0
- package/toolbar/toolbar.mjs.map +1 -0
- package/tooltip/Tooltip.d.ts +214 -0
- package/tooltip/package.json +5 -0
- package/tooltip/style/TooltipStyle.d.ts +27 -0
- package/tooltip/style/package.json +6 -0
- package/tooltip/style/tooltipstyle.mjs +19 -0
- package/tooltip/style/tooltipstyle.mjs.map +1 -0
- package/tooltip/tooltip.mjs +418 -0
- package/tooltip/tooltip.mjs.map +1 -0
- package/tree/BaseTree.vue +90 -0
- package/tree/Tree.d.ts +525 -0
- package/tree/Tree.vue +257 -0
- package/tree/TreeNode.vue +460 -0
- package/tree/package.json +11 -0
- package/tree/style/TreeStyle.d.ts +71 -0
- package/tree/style/package.json +6 -0
- package/tree/style/treestyle.mjs +49 -0
- package/tree/style/treestyle.mjs.map +1 -0
- package/tree/tree.mjs +918 -0
- package/tree/tree.mjs.map +1 -0
- package/treenode/TreeNode.d.ts +71 -0
- package/treeselect/BaseTreeSelect.vue +96 -0
- package/treeselect/TreeSelect.d.ts +482 -0
- package/treeselect/TreeSelect.vue +515 -0
- package/treeselect/package.json +11 -0
- package/treeselect/style/TreeSelectStyle.d.ts +55 -0
- package/treeselect/style/package.json +6 -0
- package/treeselect/style/treeselectstyle.mjs +55 -0
- package/treeselect/style/treeselectstyle.mjs.map +1 -0
- package/treeselect/treeselect.mjs +745 -0
- package/treeselect/treeselect.mjs.map +1 -0
- package/treetable/BaseTreeTable.vue +182 -0
- package/treetable/BodyCell.vue +234 -0
- package/treetable/FooterCell.vue +104 -0
- package/treetable/HeaderCell.vue +242 -0
- package/treetable/TreeTable.d.ts +822 -0
- package/treetable/TreeTable.vue +877 -0
- package/treetable/TreeTableRow.vue +455 -0
- package/treetable/package.json +11 -0
- package/treetable/style/TreeTableStyle.d.ts +99 -0
- package/treetable/style/package.json +6 -0
- package/treetable/style/treetablestyle.mjs +109 -0
- package/treetable/style/treetablestyle.mjs.map +1 -0
- package/treetable/treetable.mjs +2272 -0
- package/treetable/treetable.mjs.map +1 -0
- package/ts-helpers.d.ts +43 -0
- package/umd/primevue.min.js +1 -0
- package/useconfirm/UseConfirm.d.ts +6 -0
- package/useconfirm/package.json +5 -0
- package/useconfirm/useconfirm.mjs +13 -0
- package/useconfirm/useconfirm.mjs.map +1 -0
- package/usedialog/UseDialog.d.ts +5 -0
- package/usedialog/package.json +5 -0
- package/usedialog/usedialog.mjs +13 -0
- package/usedialog/usedialog.mjs.map +1 -0
- package/usestyle/UseStyle.d.ts +1 -0
- package/usestyle/package.json +5 -0
- package/usestyle/usestyle.mjs +2 -0
- package/usestyle/usestyle.mjs.map +1 -0
- package/usetoast/UseToast.d.ts +3 -0
- package/usetoast/package.json +5 -0
- package/usetoast/usetoast.mjs +13 -0
- package/usetoast/usetoast.mjs.map +1 -0
- package/utils/Utils.d.ts +127 -0
- package/utils/package.json +5 -0
- package/utils/utils.mjs +1292 -0
- package/utils/utils.mjs.map +1 -0
- package/vetur-attributes.json +4778 -0
- package/vetur-tags.json +1643 -0
- package/virtualscroller/BaseVirtualScroller.vue +101 -0
- package/virtualscroller/VirtualScroller.d.ts +537 -0
- package/virtualscroller/VirtualScroller.vue +693 -0
- package/virtualscroller/package.json +11 -0
- package/virtualscroller/style/VirtualScrollerStyle.d.ts +35 -0
- package/virtualscroller/style/package.json +6 -0
- package/virtualscroller/style/virtualscrollerstyle.mjs +10 -0
- package/virtualscroller/style/virtualscrollerstyle.mjs.map +1 -0
- package/virtualscroller/virtualscroller.mjs +915 -0
- package/virtualscroller/virtualscroller.mjs.map +1 -0
- package/web-types.json +18296 -0
|
@@ -0,0 +1,915 @@
|
|
|
1
|
+
import { DomHandler } from '@primevuelab/core/utils';
|
|
2
|
+
import SpinnerIcon from '@primevuelab/icons/spinner';
|
|
3
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
4
|
+
import VirtualScrollerStyle from 'primevuelab/virtualscroller/style';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createElementVNode, Fragment, renderList, createCommentVNode, createVNode } from 'vue';
|
|
6
|
+
|
|
7
|
+
var script$1 = {
|
|
8
|
+
name: 'BaseVirtualScroller',
|
|
9
|
+
"extends": BaseComponent,
|
|
10
|
+
props: {
|
|
11
|
+
id: {
|
|
12
|
+
type: String,
|
|
13
|
+
"default": null
|
|
14
|
+
},
|
|
15
|
+
style: null,
|
|
16
|
+
"class": null,
|
|
17
|
+
items: {
|
|
18
|
+
type: Array,
|
|
19
|
+
"default": null
|
|
20
|
+
},
|
|
21
|
+
itemSize: {
|
|
22
|
+
type: [Number, Array],
|
|
23
|
+
"default": 0
|
|
24
|
+
},
|
|
25
|
+
scrollHeight: null,
|
|
26
|
+
scrollWidth: null,
|
|
27
|
+
orientation: {
|
|
28
|
+
type: String,
|
|
29
|
+
"default": 'vertical'
|
|
30
|
+
},
|
|
31
|
+
numToleratedItems: {
|
|
32
|
+
type: Number,
|
|
33
|
+
"default": null
|
|
34
|
+
},
|
|
35
|
+
delay: {
|
|
36
|
+
type: Number,
|
|
37
|
+
"default": 0
|
|
38
|
+
},
|
|
39
|
+
resizeDelay: {
|
|
40
|
+
type: Number,
|
|
41
|
+
"default": 10
|
|
42
|
+
},
|
|
43
|
+
lazy: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
"default": false
|
|
50
|
+
},
|
|
51
|
+
loaderDisabled: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
columns: {
|
|
56
|
+
type: Array,
|
|
57
|
+
"default": null
|
|
58
|
+
},
|
|
59
|
+
loading: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
"default": false
|
|
62
|
+
},
|
|
63
|
+
showSpacer: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
"default": true
|
|
66
|
+
},
|
|
67
|
+
showLoader: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
"default": false
|
|
70
|
+
},
|
|
71
|
+
tabindex: {
|
|
72
|
+
type: Number,
|
|
73
|
+
"default": 0
|
|
74
|
+
},
|
|
75
|
+
inline: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
"default": false
|
|
78
|
+
},
|
|
79
|
+
step: {
|
|
80
|
+
type: Number,
|
|
81
|
+
"default": 0
|
|
82
|
+
},
|
|
83
|
+
appendOnly: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
"default": false
|
|
86
|
+
},
|
|
87
|
+
autoSize: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
"default": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
style: VirtualScrollerStyle,
|
|
93
|
+
provide: function provide() {
|
|
94
|
+
return {
|
|
95
|
+
$pcVirtualScroller: this,
|
|
96
|
+
$parentInstance: this
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
beforeMount: function beforeMount() {
|
|
100
|
+
var _this$$config;
|
|
101
|
+
VirtualScrollerStyle.loadCSS({
|
|
102
|
+
nonce: (_this$$config = this.$config) === null || _this$$config === void 0 || (_this$$config = _this$$config.csp) === null || _this$$config === void 0 ? void 0 : _this$$config.nonce
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
108
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
109
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
110
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
111
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
112
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
113
|
+
var script = {
|
|
114
|
+
name: 'VirtualScroller',
|
|
115
|
+
"extends": script$1,
|
|
116
|
+
inheritAttrs: false,
|
|
117
|
+
emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
|
|
118
|
+
data: function data() {
|
|
119
|
+
var both = this.isBoth();
|
|
120
|
+
return {
|
|
121
|
+
first: both ? {
|
|
122
|
+
rows: 0,
|
|
123
|
+
cols: 0
|
|
124
|
+
} : 0,
|
|
125
|
+
last: both ? {
|
|
126
|
+
rows: 0,
|
|
127
|
+
cols: 0
|
|
128
|
+
} : 0,
|
|
129
|
+
page: both ? {
|
|
130
|
+
rows: 0,
|
|
131
|
+
cols: 0
|
|
132
|
+
} : 0,
|
|
133
|
+
numItemsInViewport: both ? {
|
|
134
|
+
rows: 0,
|
|
135
|
+
cols: 0
|
|
136
|
+
} : 0,
|
|
137
|
+
lastScrollPos: both ? {
|
|
138
|
+
top: 0,
|
|
139
|
+
left: 0
|
|
140
|
+
} : 0,
|
|
141
|
+
d_numToleratedItems: this.numToleratedItems,
|
|
142
|
+
d_loading: this.loading,
|
|
143
|
+
loaderArr: [],
|
|
144
|
+
spacerStyle: {},
|
|
145
|
+
contentStyle: {}
|
|
146
|
+
};
|
|
147
|
+
},
|
|
148
|
+
element: null,
|
|
149
|
+
content: null,
|
|
150
|
+
lastScrollPos: null,
|
|
151
|
+
scrollTimeout: null,
|
|
152
|
+
resizeTimeout: null,
|
|
153
|
+
defaultWidth: 0,
|
|
154
|
+
defaultHeight: 0,
|
|
155
|
+
defaultContentWidth: 0,
|
|
156
|
+
defaultContentHeight: 0,
|
|
157
|
+
isRangeChanged: false,
|
|
158
|
+
lazyLoadState: {},
|
|
159
|
+
resizeListener: null,
|
|
160
|
+
initialized: false,
|
|
161
|
+
watch: {
|
|
162
|
+
numToleratedItems: function numToleratedItems(newValue) {
|
|
163
|
+
this.d_numToleratedItems = newValue;
|
|
164
|
+
},
|
|
165
|
+
loading: function loading(newValue, oldValue) {
|
|
166
|
+
if (this.lazy && newValue !== oldValue && newValue !== this.d_loading) {
|
|
167
|
+
this.d_loading = newValue;
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
items: function items(newValue, oldValue) {
|
|
171
|
+
if (!oldValue || oldValue.length !== (newValue || []).length) {
|
|
172
|
+
this.init();
|
|
173
|
+
this.calculateAutoSize();
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
itemSize: function itemSize() {
|
|
177
|
+
this.init();
|
|
178
|
+
this.calculateAutoSize();
|
|
179
|
+
},
|
|
180
|
+
orientation: function orientation() {
|
|
181
|
+
this.lastScrollPos = this.isBoth() ? {
|
|
182
|
+
top: 0,
|
|
183
|
+
left: 0
|
|
184
|
+
} : 0;
|
|
185
|
+
},
|
|
186
|
+
scrollHeight: function scrollHeight() {
|
|
187
|
+
this.init();
|
|
188
|
+
this.calculateAutoSize();
|
|
189
|
+
},
|
|
190
|
+
scrollWidth: function scrollWidth() {
|
|
191
|
+
this.init();
|
|
192
|
+
this.calculateAutoSize();
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
mounted: function mounted() {
|
|
196
|
+
this.viewInit();
|
|
197
|
+
this.lastScrollPos = this.isBoth() ? {
|
|
198
|
+
top: 0,
|
|
199
|
+
left: 0
|
|
200
|
+
} : 0;
|
|
201
|
+
this.lazyLoadState = this.lazyLoadState || {};
|
|
202
|
+
},
|
|
203
|
+
updated: function updated() {
|
|
204
|
+
!this.initialized && this.viewInit();
|
|
205
|
+
},
|
|
206
|
+
unmounted: function unmounted() {
|
|
207
|
+
this.unbindResizeListener();
|
|
208
|
+
this.initialized = false;
|
|
209
|
+
},
|
|
210
|
+
methods: {
|
|
211
|
+
viewInit: function viewInit() {
|
|
212
|
+
if (DomHandler.isVisible(this.element)) {
|
|
213
|
+
this.setContentEl(this.content);
|
|
214
|
+
this.init();
|
|
215
|
+
this.calculateAutoSize();
|
|
216
|
+
this.bindResizeListener();
|
|
217
|
+
this.defaultWidth = DomHandler.getWidth(this.element);
|
|
218
|
+
this.defaultHeight = DomHandler.getHeight(this.element);
|
|
219
|
+
this.defaultContentWidth = DomHandler.getWidth(this.content);
|
|
220
|
+
this.defaultContentHeight = DomHandler.getHeight(this.content);
|
|
221
|
+
this.initialized = true;
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
init: function init() {
|
|
225
|
+
if (!this.disabled) {
|
|
226
|
+
this.setSize();
|
|
227
|
+
this.calculateOptions();
|
|
228
|
+
this.setSpacerSize();
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
isVertical: function isVertical() {
|
|
232
|
+
return this.orientation === 'vertical';
|
|
233
|
+
},
|
|
234
|
+
isHorizontal: function isHorizontal() {
|
|
235
|
+
return this.orientation === 'horizontal';
|
|
236
|
+
},
|
|
237
|
+
isBoth: function isBoth() {
|
|
238
|
+
return this.orientation === 'both';
|
|
239
|
+
},
|
|
240
|
+
scrollTo: function scrollTo(options) {
|
|
241
|
+
//this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
|
|
242
|
+
this.element && this.element.scrollTo(options);
|
|
243
|
+
},
|
|
244
|
+
scrollToIndex: function scrollToIndex(index) {
|
|
245
|
+
var _this = this;
|
|
246
|
+
var behavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto';
|
|
247
|
+
var both = this.isBoth();
|
|
248
|
+
var horizontal = this.isHorizontal();
|
|
249
|
+
var valid = both ? index.every(function (i) {
|
|
250
|
+
return i > -1;
|
|
251
|
+
}) : index > -1;
|
|
252
|
+
if (valid) {
|
|
253
|
+
var first = this.first;
|
|
254
|
+
var _this$element = this.element,
|
|
255
|
+
_this$element$scrollT = _this$element.scrollTop,
|
|
256
|
+
scrollTop = _this$element$scrollT === void 0 ? 0 : _this$element$scrollT,
|
|
257
|
+
_this$element$scrollL = _this$element.scrollLeft,
|
|
258
|
+
scrollLeft = _this$element$scrollL === void 0 ? 0 : _this$element$scrollL;
|
|
259
|
+
var _this$calculateNumIte = this.calculateNumItems(),
|
|
260
|
+
numToleratedItems = _this$calculateNumIte.numToleratedItems;
|
|
261
|
+
var contentPos = this.getContentPosition();
|
|
262
|
+
var itemSize = this.itemSize;
|
|
263
|
+
var calculateFirst = function calculateFirst() {
|
|
264
|
+
var _index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
265
|
+
var _numT = arguments.length > 1 ? arguments[1] : undefined;
|
|
266
|
+
return _index <= _numT ? 0 : _index;
|
|
267
|
+
};
|
|
268
|
+
var calculateCoord = function calculateCoord(_first, _size, _cpos) {
|
|
269
|
+
return _first * _size + _cpos;
|
|
270
|
+
};
|
|
271
|
+
var scrollTo = function scrollTo() {
|
|
272
|
+
var left = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
273
|
+
var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
274
|
+
return _this.scrollTo({
|
|
275
|
+
left: left,
|
|
276
|
+
top: top,
|
|
277
|
+
behavior: behavior
|
|
278
|
+
});
|
|
279
|
+
};
|
|
280
|
+
var newFirst = both ? {
|
|
281
|
+
rows: 0,
|
|
282
|
+
cols: 0
|
|
283
|
+
} : 0;
|
|
284
|
+
var isRangeChanged = false,
|
|
285
|
+
isScrollChanged = false;
|
|
286
|
+
if (both) {
|
|
287
|
+
newFirst = {
|
|
288
|
+
rows: calculateFirst(index[0], numToleratedItems[0]),
|
|
289
|
+
cols: calculateFirst(index[1], numToleratedItems[1])
|
|
290
|
+
};
|
|
291
|
+
scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
|
|
292
|
+
isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;
|
|
293
|
+
isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;
|
|
294
|
+
} else {
|
|
295
|
+
newFirst = calculateFirst(index, numToleratedItems);
|
|
296
|
+
horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), scrollTop) : scrollTo(scrollLeft, calculateCoord(newFirst, itemSize, contentPos.top));
|
|
297
|
+
isScrollChanged = this.lastScrollPos !== (horizontal ? scrollLeft : scrollTop);
|
|
298
|
+
isRangeChanged = newFirst !== first;
|
|
299
|
+
}
|
|
300
|
+
this.isRangeChanged = isRangeChanged;
|
|
301
|
+
isScrollChanged && (this.first = newFirst);
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
scrollInView: function scrollInView(index, to) {
|
|
305
|
+
var _this2 = this;
|
|
306
|
+
var behavior = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'auto';
|
|
307
|
+
if (to) {
|
|
308
|
+
var both = this.isBoth();
|
|
309
|
+
var horizontal = this.isHorizontal();
|
|
310
|
+
var valid = both ? index.every(function (i) {
|
|
311
|
+
return i > -1;
|
|
312
|
+
}) : index > -1;
|
|
313
|
+
if (valid) {
|
|
314
|
+
var _this$getRenderedRang = this.getRenderedRange(),
|
|
315
|
+
first = _this$getRenderedRang.first,
|
|
316
|
+
viewport = _this$getRenderedRang.viewport;
|
|
317
|
+
var scrollTo = function scrollTo() {
|
|
318
|
+
var left = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
319
|
+
var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
320
|
+
return _this2.scrollTo({
|
|
321
|
+
left: left,
|
|
322
|
+
top: top,
|
|
323
|
+
behavior: behavior
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
var isToStart = to === 'to-start';
|
|
327
|
+
var isToEnd = to === 'to-end';
|
|
328
|
+
if (isToStart) {
|
|
329
|
+
if (both) {
|
|
330
|
+
if (viewport.first.rows - first.rows > index[0]) {
|
|
331
|
+
scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows - 1) * this.itemSize[0]);
|
|
332
|
+
} else if (viewport.first.cols - first.cols > index[1]) {
|
|
333
|
+
scrollTo((viewport.first.cols - 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
|
|
334
|
+
}
|
|
335
|
+
} else {
|
|
336
|
+
if (viewport.first - first > index) {
|
|
337
|
+
var pos = (viewport.first - 1) * this.itemSize;
|
|
338
|
+
horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
} else if (isToEnd) {
|
|
342
|
+
if (both) {
|
|
343
|
+
if (viewport.last.rows - first.rows <= index[0] + 1) {
|
|
344
|
+
scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows + 1) * this.itemSize[0]);
|
|
345
|
+
} else if (viewport.last.cols - first.cols <= index[1] + 1) {
|
|
346
|
+
scrollTo((viewport.first.cols + 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
|
|
347
|
+
}
|
|
348
|
+
} else {
|
|
349
|
+
if (viewport.last - first <= index + 1) {
|
|
350
|
+
var _pos2 = (viewport.first + 1) * this.itemSize;
|
|
351
|
+
horizontal ? scrollTo(_pos2, 0) : scrollTo(0, _pos2);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
} else {
|
|
357
|
+
this.scrollToIndex(index, behavior);
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
getRenderedRange: function getRenderedRange() {
|
|
361
|
+
var calculateFirstInViewport = function calculateFirstInViewport(_pos, _size) {
|
|
362
|
+
return Math.floor(_pos / (_size || _pos));
|
|
363
|
+
};
|
|
364
|
+
var firstInViewport = this.first;
|
|
365
|
+
var lastInViewport = 0;
|
|
366
|
+
if (this.element) {
|
|
367
|
+
var both = this.isBoth();
|
|
368
|
+
var horizontal = this.isHorizontal();
|
|
369
|
+
var _this$element2 = this.element,
|
|
370
|
+
scrollTop = _this$element2.scrollTop,
|
|
371
|
+
scrollLeft = _this$element2.scrollLeft;
|
|
372
|
+
if (both) {
|
|
373
|
+
firstInViewport = {
|
|
374
|
+
rows: calculateFirstInViewport(scrollTop, this.itemSize[0]),
|
|
375
|
+
cols: calculateFirstInViewport(scrollLeft, this.itemSize[1])
|
|
376
|
+
};
|
|
377
|
+
lastInViewport = {
|
|
378
|
+
rows: firstInViewport.rows + this.numItemsInViewport.rows,
|
|
379
|
+
cols: firstInViewport.cols + this.numItemsInViewport.cols
|
|
380
|
+
};
|
|
381
|
+
} else {
|
|
382
|
+
var scrollPos = horizontal ? scrollLeft : scrollTop;
|
|
383
|
+
firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize);
|
|
384
|
+
lastInViewport = firstInViewport + this.numItemsInViewport;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return {
|
|
388
|
+
first: this.first,
|
|
389
|
+
last: this.last,
|
|
390
|
+
viewport: {
|
|
391
|
+
first: firstInViewport,
|
|
392
|
+
last: lastInViewport
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
},
|
|
396
|
+
calculateNumItems: function calculateNumItems() {
|
|
397
|
+
var both = this.isBoth();
|
|
398
|
+
var horizontal = this.isHorizontal();
|
|
399
|
+
var itemSize = this.itemSize;
|
|
400
|
+
var contentPos = this.getContentPosition();
|
|
401
|
+
var contentWidth = this.element ? this.element.offsetWidth - contentPos.left : 0;
|
|
402
|
+
var contentHeight = this.element ? this.element.offsetHeight - contentPos.top : 0;
|
|
403
|
+
var calculateNumItemsInViewport = function calculateNumItemsInViewport(_contentSize, _itemSize) {
|
|
404
|
+
return Math.ceil(_contentSize / (_itemSize || _contentSize));
|
|
405
|
+
};
|
|
406
|
+
var calculateNumToleratedItems = function calculateNumToleratedItems(_numItems) {
|
|
407
|
+
return Math.ceil(_numItems / 2);
|
|
408
|
+
};
|
|
409
|
+
var numItemsInViewport = both ? {
|
|
410
|
+
rows: calculateNumItemsInViewport(contentHeight, itemSize[0]),
|
|
411
|
+
cols: calculateNumItemsInViewport(contentWidth, itemSize[1])
|
|
412
|
+
} : calculateNumItemsInViewport(horizontal ? contentWidth : contentHeight, itemSize);
|
|
413
|
+
var numToleratedItems = this.d_numToleratedItems || (both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport));
|
|
414
|
+
return {
|
|
415
|
+
numItemsInViewport: numItemsInViewport,
|
|
416
|
+
numToleratedItems: numToleratedItems
|
|
417
|
+
};
|
|
418
|
+
},
|
|
419
|
+
calculateOptions: function calculateOptions() {
|
|
420
|
+
var _this3 = this;
|
|
421
|
+
var both = this.isBoth();
|
|
422
|
+
var first = this.first;
|
|
423
|
+
var _this$calculateNumIte2 = this.calculateNumItems(),
|
|
424
|
+
numItemsInViewport = _this$calculateNumIte2.numItemsInViewport,
|
|
425
|
+
numToleratedItems = _this$calculateNumIte2.numToleratedItems;
|
|
426
|
+
var calculateLast = function calculateLast(_first, _num, _numT) {
|
|
427
|
+
var _isCols = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
428
|
+
return _this3.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);
|
|
429
|
+
};
|
|
430
|
+
var last = both ? {
|
|
431
|
+
rows: calculateLast(first.rows, numItemsInViewport.rows, numToleratedItems[0]),
|
|
432
|
+
cols: calculateLast(first.cols, numItemsInViewport.cols, numToleratedItems[1], true)
|
|
433
|
+
} : calculateLast(first, numItemsInViewport, numToleratedItems);
|
|
434
|
+
this.last = last;
|
|
435
|
+
this.numItemsInViewport = numItemsInViewport;
|
|
436
|
+
this.d_numToleratedItems = numToleratedItems;
|
|
437
|
+
this.$emit('update:numToleratedItems', this.d_numToleratedItems);
|
|
438
|
+
if (this.showLoader) {
|
|
439
|
+
this.loaderArr = both ? Array.from({
|
|
440
|
+
length: numItemsInViewport.rows
|
|
441
|
+
}).map(function () {
|
|
442
|
+
return Array.from({
|
|
443
|
+
length: numItemsInViewport.cols
|
|
444
|
+
});
|
|
445
|
+
}) : Array.from({
|
|
446
|
+
length: numItemsInViewport
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
if (this.lazy) {
|
|
450
|
+
Promise.resolve().then(function () {
|
|
451
|
+
var _this3$items;
|
|
452
|
+
_this3.lazyLoadState = {
|
|
453
|
+
first: _this3.step ? both ? {
|
|
454
|
+
rows: 0,
|
|
455
|
+
cols: first.cols
|
|
456
|
+
} : 0 : first,
|
|
457
|
+
last: Math.min(_this3.step ? _this3.step : last, ((_this3$items = _this3.items) === null || _this3$items === void 0 ? void 0 : _this3$items.length) || 0)
|
|
458
|
+
};
|
|
459
|
+
_this3.$emit('lazy-load', _this3.lazyLoadState);
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
calculateAutoSize: function calculateAutoSize() {
|
|
464
|
+
var _this4 = this;
|
|
465
|
+
if (this.autoSize && !this.d_loading) {
|
|
466
|
+
Promise.resolve().then(function () {
|
|
467
|
+
if (_this4.content) {
|
|
468
|
+
var both = _this4.isBoth();
|
|
469
|
+
var horizontal = _this4.isHorizontal();
|
|
470
|
+
var vertical = _this4.isVertical();
|
|
471
|
+
_this4.content.style.minHeight = _this4.content.style.minWidth = 'auto';
|
|
472
|
+
_this4.content.style.position = 'relative';
|
|
473
|
+
_this4.element.style.contain = 'none';
|
|
474
|
+
|
|
475
|
+
/*const [contentWidth, contentHeight] = [DomHandler.getWidth(this.content), DomHandler.getHeight(this.content)];
|
|
476
|
+
contentWidth !== this.defaultContentWidth && (this.element.style.width = '');
|
|
477
|
+
contentHeight !== this.defaultContentHeight && (this.element.style.height = '');*/
|
|
478
|
+
|
|
479
|
+
var _ref = [DomHandler.getWidth(_this4.element), DomHandler.getHeight(_this4.element)],
|
|
480
|
+
width = _ref[0],
|
|
481
|
+
height = _ref[1];
|
|
482
|
+
(both || horizontal) && (_this4.element.style.width = width < _this4.defaultWidth ? width + 'px' : _this4.scrollWidth || _this4.defaultWidth + 'px');
|
|
483
|
+
(both || vertical) && (_this4.element.style.height = height < _this4.defaultHeight ? height + 'px' : _this4.scrollHeight || _this4.defaultHeight + 'px');
|
|
484
|
+
_this4.content.style.minHeight = _this4.content.style.minWidth = '';
|
|
485
|
+
_this4.content.style.position = '';
|
|
486
|
+
_this4.element.style.contain = '';
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
getLast: function getLast() {
|
|
492
|
+
var _ref2, _this$items;
|
|
493
|
+
var last = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
494
|
+
var isCols = arguments.length > 1 ? arguments[1] : undefined;
|
|
495
|
+
return this.items ? Math.min(isCols ? ((_ref2 = this.columns || this.items[0]) === null || _ref2 === void 0 ? void 0 : _ref2.length) || 0 : ((_this$items = this.items) === null || _this$items === void 0 ? void 0 : _this$items.length) || 0, last) : 0;
|
|
496
|
+
},
|
|
497
|
+
getContentPosition: function getContentPosition() {
|
|
498
|
+
if (this.content) {
|
|
499
|
+
var style = getComputedStyle(this.content);
|
|
500
|
+
var left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);
|
|
501
|
+
var right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);
|
|
502
|
+
var top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);
|
|
503
|
+
var bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);
|
|
504
|
+
return {
|
|
505
|
+
left: left,
|
|
506
|
+
right: right,
|
|
507
|
+
top: top,
|
|
508
|
+
bottom: bottom,
|
|
509
|
+
x: left + right,
|
|
510
|
+
y: top + bottom
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
return {
|
|
514
|
+
left: 0,
|
|
515
|
+
right: 0,
|
|
516
|
+
top: 0,
|
|
517
|
+
bottom: 0,
|
|
518
|
+
x: 0,
|
|
519
|
+
y: 0
|
|
520
|
+
};
|
|
521
|
+
},
|
|
522
|
+
setSize: function setSize() {
|
|
523
|
+
var _this5 = this;
|
|
524
|
+
if (this.element) {
|
|
525
|
+
var both = this.isBoth();
|
|
526
|
+
var horizontal = this.isHorizontal();
|
|
527
|
+
var parentElement = this.element.parentElement;
|
|
528
|
+
var width = this.scrollWidth || "".concat(this.element.offsetWidth || parentElement.offsetWidth, "px");
|
|
529
|
+
var height = this.scrollHeight || "".concat(this.element.offsetHeight || parentElement.offsetHeight, "px");
|
|
530
|
+
var setProp = function setProp(_name, _value) {
|
|
531
|
+
return _this5.element.style[_name] = _value;
|
|
532
|
+
};
|
|
533
|
+
if (both || horizontal) {
|
|
534
|
+
setProp('height', height);
|
|
535
|
+
setProp('width', width);
|
|
536
|
+
} else {
|
|
537
|
+
setProp('height', height);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
setSpacerSize: function setSpacerSize() {
|
|
542
|
+
var _this6 = this;
|
|
543
|
+
var items = this.items;
|
|
544
|
+
if (items) {
|
|
545
|
+
var both = this.isBoth();
|
|
546
|
+
var horizontal = this.isHorizontal();
|
|
547
|
+
var contentPos = this.getContentPosition();
|
|
548
|
+
var setProp = function setProp(_name, _value, _size) {
|
|
549
|
+
var _cpos = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
550
|
+
return _this6.spacerStyle = _objectSpread(_objectSpread({}, _this6.spacerStyle), _defineProperty({}, "".concat(_name), (_value || []).length * _size + _cpos + 'px'));
|
|
551
|
+
};
|
|
552
|
+
if (both) {
|
|
553
|
+
setProp('height', items, this.itemSize[0], contentPos.y);
|
|
554
|
+
setProp('width', this.columns || items[1], this.itemSize[1], contentPos.x);
|
|
555
|
+
} else {
|
|
556
|
+
horizontal ? setProp('width', this.columns || items, this.itemSize, contentPos.x) : setProp('height', items, this.itemSize, contentPos.y);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
setContentPosition: function setContentPosition(pos) {
|
|
561
|
+
var _this7 = this;
|
|
562
|
+
if (this.content && !this.appendOnly) {
|
|
563
|
+
var both = this.isBoth();
|
|
564
|
+
var horizontal = this.isHorizontal();
|
|
565
|
+
var first = pos ? pos.first : this.first;
|
|
566
|
+
var calculateTranslateVal = function calculateTranslateVal(_first, _size) {
|
|
567
|
+
return _first * _size;
|
|
568
|
+
};
|
|
569
|
+
var setTransform = function setTransform() {
|
|
570
|
+
var _x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
571
|
+
var _y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
572
|
+
return _this7.contentStyle = _objectSpread(_objectSpread({}, _this7.contentStyle), {
|
|
573
|
+
transform: "translate3d(".concat(_x, "px, ").concat(_y, "px, 0)")
|
|
574
|
+
});
|
|
575
|
+
};
|
|
576
|
+
if (both) {
|
|
577
|
+
setTransform(calculateTranslateVal(first.cols, this.itemSize[1]), calculateTranslateVal(first.rows, this.itemSize[0]));
|
|
578
|
+
} else {
|
|
579
|
+
var translateVal = calculateTranslateVal(first, this.itemSize);
|
|
580
|
+
horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
onScrollPositionChange: function onScrollPositionChange(event) {
|
|
585
|
+
var _this8 = this;
|
|
586
|
+
var target = event.target;
|
|
587
|
+
var both = this.isBoth();
|
|
588
|
+
var horizontal = this.isHorizontal();
|
|
589
|
+
var contentPos = this.getContentPosition();
|
|
590
|
+
var calculateScrollPos = function calculateScrollPos(_pos, _cpos) {
|
|
591
|
+
return _pos ? _pos > _cpos ? _pos - _cpos : _pos : 0;
|
|
592
|
+
};
|
|
593
|
+
var calculateCurrentIndex = function calculateCurrentIndex(_pos, _size) {
|
|
594
|
+
return Math.floor(_pos / (_size || _pos));
|
|
595
|
+
};
|
|
596
|
+
var calculateTriggerIndex = function calculateTriggerIndex(_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) {
|
|
597
|
+
return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;
|
|
598
|
+
};
|
|
599
|
+
var calculateFirst = function calculateFirst(_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) {
|
|
600
|
+
if (_currentIndex <= _numT) return 0;else return Math.max(0, _isScrollDownOrRight ? _currentIndex < _triggerIndex ? _first : _currentIndex - _numT : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);
|
|
601
|
+
};
|
|
602
|
+
var calculateLast = function calculateLast(_currentIndex, _first, _last, _num, _numT, _isCols) {
|
|
603
|
+
var lastValue = _first + _num + 2 * _numT;
|
|
604
|
+
if (_currentIndex >= _numT) {
|
|
605
|
+
lastValue += _numT + 1;
|
|
606
|
+
}
|
|
607
|
+
return _this8.getLast(lastValue, _isCols);
|
|
608
|
+
};
|
|
609
|
+
var scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
|
|
610
|
+
var scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
|
|
611
|
+
var newFirst = both ? {
|
|
612
|
+
rows: 0,
|
|
613
|
+
cols: 0
|
|
614
|
+
} : 0;
|
|
615
|
+
var newLast = this.last;
|
|
616
|
+
var isRangeChanged = false;
|
|
617
|
+
var newScrollPos = this.lastScrollPos;
|
|
618
|
+
if (both) {
|
|
619
|
+
var isScrollDown = this.lastScrollPos.top <= scrollTop;
|
|
620
|
+
var isScrollRight = this.lastScrollPos.left <= scrollLeft;
|
|
621
|
+
if (!this.appendOnly || this.appendOnly && (isScrollDown || isScrollRight)) {
|
|
622
|
+
var currentIndex = {
|
|
623
|
+
rows: calculateCurrentIndex(scrollTop, this.itemSize[0]),
|
|
624
|
+
cols: calculateCurrentIndex(scrollLeft, this.itemSize[1])
|
|
625
|
+
};
|
|
626
|
+
var triggerIndex = {
|
|
627
|
+
rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
|
|
628
|
+
cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
|
|
629
|
+
};
|
|
630
|
+
newFirst = {
|
|
631
|
+
rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
|
|
632
|
+
cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
|
|
633
|
+
};
|
|
634
|
+
newLast = {
|
|
635
|
+
rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
|
|
636
|
+
cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
|
|
637
|
+
};
|
|
638
|
+
isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;
|
|
639
|
+
newScrollPos = {
|
|
640
|
+
top: scrollTop,
|
|
641
|
+
left: scrollLeft
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
} else {
|
|
645
|
+
var scrollPos = horizontal ? scrollLeft : scrollTop;
|
|
646
|
+
var isScrollDownOrRight = this.lastScrollPos <= scrollPos;
|
|
647
|
+
if (!this.appendOnly || this.appendOnly && isScrollDownOrRight) {
|
|
648
|
+
var _currentIndex2 = calculateCurrentIndex(scrollPos, this.itemSize);
|
|
649
|
+
var _triggerIndex2 = calculateTriggerIndex(_currentIndex2, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
|
|
650
|
+
newFirst = calculateFirst(_currentIndex2, _triggerIndex2, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
|
|
651
|
+
newLast = calculateLast(_currentIndex2, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
|
|
652
|
+
isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;
|
|
653
|
+
newScrollPos = scrollPos;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
return {
|
|
657
|
+
first: newFirst,
|
|
658
|
+
last: newLast,
|
|
659
|
+
isRangeChanged: isRangeChanged,
|
|
660
|
+
scrollPos: newScrollPos
|
|
661
|
+
};
|
|
662
|
+
},
|
|
663
|
+
onScrollChange: function onScrollChange(event) {
|
|
664
|
+
var _this$onScrollPositio = this.onScrollPositionChange(event),
|
|
665
|
+
first = _this$onScrollPositio.first,
|
|
666
|
+
last = _this$onScrollPositio.last,
|
|
667
|
+
isRangeChanged = _this$onScrollPositio.isRangeChanged,
|
|
668
|
+
scrollPos = _this$onScrollPositio.scrollPos;
|
|
669
|
+
if (isRangeChanged) {
|
|
670
|
+
var newState = {
|
|
671
|
+
first: first,
|
|
672
|
+
last: last
|
|
673
|
+
};
|
|
674
|
+
this.setContentPosition(newState);
|
|
675
|
+
this.first = first;
|
|
676
|
+
this.last = last;
|
|
677
|
+
this.lastScrollPos = scrollPos;
|
|
678
|
+
this.$emit('scroll-index-change', newState);
|
|
679
|
+
if (this.lazy && this.isPageChanged(first)) {
|
|
680
|
+
var _this$items2, _this$items3;
|
|
681
|
+
var lazyLoadState = {
|
|
682
|
+
first: this.step ? Math.min(this.getPageByFirst(first) * this.step, (((_this$items2 = this.items) === null || _this$items2 === void 0 ? void 0 : _this$items2.length) || 0) - this.step) : first,
|
|
683
|
+
last: Math.min(this.step ? (this.getPageByFirst(first) + 1) * this.step : last, ((_this$items3 = this.items) === null || _this$items3 === void 0 ? void 0 : _this$items3.length) || 0)
|
|
684
|
+
};
|
|
685
|
+
var isLazyStateChanged = this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last;
|
|
686
|
+
isLazyStateChanged && this.$emit('lazy-load', lazyLoadState);
|
|
687
|
+
this.lazyLoadState = lazyLoadState;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
onScroll: function onScroll(event) {
|
|
692
|
+
var _this9 = this;
|
|
693
|
+
this.$emit('scroll', event);
|
|
694
|
+
if (this.delay) {
|
|
695
|
+
if (this.scrollTimeout) {
|
|
696
|
+
clearTimeout(this.scrollTimeout);
|
|
697
|
+
}
|
|
698
|
+
if (this.isPageChanged()) {
|
|
699
|
+
if (!this.d_loading && this.showLoader) {
|
|
700
|
+
var _this$onScrollPositio2 = this.onScrollPositionChange(event),
|
|
701
|
+
isRangeChanged = _this$onScrollPositio2.isRangeChanged;
|
|
702
|
+
var changed = isRangeChanged || (this.step ? this.isPageChanged() : false);
|
|
703
|
+
changed && (this.d_loading = true);
|
|
704
|
+
}
|
|
705
|
+
this.scrollTimeout = setTimeout(function () {
|
|
706
|
+
_this9.onScrollChange(event);
|
|
707
|
+
if (_this9.d_loading && _this9.showLoader && (!_this9.lazy || _this9.loading === undefined)) {
|
|
708
|
+
_this9.d_loading = false;
|
|
709
|
+
_this9.page = _this9.getPageByFirst();
|
|
710
|
+
}
|
|
711
|
+
}, this.delay);
|
|
712
|
+
}
|
|
713
|
+
} else {
|
|
714
|
+
this.onScrollChange(event);
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
onResize: function onResize() {
|
|
718
|
+
var _this10 = this;
|
|
719
|
+
if (this.resizeTimeout) {
|
|
720
|
+
clearTimeout(this.resizeTimeout);
|
|
721
|
+
}
|
|
722
|
+
this.resizeTimeout = setTimeout(function () {
|
|
723
|
+
if (DomHandler.isVisible(_this10.element)) {
|
|
724
|
+
var both = _this10.isBoth();
|
|
725
|
+
var vertical = _this10.isVertical();
|
|
726
|
+
var horizontal = _this10.isHorizontal();
|
|
727
|
+
var _ref3 = [DomHandler.getWidth(_this10.element), DomHandler.getHeight(_this10.element)],
|
|
728
|
+
width = _ref3[0],
|
|
729
|
+
height = _ref3[1];
|
|
730
|
+
var isDiffWidth = width !== _this10.defaultWidth,
|
|
731
|
+
isDiffHeight = height !== _this10.defaultHeight;
|
|
732
|
+
var reinit = both ? isDiffWidth || isDiffHeight : horizontal ? isDiffWidth : vertical ? isDiffHeight : false;
|
|
733
|
+
if (reinit) {
|
|
734
|
+
_this10.d_numToleratedItems = _this10.numToleratedItems;
|
|
735
|
+
_this10.defaultWidth = width;
|
|
736
|
+
_this10.defaultHeight = height;
|
|
737
|
+
_this10.defaultContentWidth = DomHandler.getWidth(_this10.content);
|
|
738
|
+
_this10.defaultContentHeight = DomHandler.getHeight(_this10.content);
|
|
739
|
+
_this10.init();
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}, this.resizeDelay);
|
|
743
|
+
},
|
|
744
|
+
bindResizeListener: function bindResizeListener() {
|
|
745
|
+
if (!this.resizeListener) {
|
|
746
|
+
this.resizeListener = this.onResize.bind(this);
|
|
747
|
+
window.addEventListener('resize', this.resizeListener);
|
|
748
|
+
window.addEventListener('orientationchange', this.resizeListener);
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
unbindResizeListener: function unbindResizeListener() {
|
|
752
|
+
if (this.resizeListener) {
|
|
753
|
+
window.removeEventListener('resize', this.resizeListener);
|
|
754
|
+
window.removeEventListener('orientationchange', this.resizeListener);
|
|
755
|
+
this.resizeListener = null;
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
getOptions: function getOptions(renderedIndex) {
|
|
759
|
+
var count = (this.items || []).length;
|
|
760
|
+
var index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
|
|
761
|
+
return {
|
|
762
|
+
index: index,
|
|
763
|
+
count: count,
|
|
764
|
+
first: index === 0,
|
|
765
|
+
last: index === count - 1,
|
|
766
|
+
even: index % 2 === 0,
|
|
767
|
+
odd: index % 2 !== 0
|
|
768
|
+
};
|
|
769
|
+
},
|
|
770
|
+
getLoaderOptions: function getLoaderOptions(index, extOptions) {
|
|
771
|
+
var count = this.loaderArr.length;
|
|
772
|
+
return _objectSpread({
|
|
773
|
+
index: index,
|
|
774
|
+
count: count,
|
|
775
|
+
first: index === 0,
|
|
776
|
+
last: index === count - 1,
|
|
777
|
+
even: index % 2 === 0,
|
|
778
|
+
odd: index % 2 !== 0
|
|
779
|
+
}, extOptions);
|
|
780
|
+
},
|
|
781
|
+
getPageByFirst: function getPageByFirst(first) {
|
|
782
|
+
return Math.floor(((first !== null && first !== void 0 ? first : this.first) + this.d_numToleratedItems * 4) / (this.step || 1));
|
|
783
|
+
},
|
|
784
|
+
isPageChanged: function isPageChanged(first) {
|
|
785
|
+
return this.step ? this.page !== this.getPageByFirst(first !== null && first !== void 0 ? first : this.first) : true;
|
|
786
|
+
},
|
|
787
|
+
setContentEl: function setContentEl(el) {
|
|
788
|
+
this.content = el || this.content || DomHandler.findSingle(this.element, '[data-pc-section="content"]');
|
|
789
|
+
},
|
|
790
|
+
elementRef: function elementRef(el) {
|
|
791
|
+
this.element = el;
|
|
792
|
+
},
|
|
793
|
+
contentRef: function contentRef(el) {
|
|
794
|
+
this.content = el;
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
computed: {
|
|
798
|
+
containerClass: function containerClass() {
|
|
799
|
+
return ['p-virtualscroller', this["class"], {
|
|
800
|
+
'p-virtualscroller-inline': this.inline,
|
|
801
|
+
'p-virtualscroller-both p-both-scroll': this.isBoth(),
|
|
802
|
+
'p-virtualscroller-horizontal p-horizontal-scroll': this.isHorizontal()
|
|
803
|
+
}];
|
|
804
|
+
},
|
|
805
|
+
contentClass: function contentClass() {
|
|
806
|
+
return ['p-virtualscroller-content', {
|
|
807
|
+
'p-virtualscroller-loading': this.d_loading
|
|
808
|
+
}];
|
|
809
|
+
},
|
|
810
|
+
loaderClass: function loaderClass() {
|
|
811
|
+
return ['p-virtualscroller-loader', {
|
|
812
|
+
'p-overlay-mask': !this.$slots.loader
|
|
813
|
+
}];
|
|
814
|
+
},
|
|
815
|
+
loadedItems: function loadedItems() {
|
|
816
|
+
var _this11 = this;
|
|
817
|
+
if (this.items && !this.d_loading) {
|
|
818
|
+
if (this.isBoth()) return this.items.slice(this.appendOnly ? 0 : this.first.rows, this.last.rows).map(function (item) {
|
|
819
|
+
return _this11.columns ? item : item.slice(_this11.appendOnly ? 0 : _this11.first.cols, _this11.last.cols);
|
|
820
|
+
});else if (this.isHorizontal() && this.columns) return this.items;else return this.items.slice(this.appendOnly ? 0 : this.first, this.last);
|
|
821
|
+
}
|
|
822
|
+
return [];
|
|
823
|
+
},
|
|
824
|
+
loadedRows: function loadedRows() {
|
|
825
|
+
return this.d_loading ? this.loaderDisabled ? this.loaderArr : [] : this.loadedItems;
|
|
826
|
+
},
|
|
827
|
+
loadedColumns: function loadedColumns() {
|
|
828
|
+
if (this.columns) {
|
|
829
|
+
var both = this.isBoth();
|
|
830
|
+
var horizontal = this.isHorizontal();
|
|
831
|
+
if (both || horizontal) {
|
|
832
|
+
return this.d_loading && this.loaderDisabled ? both ? this.loaderArr[0] : this.loaderArr : this.columns.slice(both ? this.first.cols : this.first, both ? this.last.cols : this.last);
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
return this.columns;
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
components: {
|
|
839
|
+
SpinnerIcon: SpinnerIcon
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
var _hoisted_1 = ["tabindex"];
|
|
844
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
845
|
+
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
846
|
+
return !_ctx.disabled ? (openBlock(), createElementBlock("div", mergeProps({
|
|
847
|
+
key: 0,
|
|
848
|
+
ref: $options.elementRef,
|
|
849
|
+
"class": $options.containerClass,
|
|
850
|
+
tabindex: _ctx.tabindex,
|
|
851
|
+
style: _ctx.style,
|
|
852
|
+
onScroll: _cache[0] || (_cache[0] = function () {
|
|
853
|
+
return $options.onScroll && $options.onScroll.apply($options, arguments);
|
|
854
|
+
})
|
|
855
|
+
}, _ctx.ptmi('root')), [renderSlot(_ctx.$slots, "content", {
|
|
856
|
+
styleClass: $options.contentClass,
|
|
857
|
+
items: $options.loadedItems,
|
|
858
|
+
getItemOptions: $options.getOptions,
|
|
859
|
+
loading: $data.d_loading,
|
|
860
|
+
getLoaderOptions: $options.getLoaderOptions,
|
|
861
|
+
itemSize: _ctx.itemSize,
|
|
862
|
+
rows: $options.loadedRows,
|
|
863
|
+
columns: $options.loadedColumns,
|
|
864
|
+
contentRef: $options.contentRef,
|
|
865
|
+
spacerStyle: $data.spacerStyle,
|
|
866
|
+
contentStyle: $data.contentStyle,
|
|
867
|
+
vertical: $options.isVertical(),
|
|
868
|
+
horizontal: $options.isHorizontal(),
|
|
869
|
+
both: $options.isBoth()
|
|
870
|
+
}, function () {
|
|
871
|
+
return [createElementVNode("div", mergeProps({
|
|
872
|
+
ref: $options.contentRef,
|
|
873
|
+
"class": $options.contentClass,
|
|
874
|
+
style: $data.contentStyle
|
|
875
|
+
}, _ctx.ptm('content')), [(openBlock(true), createElementBlock(Fragment, null, renderList($options.loadedItems, function (item, index) {
|
|
876
|
+
return renderSlot(_ctx.$slots, "item", {
|
|
877
|
+
key: index,
|
|
878
|
+
item: item,
|
|
879
|
+
options: $options.getOptions(index)
|
|
880
|
+
});
|
|
881
|
+
}), 128))], 16)];
|
|
882
|
+
}), _ctx.showSpacer ? (openBlock(), createElementBlock("div", mergeProps({
|
|
883
|
+
key: 0,
|
|
884
|
+
"class": "p-virtualscroller-spacer",
|
|
885
|
+
style: $data.spacerStyle
|
|
886
|
+
}, _ctx.ptm('spacer')), null, 16)) : createCommentVNode("", true), !_ctx.loaderDisabled && _ctx.showLoader && $data.d_loading ? (openBlock(), createElementBlock("div", mergeProps({
|
|
887
|
+
key: 1,
|
|
888
|
+
"class": $options.loaderClass
|
|
889
|
+
}, _ctx.ptm('loader')), [_ctx.$slots && _ctx.$slots.loader ? (openBlock(true), createElementBlock(Fragment, {
|
|
890
|
+
key: 0
|
|
891
|
+
}, renderList($data.loaderArr, function (_, index) {
|
|
892
|
+
return renderSlot(_ctx.$slots, "loader", {
|
|
893
|
+
key: index,
|
|
894
|
+
options: $options.getLoaderOptions(index, $options.isBoth() && {
|
|
895
|
+
numCols: _ctx.d_numItemsInViewport.cols
|
|
896
|
+
})
|
|
897
|
+
});
|
|
898
|
+
}), 128)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "loadingicon", {}, function () {
|
|
899
|
+
return [createVNode(_component_SpinnerIcon, mergeProps({
|
|
900
|
+
spin: "",
|
|
901
|
+
"class": "p-virtualscroller-loading-icon"
|
|
902
|
+
}, _ctx.ptm('loadingIcon')), null, 16)];
|
|
903
|
+
})], 16)) : createCommentVNode("", true)], 16, _hoisted_1)) : (openBlock(), createElementBlock(Fragment, {
|
|
904
|
+
key: 1
|
|
905
|
+
}, [renderSlot(_ctx.$slots, "default"), renderSlot(_ctx.$slots, "content", {
|
|
906
|
+
items: _ctx.items,
|
|
907
|
+
rows: _ctx.items,
|
|
908
|
+
columns: $options.loadedColumns
|
|
909
|
+
})], 64));
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
script.render = render;
|
|
913
|
+
|
|
914
|
+
export { script as default };
|
|
915
|
+
//# sourceMappingURL=virtualscroller.mjs.map
|