primevue 3.37.0 → 3.38.0
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/accordion/accordion.cjs.js +2 -2
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +2 -2
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +2 -2
- package/accordion/accordion.min.js +1 -1
- package/animateonscroll/animateonscroll.cjs.js +132 -0
- package/animateonscroll/animateonscroll.cjs.min.js +1 -0
- package/animateonscroll/animateonscroll.esm.js +126 -0
- package/animateonscroll/animateonscroll.esm.min.js +1 -0
- package/animateonscroll/animateonscroll.js +133 -0
- package/animateonscroll/animateonscroll.min.js +1 -0
- package/animateonscroll/style/animateonscrollstyle.cjs.js +5 -0
- package/animateonscroll/style/animateonscrollstyle.esm.js +3 -0
- package/animateonscroll/style/animateonscrollstyle.js +10 -0
- package/animateonscroll/style/animateonscrollstyle.min.js +1 -0
- package/autocomplete/autocomplete.cjs.js +1 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +1 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +1 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/basedirective/basedirective.cjs.js +3 -1
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +3 -1
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +3 -1
- package/basedirective/basedirective.min.js +1 -1
- package/carousel/carousel.cjs.js +5 -0
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +5 -0
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +5 -0
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +1 -1
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +1 -1
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +1 -1
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.cjs.js +2 -2
- package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.esm.js +2 -2
- package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.js +2 -2
- package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
- package/core/core.js +37 -15
- package/core/core.min.js +8 -8
- package/dropdown/dropdown.cjs.js +1 -1
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +1 -1
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +1 -1
- package/dropdown/dropdown.min.js +1 -1
- package/fileupload/fileupload.cjs.js +1 -2
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +1 -2
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +1 -2
- package/fileupload/fileupload.min.js +1 -1
- package/listbox/listbox.cjs.js +1 -1
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +1 -1
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +1 -1
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +2 -2
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +2 -2
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -2
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/style/megamenustyle.cjs.js +1 -0
- package/megamenu/style/megamenustyle.cjs.min.js +1 -1
- package/megamenu/style/megamenustyle.esm.js +1 -0
- package/megamenu/style/megamenustyle.esm.min.js +1 -1
- package/megamenu/style/megamenustyle.js +1 -0
- package/megamenu/style/megamenustyle.min.js +1 -1
- package/message/message.cjs.js +7 -0
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +7 -0
- package/message/message.esm.min.js +1 -1
- package/message/message.js +7 -0
- package/message/message.min.js +1 -1
- package/multiselect/multiselect.cjs.js +1 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +1 -1
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +1 -1
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +4 -1
- package/panelmenu/panelmenu.cjs.js +1 -1
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +1 -1
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +1 -1
- package/panelmenu/panelmenu.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +1 -0
- package/resources/themes/arya-green/theme.css +1 -0
- package/resources/themes/arya-orange/theme.css +1 -0
- package/resources/themes/arya-purple/theme.css +1 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +1 -0
- package/resources/themes/bootstrap4-dark-purple/theme.css +1 -0
- package/resources/themes/bootstrap4-light-blue/theme.css +1 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +1 -0
- package/resources/themes/fluent-light/theme.css +1 -0
- package/resources/themes/lara-dark-blue/theme.css +255 -240
- package/resources/themes/lara-dark-indigo/theme.css +255 -240
- package/resources/themes/lara-dark-purple/theme.css +255 -240
- package/resources/themes/lara-dark-teal/theme.css +255 -240
- package/resources/themes/lara-light-blue/theme.css +16 -1
- package/resources/themes/lara-light-indigo/theme.css +16 -1
- package/resources/themes/lara-light-purple/theme.css +16 -1
- package/resources/themes/lara-light-teal/theme.css +16 -1
- package/resources/themes/luna-amber/theme.css +1 -0
- package/resources/themes/luna-blue/theme.css +1 -0
- package/resources/themes/luna-green/theme.css +1 -0
- package/resources/themes/luna-pink/theme.css +1 -0
- package/resources/themes/md-dark-deeppurple/theme.css +1 -0
- package/resources/themes/md-dark-indigo/theme.css +1 -0
- package/resources/themes/md-light-deeppurple/theme.css +1 -0
- package/resources/themes/md-light-indigo/theme.css +1 -0
- package/resources/themes/mdc-dark-deeppurple/theme.css +1 -0
- package/resources/themes/mdc-dark-indigo/theme.css +1 -0
- package/resources/themes/mdc-light-deeppurple/theme.css +1 -0
- package/resources/themes/mdc-light-indigo/theme.css +1 -0
- package/resources/themes/mira/theme.css +6 -0
- package/resources/themes/nano/theme.css +7 -0
- package/resources/themes/nova/theme.css +1 -0
- package/resources/themes/nova-accent/theme.css +1 -0
- package/resources/themes/nova-alt/theme.css +1 -0
- package/resources/themes/nova-vue/theme.css +1 -0
- package/resources/themes/rhea/theme.css +1 -0
- package/resources/themes/saga-blue/theme.css +1 -0
- package/resources/themes/saga-green/theme.css +1 -0
- package/resources/themes/saga-orange/theme.css +1 -0
- package/resources/themes/saga-purple/theme.css +1 -0
- package/resources/themes/soho-dark/theme.css +10 -0
- package/resources/themes/soho-light/theme.css +6 -0
- package/resources/themes/tailwind-light/theme.css +1 -0
- package/resources/themes/vela-blue/theme.css +1 -0
- package/resources/themes/vela-green/theme.css +1 -0
- package/resources/themes/vela-orange/theme.css +1 -0
- package/resources/themes/vela-purple/theme.css +1 -0
- package/resources/themes/viva-dark/theme.css +1 -0
- package/resources/themes/viva-light/theme.css +1 -0
- package/scrollpanel/scrollpanel.cjs.js +30 -28
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +30 -28
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +30 -28
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/splitter/splitter.cjs.js +6 -4
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +6 -4
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +6 -4
- package/splitter/splitter.min.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
- package/tooltip/style/tooltipstyle.esm.js +1 -1
- package/tooltip/style/tooltipstyle.esm.min.js +1 -1
- package/tooltip/style/tooltipstyle.js +1 -1
- package/tooltip/style/tooltipstyle.min.js +1 -1
- package/utils/utils.cjs.js +18 -6
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +18 -6
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +18 -6
- package/utils/utils.min.js +1 -1
- package/web-types.json +18 -1
- package/LICENSE.md +0 -21
- package/README.md +0 -173
- package/accordion/Accordion.d.ts +0 -225
- package/accordion/Accordion.vue +0 -253
- package/accordion/BaseAccordion.vue +0 -45
- package/accordion/package.json +0 -9
- package/accordion/style/AccordionStyle.d.ts +0 -3
- package/accordion/style/package.json +0 -6
- package/accordiontab/AccordionTab.d.ts +0 -226
- package/accordiontab/AccordionTab.vue +0 -12
- package/accordiontab/BaseAccordionTab.vue +0 -26
- package/accordiontab/package.json +0 -9
- package/accordiontab/style/AccordionTabStyle.d.ts +0 -3
- package/accordiontab/style/package.json +0 -6
- package/animate/Animate.d.ts +0 -87
- package/animate/animate.cjs.js +0 -71
- package/animate/animate.cjs.min.js +0 -1
- package/animate/animate.esm.js +0 -65
- package/animate/animate.esm.min.js +0 -1
- package/animate/animate.js +0 -72
- package/animate/animate.min.js +0 -1
- package/animate/package.json +0 -6
- package/animate/style/AnimateStyle.d.ts +0 -3
- package/animate/style/animatestyle.cjs.js +0 -5
- package/animate/style/animatestyle.esm.js +0 -3
- package/animate/style/animatestyle.js +0 -10
- package/animate/style/animatestyle.min.js +0 -1
- package/animate/style/package.json +0 -6
- package/api/Api.d.ts +0 -325
- package/api/package.json +0 -6
- package/autocomplete/AutoComplete.d.ts +0 -734
- package/autocomplete/AutoComplete.vue +0 -948
- package/autocomplete/BaseAutoComplete.vue +0 -176
- package/autocomplete/package.json +0 -9
- package/autocomplete/style/AutoCompleteStyle.d.ts +0 -3
- package/autocomplete/style/package.json +0 -6
- package/avatar/Avatar.d.ts +0 -169
- package/avatar/Avatar.vue +0 -32
- package/avatar/BaseAvatar.vue +0 -45
- package/avatar/package.json +0 -9
- package/avatar/style/AvatarStyle.d.ts +0 -3
- package/avatar/style/package.json +0 -6
- package/avatargroup/AvatarGroup.d.ts +0 -89
- package/avatargroup/AvatarGroup.vue +0 -14
- package/avatargroup/BaseAvatarGroup.vue +0 -15
- package/avatargroup/package.json +0 -9
- package/avatargroup/style/AvatarGroupStyle.d.ts +0 -3
- package/avatargroup/style/package.json +0 -6
- package/badge/Badge.d.ts +0 -125
- package/badge/Badge.vue +0 -14
- package/badge/BaseBadge.vue +0 -29
- package/badge/package.json +0 -9
- package/badge/style/BadgeStyle.d.ts +0 -3
- package/badge/style/package.json +0 -6
- package/badgedirective/BadgeDirective.d.ts +0 -158
- package/badgedirective/package.json +0 -6
- package/badgedirective/style/BadgeDirectiveStyle.d.ts +0 -3
- package/badgedirective/style/package.json +0 -6
- package/base/package.json +0 -5
- package/base/style/BaseStyle.d.ts +0 -10
- package/base/style/package.json +0 -6
- package/basecomponent/BaseComponent.d.ts +0 -23
- package/basecomponent/BaseComponent.vue +0 -218
- package/basecomponent/package.json +0 -9
- package/basecomponent/style/BaseComponentStyle.d.ts +0 -3
- package/basecomponent/style/package.json +0 -6
- package/basedirective/BaseDirective.d.ts +0 -38
- package/basedirective/package.json +0 -6
- package/baseicon/BaseIcon.vue +0 -43
- package/baseicon/package.json +0 -8
- package/baseicon/style/BaseIconStyle.d.ts +0 -3
- package/baseicon/style/package.json +0 -6
- package/blockui/BaseBlockUI.vue +0 -33
- package/blockui/BlockUI.d.ts +0 -161
- package/blockui/BlockUI.vue +0 -104
- package/blockui/package.json +0 -9
- package/blockui/style/BlockUIStyle.d.ts +0 -3
- package/blockui/style/package.json +0 -6
- package/breadcrumb/BaseBreadcrumb.vue +0 -29
- package/breadcrumb/Breadcrumb.d.ts +0 -232
- package/breadcrumb/Breadcrumb.vue +0 -35
- package/breadcrumb/BreadcrumbItem.vue +0 -99
- package/breadcrumb/package.json +0 -9
- package/breadcrumb/style/BreadcrumbStyle.d.ts +0 -3
- package/breadcrumb/style/package.json +0 -6
- package/button/BaseButton.vue +0 -81
- package/button/Button.d.ts +0 -248
- package/button/Button.vue +0 -58
- package/button/package.json +0 -9
- package/button/style/ButtonStyle.d.ts +0 -3
- package/button/style/package.json +0 -6
- package/calendar/BaseCalendar.vue +0 -231
- package/calendar/Calendar.d.ts +0 -888
- package/calendar/Calendar.vue +0 -2955
- package/calendar/package.json +0 -9
- package/calendar/style/CalendarStyle.d.ts +0 -3
- package/calendar/style/package.json +0 -6
- package/card/BaseCard.vue +0 -10
- package/card/Card.d.ts +0 -135
- package/card/Card.vue +0 -30
- package/card/package.json +0 -9
- package/card/style/CardStyle.d.ts +0 -3
- package/card/style/package.json +0 -6
- package/carousel/BaseCarousel.vue +0 -66
- package/carousel/Carousel.d.ts +0 -374
- package/carousel/Carousel.vue +0 -630
- package/carousel/package.json +0 -9
- package/carousel/style/CarouselStyle.d.ts +0 -3
- package/carousel/style/package.json +0 -6
- package/cascadeselect/BaseCascadeSelect.vue +0 -119
- package/cascadeselect/CascadeSelect.d.ts +0 -473
- package/cascadeselect/CascadeSelect.vue +0 -741
- package/cascadeselect/CascadeSelectSub.vue +0 -143
- package/cascadeselect/package.json +0 -9
- package/cascadeselect/style/CascadeSelectStyle.d.ts +0 -3
- package/cascadeselect/style/package.json +0 -6
- package/chart/BaseChart.vue +0 -33
- package/chart/Chart.d.ts +0 -195
- package/chart/Chart.vue +0 -96
- package/chart/package.json +0 -9
- package/chart/style/ChartStyle.d.ts +0 -3
- package/chart/style/package.json +0 -6
- package/checkbox/BaseCheckbox.vue +0 -72
- package/checkbox/Checkbox.d.ts +0 -271
- package/checkbox/Checkbox.vue +0 -90
- package/checkbox/package.json +0 -9
- package/checkbox/style/CheckboxStyle.d.ts +0 -3
- package/checkbox/style/package.json +0 -6
- package/chip/BaseChip.vue +0 -37
- package/chip/Chip.d.ts +0 -193
- package/chip/Chip.vue +0 -43
- package/chip/package.json +0 -9
- package/chip/style/ChipStyle.d.ts +0 -3
- package/chip/style/package.json +0 -6
- package/chips/BaseChips.vue +0 -73
- package/chips/Chips.d.ts +0 -286
- package/chips/Chips.vue +0 -256
- package/chips/package.json +0 -9
- package/chips/style/ChipsStyle.d.ts +0 -3
- package/chips/style/package.json +0 -6
- package/colorpicker/BaseColorPicker.vue +0 -54
- package/colorpicker/ColorPicker.d.ts +0 -240
- package/colorpicker/ColorPicker.vue +0 -649
- package/colorpicker/package.json +0 -9
- package/colorpicker/style/ColorPickerStyle.d.ts +0 -3
- package/colorpicker/style/package.json +0 -6
- package/column/BaseColumn.vue +0 -193
- package/column/Column.d.ts +0 -999
- package/column/Column.vue +0 -11
- package/column/package.json +0 -9
- package/column/style/ColumnStyle.d.ts +0 -3
- package/column/style/package.json +0 -6
- package/columngroup/BaseColumnGroup.vue +0 -21
- package/columngroup/ColumnGroup.d.ts +0 -133
- package/columngroup/ColumnGroup.vue +0 -11
- package/columngroup/package.json +0 -9
- package/columngroup/style/ColumnGroupStyle.d.ts +0 -3
- package/columngroup/style/package.json +0 -6
- package/config/PrimeVue.d.ts +0 -376
- package/config/package.json +0 -6
- package/confirmationeventbus/package.json +0 -5
- package/confirmationoptions/ConfirmationOptions.d.ts +0 -84
- package/confirmationoptions/package.json +0 -3
- package/confirmationservice/ConfirmationService.d.ts +0 -40
- package/confirmationservice/package.json +0 -6
- package/confirmdialog/BaseConfirmDialog.vue +0 -26
- package/confirmdialog/ConfirmDialog.d.ts +0 -262
- package/confirmdialog/ConfirmDialog.vue +0 -162
- package/confirmdialog/package.json +0 -9
- package/confirmdialog/style/ConfirmDialogStyle.d.ts +0 -3
- package/confirmdialog/style/package.json +0 -6
- package/confirmpopup/BaseConfirmPopup.vue +0 -18
- package/confirmpopup/ConfirmPopup.d.ts +0 -212
- package/confirmpopup/ConfirmPopup.vue +0 -321
- package/confirmpopup/package.json +0 -9
- package/confirmpopup/style/ConfirmPopupStyle.d.ts +0 -3
- package/confirmpopup/style/package.json +0 -6
- package/contextmenu/BaseContextMenu.vue +0 -53
- package/contextmenu/ContextMenu.d.ts +0 -398
- package/contextmenu/ContextMenu.vue +0 -594
- package/contextmenu/ContextMenuSub.vue +0 -242
- package/contextmenu/package.json +0 -9
- package/contextmenu/style/ContextMenuStyle.d.ts +0 -3
- package/contextmenu/style/package.json +0 -6
- package/datatable/BaseDataTable.vue +0 -281
- package/datatable/BodyCell.vue +0 -538
- package/datatable/ColumnFilter.vue +0 -720
- package/datatable/DataTable.d.ts +0 -1499
- package/datatable/DataTable.vue +0 -2105
- package/datatable/FooterCell.vue +0 -103
- package/datatable/HeaderCell.vue +0 -365
- package/datatable/HeaderCheckbox.vue +0 -94
- package/datatable/RowCheckbox.vue +0 -114
- package/datatable/RowRadioButton.vue +0 -79
- package/datatable/TableBody.vue +0 -639
- package/datatable/TableFooter.vue +0 -136
- package/datatable/TableHeader.vue +0 -336
- package/datatable/package.json +0 -9
- package/datatable/style/DataTableStyle.d.ts +0 -3
- package/datatable/style/package.json +0 -6
- package/dataview/BaseDataView.vue +0 -81
- package/dataview/DataView.d.ts +0 -337
- package/dataview/DataView.vue +0 -170
- package/dataview/package.json +0 -9
- package/dataview/style/DataViewStyle.d.ts +0 -3
- package/dataview/style/package.json +0 -6
- package/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue +0 -18
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +0 -169
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +0 -57
- package/dataviewlayoutoptions/package.json +0 -9
- package/dataviewlayoutoptions/style/DataViewLayoutOptionsStyle.d.ts +0 -3
- package/dataviewlayoutoptions/style/package.json +0 -6
- package/deferredcontent/DeferredContent.d.ts +0 -133
- package/deferredcontent/DeferredContent.vue +0 -64
- package/deferredcontent/package.json +0 -9
- package/deferredcontent/style/DeferredContentStyle.d.ts +0 -3
- package/deferredcontent/style/package.json +0 -6
- package/dialog/BaseDialog.vue +0 -126
- package/dialog/Dialog.d.ts +0 -409
- package/dialog/Dialog.vue +0 -406
- package/dialog/package.json +0 -9
- package/dialog/style/DialogStyle.d.ts +0 -3
- package/dialog/style/package.json +0 -6
- package/dialogservice/DialogService.d.ts +0 -38
- package/dialogservice/package.json +0 -6
- package/divider/BaseDivider.vue +0 -29
- package/divider/Divider.d.ts +0 -129
- package/divider/Divider.vue +0 -16
- package/divider/package.json +0 -9
- package/divider/style/DividerStyle.d.ts +0 -3
- package/divider/style/package.json +0 -6
- package/dock/BaseDock.vue +0 -45
- package/dock/Dock.d.ts +0 -306
- package/dock/Dock.vue +0 -40
- package/dock/DockSub.vue +0 -309
- package/dock/package.json +0 -9
- package/dock/style/DockStyle.d.ts +0 -3
- package/dock/style/package.json +0 -6
- package/dropdown/BaseDropdown.vue +0 -165
- package/dropdown/Dropdown.d.ts +0 -711
- package/dropdown/Dropdown.vue +0 -929
- package/dropdown/package.json +0 -9
- package/dropdown/style/DropdownStyle.d.ts +0 -3
- package/dropdown/style/package.json +0 -6
- package/dynamicdialog/BaseDynamicDialog.vue +0 -16
- package/dynamicdialog/DynamicDialog.d.ts +0 -52
- package/dynamicdialog/DynamicDialog.vue +0 -77
- package/dynamicdialog/package.json +0 -9
- package/dynamicdialog/style/AccordionStyle.d.ts +0 -3
- package/dynamicdialog/style/package.json +0 -6
- package/dynamicdialogeventbus/package.json +0 -5
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +0 -93
- package/dynamicdialogoptions/package.json +0 -3
- package/editor/BaseEditor.vue +0 -26
- package/editor/Editor.d.ts +0 -306
- package/editor/Editor.vue +0 -171
- package/editor/package.json +0 -9
- package/editor/style/EditorStyle.d.ts +0 -3
- package/editor/style/package.json +0 -6
- package/fieldset/BaseFieldset.vue +0 -24
- package/fieldset/Fieldset.d.ts +0 -212
- package/fieldset/Fieldset.vue +0 -91
- package/fieldset/package.json +0 -9
- package/fieldset/style/FieldsetStyle.d.ts +0 -3
- package/fieldset/style/package.json +0 -6
- package/fileupload/BaseFileUpload.vue +0 -111
- package/fileupload/FileContent.vue +0 -75
- package/fileupload/FileUpload.d.ts +0 -609
- package/fileupload/FileUpload.vue +0 -415
- package/fileupload/package.json +0 -9
- package/fileupload/style/FileUploadStyle.d.ts +0 -3
- package/fileupload/style/package.json +0 -6
- package/focustrap/FocusTrap.d.ts +0 -95
- package/focustrap/package.json +0 -6
- package/focustrap/style/FocusTrapStyle.d.ts +0 -3
- package/focustrap/style/package.json +0 -6
- package/galleria/BaseGalleria.vue +0 -125
- package/galleria/Galleria.d.ts +0 -519
- package/galleria/Galleria.vue +0 -95
- package/galleria/GalleriaContent.vue +0 -153
- package/galleria/GalleriaItem.vue +0 -201
- package/galleria/GalleriaThumbnails.vue +0 -537
- package/galleria/package.json +0 -9
- package/galleria/style/GalleriaStyle.d.ts +0 -3
- package/galleria/style/package.json +0 -6
- package/icons/angledoubledown/index.d.ts +0 -12
- package/icons/angledoubledown/index.vue +0 -18
- package/icons/angledoubledown/package.json +0 -9
- package/icons/angledoubleleft/index.d.ts +0 -12
- package/icons/angledoubleleft/index.vue +0 -18
- package/icons/angledoubleleft/package.json +0 -9
- package/icons/angledoubleright/index.d.ts +0 -12
- package/icons/angledoubleright/index.vue +0 -18
- package/icons/angledoubleright/package.json +0 -9
- package/icons/angledoubleup/index.d.ts +0 -12
- package/icons/angledoubleup/index.vue +0 -18
- package/icons/angledoubleup/package.json +0 -9
- package/icons/angledown/index.d.ts +0 -12
- package/icons/angledown/index.vue +0 -16
- package/icons/angledown/package.json +0 -9
- package/icons/angleleft/index.d.ts +0 -12
- package/icons/angleleft/index.vue +0 -16
- package/icons/angleleft/package.json +0 -9
- package/icons/angleright/index.d.ts +0 -12
- package/icons/angleright/index.vue +0 -16
- package/icons/angleright/package.json +0 -9
- package/icons/angleup/index.d.ts +0 -12
- package/icons/angleup/index.vue +0 -16
- package/icons/angleup/package.json +0 -9
- package/icons/arrowdown/index.d.ts +0 -12
- package/icons/arrowdown/index.vue +0 -32
- package/icons/arrowdown/package.json +0 -9
- package/icons/arrowup/index.d.ts +0 -12
- package/icons/arrowup/index.vue +0 -32
- package/icons/arrowup/package.json +0 -9
- package/icons/ban/index.d.ts +0 -12
- package/icons/ban/index.vue +0 -30
- package/icons/ban/package.json +0 -9
- package/icons/bars/index.d.ts +0 -12
- package/icons/bars/index.vue +0 -18
- package/icons/bars/package.json +0 -9
- package/icons/calendar/index.d.ts +0 -12
- package/icons/calendar/index.vue +0 -16
- package/icons/calendar/package.json +0 -9
- package/icons/check/index.d.ts +0 -12
- package/icons/check/index.vue +0 -16
- package/icons/check/package.json +0 -9
- package/icons/chevrondown/index.d.ts +0 -12
- package/icons/chevrondown/index.vue +0 -16
- package/icons/chevrondown/package.json +0 -9
- package/icons/chevronleft/index.d.ts +0 -12
- package/icons/chevronleft/index.vue +0 -16
- package/icons/chevronleft/package.json +0 -9
- package/icons/chevronright/index.d.ts +0 -12
- package/icons/chevronright/index.vue +0 -16
- package/icons/chevronright/package.json +0 -9
- package/icons/chevronup/index.d.ts +0 -12
- package/icons/chevronup/index.vue +0 -16
- package/icons/chevronup/package.json +0 -9
- package/icons/exclamationtriangle/index.d.ts +0 -12
- package/icons/exclamationtriangle/index.vue +0 -38
- package/icons/exclamationtriangle/package.json +0 -9
- package/icons/eye/index.d.ts +0 -12
- package/icons/eye/index.vue +0 -18
- package/icons/eye/package.json +0 -9
- package/icons/eyeslash/index.d.ts +0 -12
- package/icons/eyeslash/index.vue +0 -32
- package/icons/eyeslash/package.json +0 -9
- package/icons/filter/index.d.ts +0 -12
- package/icons/filter/index.vue +0 -30
- package/icons/filter/package.json +0 -9
- package/icons/filterslash/index.d.ts +0 -12
- package/icons/filterslash/index.vue +0 -32
- package/icons/filterslash/package.json +0 -9
- package/icons/index.d.ts +0 -12
- package/icons/infocircle/index.d.ts +0 -12
- package/icons/infocircle/index.vue +0 -32
- package/icons/infocircle/package.json +0 -9
- package/icons/minus/index.d.ts +0 -12
- package/icons/minus/index.vue +0 -16
- package/icons/minus/package.json +0 -9
- package/icons/pencil/index.d.ts +0 -12
- package/icons/pencil/index.vue +0 -30
- package/icons/pencil/package.json +0 -9
- package/icons/plus/index.d.ts +0 -12
- package/icons/plus/index.vue +0 -30
- package/icons/plus/package.json +0 -9
- package/icons/refresh/index.d.ts +0 -12
- package/icons/refresh/index.vue +0 -32
- package/icons/refresh/package.json +0 -9
- package/icons/search/index.d.ts +0 -12
- package/icons/search/index.vue +0 -32
- package/icons/search/package.json +0 -9
- package/icons/searchminus/index.d.ts +0 -12
- package/icons/searchminus/index.vue +0 -32
- package/icons/searchminus/package.json +0 -9
- package/icons/searchplus/index.d.ts +0 -12
- package/icons/searchplus/index.vue +0 -32
- package/icons/searchplus/package.json +0 -9
- package/icons/sortalt/index.d.ts +0 -12
- package/icons/sortalt/index.vue +0 -36
- package/icons/sortalt/package.json +0 -9
- package/icons/sortamountdown/index.d.ts +0 -12
- package/icons/sortamountdown/index.vue +0 -50
- package/icons/sortamountdown/package.json +0 -9
- package/icons/sortamountupalt/index.d.ts +0 -12
- package/icons/sortamountupalt/index.vue +0 -50
- package/icons/sortamountupalt/package.json +0 -9
- package/icons/spinner/index.d.ts +0 -12
- package/icons/spinner/index.vue +0 -30
- package/icons/spinner/package.json +0 -9
- package/icons/star/index.d.ts +0 -12
- package/icons/star/index.vue +0 -30
- package/icons/star/package.json +0 -9
- package/icons/starfill/index.d.ts +0 -12
- package/icons/starfill/index.vue +0 -30
- package/icons/starfill/package.json +0 -9
- package/icons/thlarge/index.d.ts +0 -12
- package/icons/thlarge/index.vue +0 -32
- package/icons/thlarge/package.json +0 -9
- package/icons/times/index.d.ts +0 -12
- package/icons/times/index.vue +0 -16
- package/icons/times/package.json +0 -9
- package/icons/timescircle/index.d.ts +0 -12
- package/icons/timescircle/index.vue +0 -32
- package/icons/timescircle/package.json +0 -9
- package/icons/trash/index.d.ts +0 -12
- package/icons/trash/index.vue +0 -32
- package/icons/trash/package.json +0 -9
- package/icons/undo/index.d.ts +0 -12
- package/icons/undo/index.vue +0 -32
- package/icons/undo/package.json +0 -9
- package/icons/upload/index.d.ts +0 -12
- package/icons/upload/index.vue +0 -32
- package/icons/upload/package.json +0 -9
- package/icons/windowmaximize/index.d.ts +0 -12
- package/icons/windowmaximize/index.vue +0 -32
- package/icons/windowmaximize/package.json +0 -9
- package/icons/windowminimize/index.d.ts +0 -12
- package/icons/windowminimize/index.vue +0 -32
- package/icons/windowminimize/package.json +0 -9
- package/image/BaseImage.vue +0 -53
- package/image/Image.d.ts +0 -318
- package/image/Image.vue +0 -232
- package/image/package.json +0 -9
- package/image/style/ImageStyle.d.ts +0 -3
- package/image/style/package.json +0 -6
- package/inlinemessage/BaseInlineMessage.vue +0 -25
- package/inlinemessage/InlineMessage.d.ts +0 -147
- package/inlinemessage/InlineMessage.vue +0 -46
- package/inlinemessage/package.json +0 -9
- package/inlinemessage/style/InlineMessageStyle.d.ts +0 -3
- package/inlinemessage/style/package.json +0 -6
- package/inplace/BaseInplace.vue +0 -41
- package/inplace/Inplace.d.ts +0 -195
- package/inplace/Inplace.vue +0 -71
- package/inplace/package.json +0 -9
- package/inplace/style/InplaceStyle.d.ts +0 -3
- package/inplace/style/package.json +0 -6
- package/inputmask/BaseInputMask.vue +0 -33
- package/inputmask/InputMask.d.ts +0 -186
- package/inputmask/InputMask.vue +0 -512
- package/inputmask/package.json +0 -9
- package/inputmask/style/InputMaskStyle.d.ts +0 -3
- package/inputmask/style/package.json +0 -6
- package/inputnumber/BaseInputNumber.vue +0 -153
- package/inputnumber/InputNumber.d.ts +0 -369
- package/inputnumber/InputNumber.vue +0 -1004
- package/inputnumber/package.json +0 -9
- package/inputnumber/style/InputNumberStyle.d.ts +0 -3
- package/inputnumber/style/package.json +0 -6
- package/inputswitch/BaseInputSwitch.vue +0 -57
- package/inputswitch/InputSwitch.d.ts +0 -198
- package/inputswitch/InputSwitch.vue +0 -64
- package/inputswitch/package.json +0 -9
- package/inputswitch/style/InputSwitchStyle.d.ts +0 -3
- package/inputswitch/style/package.json +0 -6
- package/inputtext/BaseInputText.vue +0 -22
- package/inputtext/InputText.d.ts +0 -142
- package/inputtext/InputText.vue +0 -31
- package/inputtext/package.json +0 -9
- package/inputtext/style/InputTextStyle.d.ts +0 -3
- package/inputtext/style/package.json +0 -6
- package/knob/BaseKnob.vue +0 -81
- package/knob/Knob.d.ts +0 -243
- package/knob/Knob.vue +0 -219
- package/knob/package.json +0 -9
- package/knob/style/KnobStyle.d.ts +0 -3
- package/knob/style/package.json +0 -6
- package/listbox/BaseListbox.vue +0 -89
- package/listbox/Listbox.d.ts +0 -521
- package/listbox/Listbox.vue +0 -717
- package/listbox/package.json +0 -9
- package/listbox/style/ListboxStyle.d.ts +0 -3
- package/listbox/style/package.json +0 -6
- package/megamenu/BaseMegaMenu.vue +0 -45
- package/megamenu/MegaMenu.d.ts +0 -369
- package/megamenu/MegaMenu.vue +0 -590
- package/megamenu/MegaMenuSub.vue +0 -236
- package/megamenu/package.json +0 -9
- package/megamenu/style/MegaMenuStyle.d.ts +0 -3
- package/megamenu/style/package.json +0 -6
- package/menu/BaseMenu.vue +0 -53
- package/menu/Menu.d.ts +0 -359
- package/menu/Menu.vue +0 -373
- package/menu/Menuitem.vue +0 -118
- package/menu/package.json +0 -9
- package/menu/style/MenuStyle.d.ts +0 -3
- package/menu/style/package.json +0 -6
- package/menubar/BaseMenubar.vue +0 -37
- package/menubar/Menubar.d.ts +0 -361
- package/menubar/Menubar.vue +0 -599
- package/menubar/MenubarSub.vue +0 -224
- package/menubar/package.json +0 -9
- package/menubar/style/MenubarStyle.d.ts +0 -3
- package/menubar/style/package.json +0 -6
- package/menuitem/MenuItem.d.ts +0 -95
- package/menuitem/package.json +0 -3
- package/message/BaseMessage.vue +0 -45
- package/message/Message.d.ts +0 -234
- package/message/Message.vue +0 -82
- package/message/package.json +0 -9
- package/message/style/MessageStyle.d.ts +0 -3
- package/message/style/package.json +0 -6
- package/multiselect/BaseMultiSelect.vue +0 -174
- package/multiselect/MultiSelect.d.ts +0 -852
- package/multiselect/MultiSelect.vue +0 -1072
- package/multiselect/package.json +0 -9
- package/multiselect/style/MultiSelectStyle.d.ts +0 -3
- package/multiselect/style/package.json +0 -6
- package/orderlist/BaseOrderList.vue +0 -81
- package/orderlist/OrderList.d.ts +0 -366
- package/orderlist/OrderList.vue +0 -561
- package/orderlist/package.json +0 -9
- package/orderlist/style/OrderListStyle.d.ts +0 -3
- package/orderlist/style/package.json +0 -6
- package/organizationchart/BaseOrganizationChart.vue +0 -37
- package/organizationchart/OrganizationChart.d.ts +0 -342
- package/organizationchart/OrganizationChart.vue +0 -77
- package/organizationchart/OrganizationChartNode.vue +0 -164
- package/organizationchart/package.json +0 -9
- package/organizationchart/style/OrganizationChartStyle.d.ts +0 -3
- package/organizationchart/style/package.json +0 -6
- package/overlayeventbus/package.json +0 -5
- package/overlaypanel/BaseOverlayPanel.vue +0 -49
- package/overlaypanel/OverlayPanel.d.ts +0 -258
- package/overlaypanel/OverlayPanel.vue +0 -322
- package/overlaypanel/package.json +0 -9
- package/overlaypanel/style/OverlayPanelStyle.d.ts +0 -3
- package/overlaypanel/style/package.json +0 -6
- package/paginator/BasePaginator.vue +0 -49
- package/paginator/CurrentPageReport.vue +0 -56
- package/paginator/FirstPageLink.vue +0 -38
- package/paginator/JumpToPageDropdown.vue +0 -56
- package/paginator/JumpToPageInput.vue +0 -57
- package/paginator/LastPageLink.vue +0 -38
- package/paginator/NextPageLink.vue +0 -38
- package/paginator/PageLinks.vue +0 -56
- package/paginator/Paginator.d.ts +0 -367
- package/paginator/Paginator.vue +0 -303
- package/paginator/PrevPageLink.vue +0 -38
- package/paginator/RowsPerPageDropdown.vue +0 -58
- package/paginator/package.json +0 -9
- package/paginator/style/PaginatorStyle.d.ts +0 -3
- package/paginator/style/package.json +0 -6
- package/panel/BasePanel.vue +0 -24
- package/panel/Panel.d.ts +0 -244
- package/panel/Panel.vue +0 -95
- package/panel/package.json +0 -9
- package/panel/style/PanelStyle.d.ts +0 -3
- package/panel/style/package.json +0 -6
- package/panelmenu/BasePanelMenu.vue +0 -33
- package/panelmenu/PanelMenu.d.ts +0 -392
- package/panelmenu/PanelMenu.vue +0 -277
- package/panelmenu/PanelMenuList.vue +0 -397
- package/panelmenu/PanelMenuSub.vue +0 -213
- package/panelmenu/package.json +0 -9
- package/panelmenu/style/PanelMenuStyle.d.ts +0 -3
- package/panelmenu/style/package.json +0 -6
- package/passthrough/index.d.ts +0 -6
- package/passthrough/package.json +0 -6
- package/passthrough/tailwind/index.d.ts +0 -4
- package/passthrough/tailwind/package.json +0 -6
- package/password/BasePassword.vue +0 -114
- package/password/Password.d.ts +0 -346
- package/password/Password.vue +0 -301
- package/password/package.json +0 -9
- package/password/style/PasswordStyle.d.ts +0 -3
- package/password/style/package.json +0 -6
- package/picklist/BasePickList.vue +0 -101
- package/picklist/PickList.d.ts +0 -583
- package/picklist/PickList.vue +0 -892
- package/picklist/package.json +0 -9
- package/picklist/style/PickListStyle.d.ts +0 -3
- package/picklist/style/package.json +0 -6
- package/portal/Portal.d.ts +0 -37
- package/portal/Portal.vue +0 -41
- package/portal/package.json +0 -9
- package/portal/style/PortalStyle.d.ts +0 -3
- package/portal/style/package.json +0 -6
- package/progressbar/BaseProgressBar.vue +0 -29
- package/progressbar/ProgressBar.d.ts +0 -135
- package/progressbar/ProgressBar.vue +0 -35
- package/progressbar/package.json +0 -9
- package/progressbar/style/ProgressBarStyle.d.ts +0 -3
- package/progressbar/style/package.json +0 -6
- package/progressspinner/BaseProgressSpinner.vue +0 -29
- package/progressspinner/ProgressSpinner.d.ts +0 -129
- package/progressspinner/ProgressSpinner.vue +0 -23
- package/progressspinner/package.json +0 -9
- package/progressspinner/style/ProgressSpinnerStyle.d.ts +0 -3
- package/progressspinner/style/package.json +0 -6
- package/radiobutton/BaseRadioButton.vue +0 -51
- package/radiobutton/RadioButton.d.ts +0 -194
- package/radiobutton/RadioButton.vue +0 -52
- package/radiobutton/package.json +0 -9
- package/radiobutton/style/RadioButtonStyle.d.ts +0 -3
- package/radiobutton/style/package.json +0 -6
- package/rating/BaseRating.vue +0 -49
- package/rating/Rating.d.ts +0 -300
- package/rating/Rating.vue +0 -128
- package/rating/package.json +0 -9
- package/rating/style/RatingStyle.d.ts +0 -3
- package/rating/style/package.json +0 -6
- package/ripple/Ripple.d.ts +0 -82
- package/ripple/package.json +0 -6
- package/ripple/style/RippleStyle.d.ts +0 -3
- package/ripple/style/package.json +0 -6
- package/row/Row.d.ts +0 -113
- package/row/Row.vue +0 -11
- package/row/package.json +0 -9
- package/row/style/RowStyle.d.ts +0 -3
- package/row/style/package.json +0 -6
- package/scrollpanel/BaseScrollPanel.vue +0 -21
- package/scrollpanel/ScrollPanel.d.ts +0 -161
- package/scrollpanel/ScrollPanel.vue +0 -360
- package/scrollpanel/package.json +0 -9
- package/scrollpanel/style/ScrollPanelStyle.d.ts +0 -3
- package/scrollpanel/style/package.json +0 -6
- package/scrolltop/BaseScrollTop.vue +0 -33
- package/scrolltop/ScrollTop.d.ts +0 -158
- package/scrolltop/ScrollTop.vue +0 -97
- package/scrolltop/package.json +0 -9
- package/scrolltop/style/ScrollTopStyle.d.ts +0 -3
- package/scrolltop/style/package.json +0 -6
- package/selectbutton/BaseSelectButton.vue +0 -37
- package/selectbutton/SelectButton.d.ts +0 -253
- package/selectbutton/SelectButton.vue +0 -188
- package/selectbutton/package.json +0 -9
- package/selectbutton/style/SelectButtonStyle.d.ts +0 -3
- package/selectbutton/style/package.json +0 -6
- package/sidebar/BaseSidebar.vue +0 -53
- package/sidebar/Sidebar.d.ts +0 -241
- package/sidebar/Sidebar.vue +0 -195
- package/sidebar/package.json +0 -9
- package/sidebar/style/SidebarStyle.d.ts +0 -3
- package/sidebar/style/package.json +0 -6
- package/skeleton/BaseSkeleton.vue +0 -41
- package/skeleton/Skeleton.d.ts +0 -135
- package/skeleton/Skeleton.vue +0 -18
- package/skeleton/package.json +0 -9
- package/skeleton/style/SkeletonStyle.d.ts +0 -3
- package/skeleton/style/package.json +0 -6
- package/slider/BaseSlider.vue +0 -54
- package/slider/Slider.d.ts +0 -201
- package/slider/Slider.vue +0 -325
- package/slider/package.json +0 -9
- package/slider/style/SliderStyle.d.ts +0 -3
- package/slider/style/package.json +0 -6
- package/speeddial/BaseSpeedDial.vue +0 -76
- package/speeddial/SpeedDial.d.ts +0 -364
- package/speeddial/SpeedDial.vue +0 -466
- package/speeddial/package.json +0 -9
- package/speeddial/style/SpeedDialStyle.d.ts +0 -3
- package/speeddial/style/package.json +0 -6
- package/splitbutton/BaseSplitButton.vue +0 -93
- package/splitbutton/SplitButton.d.ts +0 -274
- package/splitbutton/SplitButton.vue +0 -118
- package/splitbutton/package.json +0 -9
- package/splitbutton/style/SplitButtonStyle.d.ts +0 -3
- package/splitbutton/style/package.json +0 -6
- package/splitter/BaseSplitter.vue +0 -37
- package/splitter/Splitter.d.ts +0 -235
- package/splitter/Splitter.vue +0 -378
- package/splitter/package.json +0 -9
- package/splitter/style/SplitterStyle.d.ts +0 -3
- package/splitter/style/package.json +0 -6
- package/splitterpanel/BaseSplitterPanel.vue +0 -25
- package/splitterpanel/SplitterPanel.d.ts +0 -133
- package/splitterpanel/SplitterPanel.vue +0 -28
- package/splitterpanel/package.json +0 -9
- package/splitterpanel/style/SplitterPanelStyle.d.ts +0 -3
- package/splitterpanel/style/package.json +0 -6
- package/steps/BaseSteps.vue +0 -32
- package/steps/Steps.d.ts +0 -217
- package/steps/Steps.vue +0 -208
- package/steps/package.json +0 -9
- package/steps/style/StepsStyle.d.ts +0 -3
- package/steps/style/package.json +0 -6
- package/styleclass/StyleClass.d.ts +0 -100
- package/styleclass/package.json +0 -6
- package/styleclass/style/StyleClassStyle.d.ts +0 -3
- package/styleclass/style/package.json +0 -6
- package/tabmenu/BaseTabMenu.vue +0 -37
- package/tabmenu/TabMenu.d.ts +0 -261
- package/tabmenu/TabMenu.vue +0 -303
- package/tabmenu/package.json +0 -9
- package/tabmenu/style/TabMenuStyle.d.ts +0 -3
- package/tabmenu/style/package.json +0 -6
- package/tabpanel/BaseTabPanel.vue +0 -21
- package/tabpanel/TabPanel.d.ts +0 -198
- package/tabpanel/TabPanel.vue +0 -12
- package/tabpanel/package.json +0 -9
- package/tabpanel/style/TabPanelStyle.d.ts +0 -3
- package/tabpanel/style/package.json +0 -6
- package/tabview/BaseTabView.vue +0 -53
- package/tabview/TabView.d.ts +0 -257
- package/tabview/TabView.vue +0 -372
- package/tabview/package.json +0 -9
- package/tabview/style/TabViewStyle.d.ts +0 -3
- package/tabview/style/package.json +0 -6
- package/tag/BaseTag.vue +0 -21
- package/tag/Tag.d.ts +0 -143
- package/tag/Tag.vue +0 -18
- package/tag/package.json +0 -9
- package/tag/style/TagStyle.d.ts +0 -3
- package/tag/style/package.json +0 -6
- package/terminal/BaseTerminal.vue +0 -25
- package/terminal/Terminal.d.ts +0 -165
- package/terminal/Terminal.vue +0 -57
- package/terminal/package.json +0 -9
- package/terminal/style/TerminalStyle.d.ts +0 -3
- package/terminal/style/package.json +0 -6
- package/terminalservice/TerminalService.d.ts +0 -30
- package/terminalservice/package.json +0 -6
- package/textarea/BaseTextarea.vue +0 -19
- package/textarea/Textarea.d.ts +0 -145
- package/textarea/Textarea.vue +0 -55
- package/textarea/package.json +0 -9
- package/textarea/style/TextareaStyle.d.ts +0 -3
- package/textarea/style/package.json +0 -6
- package/tieredmenu/BaseTieredMenu.vue +0 -57
- package/tieredmenu/TieredMenu.d.ts +0 -400
- package/tieredmenu/TieredMenu.vue +0 -608
- package/tieredmenu/TieredMenuSub.vue +0 -212
- package/tieredmenu/package.json +0 -9
- package/tieredmenu/style/TieredMenuStyle.d.ts +0 -3
- package/tieredmenu/style/package.json +0 -6
- package/timeline/BaseTimeline.vue +0 -27
- package/timeline/Timeline.d.ts +0 -219
- package/timeline/Timeline.vue +0 -43
- package/timeline/package.json +0 -9
- package/timeline/style/TimelineStyle.d.ts +0 -3
- package/timeline/style/package.json +0 -6
- package/toast/BaseToast.vue +0 -61
- package/toast/Toast.d.ts +0 -349
- package/toast/Toast.vue +0 -162
- package/toast/ToastMessage.vue +0 -120
- package/toast/package.json +0 -9
- package/toast/style/ToastStyle.d.ts +0 -3
- package/toast/style/package.json +0 -6
- package/toasteventbus/package.json +0 -5
- package/toastservice/ToastService.d.ts +0 -52
- package/toastservice/package.json +0 -6
- package/togglebutton/BaseToggleButton.vue +0 -64
- package/togglebutton/ToggleButton.d.ts +0 -263
- package/togglebutton/ToggleButton.vue +0 -105
- package/togglebutton/package.json +0 -9
- package/togglebutton/style/ToggleButtonStyle.d.ts +0 -3
- package/togglebutton/style/package.json +0 -6
- package/toolbar/BaseToolbar.vue +0 -21
- package/toolbar/Toolbar.d.ts +0 -139
- package/toolbar/Toolbar.vue +0 -22
- package/toolbar/package.json +0 -9
- package/toolbar/style/ToolbarStyle.d.ts +0 -3
- package/toolbar/style/package.json +0 -6
- package/tooltip/Tooltip.d.ts +0 -202
- package/tooltip/package.json +0 -6
- package/tooltip/style/TooltipStyle.d.ts +0 -3
- package/tooltip/style/package.json +0 -6
- package/tree/BaseTree.vue +0 -81
- package/tree/Tree.d.ts +0 -469
- package/tree/Tree.vue +0 -244
- package/tree/TreeNode.vue +0 -444
- package/tree/package.json +0 -9
- package/tree/style/TreeStyle.d.ts +0 -3
- package/tree/style/package.json +0 -6
- package/treeselect/BaseTreeSelect.vue +0 -87
- package/treeselect/TreeSelect.d.ts +0 -417
- package/treeselect/TreeSelect.vue +0 -441
- package/treeselect/package.json +0 -9
- package/treeselect/style/TreeSelectStyle.d.ts +0 -3
- package/treeselect/style/package.json +0 -6
- package/treetable/BaseTreeTable.vue +0 -173
- package/treetable/BodyCell.vue +0 -217
- package/treetable/FooterCell.vue +0 -103
- package/treetable/HeaderCell.vue +0 -238
- package/treetable/TreeTable.d.ts +0 -786
- package/treetable/TreeTable.vue +0 -853
- package/treetable/TreeTableRow.vue +0 -431
- package/treetable/package.json +0 -9
- package/treetable/style/TreeTableStyle.d.ts +0 -3
- package/treetable/style/package.json +0 -6
- package/tristatecheckbox/BaseTriStateCheckbox.vue +0 -42
- package/tristatecheckbox/TriStateCheckbox.d.ts +0 -244
- package/tristatecheckbox/TriStateCheckbox.vue +0 -111
- package/tristatecheckbox/package.json +0 -9
- package/tristatecheckbox/style/TriStateCheckboxStyle.d.ts +0 -3
- package/tristatecheckbox/style/package.json +0 -6
- package/ts-helpers.d.ts +0 -38
- package/useconfirm/UseConfirm.d.ts +0 -6
- package/useconfirm/package.json +0 -6
- package/usedialog/UseDialog.d.ts +0 -5
- package/usedialog/package.json +0 -6
- package/usestyle/UseStyle.d.ts +0 -21
- package/usestyle/package.json +0 -6
- package/usetoast/UseToast.d.ts +0 -3
- package/usetoast/package.json +0 -6
- package/utils/Utils.d.ts +0 -113
- package/utils/package.json +0 -6
- package/virtualscroller/BaseVirtualScroller.vue +0 -100
- package/virtualscroller/VirtualScroller.d.ts +0 -520
- package/virtualscroller/VirtualScroller.vue +0 -673
- package/virtualscroller/package.json +0 -9
- package/virtualscroller/style/VirtualScrollerStyle.d.ts +0 -3
- package/virtualscroller/style/package.json +0 -6
- /package/{animate/style/animatestyle.cjs.min.js → animateonscroll/style/animateonscrollstyle.cjs.min.js} +0 -0
- /package/{animate/style/animatestyle.esm.min.js → animateonscroll/style/animateonscrollstyle.esm.min.js} +0 -0
|
@@ -298,11 +298,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
298
298
|
key: 0,
|
|
299
299
|
isTabActive: $options.isTabActive(i),
|
|
300
300
|
index: i
|
|
301
|
-
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
301
|
+
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.collapseicon ? _ctx.$slots.collapseicon : _ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
302
302
|
key: 1,
|
|
303
303
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.collapseIcon],
|
|
304
304
|
"aria-hidden": "true"
|
|
305
|
-
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.expandIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
305
|
+
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.expandicon ? _ctx.$slots.expandicon : _ctx.expandIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
306
306
|
key: 2,
|
|
307
307
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.expandIcon],
|
|
308
308
|
"aria-hidden": "true"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/icons/chevrondown"),t=require("primevue/icons/chevronright"),n=require("primevue/ripple"),a=require("primevue/utils"),i=require("vue"),
|
|
1
|
+
"use strict";var e=require("primevue/icons/chevrondown"),t=require("primevue/icons/chevronright"),n=require("primevue/ripple"),a=require("primevue/utils"),i=require("vue"),o=require("primevue/accordion/style"),r=require("primevue/basecomponent");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(e),s=c(t),l=c(n),p=c(o),u={name:"Accordion",extends:{name:"BaseAccordion",extends:c(r).default,props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:p.default,provide:function(){return{$parentInstance:this}}},emits:["update:activeIndex","tab-open","tab-close","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||a.UniqueComponentId()},activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.id=this.id||a.UniqueComponentId()},methods:{isAccordionTab:function(e){return"AccordionTab"===e.type.name},isTabActive:function(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:function(e,t){return e.props?e.props[t]:void 0},getKey:function(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId:function(e){return"".concat(this.id,"_").concat(e,"_header_action")},getTabContentId:function(e){return"".concat(this.id,"_").concat(e,"_content")},getTabPT:function(e,t,n){var a=this.tabs.length,o={props:e.props||{},parent:{props:this.$props,state:this.$data},context:{index:n,count:a,first:0===n,last:n===a-1,active:this.isTabActive(n)}};return i.mergeProps(this.ptm("tab.".concat(t),{tab:o}),this.ptm("accordiontab.".concat(t),{accordiontab:o}),this.ptm("accordiontab.".concat(t),o),this.ptmo(this.getTabProp(e,"pt"),t,o))},onTabClick:function(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown:function(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey:function(e){var t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey:function(e){var t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey:function(e){var t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey:function(e){var t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey:function(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.nextElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findNextHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.previousElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findPrevHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex:function(e,t,n){if(!this.getTabProp(t,"disabled")){var a=this.isTabActive(n),i=a?"tab-close":"tab-open";this.multiple?a?this.d_activeIndex=this.d_activeIndex.filter((function(e){return e!==n})):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(i,{originalEvent:e,index:n})}},changeFocusedTab:function(e,t){if(t&&(a.DomHandler.focus(t),this.selectOnFocus)){var n=parseInt(t.parentElement.parentElement.dataset.pcIndex,10);this.changeActiveIndex(e,this.tabs[n],n)}}},computed:{tabs:function(){var e=this;return this.$slots.default().reduce((function(t,n){return e.isAccordionTab(n)?t.push(n):n.children&&n.children instanceof Array&&n.children.forEach((function(n){e.isAccordionTab(n)&&t.push(n)})),t}),[])}},components:{ChevronDownIcon:d.default,ChevronRightIcon:s.default},directives:{ripple:l.default}};function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=g(e,"string");return"symbol"===b(t)?t:String(t)}function g(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==b(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var y=["data-pc-index","data-p-active"],T=["data-p-highlight","data-p-disabled"],x=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],P=["id","aria-labelledby"];u.render=function(e,t,n,a,o,r){return i.openBlock(),i.createElementBlock("div",i.mergeProps({class:e.cx("root")},e.ptm("root")),[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.tabs,(function(t,n){return i.openBlock(),i.createElementBlock("div",i.mergeProps({key:r.getKey(t,n),class:e.cx("tab.root",{tab:t,index:n})},r.getTabPT(t,"root",n),{"data-pc-name":"accordiontab","data-pc-index":n,"data-p-active":r.isTabActive(n)}),[i.createElementVNode("div",i.mergeProps({style:r.getTabProp(t,"headerStyle"),class:[e.cx("tab.header",{tab:t,index:n}),r.getTabProp(t,"headerClass")]},f(f({},r.getTabProp(t,"headerProps")),r.getTabPT(t,"header",n)),{"data-p-highlight":r.isTabActive(n),"data-p-disabled":r.getTabProp(t,"disabled")}),[i.createElementVNode("a",i.mergeProps({id:r.getTabHeaderActionId(n),class:e.cx("tab.headerAction"),tabindex:r.getTabProp(t,"disabled")?-1:e.tabindex,role:"button","aria-disabled":r.getTabProp(t,"disabled"),"aria-expanded":r.isTabActive(n),"aria-controls":r.getTabContentId(n),onClick:function(e){return r.onTabClick(e,t,n)},onKeydown:function(e){return r.onTabKeyDown(e,t,n)}},f(f({},r.getTabProp(t,"headeractionprops")),r.getTabPT(t,"headeraction",n))),[t.children&&t.children.headericon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.headericon),{key:0,isTabActive:r.isTabActive(n),index:n},null,8,["isTabActive","index"])):r.isTabActive(n)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.collapseicon?e.$slots.collapseicon:e.collapseIcon?"span":"ChevronDownIcon"),i.mergeProps({key:1,class:[e.cx("tab.headerIcon"),e.collapseIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.expandicon?e.$slots.expandicon:e.expandIcon?"span":"ChevronRightIcon"),i.mergeProps({key:2,class:[e.cx("tab.headerIcon"),e.expandIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])),t.props&&t.props.header?(i.openBlock(),i.createElementBlock("span",i.mergeProps({key:3,class:e.cx("tab.headerTitle")},r.getTabPT(t,"headertitle",n)),i.toDisplayString(t.props.header),17)):i.createCommentVNode("",!0),t.children&&t.children.header?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.header),{key:4})):i.createCommentVNode("",!0)],16,x)],16,T),i.createVNode(i.Transition,i.mergeProps({name:"p-toggleable-content"},r.getTabPT(t,"transition",n)),{default:i.withCtx((function(){return[!e.lazy||r.isTabActive(n)?i.withDirectives((i.openBlock(),i.createElementBlock("div",i.mergeProps({key:0,id:r.getTabContentId(n),style:r.getTabProp(t,"contentStyle"),class:[e.cx("tab.toggleableContent"),r.getTabProp(t,"contentClass")],role:"region","aria-labelledby":r.getTabHeaderActionId(n)},f(f({},r.getTabProp(t,"contentProps")),r.getTabPT(t,"toggleablecontent",n))),[i.createElementVNode("div",i.mergeProps({class:e.cx("tab.content")},r.getTabPT(t,"content",n)),[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t)))],16)],16,P)),[[i.vShow,!!e.lazy||r.isTabActive(n)]]):i.createCommentVNode("",!0)]})),_:2},1040)],16,y)})),128))],16)},module.exports=u;
|
|
@@ -288,11 +288,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
288
288
|
key: 0,
|
|
289
289
|
isTabActive: $options.isTabActive(i),
|
|
290
290
|
index: i
|
|
291
|
-
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
291
|
+
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.collapseicon ? _ctx.$slots.collapseicon : _ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
|
|
292
292
|
key: 1,
|
|
293
293
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.collapseIcon],
|
|
294
294
|
"aria-hidden": "true"
|
|
295
|
-
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.expandIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
295
|
+
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.expandicon ? _ctx.$slots.expandicon : _ctx.expandIcon ? 'span' : 'ChevronRightIcon'), mergeProps({
|
|
296
296
|
key: 2,
|
|
297
297
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.expandIcon],
|
|
298
298
|
"aria-hidden": "true"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/icons/chevrondown";import t from"primevue/icons/chevronright";import n from"primevue/ripple";import{UniqueComponentId as i,DomHandler as a}from"primevue/utils";import{mergeProps as r,openBlock as o,createElementBlock as c,Fragment as d,renderList as s,createElementVNode as l,createBlock as p,resolveDynamicComponent as b,toDisplayString as u,createCommentVNode as h,createVNode as f,Transition as v,withCtx as g,withDirectives as T,vShow as m}from"vue";import y from"primevue/accordion/style";import x from"primevue/basecomponent";var A={name:"Accordion",extends:{name:"BaseAccordion",extends:x,props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:y,provide:function(){return{$parentInstance:this}}},emits:["update:activeIndex","tab-open","tab-close","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||i()},activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.id=this.id||i()},methods:{isAccordionTab:function(e){return"AccordionTab"===e.type.name},isTabActive:function(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:function(e,t){return e.props?e.props[t]:void 0},getKey:function(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId:function(e){return"".concat(this.id,"_").concat(e,"_header_action")},getTabContentId:function(e){return"".concat(this.id,"_").concat(e,"_content")},getTabPT:function(e,t,n){var i=this.tabs.length,a={props:e.props||{},parent:{props:this.$props,state:this.$data},context:{index:n,count:i,first:0===n,last:n===i-1,active:this.isTabActive(n)}};return r(this.ptm("tab.".concat(t),{tab:a}),this.ptm("accordiontab.".concat(t),{accordiontab:a}),this.ptm("accordiontab.".concat(t),a),this.ptmo(this.getTabProp(e,"pt"),t,a))},onTabClick:function(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown:function(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey:function(e){var t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey:function(e){var t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey:function(e){var t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey:function(e){var t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey:function(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction:function(e){var t=a.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.nextElementSibling,'[data-pc-section="header"]');return t?a.getAttribute(t,"data-p-disabled")?this.findNextHeaderAction(t.parentElement):a.findSingle(t,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(e){var t=a.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.previousElementSibling,'[data-pc-section="header"]');return t?a.getAttribute(t,"data-p-disabled")?this.findPrevHeaderAction(t.parentElement):a.findSingle(t,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex:function(e,t,n){if(!this.getTabProp(t,"disabled")){var i=this.isTabActive(n),a=i?"tab-close":"tab-open";this.multiple?i?this.d_activeIndex=this.d_activeIndex.filter((function(e){return e!==n})):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(a,{originalEvent:e,index:n})}},changeFocusedTab:function(e,t){if(t&&(a.focus(t),this.selectOnFocus)){var n=parseInt(t.parentElement.parentElement.dataset.pcIndex,10);this.changeActiveIndex(e,this.tabs[n],n)}}},computed:{tabs:function(){var e=this;return this.$slots.default().reduce((function(t,n){return e.isAccordionTab(n)?t.push(n):n.children&&n.children instanceof Array&&n.children.forEach((function(n){e.isAccordionTab(n)&&t.push(n)})),t}),[])}},components:{ChevronDownIcon:e,ChevronRightIcon:t},directives:{ripple:n}};function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return(t=S(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){var t=O(e,"string");return"symbol"===I(t)?t:String(t)}function O(e,t){if("object"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==I(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var H=["data-pc-index","data-p-active"],_=["data-p-highlight","data-p-disabled"],k=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],K=["id","aria-labelledby"];A.render=function(e,t,n,i,a,y){return o(),c("div",r({class:e.cx("root")},e.ptm("root")),[(o(!0),c(d,null,s(y.tabs,(function(t,n){return o(),c("div",r({key:y.getKey(t,n),class:e.cx("tab.root",{tab:t,index:n})},y.getTabPT(t,"root",n),{"data-pc-name":"accordiontab","data-pc-index":n,"data-p-active":y.isTabActive(n)}),[l("div",r({style:y.getTabProp(t,"headerStyle"),class:[e.cx("tab.header",{tab:t,index:n}),y.getTabProp(t,"headerClass")]},w(w({},y.getTabProp(t,"headerProps")),y.getTabPT(t,"header",n)),{"data-p-highlight":y.isTabActive(n),"data-p-disabled":y.getTabProp(t,"disabled")}),[l("a",r({id:y.getTabHeaderActionId(n),class:e.cx("tab.headerAction"),tabindex:y.getTabProp(t,"disabled")?-1:e.tabindex,role:"button","aria-disabled":y.getTabProp(t,"disabled"),"aria-expanded":y.isTabActive(n),"aria-controls":y.getTabContentId(n),onClick:function(e){return y.onTabClick(e,t,n)},onKeydown:function(e){return y.onTabKeyDown(e,t,n)}},w(w({},y.getTabProp(t,"headeractionprops")),y.getTabPT(t,"headeraction",n))),[t.children&&t.children.headericon?(o(),p(b(t.children.headericon),{key:0,isTabActive:y.isTabActive(n),index:n},null,8,["isTabActive","index"])):y.isTabActive(n)?(o(),p(b(e.collapseIcon?"span":"ChevronDownIcon"),r({key:1,class:[e.cx("tab.headerIcon"),e.collapseIcon],"aria-hidden":"true"},y.getTabPT(t,"headericon",n)),null,16,["class"])):(o(),p(b(e.expandIcon?"span":"ChevronRightIcon"),r({key:2,class:[e.cx("tab.headerIcon"),e.expandIcon],"aria-hidden":"true"},y.getTabPT(t,"headericon",n)),null,16,["class"])),t.props&&t.props.header?(o(),c("span",r({key:3,class:e.cx("tab.headerTitle")},y.getTabPT(t,"headertitle",n)),u(t.props.header),17)):h("",!0),t.children&&t.children.header?(o(),p(b(t.children.header),{key:4})):h("",!0)],16,k)],16,_),f(v,r({name:"p-toggleable-content"},y.getTabPT(t,"transition",n)),{default:g((function(){return[!e.lazy||y.isTabActive(n)?T((o(),c("div",r({key:0,id:y.getTabContentId(n),style:y.getTabProp(t,"contentStyle"),class:[e.cx("tab.toggleableContent"),y.getTabProp(t,"contentClass")],role:"region","aria-labelledby":y.getTabHeaderActionId(n)},w(w({},y.getTabProp(t,"contentProps")),y.getTabPT(t,"toggleablecontent",n))),[l("div",r({class:e.cx("tab.content")},y.getTabPT(t,"content",n)),[(o(),p(b(t)))],16)],16,K)),[[m,!!e.lazy||y.isTabActive(n)]]):h("",!0)]})),_:2},1040)],16,H)})),128))],16)};export{A as default};
|
|
1
|
+
import e from"primevue/icons/chevrondown";import t from"primevue/icons/chevronright";import n from"primevue/ripple";import{UniqueComponentId as i,DomHandler as a}from"primevue/utils";import{mergeProps as r,openBlock as o,createElementBlock as c,Fragment as d,renderList as s,createElementVNode as l,createBlock as p,resolveDynamicComponent as b,toDisplayString as u,createCommentVNode as h,createVNode as f,Transition as v,withCtx as g,withDirectives as T,vShow as m}from"vue";import y from"primevue/accordion/style";import x from"primevue/basecomponent";var A={name:"Accordion",extends:{name:"BaseAccordion",extends:x,props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:y,provide:function(){return{$parentInstance:this}}},emits:["update:activeIndex","tab-open","tab-close","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||i()},activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.id=this.id||i()},methods:{isAccordionTab:function(e){return"AccordionTab"===e.type.name},isTabActive:function(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:function(e,t){return e.props?e.props[t]:void 0},getKey:function(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId:function(e){return"".concat(this.id,"_").concat(e,"_header_action")},getTabContentId:function(e){return"".concat(this.id,"_").concat(e,"_content")},getTabPT:function(e,t,n){var i=this.tabs.length,a={props:e.props||{},parent:{props:this.$props,state:this.$data},context:{index:n,count:i,first:0===n,last:n===i-1,active:this.isTabActive(n)}};return r(this.ptm("tab.".concat(t),{tab:a}),this.ptm("accordiontab.".concat(t),{accordiontab:a}),this.ptm("accordiontab.".concat(t),a),this.ptmo(this.getTabProp(e,"pt"),t,a))},onTabClick:function(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown:function(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey:function(e){var t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey:function(e){var t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey:function(e){var t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey:function(e){var t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey:function(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction:function(e){var t=a.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.nextElementSibling,'[data-pc-section="header"]');return t?a.getAttribute(t,"data-p-disabled")?this.findNextHeaderAction(t.parentElement):a.findSingle(t,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(e){var t=a.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.previousElementSibling,'[data-pc-section="header"]');return t?a.getAttribute(t,"data-p-disabled")?this.findPrevHeaderAction(t.parentElement):a.findSingle(t,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex:function(e,t,n){if(!this.getTabProp(t,"disabled")){var i=this.isTabActive(n),a=i?"tab-close":"tab-open";this.multiple?i?this.d_activeIndex=this.d_activeIndex.filter((function(e){return e!==n})):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(a,{originalEvent:e,index:n})}},changeFocusedTab:function(e,t){if(t&&(a.focus(t),this.selectOnFocus)){var n=parseInt(t.parentElement.parentElement.dataset.pcIndex,10);this.changeActiveIndex(e,this.tabs[n],n)}}},computed:{tabs:function(){var e=this;return this.$slots.default().reduce((function(t,n){return e.isAccordionTab(n)?t.push(n):n.children&&n.children instanceof Array&&n.children.forEach((function(n){e.isAccordionTab(n)&&t.push(n)})),t}),[])}},components:{ChevronDownIcon:e,ChevronRightIcon:t},directives:{ripple:n}};function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return(t=S(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){var t=O(e,"string");return"symbol"===I(t)?t:String(t)}function O(e,t){if("object"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==I(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var H=["data-pc-index","data-p-active"],_=["data-p-highlight","data-p-disabled"],k=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],K=["id","aria-labelledby"];A.render=function(e,t,n,i,a,y){return o(),c("div",r({class:e.cx("root")},e.ptm("root")),[(o(!0),c(d,null,s(y.tabs,(function(t,n){return o(),c("div",r({key:y.getKey(t,n),class:e.cx("tab.root",{tab:t,index:n})},y.getTabPT(t,"root",n),{"data-pc-name":"accordiontab","data-pc-index":n,"data-p-active":y.isTabActive(n)}),[l("div",r({style:y.getTabProp(t,"headerStyle"),class:[e.cx("tab.header",{tab:t,index:n}),y.getTabProp(t,"headerClass")]},w(w({},y.getTabProp(t,"headerProps")),y.getTabPT(t,"header",n)),{"data-p-highlight":y.isTabActive(n),"data-p-disabled":y.getTabProp(t,"disabled")}),[l("a",r({id:y.getTabHeaderActionId(n),class:e.cx("tab.headerAction"),tabindex:y.getTabProp(t,"disabled")?-1:e.tabindex,role:"button","aria-disabled":y.getTabProp(t,"disabled"),"aria-expanded":y.isTabActive(n),"aria-controls":y.getTabContentId(n),onClick:function(e){return y.onTabClick(e,t,n)},onKeydown:function(e){return y.onTabKeyDown(e,t,n)}},w(w({},y.getTabProp(t,"headeractionprops")),y.getTabPT(t,"headeraction",n))),[t.children&&t.children.headericon?(o(),p(b(t.children.headericon),{key:0,isTabActive:y.isTabActive(n),index:n},null,8,["isTabActive","index"])):y.isTabActive(n)?(o(),p(b(e.$slots.collapseicon?e.$slots.collapseicon:e.collapseIcon?"span":"ChevronDownIcon"),r({key:1,class:[e.cx("tab.headerIcon"),e.collapseIcon],"aria-hidden":"true"},y.getTabPT(t,"headericon",n)),null,16,["class"])):(o(),p(b(e.$slots.expandicon?e.$slots.expandicon:e.expandIcon?"span":"ChevronRightIcon"),r({key:2,class:[e.cx("tab.headerIcon"),e.expandIcon],"aria-hidden":"true"},y.getTabPT(t,"headericon",n)),null,16,["class"])),t.props&&t.props.header?(o(),c("span",r({key:3,class:e.cx("tab.headerTitle")},y.getTabPT(t,"headertitle",n)),u(t.props.header),17)):h("",!0),t.children&&t.children.header?(o(),p(b(t.children.header),{key:4})):h("",!0)],16,k)],16,_),f(v,r({name:"p-toggleable-content"},y.getTabPT(t,"transition",n)),{default:g((function(){return[!e.lazy||y.isTabActive(n)?T((o(),c("div",r({key:0,id:y.getTabContentId(n),style:y.getTabProp(t,"contentStyle"),class:[e.cx("tab.toggleableContent"),y.getTabProp(t,"contentClass")],role:"region","aria-labelledby":y.getTabHeaderActionId(n)},w(w({},y.getTabProp(t,"contentProps")),y.getTabPT(t,"toggleablecontent",n))),[l("div",r({class:e.cx("tab.content")},y.getTabPT(t,"content",n)),[(o(),p(b(t)))],16)],16,K)),[[m,!!e.lazy||y.isTabActive(n)]]):h("",!0)]})),_:2},1040)],16,H)})),128))],16)};export{A as default};
|
package/accordion/accordion.js
CHANGED
|
@@ -292,11 +292,11 @@ this.primevue.accordion = (function (ChevronDownIcon, ChevronRightIcon, Ripple,
|
|
|
292
292
|
key: 0,
|
|
293
293
|
isTabActive: $options.isTabActive(i),
|
|
294
294
|
index: i
|
|
295
|
-
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
295
|
+
}, null, 8, ["isTabActive", "index"])) : $options.isTabActive(i) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.collapseicon ? _ctx.$slots.collapseicon : _ctx.collapseIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
296
296
|
key: 1,
|
|
297
297
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.collapseIcon],
|
|
298
298
|
"aria-hidden": "true"
|
|
299
|
-
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.expandIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
299
|
+
}, $options.getTabPT(tab, 'headericon', i)), null, 16, ["class"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.expandicon ? _ctx.$slots.expandicon : _ctx.expandIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
300
300
|
key: 2,
|
|
301
301
|
"class": [_ctx.cx('tab.headerIcon'), _ctx.expandIcon],
|
|
302
302
|
"aria-hidden": "true"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.accordion=function(e,t,n,a,i,o,r){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(e),s=c(t),l=c(n),p=c(o),u={name:"Accordion",extends:{name:"BaseAccordion",extends:c(r).default,props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:p.default,provide:function(){return{$parentInstance:this}}},emits:["update:activeIndex","tab-open","tab-close","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||a.UniqueComponentId()},activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.id=this.id||a.UniqueComponentId()},methods:{isAccordionTab:function(e){return"AccordionTab"===e.type.name},isTabActive:function(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:function(e,t){return e.props?e.props[t]:void 0},getKey:function(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId:function(e){return"".concat(this.id,"_").concat(e,"_header_action")},getTabContentId:function(e){return"".concat(this.id,"_").concat(e,"_content")},getTabPT:function(e,t,n){var a=this.tabs.length,o={props:e.props||{},parent:{props:this.$props,state:this.$data},context:{index:n,count:a,first:0===n,last:n===a-1,active:this.isTabActive(n)}};return i.mergeProps(this.ptm("tab.".concat(t),{tab:o}),this.ptm("accordiontab.".concat(t),{accordiontab:o}),this.ptm("accordiontab.".concat(t),o),this.ptmo(this.getTabProp(e,"pt"),t,o))},onTabClick:function(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown:function(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey:function(e){var t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey:function(e){var t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey:function(e){var t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey:function(e){var t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey:function(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.nextElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findNextHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.previousElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findPrevHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex:function(e,t,n){if(!this.getTabProp(t,"disabled")){var a=this.isTabActive(n),i=a?"tab-close":"tab-open";this.multiple?a?this.d_activeIndex=this.d_activeIndex.filter((function(e){return e!==n})):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(i,{originalEvent:e,index:n})}},changeFocusedTab:function(e,t){if(t&&(a.DomHandler.focus(t),this.selectOnFocus)){var n=parseInt(t.parentElement.parentElement.dataset.pcIndex,10);this.changeActiveIndex(e,this.tabs[n],n)}}},computed:{tabs:function(){var e=this;return this.$slots.default().reduce((function(t,n){return e.isAccordionTab(n)?t.push(n):n.children&&n.children instanceof Array&&n.children.forEach((function(n){e.isAccordionTab(n)&&t.push(n)})),t}),[])}},components:{ChevronDownIcon:d.default,ChevronRightIcon:s.default},directives:{ripple:l.default}};function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=g(e,"string");return"symbol"===b(t)?t:String(t)}function g(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==b(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var y=["data-pc-index","data-p-active"],T=["data-p-highlight","data-p-disabled"],x=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],P=["id","aria-labelledby"];return u.render=function(e,t,n,a,o,r){return i.openBlock(),i.createElementBlock("div",i.mergeProps({class:e.cx("root")},e.ptm("root")),[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.tabs,(function(t,n){return i.openBlock(),i.createElementBlock("div",i.mergeProps({key:r.getKey(t,n),class:e.cx("tab.root",{tab:t,index:n})},r.getTabPT(t,"root",n),{"data-pc-name":"accordiontab","data-pc-index":n,"data-p-active":r.isTabActive(n)}),[i.createElementVNode("div",i.mergeProps({style:r.getTabProp(t,"headerStyle"),class:[e.cx("tab.header",{tab:t,index:n}),r.getTabProp(t,"headerClass")]},f(f({},r.getTabProp(t,"headerProps")),r.getTabPT(t,"header",n)),{"data-p-highlight":r.isTabActive(n),"data-p-disabled":r.getTabProp(t,"disabled")}),[i.createElementVNode("a",i.mergeProps({id:r.getTabHeaderActionId(n),class:e.cx("tab.headerAction"),tabindex:r.getTabProp(t,"disabled")?-1:e.tabindex,role:"button","aria-disabled":r.getTabProp(t,"disabled"),"aria-expanded":r.isTabActive(n),"aria-controls":r.getTabContentId(n),onClick:function(e){return r.onTabClick(e,t,n)},onKeydown:function(e){return r.onTabKeyDown(e,t,n)}},f(f({},r.getTabProp(t,"headeractionprops")),r.getTabPT(t,"headeraction",n))),[t.children&&t.children.headericon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.headericon),{key:0,isTabActive:r.isTabActive(n),index:n},null,8,["isTabActive","index"])):r.isTabActive(n)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.collapseIcon?"span":"ChevronDownIcon"),i.mergeProps({key:1,class:[e.cx("tab.headerIcon"),e.collapseIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.expandIcon?"span":"ChevronRightIcon"),i.mergeProps({key:2,class:[e.cx("tab.headerIcon"),e.expandIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])),t.props&&t.props.header?(i.openBlock(),i.createElementBlock("span",i.mergeProps({key:3,class:e.cx("tab.headerTitle")},r.getTabPT(t,"headertitle",n)),i.toDisplayString(t.props.header),17)):i.createCommentVNode("",!0),t.children&&t.children.header?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.header),{key:4})):i.createCommentVNode("",!0)],16,x)],16,T),i.createVNode(i.Transition,i.mergeProps({name:"p-toggleable-content"},r.getTabPT(t,"transition",n)),{default:i.withCtx((function(){return[!e.lazy||r.isTabActive(n)?i.withDirectives((i.openBlock(),i.createElementBlock("div",i.mergeProps({key:0,id:r.getTabContentId(n),style:r.getTabProp(t,"contentStyle"),class:[e.cx("tab.toggleableContent"),r.getTabProp(t,"contentClass")],role:"region","aria-labelledby":r.getTabHeaderActionId(n)},f(f({},r.getTabProp(t,"contentProps")),r.getTabPT(t,"toggleablecontent",n))),[i.createElementVNode("div",i.mergeProps({class:e.cx("tab.content")},r.getTabPT(t,"content",n)),[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t)))],16)],16,P)),[[i.vShow,!!e.lazy||r.isTabActive(n)]]):i.createCommentVNode("",!0)]})),_:2},1040)],16,y)})),128))],16)},u}(primevue.icons.chevrondown,primevue.icons.chevronright,primevue.ripple,primevue.utils,Vue,primevue.accordion.style,primevue.basecomponent);
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.accordion=function(e,t,n,a,i,o,r){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(e),s=c(t),l=c(n),p=c(o),u={name:"Accordion",extends:{name:"BaseAccordion",extends:c(r).default,props:{multiple:{type:Boolean,default:!1},activeIndex:{type:[Number,Array],default:null},lazy:{type:Boolean,default:!1},expandIcon:{type:String,default:void 0},collapseIcon:{type:String,default:void 0},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1}},style:p.default,provide:function(){return{$parentInstance:this}}},emits:["update:activeIndex","tab-open","tab-close","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex}},watch:{"$attrs.id":function(e){this.id=e||a.UniqueComponentId()},activeIndex:function(e){this.d_activeIndex=e}},mounted:function(){this.id=this.id||a.UniqueComponentId()},methods:{isAccordionTab:function(e){return"AccordionTab"===e.type.name},isTabActive:function(e){return this.multiple?this.d_activeIndex&&this.d_activeIndex.includes(e):this.d_activeIndex===e},getTabProp:function(e,t){return e.props?e.props[t]:void 0},getKey:function(e,t){return this.getTabProp(e,"header")||t},getTabHeaderActionId:function(e){return"".concat(this.id,"_").concat(e,"_header_action")},getTabContentId:function(e){return"".concat(this.id,"_").concat(e,"_content")},getTabPT:function(e,t,n){var a=this.tabs.length,o={props:e.props||{},parent:{props:this.$props,state:this.$data},context:{index:n,count:a,first:0===n,last:n===a-1,active:this.isTabActive(n)}};return i.mergeProps(this.ptm("tab.".concat(t),{tab:o}),this.ptm("accordiontab.".concat(t),{accordiontab:o}),this.ptm("accordiontab.".concat(t),o),this.ptmo(this.getTabProp(e,"pt"),t,o))},onTabClick:function(e,t,n){this.changeActiveIndex(e,t,n),this.$emit("tab-click",{originalEvent:e,index:n})},onTabKeyDown:function(e,t,n){switch(e.code){case"ArrowDown":this.onTabArrowDownKey(e);break;case"ArrowUp":this.onTabArrowUpKey(e);break;case"Home":this.onTabHomeKey(e);break;case"End":this.onTabEndKey(e);break;case"Enter":case"Space":this.onTabEnterKey(e,t,n)}},onTabArrowDownKey:function(e){var t=this.findNextHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabHomeKey(e),e.preventDefault()},onTabArrowUpKey:function(e){var t=this.findPrevHeaderAction(e.target.parentElement.parentElement);t?this.changeFocusedTab(e,t):this.onTabEndKey(e),e.preventDefault()},onTabHomeKey:function(e){var t=this.findFirstHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEndKey:function(e){var t=this.findLastHeaderAction();this.changeFocusedTab(e,t),e.preventDefault()},onTabEnterKey:function(e,t,n){this.changeActiveIndex(e,t,n),e.preventDefault()},findNextHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.nextElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findNextHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(e){var t=a.DomHandler.findSingle(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:e.previousElementSibling,'[data-pc-section="header"]');return t?a.DomHandler.getAttribute(t,"data-p-disabled")?this.findPrevHeaderAction(t.parentElement):a.DomHandler.findSingle(t,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$el.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$el.lastElementChild,!0)},changeActiveIndex:function(e,t,n){if(!this.getTabProp(t,"disabled")){var a=this.isTabActive(n),i=a?"tab-close":"tab-open";this.multiple?a?this.d_activeIndex=this.d_activeIndex.filter((function(e){return e!==n})):this.d_activeIndex?this.d_activeIndex.push(n):this.d_activeIndex=[n]:this.d_activeIndex=this.d_activeIndex===n?null:n,this.$emit("update:activeIndex",this.d_activeIndex),this.$emit(i,{originalEvent:e,index:n})}},changeFocusedTab:function(e,t){if(t&&(a.DomHandler.focus(t),this.selectOnFocus)){var n=parseInt(t.parentElement.parentElement.dataset.pcIndex,10);this.changeActiveIndex(e,this.tabs[n],n)}}},computed:{tabs:function(){var e=this;return this.$slots.default().reduce((function(t,n){return e.isAccordionTab(n)?t.push(n):n.children&&n.children instanceof Array&&n.children.forEach((function(n){e.isAccordionTab(n)&&t.push(n)})),t}),[])}},components:{ChevronDownIcon:d.default,ChevronRightIcon:s.default},directives:{ripple:l.default}};function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=g(e,"string");return"symbol"===b(t)?t:String(t)}function g(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==b(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var y=["data-pc-index","data-p-active"],T=["data-p-highlight","data-p-disabled"],x=["id","tabindex","aria-disabled","aria-expanded","aria-controls","onClick","onKeydown"],P=["id","aria-labelledby"];return u.render=function(e,t,n,a,o,r){return i.openBlock(),i.createElementBlock("div",i.mergeProps({class:e.cx("root")},e.ptm("root")),[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.tabs,(function(t,n){return i.openBlock(),i.createElementBlock("div",i.mergeProps({key:r.getKey(t,n),class:e.cx("tab.root",{tab:t,index:n})},r.getTabPT(t,"root",n),{"data-pc-name":"accordiontab","data-pc-index":n,"data-p-active":r.isTabActive(n)}),[i.createElementVNode("div",i.mergeProps({style:r.getTabProp(t,"headerStyle"),class:[e.cx("tab.header",{tab:t,index:n}),r.getTabProp(t,"headerClass")]},f(f({},r.getTabProp(t,"headerProps")),r.getTabPT(t,"header",n)),{"data-p-highlight":r.isTabActive(n),"data-p-disabled":r.getTabProp(t,"disabled")}),[i.createElementVNode("a",i.mergeProps({id:r.getTabHeaderActionId(n),class:e.cx("tab.headerAction"),tabindex:r.getTabProp(t,"disabled")?-1:e.tabindex,role:"button","aria-disabled":r.getTabProp(t,"disabled"),"aria-expanded":r.isTabActive(n),"aria-controls":r.getTabContentId(n),onClick:function(e){return r.onTabClick(e,t,n)},onKeydown:function(e){return r.onTabKeyDown(e,t,n)}},f(f({},r.getTabProp(t,"headeractionprops")),r.getTabPT(t,"headeraction",n))),[t.children&&t.children.headericon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.headericon),{key:0,isTabActive:r.isTabActive(n),index:n},null,8,["isTabActive","index"])):r.isTabActive(n)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.collapseicon?e.$slots.collapseicon:e.collapseIcon?"span":"ChevronDownIcon"),i.mergeProps({key:1,class:[e.cx("tab.headerIcon"),e.collapseIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.expandicon?e.$slots.expandicon:e.expandIcon?"span":"ChevronRightIcon"),i.mergeProps({key:2,class:[e.cx("tab.headerIcon"),e.expandIcon],"aria-hidden":"true"},r.getTabPT(t,"headericon",n)),null,16,["class"])),t.props&&t.props.header?(i.openBlock(),i.createElementBlock("span",i.mergeProps({key:3,class:e.cx("tab.headerTitle")},r.getTabPT(t,"headertitle",n)),i.toDisplayString(t.props.header),17)):i.createCommentVNode("",!0),t.children&&t.children.header?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t.children.header),{key:4})):i.createCommentVNode("",!0)],16,x)],16,T),i.createVNode(i.Transition,i.mergeProps({name:"p-toggleable-content"},r.getTabPT(t,"transition",n)),{default:i.withCtx((function(){return[!e.lazy||r.isTabActive(n)?i.withDirectives((i.openBlock(),i.createElementBlock("div",i.mergeProps({key:0,id:r.getTabContentId(n),style:r.getTabProp(t,"contentStyle"),class:[e.cx("tab.toggleableContent"),r.getTabProp(t,"contentClass")],role:"region","aria-labelledby":r.getTabHeaderActionId(n)},f(f({},r.getTabProp(t,"contentProps")),r.getTabPT(t,"toggleablecontent",n))),[i.createElementVNode("div",i.mergeProps({class:e.cx("tab.content")},r.getTabPT(t,"content",n)),[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(t)))],16)],16,P)),[[i.vShow,!!e.lazy||r.isTabActive(n)]]):i.createCommentVNode("",!0)]})),_:2},1040)],16,y)})),128))],16)},u}(primevue.icons.chevrondown,primevue.icons.chevronright,primevue.ripple,primevue.utils,Vue,primevue.accordion.style,primevue.basecomponent);
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('primevue/utils');
|
|
4
|
+
var BaseDirective = require('primevue/basedirective');
|
|
5
|
+
|
|
6
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
|
+
|
|
8
|
+
var BaseDirective__default = /*#__PURE__*/_interopDefaultLegacy(BaseDirective);
|
|
9
|
+
|
|
10
|
+
var BaseAnimateOnScroll = BaseDirective__default["default"].extend({});
|
|
11
|
+
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
21
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
22
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
23
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
|
+
var AnimateOnScroll = BaseAnimateOnScroll.extend('animateonscroll', {
|
|
25
|
+
created: function created() {
|
|
26
|
+
this.$value = this.$value || {};
|
|
27
|
+
this.$el.style.opacity = this.$value.enterClass ? '0' : '';
|
|
28
|
+
},
|
|
29
|
+
mounted: function mounted() {
|
|
30
|
+
this.$el.setAttribute('data-pd-animateonscroll', true);
|
|
31
|
+
this.bindIntersectionObserver();
|
|
32
|
+
},
|
|
33
|
+
unmounted: function unmounted() {
|
|
34
|
+
this.unbindAnimationEvents();
|
|
35
|
+
this.unbindIntersectionObserver();
|
|
36
|
+
},
|
|
37
|
+
observer: undefined,
|
|
38
|
+
resetObserver: undefined,
|
|
39
|
+
isObserverActive: false,
|
|
40
|
+
animationState: undefined,
|
|
41
|
+
animationEndListener: undefined,
|
|
42
|
+
methods: {
|
|
43
|
+
bindAnimationEvents: function bindAnimationEvents() {
|
|
44
|
+
var _this = this;
|
|
45
|
+
if (!this.animationEndListener) {
|
|
46
|
+
this.animationEndListener = function () {
|
|
47
|
+
utils.DomHandler.removeMultipleClasses(_this.$el, [_this.$value.enterClass, _this.$value.leaveClass]);
|
|
48
|
+
!_this.$modifiers.once && _this.resetObserver.observe(_this.$el);
|
|
49
|
+
_this.unbindAnimationEvents();
|
|
50
|
+
};
|
|
51
|
+
this.$el.addEventListener('animationend', this.animationEndListener);
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
bindIntersectionObserver: function bindIntersectionObserver() {
|
|
55
|
+
var _this2 = this;
|
|
56
|
+
var _this$$value = this.$value,
|
|
57
|
+
root = _this$$value.root,
|
|
58
|
+
rootMargin = _this$$value.rootMargin,
|
|
59
|
+
_this$$value$threshol = _this$$value.threshold,
|
|
60
|
+
threshold = _this$$value$threshol === void 0 ? 0.5 : _this$$value$threshol;
|
|
61
|
+
var options = {
|
|
62
|
+
root: root,
|
|
63
|
+
rootMargin: rootMargin,
|
|
64
|
+
threshold: threshold
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// States
|
|
68
|
+
this.observer = new IntersectionObserver(function (_ref) {
|
|
69
|
+
var _ref2 = _slicedToArray(_ref, 1),
|
|
70
|
+
entry = _ref2[0];
|
|
71
|
+
if (_this2.isObserverActive) {
|
|
72
|
+
if (entry.boundingClientRect.top > 0) {
|
|
73
|
+
entry.isIntersecting ? _this2.enter() : _this2.leave();
|
|
74
|
+
}
|
|
75
|
+
} else if (entry.isIntersecting) {
|
|
76
|
+
_this2.enter();
|
|
77
|
+
}
|
|
78
|
+
_this2.isObserverActive = true;
|
|
79
|
+
}, options);
|
|
80
|
+
setTimeout(function () {
|
|
81
|
+
return _this2.observer.observe(_this2.$el);
|
|
82
|
+
}, 0);
|
|
83
|
+
|
|
84
|
+
// Reset
|
|
85
|
+
this.resetObserver = new IntersectionObserver(function (_ref3) {
|
|
86
|
+
var _ref4 = _slicedToArray(_ref3, 1),
|
|
87
|
+
entry = _ref4[0];
|
|
88
|
+
if (entry.boundingClientRect.top > 0 && !entry.isIntersecting) {
|
|
89
|
+
_this2.$el.style.opacity = _this2.$value.enterClass ? '0' : '';
|
|
90
|
+
utils.DomHandler.removeMultipleClasses(_this2.$el, [_this2.$value.enterClass, _this2.$value.leaveClass]);
|
|
91
|
+
_this2.resetObserver.unobserve(_this2.$el);
|
|
92
|
+
}
|
|
93
|
+
_this2.animationState = undefined;
|
|
94
|
+
}, _objectSpread(_objectSpread({}, options), {}, {
|
|
95
|
+
threshold: 0
|
|
96
|
+
}));
|
|
97
|
+
},
|
|
98
|
+
enter: function enter() {
|
|
99
|
+
if (this.animationState !== 'enter' && this.$value.enterClass) {
|
|
100
|
+
this.$el.style.opacity = '';
|
|
101
|
+
utils.DomHandler.removeMultipleClasses(this.$el, this.$value.leaveClass);
|
|
102
|
+
utils.DomHandler.addMultipleClasses(this.$el, this.$value.enterClass);
|
|
103
|
+
this.$modifiers.once && this.unbindIntersectionObserver(this.$el);
|
|
104
|
+
this.bindAnimationEvents();
|
|
105
|
+
this.animationState = 'enter';
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
leave: function leave() {
|
|
109
|
+
if (this.animationState !== 'leave' && this.$value.leaveClass) {
|
|
110
|
+
this.$el.style.opacity = this.$value.enterClass ? '0' : '';
|
|
111
|
+
utils.DomHandler.removeMultipleClasses(this.$el, this.$value.enterClass);
|
|
112
|
+
utils.DomHandler.addMultipleClasses(this.$el, this.$value.leaveClass);
|
|
113
|
+
this.bindAnimationEvents();
|
|
114
|
+
this.animationState = 'leave';
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
unbindAnimationEvents: function unbindAnimationEvents() {
|
|
118
|
+
if (this.animationEndListener) {
|
|
119
|
+
this.$el.removeEventListener('animationend', this.animationEndListener);
|
|
120
|
+
this.animationEndListener = undefined;
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
unbindIntersectionObserver: function unbindIntersectionObserver() {
|
|
124
|
+
var _this$observer, _this$resetObserver;
|
|
125
|
+
(_this$observer = this.observer) === null || _this$observer === void 0 || _this$observer.unobserve(this.$el);
|
|
126
|
+
(_this$resetObserver = this.resetObserver) === null || _this$resetObserver === void 0 || _this$resetObserver.unobserve(this.$el);
|
|
127
|
+
this.isObserverActive = false;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
module.exports = AnimateOnScroll;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("primevue/utils");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=a(e,"string");return"symbol"===n(t)?t:String(t)}function a(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e,t){return d(e)||b(e,t)||v(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function d(e){if(Array.isArray(e))return e}var f=t(require("primevue/basedirective")).default.extend({}).extend("animateonscroll",{created:function(){this.$value=this.$value||{},this.$el.style.opacity=this.$value.enterClass?"0":""},mounted:function(){this.$el.setAttribute("data-pd-animateonscroll",!0),this.bindIntersectionObserver()},unmounted:function(){this.unbindAnimationEvents(),this.unbindIntersectionObserver()},observer:void 0,resetObserver:void 0,isObserverActive:!1,animationState:void 0,animationEndListener:void 0,methods:{bindAnimationEvents:function(){var t=this;this.animationEndListener||(this.animationEndListener=function(){e.DomHandler.removeMultipleClasses(t.$el,[t.$value.enterClass,t.$value.leaveClass]),!t.$modifiers.once&&t.resetObserver.observe(t.$el),t.unbindAnimationEvents()},this.$el.addEventListener("animationend",this.animationEndListener))},bindIntersectionObserver:function(){var t=this,n=this.$value,r=n.threshold,s={root:n.root,rootMargin:n.rootMargin,threshold:void 0===r?.5:r};this.observer=new IntersectionObserver((function(e){var n=l(e,1)[0];t.isObserverActive?n.boundingClientRect.top>0&&(n.isIntersecting?t.enter():t.leave()):n.isIntersecting&&t.enter(),t.isObserverActive=!0}),s),setTimeout((function(){return t.observer.observe(t.$el)}),0),this.resetObserver=new IntersectionObserver((function(n){var r=l(n,1)[0];r.boundingClientRect.top>0&&!r.isIntersecting&&(t.$el.style.opacity=t.$value.enterClass?"0":"",e.DomHandler.removeMultipleClasses(t.$el,[t.$value.enterClass,t.$value.leaveClass]),t.resetObserver.unobserve(t.$el)),t.animationState=void 0}),i(i({},s),{},{threshold:0}))},enter:function(){"enter"!==this.animationState&&this.$value.enterClass&&(this.$el.style.opacity="",e.DomHandler.removeMultipleClasses(this.$el,this.$value.leaveClass),e.DomHandler.addMultipleClasses(this.$el,this.$value.enterClass),this.$modifiers.once&&this.unbindIntersectionObserver(this.$el),this.bindAnimationEvents(),this.animationState="enter")},leave:function(){"leave"!==this.animationState&&this.$value.leaveClass&&(this.$el.style.opacity=this.$value.enterClass?"0":"",e.DomHandler.removeMultipleClasses(this.$el,this.$value.enterClass),e.DomHandler.addMultipleClasses(this.$el,this.$value.leaveClass),this.bindAnimationEvents(),this.animationState="leave")},unbindAnimationEvents:function(){this.animationEndListener&&(this.$el.removeEventListener("animationend",this.animationEndListener),this.animationEndListener=void 0)},unbindIntersectionObserver:function(){var e,t;null===(e=this.observer)||void 0===e||e.unobserve(this.$el),null===(t=this.resetObserver)||void 0===t||t.unobserve(this.$el),this.isObserverActive=!1}}});module.exports=f;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { DomHandler } from 'primevue/utils';
|
|
2
|
+
import BaseDirective from 'primevue/basedirective';
|
|
3
|
+
|
|
4
|
+
var BaseAnimateOnScroll = BaseDirective.extend({});
|
|
5
|
+
|
|
6
|
+
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); }
|
|
7
|
+
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; }
|
|
8
|
+
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; }
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
11
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
12
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
|
+
var AnimateOnScroll = BaseAnimateOnScroll.extend('animateonscroll', {
|
|
19
|
+
created: function created() {
|
|
20
|
+
this.$value = this.$value || {};
|
|
21
|
+
this.$el.style.opacity = this.$value.enterClass ? '0' : '';
|
|
22
|
+
},
|
|
23
|
+
mounted: function mounted() {
|
|
24
|
+
this.$el.setAttribute('data-pd-animateonscroll', true);
|
|
25
|
+
this.bindIntersectionObserver();
|
|
26
|
+
},
|
|
27
|
+
unmounted: function unmounted() {
|
|
28
|
+
this.unbindAnimationEvents();
|
|
29
|
+
this.unbindIntersectionObserver();
|
|
30
|
+
},
|
|
31
|
+
observer: undefined,
|
|
32
|
+
resetObserver: undefined,
|
|
33
|
+
isObserverActive: false,
|
|
34
|
+
animationState: undefined,
|
|
35
|
+
animationEndListener: undefined,
|
|
36
|
+
methods: {
|
|
37
|
+
bindAnimationEvents: function bindAnimationEvents() {
|
|
38
|
+
var _this = this;
|
|
39
|
+
if (!this.animationEndListener) {
|
|
40
|
+
this.animationEndListener = function () {
|
|
41
|
+
DomHandler.removeMultipleClasses(_this.$el, [_this.$value.enterClass, _this.$value.leaveClass]);
|
|
42
|
+
!_this.$modifiers.once && _this.resetObserver.observe(_this.$el);
|
|
43
|
+
_this.unbindAnimationEvents();
|
|
44
|
+
};
|
|
45
|
+
this.$el.addEventListener('animationend', this.animationEndListener);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
bindIntersectionObserver: function bindIntersectionObserver() {
|
|
49
|
+
var _this2 = this;
|
|
50
|
+
var _this$$value = this.$value,
|
|
51
|
+
root = _this$$value.root,
|
|
52
|
+
rootMargin = _this$$value.rootMargin,
|
|
53
|
+
_this$$value$threshol = _this$$value.threshold,
|
|
54
|
+
threshold = _this$$value$threshol === void 0 ? 0.5 : _this$$value$threshol;
|
|
55
|
+
var options = {
|
|
56
|
+
root: root,
|
|
57
|
+
rootMargin: rootMargin,
|
|
58
|
+
threshold: threshold
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
// States
|
|
62
|
+
this.observer = new IntersectionObserver(function (_ref) {
|
|
63
|
+
var _ref2 = _slicedToArray(_ref, 1),
|
|
64
|
+
entry = _ref2[0];
|
|
65
|
+
if (_this2.isObserverActive) {
|
|
66
|
+
if (entry.boundingClientRect.top > 0) {
|
|
67
|
+
entry.isIntersecting ? _this2.enter() : _this2.leave();
|
|
68
|
+
}
|
|
69
|
+
} else if (entry.isIntersecting) {
|
|
70
|
+
_this2.enter();
|
|
71
|
+
}
|
|
72
|
+
_this2.isObserverActive = true;
|
|
73
|
+
}, options);
|
|
74
|
+
setTimeout(function () {
|
|
75
|
+
return _this2.observer.observe(_this2.$el);
|
|
76
|
+
}, 0);
|
|
77
|
+
|
|
78
|
+
// Reset
|
|
79
|
+
this.resetObserver = new IntersectionObserver(function (_ref3) {
|
|
80
|
+
var _ref4 = _slicedToArray(_ref3, 1),
|
|
81
|
+
entry = _ref4[0];
|
|
82
|
+
if (entry.boundingClientRect.top > 0 && !entry.isIntersecting) {
|
|
83
|
+
_this2.$el.style.opacity = _this2.$value.enterClass ? '0' : '';
|
|
84
|
+
DomHandler.removeMultipleClasses(_this2.$el, [_this2.$value.enterClass, _this2.$value.leaveClass]);
|
|
85
|
+
_this2.resetObserver.unobserve(_this2.$el);
|
|
86
|
+
}
|
|
87
|
+
_this2.animationState = undefined;
|
|
88
|
+
}, _objectSpread(_objectSpread({}, options), {}, {
|
|
89
|
+
threshold: 0
|
|
90
|
+
}));
|
|
91
|
+
},
|
|
92
|
+
enter: function enter() {
|
|
93
|
+
if (this.animationState !== 'enter' && this.$value.enterClass) {
|
|
94
|
+
this.$el.style.opacity = '';
|
|
95
|
+
DomHandler.removeMultipleClasses(this.$el, this.$value.leaveClass);
|
|
96
|
+
DomHandler.addMultipleClasses(this.$el, this.$value.enterClass);
|
|
97
|
+
this.$modifiers.once && this.unbindIntersectionObserver(this.$el);
|
|
98
|
+
this.bindAnimationEvents();
|
|
99
|
+
this.animationState = 'enter';
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
leave: function leave() {
|
|
103
|
+
if (this.animationState !== 'leave' && this.$value.leaveClass) {
|
|
104
|
+
this.$el.style.opacity = this.$value.enterClass ? '0' : '';
|
|
105
|
+
DomHandler.removeMultipleClasses(this.$el, this.$value.enterClass);
|
|
106
|
+
DomHandler.addMultipleClasses(this.$el, this.$value.leaveClass);
|
|
107
|
+
this.bindAnimationEvents();
|
|
108
|
+
this.animationState = 'leave';
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
unbindAnimationEvents: function unbindAnimationEvents() {
|
|
112
|
+
if (this.animationEndListener) {
|
|
113
|
+
this.$el.removeEventListener('animationend', this.animationEndListener);
|
|
114
|
+
this.animationEndListener = undefined;
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
unbindIntersectionObserver: function unbindIntersectionObserver() {
|
|
118
|
+
var _this$observer, _this$resetObserver;
|
|
119
|
+
(_this$observer = this.observer) === null || _this$observer === void 0 || _this$observer.unobserve(this.$el);
|
|
120
|
+
(_this$resetObserver = this.resetObserver) === null || _this$resetObserver === void 0 || _this$resetObserver.unobserve(this.$el);
|
|
121
|
+
this.isObserverActive = false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
export { AnimateOnScroll as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DomHandler as e}from"primevue/utils";import t from"primevue/basedirective";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=a(e,"string");return"symbol"===n(t)?t:String(t)}function a(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e,t){return f(e)||b(e,t)||v(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function f(e){if(Array.isArray(e))return e}var h=t.extend({}).extend("animateonscroll",{created:function(){this.$value=this.$value||{},this.$el.style.opacity=this.$value.enterClass?"0":""},mounted:function(){this.$el.setAttribute("data-pd-animateonscroll",!0),this.bindIntersectionObserver()},unmounted:function(){this.unbindAnimationEvents(),this.unbindIntersectionObserver()},observer:void 0,resetObserver:void 0,isObserverActive:!1,animationState:void 0,animationEndListener:void 0,methods:{bindAnimationEvents:function(){var t=this;this.animationEndListener||(this.animationEndListener=function(){e.removeMultipleClasses(t.$el,[t.$value.enterClass,t.$value.leaveClass]),!t.$modifiers.once&&t.resetObserver.observe(t.$el),t.unbindAnimationEvents()},this.$el.addEventListener("animationend",this.animationEndListener))},bindIntersectionObserver:function(){var t=this,n=this.$value,r=n.threshold,s={root:n.root,rootMargin:n.rootMargin,threshold:void 0===r?.5:r};this.observer=new IntersectionObserver((function(e){var n=l(e,1)[0];t.isObserverActive?n.boundingClientRect.top>0&&(n.isIntersecting?t.enter():t.leave()):n.isIntersecting&&t.enter(),t.isObserverActive=!0}),s),setTimeout((function(){return t.observer.observe(t.$el)}),0),this.resetObserver=new IntersectionObserver((function(n){var r=l(n,1)[0];r.boundingClientRect.top>0&&!r.isIntersecting&&(t.$el.style.opacity=t.$value.enterClass?"0":"",e.removeMultipleClasses(t.$el,[t.$value.enterClass,t.$value.leaveClass]),t.resetObserver.unobserve(t.$el)),t.animationState=void 0}),i(i({},s),{},{threshold:0}))},enter:function(){"enter"!==this.animationState&&this.$value.enterClass&&(this.$el.style.opacity="",e.removeMultipleClasses(this.$el,this.$value.leaveClass),e.addMultipleClasses(this.$el,this.$value.enterClass),this.$modifiers.once&&this.unbindIntersectionObserver(this.$el),this.bindAnimationEvents(),this.animationState="enter")},leave:function(){"leave"!==this.animationState&&this.$value.leaveClass&&(this.$el.style.opacity=this.$value.enterClass?"0":"",e.removeMultipleClasses(this.$el,this.$value.enterClass),e.addMultipleClasses(this.$el,this.$value.leaveClass),this.bindAnimationEvents(),this.animationState="leave")},unbindAnimationEvents:function(){this.animationEndListener&&(this.$el.removeEventListener("animationend",this.animationEndListener),this.animationEndListener=void 0)},unbindIntersectionObserver:function(){var e,t;null===(e=this.observer)||void 0===e||e.unobserve(this.$el),null===(t=this.resetObserver)||void 0===t||t.unobserve(this.$el),this.isObserverActive=!1}}});export{h as default};
|