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,1278 @@
|
|
|
1
|
+
import { DomHandler, ObjectUtils, UniqueComponentId, ZIndexUtils } from '@primevuelab/core/utils';
|
|
2
|
+
import FocusTrap from 'primevuelab/focustrap';
|
|
3
|
+
import Portal from 'primevuelab/portal';
|
|
4
|
+
import BaseComponent from '@primevuelab/core/basecomponent';
|
|
5
|
+
import GalleriaStyle from 'primevuelab/galleria/style';
|
|
6
|
+
import TimesIcon from '@primevuelab/icons/times';
|
|
7
|
+
import Ripple from 'primevuelab/ripple';
|
|
8
|
+
import ChevronLeftIcon from '@primevuelab/icons/chevronleft';
|
|
9
|
+
import ChevronRightIcon from '@primevuelab/icons/chevronright';
|
|
10
|
+
import { resolveDirective, openBlock, createElementBlock, mergeProps, createElementVNode, withDirectives, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, resolveComponent, createVNode, withCtx, Transition } from 'vue';
|
|
11
|
+
import ChevronDownIcon from '@primevuelab/icons/chevrondown';
|
|
12
|
+
import ChevronUpIcon from '@primevuelab/icons/chevronup';
|
|
13
|
+
|
|
14
|
+
var script$4 = {
|
|
15
|
+
name: 'BaseGalleria',
|
|
16
|
+
"extends": BaseComponent,
|
|
17
|
+
props: {
|
|
18
|
+
id: {
|
|
19
|
+
type: String,
|
|
20
|
+
"default": null
|
|
21
|
+
},
|
|
22
|
+
value: {
|
|
23
|
+
type: Array,
|
|
24
|
+
"default": null
|
|
25
|
+
},
|
|
26
|
+
activeIndex: {
|
|
27
|
+
type: Number,
|
|
28
|
+
"default": 0
|
|
29
|
+
},
|
|
30
|
+
fullScreen: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
"default": false
|
|
33
|
+
},
|
|
34
|
+
visible: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
"default": false
|
|
37
|
+
},
|
|
38
|
+
numVisible: {
|
|
39
|
+
type: Number,
|
|
40
|
+
"default": 3
|
|
41
|
+
},
|
|
42
|
+
responsiveOptions: {
|
|
43
|
+
type: Array,
|
|
44
|
+
"default": null
|
|
45
|
+
},
|
|
46
|
+
showItemNavigators: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
"default": false
|
|
49
|
+
},
|
|
50
|
+
showThumbnailNavigators: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
"default": true
|
|
53
|
+
},
|
|
54
|
+
showItemNavigatorsOnHover: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
changeItemOnIndicatorHover: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
"default": false
|
|
61
|
+
},
|
|
62
|
+
circular: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
"default": false
|
|
65
|
+
},
|
|
66
|
+
autoPlay: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
"default": false
|
|
69
|
+
},
|
|
70
|
+
transitionInterval: {
|
|
71
|
+
type: Number,
|
|
72
|
+
"default": 4000
|
|
73
|
+
},
|
|
74
|
+
showThumbnails: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
"default": true
|
|
77
|
+
},
|
|
78
|
+
thumbnailsPosition: {
|
|
79
|
+
type: String,
|
|
80
|
+
"default": 'bottom'
|
|
81
|
+
},
|
|
82
|
+
verticalThumbnailViewPortHeight: {
|
|
83
|
+
type: String,
|
|
84
|
+
"default": '300px'
|
|
85
|
+
},
|
|
86
|
+
showIndicators: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
showIndicatorsOnItem: {
|
|
91
|
+
type: Boolean,
|
|
92
|
+
"default": false
|
|
93
|
+
},
|
|
94
|
+
indicatorsPosition: {
|
|
95
|
+
type: String,
|
|
96
|
+
"default": 'bottom'
|
|
97
|
+
},
|
|
98
|
+
baseZIndex: {
|
|
99
|
+
type: Number,
|
|
100
|
+
"default": 0
|
|
101
|
+
},
|
|
102
|
+
maskClass: {
|
|
103
|
+
type: String,
|
|
104
|
+
"default": null
|
|
105
|
+
},
|
|
106
|
+
containerStyle: {
|
|
107
|
+
type: null,
|
|
108
|
+
"default": null
|
|
109
|
+
},
|
|
110
|
+
containerClass: {
|
|
111
|
+
type: null,
|
|
112
|
+
"default": null
|
|
113
|
+
},
|
|
114
|
+
containerProps: {
|
|
115
|
+
type: null,
|
|
116
|
+
"default": null
|
|
117
|
+
},
|
|
118
|
+
prevButtonProps: {
|
|
119
|
+
type: null,
|
|
120
|
+
"default": null
|
|
121
|
+
},
|
|
122
|
+
nextButtonProps: {
|
|
123
|
+
type: null,
|
|
124
|
+
"default": null
|
|
125
|
+
},
|
|
126
|
+
ariaLabel: {
|
|
127
|
+
type: String,
|
|
128
|
+
"default": null
|
|
129
|
+
},
|
|
130
|
+
ariaRoledescription: {
|
|
131
|
+
type: String,
|
|
132
|
+
"default": null
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
style: GalleriaStyle,
|
|
136
|
+
provide: function provide() {
|
|
137
|
+
return {
|
|
138
|
+
$pcGalleria: this,
|
|
139
|
+
$parentInstance: this
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
function _toConsumableArray$1(r) { return _arrayWithoutHoles$1(r) || _iterableToArray$1(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread$1(); }
|
|
145
|
+
function _nonIterableSpread$1() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
146
|
+
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
147
|
+
function _iterableToArray$1(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
148
|
+
function _arrayWithoutHoles$1(r) { if (Array.isArray(r)) return _arrayLikeToArray$1(r); }
|
|
149
|
+
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
150
|
+
var script$3 = {
|
|
151
|
+
name: 'GalleriaItem',
|
|
152
|
+
hostName: 'Galleria',
|
|
153
|
+
"extends": BaseComponent,
|
|
154
|
+
emits: ['start-slideshow', 'stop-slideshow', 'update:activeIndex'],
|
|
155
|
+
props: {
|
|
156
|
+
circular: {
|
|
157
|
+
type: Boolean,
|
|
158
|
+
"default": false
|
|
159
|
+
},
|
|
160
|
+
activeIndex: {
|
|
161
|
+
type: Number,
|
|
162
|
+
"default": 0
|
|
163
|
+
},
|
|
164
|
+
value: {
|
|
165
|
+
type: Array,
|
|
166
|
+
"default": null
|
|
167
|
+
},
|
|
168
|
+
showItemNavigators: {
|
|
169
|
+
type: Boolean,
|
|
170
|
+
"default": true
|
|
171
|
+
},
|
|
172
|
+
showIndicators: {
|
|
173
|
+
type: Boolean,
|
|
174
|
+
"default": true
|
|
175
|
+
},
|
|
176
|
+
slideShowActive: {
|
|
177
|
+
type: Boolean,
|
|
178
|
+
"default": true
|
|
179
|
+
},
|
|
180
|
+
changeItemOnIndicatorHover: {
|
|
181
|
+
type: Boolean,
|
|
182
|
+
"default": true
|
|
183
|
+
},
|
|
184
|
+
autoPlay: {
|
|
185
|
+
type: Boolean,
|
|
186
|
+
"default": false
|
|
187
|
+
},
|
|
188
|
+
templates: {
|
|
189
|
+
type: null,
|
|
190
|
+
"default": null
|
|
191
|
+
},
|
|
192
|
+
id: {
|
|
193
|
+
type: String,
|
|
194
|
+
"default": null
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
mounted: function mounted() {
|
|
198
|
+
if (this.autoPlay) {
|
|
199
|
+
this.$emit('start-slideshow');
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
methods: {
|
|
203
|
+
getIndicatorPTOptions: function getIndicatorPTOptions(index) {
|
|
204
|
+
return {
|
|
205
|
+
context: {
|
|
206
|
+
highlighted: this.activeIndex === index
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
next: function next() {
|
|
211
|
+
var nextItemIndex = this.activeIndex + 1;
|
|
212
|
+
var activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex;
|
|
213
|
+
this.$emit('update:activeIndex', activeIndex);
|
|
214
|
+
},
|
|
215
|
+
prev: function prev() {
|
|
216
|
+
var prevItemIndex = this.activeIndex !== 0 ? this.activeIndex - 1 : 0;
|
|
217
|
+
var activeIndex = this.circular && this.activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
218
|
+
this.$emit('update:activeIndex', activeIndex);
|
|
219
|
+
},
|
|
220
|
+
stopSlideShow: function stopSlideShow() {
|
|
221
|
+
if (this.slideShowActive && this.stopSlideShow) {
|
|
222
|
+
this.$emit('stop-slideshow');
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
navBackward: function navBackward(e) {
|
|
226
|
+
this.stopSlideShow();
|
|
227
|
+
this.prev();
|
|
228
|
+
if (e && e.cancelable) {
|
|
229
|
+
e.preventDefault();
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
navForward: function navForward(e) {
|
|
233
|
+
this.stopSlideShow();
|
|
234
|
+
this.next();
|
|
235
|
+
if (e && e.cancelable) {
|
|
236
|
+
e.preventDefault();
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
onIndicatorClick: function onIndicatorClick(index) {
|
|
240
|
+
this.stopSlideShow();
|
|
241
|
+
this.$emit('update:activeIndex', index);
|
|
242
|
+
},
|
|
243
|
+
onIndicatorMouseEnter: function onIndicatorMouseEnter(index) {
|
|
244
|
+
if (this.changeItemOnIndicatorHover) {
|
|
245
|
+
this.stopSlideShow();
|
|
246
|
+
this.$emit('update:activeIndex', index);
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
onIndicatorKeyDown: function onIndicatorKeyDown(event, index) {
|
|
250
|
+
switch (event.code) {
|
|
251
|
+
case 'Enter':
|
|
252
|
+
case 'NumpadEnter':
|
|
253
|
+
case 'Space':
|
|
254
|
+
this.stopSlideShow();
|
|
255
|
+
this.$emit('update:activeIndex', index);
|
|
256
|
+
event.preventDefault();
|
|
257
|
+
break;
|
|
258
|
+
case 'ArrowRight':
|
|
259
|
+
this.onRightKey();
|
|
260
|
+
break;
|
|
261
|
+
case 'ArrowLeft':
|
|
262
|
+
this.onLeftKey();
|
|
263
|
+
break;
|
|
264
|
+
case 'Home':
|
|
265
|
+
this.onHomeKey();
|
|
266
|
+
event.preventDefault();
|
|
267
|
+
break;
|
|
268
|
+
case 'End':
|
|
269
|
+
this.onEndKey();
|
|
270
|
+
event.preventDefault();
|
|
271
|
+
break;
|
|
272
|
+
case 'Tab':
|
|
273
|
+
this.onTabKey();
|
|
274
|
+
break;
|
|
275
|
+
case 'ArrowDown':
|
|
276
|
+
case 'ArrowUp':
|
|
277
|
+
case 'PageUp':
|
|
278
|
+
case 'PageDown':
|
|
279
|
+
event.preventDefault();
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
onRightKey: function onRightKey() {
|
|
284
|
+
var indicators = _toConsumableArray$1(DomHandler.find(this.$refs.indicatorContent, '[data-pc-section="indicator"]'));
|
|
285
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
286
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
287
|
+
},
|
|
288
|
+
onLeftKey: function onLeftKey() {
|
|
289
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
290
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
291
|
+
},
|
|
292
|
+
onHomeKey: function onHomeKey() {
|
|
293
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
294
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
295
|
+
},
|
|
296
|
+
onEndKey: function onEndKey() {
|
|
297
|
+
var indicators = _toConsumableArray$1(DomHandler.find(this.$refs.indicatorContent, '[data-pc-section="indicator"]'));
|
|
298
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
299
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
300
|
+
},
|
|
301
|
+
onTabKey: function onTabKey() {
|
|
302
|
+
var indicators = _toConsumableArray$1(DomHandler.find(this.$refs.indicatorContent, '[data-pc-section="indicator"]'));
|
|
303
|
+
var highlightedIndex = indicators.findIndex(function (ind) {
|
|
304
|
+
return DomHandler.getAttribute(ind, 'data-p-active') === true;
|
|
305
|
+
});
|
|
306
|
+
var activeIndicator = DomHandler.findSingle(this.$refs.indicatorContent, '[data-pc-section="indicator"] > button[tabindex="0"]');
|
|
307
|
+
var activeIndex = indicators.findIndex(function (ind) {
|
|
308
|
+
return ind === activeIndicator.parentElement;
|
|
309
|
+
});
|
|
310
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
311
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
312
|
+
},
|
|
313
|
+
findFocusedIndicatorIndex: function findFocusedIndicatorIndex() {
|
|
314
|
+
var indicators = _toConsumableArray$1(DomHandler.find(this.$refs.indicatorContent, '[data-pc-section="indicator"]'));
|
|
315
|
+
var activeIndicator = DomHandler.findSingle(this.$refs.indicatorContent, '[data-pc-section="indicator"] > button[tabindex="0"]');
|
|
316
|
+
return indicators.findIndex(function (ind) {
|
|
317
|
+
return ind === activeIndicator.parentElement;
|
|
318
|
+
});
|
|
319
|
+
},
|
|
320
|
+
changedFocusedIndicator: function changedFocusedIndicator(prevInd, nextInd) {
|
|
321
|
+
var indicators = _toConsumableArray$1(DomHandler.find(this.$refs.indicatorContent, '[data-pc-section="indicator"]'));
|
|
322
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
323
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
324
|
+
indicators[nextInd].children[0].focus();
|
|
325
|
+
},
|
|
326
|
+
isIndicatorItemActive: function isIndicatorItemActive(index) {
|
|
327
|
+
return this.activeIndex === index;
|
|
328
|
+
},
|
|
329
|
+
isNavBackwardDisabled: function isNavBackwardDisabled() {
|
|
330
|
+
return !this.circular && this.activeIndex === 0;
|
|
331
|
+
},
|
|
332
|
+
isNavForwardDisabled: function isNavForwardDisabled() {
|
|
333
|
+
return !this.circular && this.activeIndex === this.value.length - 1;
|
|
334
|
+
},
|
|
335
|
+
ariaSlideNumber: function ariaSlideNumber(value) {
|
|
336
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g, value) : undefined;
|
|
337
|
+
},
|
|
338
|
+
ariaPageLabel: function ariaPageLabel(value) {
|
|
339
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
computed: {
|
|
343
|
+
activeItem: function activeItem() {
|
|
344
|
+
return this.value[this.activeIndex];
|
|
345
|
+
},
|
|
346
|
+
ariaSlideLabel: function ariaSlideLabel() {
|
|
347
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.slide : undefined;
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
components: {
|
|
351
|
+
ChevronLeftIcon: ChevronLeftIcon,
|
|
352
|
+
ChevronRightIcon: ChevronRightIcon
|
|
353
|
+
},
|
|
354
|
+
directives: {
|
|
355
|
+
ripple: Ripple
|
|
356
|
+
}
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
var _hoisted_1$3 = ["disabled"];
|
|
360
|
+
var _hoisted_2$2 = ["id", "aria-label", "aria-roledescription"];
|
|
361
|
+
var _hoisted_3$2 = ["disabled"];
|
|
362
|
+
var _hoisted_4$1 = ["aria-label", "aria-selected", "aria-controls", "onClick", "onMouseenter", "onKeydown", "data-p-active"];
|
|
363
|
+
var _hoisted_5 = ["tabindex"];
|
|
364
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
365
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
366
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
367
|
+
"class": _ctx.cx('itemsContainer')
|
|
368
|
+
}, _ctx.ptm('itemsContainer')), [createElementVNode("div", mergeProps({
|
|
369
|
+
"class": _ctx.cx('items')
|
|
370
|
+
}, _ctx.ptm('items')), [$props.showItemNavigators ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
371
|
+
key: 0,
|
|
372
|
+
type: "button",
|
|
373
|
+
"class": _ctx.cx('previousItemButton'),
|
|
374
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
375
|
+
return $options.navBackward($event);
|
|
376
|
+
}),
|
|
377
|
+
disabled: $options.isNavBackwardDisabled()
|
|
378
|
+
}, _ctx.ptm('previousItemButton'), {
|
|
379
|
+
"data-pc-group-section": "itemnavigator"
|
|
380
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.templates.previousitemicon || 'ChevronLeftIcon'), mergeProps({
|
|
381
|
+
"class": _ctx.cx('previousItemIcon')
|
|
382
|
+
}, _ctx.ptm('previousItemIcon')), null, 16, ["class"]))], 16, _hoisted_1$3)), [[_directive_ripple]]) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
383
|
+
id: $props.id + '_item_' + $props.activeIndex,
|
|
384
|
+
"class": _ctx.cx('item'),
|
|
385
|
+
role: "group",
|
|
386
|
+
"aria-label": $options.ariaSlideNumber($props.activeIndex + 1),
|
|
387
|
+
"aria-roledescription": $options.ariaSlideLabel
|
|
388
|
+
}, _ctx.ptm('item')), [$props.templates.item ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.item), {
|
|
389
|
+
key: 0,
|
|
390
|
+
item: $options.activeItem
|
|
391
|
+
}, null, 8, ["item"])) : createCommentVNode("", true)], 16, _hoisted_2$2), $props.showItemNavigators ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
392
|
+
key: 1,
|
|
393
|
+
type: "button",
|
|
394
|
+
"class": _ctx.cx('nextItemButton'),
|
|
395
|
+
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
396
|
+
return $options.navForward($event);
|
|
397
|
+
}),
|
|
398
|
+
disabled: $options.isNavForwardDisabled()
|
|
399
|
+
}, _ctx.ptm('nextItemButton'), {
|
|
400
|
+
"data-pc-group-section": "itemnavigator"
|
|
401
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.templates.nextitemicon || 'ChevronRightIcon'), mergeProps({
|
|
402
|
+
"class": _ctx.cx('nextItemIcon')
|
|
403
|
+
}, _ctx.ptm('nextItemIcon')), null, 16, ["class"]))], 16, _hoisted_3$2)), [[_directive_ripple]]) : createCommentVNode("", true), $props.templates['caption'] ? (openBlock(), createElementBlock("div", mergeProps({
|
|
404
|
+
key: 2,
|
|
405
|
+
"class": _ctx.cx('caption')
|
|
406
|
+
}, _ctx.ptm('caption')), [$props.templates.caption ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.caption), {
|
|
407
|
+
key: 0,
|
|
408
|
+
item: $options.activeItem
|
|
409
|
+
}, null, 8, ["item"])) : createCommentVNode("", true)], 16)) : createCommentVNode("", true)], 16), $props.showIndicators ? (openBlock(), createElementBlock("ul", mergeProps({
|
|
410
|
+
key: 0,
|
|
411
|
+
ref: "indicatorContent",
|
|
412
|
+
"class": _ctx.cx('indicatorList')
|
|
413
|
+
}, _ctx.ptm('indicatorList')), [(openBlock(true), createElementBlock(Fragment, null, renderList($props.value, function (item, index) {
|
|
414
|
+
return openBlock(), createElementBlock("li", mergeProps({
|
|
415
|
+
key: "p-galleria-indicator-".concat(index),
|
|
416
|
+
"class": _ctx.cx('indicator', {
|
|
417
|
+
index: index
|
|
418
|
+
}),
|
|
419
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
420
|
+
"aria-selected": $props.activeIndex === index,
|
|
421
|
+
"aria-controls": $props.id + '_item_' + index,
|
|
422
|
+
onClick: function onClick($event) {
|
|
423
|
+
return $options.onIndicatorClick(index);
|
|
424
|
+
},
|
|
425
|
+
onMouseenter: function onMouseenter($event) {
|
|
426
|
+
return $options.onIndicatorMouseEnter(index);
|
|
427
|
+
},
|
|
428
|
+
onKeydown: function onKeydown($event) {
|
|
429
|
+
return $options.onIndicatorKeyDown($event, index);
|
|
430
|
+
},
|
|
431
|
+
ref_for: true
|
|
432
|
+
}, _ctx.ptm('indicator', $options.getIndicatorPTOptions(index)), {
|
|
433
|
+
"data-p-active": $options.isIndicatorItemActive(index)
|
|
434
|
+
}), [!$props.templates['indicator'] ? (openBlock(), createElementBlock("button", mergeProps({
|
|
435
|
+
key: 0,
|
|
436
|
+
type: "button",
|
|
437
|
+
tabindex: $props.activeIndex === index ? '0' : '-1',
|
|
438
|
+
"class": _ctx.cx('indicatorButton'),
|
|
439
|
+
ref_for: true
|
|
440
|
+
}, _ctx.ptm('indicatorButton', $options.getIndicatorPTOptions(index))), null, 16, _hoisted_5)) : createCommentVNode("", true), $props.templates.indicator ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.indicator), {
|
|
441
|
+
key: 1,
|
|
442
|
+
index: index
|
|
443
|
+
}, null, 8, ["index"])) : createCommentVNode("", true)], 16, _hoisted_4$1);
|
|
444
|
+
}), 128))], 16)) : createCommentVNode("", true)], 16);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
script$3.render = render$3;
|
|
448
|
+
|
|
449
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
450
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
451
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
452
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
453
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
454
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
455
|
+
var script$2 = {
|
|
456
|
+
name: 'GalleriaThumbnails',
|
|
457
|
+
hostName: 'Galleria',
|
|
458
|
+
"extends": BaseComponent,
|
|
459
|
+
emits: ['stop-slideshow', 'update:activeIndex'],
|
|
460
|
+
props: {
|
|
461
|
+
containerId: {
|
|
462
|
+
type: String,
|
|
463
|
+
"default": null
|
|
464
|
+
},
|
|
465
|
+
value: {
|
|
466
|
+
type: Array,
|
|
467
|
+
"default": null
|
|
468
|
+
},
|
|
469
|
+
numVisible: {
|
|
470
|
+
type: Number,
|
|
471
|
+
"default": 3
|
|
472
|
+
},
|
|
473
|
+
activeIndex: {
|
|
474
|
+
type: Number,
|
|
475
|
+
"default": 0
|
|
476
|
+
},
|
|
477
|
+
isVertical: {
|
|
478
|
+
type: Boolean,
|
|
479
|
+
"default": false
|
|
480
|
+
},
|
|
481
|
+
slideShowActive: {
|
|
482
|
+
type: Boolean,
|
|
483
|
+
"default": false
|
|
484
|
+
},
|
|
485
|
+
circular: {
|
|
486
|
+
type: Boolean,
|
|
487
|
+
"default": false
|
|
488
|
+
},
|
|
489
|
+
responsiveOptions: {
|
|
490
|
+
type: Array,
|
|
491
|
+
"default": null
|
|
492
|
+
},
|
|
493
|
+
contentHeight: {
|
|
494
|
+
type: String,
|
|
495
|
+
"default": '300px'
|
|
496
|
+
},
|
|
497
|
+
showThumbnailNavigators: {
|
|
498
|
+
type: Boolean,
|
|
499
|
+
"default": true
|
|
500
|
+
},
|
|
501
|
+
templates: {
|
|
502
|
+
type: null,
|
|
503
|
+
"default": null
|
|
504
|
+
},
|
|
505
|
+
prevButtonProps: {
|
|
506
|
+
type: null,
|
|
507
|
+
"default": null
|
|
508
|
+
},
|
|
509
|
+
nextButtonProps: {
|
|
510
|
+
type: null,
|
|
511
|
+
"default": null
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
startPos: null,
|
|
515
|
+
thumbnailsStyle: null,
|
|
516
|
+
sortedResponsiveOptions: null,
|
|
517
|
+
data: function data() {
|
|
518
|
+
return {
|
|
519
|
+
d_numVisible: this.numVisible,
|
|
520
|
+
d_oldNumVisible: this.numVisible,
|
|
521
|
+
d_activeIndex: this.activeIndex,
|
|
522
|
+
d_oldActiveItemIndex: this.activeIndex,
|
|
523
|
+
totalShiftedItems: 0,
|
|
524
|
+
page: 0
|
|
525
|
+
};
|
|
526
|
+
},
|
|
527
|
+
watch: {
|
|
528
|
+
numVisible: function numVisible(newValue, oldValue) {
|
|
529
|
+
this.d_numVisible = newValue;
|
|
530
|
+
this.d_oldNumVisible = oldValue;
|
|
531
|
+
},
|
|
532
|
+
activeIndex: function activeIndex(newValue, oldValue) {
|
|
533
|
+
this.d_activeIndex = newValue;
|
|
534
|
+
this.d_oldActiveItemIndex = oldValue;
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
mounted: function mounted() {
|
|
538
|
+
this.createStyle();
|
|
539
|
+
this.calculatePosition();
|
|
540
|
+
if (this.responsiveOptions) {
|
|
541
|
+
this.bindDocumentListeners();
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
updated: function updated() {
|
|
545
|
+
var totalShiftedItems = this.totalShiftedItems;
|
|
546
|
+
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
547
|
+
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
548
|
+
totalShiftedItems = 0;
|
|
549
|
+
} else if (this.value.length - this.d_numVisible + this.getMedianItemIndex() < this.d_activeIndex) {
|
|
550
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
551
|
+
} else if (this.value.length - this.d_numVisible < this.d_activeIndex && this.d_numVisible % 2 === 0) {
|
|
552
|
+
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex() + 1;
|
|
553
|
+
} else {
|
|
554
|
+
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
555
|
+
}
|
|
556
|
+
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
557
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
558
|
+
}
|
|
559
|
+
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
560
|
+
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
561
|
+
document.body.setAttribute('data-p-items-hidden', 'false');
|
|
562
|
+
!this.isUnstyled && DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
563
|
+
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
564
|
+
}
|
|
565
|
+
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
566
|
+
this.d_oldNumVisible = this.d_numVisible;
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
beforeUnmount: function beforeUnmount() {
|
|
570
|
+
if (this.responsiveOptions) {
|
|
571
|
+
this.unbindDocumentListeners();
|
|
572
|
+
}
|
|
573
|
+
if (this.thumbnailsStyle) {
|
|
574
|
+
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
methods: {
|
|
578
|
+
step: function step(dir) {
|
|
579
|
+
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
580
|
+
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
581
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
582
|
+
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
583
|
+
totalShiftedItems = 0;
|
|
584
|
+
}
|
|
585
|
+
if (this.circular) {
|
|
586
|
+
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
587
|
+
totalShiftedItems = 0;
|
|
588
|
+
} else if (dir > 0 && this.d_activeIndex === 0) {
|
|
589
|
+
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
if (this.$refs.itemsContainer) {
|
|
593
|
+
document.body.setAttribute('data-p-items-hidden', 'false');
|
|
594
|
+
!this.isUnstyled && DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
595
|
+
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
596
|
+
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
597
|
+
}
|
|
598
|
+
this.totalShiftedItems = totalShiftedItems;
|
|
599
|
+
},
|
|
600
|
+
stopSlideShow: function stopSlideShow() {
|
|
601
|
+
if (this.slideShowActive && this.stopSlideShow) {
|
|
602
|
+
this.$emit('stop-slideshow');
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
getMedianItemIndex: function getMedianItemIndex() {
|
|
606
|
+
var index = Math.floor(this.d_numVisible / 2);
|
|
607
|
+
return this.d_numVisible % 2 ? index : index - 1;
|
|
608
|
+
},
|
|
609
|
+
navBackward: function navBackward(e) {
|
|
610
|
+
this.stopSlideShow();
|
|
611
|
+
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
612
|
+
var diff = prevItemIndex + this.totalShiftedItems;
|
|
613
|
+
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
614
|
+
this.step(1);
|
|
615
|
+
}
|
|
616
|
+
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
617
|
+
this.$emit('update:activeIndex', activeIndex);
|
|
618
|
+
if (e.cancelable) {
|
|
619
|
+
e.preventDefault();
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
navForward: function navForward(e) {
|
|
623
|
+
this.stopSlideShow();
|
|
624
|
+
var nextItemIndex = this.d_activeIndex === this.value.length - 1 ? this.value.length - 1 : this.d_activeIndex + 1;
|
|
625
|
+
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
626
|
+
this.step(-1);
|
|
627
|
+
}
|
|
628
|
+
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
629
|
+
this.$emit('update:activeIndex', activeIndex);
|
|
630
|
+
if (e.cancelable) {
|
|
631
|
+
e.preventDefault();
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
onItemClick: function onItemClick(index) {
|
|
635
|
+
this.stopSlideShow();
|
|
636
|
+
var selectedItemIndex = index;
|
|
637
|
+
if (selectedItemIndex !== this.d_activeIndex) {
|
|
638
|
+
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
639
|
+
var dir = 0;
|
|
640
|
+
if (selectedItemIndex < this.d_activeIndex) {
|
|
641
|
+
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
642
|
+
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
643
|
+
this.step(dir);
|
|
644
|
+
}
|
|
645
|
+
} else {
|
|
646
|
+
dir = this.getMedianItemIndex() - diff;
|
|
647
|
+
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
648
|
+
this.step(dir);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
this.$emit('update:activeIndex', selectedItemIndex);
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
onThumbnailKeydown: function onThumbnailKeydown(event, index) {
|
|
655
|
+
if (event.code === 'Enter' || event.code === 'NumpadEnter' || event.code === 'Space') {
|
|
656
|
+
this.onItemClick(index);
|
|
657
|
+
event.preventDefault();
|
|
658
|
+
}
|
|
659
|
+
switch (event.code) {
|
|
660
|
+
case 'ArrowRight':
|
|
661
|
+
this.onRightKey();
|
|
662
|
+
break;
|
|
663
|
+
case 'ArrowLeft':
|
|
664
|
+
this.onLeftKey();
|
|
665
|
+
break;
|
|
666
|
+
case 'Home':
|
|
667
|
+
this.onHomeKey();
|
|
668
|
+
event.preventDefault();
|
|
669
|
+
break;
|
|
670
|
+
case 'End':
|
|
671
|
+
this.onEndKey();
|
|
672
|
+
event.preventDefault();
|
|
673
|
+
break;
|
|
674
|
+
case 'ArrowUp':
|
|
675
|
+
case 'ArrowDown':
|
|
676
|
+
event.preventDefault();
|
|
677
|
+
break;
|
|
678
|
+
case 'Tab':
|
|
679
|
+
this.onTabKey();
|
|
680
|
+
break;
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
onRightKey: function onRightKey() {
|
|
684
|
+
var indicators = DomHandler.find(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"]');
|
|
685
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
686
|
+
this.changedFocusedIndicator(activeIndex, activeIndex + 1 === indicators.length ? indicators.length - 1 : activeIndex + 1);
|
|
687
|
+
},
|
|
688
|
+
onLeftKey: function onLeftKey() {
|
|
689
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
690
|
+
this.changedFocusedIndicator(activeIndex, activeIndex - 1 <= 0 ? 0 : activeIndex - 1);
|
|
691
|
+
},
|
|
692
|
+
onHomeKey: function onHomeKey() {
|
|
693
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
694
|
+
this.changedFocusedIndicator(activeIndex, 0);
|
|
695
|
+
},
|
|
696
|
+
onEndKey: function onEndKey() {
|
|
697
|
+
var indicators = DomHandler.find(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"]');
|
|
698
|
+
var activeIndex = this.findFocusedIndicatorIndex();
|
|
699
|
+
this.changedFocusedIndicator(activeIndex, indicators.length - 1);
|
|
700
|
+
},
|
|
701
|
+
onTabKey: function onTabKey() {
|
|
702
|
+
var indicators = _toConsumableArray(DomHandler.find(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"]'));
|
|
703
|
+
var highlightedIndex = indicators.findIndex(function (ind) {
|
|
704
|
+
return DomHandler.getAttribute(ind, 'data-p-active') === true;
|
|
705
|
+
});
|
|
706
|
+
var activeIndicator = DomHandler.findSingle(this.$refs.itemsContainer, '[tabindex="0"]');
|
|
707
|
+
var activeIndex = indicators.findIndex(function (ind) {
|
|
708
|
+
return ind === activeIndicator.parentElement;
|
|
709
|
+
});
|
|
710
|
+
indicators[activeIndex].children[0].tabIndex = '-1';
|
|
711
|
+
indicators[highlightedIndex].children[0].tabIndex = '0';
|
|
712
|
+
},
|
|
713
|
+
findFocusedIndicatorIndex: function findFocusedIndicatorIndex() {
|
|
714
|
+
var indicators = _toConsumableArray(DomHandler.find(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"]'));
|
|
715
|
+
var activeIndicator = DomHandler.findSingle(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"] > [tabindex="0"]');
|
|
716
|
+
return indicators.findIndex(function (ind) {
|
|
717
|
+
return ind === activeIndicator.parentElement;
|
|
718
|
+
});
|
|
719
|
+
},
|
|
720
|
+
changedFocusedIndicator: function changedFocusedIndicator(prevInd, nextInd) {
|
|
721
|
+
var indicators = DomHandler.find(this.$refs.itemsContainer, '[data-pc-section="thumbnailitem"]');
|
|
722
|
+
indicators[prevInd].children[0].tabIndex = '-1';
|
|
723
|
+
indicators[nextInd].children[0].tabIndex = '0';
|
|
724
|
+
indicators[nextInd].children[0].focus();
|
|
725
|
+
},
|
|
726
|
+
onTransitionEnd: function onTransitionEnd(e) {
|
|
727
|
+
if (this.$refs.itemsContainer && e.propertyName === 'transform') {
|
|
728
|
+
document.body.setAttribute('data-p-items-hidden', 'true');
|
|
729
|
+
!this.isUnstyled && DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
730
|
+
this.$refs.itemsContainer.style.transition = '';
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
onTouchStart: function onTouchStart(e) {
|
|
734
|
+
var touchobj = e.changedTouches[0];
|
|
735
|
+
this.startPos = {
|
|
736
|
+
x: touchobj.pageX,
|
|
737
|
+
y: touchobj.pageY
|
|
738
|
+
};
|
|
739
|
+
},
|
|
740
|
+
onTouchMove: function onTouchMove(e) {
|
|
741
|
+
if (e.cancelable) {
|
|
742
|
+
e.preventDefault();
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
onTouchEnd: function onTouchEnd(e) {
|
|
746
|
+
var touchobj = e.changedTouches[0];
|
|
747
|
+
if (this.isVertical) {
|
|
748
|
+
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
749
|
+
} else {
|
|
750
|
+
this.changePageOnTouch(e, touchobj.pageX - this.startPos.x);
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
changePageOnTouch: function changePageOnTouch(e, diff) {
|
|
754
|
+
if (diff < 0) {
|
|
755
|
+
// left
|
|
756
|
+
this.navForward(e);
|
|
757
|
+
} else {
|
|
758
|
+
// right
|
|
759
|
+
this.navBackward(e);
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
getTotalPageNumber: function getTotalPageNumber() {
|
|
763
|
+
return this.value.length > this.d_numVisible ? this.value.length - this.d_numVisible + 1 : 0;
|
|
764
|
+
},
|
|
765
|
+
createStyle: function createStyle() {
|
|
766
|
+
if (!this.thumbnailsStyle) {
|
|
767
|
+
var _this$$primevue;
|
|
768
|
+
this.thumbnailsStyle = document.createElement('style');
|
|
769
|
+
this.thumbnailsStyle.type = 'text/css';
|
|
770
|
+
DomHandler.setAttribute(this.thumbnailsStyle, 'nonce', (_this$$primevue = this.$primevue) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.config) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.csp) === null || _this$$primevue === void 0 ? void 0 : _this$$primevue.nonce);
|
|
771
|
+
document.body.appendChild(this.thumbnailsStyle);
|
|
772
|
+
}
|
|
773
|
+
var innerHTML = "\n #".concat(this.containerId, " [data-pc-section=\"thumbnailitem\"] {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
774
|
+
if (this.responsiveOptions && !this.isUnstyled) {
|
|
775
|
+
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
776
|
+
var comparer = ObjectUtils.localeComparator();
|
|
777
|
+
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
778
|
+
var value1 = data1.breakpoint;
|
|
779
|
+
var value2 = data2.breakpoint;
|
|
780
|
+
return ObjectUtils.sort(value1, value2, -1, comparer);
|
|
781
|
+
});
|
|
782
|
+
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
783
|
+
var res = this.sortedResponsiveOptions[i];
|
|
784
|
+
innerHTML += "\n @media screen and (max-width: ".concat(res.breakpoint, ") {\n #").concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / res.numVisible, "%\n }\n }\n ");
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
788
|
+
},
|
|
789
|
+
calculatePosition: function calculatePosition() {
|
|
790
|
+
if (this.$refs.itemsContainer && this.sortedResponsiveOptions) {
|
|
791
|
+
var windowWidth = window.innerWidth;
|
|
792
|
+
var matchedResponsiveData = {
|
|
793
|
+
numVisible: this.numVisible
|
|
794
|
+
};
|
|
795
|
+
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
796
|
+
var res = this.sortedResponsiveOptions[i];
|
|
797
|
+
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
798
|
+
matchedResponsiveData = res;
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
802
|
+
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
bindDocumentListeners: function bindDocumentListeners() {
|
|
807
|
+
var _this = this;
|
|
808
|
+
if (!this.documentResizeListener) {
|
|
809
|
+
this.documentResizeListener = function () {
|
|
810
|
+
_this.calculatePosition();
|
|
811
|
+
};
|
|
812
|
+
window.addEventListener('resize', this.documentResizeListener);
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
unbindDocumentListeners: function unbindDocumentListeners() {
|
|
816
|
+
if (this.documentResizeListener) {
|
|
817
|
+
window.removeEventListener('resize', this.documentResizeListener);
|
|
818
|
+
this.documentResizeListener = null;
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
isNavBackwardDisabled: function isNavBackwardDisabled() {
|
|
822
|
+
return !this.circular && this.d_activeIndex === 0 || this.value.length <= this.d_numVisible;
|
|
823
|
+
},
|
|
824
|
+
isNavForwardDisabled: function isNavForwardDisabled() {
|
|
825
|
+
return !this.circular && this.d_activeIndex === this.value.length - 1 || this.value.length <= this.d_numVisible;
|
|
826
|
+
},
|
|
827
|
+
firstItemAciveIndex: function firstItemAciveIndex() {
|
|
828
|
+
return this.totalShiftedItems * -1;
|
|
829
|
+
},
|
|
830
|
+
lastItemActiveIndex: function lastItemActiveIndex() {
|
|
831
|
+
return this.firstItemAciveIndex() + this.d_numVisible - 1;
|
|
832
|
+
},
|
|
833
|
+
isItemActive: function isItemActive(index) {
|
|
834
|
+
return this.firstItemAciveIndex() <= index && this.lastItemActiveIndex() >= index;
|
|
835
|
+
},
|
|
836
|
+
ariaPageLabel: function ariaPageLabel(value) {
|
|
837
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
computed: {
|
|
841
|
+
ariaPrevButtonLabel: function ariaPrevButtonLabel() {
|
|
842
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.prevPageLabel : undefined;
|
|
843
|
+
},
|
|
844
|
+
ariaNextButtonLabel: function ariaNextButtonLabel() {
|
|
845
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.nextPageLabel : undefined;
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
components: {
|
|
849
|
+
ChevronLeftIcon: ChevronLeftIcon,
|
|
850
|
+
ChevronRightIcon: ChevronRightIcon,
|
|
851
|
+
ChevronUpIcon: ChevronUpIcon,
|
|
852
|
+
ChevronDownIcon: ChevronDownIcon
|
|
853
|
+
},
|
|
854
|
+
directives: {
|
|
855
|
+
ripple: Ripple
|
|
856
|
+
}
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "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$2(o); }
|
|
860
|
+
function ownKeys$2(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; }
|
|
861
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty$2(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
862
|
+
function _defineProperty$2(e, r, t) { return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
863
|
+
function _toPropertyKey$2(t) { var i = _toPrimitive$2(t, "string"); return "symbol" == _typeof$2(i) ? i : i + ""; }
|
|
864
|
+
function _toPrimitive$2(t, r) { if ("object" != _typeof$2(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$2(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
865
|
+
var _hoisted_1$2 = ["disabled", "aria-label"];
|
|
866
|
+
var _hoisted_2$1 = ["data-p-active", "aria-selected", "aria-controls", "onKeydown", "data-p-galleria-thumbnail-item-current", "data-p-galleria-thumbnail-item-active", "data-p-galleria-thumbnail-item-start", "data-p-galleria-thumbnail-item-end"];
|
|
867
|
+
var _hoisted_3$1 = ["tabindex", "aria-label", "aria-current", "onClick"];
|
|
868
|
+
var _hoisted_4 = ["disabled", "aria-label"];
|
|
869
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
870
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
871
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
872
|
+
"class": _ctx.cx('thumbnails')
|
|
873
|
+
}, _ctx.ptm('thumbnails')), [createElementVNode("div", mergeProps({
|
|
874
|
+
"class": _ctx.cx('thumbnailContent')
|
|
875
|
+
}, _ctx.ptm('thumbnailContent')), [$props.showThumbnailNavigators ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
876
|
+
key: 0,
|
|
877
|
+
"class": _ctx.cx('previousThumbnailButton'),
|
|
878
|
+
disabled: $options.isNavBackwardDisabled(),
|
|
879
|
+
type: "button",
|
|
880
|
+
"aria-label": $options.ariaPrevButtonLabel,
|
|
881
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
882
|
+
return $options.navBackward($event);
|
|
883
|
+
})
|
|
884
|
+
}, _objectSpread$2(_objectSpread$2({}, $props.prevButtonProps), _ctx.ptm('previousThumbnailButton')), {
|
|
885
|
+
"data-pc-group-section": "thumbnailnavigator"
|
|
886
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.templates.previousthumbnailicon || ($props.isVertical ? 'ChevronUpIcon' : 'ChevronLeftIcon')), mergeProps({
|
|
887
|
+
"class": _ctx.cx('previousThumbnailIcon')
|
|
888
|
+
}, _ctx.ptm('previousThumbnailIcon')), null, 16, ["class"]))], 16, _hoisted_1$2)), [[_directive_ripple]]) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
889
|
+
"class": _ctx.cx('thumbnailsViewport'),
|
|
890
|
+
style: {
|
|
891
|
+
height: $props.isVertical ? $props.contentHeight : ''
|
|
892
|
+
}
|
|
893
|
+
}, _ctx.ptm('thumbnailsViewport')), [createElementVNode("div", mergeProps({
|
|
894
|
+
ref: "itemsContainer",
|
|
895
|
+
"class": _ctx.cx('thumbnailItems'),
|
|
896
|
+
role: "tablist",
|
|
897
|
+
onTransitionend: _cache[1] || (_cache[1] = function ($event) {
|
|
898
|
+
return $options.onTransitionEnd($event);
|
|
899
|
+
}),
|
|
900
|
+
onTouchstart: _cache[2] || (_cache[2] = function ($event) {
|
|
901
|
+
return $options.onTouchStart($event);
|
|
902
|
+
}),
|
|
903
|
+
onTouchmove: _cache[3] || (_cache[3] = function ($event) {
|
|
904
|
+
return $options.onTouchMove($event);
|
|
905
|
+
}),
|
|
906
|
+
onTouchend: _cache[4] || (_cache[4] = function ($event) {
|
|
907
|
+
return $options.onTouchEnd($event);
|
|
908
|
+
})
|
|
909
|
+
}, _ctx.ptm('thumbnailItems')), [(openBlock(true), createElementBlock(Fragment, null, renderList($props.value, function (item, index) {
|
|
910
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
911
|
+
key: "p-galleria-thumbnail-item-".concat(index),
|
|
912
|
+
"class": _ctx.cx('thumbnailItem', {
|
|
913
|
+
index: index,
|
|
914
|
+
activeIndex: $props.activeIndex
|
|
915
|
+
}),
|
|
916
|
+
role: "tab",
|
|
917
|
+
"data-p-active": $props.activeIndex === index,
|
|
918
|
+
"aria-selected": $props.activeIndex === index,
|
|
919
|
+
"aria-controls": $props.containerId + '_item_' + index,
|
|
920
|
+
onKeydown: function onKeydown($event) {
|
|
921
|
+
return $options.onThumbnailKeydown($event, index);
|
|
922
|
+
},
|
|
923
|
+
ref_for: true
|
|
924
|
+
}, _ctx.ptm('thumbnailItem'), {
|
|
925
|
+
"data-p-galleria-thumbnail-item-current": $props.activeIndex === index,
|
|
926
|
+
"data-p-galleria-thumbnail-item-active": $options.isItemActive(index),
|
|
927
|
+
"data-p-galleria-thumbnail-item-start": $options.firstItemAciveIndex() === index,
|
|
928
|
+
"data-p-galleria-thumbnail-item-end": $options.lastItemActiveIndex() === index
|
|
929
|
+
}), [createElementVNode("div", mergeProps({
|
|
930
|
+
"class": _ctx.cx('thumbnail'),
|
|
931
|
+
tabindex: $props.activeIndex === index ? '0' : '-1',
|
|
932
|
+
"aria-label": $options.ariaPageLabel(index + 1),
|
|
933
|
+
"aria-current": $props.activeIndex === index ? 'page' : undefined,
|
|
934
|
+
onClick: function onClick($event) {
|
|
935
|
+
return $options.onItemClick(index);
|
|
936
|
+
},
|
|
937
|
+
ref_for: true
|
|
938
|
+
}, _ctx.ptm('thumbnail')), [$props.templates.thumbnail ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.thumbnail), {
|
|
939
|
+
key: 0,
|
|
940
|
+
item: item
|
|
941
|
+
}, null, 8, ["item"])) : createCommentVNode("", true)], 16, _hoisted_3$1)], 16, _hoisted_2$1);
|
|
942
|
+
}), 128))], 16)], 16), $props.showThumbnailNavigators ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
943
|
+
key: 1,
|
|
944
|
+
"class": _ctx.cx('nextThumbnailButton'),
|
|
945
|
+
disabled: $options.isNavForwardDisabled(),
|
|
946
|
+
type: "button",
|
|
947
|
+
"aria-label": $options.ariaNextButtonLabel,
|
|
948
|
+
onClick: _cache[5] || (_cache[5] = function ($event) {
|
|
949
|
+
return $options.navForward($event);
|
|
950
|
+
})
|
|
951
|
+
}, _objectSpread$2(_objectSpread$2({}, $props.nextButtonProps), _ctx.ptm('nextThumbnailButton')), {
|
|
952
|
+
"data-pc-group-section": "thumbnailnavigator"
|
|
953
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.templates.nextthumbnailicon || ($props.isVertical ? 'ChevronDownIcon' : 'ChevronRightIcon')), mergeProps({
|
|
954
|
+
"class": _ctx.cx('nextThumbnailIcon')
|
|
955
|
+
}, _ctx.ptm('nextThumbnailIcon')), null, 16, ["class"]))], 16, _hoisted_4)), [[_directive_ripple]]) : createCommentVNode("", true)], 16)], 16);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
script$2.render = render$2;
|
|
959
|
+
|
|
960
|
+
function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
|
|
961
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
962
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
963
|
+
function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
964
|
+
function _toPropertyKey$1(t) { var i = _toPrimitive$1(t, "string"); return "symbol" == _typeof$1(i) ? i : i + ""; }
|
|
965
|
+
function _toPrimitive$1(t, r) { if ("object" != _typeof$1(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
966
|
+
var script$1 = {
|
|
967
|
+
name: 'GalleriaContent',
|
|
968
|
+
hostName: 'Galleria',
|
|
969
|
+
"extends": BaseComponent,
|
|
970
|
+
inheritAttrs: false,
|
|
971
|
+
interval: null,
|
|
972
|
+
emits: ['activeitem-change', 'mask-hide'],
|
|
973
|
+
data: function data() {
|
|
974
|
+
return {
|
|
975
|
+
id: this.$attrs.id || UniqueComponentId(),
|
|
976
|
+
activeIndex: this.$attrs.activeIndex,
|
|
977
|
+
numVisible: this.$attrs.numVisible,
|
|
978
|
+
slideShowActive: false
|
|
979
|
+
};
|
|
980
|
+
},
|
|
981
|
+
watch: {
|
|
982
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
983
|
+
this.id = newValue || UniqueComponentId();
|
|
984
|
+
},
|
|
985
|
+
'$attrs.value': function $attrsValue(newVal) {
|
|
986
|
+
if (newVal && newVal.length < this.numVisible) {
|
|
987
|
+
this.numVisible = newVal.length;
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
'$attrs.activeIndex': function $attrsActiveIndex(newVal) {
|
|
991
|
+
this.activeIndex = newVal;
|
|
992
|
+
},
|
|
993
|
+
'$attrs.numVisible': function $attrsNumVisible(newVal) {
|
|
994
|
+
this.numVisible = newVal;
|
|
995
|
+
},
|
|
996
|
+
'$attrs.autoPlay': function $attrsAutoPlay(newVal) {
|
|
997
|
+
newVal ? this.startSlideShow() : this.stopSlideShow();
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
mounted: function mounted() {
|
|
1001
|
+
this.id = this.id || UniqueComponentId();
|
|
1002
|
+
},
|
|
1003
|
+
updated: function updated() {
|
|
1004
|
+
this.$emit('activeitem-change', this.activeIndex);
|
|
1005
|
+
},
|
|
1006
|
+
beforeUnmount: function beforeUnmount() {
|
|
1007
|
+
if (this.slideShowActive) {
|
|
1008
|
+
this.stopSlideShow();
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
methods: {
|
|
1012
|
+
getPTOptions: function getPTOptions(key) {
|
|
1013
|
+
return this.ptm(key, {
|
|
1014
|
+
props: _objectSpread$1(_objectSpread$1({}, this.$attrs), {}, {
|
|
1015
|
+
pt: this.pt,
|
|
1016
|
+
unstyled: this.unstyled
|
|
1017
|
+
})
|
|
1018
|
+
});
|
|
1019
|
+
},
|
|
1020
|
+
isAutoPlayActive: function isAutoPlayActive() {
|
|
1021
|
+
return this.slideShowActive;
|
|
1022
|
+
},
|
|
1023
|
+
startSlideShow: function startSlideShow() {
|
|
1024
|
+
var _this = this;
|
|
1025
|
+
this.interval = setInterval(function () {
|
|
1026
|
+
var activeIndex = _this.$attrs.circular && _this.$attrs.value.length - 1 === _this.activeIndex ? 0 : _this.activeIndex + 1;
|
|
1027
|
+
_this.activeIndex = activeIndex;
|
|
1028
|
+
}, this.$attrs.transitionInterval);
|
|
1029
|
+
this.slideShowActive = true;
|
|
1030
|
+
},
|
|
1031
|
+
stopSlideShow: function stopSlideShow() {
|
|
1032
|
+
if (this.interval) {
|
|
1033
|
+
clearInterval(this.interval);
|
|
1034
|
+
}
|
|
1035
|
+
this.slideShowActive = false;
|
|
1036
|
+
},
|
|
1037
|
+
getPositionClass: function getPositionClass(preClassName, position) {
|
|
1038
|
+
var positions = ['top', 'left', 'bottom', 'right'];
|
|
1039
|
+
var pos = positions.find(function (item) {
|
|
1040
|
+
return item === position;
|
|
1041
|
+
});
|
|
1042
|
+
return pos ? "".concat(preClassName, "-").concat(pos) : '';
|
|
1043
|
+
},
|
|
1044
|
+
isVertical: function isVertical() {
|
|
1045
|
+
return this.$attrs.thumbnailsPosition === 'left' || this.$attrs.thumbnailsPosition === 'right';
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
computed: {
|
|
1049
|
+
closeAriaLabel: function closeAriaLabel() {
|
|
1050
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
components: {
|
|
1054
|
+
GalleriaItem: script$3,
|
|
1055
|
+
GalleriaThumbnails: script$2,
|
|
1056
|
+
TimesIcon: TimesIcon
|
|
1057
|
+
},
|
|
1058
|
+
directives: {
|
|
1059
|
+
ripple: Ripple
|
|
1060
|
+
}
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
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); }
|
|
1064
|
+
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; }
|
|
1065
|
+
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; }
|
|
1066
|
+
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; }
|
|
1067
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
1068
|
+
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); }
|
|
1069
|
+
var _hoisted_1$1 = ["id", "aria-label", "aria-roledescription"];
|
|
1070
|
+
var _hoisted_2 = ["aria-label"];
|
|
1071
|
+
var _hoisted_3 = ["aria-live"];
|
|
1072
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1073
|
+
var _component_GalleriaItem = resolveComponent("GalleriaItem");
|
|
1074
|
+
var _component_GalleriaThumbnails = resolveComponent("GalleriaThumbnails");
|
|
1075
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
1076
|
+
return _ctx.$attrs.value && _ctx.$attrs.value.length > 0 ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1077
|
+
key: 0,
|
|
1078
|
+
id: $data.id,
|
|
1079
|
+
role: "region",
|
|
1080
|
+
"class": [_ctx.cx('root'), _ctx.$attrs.containerClass],
|
|
1081
|
+
style: _ctx.$attrs.containerStyle,
|
|
1082
|
+
"aria-label": _ctx.$attrs.ariaLabel,
|
|
1083
|
+
"aria-roledescription": _ctx.$attrs.ariaRoledescription
|
|
1084
|
+
}, _objectSpread(_objectSpread({}, _ctx.$attrs.containerProps), $options.getPTOptions('root'))), [_ctx.$attrs.fullScreen ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
1085
|
+
key: 0,
|
|
1086
|
+
autofocus: "",
|
|
1087
|
+
type: "button",
|
|
1088
|
+
"class": _ctx.cx('closeButton'),
|
|
1089
|
+
"aria-label": $options.closeAriaLabel,
|
|
1090
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
1091
|
+
return _ctx.$emit('mask-hide');
|
|
1092
|
+
})
|
|
1093
|
+
}, $options.getPTOptions('closeButton')), [(openBlock(), createBlock(resolveDynamicComponent(_ctx.$attrs.templates['closeicon'] || 'TimesIcon'), mergeProps({
|
|
1094
|
+
"class": _ctx.cx('closeIcon')
|
|
1095
|
+
}, $options.getPTOptions('closeIcon')), null, 16, ["class"]))], 16, _hoisted_2)), [[_directive_ripple]]) : createCommentVNode("", true), _ctx.$attrs.templates && _ctx.$attrs.templates['header'] ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1096
|
+
key: 1,
|
|
1097
|
+
"class": _ctx.cx('header')
|
|
1098
|
+
}, $options.getPTOptions('header')), [(openBlock(), createBlock(resolveDynamicComponent(_ctx.$attrs.templates['header'])))], 16)) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
1099
|
+
"class": _ctx.cx('content'),
|
|
1100
|
+
"aria-live": _ctx.$attrs.autoPlay ? 'polite' : 'off'
|
|
1101
|
+
}, $options.getPTOptions('content')), [createVNode(_component_GalleriaItem, {
|
|
1102
|
+
id: $data.id,
|
|
1103
|
+
activeIndex: $data.activeIndex,
|
|
1104
|
+
"onUpdate:activeIndex": _cache[1] || (_cache[1] = function ($event) {
|
|
1105
|
+
return $data.activeIndex = $event;
|
|
1106
|
+
}),
|
|
1107
|
+
slideShowActive: $data.slideShowActive,
|
|
1108
|
+
"onUpdate:slideShowActive": _cache[2] || (_cache[2] = function ($event) {
|
|
1109
|
+
return $data.slideShowActive = $event;
|
|
1110
|
+
}),
|
|
1111
|
+
value: _ctx.$attrs.value,
|
|
1112
|
+
circular: _ctx.$attrs.circular,
|
|
1113
|
+
templates: _ctx.$attrs.templates,
|
|
1114
|
+
showIndicators: _ctx.$attrs.showIndicators,
|
|
1115
|
+
changeItemOnIndicatorHover: _ctx.$attrs.changeItemOnIndicatorHover,
|
|
1116
|
+
showItemNavigators: _ctx.$attrs.showItemNavigators,
|
|
1117
|
+
autoPlay: _ctx.$attrs.autoPlay,
|
|
1118
|
+
onStartSlideshow: $options.startSlideShow,
|
|
1119
|
+
onStopSlideshow: $options.stopSlideShow,
|
|
1120
|
+
pt: _ctx.pt,
|
|
1121
|
+
unstyled: _ctx.unstyled
|
|
1122
|
+
}, null, 8, ["id", "activeIndex", "slideShowActive", "value", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "showItemNavigators", "autoPlay", "onStartSlideshow", "onStopSlideshow", "pt", "unstyled"]), _ctx.$attrs.showThumbnails ? (openBlock(), createBlock(_component_GalleriaThumbnails, {
|
|
1123
|
+
key: 0,
|
|
1124
|
+
activeIndex: $data.activeIndex,
|
|
1125
|
+
"onUpdate:activeIndex": _cache[3] || (_cache[3] = function ($event) {
|
|
1126
|
+
return $data.activeIndex = $event;
|
|
1127
|
+
}),
|
|
1128
|
+
slideShowActive: $data.slideShowActive,
|
|
1129
|
+
"onUpdate:slideShowActive": _cache[4] || (_cache[4] = function ($event) {
|
|
1130
|
+
return $data.slideShowActive = $event;
|
|
1131
|
+
}),
|
|
1132
|
+
containerId: $data.id,
|
|
1133
|
+
value: _ctx.$attrs.value,
|
|
1134
|
+
templates: _ctx.$attrs.templates,
|
|
1135
|
+
numVisible: $data.numVisible,
|
|
1136
|
+
responsiveOptions: _ctx.$attrs.responsiveOptions,
|
|
1137
|
+
circular: _ctx.$attrs.circular,
|
|
1138
|
+
isVertical: $options.isVertical(),
|
|
1139
|
+
contentHeight: _ctx.$attrs.verticalThumbnailViewPortHeight,
|
|
1140
|
+
showThumbnailNavigators: _ctx.$attrs.showThumbnailNavigators,
|
|
1141
|
+
prevButtonProps: _ctx.$attrs.prevButtonProps,
|
|
1142
|
+
nextButtonProps: _ctx.$attrs.nextButtonProps,
|
|
1143
|
+
onStopSlideshow: $options.stopSlideShow,
|
|
1144
|
+
pt: _ctx.pt,
|
|
1145
|
+
unstyled: _ctx.unstyled
|
|
1146
|
+
}, null, 8, ["activeIndex", "slideShowActive", "containerId", "value", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "prevButtonProps", "nextButtonProps", "onStopSlideshow", "pt", "unstyled"])) : createCommentVNode("", true)], 16, _hoisted_3), _ctx.$attrs.templates && _ctx.$attrs.templates['footer'] ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1147
|
+
key: 2,
|
|
1148
|
+
"class": _ctx.cx('footer')
|
|
1149
|
+
}, $options.getPTOptions('footer')), [(openBlock(), createBlock(resolveDynamicComponent(_ctx.$attrs.templates['footer'])))], 16)) : createCommentVNode("", true)], 16, _hoisted_1$1)) : createCommentVNode("", true);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
script$1.render = render$1;
|
|
1153
|
+
|
|
1154
|
+
var script = {
|
|
1155
|
+
name: 'Galleria',
|
|
1156
|
+
"extends": script$4,
|
|
1157
|
+
inheritAttrs: false,
|
|
1158
|
+
emits: ['update:activeIndex', 'update:visible'],
|
|
1159
|
+
container: null,
|
|
1160
|
+
mask: null,
|
|
1161
|
+
data: function data() {
|
|
1162
|
+
return {
|
|
1163
|
+
containerVisible: this.visible
|
|
1164
|
+
};
|
|
1165
|
+
},
|
|
1166
|
+
updated: function updated() {
|
|
1167
|
+
if (this.fullScreen && this.visible) {
|
|
1168
|
+
this.containerVisible = this.visible;
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
beforeUnmount: function beforeUnmount() {
|
|
1172
|
+
if (this.fullScreen) {
|
|
1173
|
+
DomHandler.unblockBodyScroll();
|
|
1174
|
+
}
|
|
1175
|
+
this.mask = null;
|
|
1176
|
+
if (this.container) {
|
|
1177
|
+
ZIndexUtils.clear(this.container);
|
|
1178
|
+
this.container = null;
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
methods: {
|
|
1182
|
+
onBeforeEnter: function onBeforeEnter(el) {
|
|
1183
|
+
ZIndexUtils.set('modal', el, this.baseZIndex || this.$primevue.config.zIndex.modal);
|
|
1184
|
+
},
|
|
1185
|
+
onEnter: function onEnter(el) {
|
|
1186
|
+
this.mask.style.zIndex = String(parseInt(el.style.zIndex, 10) - 1);
|
|
1187
|
+
DomHandler.blockBodyScroll();
|
|
1188
|
+
this.focus();
|
|
1189
|
+
},
|
|
1190
|
+
onBeforeLeave: function onBeforeLeave() {
|
|
1191
|
+
!this.isUnstyled && DomHandler.addClass(this.mask, 'p-overlay-mask-leave');
|
|
1192
|
+
},
|
|
1193
|
+
onAfterLeave: function onAfterLeave(el) {
|
|
1194
|
+
ZIndexUtils.clear(el);
|
|
1195
|
+
this.containerVisible = false;
|
|
1196
|
+
DomHandler.unblockBodyScroll();
|
|
1197
|
+
},
|
|
1198
|
+
onActiveItemChange: function onActiveItemChange(index) {
|
|
1199
|
+
if (this.activeIndex !== index) {
|
|
1200
|
+
this.$emit('update:activeIndex', index);
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
maskHide: function maskHide() {
|
|
1204
|
+
this.$emit('update:visible', false);
|
|
1205
|
+
},
|
|
1206
|
+
containerRef: function containerRef(el) {
|
|
1207
|
+
this.container = el;
|
|
1208
|
+
},
|
|
1209
|
+
maskRef: function maskRef(el) {
|
|
1210
|
+
this.mask = el;
|
|
1211
|
+
},
|
|
1212
|
+
focus: function focus() {
|
|
1213
|
+
var focusTarget = this.container.$el.querySelector('[autofocus]');
|
|
1214
|
+
if (focusTarget) {
|
|
1215
|
+
focusTarget.focus();
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
components: {
|
|
1220
|
+
GalleriaContent: script$1,
|
|
1221
|
+
Portal: Portal
|
|
1222
|
+
},
|
|
1223
|
+
directives: {
|
|
1224
|
+
focustrap: FocusTrap
|
|
1225
|
+
}
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
var _hoisted_1 = ["aria-modal"];
|
|
1229
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1230
|
+
var _component_GalleriaContent = resolveComponent("GalleriaContent");
|
|
1231
|
+
var _component_Portal = resolveComponent("Portal");
|
|
1232
|
+
var _directive_focustrap = resolveDirective("focustrap");
|
|
1233
|
+
return _ctx.fullScreen ? (openBlock(), createBlock(_component_Portal, {
|
|
1234
|
+
key: 0
|
|
1235
|
+
}, {
|
|
1236
|
+
"default": withCtx(function () {
|
|
1237
|
+
return [$data.containerVisible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1238
|
+
key: 0,
|
|
1239
|
+
ref: $options.maskRef,
|
|
1240
|
+
"class": [_ctx.cx('mask'), _ctx.maskClass],
|
|
1241
|
+
role: "dialog",
|
|
1242
|
+
"aria-modal": _ctx.fullScreen ? 'true' : undefined
|
|
1243
|
+
}, _ctx.ptm('mask')), [createVNode(Transition, mergeProps({
|
|
1244
|
+
name: "p-galleria",
|
|
1245
|
+
onBeforeEnter: $options.onBeforeEnter,
|
|
1246
|
+
onEnter: $options.onEnter,
|
|
1247
|
+
onBeforeLeave: $options.onBeforeLeave,
|
|
1248
|
+
onAfterLeave: $options.onAfterLeave,
|
|
1249
|
+
appear: ""
|
|
1250
|
+
}, _ctx.ptm('transition')), {
|
|
1251
|
+
"default": withCtx(function () {
|
|
1252
|
+
return [_ctx.visible ? withDirectives((openBlock(), createBlock(_component_GalleriaContent, mergeProps({
|
|
1253
|
+
key: 0,
|
|
1254
|
+
ref: $options.containerRef,
|
|
1255
|
+
onMaskHide: $options.maskHide,
|
|
1256
|
+
templates: _ctx.$slots,
|
|
1257
|
+
onActiveitemChange: $options.onActiveItemChange,
|
|
1258
|
+
pt: _ctx.pt,
|
|
1259
|
+
unstyled: _ctx.unstyled
|
|
1260
|
+
}, _ctx.$props), null, 16, ["onMaskHide", "templates", "onActiveitemChange", "pt", "unstyled"])), [[_directive_focustrap]]) : createCommentVNode("", true)];
|
|
1261
|
+
}),
|
|
1262
|
+
_: 1
|
|
1263
|
+
}, 16, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])], 16, _hoisted_1)) : createCommentVNode("", true)];
|
|
1264
|
+
}),
|
|
1265
|
+
_: 1
|
|
1266
|
+
})) : (openBlock(), createBlock(_component_GalleriaContent, mergeProps({
|
|
1267
|
+
key: 1,
|
|
1268
|
+
templates: _ctx.$slots,
|
|
1269
|
+
onActiveitemChange: $options.onActiveItemChange,
|
|
1270
|
+
pt: _ctx.pt,
|
|
1271
|
+
unstyled: _ctx.unstyled
|
|
1272
|
+
}, _ctx.$props), null, 16, ["templates", "onActiveitemChange", "pt", "unstyled"]));
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
script.render = render;
|
|
1276
|
+
|
|
1277
|
+
export { script as default };
|
|
1278
|
+
//# sourceMappingURL=galleria.mjs.map
|